Emergency

In urgent situations or outages, you can send a text message to our emergency line

Emergency line (text message only)

+45 29 70 15 95

Send a text message with the following information:

  • Your name and webshop
  • A description of the problem

Note: This service is only for critical situations where your webshop is down or has serious problems. For regular support, please use our normal support channels.

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().

Reading time: about 7 minutes
Store owner

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:

  1. Automatic price logging: All price changes (regular price and sale price) are logged with a timestamp
  2. 30-day calculation: The system automatically calculates the lowest price in the 30 days before the reduction. The sale price itself is not included
  3. 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.

The Price history page in the Shoporama admin with price logging turned on and a table of price changes per product with time, old price, and new price.
The Price history page under the Statistics menu with price logging turned on. The log shows each price change with time, old price, and new price, and it can be exported to CSV as documentation in case of an inspection.

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 450 DKK 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

Questions?

Contact us at support@shoporama.dk if you have questions about price history or the Omnibus Directive.