Predictive search

The part of the theme that renders product suggestions under the search field as the visitor types.

munich-demo.myshopify.com
Suggestions under the header search field.
Suggestions under the header search field.

What it does

Renders the suggestions panel: matching products with image, title and price, and a link to the full results. The search field in the header and in the menu drawer requests it while the visitor types.

When to use it

You do not add it. Turn on Enable predictive search under Theme settings → Search.

Settings

This section has no settings of its own.

Tips

  • This section has no settings and is not added to a template. It is rendered by the header's search field each time the visitor types.
  • Turn suggestions on or off under Theme settings, Search.
  • The script that fetches suggestions loads when the visitor focuses the search field, not with the page.