Skip to main content

Enhanced Ajax API Compatibility

Allow third-party apps and custom scripts to take control of the Add to Cart process.

Updated over 3 weeks ago

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 Settings
Look for “Enhanced Ajax API Compatibility.”

How It Works

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.

Note that when this setting is enabled, Upcart cannot prevent external apps from altering cart behavior. For example, another app may redirect users to the Shopify cart page instead of keeping them inside the Upcart drawer.

Use this setting carefully and test your storefront thoroughly after enabling it.

Disabled

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.

Recommended if you're not using apps that depend on direct control of the cart logic.

Did this answer your question?