On this page
What this issue is
The add to cart button is the control on a product page that puts the item in the basket. "Missing" means it is not in the page at all, or it is in the page but hidden, covered or replaced by something else (for example a greyed-out label or a notify-me form).
It can affect every product, one product, one variant, one device or only some visitors, such as people in a certain country or on a certain browser.
Why it costs you leads or sales
Without the button, the product page is a dead end. Visitors you paid to attract leave without buying, and nothing in your analytics may look wrong because the page still loads and the traffic still arrives. You only see it as a quiet drop in add-to-cart events and orders.
- Ad or search clickVisitor lands on the product page
- Product pageLoads, but no add to cart button
- CartNever reached
- CheckoutNever reached
- OrderNo purchase
The visitor reaches the product page but cannot continue, so every later step is lost.
Example: illustrative numbers for a store with steady traffic. Orders fall to near zero for affected products while visits stay the same.
How to check if your site has it
Open the product page in a private window
This avoids admin views, cached logins and cookies that can change what you see. Test your best-selling and most-advertised products first.
Test on mobile and desktop
Use a real phone, or your browser's device mode. Some themes hide or move the button at certain screen widths.
Select every variant
Pick each size and colour. The button can vanish for one combination that is out of stock or has no price.
Search the page code
Right-click the page, choose Inspect, and search for a form or button with add to cart, add-to-cart or type=submit. If it exists but is not visible, the cause is CSS or a covering element. If it does not exist, the cause is the template, product data or an app.
Check the console
Open the Console tab and look for red JavaScript errors. A script error can stop the button from being drawn.
| Cause | What you see | Where to look |
|---|---|---|
| Product not purchasable | No button on one product | Product status, price, stock, sales channel |
| Out of stock or sold-out variant | Button replaced by a label | Inventory and variant settings |
| Theme or template edit | Button gone on all products | Product template, recent theme changes |
| CSS hiding or overlay | Button in the code but not visible | Inspect, display:none, covering banner |
| App or plugin conflict | Started after an install or update | Recently added apps and plugins |
| Catalogue or catalog mode | Prices and buttons hidden for visitors | Plugin settings, customer group rules |
| JavaScript error | Button never rendered | Browser console |
How to fix it
Start with the product data, because it is the quickest to rule out. Then move to the theme and apps. The exact menus depend on your platform and theme.
Check the product in WooCommerce
Open Products, edit the item and confirm it is published, has a regular price, and Inventory shows In stock. Products without a price do not get a button.
Test for a conflict
On a staging copy, switch to a default theme such as Twenty Twenty-Four and disable plugins one at a time. If the button returns, the last item you turned off is the cause.
Check hooks in a custom theme
If your theme overrides WooCommerce templates, make sure single-product templates still call woocommerce_template_single_add_to_cart and are up to date under WooCommerce > Status.
Check availability
In Products, open the item and confirm status is Active, it is on the Online Store sales channel, and inventory is available or Continue selling when out of stock is set.
Check the product template
In Online Store > Themes > Customize, open a product template and confirm the Buy buttons block is present and not hidden. Compare with an earlier theme version if needed.
Rule out apps
Disable recently added apps that edit product pages, such as pre-order, wholesale or price-hiding apps, and reload the page.
Look for tags that change the page
Check Custom HTML tags that inject CSS or JavaScript on product pages. Use Preview mode and pause tags to see if the button returns.
Review recent versions
In Versions, compare the live container with the one before the problem began and revert if a change is the cause.
Check the product template
In the Designer, open the Products collection template and confirm the Add to Cart element exists and is not set to Display: None for the current breakpoint.
Check conditional visibility
Select the button and review Conditional visibility. A rule on inventory or a field can hide it.
Check the product
In Store Products, confirm the item is visible, priced and in stock, and that the Add to Cart button is enabled in the product page settings.
Reset the product page layout
In the editor, open the product page and check the Add to Cart button is still on the page and not hidden or moved behind another element.
Check the product page
In Commerce > Inventory, confirm the product is visible and has stock. A sold-out product shows a Sold Out label instead of the button.
Check custom code
Under Website > Pages > Custom CSS and Code Injection, remove any rule that hides the button.
Check the product element
In your funnel or store page builder, confirm the product or buy button element is present and set to show on both desktop and mobile.
Check the product itself
In Payments > Products, confirm the product is active and has a price attached.
Find the button in your template
Confirm the form or button markup is rendered, including for every product state. Check any server-side condition that decides whether to show it.
Check CSS and scripts
Look for display:none, visibility:hidden, or a fixed element covering the button, and fix JavaScript errors that stop rendering.
.product-form__submit,
.single_add_to_cart_button {
display: none !important;
}Broken
- Price and images show, no button
- Visitors leave without a way to buy
- Ad spend sends traffic to a dead end
Fixed
- Button visible on desktop and mobile
- Every variant can be added to cart
- Cart and checkout reachable
How to confirm it's fixed
- The button shows on desktop and on a real phone
- Every in-stock variant shows the button
- Clicking it adds the right item and price to the cart
- The cart page and checkout load
- No red errors in the browser console
- You tested in a private window, logged out
How to prevent it happening again
- Test a product page after every theme, app or plugin update
- Use a staging copy for theme and code changes
- Keep a short list of key products and check them after changes
- Review code injection and tag manager changes before publishing
- Watch add-to-cart events in analytics for sudden drops
- Run an automatic check on your main product journeys
How FunnelGuard handles this
FunnelGuard detects this issue. A robot visitor runs your product journey on a schedule and looks for the add to cart button on the product page. If the element is not found, the check fails with the note "element not found".
A failure is re-checked from a second region before one alert goes out, by email, Slack, Teams, WhatsApp, webhook or PagerDuty. The alert includes a screenshot and a likely cause. The test traffic is marked (utm_source=funnelguard, fg_test=1) and stops before payment. The Free plan covers 1 site and 2 journeys with daily checks and no card, and paid plans include a 3-day free trial.
Questions people ask
Why is my add to cart button not showing?
The most common reasons are that the product has no price, is out of stock, is not published to your sales channel, or a theme edit, app or script has removed or hidden the button. Check the product settings first, then test with apps disabled.
Why did my add to cart button disappear after an update?
A theme, plugin or app update can overwrite templates or conflict with other code, which removes the button. Revert the update on a staging copy or disable recent additions one at a time to find the cause.
Why is the add to cart button missing only on mobile?
Your theme or custom CSS may hide the button at small screen widths, or a sticky bar or popup may cover it. Inspect the page in device mode and look for display:none rules or overlapping elements.
Why is there no add to cart button on one product only?
That product likely has a data problem: no price, zero stock with selling blocked, draft status, or it is missing from the sales channel. Compare its settings with a product that works.
How do I fix a missing add to cart button in WooCommerce?
Confirm the product is published, priced and in stock, then switch to a default theme and disable plugins one at a time on staging. Also check that custom templates still call the WooCommerce add to cart function.
Can a missing add to cart button hurt my ad performance?
Yes. Your ads still send visitors, but nobody can buy, so conversions drop and your cost per sale rises. Ad platforms may also see fewer conversion signals to learn from.
How can I know quickly if my add to cart button disappears?
Check your product pages after every change, watch for drops in add-to-cart events, or use a monitoring tool such as FunnelGuard that runs the journey on a schedule and alerts you if the button element is not found.
Related issues
- CNV-136Add to cart does nothingFix guide
- CNV-138Variant combination unavailable but still sellableFix guide
- CNV-139Out of stock shown on advertised productFix guide
- CNV-134Product page 404 or redirects to homeFix guide
- CNV-150Buy Now/express button skips variant choiceFix guide
- CNV-140Product shows in stock but checkout says unavailableFix guide