Stay up to date

Developer changelog

API

Storefront search now supports product suggestions with the Predictive Search API

Effective June 19, 2019

New

You can now add product suggestions to storefront search by using the Predictive Search API. This shows matching products to customers immediately as they start entering search queries, and lets them easily view the related product pages by selecting items from the search menu.

You can access predictive search results by making requests to the /search/suggest.json? endpoint in the Shopify Ajax API. Using this method displays products faster than rendering the suggested search results separately with Liquid.

Predictive search is supported for themes that use the following theme languages:

  • Danish
  • Dutch
  • English
  • French
  • German
  • Italian
  • Portuguese
  • Spanish

To learn more about how product suggestions are generated and how to implement them in your theme, see Predictive search in the Shopify Help Center.