Shopify discounts: how to set them up for Black Friday without losing sales
Nico Bértolo · 2026-11-08
In short
- Shopify gives you two ways to discount: automatic discounts, applied by themselves in the cart and checkout (up to 25 active at once), and codes the customer has to type.
- An automatic discount isn’t shown struck through on the product page without an app: to show the saving before the cart, use the compare-at price, or a /discount/CODE link that applies the code for them.
- In Spain, the previous price you strike through must be the lowest you charged in the prior 30 days (article 20 of Law 7/1996). Write it down today, before you change anything.
Shopify discounts take ten minutes to set up, which is why almost nobody tests them. Then Black Friday arrives (27 November this year) and the problems show: a code that won’t stack with the welcome code, a saving the customer only sees at checkout, or a strikethrough price that breaks the rules. This guide covers how to set up Shopify discounts for the campaign, based on Shopify’s current help docs and Spanish pricing law.
- 25: Maximum active automatic discounts at once, including app-based ones.
- 5 + 1: Codes per order: up to 5 product or order codes and 1 shipping code.
- 30 days: The window your “previous price” must come from in Spain.
Automatic discount or discount code?
For a campaign open to everyone, automatic. According to Shopify, an automatic discount is applied in the cart and at checkout as soon as the conditions are met. A code has to be typed at checkout. Every extra step is a chance to lose the customer, and “use code BLACK20” is an extra step.
Codes make sense when the discount is meant for a few people: your email list, early access, a creator, or a campaign you want to track. That’s what their limits are for: valid dates (in the store’s time zone), total uses or one per customer, and a minimum order amount.
The types are the same for both: amount or percentage off products or collections, off the whole order, buy X get Y, and free shipping (where you can exclude rates above a set amount). For anything more unusual, Shopify points you to apps.
Can you combine two discounts on Shopify?
Yes, if both allow it. Shopify sorts discounts into three classes (product, order and shipping), and for each discount you choose which classes it combines with. Product discounts apply first, then order discounts, then shipping. If two discounts can’t combine, Shopify applies only the best one for the customer.
- Product + free shipping and order + free shipping: any store can do it.
- Two product discounts on different items: also fine.
- Two product discounts on the same cart line: Shopify Plus only.
- A customer can use at most 5 product or order codes and 1 shipping code on the same order.
- Combinations only work on the online store, the Storefront API and POS. Not on external checkouts such as Facebook, Instagram or Google.
The case we see most: the welcome popup gives 10% off and in November a 20% sitewide discount goes live. If they stack, someone gets 30% off that nobody planned for. If they don’t, a new customer enters the welcome code, nothing changes, and they assume the store is broken. Pick one and say it in the popup (“can’t be combined with other offers”). If you’re unsure how much discount you can afford, run the numbers in Black Friday without discounts first.
How do you show a strikethrough price on Shopify?
With the compare-at price. Put the original price in that field and the sale price in “Price”; the compare-at value must be higher for the sale to show. Both appear on product and collection pages; only the sale price appears at checkout. You can change them in bulk with the bulk editor.
What catches many stores out: an automatic discount or a code isn’t shown struck through on product or collection pages. Shopify says so in its help docs: that takes a discount app or theme work. It is always shown struck through at checkout. So with 20% automatic, the customer sees the full price on the product page and the saving only at the end. If the product page doesn’t make the offer clear, they buy thinking they’ll pay more, or don’t buy.
Another common slip: if a product’s variants have different compare-at prices (some at 0.00), the sale badge can disappear on collection pages. Check product by product before the 27th.
Which previous price can you strike through on Black Friday in Spain?
The lowest you charged in the previous 30 days. That’s article 20 of Spain’s Retail Trade Law (Ley 7/1996), as worded by Royal Decree-law 24/2021 and in force since 28 May 2022: the previous price is understood to be the lowest applied to identical products in the preceding thirty days. A price reduction must clearly show the previous price next to the reduced one, except for products put on sale for the first time. And if the product is sold by weight or volume, the unit price has to reflect the reduced price too.
In practice: if a product was €49 in a 1 November promo and went back to €59, on 27 November you can’t strike through €59. You strike through €49. And raising prices in October to cut them in November is exactly what this rule exposes. Nothing in the Shopify compare-at docs we read works this out for you, so record your prices today.
Shareable discount links: the code without typing
Every code has a shareable link: yourstore.com/discount/CODE. You get it from Discounts → the discount → Promote → Get a shareable link, and as a QR code too. When opened, the discount is saved to the cart and the browser and applies at checkout until it’s removed. Add ?redirect=/collections/black-friday and the customer lands on that collection instead of the home page.
Two details: the link only works for active discounts (send it before the start time and it does nothing), and it carries a single discount. Use it in your emails and ads instead of “use code”.
An example: a home textiles brand
A bedding and towels brand with an average order of around €60. Last year: BLACK20 in the announcement bar, a WELCOME10 popup code nobody had set to combine or not, and product pages at full price. The customer saw €89 on the duvet cover, reached checkout, remembered the code (or didn’t), and found out the final price at the last step.
What we’d do this year: 20% automatic on the campaign collection only, not combinable with the welcome code (and the popup says so). On those product pages, a compare-at price set to the lowest price of the previous 30 days, plus a line under the price with the campaign dates. For the email list, early access on the 24th with a one-use-per-customer code sent as a link. And a second automatic discount, free shipping over €80, which does combine with the product discount, to lift order value: more on that in free shipping thresholds.
What I’d do this week
- Record today’s prices: Export the products you’ll discount and save the lowest price of the last 30 days. That’s the only one you can strike through.
- Pick automatic or code: Automatic for the open campaign; codes only for the list, early access or a collaborator.
- Decide the combinations: Welcome, campaign and free shipping: which stack and which don’t. Say it where the customer can see it.
- Show the saving on the product page: Compare-at price or a discount app. Nobody should discover the discount at the last step.
- Swap codes for links: In emails and ads, /discount/CODE with a redirect to the campaign collection.
- Place a test order: With every discount and every combination, on mobile, the day before launch.
If you have two weeks left and haven’t reviewed the product page or checkout, that matters more than the discount: the order of work is in how to prepare your Shopify store for Black Friday.
Does your discount only show up at checkout? We review your store with you and tell you what to fix before Black Friday. Book a call
Sources
- Automatic discounts · Shopify Help Center
- Combining discounts · Shopify Help Center
- Discount codes · Shopify Help Center
- Discount types · Shopify Help Center
- Managing and editing your discounts · Shopify Help Center
- Setting sale prices for products · Shopify Help Center
- Ley 7/1996, de 15 de enero, de Ordenación del Comercio Minorista (art. 20, en la redacción del Real Decreto-ley 24/2021) · BOE
Frequently asked questions
How do I create an automatic discount on Shopify?
From Discounts in the admin: choose the type (product, order, buy X get Y or free shipping) and the automatic method. It applies by itself in the cart and at checkout when the conditions are met.
How many automatic discounts can be active on Shopify?
Up to 25 at once, including those created by discount apps.
Can a customer use two discount codes on one order?
Yes, if they’re set to combine: up to 5 product or order codes and 1 shipping code per order.
Why isn’t my automatic discount shown struck through on the product page?
Because Shopify only strikes it through at checkout. To show it on product and collection pages you need the compare-at price, a discount app or a theme change.
Which previous price must I show for a sale in Spain?
The lowest price you charged for that product in the previous 30 days, under article 20 of Law 7/1996 on Retail Trade.