To prevent discount code stacking on bundles in Shopify, you have to lock down two places: the Combinations checkboxes on your bundle offers and promo codes, and the product scope of any coupon codes running alongside Cart Transform bundles. Leaving either side open lets a shopper—or an automated browser coupon extension—layer a 20% promo code on top of a 20% multi-pack discount.
When two discounts combine unintentionally, the extra cut comes straight out of your gross profit. This playbook walks through the exact margin math, why quantity breaks and fixed bundles handle promo codes differently at checkout, and how to set up strict bundle discount combination rules in Sam Bundles and your Shopify admin. For a complete overview of every bundle format, start with our product bundles guide.
How does accidental coupon stacking wipe out bundle margins on Shopify?
Product bundles already give away margin in exchange for a higher unit count and lower fulfillment cost per item. When an order-level or product-level coupon stacks on top of that bundle price, Shopify applies the product discount first and then calculates the order discount on the reduced subtotal (Shopify Help Center).
Here is an example with hypothetical numbers. Suppose you sell a 3-pack of supplements with a $100 retail price ($33.33 per bottle), a total cost of goods sold (COGS) of $36 ($12 per bottle), and an $8 outbound shipping cost:
| Checkout scenario | Math at checkout | Customer pays | Your COGS + $8 shipping | Remaining gross profit | Effective discount |
|---|---|---|---|---|---|
| 3-pack at full price | $100.00 + $8 shipping | $108.00 | $44.00 | $64.00 | 0% |
| 20% bundle tier alone (intended) | $100.00 × 0.80 + $8 shipping | $88.00 | $44.00 | $44.00 | 20.0% |
| 20% bundle + 15% welcome code | $80.00 × 0.85 + $8 shipping | $76.00 | $44.00 | $32.00 | 32.0% |
| 20% bundle + 25% flash sale code | $80.00 × 0.75 + $8 shipping | $68.00 | $44.00 | $24.00 | 40.0% |
| 20% bundle + 25% code + free shipping code | $80.00 × 0.75 + $0 shipping | $60.00 | $44.00 | $16.00 | 40.0% + $8 shipping |
Allowing a 25% sale code and a free shipping code to stack on top of a 20% bundle tier cuts your gross profit per order from $44.00 down to $16.00—before payment processing fees or ad spend. You can run your own unit costs through our bulk discount margin math guide to find your exact break-even threshold.
Why do discount codes behave differently on quantity breaks vs fixed bundles?
Shopify gives bundle apps two checkout tools that interact with promo codes in different ways:
- Discount Function offers (Quantity breaks & Buy X get Y). In Sam Bundles, quantity breaks, quantity breaks with a free gift, and Buy X get Y (BOGO) deals run through Shopify’s Discount Function API as an automatic Product discount (
DiscountClass.Product). Shopify enforces its nativecombinesWithrules (DiscountCombinesWithInput). A promo code can only stack if both the bundle offer and the discount code tick each other’s discount class. - Cart Transform offers (Fixed bundles, Mix & Match & Bundle Builder). Multi-SKU sets—fixed bundles, mix and match offers, and bundle builders—run through Shopify’s Cart Transform Function API. Cart Transform runs before discounts evaluate, expanding the bundle product into its component variants and setting a
fixedPricePerUniton each line. Because that lower price becomes the line item’s unit price rather than aProduct discount, an unrestricted Amount off order code or an “All products” Amount off products code will apply on top of the expanded bundle lines.
| Sam Bundles offer type | Checkout engine | How Shopify sees the saving | How to block coupon stacking |
|---|---|---|---|
| Quantity breaks (volume discounts) | Shopify Discount Function | Automatic Product discount | Untick Order discounts and Product discounts in Advanced |
| Quantity breaks with a free gift | Shopify Discount Function | Automatic Product discount | Untick Order discounts and Product discounts in Advanced |
| Buy X, get Y (BOGO) | Shopify Discount Function | Automatic Product discount | Untick Order discounts and Product discounts in Advanced |
| Fixed Bundle | Shopify Cart Transform | Lower fixedPricePerUnit on lines | Scope promo codes to collections excluding bundled items |
| Mix & Match | Shopify Cart Transform | Lower fixedPricePerUnit on lines | Scope promo codes to collections excluding bundled items |
| Bundle Builder | Shopify Cart Transform | Lower fixedPricePerUnit on lines | Scope promo codes to collections excluding bundled items |
For more detail on both checkout paths, see how bundle discounts apply at checkout and our guide to Shopify discount combinations.
What bundle discount combination rules should you set for each promotion?
Every offer in Sam Bundles has a Discount combinations section inside the Advanced card with three checkboxes: Product discounts, Order discounts, and Shipping discounts. New offers start with Product discounts ticked and Order discounts and Shipping discounts unticked.
Use this table to set your bundle discount combination rules before launching an offer:
| Store scenario | Product discounts | Order discounts | Shipping discounts | Why this rule protects your margin |
|---|---|---|---|---|
| Always-on quantity breaks (10%–20% off) | Untick | Untick | Tick (optional) | Blocks welcome codes (WELCOME10) and product coupons from stacking on multi-packs while allowing free shipping thresholds. |
| Sitewide flash sale or BFCM code (20%–30% off) | Untick | Untick | Untick or Tick | Shoppers get whichever single deal is bigger—the bundle tier or the sitewide code—never both. |
| Buy 1 Get 1 Free (BOGO) or Free Gift tier | Untick | Untick | Untick | BOGO free is already 50% off the pair. Any extra code or shipping subsidy can push the order below COGS. |
| Shallow 2-pack (5%–10% off) for new subscribers | Untick | Tick (if above break-even) | Tick | Tick Order discounts only if you priced the 2-pack to absorb a 10% welcome code. |
| VIP or Wholesale tagged bundle offer | Untick | Untick | Untick | Lock the offer to a Customer tag (like VIP) and block all coupon classes so account holders cannot stack public codes on net tiers. |
When a discount code and an automatic bundle discount cannot combine, checkout never breaks. Shopify notes in its discount combinations documentation that “the best discount for the customer’s cart is always applied.”
How do you prevent discount code stacking on bundles in Sam Bundles and Shopify?
Follow these five steps to lock down your bundle offers and your active Shopify promo codes.
Step 1: Uncheck Order and Product combinations in Sam Bundles
- Open Sam Bundles in your Shopify admin and select an offer from your Offers list.
- Scroll to the bottom of the offer editor and open the Advanced card (schedule, placement and discount combinations guide).
- Under Discount combinations, confirm Order discounts is unticked.
- Untick Product discounts so product-specific promo codes cannot combine with the bundle cart (or stack on the same line item on Shopify Plus).
- Tick Shipping discounts only if you want free shipping thresholds or a
FREESHIPcode to apply alongside the bundle. - Click Save, then repeat for your other active quantity breaks and Buy X get Y offers.
Step 2: Audit your active promo codes in Shopify Discounts
Even though Shopify requires both sides to opt in before two discounts combine, auditing your codes prevents accidental combinations when creating future offers:
- In your Shopify admin, go to Discounts.
- Click the filter icon, add the Combines with filter, and select Product discounts or Order discounts.
- Open any high-value discount code (such as
VIP25,BFCM30, or influencer codes). - In the Combinations section, uncheck Product discounts and Order discounts, then click Save.
Step 3: Scope promo codes away from Cart Transform bundle items
If you sell fixed bundles, mix and match sets, or bundle builders, remember that Cart Transform sets each component’s unit price before discount codes run. To keep promo codes from discounting those bundles a second time:
- Avoid unrestricted Amount off order codes while deep Cart Transform bundles are active.
- In Discounts > Create discount, choose Amount off products instead.
- Under Applies to, select Specific collections (or Specific products) and choose a collection that excludes your bundled SKUs.
- If a bundle includes hero products that you also sell individually, either build the promotion as a Quantity breaks or Complete the bundle offer (which runs as a Shopify Discount Function and enforces the
Discount combinationscheckboxes) or pause the fixed bundle during sitewide code events using Schedule.
Step 4: Restrict VIP and B2B bundle offers with Customer eligibility
If you offer deeper volume tiers to wholesale buyers or club members, keep those tiers hidden from guest shoppers holding first-order welcome codes:
- Inside the offer’s Advanced card in Sam Bundles, locate Customer eligibility.
- Choose Logged-in customers, Non logged-in customers, or Customer tags (such as
VIPorwholesale). - Click Save. Sam Bundles checks eligibility on the storefront and inside the checkout discount function, so untagged guests cannot trigger the tier discount (customer-specific bundle offers).
Step 5: Lock quotas on Free Gift and Complete the bundle bars
Shoppers sometimes add a tier with a free gift or a discounted cross-sell item and then increase line quantities in the cart drawer. In Sam Bundles, both free gifts inside quantity breaks and Complete the bundle add-ons are verified at checkout by the app’s Shopify Discount Function:
- A free gift line is discounted only while the qualifying main product remains in the cart, and the 100% discount is capped at the gift quota (
1unit). - A Complete the bundle bar discounts the main product and its companion items only when every required product from that bar is in the cart, up to each item’s bar quota.
How do you stop coupon abuse on bundles from browser extensions and repeat guests?
Setting your combination checkboxes stops two discounts from stacking on one order, but you also need to stop coupon abuse on bundles from browser extensions (like Honey or Capital One Shopping) and repeat buyers gaming single-use welcome codes.
1. Replace guessable static codes with unique, usage-capped codes
Browser coupon extensions scrape static strings like WELCOME15 or SAVE20 and automatically test up to 5 product or order discount codes at checkout (Shopify Help Center). If a static code is worth 25% off and your 2-pack bundle is 15% off, the extension will replace your 15% bundle discount with the leaked 25% code on a 1-unit order.
- Generate unique, random-character discount codes in your email tool instead of static words.
- In Shopify Discounts, tick Limit to one use per customer and Limit number of times this discount can be used in total.
2. Schedule bundle offers and promo codes to expire automatically
Old promo codes and holiday bundle tiers left active after a campaign ends are prime targets for coupon-scraping sites. In Sam Bundles, switch on Schedule in any offer, set the Start date and time, and tick Set end date so the offer stops automatically (how to schedule bundle offers). Set matching Active dates on your Shopify discount codes.
3. Block +alias email tricks and disposable inboxes at checkout
Shopify’s Limit to one use per customer check only compares the email string or phone number entered on that checkout. A repeat buyer can check out as a guest using [email protected] or a disposable email domain to claim a first-order code or a Non logged-in customers bundle offer repeatedly.
To close that loophole before payment is captured, pair your discount rules with Shopify checkout fraud prevention rules in 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), blocking orders that use +alias email tricks, throwaway email domains, or flagged repeat shipping addresses.
How do you test your bundle discount combination rules before a sale goes live?
Before announcing a sale or launching ads, run this five-minute checkout test in a private browser window:
- Add a quantity break or BOGO tier to the cart. Confirm the automatic bundle discount appears in the cart and at checkout under your Discount name.
- Enter your highest-value order discount code. Verify that the code does not stack on top of the bundle price. Checkout should either reject the code or apply only whichever single discount is larger.
- Enter a product-specific discount code. Add a second item covered by a product code and verify it follows your Product discounts checkbox rule in Advanced.
- Test a
FREESHIPcode. If you ticked Shipping discounts in the bundle’s Advanced card and allowed Product discounts on the shipping code, confirm shipping drops to$0while the bundle price stays unchanged. - Test any Fixed Bundle, Mix & Match, or Bundle Builder offer. Add the bundle to the cart, enter your active promo codes, and confirm your collection-scoped codes do not take a second cut off the expanded bundle items.
Once every cart total matches your margin math, you are ready to launch. For help structuring your tiers, read our bundle pricing strategy guide or compare bundles vs sitewide sales.
Frequently asked questions
How do I prevent discount code stacking on bundles in Sam Bundles?
Open your offer in Sam Bundles, scroll to the Advanced card, and under Discount combinations untick Order discounts and Product discounts. Leave Shipping discounts ticked only if you want free shipping codes or thresholds to apply alongside the bundle. Then click Save.
Why did an order discount code still apply to my fixed bundle or mix and match bundle?
Fixed bundles, mix and match sets, and bundle builders use Shopify's Cart Transform Function API to expand the bundle into component items with a fixed price per unit before discounts run. Because Shopify treats that expanded price as the line item's unit price rather than a Product discount class, an unrestricted 'Amount off order' code will still apply. To block codes on Cart Transform bundles, create your promo codes as 'Amount off products' scoped to a collection that excludes your bundled items, or use quantity breaks and Buy X get Y offers which run as a Shopify Discount Function.
What happens at checkout when a customer enters a coupon code that cannot stack with a bundle?
When two discounts are not set to combine, Shopify's checkout engine automatically compares them and applies whichever single discount gives the customer the larger saving on the cart. If a shopper enters a second conflicting code, checkout displays a notice that the discount couldn't be used with their existing discounts.
Are Order discounts turned off by default on new Sam Bundles offers?
Yes. New offers in Sam Bundles start with Product discounts ticked and both Order discounts and Shipping discounts unticked. That default blocks sitewide order promo codes from stacking with quantity breaks and Buy X get Y offers out of the box, while unticking Product discounts also blocks product-specific promo codes from combining in the same cart.
How do I stop browser coupon extensions from stacking leaked codes on bundles?
Uncheck Product discounts and Order discounts in your bundle discount combination rules, replace guessable static codes like WELCOME20 with single-use customer codes, turn on 'Limit to one use per customer' in Shopify Discounts, and use server-side checkout validation rules to block repeat guests using +alias or disposable email addresses.
Sources
Part of our guide: Product bundles →