Need a page refresh everytime a variant changes to get the correct code to load.

New Member
1 0 0



I am trying to do something similar. I'd like to have the page refresh when the selected variant is out of stock. 

New Member
2 0 1

Hi use the Simple Theme when i bind this code in my Theme.js but he relod the Product Page again and agein when variant sold out is.

8 0 1

Thanks Guleria, 

you are awesome!!! That code worked. I did not had a custom.js, but when I out it in the theme.js - everything works fine now. 

I will save your contact information in case of a customization or problems, which I can't do myself. It looks like you are a very knowledgeable & nice guy, too.

I am sure there will be something in the future where I will need help from an expert like you. 

Thanks again for sharing that solution!!