'Add to cart' button doesn't work on some product pages

'Add to cart' button doesn't work on some product pages

nickgroeneveld
Visitor
1 0 0

Hello all,

 

I ran into a strange situation where clicking on the 'add to cart' button on a product page doesn't work on some pages while it does work on other pages.

 

The only difference I noticed between the two types of pages is that the 'quick buy button' doesn't appear on the pages where the 'add to cart' button doesn't work. Disabling that button doesn't work, sadly.

 

Here's a page where the add to cart button doesn't work

https://iconshop.be/products/beach-760?_pos=1&_sid=7e11a0976&_ss=r

 

Here's a page where the add to cart button does work

https://iconshop.be/products/rages-jd98hm-7-mc?pr_prod_strat=collection_fallback&pr_rec_id=22c49d91c...

 

Thanks in advance!

Reply 1 (1)

andrija_obradov
Shopify Partner
9 0 1

On the product that doesn't work you lack the variant id input field, and quantity input field. If both products are on same template, the reason could be that the first one is out of stock. If they are on different product templates you likely have error in templates

FIRST PRODUCT INPUTS:

andrija_obradov_0-1716885790707.png

SECOND PRODUCT INPUTS:

andrija_obradov_1-1716885825568.png