On this page
Switch it on
- Install ExiusCart from the Shopify App Store and connect the store (ExiusCart › Channels › Shopify).
- Shopify admin › Online Store › Themes › Customize › App embeds: turn on ExiusCart. This one switch loads upsells, popups, sign-up forms and card stars.
- On the product template, add the blocks you want: Product reviews, Star rating, Bundle & save and, to place it yourself, Notify me when back.
- For the one-tap offer after payment: Shopify admin › Settings › Checkout › Post-purchase page › ExiusCart.
Any theme with app blocks works: Dawn and every Online Store 2.0 theme. Vintage themes can use the app embed but not the blocks.
A theme made by ExiusCart (Store builder › Send to Shopify) is ready too: its product page and cart page take the ExiusCart blocks, the cart page already has the “Complete your order” box, and “Notify me” sits under Add to cart. Turn on the app embed there as well.
App blocks and settings
ExiusCart (app embed, every page)
| Setting | Default | What it does |
|---|---|---|
upsells | On | Frequently bought together on product pages and cart offers on the cart page |
upsell_popup | On | The popup offer right after add to cart (needs upsells on) |
drawer_upsell | On | “Complete your order” inside the theme’s cart drawer, just above its checkout button (Dawn and most themes). Your own drawer: see Cart upsell below |
notify | On | “Notify me when it’s back” under the Add to cart form while the chosen variant is sold out |
popups | On | Storefront popups (email capture, spin to win, announcements, exit intent) |
forms | On | Sign-up forms |
card_stars | On | Stars under product cards on collection and search pages |
star_color | #f59e0b | Star color for card stars |
accent | #111111 | Button color in upsell offers and the popup offer |
Product reviews (product page)
| Setting | Default | What it does |
|---|---|---|
heading | Customer reviews | Title above the reviews |
filters | On | Star filters and sorting |
helpful | On | The Helpful button on each review |
questions | On | Questions and answers under the reviews |
schema | Off | Google star rating JSON-LD, written server-side from the metafields. Leave off if your theme already outputs Product structured data with a rating |
star_color | #f59e0b | Star color |
spacing | 24 | Space above and below, in px |
Star rating (under the product title)
| Setting | Default | What it does |
|---|---|---|
count | On | Show the rating number and review count |
link | On | Tapping the stars scrolls to the Product reviews block |
sold | On | The “12,000+ sold” line (the store picks supplier, own sales or off in ExiusCart › Reviews › Settings) |
star_color | #f59e0b | Star color |
Bundle & save (product page)
| Setting | Default | What it does |
|---|---|---|
style | Auto | List, cards, photos, pills or bold. Auto uses the style the seller picked for the offer in ExiusCart |
accent | #111827 | Selected option and button color |
button | Add to cart | Button text |
after_add | Open the cart drawer | Open the cart drawer (or go to the cart page when the theme has none), or stay on the product page |
Cart upsell (any section, or your own drawer)
| Setting | Default | What it does |
|---|---|---|
accent | #111111 | Add button color |
max_offers | 1 | How many cart offers to show (1 or 2) |
The seller’s cart offers (ExiusCart › Marketing › Smart Upsells › Cart offer, or a product’s Bundles & offers › In the cart) for what is in the cart. It redraws itself whenever the cart changes: theme adds, ExiusCart adds, /cart/change.js, cart:refresh. A drawer your theme builds itself can’t take an app block, so put the mount in it and the app embed fills it:
<!-- Inside your own cart drawer, above the checkout button -->
<div data-exiuscart-cart-upsell></div>
<!-- Optional: show up to 2 offers, your button color -->
<div data-exiuscart-cart-upsell data-max-offers="2" data-accent="#0f766e"></div>Notify me when back (product page)
Shows only while the chosen variant is sold out and follows variant changes. The email goes to the store’s Back in stock flow in ExiusCart, which emails the shopper once when the product has stock again, with a link back to this product page. Without the block, the app embed puts the same form under the Add to cart form.
After payment (Shopify’s post-purchase page)
The seller’s After payment offer (Smart Upsells, or a product’s Bundles & offers › After payment) shows between payment and the thank-you page. One tap adds it to the paid order and Shopify charges the same card, with no forms. ExiusCart works out the price on its side and signs the change, so it can’t be altered in the browser. Shopify shows the page for Online Store orders it can charge again; otherwise the shopper goes straight to the thank-you page.
Bundle & save: how offers are priced
The Bundle & save block shows every offer of the product in one picker, and how each one is priced at checkout:
| Offer | Picker shows | Priced by |
|---|---|---|
| Quantity breaks | Buy 1 / 2 / 3 / 4, save more | Shopify automatic discounts, one per tier; only the best tier applies |
| Buy X get Y, free gift | Buy 2 get 1 free, buy 3 pay 2 | A Shopify automatic Buy X get Y discount |
| Bundle (several per product) | “Just this item”, then each set: this product + others, save a % | ExiusCart’s discount function ExiusCart bundles: only whole sets get the %, a cart missing a product of the set gets nothing |
A bundle is sent to Shopify only when every product in it is listed there. The set is kept on the app discount as the metafield $app:exiuscart-bundle.function-configuration; don’t edit those discounts in Shopify, ExiusCart makes them again.
Metafields
ExiusCart keeps these up to date a few seconds after any review is approved, edited or hidden, and when a product is sent to Shopify. A field with nothing to show is deleted, so a theme never shows an old number.
| Namespace.key | Type | What it holds |
|---|---|---|
reviews.rating | rating | Shopify’s standard review field. The store’s own buyers only, as Google requires |
reviews.rating_count | integer | How many of those reviews |
$app:exiuscart.store_rating | decimal | Everything the reviews block shows, imported reviews too |
$app:exiuscart.store_review_count | integer | Count for store_rating |
$app:exiuscart.sold_label | text | Ready text, e.g. “12,000+ sold” |
$app:exiuscart.sold_count | integer | The number behind it |
$app:exiuscart.rating | decimal | The supplier’s rating (imported products) |
$app:exiuscart.review_count | integer | The supplier’s review count |
$app:exiuscart.delivery_days | integer | Most days delivery takes |
$app:exiuscart.selling_points | list of text | Up to 6 short benefit lines |
$app:exiuscart belongs to the app: only ExiusCart can write it, and Shopify deletes it when the app is uninstalled. Inside ExiusCart’s blocks it reads as product.metafields["$app:exiuscart"]. In your theme’s own code use the full namespace app--<app id>--exiuscart, which Shopify admin › Settings › Custom data › Products shows. The app id is the same on every store that installs ExiusCart from the Shopify App Store, so one theme works for all of them. (A store on a private copy of the app made just for it has that copy’s id.)
{%- comment -%} In an ExiusCart app block, "$app" works directly: {%- endcomment -%}
{{ product.metafields["$app:exiuscart"].sold_label.value }}
{%- comment -%} In your theme's own code, use the full namespace.
Shopify admin > Settings > Custom data > Products shows it: app--<app id>--exiuscart {%- endcomment -%}
{%- assign exc = product.metafields["app--<app id>--exiuscart"] -%}
{%- if exc.sold_label != blank -%}
<p class="sold">{{ exc.sold_label.value }}</p>
{%- endif -%}
{%- comment -%} Shopify's own review fields: any theme can read them {%- endcomment -%}
{%- assign r = product.metafields.reviews.rating.value -%}
{%- if r -%}{{ r.rating | round: 1 }} / {{ r.scale_max }} ({{ product.metafields.reviews.rating_count }}){%- endif -%}Moving from the old namespace. Before November 2026 these fields were in the public exiuscart namespace. Each product moves on its next update and the old field is deleted; ExiusCart’s blocks read both meanwhile. Switch theme code to the namespace above.
JavaScript events
All events fire on document as CustomEvents and bubble. Read the data from event.detail.
| Event | When | detail |
|---|---|---|
exiuscart:upsell:opened | An upsell offer or the add-to-cart popup is shown | offer_id, placement, products |
exiuscart:upsell:accepted | The shopper taps Add on an offer | offer_id, placement, product_id, variant_id, discount_code |
exiuscart:upsell:added | The item is in the cart (and the code applied) | same as accepted, plus cart (the whole updated cart from /cart.js) and added |
exiuscart:upsell:declined | No thanks on the popup offer | offer_id, placement |
exiuscart:upsell:closed | The popup offer closes (× , Escape, or Checkout) | offer_id, placement, checkout? |
exiuscart:upsell:error | Shopify refused the add (sold out, limit) | offer_id, message |
exiuscart:offers:ready | Bundle & save has drawn | count |
exiuscart:offer:selected | The shopper picks a Bundle & save option | offer, option |
exiuscart:offer:add | Bundle & save is about to add | items |
exiuscart:offer:added | Bundle & save items are in the cart | offer, items, cart (the whole updated cart from /cart.js), added |
exiuscart:offer:error | The add failed | offer, error |
exiuscart:popup:opened | A storefront popup opens | popup_id, type |
exiuscart:popup:clicked | Its button is clicked | popup_id, type, link |
exiuscart:popup:subscribed | Email capture or spin to win got an email | popup_id, type |
exiuscart:popup:closed | A popup closes | popup_id, type |
exiuscart:notify:subscribed | A shopper asked to be emailed when a product is back | product_id, email |
Cart drawer offers fire the same upsell events, with placement drawer (or cart).
document.addEventListener('exiuscart:upsell:added', function (e) {
// e.detail = { offer_id, placement, product_id, variant_id, discount_code, cart, added }
// cart is the whole updated cart (/cart.js), so your drawer can redraw without fetching it
myDrawer.render(e.detail.cart);
window.dataLayer && dataLayer.push({ event: 'upsell_added', offer: e.detail.offer_id });
});
document.addEventListener('exiuscart:offer:added', function (e) {
// Bundle & save: e.detail.cart is the whole updated cart too
myDrawer.render(e.detail.cart);
myDrawer.open();
});
document.addEventListener('exiuscart:popup:opened', function () { myDrawer.close(); });After an upsell or Bundle & save add, ExiusCart refreshes Dawn-style cart-drawer andcart-notification sections, and fires cart:refresh for themes that listen for it.
JavaScript API
// Show the add-to-cart popup offer now, for these Shopify product ids
window.ExiusCartUpsells.open(['8123456789012']);
// After your theme redraws a section (quick view, variant change)
window.ExiusCartOffers.refresh(); // Bundle & save blocks
window.ExiusCartReviews.refresh(); // reviews + star blocks (they also re-mount by themselves)
window.ExiusCartExtras.refresh(); // cart drawer offers + Notify me (they also follow cart changes)CSS hooks
Every element has a stable class, so you can restyle without fighting inline styles (use a more specific selector or !important for colors set by the block settings).
| Class | Element |
|---|---|
.exc-upsell | Frequently bought together / cart offer box (with .exc-upsell--product or --cart) |
.exc-upsell__offer · __head · __title · __badge | One offer, its header, title and discount badge |
.exc-upsell__item · __add | One product row and its Add button |
.exc-upsell-popup | The add-to-cart popup overlay (data-offer-id on it) |
.exc-upsell-popup__panel · __title · __text | The panel and its texts |
.exc-upsell-popup__item · __add · __added | Product rows, Add buttons, the added state |
.exc-upsell-popup__actions · __decline · __checkout · __close | The buttons at the bottom and × |
.exc-popup · .exc-popup--{type} | Storefront popup overlay; type is email_capture, spin_wheel, announcement, countdown or exit_intent |
.exc-popup__panel · __button · __close | Popup panel, its button and × |
.exc-cart-upsell · --drawer · --cart | Cart drawer / Cart upsell offer box |
.exc-cart-upsell__title · __badge · __item · __add | Its title, discount badge, product rows and Add buttons |
.exc-notify | The Notify me box |
.exc-test-badge | The “test mode” pill (only the seller sees it) |
[data-exiuscart-reviews] · [data-exiuscart-stars] · [data-exiuscart-offers] · [data-exiuscart-cart-upsell] · [data-exiuscart-notify] | Block containers |
/* Make the add-to-cart popup offer match your theme */
.exc-upsell-popup__panel { border-radius: 4px; font-family: var(--font-body-family); }
.exc-upsell-popup__add { background: rgb(var(--color-button)); }
.exc-popup--exit_intent .exc-popup__panel { max-width: 520px; }
@media (max-width: 749px) { .exc-upsell__badge { display: none; } }Discount codes and stacking
- Upsell offers with a % off use a real Shopify discount code that only covers the offered products. It is added next to any code already in the cart through
/cart/update.js, so the shopper keeps their own code. The code combines with order and product discounts unless the seller turns off “Works with the shopper’s own code”. - Bundle & save offers are Shopify automatic discounts: no code, applied at checkout. Product bundles use ExiusCart’s own discount function, also automatic. Fixed bundles are native Shopify bundles.
- ExiusCart never sends shoppers to
/discount/CODE, which would replace the code already in the cart.
Test mode
ExiusCart › Channels › Shopify › Test mode. While it is on, shoppers see no popups, upsell offers or sign-up forms. You see them when you:
- open the store once with
?exiuscart=test(it lasts for that browser tab;?exiuscart=offends it), or - work in the theme editor.
In test mode every popup and offer shows every time (how-often rules are skipped), a small “test mode” pill shows bottom-left, and nothing you click counts in the stats. Reviews, stars and Bundle & save keep showing to everyone.
Speed
- One small script for the app embed, loaded with
defer; the popup and form scripts load only when their switch in the app embed is on. - Scripts are minified and gzipped (storefront.js is about 7 KB over the wire) and cached with an ETag.
- No jQuery, no fonts, no CSS file: nothing blocks the first paint.
- Review stars and JSON-LD come from metafields rendered by Shopify, not from an extra call.
Uninstall and your data
| What | On uninstall |
|---|---|
| App blocks and app embed | Removed by Shopify with the app. Nothing was written into theme files |
$app:exiuscart | Deleted by Shopify (app-owned) |
reviews.rating / rating_count | Stay, as Shopify’s standard review fields do with any review app. Disconnect from ExiusCart › Channels › Shopify first and ExiusCart deletes them too |
| Upsell discount codes | Stay in Shopify › Discounts so orders already placed keep their history. Delete them there if you like |
| Pixel and webhooks | Removed by Shopify |
| Reviews and orders in ExiusCart | Kept for the seller. Shopper data is erased on Shopify’s privacy requests (customers/redact, shop/redact) |