|
/ Documentation /Modern Cart/ Compatibility with Popular Themes and Page Builders

Compatibility with Popular Themes and Page Builders

Modern Cart is designed to work with most WordPress themes and page builders. This guide covers known compatibility notes and how to resolve common conflicts

Astra Theme

Astra includes its own slide-in cart and mobile cart flyout. When Modern Cart is active, it automatically disables Astra’s native cart to prevent duplicate cart experiences. No manual action is required.

If you prefer to use Astra’s cart instead of Modern Cart, simply deactivate the Modern Cart plugin, there’s no partial toggle for this since the override applies as a whole.

enable modern cart

Elementor

Free Elementor has no cart feature, so there’s nothing to conflict with there. If you’re using Elementor Pro’s Menu Cart widget in dropdown or off-canvas style, note that Modern Cart does not currently detect or override it, so you may see both carts appear. We’d recommend using only one.

Elementor’s Maintenance Mode feature will also disable Modern Cart’s floating cart for visitors while it’s active. The same happens under WooCommerce Coming Soon, WooCommerce Private Link, and WordPress’s own core maintenance mode, Modern Cart treats all four the same way. Logged-in admins bypass this check and will always see the cart, even while maintenance mode is on for visitors.

WooCommerce Blocks

Modern Cart works alongside standard WooCommerce product and shop blocks, and recognizes orders placed through the WooCommerce Blocks (Store API) checkout. If Add to Cart isn’t opening the cart drawer as expected on a block-based page, check the general AJAX Add to Cart troubleshooting steps (verify Ajax Add to Cart is enabled in settings, check the browser console for script conflicts).

Caching Plugins

Modern Cart’s floating cart button and drawer are rendered dynamically and refreshed via AJAX, so most page caching does not interfere with it directly. The one thing to watch for: a fully cached page can serve a stale security nonce baked into its HTML. If that happens, Add to Cart or other cart actions can fail silently or throw an authorization error.

If you run into cart actions not working on a cached page:

  • Clear your cache after changing any Modern Cart settings.
  • Exclude your cart and checkout pages from full-page caching, since these are the pages most likely to be loaded from an older cached nonce.
  • If the issue persists on other pages too, check your caching plugin’s settings for a way to keep nonces fresh (most modern caching plugins handle this automatically, but older or aggressive configurations can miss it).

Other Themes and Builders

Modern Cart renders its own cart drawer and floating button independently of your theme, so it works with virtually any WordPress theme.

If you still run into a conflict:

  1. Switch to a default WordPress theme (Storefront or Twenty Twenty-Four) and test.
  2. If the cart works with the default theme, the conflict is theme-related. Contact your theme’s support with the details.
  3. If it still doesn’t work, deactivate other plugins one at a time to identify the conflict.
Was this doc helpful?
What went wrong?

We don't respond to the article feedback, we use it to improve our support content.

Need help? Contact Support
Table of Contents