Welcome to the Liquify Community

Updated 3 months ago

Variants not working

I've noticed that when I try selecting different variants, the price of the product doesn't change. I can see the variant switch firing in the console but for some reason the price stays the same. I've tested using the blank template theme and seeing the same behaviour. Is there something I've set wrong?
f
J
5 comments
Tried cloning the template to see if there had been any updates but the price is now invisible on load
Hey @fergie77, you probably use li-js-object for that, which doesn't work in combination with li-object as of right now. But instead of li-js-object you can just use x-text="price" :)
Is that in combination with anything else?
Jup, just use x-text="price" with li-object="product.price | money" for now :)
In the future, li-js-object will work with li-object, but for now it doesn't :)
Cool, thank you!
Add a reply
Sign up and join the conversation on Discord