/collection-loop-nested-2.liquid Secret
Created
October 20, 2020 15:54
How to do an in-depth liquid render analysis with the Shopify Theme Inspector Chrome extension - collection-loop-nested-2.liquid
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
// snippets/product-tile.liquid | |
<h3>{{ product.title }}</h3> | |
{% for option in product.options_with_values %} | |
<p> | |
{{ option.name }}: | |
{% for value in option.values %} | |
{{ value }} | |
{% endfor %} | |
</p> | |
{% endfor %} | |
{% for variant in product.variants %} | |
<p> | |
{% for option in variant.options %} | |
{{ option }} | |
{% endfor %} | |
- {{ variant.id }} | |
</p> | |
{% endfor %} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment