Why is my add to cart button not working on my website?

Topic summary

  • Add to cart button stopped working on a Shopify store using the Minimal theme and the LayoutHub page builder. The issue reportedly persisted for about a month, with no intentional code changes by the owner.

  • A responder identified the likely cause as the theme code in the product.liquid file (the product page template that controls product rendering and add-to-cart behavior).

  • The store owner asked how to fix it; no specific solution or steps were provided in the thread.

  • A later commenter noted the site’s add to cart appears to be working and asked what fix was applied.

  • Outcome: No confirmed resolution or documented fix. Current status in-thread is unresolved, with the suspected cause pointing to product.liquid.

Summarized with AI on January 9. AI used: gpt-5.

Hi can someone help me please.

The add to cart button doesnt work suddenly after years.

I didnt changed the code.

This problem is going on for a month i think.

My website is www.theseamosslab.com.

Theme is minimal and i have a pagebuilder: LayoutHub.

It is the issue in theme code of product.liquid file

How can i solve this issue?

I am having the same problem. Your website seems to be working now. How did you fix it?