Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
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?
@Thomasmbie
I see in the screenshot you have not select any color swatch.
Please share the Store URL?
Thanks for fast reply! I have selected a color, but maybe it doesn't register!?
https://drip-aps.myshopify.com/
Pass: merrild
LetsCode added some code and made it work 🙂
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025