# Fix a missing add-to-cart button in Shopify

> Step-by-step Shopify fix for the Add-to-cart button missing alert: product status, stock, sales channels, the product template and app embeds.
> Category: Understanding issues
> Canonical: https://rabbot.ai/docs/issues/fix-add-to-cart-missing/
> Updated: 2026-10-20

---

## What the alert means

Rabbot sends "Add-to-cart button missing" when a product page no longer shows an add-to-cart button, so shoppers who reach it cannot buy. The page still loads and looks fine, which is why the alert is critical. The cause is usually a theme update, an app that changed the product template, or a product setting.

## Fix it in Shopify

1. **Check the product status.** In your Shopify admin go to **Products** and open the product. In the **Status** section the drop-down must read **Active**. **Draft** cannot be sold, and **Unlisted** is reachable only by its direct URL. For an archived product, open the **Archived** tab, choose **More actions** > **Unarchive product**, then set it to **Active**.
2. **Check the sales channels.** On the same page, find **Publishing** and click the adjust icon. Tick **Online Store**, click **Done**, then **Save**.
3. **Check the stock.** In the **Inventory** section, look at the quantity. With **Inventory tracked** on and zero in stock, the theme shows a sold-out button. To keep selling at zero, tick **Continue selling when out of stock**. Check every variant: a sold-out variant can hide the button when a shopper picks it.
4. **Check the product template.** In **Theme template**, look at which template the product uses. A template such as `product.not-for-sale` hides the **Buy buttons** block on purpose. Pick **Default product** and click **Save**.
5. **Check the Buy buttons block.** Go to **Online Store** > **Themes**, click **Edit theme** on your live theme and open the **Home page** drop-down. Choose **Products** and the template from step 4. In **Product information**, look for the **Buy buttons** block. If it is hidden, hover over it and click the hide icon to show it. If it is missing, click **Add block** and choose it from the list. Click **Save**. Block names vary by theme.
6. **Check your app embeds.** In the theme editor click the **App embeds** icon. Switch off apps you recently installed or updated one at a time, and reload the product page after each **Save**. Product options, bundle and pre-order apps are the usual cause. Apps that need a block appear under **Add block** > **Apps**.
7. **Check theme code edits.** Go to **Online Store** > **Themes**, click the three dots next to your theme and choose **Edit code**. If someone changed the product section, undo that change.

Open the product page in a private browser window after each change and confirm the button shows. If you built your own purchase flow in JavaScript on purpose, [dismiss the alert as intentional](/docs/issues/dismiss-as-intentional.md) instead.

## Check it worked

Rabbot re-checks the page in under a minute after a theme publish or a product edit. The alert closes once Rabbot sees the add-to-cart button, and Rabbot tells you. If the button is still missing, the alert stays open: carry on down the list.

Back to the check: [Add-to-cart button missing](/docs/checks/shopify-add-to-cart-missing.md).
