EliteCart works seamlessly with all SwitchThemes. Add to cart and cart opening work perfectly out of the box. The only modification to be made is to keep the cart icon in the navigation in sync, ensuring it correctly shows whether items are in the cart or not.
SwitchThemes (Baseline, Exhibit, Shapes, and Cascade) are premium Shopify themes with built-in cart icon counters. While EliteCart integrates perfectly with these themes, adding this simple script ensures the cart counter in the navigation updates instantly when customers add items through EliteCart, providing a consistent shopping experience.
Any SwitchThemes theme installed
EliteCart installed and active
Confirm you're using one of these SwitchThemes:
Baseline (Editorial, Austere, Brutalist variants)
Exhibit (Exposure, Curate, Display variants)
Shapes (Fizz, Candy, Aura, Scratch variants)
Cascade (Swell, Phase, Sequence variants)
Go to Cart Designer โ Custom HTML
Select position: Top of cart
Add this code:
<script>
window.EliteCart.onCartChange((cartData) => {
document.dispatchEvent(
new CustomEvent('theme:update:cart')
);
});
</script>
Click Save in Cart Designer
Ensure EliteCart is active in your theme
Open your store
Add a product to cart via EliteCart
Verify the cart icon counter updates immediately
Remove items from cart
Verify counter decreases correctly
The script listens for EliteCart cart changes and dispatches the theme:update:cart
event that SwitchThemes uses internally to update the navigation cart counter.