Liquid, JavaScript, themes, sales channels
Hello, I have a problem where when you add a certain variant to cart, it reverts back to the default. For example, the default size when you come to the page of one of my products is small. When someone tries to add a Medium of that same product to their cart, the cart defaults it back to a small. How do I fix this? Here's my site URL. DURAGHENNI – DURAGHENNI
It looks like the variant ID value in the Add to Cart form does not update when switching variants.
<input type="hidden" name="id" value="37149365469347">
This has to be dynamically updated with Javascript when switching variants.
Hello, thanks for replying. I’m kinda unfamiliar with coding. How would I update with Javascript when switching variants?
Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024Digital marketers and app developers have tracked activity in apps and websites for yea...
By Ollie Mar 13, 2024February was an exciting month with Shopify Editions, informative webinars, and more! F...
By JasonH Mar 7, 2024