Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Add to cart button missing: how to find and fix it

CNV-135High impactDetectedBy FunnelGuardPublished Updated
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.

Where the funnel breaks
  1. Ad or search clickVisitor lands on the product page
  2. Product pageLoads, but no add to cart button
  3. CartNever reached
  4. CheckoutNever reached
  5. OrderNo purchase

The visitor reaches the product page but cannot continue, so every later step is lost.

Orders before and after the button disappearsExample numbers
Orders before and after the button disappears (example)Button visible: 40 orders per week; Button missing: 3 orders per week01531403Button visibleButton missingorders per week

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

Quick manual check
  1. 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.

  2. 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.

  3. Select every variant

    Pick each size and colour. The button can vanish for one combination that is out of stock or has no price.

  4. 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.

  5. Check the console

    Open the Console tab and look for red JavaScript errors. A script error can stop the button from being drawn.

Common causes and what to look for
CauseWhat you seeWhere to look
Product not purchasableNo button on one productProduct status, price, stock, sales channel
Out of stock or sold-out variantButton replaced by a labelInventory and variant settings
Theme or template editButton gone on all productsProduct template, recent theme changes
CSS hiding or overlayButton in the code but not visibleInspect, display:none, covering banner
App or plugin conflictStarted after an install or updateRecently added apps and plugins
Catalogue or catalog modePrices and buttons hidden for visitorsPlugin settings, customer group rules
JavaScript errorButton never renderedBrowser 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.

Fix by platform
  1. 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.

  2. 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.

  3. 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.

Example of a rule that hides the button (find and remove it)css
.product-form__submit,
.single_add_to_cart_button {
  display: none !important;
}
Product page before and after the fix

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

Confirmation checklist
  • 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

Prevention habits
  • 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.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: element not found.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.