All things Shopify and commerce
Hello,
I'm using Minimalin theme and redesigned the website recently. I'm having issue with the variants prices who are not changing. 1st variant price is showing by default. But when we select different it still shows the 1st variant price. It works fine on cart page and checkout, we can see updated prices there. Is there anyone who can help me.
Store link: https://htownhemp.co.uk/
Hi @htownhemp ,
Try refreshing the page while the variant changes:
https://community.shopify.com/c/shopify-design/need-a-page-refresh-everytime-a-variant-changes-to-ge...
And wrap them in <script></script> tags
If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here ☕.
Product Labels by BSS | B2B Solution & Custom Pricing
Need help from our expert? Kindly share your request with us via community@bsscommerce.com
I see the code but where to use and how? I can't see theme.js or custom.js file in the theme code. Thanks
Hi @htownhemp ,
It's possible that you are using a custom theme and there's a coding error. If the variant picker section includes 'variant.price' and your theme is set to 'product.price', this could lead to an error. You can contact us for assistance in fixing this.
I don't have these two codes named with 'variant.price' and 'product.price'
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