POSTED IN
  • MAGENTO
  • TRAINING

Magento 2 Guide: Creating Search Synonyms

by: Tim Richardson

on: 8th April, 2019

CALL US

01952 897 444

Have you ever performed a search on a website and not seen the product you were looking for, despite knowing that the website has it.

This is something that isn’t unheard of, where a product uses a different word to describe it, for example, what you might call a sofa, could also be referred to as a:

  • Couch
  • Settee

 

Using these to search for a product isn’t wrong, simply an alternative.

The same also applies to miss-spellings, for example, someone searching for a new MacBook might instead search:

  • Mac book
  • Mcbook
  • Mac

 

Though these aren’t necessarily wrong, some website search results won’t pick these up, due to the different spellings.

In Magento, there is a way to implement this via the Search Synonyms functionality. This allows you to pair similar words that have the same meaning and miss-spellings of the same word together, to show the same results.

Adding synonyms can ensure that you provide better/more accurate search results to your users and increase sales through the website.

Quick Overview

These are very easy to add to your website.

  1. Log in to the Magento admin area
  2. Go to Marketing > Search Synonyms
  3. Add new synonyms
  4. Choose the scope of the synonyms
  5. Enter your synonym searches, separated by a comma
  6. If you want to merge these synonyms into an existing group, mark the Merge existing synonyms checkbox.
  7. Save and you’re finished.

 

Full Explanation

Log into the Magento admin and navigate to Marketing > Search Synonyms.
magento-2-menu-to-search-synonyms
Here we want create new synonyms, so click the New Synonym Group button. Now, we’ll need to select the store view/scope you want these synonyms to apply to. Enter your list of synonyms, separating with a comma.
magento-2-search-synonym-entry-screen
At the bottom you’ll have a checkbox, if ticked, what this does is combine this list of synonyms, with an existing group where one or more of the synonyms match.

Note: If one of them is in another group and you don’t tick to combine and update it, an error message will return and you won’t be able to save until you either tick the checkbox or remove the synonyms that appear in another set.

Once done, hit save.

Here’s a quick example of us creating a set of synonyms for the sofa (as above), to combine with an existing list.
magento-2-creating-a-search-synonym
You should now be able to test and see the search results for the synonym searches bring up the related products. This can be used in conjuction with the search terms report, to direct searches to specific pages.

Check out our other Magento 2 Guides

Industry news, tips and general updates.

Sign up to our newsletter, and get our content first.

We will never spam you. You can unsubscribe with one click.

READ MORE

You might also like…

LATEST ADVICE & GUIDES  VIEW ALL

OUR DAILY ACTIVITY   FOLLOW