Overview
This setting does two things:- Queues Shopify Ajax cart calls. When several scripts hit Shopify’s Ajax cart API (
/cart/add,/cart/add.js,/cart/update.js,/cart/change.js) at the same time, Shopify sometimes drops one of the changes. Upcart forces those calls to run one at a time so every update registers. This is the setting’s main purpose. - Steps back from Add to Cart. It also disables Upcart’s built-in Add to Cart handling, so an app or theme that needs full control of that flow doesn’t conflict with it.
Where to Find It
Open the cart editor, go to Settings > Cart settings, and expand Advanced Settings.Look for “Enhanced Ajax API compatibility.”
How It Works
Disabled (Recommended)
Upcart maintains full control over the Add to Cart process. This ensures consistent behavior and allows Upcart to prevent other apps or scripts from overriding the cart flow. This is the recommended setting for most stores. Keep this disabled unless you are experiencing specific issues where Upcart is not intercepting add-to-cart events from your theme or other apps.Enabled
Upcart will no longer manage the Add to Cart process. This allows other apps, custom JavaScript, or your theme to modify the cart without interference. Enable this setting ONLY when:- Your store uses a non-standard AJAX cart API
- Upcart is not intercepting add-to-cart events from your theme or other apps
- You need third-party apps to have direct control over cart behavior
- Other apps can redirect customers to the Shopify cart page instead of opening the Upcart drawer
- You may experience redirect loops or unexpected cart behavior
- Upcart cannot prevent external apps from altering cart behavior
- Disable this setting
- Use the manual Upcart API (
upcartRegisterAddToCart) instead - See integration guides for specific apps (e.g., Replo)
Testing
After changing this setting:- Click Save
- Test adding products to your cart
- Verify the Upcart drawer opens correctly
- Check that you’re not redirected to the Shopify cart page