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
| Property | Description |
|---|---|
search.count | — |
search.default_sort_by | Default sort key. |
search.filters | Storefront filters with values and active state. |
search.product_suggestions | — |
search.products | Products in scope. |
search.queries | — |
search.query_suggestions | — |
search.results | Result items. |
search.results_count | Number of results. |
search.results_proxy | — |
search.sort_by | Active sort key. |
search.sort_options | Available 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 }}.