Why is the add to cart button on my site sporadically malfunctioning?

I am working on the site here at https://www.gymandfitness.com.au/, and we seem to be having customer unable to add some items to their cart. When trying to replicate this bug I have found I am able to add the problem items to cart sometimes, but othertimes there is nothing.

For reference the products this bug was first notice on are:

https://www.gymandfitness.com.au/products/schwinn-800ic-ic8-indoor-cycling-bike

https://www.gymandfitness.com.au/products/assault-fitness-pro-elite-bike-console

And our product.liquid file attached with the add to cart button around 600 lines in.

Hi @WilliamDarker ,

Please change the code at line 613.

Change ‘product.id’ => ‘product.variants.first.id’

Hope it helps!

No luck with that one, thanks anyway.

Hi @WilliamDarker ,

It still doesn’t work?

Can you create a staff account for me? I will help you debug it.

The problem was with the Stackable discounts app is fixed now, thanks for your help.