Guides

Omnibus directive in WooCommerce: the 30-day lowest price

By Mariusz Szatkowski · Updated: 2026-11-29

The short version

The Omnibus Directive asks for one specific number whenever you announce a reduction: the lowest price the product carried in the 30 days before the sale. That number is genuinely hard to produce by hand, because it depends on a rolling window of price history per product and per variation. The Polski Omnibus module records that history automatically as you save products, then displays the lowest 30-day price next to the offer, in the block cart and checkout, and in structured data, with the window and wording configurable and sensible defaults out of the box. It is free and open source, and like any tool it presents the figure for you while leaving the final compliance check, as always, to you.

Plugin covered in this guide: Polski for WooCommerce - Omnibus modulePolski for WooCommerce - Omnibus moduleDocumentation

Since 28 May 2022 every EU country has had to apply one rule to price cuts: when you announce a reduction, you also show the lowest price the product had in the 30 days before it. Poland has applied it since 1 January 2023. The rule is easy to read and awkward to run, because the reference price moves per product and per variation every time you change a price. The Omnibus module in the free Polski for WooCommerce plugin keeps that history for you on every product save and prints the lowest price next to the sale price.

Tip: Before your next sale, run the six-question Omnibus price check. It shows which part of your price history, labels and variation handling still needs work.

What does the Omnibus Directive require?

"Omnibus" is Directive (EU) 2019/2161. For prices, its Article 2 inserts a new Article 6a into Directive 98/6/EC on the indication of prices. Member States had to adopt the rules by 28 November 2021 and apply them from 28 May 2022 (Article 7(1) of Directive 2019/2161).

Article 6a has five paragraphs, and the first two do the work:

  • Art. 6a(1): any announcement of a price reduction shall indicate the prior price the trader applied for a set period before the reduction.
  • Art. 6a(2): the prior price is the lowest price the trader applied during a period of not less than 30 days before the reduction.
  • Art. 6a(3) to (5) are options for Member States: different rules for goods that deteriorate or expire quickly, a shorter period for products on the market for less than 30 days, and keeping the price from before the first reduction when a discount is deepened step by step.

So the sale price is no longer compared with yesterday's price or an inflated "regular" price. It is compared with the lowest price of the last 30 days. Raising a price for a week and then "cutting" it back stops working.

In Poland the rule sits in art. 4 of the Act of 9 May 2014 on informing about prices of goods and services (consolidated text Dz.U. 2023 poz. 168), in force in this wording since 1 January 2023:

  • ust. 2: next to every reduced price, show the lowest price of the 30 days before the reduction;
  • ust. 3: a product offered for less than 30 days shows the lowest price since it was first offered;
  • ust. 4: goods that spoil quickly or have a short shelf life show the price from before the first reduction instead.

A sale price of 9.00 next to a lowest 30-day price of 14.00 on a WooCommerce product page Most often the lowest 30-day price is simply the old price: here 14.00 struck through, 9.00 now, and the reference line repeats 14.00.

Who does the Omnibus Directive apply to?

The directive applies to traders selling to consumers in the EU, and that scope is broad:

  • Polish online shops selling domestically.
  • Stores anywhere in the EU running price promotions.
  • Businesses based outside the EU that sell to EU consumers.

It does not matter whether your store is large or small. If you advertise a price reduction to EU shoppers, the reference-price obligation generally applies. Each Member State wrote Article 6a into its own law (Poland in art. 4 of the price information act quoted above), so the wording, the options taken from paragraphs 3 to 5 and the enforcement differ by country, while the 30-day rule is the same everywhere.

Why is this hard to do by hand?

The obligation sounds like a one-line task, but it has an awkward shape for a store owner. The reference price is not a fixed property of a product. It is the lowest figure the product carried over a rolling window that ends the moment a sale begins, and that window is different for every product depending on when its price last moved.

To produce it manually you would have to log every price change, with a date, for every product and every variation, then go back through the last 30 days at the start of each promotion and pull out the lowest value. On a catalogue of any size, run during a busy sale season, that is not realistic. It is also fragile: a single missed price change makes the reference figure wrong, and a wrong reference figure is worse than none, because it actively misstates the saving.

