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:
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
Hello @Thor_SA ,
I don't think it's a problem with Shopify. It's the default behaviour of the theme code you are using.
And to achieve the requirement you shared you have to make the modification in the theme JS file.
Check from where the price changes through JS and then implement your logic accordingly.
Thanks @Guleria I will have a look at the theme.js file and try implement.
If you could point me in the right direction in terms of syntax/snippet that would be greatly appreciated.
Thanks
Thor
June brought summer energy to our community. Members jumped in with solutions, clicked ...
By JasonH Jun 5, 2025Learn how to build powerful custom workflows in Shopify Flow with expert guidance from ...
By Jacqui May 7, 2025Did You Know? May is named after Maia, the Roman goddess of growth and flourishing! ...
By JasonH May 2, 2025