Install Sam free

★ 4.9 (107 reviews) Built for Shopify Free plan available

Guides

Creating a 'Build Your Own Box' Experience on Shopify

TL;DR

To create a build a box bundle on Shopify, match the offer format to how shoppers fill the box. Use a Bundle Builder for an open-ended custom gift box builder where the discount grows with item count, Mix & Match for a structured pick-one-per-slot box, or Quantity Breaks for a pick 6 pack mix and match of the same product or collection.

When shoppers look for a build a box bundle on Shopify, they usually have one of three shopping experiences in mind: a custom gift box builder where they mix items across collections to unlock deeper savings, a structured gift box with dedicated slots, or a pick 6 pack mix and match where they choose six flavors, scents, or sizes of one core product. Trying to force all three experiences into a single bundle format either hits Shopify’s variant limits or leaves shoppers scrolling through a confusing page.

Because Shopify’s native Bundles app only creates fixed bundles and multipacks where the merchant chooses the products (Shopify Help Center), building a box that customers fill themselves requires a bundle app (or a custom Bundles API build on Shopify Plus). This guide compares the three build-your-own-box architectures in Sam Bundles, explains how each one handles variant selection, pricing, and warehouse SKU expansion, and walks through how to launch and link your box on your storefront. For an overview of every offer format we cover, start with our product bundles guide.

Which build-a-box format fits your Shopify catalog?

Before opening the offer editor, decide how much structure your physical box or shipping carton requires. If you already want a step-by-step walkthrough of one specific template, see our individual setup guides for the bundle builder, mix and match bundles, or quantity breaks with size and color variants.

Here is how the three build-a-box architectures in Sam Bundles compare when designing a custom box experience:

FeatureOpen-Ended Custom Box (Bundle Builder)Slot-by-Slot Gift Box (Mix & Match)Same-Product Multi-Pack (Quantity Breaks)
Best use caseCustom gift box builder, snack/tea assortments, sample boxesCurated routine boxes, outfit sets, “1 Mug + 1 Roast + 1 Treat”Pick 6 pack mix and match of cans, cookies, soaps, or socks
How shoppers pick itemsSearch bar, collection filter tabs, variant dropdown, and − / + quantity stepper per cardAccordion rows (Option 1, Option 2, Option 3), picking 1 product and variant per slotTiered bars (e.g., 4-Pack, 6-Pack, 12-Pack) with numbered #1..#6 variant dropdowns
Where the widget livesDedicated bundle product page + promo button on component pagesDedicated bundle product page + promo button on component pagesDirectly inside the product form on the base product page
How the discount scalesTiered by total unit count (Buy at least X items, e.g., 2, 4, or 6)Single percentage or dollar amount off for completing all slotsUp to 20 quantity bars: full price, percentage off, amount off, or fixed price
Checkout & SKU engineShopify Cart Transform Function API (lineExpand)Shopify Cart Transform Function API (lineExpand)Shopify Discount Function API (DiscountClass.Product)

If you also sell ready-made sets where you pick every item in advance, compare these dynamic builders against preset kits in fixed bundles vs mix and match vs bundle builder.

How does an open-ended custom gift box builder work on the storefront?

An open-ended custom gift box builder gives the customer a curated catalog on a single screen and rewards them as they add more items to the box. In Sam Bundles, creating and saving a Bundle Builder offer generates a dedicated bundle product page on your store and replaces the theme’s standard Add to cart form with an interactive builder layout:

  1. Header and optional promo banner: At the top of the builder, you can display a Banner image (1400 × 350 px recommended), a Widget title (such as “Build Your Custom Gift Box”), and a short Description explaining the box rules.
  2. Instant product search and collection tabs: Above the product grid, a live Search products... input lets shoppers filter items by title. When you tick Group by category in the editor, the widget automatically reads each product’s Shopify collections and renders clickable category tabs (All, plus each collection name) so buyers can switch between Dark Chocolates, Caramels, and Gift Cards without losing their selections.
  3. Product cards with variant selectors and quantity steppers: Each card in the grid shows the product image, title, active price (and compare-at price, if applicable), dropdowns for any variant options (such as size, scent, or flavor), a − / + quantity stepper, and an Add to bundle button (which switches to ✓ Added once selected).
  4. Total-unit tier counting: The builder counts the total unit quantity across all added items toward your discount tiers. For example, if your first tier requires 4 items and a shopper adds 2 units of Vanilla and 2 units of Matcha using the − / + stepper, the box reaches 4 items and unlocks the tier discount.
  5. Interactive Bundle summary drawer and progress bar: At the bottom of the widget, the Bundle summary panel displays the live item count, a dynamic progress message, and a visual progress bar with markers for each tier (showing X items and the discount rate). As items are added, the panel lists each selected item’s thumbnail, title, unit price, ×quantity, selected variant label, and a × remove button, followed by the Subtotal, Bundle discount, Total, and the Add Bundle to cart button.
  6. Real-time stock pre-check: When the customer clicks Add Bundle to cart, the widget checks live variant availability before adding the bundle. If a component variant sold out while the shopper was building their box, the widget alerts them with the exact product and variant name so they can swap it out instead of hitting an unhelpful checkout error.

