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
With the previous code you provided products section did show. In my collection there was 9 products and it did create 9 sections but images are not showing
![Screen Shot 2022-07-07 at 5 11 23 PM](https://user-images.githubusercontent.com/108878718/177794590-41f4fa9d-f223-41fa-b34f-ef53787e9ce3.png)
.