> ## Knowledge Base Index
> Fetch the complete knowledge base index at: https://help.cornercart.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).

# CornerCart Troubleshooting: Add to cart behaviour changed

This is an excellent article, providing a simple fix and a clear technical explanation. It empowers the user while offering easy support.
Here is the structured article for this issue:

## ⚙️ CornerCart Troubleshooting: Add to Cart Behavior Changed

After installing CornerCart, you may notice that the unique or custom behavior that previously occurred when clicking "Add to Cart" (such as a specific animation, a unique modal pop-up, or a redirect) is now missing.

### The Issue

CornerCart is designed to intercept and override the default "Add to Cart" action to ensure our cart drawer opens instantly and responsively. In some cases, this overriding process can interfere with custom code or scripts on your store that manage unique add-to-cart animations or actions.

### The Quick Fix: Adjusting Developer Options

You can quickly resolve this by telling CornerCart to stop overriding the default button behavior:
1. Go to the CornerCart App.
2. Navigate to **Cart Drawer**.
3. Click on **Advanced Settings**.
4. Scroll to the bottom and click **Show more dev options**.
5. In the section titled **"Prevent add-to-cart override,"** check **all three checkboxes**.
6. Click **Save**.
> **Pro Tip:** If you prefer, simply **reach out to our support team** (care@usecorner.io or via chat), and we can make this adjustment for you immediately.

### Technical Deep Dive: Why This Happens

If you're interested in the technical reason, here is why CornerCart sometimes needs to override the button click:
CornerCart monitors "Add to Cart" events in two ways:
| **Method** | **Description** | **Responsiveness** |
| **Method 1 (Override)** | We listen to every **add-to-cart button click** and override it. This lets us inject the instruction to open the cart immediately. | **Faster & More Responsive:** We can open the cart and show a loader *before* the API response comes back. |
| **Method 2 (API Listener)** | We listen to all **API requests** going out of the store (the reliable way to confirm an item was added). | **Slower:** We can only open the cart *after* the API response confirms the item was successfully added. |
The issue you are experiencing happens because of **Method 1**, which interferes with your custom theme scripts.
By checking the three boxes in the "Prevent add-to-cart override" section, you are instructing CornerCart to **turn off Method 1** and rely **only on Method 2**. This allows your theme's custom code to run normally when the button is clicked, and CornerCart will still open once the API confirms the item has been added.