This template is used to display the products in the cart.
This resource is optional
{% for item in cart.items %}
<h2><a href="{{ item | product_url }}">{{ item.name }}</a></h2>
<div class="desc">
{{ item.body-html | trim_words: 60 }}
</div>
{% endfor %}
From /templates/cart.liquid you have access to the following variables:
| Variable | Type | Description |
|---|---|---|
| cart.count | Int | The number of products in the cart |
| cart.items | Object | The list of products in the cart |
| cart.count | Float | The value of the products in the cart |
Blog • Privacy Policy • Terms & Conditions • Copyright 2024 Ticket Rewards