Predictive search is a feature which helps to display the instant/predictive search results that appears below the search form when you start typing in the search page or header search. You can control the search results from the following settings,
- Open the Theme settings in your Shopify admin
- Then open the tab Predict search in Theme settings.
You can find following settings under Predictive search tab.
Layout settings | Description |
---|---|
Enable predictive search | It will perform instant search when you start typing. |
Out of stock products | This margin value will be applied only for desktop screens. |
Partial word match | Set the base spacing value for top and bottom of each sections. Range from 1 to 10. |
Include collections | It will include results from collections along with products. |
Include pages | It will include results from pages along with products. |
Include blog posts | It will include results from articles along with products. |
Results limit | Set the number of search results to be shown |
Enable Recommendation | It show the products from the chosen collections by default (before displaying search results) |
Recommendation choice | Choice of the collection to display. |