All docs pages

Liane docs › Sections › Collections and search

Search results

Part of the search page. You can change its settings, but not add it elsewhere.

The Search results section lists what a search finds, under the Search section on the search page. Products come first as product cards, styled by Theme settings › Product cards. Matching articles and pages follow as rows under the Articles and pages heading. Results per page counts all three kinds together.

Filters and sorting work as on a collection page and apply to products only. You choose which filters show in the Search & Discovery app. They appear only when a search finds products, beside the results on wide screens and in a “Filter and sort” drawer below 1100px. Active filters show as chips above the results, each one removable, with “Clear all”.

When a search finds nothing, the section shows the No results heading and text with links to start again: your Menu, or links to your collections and all products. Under them come the products the visitor looked at last (when there are any), then up to four products from the Suggested collection. When filters leave no products, the No matching products heading and text show with a button that clears the filters.

Tips

  • Customers can type part of a word: the last word of a search also matches longer words that start with it.
  • Pick a Suggested collection of good sellers, so an empty search still leads somewhere.
  • The search and filters guide covers setting up filters.

Settings

SettingWhat it doesDefault
Color schemeScheme 1
LinePass beside the content: the line runs down the section’s side and draws nothing around its content. Pause here: the line goes behind the section and comes out below it.Options: Draw around the content, Pass beside the content, Pause here.Draw around the content
Results per pageFrom 6 to 48, in steps of 3.12
PaginationShow more button and Load as you scroll add the next page under the products already shown. The address keeps the page number, so Back returns to the same place.Options: Page numbers, Show more button, Load as you scroll.Show more button
Articles and pages heading“Articles and pages”
Filtering and sorting
Enable filteringChoose the filters in the Search and Discovery app.On
Enable sortingOn
No results
Heading“No results”
Text“Check the spelling, try another word, or start from one of these.”
MenuLinks shown when nothing is found. Without a menu, links to your collections and all products show.
Suggested collectionUp to four products from the suggested collection show when a search finds nothing. Leave blank to show nothing.
No matching products
Heading“No products match these filters”
Text“Try fewer filters, or clear them and start again from every result.”