First time here and I hope someone will be able to help. I have customers complained about how no matter which variant they choose to add to their cart, the first variant always gets added to cart. I can't seem to be able to fix the problem myself, I've read about similar problems but none of seem to fix mine. If someone could help, it would be really appreciated. I'm assuming the variable is undefined when it gets added to cart and is defaulting the first variant. You can see the debugging output here: https://backnineonline.com/products/bike-light-cycling-balls
I've attached the product-template.liquid file as well.
|a minute ago|