Overview
This setting helps improve compatibility with apps or themes that require full control over how items are added to the cart. It disables Upcart’s built-in Add to Cart handling to avoid conflicts.Where to Find It
Upcart > Editor > Settings > Advanced SettingsLook 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