Created
August 21, 2023 19:43
-
-
Save prosantamazumder/fdd001530e2bb75d27cb481055af4a41 to your computer and use it in GitHub Desktop.
shopify Product loop with product Json data and display Tags
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 product in collections[block.settings.collection].products -%} | |
{{ product | json }} | |
{% render 'product-card', product: product, column_wrapper: true %} | |
{% for tag in product.tags %} | |
<li><a href="/collections/all/{{ tag | handleize }}">{{ tag }}</a></li> | |
{% endfor %} | |
{%- endfor -%} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment