DISCOUNT STACKINGCombine, then test the saleA Shopify sale often runs three offers at once: an automatic discount on a collection, a code for your email list and free shipping over a set amount. Whether a customer gets all three depends on one setting on each discount. Get it wrong and the checkout total won't match what your email promised.
What are Shopify's discount classes?
Every discount is a product, order or shipping discount, and that class decides what it can combine with. Product discounts take money off specific products or collections, order discounts take it off the subtotal and shipping discounts cut the shipping cost.
Automatic discount or discount code: what is the difference?
The method is how a discount reaches the customer, not what it takes off. An automatic discount applies in the cart and at checkout once the customer meets its conditions; a code only applies when the customer enters it at checkout. Amount off, buy X get Y and free shipping offers can each be set up either way, and both methods follow the same combination rules.
Automatic discounts still need the customer to add every eligible item, and Shopify never adds the free or discounted item in a buy X get Y offer for them. Say so on the product page and in the sale banner.
How do you set two discounts to combine?
Tick the other discount's class in the Combinations section of both discounts. Shopify doesn't stack anything on its own: a 20% automatic discount on a collection and a free shipping code only combine if the automatic discount allows shipping discounts and the code allows product discounts. Shopify lists these combinations as available to every store:
- A product discount with a free shipping discount.
- An order discount with a free shipping discount.
- Two product discounts, when they apply to different items.
Product with order, and order with order, have extra eligibility requirements on Shopify's combinations page. Two shipping discounts never apply to the same order, and two product discounts on the same item need a separate tag-based setting that isn't available on every store. Discount apps can add other logic, such as tiered offers.
There are limits too. A customer can use up to five product or order codes plus one shipping code on an order, and a store can have up to 25 active automatic discounts, app discounts included, all of which can apply to the same order.
Which discount applies when they can't combine?
The best one for the customer's cart. A customer who enters a second code that can't combine sees "Discount couldn't be used with your existing discounts". Watch your shipping offers: Shopify gives product and order discounts priority over shipping discounts when they can't combine, so a free shipping promise can quietly drop off.
When discounts do combine, product discounts apply first, then order discounts to the reduced subtotal, then shipping. Two percentage order discounts are each calculated on the original subtotal, so 10% and 15% off a subtotal of 100 take 25 off, not 23.50.
How do you test discounts before the sale starts?
Run every scenario through the real checkout first. A scheduled discount won't apply before it starts, so we make test copies that are active now, limited to a test customer through the Eligibility setting and given codes such as TEST-EMAIL20, then delete them once the checks pass. Three ways to check:
- Checkout without paying. Add products, go to checkout, enter the codes, check every line and the total, then close the checkout before payment. Shopify suggests this, and it is safe on a live store.
- A test order through Shopify's Test payment gateway or Shopify Payments test mode, with no real charge. While test mode is on, customers can't pay by card, and Shopify advises against it on a store in production, so keep this for stores that haven't launched.
- A draft order, as a first look only. Automatic discounts apply only if you tick Apply all eligible automatic discounts, shipping and buy X get Y codes can't be added, and custom discounts added by staff always apply whatever the combination settings say.
The scenarios we run on every sale:
- Each discount on its own, on a cart that just qualifies.
- The automatic discount with every code you plan to send.
- Two codes that shouldn't stack, to see which one stays.
- A cart just under the minimum spend or quantity, then just over it.
- A mixed cart: sale items, full-price items and a buy X get Y item.
- Free shipping alongside the sale discount, to confirm it isn't dropped.
- A customer the offer isn't meant for, such as one in another market.
What should you decide before the sale?
- The stack: one table of every discount, its class, its method and what it combines with, agreed before anyone builds.
- Code names: short and readable, such as
SPRING15, without special characters, which Shopify advises against. - Dates: a start and an end date on every sale discount, because a discount with no end date doesn't expire.
- Usage limits: whether a code has a total cap or one use per customer.
- Mobile: the banner, cart, discount field and checkout totals checked on a phone as well as a desktop.
If anyone edits a discount's combinations or dates after testing, run the checklist again before the start date.
Where to start
List every offer, mark which ones should stack and set the combinations on both sides. Our Shopify development service sets up and tests sale discounts, and for rules the built-in discounts can't handle, customising Shopify checkout covers what apps and functions can add.
FAQ
Frequently asked questions
Can we turn a discount code into an automatic discount later?
No. Shopify doesn't let you change the type or method of an existing discount, so you delete it and create a new one, then set its combinations and dates again. Take care with one-use codes: if you delete a code limited to one use per customer and recreate an identical one, customers who already used it can redeem it once more.
Does changing the combination settings fix orders that were already placed?
No. Shopify says editing a discount to allow combinations doesn't affect orders where that discount was already used. If customers missed a stack you promised, check the orders placed while it was live and settle the difference with each customer directly, then test the corrected settings before the next send.
Do combined discounts work on Instagram, Facebook or Google checkouts?
No. Shopify says discount combinations aren't available for checkouts on Facebook, Instagram, Google or other external checkout platforms. Combinations work on orders made through the Online Store, the Storefront API and Shopify POS. If a sale also runs on an external checkout, plan the offer there as a single discount and test it on that channel.
Why isn't our buy X get Y discount applying?
Check the cart first. Shopify never adds the free or discounted item automatically, so the customer has to add both the qualifying items and the item they get. If the item they get is out of stock, it shows as sold out. Shopify also limits further product discounts on items in the offer, so a second code may not stack.
Can customers add a discount code to a draft order invoice?
Not by default. Shopify doesn't let customers apply codes at checkout from a draft order invoice or checkout link unless you turn that on for the draft order, and you have to turn it on each time. If staff have already added a code to the draft, allowing more at checkout can discount the order further than you intended.
What time zone do Shopify discount start and end dates use?
The time zone selected in your Shopify admin. A sale set to start at midnight starts at midnight in that time zone, not in your customers' or your team's local time. Check the store's time zone before you set the dates, especially for a sale announced to customers in several countries.
