How does Custos find the lowest 30-day price?
On this page
Custos’s Price history module shows, next to a sale price, the lowest price the variant had in the 30 days before the reduction started. This follows the prior-price rule in Article 6a of Directive 98/6/EC, added by Directive (EU) 2019/2161 (the “Omnibus” directive). In Germany the same rule is in § 11 of the Price Indication Ordinance (PAngV).
The app is a tool to show this price. It is not legal advice. Rules differ between countries (some set a longer period for certain cases), so check with your own adviser what applies to your shop.
When is a variant on sale?
A variant is on sale when its compare-at price is higher than its price. Only then does the line appear. A variant without a compare-at price shows the line only when a Shopify discount the app counts covers it (see Count Shopify discounts as sales).
When does a reduction start?
Choose this in Price history > Settings > Calculation > A sale starts when:
- A compare-at price above the price is set (default). The sale starts when the compare-at price first goes above the price. If you lower the price again during the same sale, the 30 days before the first cut still count. This fits shops that mark every sale with a compare-at price.
- The price goes down. Every price cut during a sale starts a new 30-day window, so earlier sale prices in that window count. This fits shops that lower prices step by step.
What counts in the 30 days
- Every price the variant had in the 30 days before the reduction started, including earlier sales in that period.
- The reduced price itself does not count.
- Prices are recorded when you turn on the module, on every product change Shopify reports, and once a day.
Verify it worked
- Open Price history > Products and pick a product on sale.
- The chart shades the 30 days before the sale and draws the lowest price as a dashed line.
- Lowest 30-day price shows the value the product page uses.
The crossed-out price and percentages
In its judgment in case C-330/23 (Aldi Süd, 2024), the EU Court of Justice read Article 6a so that an announced
reduction is measured from the lowest 30-day price, not from a higher earlier price. When a variant’s compare-at price
is above its lowest 30-day price, Price history > Products flags it with Check compare-at and a warning.
Fix compare-at prices shows how many products and variants would change and, after you confirm, sets their
compare-at price to the lowest 30-day price. See Fix compare-at prices. The
{percent} placeholder in the wording is always measured from the lowest 30-day price.
Troubleshooting
You see “The sale price is not lower than the lowest price of the 30 days before”
The current price is equal to or higher than a price the variant had in the window. Customers will see a lowest price that is not above the sale price. Check whether this sale should be announced as a reduction.