Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
Hi Everyone.
Im hoping someone could assist me with a solution to this problem.
Store: https://aboschuh.ch/products/abonnieren
Problem:
We have 2 variant options for this product which are required to display the 2 different pricing structures based on which variant is selected.
Variant 1: Mieten: CHF 12.90
&
Variant 2: Kaufen: CHF 229.00
I am hoping to update the Pricing and display on the page as follows:
{%- when 'price' -%}
<div class="product__price fs-body-base">
{% if current_variant.price <= 1290 %}
Mieten:<span data-price> {{ current_variant.price | money_with_currency }}
</span>/Monat
{% endif %}
{% if current_variant.price > 1290 %}
Kaufen:<span data-price> {{ current_variant.price | money }}</span>
{% endif %}
It renders part of what i am needing but unfortunately a hard refresh is required to change the full extent of the pricing field.
Could someone kindly assist me with this and how to implement correctly.
Thanks in advance
Thor
Hi Agrace, sounds great. Thank you, looking forward to your help
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025