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.count
search.default_sort_byDefault sort key.
search.filtersStorefront filters with values and active state.
search.product_suggestions
search.productsProducts in scope.
search.queries
search.query_suggestions
search.resultsResult items.
search.results_countNumber of results.
search.results_proxy
search.sort_byActive sort key.
search.sort_optionsAvailable sort options.
search.suggestions
search.toArray
search.types

Property list is generated from the storefront engine (SearchDrop), so it always matches what your theme can use. Inspect live values with {{ search | json }}.