> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://support.custompricecalculator.com/sitemap.xml
> Use this file to discover available pages before exploring further.
> Pure-Markdown content can be obtained by appending a '.md' suffix to the content URLs listed in the sitemap (without the trailing slash).

# Add to Cart Not Working — Troubleshooting Guide

# Add to Cart Isn't Working? Here's How to Troubleshoot

**If your calculator is displaying correctly but the Add to Cart button isn't working as expected, one of the following issues is usually the cause.**

#### 1. Extra Shopify Variants
The default (variant-based) flow creates a hidden Shopify variant for the calculated price. If your product already has many variants, this can lead to conflicts.

**How to fix it:**
Switch your store to the **Non-Variant Flow (Cart Transform)** in the app. This method doesn't require additional Shopify variants. Open Settings and use the "No more extra variants" card at the top (or the pop-up on Home), then click Upgrade. A current sales-based plan is required to switch. If you are taken to Plans, pick one and approve it in Shopify; the switch then finishes on its own, as long as you approve the plan within 7 days of clicking Upgrade. Shopify may also ask you to approve a permission (write_cart_transforms) — approve it, reopen the app, and click Upgrade again if needed. Stores installed after 24 December 2025 are already on the new checkout, and stores already on it keep it even on an older plan. This is a store setting, not a setting on the individual calculator.
#### 2. Cart Drawer Theme Conflict
Some Shopify themes use a cart drawer that slides in from the side. Custom Price Calculator supports the theme cart drawer on the Non-Variant Flow (Cart Transform). Merchants turn it on themselves in the app under **Settings → Cart drawer**. See [Cart drawer support](https://support.custompricecalculator.com/en/article/cart-drawer-support-16hchtz/).

**How to fix it:**
1. In the app, open **Settings → Cart drawer**.
2. If you see **Upgrade**, click it (plan first if needed; then the app switches you to Cart Transform and turns the drawer on). If there is no Upgrade button, turn on **Open the cart drawer on add to cart**.
3. In the theme, set **Cart type** to **Drawer** (Online Store → Themes → Customize → Theme settings → Cart).
4. Only if you stay on the legacy variant flow, or the drawer still fails after the steps above: set Cart type to **Page** as a fallback, then message us.

#### 3. Incorrect Add to Cart Selector
Custom Price Calculator needs to know which button on your product page is the Add to Cart button. If the selector doesn't match your theme, clicking the button may do nothing.

**How to fix it:**
Open your calculator and go to:
**Settings → Add to Cart Selector**
Verify that the selector matches your theme's Add to Cart button.

#### 4. Calculated Price Is $0
If your formula returns a price of **$0**, Shopify may reject the Add to Cart request.

**How to fix it:**
Review your pricing formula and confirm that:
* All required inputs are connected correctly.
* The formula calculates a value greater than zero before adding the product to the cart.

#### 5. Slow Response in Non-Variant Flow
When using the **Non-Variant Flow**, the app relies on Shopify's Cart Transform API. Occasionally, Shopify may take a few seconds to process the request, making the Add to Cart button appear unresponsive.

**How to fix it:**
Wait a few seconds and try again. If the delay happens consistently, please contact our support team so we can investigate.

#### 6. Another app's script on the page
Add to Cart used to send no sizes — shoppers could see an error such as “Missing properties for the price formula” — when another app's script on the page clashed with ours. Back In Stock Hero was one case we caught. That clash is fixed.

**How to fix it:**
If sizes still fail to reach the cart, send us the product page URL and a list of other apps running on the store.

#### 7. Another add-to-cart popup (when you use Upsells)
If Upsells after Add to Cart is turned on, and the store also runs another add-to-cart popup app (for example Candy Rack or Selleasy), both windows will pop up. Turn one of them off.

### Still Need Help?
If the issue persists, please send us:
* Your product page URL.
* A description of what happens when you click **Add to Cart** (nothing happens, page reloads, error message, etc.).
* Any browser console errors (open your browser's developer tools and check the **Console** tab).
*With this information, we'll be able to troubleshoot the issue much more quickly.*