Created
July 7, 2022 12:45
-
-
Save o-nkar/56676c2e4dfe6d12173afaa7c5fb069b to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% for collection in collections %} | |
{% if collection.title == "OMBRONE COLLECTION" %} | |
<a href="{{collection.url}}"> | |
<div class="cm_colec_title"><span>{{collection.title}}</span></div> | |
</a> | |
{% assign products = collection['collection_handle'].products %} | |
{% for product in products %} | |
{{ product.image | img_url:'master' | img_tag }} | |
{% endfor %} | |
{% endif %} | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
simple use
{% for collection in collections %}
{% if collection.title == "OMBRONE COLLECTION" %}
{% assign products = collection.products %}
{% for product in products %}
{{ product.image | img_url:'master' | img_tag }}
{% endfor %}
{% endif %}
{% endfor %}