Hi Community,
I have displayed all product with their variants on collection page. All product variants are displayed and default variant also working. But on change of variant, there is not change in price. Because the products have variant based price. Anyone can help me out.
Below is the piece of code.
{% for product in collections[chandle].products %}
{{ product.title }}
{% if product.variants.size > 0 %}
{% for option in product.options %}
{% include 'swatch' with option %}
{% endfor %}
{% endif %}
-
Price{% include 'product-price' %}
{% endfor %}
Thanks in advance.