On this page
Switch it on
- BigCommerce › Settings › Store-level API accounts › Create API account (type V2/V3 API token).
- Set the 4 permissions below to modify and save. Copy the access token and the store hash (the part after
/stores/in the API path). - In ExiusCart › Channels › BigCommerce, paste the store hash and access token.
- For bundles & offers: open a product in ExiusCart › Bundles & offers and keep BigCommerce ticked under “Shows on”. The promotion and the widget are made for you.
API account permissions
| Permission | Level | Why ExiusCart needs it |
|---|---|---|
| Products | modify | Send products, images, prices and stock |
| Orders | modify | Bring orders in and send tracking |
| Marketing | modify | Bundles & offers become BigCommerce promotions, so the discount is taken at checkout |
| Content | modify | Adds the ExiusCart scripts through Script Manager (Bundle & save, cart add-ons, Notify me, order confirmation offer) |
ExiusCart checks each permission when the store connects. If Marketing or Content is missing, or later refused, ExiusCart › Channels › BigCommerce shows which one and why.
What ExiusCart syncs
| What | Direction | Notes |
|---|---|---|
| Products, images, prices, stock | ExiusCart → BigCommerce | Sent when the seller pushes a product |
| Orders | BigCommerce → ExiusCart | Imported for fulfilment, invoices and reports; paid orders lower ExiusCart stock |
| Shipping | ExiusCart → BigCommerce | A real BigCommerce shipment with carrier and tracking number, and the order set to Shipped |
| Bundle kits | ExiusCart | Each part’s stock is taken and given back on cancel, on every channel |
Bundles & offers as promotions
Each offer becomes one automatic promotion (Marketing › Promotions), so the cart and checkout price it with no code to type.
| Offer in ExiusCart | Promotion in BigCommerce |
|---|---|
| Quantity breaks | One promotion with one rule per tier, biggest first. Each rule stops the others, so only the best tier reached applies |
| Buy X get Y | A cart condition on the bought product and a discount on the product given |
| Free gift | Buy X get Y at 100% off |
- Start and end dates are copied. Editing the offer in ExiusCart updates the promotion; deleting it deletes the promotion.
- Stacking follows the seller’s “works with product discounts” switch in ExiusCart (
can_be_used_with_other_promotions). - Promotions are made by ExiusCart, so edit them in ExiusCart. A change made in BigCommerce is replaced on the next save.
The Bundle & save widget
ExiusCart adds one script, ExiusCart Bundle & save, in Storefront › Script Manager: footer, storefront pages only, consent category Essential.
| Detail | Behaviour |
|---|---|
| Where it shows | Inside the product form (form[data-cart-item-add]), above the quantity field, on Stencil themes like Cornerstone |
| Product options | The options the shopper picked in the form are sent with the item |
| Adding to the cart | Through the Storefront Cart API (/api/storefront/carts), then to /cart.php |
| No offer | Products with no offer show nothing |
| Speed | Minified and gzipped with an ETag, loaded in the footer |
Headless or a custom theme without that form? Print the container yourself and the script finds it: <div data-exiuscart-offers data-platform="bigcommerce" data-store="<store hash>" data-product-id="<id>" data-price="<price>" data-currency="<code>"></div>
After a quick view draws a product, call window.ExiusCartOffers.refresh().
Cart add-ons, Notify me, confirmation offer
Set in ExiusCart: open a product › Bundles & offers › In the cart or After payment (or Growth › Upsells), and keep BigCommerce ticked under “Shows on”. Saving one adds a second script for you: ExiusCart after payment, on the order confirmation page only. The cart box and Notify me come with the Bundle & save script, so they need nothing extra.
| Feature | Where it shows | What happens |
|---|---|---|
| Complete your order | Cart page and the cart preview | Shows add-ons for what is in the cart. + Add uses the Storefront Cart API; the cart page reloads to show the new line. Products with required options send the shopper to the product page |
| Notify me when it’s back | Sold-out product pages | Read from the page’s BCData. The shopper leaves an email; when stock comes back ExiusCart’s Back in stock email goes out once, linking back to the same BigCommerce product page |
| Order confirmation offer | /checkout/order-confirmation | The order’s products are read from /api/storefront/order/{id}. Add puts the add-on in a new cart and goes straight to checkout |
<!-- Custom theme or headless: place the boxes yourself -->
<div data-exiuscart-cart-upsell></div>
<div data-exiuscart-notify data-product-id="{{product.id}}" data-available="false"></div>JavaScript events
All events fire on document as CustomEvents and bubble. Read the data from event.detail.
| Event | When | detail |
|---|---|---|
exiuscart:offers:ready | The widget has drawn | count |
exiuscart:offer:selected | The shopper picks an option | offer, option |
exiuscart:offer:added | The items are in the cart | offer, items, cart |
exiuscart:offer:error | The add failed (sold out, option missing) | offer, error |
exiuscart:upsell:opened | A cart or confirmation add-on is shown | offer_id, placement, products |
exiuscart:upsell:added | The add-on is in the cart | offer_id, placement, product_id, cart |
exiuscart:upsell:error | The add-on could not be added | offer_id, placement, message |
exiuscart:notify:subscribed | A shopper asked to be told when it’s back | product_id |
After your cart preview redraws, call window.ExiusCartExtras.refresh().
document.addEventListener('exiuscart:offer:added', function (e) {
// e.detail = { offer, items, cart, added } (cart = the Storefront Cart API cart after the add)
window.dataLayer && dataLayer.push({ event: 'bundle_added', offer: e.detail.offer });
});
document.addEventListener('exiuscart:upsell:added', function (e) {
// A cart add-on was added: e.detail = { offer_id, placement, product_id, cart }
});Styling
The widget inherits your theme’s font and text color. One CSS variable, --ec-accent, colors the selected option, the badges and the Add button. Each offer box has data-exiuscart-offer with its id. Cart add-ons use .exc-cart-upsell, .exc-cart-upsell__item and .exc-cart-upsell__add; Notify me is .exc-notify.
/* Script Manager > add a script (or your theme's stylesheet) */
[data-exiuscart-offers] { --ec-accent: #1d4ed8; } /* selected border, badges, Add button */
/* The options are buttons; the chosen one has aria-pressed="true" */
[data-exiuscart-offers] button[aria-pressed="true"] { box-shadow: 0 0 0 3px rgb(29 78 216 / .15); }Disconnect and your data
| What | When you disconnect |
|---|---|
| Sync | Disconnect in ExiusCart › Channels › BigCommerce: products, orders and offers stop syncing |
| Scripts | Both ExiusCart scripts are removed by BigCommerce when you delete the API account (they are installed with auto-uninstall) |
| Promotions | Stay in Marketing › Promotions so past orders keep their history. Delete or disable them there |
| Products sent by ExiusCart | Stay in BigCommerce. Delete them there if you like |
| Access token | Stored encrypted in ExiusCart and never sent to the browser. Deleting the API account revokes it |
| Orders in ExiusCart | Kept for the seller’s records and invoices |