Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {% assign vendor = product.vendor %}
- {% assign handle = product.handle %}
- {% assign counter = '' %}
- {% for product in collections.all.products %}
- {% if vendor == product.vendor and counter.size < 4 and handle != product.handle %}
- {% capture temp %}{{ counter }}*{% endcapture %}
- {% assign counter = temp %}
- {% include 'product-grid-item' %}
- {% endif %}
- {% endfor %}
Add Comment
Please, Sign In to add comment