That is why the practical answer is to record price history continuously and compute the reference price on demand, rather than trying to reconstruct it after the fact.

What does a good Omnibus solution need?

A tool that handles the lowest-price obligation for WooCommerce should cover a handful of fundamentals. Use this as a checklist whether you build, buy, or install:

  • Automatic price history. It records each product's price as prices change, so the 30-day window is always backed by real data rather than guesswork.
  • Variation-aware recording. Variable products have a price per variation, so history has to be tracked at the variation level too, not just the parent.
  • A correct rolling window. It reads back the lowest price over the legally relevant period, with the length configurable rather than hard-coded.
  • Clear display next to the offer. The reference price appears where the reduction is announced, in wording the shopper can understand.
  • Coverage across surfaces. Modern stores show prices on the product page, in archives, in the cart and checkout, and inside structured data, so the reference figure should reach all of them.
  • Sensible defaults. It should work correctly out of the box, so a store that simply switches it on is presenting the right number.

Notice what is not on that list: a guarantee of compliance. A plugin can produce and display the reference price accurately, but whether your overall promotion meets the rules that apply to your business stays a decision for you.

Warning: No plugin can guarantee compliance. The module records and displays the reference price accurately, but confirming that your store meets the rules that apply to it remains your responsibility as the owner.

How does the Polski Omnibus module handle it?

Polski for WooCommerce is a free, modular plugin for Polish and EU shops, and its Omnibus module is built around exactly this problem. It does two jobs: it records price history in the background, and it displays the lowest 30-day price wherever the offer appears.

The lowest 30-day price shown next to a sale price on a product page The case shoppers notice: 139.00 struck through, 99.00 now, and the lowest price of the last 30 days was 119.00.

How it records price history

The module hooks into WooCommerce's own save events. Whenever a product is created or updated, or a variation is saved, it writes a price snapshot, capturing the regular price, the sale price if one is set, and the currency, into its own polski_price_history table. Variations are recorded individually, so variable products keep an accurate per-variation history rather than a single blurred figure for the parent.

Note: History is written from WooCommerce save events, so a snapshot is created when you save a product or variation. Prices rewritten outside that flow, for example through a direct database import, may not be recorded.

Two design choices keep this clean. A save that does not change the price adds no new row, so repeatedly saving the same product does not flood the table with duplicate rows. And a daily maintenance task prunes old records once they fall outside the retention period, so the history table stays a working dataset rather than growing without limit.

How it displays the reference price

When a product is on sale, the module reads back the lowest effective price recorded in the last 30 days and renders it next to the price. The window length is configurable and defaults to 30 days. If a stored value were ever empty or zero, the module falls back to 30 days rather than collapsing the window to the current price, so a misconfiguration cannot accidentally make the reference figure meaningless.

The displayed wording is a template you control. The default reads along the lines of "Lowest price from the last 30 days: {price}", with placeholders for the day count and the formatted amount, so you can adjust the phrasing to match how you talk to your customers. By default the notice shows only on products that are on sale, which is exactly when the obligation applies, though that behaviour is a setting.

The reference price is not confined to the single product page. Because Polski supports the block-based cart and checkout as well as the classic templates, the lowest 30-day price appears in the block cart and checkout too. It is also surfaced in the product's JSON-LD structured data when the product is on sale, so the truthful lowest figure travels with the machine-readable markup, not just the visible page. For block themes, a dedicated Lowest Price (Omnibus) block lets you place the notice in the editor, and there is a matching Elementor widget for Elementor-built product pages.

Under the hood the lookup is cached per product in the WordPress object cache, and on archive pages the module warms the cache for the whole product loop in a single query, so showing the reference price across a category page does not turn into one database query per product.

An optional price-history chart

Alongside the reference-price notice, Polski includes a separate price history chart module. It renders a small inline SVG sparkline on the product page from the same recorded history, showing the price trend over a configurable window with the lowest and highest points labelled. It is drawn as plain SVG with no external JavaScript library, and it only appears once there are at least two distinct recorded prices. This is a transparency extra rather than a strict requirement of the directive, useful for shops that want to show shoppers an honest picture of how a price has moved.

