Add to Cart button not working in Flow theme

I am having issues with the Add to Cart button on the product pages. The add to cart buttons are working fine on the home page’s featured collection section and catalog page - it’s just the product page.

I have not made any custom code edits. Let me know what the issue might be!

Password: Preview

I actually got it to work by adding this piece of code to the template–product.liquid after “<div class=“paymentButtonsWrapper” {{ block.shopify_attributes }}>”

I’m not an expert so let me know if this seems to be a good solution

yes, this is fine, but it might be an issue if you have a product with a Variant.

Okay, what would be a better solution?

Hi @52_Web
I hope you are doing well.
I checked your product page and “Add to cart” button is working fine
Are you able to resolve this issue ?
If issue still exists, please let me know if it is happening in some particular scenerio ?
Thanks!

I was able to resolve it by adding this piece of code to the template–product.liquid after “<div class=“paymentButtonsWrapper” {{ block.shopify_attributes }}>”, but was told I’d have issues with variants if I was to use them. I’m looking for a solution that wouldn’t affect variants now