How do you set up a ‘pick 6 pack mix and match’ experience?

Merchants searching for a pick 6 pack mix and match setup typically sell beverages, craft sodas, cookies, candles, macarons, or apparel basics. Depending on how your products are structured in Shopify, you can build a pick-6 experience in three ways:

1. Six flavors as variants of one Shopify product (Quantity Breaks)

If all flavors, scents, or colors live as variants under a single Shopify product (for example, Probiotic Soda with 8 flavor variants), use Quantity breaks for the same product (quantity breaks guide):

  • Set up bars for your box sizes—such as a 4-Pack, 6-Pack, and 12-Pack—and set each bar’s Price to Percentage off, Amount off, or a flat Fixed price.
  • Leave Show quantity selector unticked on those bars. When a shopper clicks the 6-Pack bar on the product page, the bar expands six numbered rows (#1 through #6), each with its own flavor dropdown.
  • Tick Require variant selection on the bar so customers actively verify their flavors before clicking Add to cart.

2. Six flavors as separate Shopify products on one page (Bundle Builder)

If every flavor or scent is its own standalone Shopify product with its own gallery and description, a single-product variant dropdown won’t cross-link them. Instead, create a Bundle Builder offer (bundle builder guide):

  • Select all eligible flavor products under Bundle products.
  • Set your Pricing tiers to match your physical carton sizes—for example, Tier 1 at Buy at least 6 items (Save 15%) and Tier 2 at Buy at least 12 items (Save 25%).
  • Customize the Promotion message (Add {{trigger_amount}} to get {{value_discount}} off) and Process message (Add more {{remaining_item}} to get {{value_discount}} off) so shoppers know how many more items fill the 6-pack box.

3. Six distinct slots with different product choices (Mix & Match)

If a 6-item box has a fixed recipe—for example, a gift box with Slot 1: Roast 1, Slot 2: Roast 2, Slot 3: Syrup, Slot 4: Mug, Slot 5: Filter Pack, and Slot 6: Gift Box Packaging—use Mix & Match (mix and match guide). You create one Bundle option per slot, use Duplicate to copy similar slots quickly, and set a single bundle discount for the completed box.

One detail that trips up merchants launching their first Bundle Builder or Mix & Match offer is where shoppers actually find the widget. Unlike quantity breaks (which sit inside your regular product pages), Bundle Builder and Mix & Match offers create a dedicated bundle product in your Shopify catalog so the full builder UI has room to render.

Sam Bundles gives you three ways to drive shoppers into that builder:

  1. Direct Bundle page link for menus and ads: As soon as you click Save on a Bundle Builder or Mix & Match campaign, a Bundle page link card appears at the top of the right-hand preview column in the Sam Bundles editor. Click Copy to grab the storefront URL (https://your-store/products/<bundle-handle>) and paste it into your Shopify header navigation (“Build a Box”), homepage hero button, or email campaigns.
  2. Automatic promo button on every included product page: Inside the Placement card (offer settings guide), Show on included products page is enabled by default. When a shopper visits the individual product page of any item included in your box, Sam Bundles automatically injects a promo banner right above the Add to cart button displaying your widget title and a Build your bundle (or View bundle) button that takes them straight to the box builder.
  3. Theme app block placement: If you want to position the widget at a specific section of the bundle template, open the Shopify theme editor (Add section > Apps) and add the Bundle Builder or Mix & Match app block (where to place bundle widgets on product pages).

You can also control what happens immediately after a customer finishes building their box. Under Placement > Redirect after Add to cart, choose whether clicking Add Bundle to cart keeps the shopper on the Current page (refreshing your theme’s cart drawer), sends them to the Cart page, or jumps directly to the Checkout page.

How do you price a build-a-box bundle without losing margin on mixed-price items?

When customers build their own box from a multi-product list, your margin varies depending on whether they pick your lowest-priced or highest-priced items. Under Pricing, both Bundle Builder and Mix & Match offer two discount modes—Percentage off and Amount off—plus an optional Use the product’s compare-at price checkbox.

Here is how the Cart Transform pricing math works behind the scenes when a box is added to the cart:

  • Percentage off (percentage): Every unit in the box receives the exact same percentage reduction (unitPrice * (1 - discount / 100)). This is the safest setting when products in your box list sit at different price points (for example, $10 add-ons mixed with $28 hero items).
  • Amount off (fixed): A flat dollar amount is subtracted from the box subtotal and distributed proportionally across each unit based on its share of the box subtotal ((unitPrice / subtotal) * finalTotal), with the final unit absorbing any one-cent rounding difference. Use Amount off (“Save $10 on any 6-pack”) only when every item in the builder costs roughly the same; otherwise, a buyer filling a box with your cheapest items gets a much steeper percentage discount than you planned.

Look at how a hypothetical 6-item box compares under 15% off versus $12 off when item prices range from $10 to $20:

Box compositionRegular subtotalWith 15% offWith $12 Amount offEffective discount rate ($12 off)
6 × $10 items (Cheapest picks)$60.00$51.00 (Save $9.00)$48.00 (Save $12.00)20.0% off ($8.00 per unit)
3 × $10 + 3 × $20 items (Mixed box)$90.00$76.50 (Save $13.50)$78.00 (Save $12.00)13.3% off ($8.67 / $17.33 per unit)
6 × $20 items (Priciest picks)$120.00$102.00 (Save $18.00)$108.00 (Save $12.00)10.0% off ($18.00 per unit)

Always test your deepest tier against a box filled entirely with the lowest-margin item in your product list. For deeper formulas on contribution margin and shipping weight, see our bundle pricing strategy guide and holiday gift bundles playbook.

How do custom gift boxes map to component SKUs and protect against checkout abuse?

A build-a-box offer is only useful if your warehouse team can read the packing slip without guessing what goes inside.

Itemized SKUs via Cart Transform

When a customer adds a Bundle Builder or Mix & Match box to the cart, Sam Bundles passes the selected variant IDs and their calculated per-unit bundle prices to Shopify’s Cart Transform Function API. At checkout, the lineExpand operation replaces the parent bundle product with the individual component variants at their fixedPricePerUnit bundle prices.

Your Shopify order, packing slip, and 3PL warehouse feed list every single item chosen by the shopper as its own line item, and Shopify deducts inventory from each component variant (how dynamic bundles map to line items for 3PL fulfillment). If you want the physical gift box or magnetic carton tracked in inventory too, create the empty gift box as a product with its own SKU and include it as a slot in a Mix & Match offer or in a fixed bundle.

Controlling discount combinations and stopping checkout abuse

Because build-a-box tiers already include a 15% to 25% discount, stacking an automatic welcome coupon or leaked sitewide promo code on top can wipe out your profit on multi-item gift boxes:

  • Lock discount combinations: Open the Advanced card at the bottom of your offer editor (offer settings) and untick Product discounts and Order discounts (leaving Shipping discounts ticked if you allow free-shipping codes). You can also set Customer eligibility to All customers, Logged-in customers, Non logged-in customers, or specific Customer tags (such as vip). See preventing coupon stacking on Shopify bundles for full combination rules.
  • Block abusive checkouts server-side: High-value build-a-box gift sets and sample packs are frequent targets for resellers and guest coupon abusers using disposable emails or +alias addresses. To block repeat abusers or high-risk shipping details before an order is placed, pair your bundle rules with Shopify checkout fraud prevention using LabX Fraud & IP Blocker. Its Shopify Checkout Validation Function runs server-side at checkout and cannot be bypassed (whereas storefront rules run in the browser), stopping bad orders before payment is captured.

How do you set up a build-a-box offer in Sam Bundles step by step?

Sam Bundles is free on the Shopify App Store. Follow these steps to launch your box:

  1. Enable the theme app embed: Install Sam Bundles, open the Setup guide on the app home, and click Active app embed. Toggle on Sam Bundles in your theme editor’s App embeds tab and click Save (install and enable).
  2. Choose your box template: Click Create new offer (create an offer). Pick your Brand color, then choose Bundle Builder (for an open-ended custom box), Mix & Match (for a slot-by-slot gift box), or Quantity breaks for the same product (for a single-product pick-6 pack).
  3. Add your products and categories:
    • In Bundle Builder, click Select products under Bundle products and tick Group by category to add collection filter tabs (bundle builder guide).
    • In Mix & Match, name each Bundle option, click Select product to add the choices for that slot, and click Add bundle option (or Duplicate) for each additional slot (mix and match guide).
  4. Configure pricing and tiers: Choose Percentage off or Amount off. In Bundle Builder, set Buy at least item counts and Save amounts for each tier, and click Add tier if you want another step.
  5. Customize texts, banner, and style: In Settings, enter your internal Name, Widget title, and Description. For a Bundle Builder, customize the Promotion message, Process message, Promotion reached message, and optional Banner image. Adjust colors and fonts in Style.
  6. Set placement, schedule, and eligibility: In Placement, keep Show on included products page ticked and pick your Redirect after Add to cart behavior. Use Schedule if the gift box is for a holiday promotion, and configure Discount combinations and Customer eligibility under Advanced.
  7. Save and copy your link: Click Save to publish the offer, then copy the URL from the Bundle page link card above the preview and add it to your storefront navigation.

Frequently asked questions

What is the best format for a build a box bundle on Shopify?

It depends on what goes in the box. Use a Bundle Builder when shoppers can pick any combination of products and quantities from a catalog list to unlock tiered discounts (such as 10% off 3 items, 15% off 4, and 20% off 6). Use Mix & Match when the box has specific slots (such as 1 mug, 1 coffee bag, and 1 treat). Use Quantity Breaks when customers are filling a pick-6 pack with different flavors or sizes of the same product.

Can shoppers add multiple units of the same flavor inside a build-a-box widget?

Yes. In the Sam Bundles Bundle Builder widget, every product card includes a variant dropdown and a − / + quantity stepper alongside the Add to bundle button. The active discount tier and progress bar count total unit quantity across the box, so a customer can fill a 6-pack with six of one flavor or one of six different flavors.

How do I share a direct link to my custom gift box builder page?

When you save a Bundle Builder or Mix & Match offer in Sam Bundles, the app creates a dedicated bundle product page and displays a Bundle page link card above the editor preview. Click Copy to grab the URL (https://your-store/products/<bundle-handle>) for your main navigation menu, homepage banner, or email campaigns. You can also tick Show on included products page so each component product displays a button linking to the builder.

What happens if one item in a customer’s box sells out while they are shopping?

Before submitting the box to the cart, Sam Bundles checks real-time availability on every selected variant. If an item just sold out, the widget alerts the shopper with the exact product and variant name so they can remove or swap that item instead of hitting a generic checkout error.

How do build-a-box orders show up for my fulfillment team or 3PL?

In Sam Bundles, Bundle Builder and Mix & Match offers run through Shopify’s Cart Transform Function API (lineExpand) at checkout, which replaces the parent bundle product with the individual component variants at their prorated bundle unit prices. Quantity Breaks add the real variant SKUs directly to the cart and apply an automatic Shopify Discount Function. In every case, your order lists exact component SKUs for picking and packing.

Sources

  1. Shopify Help Center: Eligibility and considerations for product bundles
  2. Shopify.dev: Cart Transform Function API
  3. Shopify.dev: Discount Function API
  4. 16 CFR 233.1: Former price comparisons (Cornell Legal Information Institute)

Part of our guide: Product bundles →

Raise your average order value

Set up your first Sam Bundles offer from a template in minutes.

Install free on Shopify

Free plan available