How to show the lowest price in the last 30 days on Shopify
By Price History team · Published
Shopify doesn’t work out the lowest price in the last 30 days for you. You can work it out yourself and enter it as the product’s compare-at price, which is what Shopify’s Help Center suggests. Or you can use an app that records every price change and shows the lowest price for you. This guide covers both.
Which “lowest price in the last 30 days” do you need?
Two different things go by this name:
- The prior price: the lowest price you charged in the 30 days before a price reduction. EU law asks you to show it whenever you announce a reduction to shoppers in the EU and EEA. Read what the prior price is.
- A “lowest price in 30 days” message: an optional claim that today’s price is the lowest it’s been for 30 days. It isn’t the prior price.
If you sell to shoppers in the EU or EEA, start with the prior price.
Do I have to show it?
If you announce a price reduction on goods to shoppers in the EU or EEA, EU law asks you to show the prior price with it. A crossed-out price counts as an announcement, and so do “20% off” and general ones such as “Black Friday offers”.
Read what the EU Omnibus Directive asks of online stores, and whether it applies to stores outside the EU.
Can Shopify show it on its own?
Partly. A Shopify product has two price fields: Price and Compare-at price. Shopify’s Help Center suggests that when you reduce a price, you enter the lowest price from the last 30 days (or more) as the compare-at price, and the reduced price as the price. Your theme decides how the two show, usually with the compare-at price crossed out.
What Shopify doesn’t do is work out that lowest price. You look it up in your own records and type it in.
How do I do it by hand?
- Note the day the reduction starts.
- Look back 30 days from that day, and find the lowest price you charged, including any earlier sale prices.
- In your Shopify admin, go to Products and click the product.
- In the Compare-at price field, enter that lowest price. In the Price field, enter the reduced price.
- Click Save.
If the product has variants, do this for each one. The compare-at price must be higher than the price, or Shopify won’t show it as a sale.
What are the limits of doing it by hand?
- You need your own record of every price. That means every variant, including short offers, for at least the last 30 days.
- The crossed-out price becomes the prior price. If the lowest price was an earlier sale price, that’s what shoppers see crossed out, not your usual price. To show your usual price as well, Shopify suggests editing your theme or using metafields. Both Shopify and the European Commission’s guidance say any extra price must be clearly explained and mustn’t confuse shoppers.
- Percentages must use the prior price. The EU’s Court of Justice has said a “% off” must be worked out from the prior price. If your theme works out a percentage from the compare-at price, that’s the prior price with this method.
- Each sale needs a fresh look back. You work out the prior price when a sale starts, and it can stay the same for the whole sale. When a new sale starts, look back 30 days again, including the last sale’s prices.
Read compare-at prices and Omnibus for what the crossed-out price should be, with examples.
How do I show it with Price History?
Price History keeps the record for you, and works out the prior price for each variant and currency. Setting it up takes a few minutes:
- Install the app. From then on, it records every price change in your store, including compare-at prices. Read Install and set up.
- Fill in past prices (optional). On the app’s Dashboard, click Fill in price history to add up to 60 days of past prices, from orders placed before you installed. The prior price can then use prices from before you installed.
- Choose your products. The Free plan covers 25 products you pick, and Unlimited covers every product. Read Choose your products.
- Add the Price note block. In the app, open Storefront and click Add to theme under Price note. Move the block where you want it, for example just under the price, and click Save. Read Add the blocks to your theme.
- Choose who sees it. On the same Storefront page, the prior price shows to shoppers in the EU and EEA by default. You can add other countries. Read Storefront settings.
- Check your crossed-out prices. Open the Audit to find compare-at prices that are higher than the EU 30-day low. It can set them to the 30-day low for you, with undo. Read The Audit.
What will shoppers see?
Say a lamp costs €100. On 8 November, it’s €90 for a weekend offer, then €100 again. On 20 November, you reduce it to €80, with €100 crossed out.
- The prior price is €90, the lowest price in the 30 days before 20 November.
- Next to the crossed-out price, shoppers see “Prior cheapest price €90.00”, with an ⓘ that explains it: “The lowest price we charged in the 30 days before this price cut.”
- If you turn on Show the saving as a percentage, the note reads “-11% Prior cheapest price €90.00”. That’s 11% off €90, not 20% off €100.
- The Audit marks the crossed-out €100 as Too high, because it’s above the 30-day low of €90. It can set it to €90 for you.
When the crossed-out price is the same as the prior price, the note is hidden by default, because it would only repeat it. The crossed-out price then shows the prior price, as in Shopify’s own method.
Prices show in the shopper’s currency, and the note comes in English and 27 other languages.
What about the “Lowest price in 30 days” badge?
It’s the Price note’s other part, and it’s about today’s price. It shows after a price drop, when today’s price is the lowest you’ve charged in the last 30 days. Crossed-out prices don’t count. In the example above, €80 is the lowest price in 30 days, so the badge can show too.
The badge is optional, and it isn’t the prior price. It shows in every country by default, and you can turn it off or choose the countries on the Storefront page. Claims like “lowest price” aren’t covered by Article 6a, although other EU consumer law still applies to them.
What if I installed Price History less than 30 days ago?
It shows the lowest price it has recorded, and the ⓘ says when it started tracking. If it has no price at all from before the reduction, for example because the product was already reduced when you installed the app, it can’t work out a prior price, and the note doesn’t show.
To fix that, fill in prices from your orders, or add the earlier price by hand. Read what happens with a short history.
How can Price History help?
Price History is designed around Article 6a. It helps you show the prior price the EU rule requires, next to the crossed-out price, without keeping your own records. Its Audit finds crossed-out prices that don’t match the 30-day low.
You stay in control of your prices and announcements, and you stay responsible for them.
To show a chart of each product’s price over time as well, read how to show price history on Shopify.
Official sources
- Directive 98/6/EC, the Price Indication Directive (consolidated text with Article 6a)
- European Commission guidance on Article 6a (2021/C 526/02)
- Court of Justice of the EU, case C-330/23 (Aldi Süd), 26 September 2024
- Shopify Help Center: European Price Indication Directive
- Shopify Help Center: Setting sale prices for products