Hii, Please HELP ME
I am using shopify dawn theme. I want each variant to appear separately on the collection page, and when I open any one of them, all the other variants should also be displayed together on the product page.
My website - https://mansaroverfurnishings.com/
I want all the variants to be appear seperately also on collection page.
1 Like
Hi,
Hope this will help
-Modify collection page to show each variant separately.
code example
{% for product in collection.products %}
{% for variant in product.variants %}
{{ product.title }} - {{ variant.title }}
Price: {{ variant.price | money }}
{% endfor %}
{% endfor %}
-Modify product page to list all variants together.
Code example
### Available Variants:
{% for variant in product.variants %}
{{ variant.title }}
{% endfor %}