Price history and the Omnibus Directive: show the prior price
Shoporama automatically logs price changes and calculates the correct prior price under the Omnibus Directive (EU 2019/2161). The standard themes support it as a theme setting, and custom themes can use getLowest30DayPrice().
What is the Omnibus Directive?
The Omnibus Directive (EU 2019/2161) is implemented in Denmark through section 9a of the Danish Marketing Practices Act. The rule is simple: when you announce a price reduction, you must show the lowest price you have applied in the 30 days before the reduction.
For example, if you reduce a product from DKK 500 to DKK 399, the crossed-out "prior price" must be the lowest price the product has had in the last 30 days, not necessarily the regular list price.
The Danish Consumer Ombudsman (Forbrugerombudsmanden) actively enforces the rule, and violations can result in fines.
How Shoporama helps
Shoporama automatically logs all price changes on your products, whether the change is made in the admin, through CSV import, the REST API, or automatic feeds. The log is used to calculate the correct prior price: the lowest price in the 30 days before the reduction.
The feature consists of three parts:
- Automatic price logging: All price changes (regular price and sale price) are logged with a timestamp
- 30-day calculation: The system automatically calculates the lowest price in the 30 days before the reduction. The sale price itself is not included
- Display in the theme: The prior price is shown automatically in the standard themes
Turn on price logging
Price logging must first be turned on for your store. Go to Statistics → Price history in the admin and turn on Price logging. From then on, all price changes are logged automatically.

Show the prior price in your theme
How the prior price is shown depends on whether you use one of Shoporama's standard themes or a custom theme.
Standard themes (Montana, Delaware, California, Alaska2)
If you use one of Shoporama's standard themes, you can turn on the prior price display with a theme setting. Go to Design → Theme settings and find the setting:
- Enable Omnibus Prior Price (called Show prior price under the Omnibus Directive in Montana, DelawareDK, Alaska2, and California): Turn this on to show the calculated prior price automatically
When the setting is active and a product has a sale price, the prior price is shown automatically in one of two ways, depending on the situation:
- The prior price is higher than the sale price: The crossed-out price is replaced with the lowest price in the 30 days before the sale. For example:
DKK 450DKK 399, where DKK 450 is the calculated prior price - The prior price is lower than or equal to the sale price: The normal price display is kept, and an extra line is shown below the price: (Lowest price last 30 days: DKK 350) This only happens if the product has been as cheap or cheaper in the 30 days before the sale, for example during an earlier sale.
If there is no price history yet (for example for new products), the regular list price is shown as the prior price.
Custom themes
If you use a custom theme, you need to add the display to your templates yourself. Use the following Smarty code where the crossed-out price is shown:
<{if $product->getSalePrice()}>
<{$lowest = $product->getLowest30DayPrice()}>
<{if $lowest && $lowest > $product->getSalePrice()}>
Prior price: <{$lowest|number_format:2:",":"."}> <{$webshop->getCurrency()}>
<{elseif $lowest}>
(Lowest price last 30 days: <{$lowest|number_format:2:",":"."}> <{$webshop->getCurrency()}>)
<{/if}>
<{/if}>The getLowest30DayPrice() method returns the prior price incl. VAT. If the product is on sale, it is the lowest regular price or sale price in the 30 days before the sale was set, and the sale price itself is not included. Without a sale, it is the lowest price in the last 30 days. It returns null if there is no price history, in which case you can fall back to the regular list price.
Price history in the admin
You can see the full price history under Statistics → Price history in the admin. Here you can:
- Search by product, SKU, or variant
- Filter by date range
- See old and new prices with color coding
- Export to CSV (as documentation in case of an inspection)
What is logged?
Price logging covers:
- Changes to the regular price and sale price
- Variant-specific price changes
- Changes from all channels: admin, import, REST API, and price feeds
The log does not cover campaign discounts calculated dynamically in the cart, quantity discounts, loyalty programs, or personal discount codes, since these are not "announced price reductions" within the meaning of the law.
Read more about the rules
- The Danish Consumer Ombudsman's guidelines on price marketing: The official guide with examples and rules (in Danish)
- Prices and savings claims: The Danish Consumer Ombudsman's overview of the rules (in Danish)
- The Danish Marketing Practices Act (Consolidated Act No. 866 of June 15, 2022): The full legal text, including section 9a on price reductions (in Danish)
- DI Handel's guide to price marketing: A practical guide from the Confederation of Danish Industry (in Danish)
Questions?
Contact us at support@shoporama.dk if you have questions about price history or the Omnibus Directive.
Related articles
Schedule price changes for a later time
How to schedule price changes and bulk edits from the product list, so they run automatically at the time you choose.
Campaigns: automatic discounts without a discount code
Learn how to create campaigns in Shoporama that give your customers a discount automatically. Choose between five campaign types: fixed price,...
Competitor price monitoring in Shoporama
How to set up price monitoring of a competitor's product in Shoporama and let your own price adjust automatically within the limits you set.
Update prices in bulk via CSV import
Step-by-step guide to updating prices on many products at once with a CSV import in Shoporama, including an explanation of the VAT checkbox.
Related features
Plan Black Friday now: Sale prices that switch on and off by themselves
Set a start and end date on your sale prices in Shoporama. The system starts and stops the sale automatically, including in your Google Shopping feed.
Price history
Track price changes automatically and stay Omnibus compliant. Show the lowest price in the last 30 days and comply with EU law in your online store.
Your sale can now also end after a set quantity
Cap how many units are sold at the sale price. When the number reaches zero, Shoporama ends the sale automatically. Here's how Quantity on sale works.
Statistics and analytics
Dashboard, revenue, profit margins, ABC analysis, and more. Shoporama's built-in analytics give you the insight to run a profitable online store.
Delaware theme settings: store and products
Every field in Delaware's theme settings for store and products explained: colors, badges, value propositions, filters, categories, product page,...
Montana theme settings: every field explained
Every section and field in Montana's theme settings explained with screenshots: colors, top bar, USPs, product page, checkout, and integrations.