Iteration (Lists)
For Loop
<div li-for="product in collection.products">
<div li-object="product.price"></div>
</div>{% for product in collection.products %}
<div>{{ product.price }}</div>
{% endfor %}
Last updated
Was this helpful?
<div li-for="product in collection.products">
<div li-object="product.price"></div>
</div>{% for product in collection.products %}
<div>{{ product.price }}</div>
{% endfor %}
Last updated
Was this helpful?
Was this helpful?
li-for:inside = product in collection.products<div>
{% for product in collection.products %}
{{ product.title }}
{% endfor %}
</div>