Margin Analysis

Coupon Stacking

Definition

The practice, by customers or unintentionally permitted by checkout configuration, of applying multiple discount codes to a single order, typically dropping margin below intended thresholds.

By Herzel MishelFounder, AgentisLast reviewed

Coupon stacking is the close cousin of discount stacking, with the specific connotation of multiple human-facing coupon codes (rather than automatic discounts) being combined on one order. The pattern matters because most checkout systems treat coupon codes as independently valid: each code's logic checks whether the customer is eligible and the cart qualifies, but few systems check the cumulative effect of two or three codes against margin policy. The result is that a customer who legitimately has a welcome code, a loyalty code, and a referrer code can stack all three on a $50 order, taking $20 off, and the checkout flow treats this as the customer simply 'using their codes well,' even though the resulting margin is negative once fulfillment cost and payment processing are netted out. Native Shopify since early 2023 supports a 'cannot be combined' flag per discount, which addresses simple cases, but: (1) the flag is per-discount and must be configured manually for every new promo; (2) it does not understand margin, only blocking technical combination rather than below-floor combination; (3) it interacts unpredictably with automatic discounts, app-based promos, and Shopify Plus Function-based discounts. The robust pattern for handling coupon stacking is a checkout-time policy evaluation: at the moment the cart is finalized, the engine inspects the full discount stack (regardless of source), calculates margin given live COGS, and either accepts the stack, trims the lowest-value coupon to bring margin into floor, or substitutes a single best-value offer. The customer keeps the offer they expected; the merchant preserves margin. Beyond the technical enforcement, the coupon-stacking conversation is also a customer-experience conversation: aggressively blocking stacks without an alternative is a conversion killer, while silently trimming low-value codes is well-tolerated. Stores running margin-aware coupon stacking enforcement typically see 70–80% of stacking attempts result in customer-keeping their highest-value code (and the order completing), with the other 20–30% completing with no code applied because the customer's offers were structurally below floor. Of those latter cases, conversion impact is small because customers who stack to 'see if it works' are often willing to convert at single-code or no-code prices.

Sources

See how Agentis compares to other ecommerce profit tools → View all comparisons