On this page
What this issue is
Stacking means more than one discount applies to the same cart. That can be two coupon codes, a code on top of an automatic sale, a code on top of a free-shipping rule, or a code on top of a gift or loyalty reward. Some stacking is planned. The problem is unplanned stacking, where a rule you set up for one offer quietly combines with another.
Why it costs you leads or sales
Example: a $100 product with a $40 cost. Illustrative numbers only.
- Customer adds itemSale price already applies
- Enters code 1Accepted as intended
- Enters code 2Should be rejected, but is accepted
- Order placedDiscount is larger than planned
The checkout accepts every code, so margin is lost after the second one.
How to check if your site has it
List every active discount
Include codes, automatic discounts, free-shipping rules, bundle prices, gift cards and loyalty rewards. Note which should combine.
Build a cart that qualifies for all of them
Meet minimum spend, product and customer-group rules so no code is rejected for the wrong reason.
Apply every pair
Enter code A then B, then B then A. Order sometimes changes the result.
Try a code on top of an automatic discount
Check whether the code replaces the sale, adds to it, or is refused.
Check the totals
Compare the final price with what you expected. Also try removing a code and re-adding it, and try applying the same code twice.
Test logged in and logged out
Customer-specific or first-order rules can behave differently.
| Combination | What to look for |
|---|---|
| Code + code | Second code accepted when it should be refused |
| Code + automatic discount | Both apply, or the better one wins |
| Code + free shipping | Shipping rule ignores exclusions |
| Code + gift card | Gift card should pay, not discount, unless planned |
| Same code twice | Duplicate use in one cart |
| Code + sale-priced item | Code excluded from sale items but still applies |
How to fix it
Open the discount
Go to Discounts in the Shopify admin and open the code or automatic discount.
Edit Combinations
In the Combinations section, tick only the discount types it may combine with (product, order or shipping discounts), or untick all to make it exclusive.
Repeat for every active discount
Both sides matter, so check each discount in the pair. Save and retest.
Open the coupon
In WooCommerce go to Marketing > Coupons and edit the coupon.
Use Usage restriction
Tick Individual use only so it cannot be combined with other coupons. Add Exclude sale items and product or category exclusions if needed.
Set limits
Under Usage limits, set a limit per coupon and per user. Retest with a cart that qualifies for several coupons.
Review coupons and automatic discounts
In the Wix dashboard open the Coupons and Automatic Discounts areas and list what is active.
Limit overlap
Wix options vary by plan and version. Narrow each discount with product, minimum-spend and date limits, then test combinations.
Open Discounts
In Commerce, open Discounts and check each active one.
Narrow eligibility
Use the minimum order, product and date settings. If stacking rules are not available on your plan, use fewer concurrent discounts and test pairs.
Enforce one rule on the server
Validate discounts when the cart is priced, not in the browser. Reject a new code if the cart already has an exclusive one.
Store flags on each discount
Add an exclusive flag or a list of combinable types, and check it each time a code is added.
function canApply(cart, newDiscount) {
const existing = cart.discounts;
if (existing.some(d => d.code === newDiscount.code)) return false;
if (existing.some(d => d.exclusive) || (newDiscount.exclusive && existing.length > 0)) return false;
return existing.every(d => newDiscount.combinesWith.includes(d.type));
}How to confirm it's fixed
- Repeat every pair from your list in both orders
- Confirm refused codes show a clear message
- Check allowed combinations still give the planned total
- Test code plus automatic discount and code plus free shipping
- Test on mobile and logged out
- Check one real order total end to end in test mode
How to prevent it happening again
- Keep one sheet listing every discount and whether it combines
- Review combination settings whenever you launch a promotion
- Set end dates and usage limits on every code
- Test new codes against all active ones before announcing
- Watch order reports for unusually large discount totals
- Search coupon sites for your brand name now and then
How FunnelGuard handles this
Frequently asked questions
Questions people ask
Why can customers use two discount codes on my store?
Most platforms allow discounts to combine unless you restrict them on each discount. A code created with a permissive setting, or an automatic discount that is allowed to combine, will stack with other codes.
How do I stop discount codes stacking in Shopify?
Open each discount in Discounts and edit the Combinations section. Untick the discount types it should not combine with, then save. Check both discounts in a pair, then test in a cart.
How do I make a WooCommerce coupon exclusive?
Edit the coupon under Marketing > Coupons, open the Usage restriction tab and tick Individual use only. That stops it being used with other coupons. Add Exclude sale items if it should not apply on top of sale prices.
Can a coupon code stack with an automatic discount?
It depends on your platform and settings. Some let a code add to an automatic discount, others apply only the better one. Test it in a cart rather than assuming.
How do I test if my coupons stack?
Build a cart that qualifies for every active discount, then apply each pair in both orders. Also try a code with an automatic discount, with free shipping, and the same code twice. Compare totals with what you expect.
Does FunnelGuard detect coupon stacking?
No. FunnelGuard does not check for coupon stacking yet. It is a possible future check, so test combinations manually for now.
What if a stacked combination has been shared online?
Fix the combination rules first, then end or limit the leaked code and issue a replacement. Check recent orders to see how many used it.