How to create a mystery box in Simple Bundles
Create mystery boxes without revealing their contents to customers, at checkout, in the order confirmation email, or on the order status page.
How bundle contents normally appear to customers
In Simple Bundles 2.0, bundles are broken down into their individual components at checkout using Shopify's Cart Transform API. This means the parent bundle itself is not added to the order; only its components are, and by default, customers can see those components listed:
- In their cart and at checkout, under the bundle name (see How do customers see orders that contain bundles?)
- In their order confirmation email
- On their order status page when they click View your order
For a mystery box, you want the opposite: the customer should only see "Mystery Box," not what's inside, until they actually receive it.
How to keep your mystery box contents hidden: use Single-SKU
Since Cart Transform is what breaks the bundle into its visible components at checkout, the way to prevent that breakdown entirely for a mystery box is to use Single-SKU instead.
With Single-SKU enabled:
- Only the parent bundle product (your "Mystery Box") appears anywhere the customer can see it, at checkout, in the cart, in the order confirmation email, and on the order status page.
- The individual contents are never added as separate line items, so there's nothing for the customer to see or click into, no components to reveal in the first place.
- Inventory for the individual contents is still tracked and decremented correctly behind the scenes, so your stock levels stay accurate even though the components never appear on the order.
To use Single-SKU, you'll first need to disable Cart Transform under Simple Bundles > Settings > Advanced Settings > Cart Transform and Order Editing Fallbacks, then set your fallback method to Single-SKU. Once Cart Transform is off, bundles will no longer break down into their components at checkout; Single-SKU determines what happens instead.
Important: this setting applies store-wide, not per bundle. Disabling Cart Transform and switching to Single-SKU affects all of your bundles, not just your mystery box. Any other bundles you have that currently break down into itemized components (at checkout, in the order, or on packing slips) would also stop doing so once this is enabled. If you have other bundles where itemized breakdown is important, weigh this trade-off before making the switch, or consider using a separate store/configuration for your mystery box offering if keeping both behaviors is essential.
For more information, see: How to enable Single-SKU bundle content inventory sync without order edits.
If you still want your fulfillment team to see what's inside each mystery box for picking and packing, you can display the contents on your packing slips instead, without exposing them to the customer anywhere else. See: Show itemized bundles on Shopify packing slips.
A note on the older script-based method
Older versions of this guide recommended using a JavaScript snippet in Shopify's Additional Scripts to hide bundle contents on the order status page after the fact. That approach is now deprecated: Shopify's new Thank You and Order Status pages (built on Checkout Extensibility) don't support scripts or DOM manipulation at all, so it no longer works, and it won't work going forward.
Single-SKU is the current, reliable approach: instead of adding the contents and then trying to hide them, the contents are simply never added to the order in the first place. See How can I hide bundle contents on customer orders? for more background on this change.