The short version
- Shopify has three discount classes: product, order and shipping. Each discount says which of the classes it may combine with.
- They apply in order: product discounts first, then order discounts on what's left, then shipping.
- When two discounts can't combine, the shopper gets the better one. Your offer can quietly do nothing for shoppers who hold a better code.
- One shipping discount per order, and at most 25 automatic discounts at a time.
- Before BFCM, work out the deepest cart: every discount that can stack, applied in order, and what that leaves you per order.
The three discount classes
| Class | What it reduces | Examples |
|---|---|---|
| Product | The price of specific line items | 20% off a collection, $10 off a product, buy two get one free |
| Order | The order subtotal | $15 off orders of $75 or more, 10% off everything in the cart |
| Shipping | The shipping charge | Free shipping over $50, $5 off express |
A compare-at price is not a discount. If you mark a product down from $150 to $120 by changing its price and setting a compare-at price, $120 is simply the price, and every discount applies on top of it.
The rules Shopify follows
- Each discount sets what it combines with. In the discount's settings you choose whether it can combine with product, order and shipping discounts. Two discounts combine only when both allow it.
- Calculation order is fixed. Product discounts reduce line items first. Order discounts then apply to the reduced subtotal. Shipping discounts apply last.
- If they can't combine, the best one for the shopper wins. Shopify doesn't apply the first or the newest; it applies whichever saves the shopper more.
- One product discount per item by default. A line item normally gets one product discount, even if several could apply.
- Buy X get Y discounts only the "get" items. The items the shopper buys to qualify keep their price.
- One shipping discount per order.
- At most 25 automatic discounts can be active at once. App discounts count toward it, including the ones a testing app creates, so sale weeks with many automatic offers can reach it.
One cart, two discounts
- Price
- $120.00
- After the 20% sale (product discount)
- $96.00
- After $15.00 off the order (order discount, combines with product)
- $81.00
- Total discount on this order
- $39.00 (32.5% of the price)
- Left after a $48.00 product cost and $8.00 shipping, sale only
- $40.00
- The same with both discounts
- $25.00
Illustrative cart, plain arithmetic. Shipping is free for the shopper in both cases; payment fees are left out.
The test offer looks small next to the sale, but on this cart it takes the amount left per order from $40.00 to $25.00. That is what to test against: whether the offer brings enough extra orders to pay for the deeper cut. This only stacks because the sale discount allows combining with order discounts. If it didn't, Shopify would apply the better of the two, the $24.00 sale, and the offer would do nothing for this shopper.
Where test discounts sit in the stack
Offer, shipping and price tests on Shopify give each version its discount through Shopify's own discounts, so the same rules apply. In Benchmyrk the test discounts are set to combine like this, and they use at most four of your 25 automatic discounts:
| Test discount | Class | Combines with product | Combines with order | Combines with shipping |
|---|---|---|---|---|
| Offer test: amount or percent off the order, spend tiers | Order | Yes | No | Yes |
| Offer test: buy X get Y | Product | Yes | No | Yes |
| Shipping test | Shipping | Yes | Yes | No |
| Price test | Product | Yes | Yes | Yes |
- An order offer stacks on your sale when the sale is a price change with a compare-at price, or a product discount set to combine with order discounts, as in the example above.
- An order offer doesn't stack on your own order codes. A shopper who enters a 15% off code from an email gets whichever saves more, so for that shopper the test arm may change nothing. That dilutes the result rather than breaking it.
- A shipping test competes with your free shipping. With one shipping discount per order, a sale that already ships free leaves a shipping test nothing to change.
- One offer test and one shipping test per store at a time, so test discounts don't stack on each other.
Offer, shipping and price tests are built and tested; not yet run on a live merchant store.
A stacking check before Black Friday
- List every discount that will be live: automatic discounts, codes in emails and ads, loyalty and subscription discounts, and discounts created by other apps.
- For each, note its class and what it combines with. Count the automatic ones against the limit of 25.
- Build the deepest cart a shopper could reach: your largest product discount, then any order discount that combines with it, then shipping.
- Work out what that cart leaves you after product cost and shipping. If it's below what you're willing to sell for, change the combination settings before the sale, not during it. The contribution margin and the break-even maths help here.
- Place a test order in every version of every offer or shipping test, with and without your sale codes, and check the discount and shipping charged.
- Judge offer tests on profit per visitor, not orders. Deeper stacks almost always win on orders.