Why is my 'Add to Cart' button not functioning properly?

Topic summary

Add to Cart and Buy it now buttons were visible but not clickable on product pages. The store owner noted a developer had previously disabled the button.

Support requested more context (store link, video, customer replication, recent apps/scripts) and suggested: roll back theme code to a prior date, test with a fresh free theme, and disable any recently added apps/scripts to isolate conflicts.

The store link (Petsemporium.pk) was provided. A community member identified that CSS was disabling the button’s events and gave step-by-step instructions to edit theme.liquid and insert a fix just above the closing tag.

After an initial attempt where the fix wasn’t added, the owner confirmed they applied the code correctly, and the Add to Cart functionality was restored.

Outcome: Resolved. Likely cause was custom CSS disabling button interactions. Action taken was editing theme.liquid to restore click functionality.

Notes: No new apps were installed. No images/videos were shared. The exact code snippet is central to the fix but not included in the captured text.

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

CAn you provide link to your store?