In short
- A silent add-to-cart failure is usually two apps controlling the same button, a script error from another app, or code left behind by a removed app.
- The browser console and a clean copy of your theme tell you quickly whether an app or your theme is the cause.
- Turn off app embeds one at a time on a duplicate theme until the button works, then send the app’s developer the error.
A broken add-to-cart button is one of the most expensive problems a store can have, and one of the quietest. Shoppers don’t report it. They press the button, nothing happens, and they leave. It often affects only some devices, products or themes, so it can run for days before anyone notices.
Common causes
- Two apps controlling the same button. Cart drawers, upsells, bundles, pre-orders and subscriptions often all hook into the add-to-cart button. When two do it at once, one cancels the other.
- A script error from another app. One app’s error can stop the theme’s own scripts, so the button still shows but does nothing.
- A theme update. An app written for the old theme code can break when the product form changes.
- Leftover code. An uninstalled app can leave snippets in your theme that still load, or still try to change the cart.
- Custom edits. Changes to the product form or variant picker can stop the correct variant from being sent.
How to find the cause
Reproduce it
Try the product in a private window on a phone and on a computer. Note which products, variants and devices fail.
Read the console
On a computer, open the browser’s developer tools (F12), go to Console, and press the button. A red error often names the app’s script or domain.
Compare with a clean theme
Preview a fresh copy of your theme from the Shopify theme store. If add to cart works there, the cause is an app or an edit in your live theme.
Turn off app embeds one at a time
In a duplicate of your theme, open the theme editor, go to App embeds, switch one off, and test in preview. Repeat until the button works. Online Store›Themes›Customize›App embeds
Check what changed recently
New apps, app updates and theme updates from the days before it broke are the first suspects.
Look for leftover code
Search theme.liquid and your snippets for the names of apps you’ve removed.
How to fix it
- Send the app’s developer the console error, the product link and the device. A precise report gets fixed far faster.
- If two apps do the same job, like two cart drawers, keep one.
- Remove code left behind by uninstalled apps, after backing up the theme.
- Update the theme and the apps that hook into the product form together, and test before publishing.
Know if it breaks again
Testing once doesn’t tell you how often it fails for real shoppers. The best sign is the gap between add-to-cart presses and items that actually reach the cart. A sudden fall in your add-to-cart rate after an app or theme change is worth checking straight away.
How CheckoutLeak will help
Store code and apps checks are coming soon to CheckoutLeak. They will record add-to-cart presses that never reach the cart on real visits, name the likely app with an honest confidence label, and suggest the fix. Some fixes, like a safety net for add to cart, will run in one click and undo the same way. See store code and apps.