Re: Price varient not updaing in shop item

Solved

Price varient not updaing in shop item

Joelc09
Tourist
12 0 1

Hi there,

 

I've noticed that my shop items that have variants are not changing in price

EG: https://ff3bbd-4.myshopify.com/products/aloeswood-candle?variant=48748363874596

When changing between the two variants (500GM and 1200GM) the price doesn't update 500GM is set to $82 and 1200GM is set to $240. IF you change to 1200GM then refresh the page the price does come up.

 

I have tried reverting all code and still no luck - Has anyone had success in getting this fixed?

 

Thank you!

Accepted Solution (1)

AnneLuo
Shopify Partner
765 145 158

This is an accepted solution.

Hi, @Joelc09 

When changing between the two variants, there is an error appearing in the console.

AnneLuo_0-1717376761911.png

AnneLuo_1-1717376791997.png

You should check the code here.

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

View solution in original post

Replies 7 (7)

AnneLuo
Shopify Partner
765 145 158

This is an accepted solution.

Hi, @Joelc09 

When changing between the two variants, there is an error appearing in the console.

AnneLuo_0-1717376761911.png

AnneLuo_1-1717376791997.png

You should check the code here.

 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Joelc09
Tourist
12 0 1

Thanks for your reply AnneLuo.

 

I've got the same error, and just checked the code out in prodcut.selector.js and none of it has been changed. Could it be a template issue?

AnneLuo
Shopify Partner
765 145 158

Are the variants of this product in stock? Which theme are you using?

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Joelc09
Tourist
12 0 1

I have put 2000 items in stock for each variant and still no luck

 

I am using a paid one - Sahara - Ecommerce Website Template - https://themes.shopify.com/themes/sahara/styles/sahara

AnneLuo
Shopify Partner
765 145 158

I can help you check it out. So I need to access your store as a collaborator if possible. 

If this is helpful, please Like and Accept the solution.
Want to modify or custom changes on store? Let me help.
- Feel free to Email Me   

Buy Me A Coffee

Joelc09
Tourist
12 0 1

That would be amazing! I'll send you a login request

Joelc09
Tourist
12 0 1

@AnneLuohas been an absolute star, I can't thank you enough for your help!