Skip to content

search

Storefront search results for the current query. Available on the search page.

Example

{{ search.results_count }} results for “{{ search.terms }}

Output:

8 results for “candle”

Properties

PropertyDescription
search.default_sort_byDefault sort key.
search.erroredBuyer-visible errored value for this search.
search.performedtrue when a query was run.
search.prefixBuyer-visible prefix value for this search.
search.resultsResult items.
search.sort_byActive sort key.
search.sort_optionsAvailable sort options.
search.termsThe search query.
search.typesBuyer-visible types value for this search.
search.unavailable_productsBuyer-visible unavailable_products value for this search.

Property list is generated from the storefront engine (SearchDrop), so it always matches what your theme can use. Use {{ search | json }} only as a curated debug snapshot; it can omit lazy or otherwise public properties.