Hi,
I’m not a programmer but I need some help with this. Variations prices are not showing at this moment.
This is the code for product.liquid
{% assign currentVariant = product.variants.first.id %}
{% assign currentProduct = product %}
{% if product.images.size > 1 %}
{% else %}
{% endif %} {% endcomment %}
{% if product.variants.size > 1 %}
{% endif %}
{% if product.available %}
Add to
Cart
{% else %}
{% endif %}
{% endif %}
{% for image in product.images | offset: 0 %}
{% include 'image' %}
{% endfor %}
{% assign image = product.featured_image %}
{% include 'image' %}
{% endif %}
{% assign title = product.title | split: '/' %}
{% unless product.price_max == 0 %}
{{ title[0] }}
{{ title[1] }}
{% if product.compare_at_price_max > product.price %}
{{ product.compare_at_price_max | money }}
{{ product.price | money }}
{% else %}
{% endunless %}
{{ product.price | money }}
{% endif %}
{{ product.content }}
{% for collection in product.collections %}
{% if collection.title contains "Variants" %}
{% endif %}
{% endfor %}
{% comment %}
{% if product.metafields.accentuate.product_colour_variant %}
Color
{% for value in product.metafields.accentuate.product_colour_variant %}
{% assign colourProduct = all_products[value]%}
{% if colourProduct.url != '' %}
{% if colourProduct.available %}
{% endif %}
{% endif %}
{% endfor %}
-
{% for variant in product.variants %}
- {{ variant.option1 }} {% endfor %}
-
{% if product.metafields.accentuate.product_sizing %}
- About the artist {% endif %} {% if product.metafields.accentuate.product_returns %}
- Exhibitions {% endif %} {% if product.metafields.accentuate.product_details %}
- Press {% endif %}
{% if product.metafields.accentuate.product_sizing %}
{{ product.metafields.accentuate.product_sizing.html }}
{% endif %}
{% if product.metafields.accentuate.product_returns %}
{{ product.metafields.accentuate.product_returns.html }}
{% endif %}
{% if product.metafields.accentuate.product_details %}
{{ product.metafields.accentuate.product_details.html }}
{% endif %}
{% if product.metafields.accentuate.product_recommended_product %}
Available Works
{% for recProduct in product.metafields.accentuate.product_recommended_product %}
{% assign product = all_products[recProduct]%}
{% if product.url != '' %}
{% include 'productitem' %}
{% endif %}
{% endfor %}