ClearStock by InventoryX is live on the Shopify App Store.Install free →

Install ClearStock
English
  • English
Browse Resources

S9 · operational guidance

Bundles and Cart Transform in Shopify

How a bundle actually moves component stock in Shopify, what Cart Transform changes, and why continue-selling breaks the pool.

You sold GIFT-SET-01 and the mug is still there. Is Shopify broken?

No. It did exactly what it was told. A bundle represented the ordinary way — one product made of three others — is a single inventory item with its own quantity. Selling it decrements that quantity and nothing else. As of 2026-11, Shopify's native behaviour does not decrement component inventory for a simple product used as a bundle (as of 2026-11 — Shopify Help Center, bundles; retrieved 2026-11-13). The components only move if something explicitly maps the bundle sale onto them.

This lesson is the procedure for choosing that mapping and living with it. The inventory consequences of bundling are in Bundles and shared pools; this is the Shopify implementation of them.

Step 1 — Decide what the bundle is made of, and how many

Input: the component list with quantities per bundle. GIFT-SET-01 is 1 × MUG-GRN-12, 1 × NB-A5-01, 1 × PEN-BLK-01.

Write the bill of materials down before you choose a mechanism, because every mechanism needs it in a slightly different format — a bundle app's component list, a Cart Transform function's input, or a Flow workflow's mapping. The quantity matters: a "set of 2" mug pack consumes two mugs, and every hand-built bundle seems to get this wrong once.

Step 2 — Choose the representation

Three workable options, in ascending order of capability and cost:

  1. Assembly at receipt. Disassemble or assemble in the physical world: when you receive 100 gifts, you receive 100 boxes and don't track the mug separately. Simplest, and wrong for Marlow & Finch because the mug sells on its own and shares a pool.
  2. Bundle app / bundle product type. An installed app keeps the parent quantity derived from components (as of 2026-11 — Shopify Help Center, bundle apps; retrieved 2026-11-13). The app is the source of truth for the mapping; Shopify is the source of truth for component counts.
  3. Cart Transform function. A Shopify Function that rewrites the cart so that a bundle line becomes its component lines at the point of order creation (as of 2026-11 — Shopify Developer docs, Cart Transform; retrieved 2026-11-13). Availability is plan- and approval-gated, and which plans can install one is not verifiable from the docs here — treat plan eligibility as unverified and confirm before designing around it.

Decision rule: if the bundle is decorative (a gift box you would substitute anyway), option 2 without strict accounting is fine. If the bundle's components are also sold standalone and you intend to hold one pool per component, you need option 2 with real down-sync or option 3. Option 3 is the only one where the components move as part of the order itself.

Step 3 — Make one system own the mapping

Input: the list of every app or function that writes bundle quantities.

Two systems "managing" bundles produce a stable-looking number that is wrong in both directions: the app decrements components, an order edit or a return restores the parent only, and the components drift down while the parent drifts up. Pick the owner, disable the other's write path, and record the choice — the audit in App stack audit exists because this step does not get written down.

Step 4 — Rebuild the pool arithmetic for components

Input: bundle velocity, component velocities, component buffers.

Bundle demand does not disappear; it becomes component demand at the BOM ratio. If GIFT-SET-01 sells 40/month, MUG-GRN-12 demand includes those 40 on top of its standalone sales, and its reorder point must reflect the combined figure. This is the part merchants skip: the mug's velocity in Shopify's reports includes only mug lines, so the component's real demand is understated by exactly the bundle volume.

Do this arithmetic in the sheet, not in the platform. Shopify reports what was sold, not what was consumed.

Step 5 — Handle continue-selling explicitly

"Continue selling when out of stock" is the setting that decides what an oversell costs. When it is on, a bundle can be sold after its components are exhausted: with Cart Transform or a down-syncing app, the sale succeeds and the component goes negative; in a native bundle product, the parent sells and the components are never checked at all. Either way, the shelf is empty and the order exists.

The interaction to state plainly: continue-selling converts a stockout into a backorder without telling anyone, and it does so silently at exactly the moment the pool is most constrained. For a shared pool this is worse than for a standalone SKU, because one exhausted component takes the bundle and every other bundle containing it offline at the same time. Decide per bundle, set it deliberately, and if you leave it on, make the negative on-hand figure a monitored alert rather than an accident discovered at pick time.

Step 6 — Test with a real order, then reconcile

Place a live order for the bundle, then check component on-hand at the fulfilling location, the parent quantity, and the order's line items. Then refund it and check again — refunds and cancellations are where bundle accounting most often fails, because the restore path is frequently the app's, not Shopify's. Reconcile the parent against the components weekly; a parent that disagrees with its bill of materials is the earliest signal.

Where this breaks

  • Plan gating. If Cart Transform is not available to you, the fast path is an app, and the app's reliability becomes your inventory accuracy.
  • Order edits and exchanges. Post-purchase edits may bypass the transform that ran at checkout. Test edits specifically.
  • Returns of a partial bundle. A customer returns the mug but keeps the notebook; there is no parent to restore, and the components must be adjusted by hand unless your app handles it.
  • Seasonal bundles built from the same components as a core SKU can double the pool's effective demand for a fortnight and then vanish, leaving the buffer sized for the spike.
  • A parent that is also stocked. If you hold assembled gift sets and loose components, you have two pools that are physically the same units and Shopify has no way to know.

Provenance

Native non-decrementing of components and the existence of bundle apps: Shopify Help Center, bundles, retrieved 2026-11-13, as of 2026-11. Cart Transform as a Shopify Function: Shopify Developer documentation, retrieved 2026-11-13, as of 2026-11. Plan eligibility for Cart Transform, the behaviour of any named bundle app, and the precise refund-restore semantics: not verifiable from docs — treat as unverified and test in your own store before relying on them.