How do you set up the Polski Omnibus module?

Getting the reference price live takes a few minutes:

  1. Install Polski for WooCommerce from Plugins, Add New (search for "Polski for WooCommerce"), then activate it. WooCommerce must be installed and active.
  2. Open the Polski menu and go to Modules, then enable the Omnibus module.
  3. In the module's settings, confirm the window (30 days by default) and adjust the display text if you want different wording. Leave "display on sale only" enabled unless you have a reason to change it.
  4. Optionally enable the price history chart module if you want the sparkline on product pages.

From that point the module records a price snapshot every time you save a product, and any product you put on sale shows its lowest 30-day price automatically. There is no per-product setup: the history builds itself as you work, and the longer the module runs before a sale, the more complete the 30-day window behind that sale will be.

Tip: Enable the module well before your next big sale. It can only report price history it has already recorded, so the earlier it runs, the more complete the 30-day window behind that sale.

How do you get Omnibus pricing right?

A tool gives you the mechanism; a few habits make the result solid:

  • Turn it on early. The module can only report price history it has recorded. Enabling it well before your next big sale means the 30-day window behind that sale is backed by real snapshots rather than a short, thin history.
  • Be careful with bulk price edits. If you rewrite prices outside the normal product save flow, for example with a direct database import, those changes may not generate a snapshot. Saving through WooCommerce is what records history.
  • Keep the wording unambiguous. Phrasing the notice as "lowest price in the last 30 days" leaves no room for a shopper to misread it as the current or the original price.
  • Mind progressive discounts. Article 6a(5) lets a Member State keep the price from before the first reduction as the reference when a discount is deepened in steps. The Polish act uses that rule only for perishable goods (art. 4 ust. 4), so for a staged sale in another country, check how that country transposed paragraph 5.
  • Do not treat it as legal sign-off. The module presents the reference price correctly, but your terms, your promotion mechanics, and your other obligations still need their own review.

How does Polski Omnibus compare with default WooCommerce?

WooCommerce can put a product on sale and show a struck-through "was/now" price, but it keeps no history of what the price was over time, so it has nothing to display as the lowest 30-day figure. Here is the difference for the Omnibus obligation specifically:

Capability Default WooCommerce Polski Omnibus module
Records price history None Snapshot when a product or variation is saved
Variation-level history None Yes, per variation
Lowest 30-day reference price Not available Computed from recorded history, window configurable
Display next to the offer Struck-through price only Reference-price notice, configurable wording
Block cart and checkout Standard price only Reference price shown in block cart and checkout
Structured data Standard offer price Lowest 30-day price added to JSON-LD on sale
Price-history chart None Optional inline SVG sparkline
Old-record cleanup n/a Daily pruning of out-of-window snapshots
Cost Free (no reference price) Free and open source

Is the Polski Omnibus module free?

There is no separate paid edition to weigh up here. For stores targeting Polish shoppers, Polski for WooCommerce is free and open source under the GPL, and its Omnibus module records and displays the 30-day reference price out of the box.

For international stores selling across multiple EU member states (Germany, France, Spain, Italy), the free Shoplex plugin packages the Omnibus 30-day reference price alongside unit pricing, Button-Lösung checkout adaptations, and GPSR safety fields into a single EU compliance toolkit.

Both plugins are modular, free, and GPL-licensed, allowing you to activate only the Omnibus price history module and leave the remaining features off if you only require lowest-price compliance. To audit your store before a promotional campaign, run our interactive Omnibus Price Readiness Check.

The short version

The Omnibus Directive asks for one specific number whenever you announce a reduction: the lowest price the product carried in the 30 days before the sale. That number is genuinely hard to produce by hand, because it depends on a rolling window of price history per product and per variation. The Polski Omnibus module records that history automatically as you save products, then displays the lowest 30-day price next to the offer, in the block cart and checkout, and in structured data, with the window and wording configurable and sensible defaults out of the box. It is free and open source, and like any tool it presents the figure for you while leaving the final compliance check, as always, to you.

Polski for WooCommerce - Omnibus module