Why is my 'add to cart' button not working on the product page?

Why is my 'add to cart' button not working on the product page?

Thomasmbie
Tourist
9 0 0

I have an 'add to cart' button on front page that IS working, but on the product page it's NOT working - here it's just grayed out (see attached file). I'm quite sure it's because I changed some code in order to make the color swatch function work (same product but different colors). I ended up installing a GVariant app in stead that did the job, but I'm not sure how to undo the (potential) damage I've done on the product pages!?

 

 

On the product pages I can click a color, it changes the product images perfectly, then I click "add to basket" but get the error "This field is required" in red below.


Any ideas?

Replies 3 (3)

LetsCode
Shopify Partner
116 13 20

@Thomasmbie 
I see in the screenshot you have not select any color swatch.
Please share the Store URL?

If helpful then please Like and Mark as Accepted Solution.
Thanks,
Vikash Kumar Jangir
Thomasmbie
Tourist
9 0 0

Thanks for fast reply! I have selected a color, but maybe it doesn't register!?

 

https://drip-aps.myshopify.com/
Pass: merrild

Thomasmbie
Tourist
9 0 0

LetsCode added some code and made it work 🙂