Działanie modów w Shopify
Input : {{ 3 | modulo: 2 }}
Output : 1
Lokesh003Coding
Input : {{ 3 | modulo: 2 }}
Output : 1
{% capture modulo %}{{ forloop.index | divided_by: 4 }}{% endcapture %}
{% if modulo == 0 %}
<div>echo something</div>
{% endif %}