Configuring autocomplete
The autocomplete functionality within InsiteCommerce can be configured to show search results pertaining to content on the page, product specific content, and category information. Each of these can be configured to show up to 10 results; the default is set to 5 2. Additionally, these settings can be set uniquely per website. Use the steps below to configure the settings.
Website Settings
Use the following steps to find the desired settings which are listed below.
- Go to Admin Console > Websites > Select the Website > click Edit for the website > Settings tab.
- In the Search box, type Search.
- In the Name column, look for the Website Settings that start with Search_Autocomplete
Settings
Use the following steps to find the desired settings which are listed below.
- Go to Admin Console > Administration > System > Settings.
- In the search box, enter the Setting name and select it from the list.
- Update the Setting as necessary.
Enable Autocomplete
| Setting | Value | Description |
|---|---|---|
| Search_Autocomplete_Enabled | True/False |
True will enable the Search Autocomplete feature to function on the website. |
| Setting Name | Value | Description |
|---|---|---|
| Autocomplete | On/Off |
If On, users will see the autocomplete drop-down as they type in the search box. |
Categories
Any category that contains a product that matches the search query will display in the Autocomplete window.
| Website Setting | Value | Description |
|---|---|---|
| Search_Autocomplete_Category_Enabled | True/False |
True will allow any categories matches to display within the Search Autocomplete window. |
| Search_Autocomplete_Category_Limit | Number | Controls the number of categories to display in the Autocomplete window. |
| Setting Name | Value | Description |
|---|---|---|
| Show Categories | On/Off |
If On, category autocomplete results will show up as the user starts typing in the search box. |
| Category Limit | Number | The maximum number of category autocomplete results that display. Maximum value: 10. |
Content
Search crawls the actual content of pages for any text that matches the search query, such as blogs or white papers.
| Website Setting | Value | Description |
|---|---|---|
| Search_Autocomplete_Content_Enabled | True/False | True will allow any content matches to display in the Search Autocomplete window |
| Search_Autocomplete_Content_Limit | Number | Controls the number of content items to display in the Autocomplete window. |
| Setting Name | Value | Description |
|---|---|---|
| Show Website Pages | On/Off | If On, CMS pages will show up as autocomplete results as the user is typing in the search box. |
|
Website Pages Limit |
Number | The maximum number of CMS page autocomplete results that display. Maximum value: 10; Default value is 2. |
Product Details
Search Autocomplete will return and display any products that match the query terms.
| Website Setting | Value | Description |
|---|---|---|
| Search_Autocomplete_Product _Enabled | True/False | True will allow any product matches to display in the Search Autocomplete window |
| Search_Autocomplete_Category_LImit | Number | Controls the number of product items to display in the Autocomplete window. |
| Setting Name | Value | Description |
|---|---|---|
| Show Products | On/Off | If On, product autocomplete results will show up as the user starts typing in the search box. |
| Product Limit | Number | The maximum number of product autocomplete results that display. Maximum value: 10 |
Location of the Search Autocomplete Product Metadata
- Product Image - located in the Admin Console > Catalog > Products > click Edit for a product > Content tab > Small Image Path.
- Product Title - located in the Admin Console > Catalog > Products > click Edit for a product > Details tab.
- Product Number - located in the Admin Console > Catalog > Products > click Edit for a product > Details tab.
- Manufacturer Number - located in the Admin Console > Catalog > Products > click Edit for a product > Details tab.