Search autocomplete
When a user enters three characters into the search field to search for a product, they trigger the autocomplete functionality. Autocomplete refines results more accurately as the user enters more characters. The content displayed in the autocomplete preview consists of the following components:
- Categories – A category name containing text that matches the search query.
- Content – Content of pages that matches the search query, such as blogs or white papers.
- Product Details – Information such as product image, product title, product number, and manufacturer number.
You do not need to activate any search autocomplete settings because it is active by default.
You can configure the autocomplete functionality to show up to ten search results for content on the page, product specific content, and category information. You can set these settings uniquely per website.
Settings
Use the following steps to find the desired search autocomplete settings, listed in the table below.
- Go to Admin Console > Administration > System > Settings.
- Search for the setting name and select it from the list.
- Update the setting as necessary.
Setting Name | Value | Description |
---|---|---|
Autocomplete | On/Off |
If On, users see the autocomplete drop-down as they type in the search box. |
Show Categories | On/Off |
If On, category autocomplete results show as the user types in the search box. |
Category Limit | Number | This is the maximum number of category autocomplete results that display. Maximum value: 10. |
Show Website Pages | On/Off | If On, CMS pages show as the user types in the search box. |
Website Pages Limit |
Number | This is the maximum number of CMS page autocomplete results that display. Maximum value: 10; default value is 2. |
Show Products | On/Off | If On, product autocomplete results show as the user types in the search box. |
Product Limit | Number | This is the maximum number of product autocomplete results that display. Maximum value: 10 |
Location of the search autocomplete product metadata
- Product Image – Go to Admin Console > Catalog > Products > Edit a product > Content > Small Image Path.
- Product Title – Go to Admin Console > Catalog > Products > Edit a product > Details.
- Product Number – Go to Admin Console > Catalog > Products > Edit a product > Details.
- Manufacturer Number – Go to Admin Console > Catalog > Products > Edit a product > Details.
Autocorrect and DidYouMean
You can choose to disable the autocorrect or DidYouMean search settings without turning off suggested search. You must have the Enable Search Suggestions setting set to Yes to adjust the autocorrect and DidYouMean settings individually. The logic works as follows:
- If autocorrect is off and DidYouMean is on, all suggestions above the DidYouMean threshold produce DidYouMean results.
- If DidYouMean is off and autocorrect is on, suggestions above the autocorrect threshold produce autocorrect results.
- If both settings are off, the behavior is the same as disabling search suggestions entirely.
Disable Autocorrect
- Go to Administration > Search > Settings in the Admin Console.
- Search for Enable Autocorrect.
- Set the toggle to No.
Disable DidYouMean
- Go to Administration > Search > Settings in the Admin Console.
- Search for Enable DidYouMean.
- Set the toggle to No.
Please sign in to leave a comment.