Products variant's price is not changing on product page.

Products variant's price is not changing on product page.

htownhemp
Visitor
3 0 0

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/

Replies 4 (4)

BSS-Commerce
Shopify Partner
3477 463 549

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 .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency
htownhemp
Visitor
3 0 0

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 

magenest
Shopify Partner
162 12 23

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.

Magenest - One-stop Digital Solution Provider
- Don’t forget to drop a thumbs-up and Mark it as a Solution if you find our response useful
- Elevate your online business with our Shopify experts and professional designers
htownhemp
Visitor
3 0 0

I don't have these two codes named with 'variant.price' and 'product.price'