Customize synonyms
搜索Shopify使用同义词来治疗相关terms as exact matches. Synonyms can improve the relevancy of a customer’s search results. For example, you might sell bags called "slings", but you know that customers often search for "belt bags" on your store. You can create a synonym group for "slings" and "belt bags", which helps your "slings" products display when a customer searches for "belt bags".
On this page
Synonym requirements
Each synonym can be a single word or up to 5 words. There is a maximum of 20 synonyms per synonym group, and a maximum of 1000 synonyms for the entire store.
Each synonym must be unique to your whole store, there can't be the same synonym in multiple synonym groups.
Best practices for synonyms
You can use the following best practices for synonyms to ensure that you're building an effective customer experience:
- Review your store's report onTop online store search results with no resultsto see if customers are searching for terms not used in your store, but you can create relevant synonyms for.
- Synonyms in a group should be clear substitutes for one another. Avoid creating synonym groups with loosely related terms, like having both "men" and "boys" in the same group, as it might cause relevant results to display lower in search results.
- It isn't necessary to create synonyms for common misspellings of search terms. Shopify has built-in strategies to account for this when creating search results. Learn more abouttypo tolerance in storefront search.
- If a synonym group contains a compound word, consider adding its open, closed, or hyphenated versions. For example: "belt bag", "beltbag" and "belt-bag". Alternate spellings of compound words aren't considered in Shopify's default search behavior, but might be popular among your customers.
Create a synonym group
You can create synonyms for your store.
Steps:
- In the Shopify Search & Discovery app, clickSearchin the app, then chooseSynonyms, and clickCreate synonym group.
- Add each word or phrase separately. Click theAddbutton for each synonym.
- Enter a synonym group title.
- ClickSave.
同义词组标题使用的应用程序来帮助display your synonym groups. The title does not affect search results on the online store.
Synonym behavior
Below are some behaviors of synonyms to be aware that affect search results.
Synonyms with multiple words
When a synonym has multiple words separated by a space, like "belt bag", it's used as aphrase searchwhen returning synonoumous search results. A phrase search returns results where the words appear in the exact order of the synonym.
For example, if you have a synonym group with bothslingandbelt bag:
- Searching for "sling" will match products that contain the word "sling" and products that contain the phrase "belt bag".
- Searching for "belt bag" will match products that contain the words "belt" and "bag" (not necessarily in the same field or order) and products that contain the word "sling".
Conditions when synonyms aren't used
Synonyms aren't used for matches on productsku
andbarcode
fields.
Synonyms aren't used when a search query containssearch syntax.