Type Ahead Subtab
These settings let you set up the Type Ahead feature, which shows search results as your Commerce website users type in the search box.
Min Length
This number lets you specify how many characters users need to type before the search starts.
ID |
typeahead.minLength |
UI location |
Search >Type Ahead |
JSON file |
SearchTypeAhead.json |
Configuration file (pre-Vinson) |
SC.Configuration.js |
Maximum Results
This number lets you specify the maximum number of search results to show.
ID |
typeahead.maxResults |
UI location |
Search > Type Ahead |
JSON file |
SearchTypeAhead.json |
Configuration file (pre-Vinson) |
SC.Configuration.js |
Sort
This string lets you specify the sort order of items returned by the Item Search API. By default, items are sorted by relevance in ascending order. However, you can also sort by other criteria, like the name property.
ID |
typeahead.sort |
UI location |
Search > Type Ahead |
JSON file |
SearchTypeAhead.json |
Configuration file (pre-Vinson) |
SC.Configuration.js |