Skip to content
Maison

Search the documentation

Type a setting, a section or a question.

Theme settings

Search

Search sheet or page, predictive search, and what shows before typing.

On this page

Open Theme settingsSearch. These settings define what happens when a shopper clicks the search icon in the header.

SettingValuesWhat it does
Search typeFR: Type de recherche
  • Sheet
  • Page
Default: Sheet
The sheet opens over the page from the header. The page sends shoppers to the search results template.
Predictive search
Choose what predictive search returns as a shopper types.
ProductsFR: ProduitsCheckboxDefault: On—
Product results shownFR: Résultats produits affichésFrom 2 to 10Default: 4How many products predictive search returns as the shopper types.
Suggested queriesFR: Requêtes suggéréesCheckboxDefault: OnCompletions of what the shopper is typing, such as “camel coat”.
CollectionsCheckboxDefault: Off—
ArticlesCheckboxDefault: Off—
PagesCheckboxDefault: Off—
Before typing
What fills the sheet before anything is typed.
Suggested searchesFR: Recherches suggéréesTextComma separated. For example: Coats, Knitwear, New in
Show recent searchesFR: Afficher les recherches récentesCheckboxDefault: OnKept in the shopper’s browser, never sent to the store.
Featured collectionFR: Collection en vedetteCollectionA few products to land on before the shopper has typed anything.
Featured products shownFR: Produits en vedette affichésFrom 2 to 8Default: 4—

Sheet or page

  • Sheet (default): a sheet slides down from the top of the screen, over the page. Shoppers see results as they type, without leaving the page.
  • Page: the icon goes straight to the search page.

Without JavaScript, the icon always goes to the search page.

Before typing

When the sheet opens, before the shopper types anything, it shows:

  • products from the featured collection, as small square thumbnails, under the collection title;
  • the suggested searches you entered (separated by commas);
  • the shopper's recent searches, with a "Clear recent searches" button.

Recent searches (up to five) are kept in the shopper's browser and are never sent to the store.

While typing

Predictive search starts from 2 characters. The sheet shows the result types you've turned on, in this order:

  • Products, as thumbnails, up to the number set in Product results shown;
  • Suggested queries, which complete what the shopper is typing;
  • Collections, Articles, and Pages, with their counts.

A "View all results for …" link then leads to the full search page. If nothing matches, the sheet shows "Nothing matches …" and a "Browse everything" link. Shoppers can move through the results with the arrow keys.

What search finds

Search results are calculated by Shopify, not by the theme. To exclude a product, adjust synonyms, or boost certain results, use Shopify's Search & Discovery app.

Was this page helpful?

Maison 1.0.0