This template is used to display the products found after a search.
This resource is optional
<h1>Your search: {{ query }}</h1>
Number of items found: {{ product.count }}
<ul>
    {% for item in product.list %}
        <li>
            {{ item.name }}
        </li>
    {% endfor %}
</ul>
From /templates/search.liquid you have access to the following variables:
| Variable | Type | Description | 
|---|---|---|
| query | String | The searched string | 
| product.list | <Product> list | The list of all products having the selected tag | 
| product.count | Int | The total number of products having the selected tag | 
Blog • Privacy Policy • Terms & Conditions • Copyright 2024 Ticket Rewards