Appearance
Search
This guide describes the Theme settings > Search menu options.
Visitors can enter search terms into your store's Search textbox to find occurrences of the terms throughout your store. Use the Search theme settings to specify the parts of your store to include in searches, and how the search results are displayed. Refer to Shopify help: Search behavior.
In the previous image, in the upper right, the search term Coat is entered into the Search textbox on a store's home page. Using predictive search, as the visitor types, the store products that match the search term are displayed in the Search results area. Inside the Search results area, matching products are displayed as (linked) image tiles. In the upper left, in Theme settings > Search, the Crop predictive search image option is set to Square. This option specifies a cropping ratio/style for the image tiles displayed in the search results area.
For general guidance with adjusting a theme setting, refer to Settings overview and Shopify help: Theme settings.
Set up search
To set up search:
Go to Theme settings > Search.
Select a setting described in the following table.
Setting name | Description |
---|---|
Enable predictive search | Select the Enable predictive search checkbox to turn on/off predictive searching. As a visitor types a search term into the search field, predictive search suggests items in your store that match the search term. Refer to Shopify developer guide: Add predictive search to your theme. |
Search products | Select the Search products checkbox to include/exclude products in the search results. |
Search collections | Select the Search collections checkbox to include/exclude collections in the search results. |
Search articles | Select the Search articles checkbox to include/exclude articles (blog posts) in the search results. |
Search pages | Select the Search pages checkbox to include/exclude store pages in the search results. |
Show search suggestions | Select the Show search suggestions checkbox to show/hide suggestions in the search field. To display search suggestions, set the Enable predictive search checkbox option to on . |
Crop predictive search images | Use the Crop predictive search image options to set a cropping ratio/style for images displayed within the predictive search results. The options are No crop, Landscape, Square or Portrait. By default, this option is set to Square. |