The EU Omnibus Directive requires stores to show the lowest price from 30 days before a discount. Bagisto 2.5 adds this feature to the core.
Since May 2022, the EU Omnibus Directive has required stores to show the lowest price from the 30 days before a discount.
Before Bagisto 2.5, meeting this requirement meant custom code or maintaining price history manually.
With the Bagisto 2.5 release in October 2026, EU Omnibus price disclosure is now built into Bagisto.
Bagisto tracks price changes and shows the 30-day lowest price on product pages for each sales channel. No extra installation is required.
Directive (EU) 2019/2161 added Article 6a to the Price Indication Directive. It applies to announced price reductions.
Stores must show the lowest price used during the 30 days before the discount.
“…the lowest price applied by the trader during a period of time not shorter than 30 days prior to the application of the price reduction.”
The rule prevents stores from raising a price before calling it a discount. The 30-day lowest price makes the actual reduction clear.
Rules can vary between EU member states, especially for products such as perishables and new items. Check local requirements with your legal advisor.
Bagisto stores price history for every product and sales channel in the product_omnibus_prices table.
A price is recorded when a product is saved in the admin and every 15 minutes by the scheduler. Only changed prices are stored.
Bagisto records the price shown to guest shoppers, including any active special price. Records older than 35 days are removed daily.
Price tracking relies on the server’s scheduled tasks, so the scheduler must be running.
When a shopper views a discounted product, Bagisto checks the previous 30 days and shows the lowest recorded price.
| When | What happened | Price recorded |
|---|---|---|
| 25 days before the sale | Regular price | €129.00 |
| 12 days before the sale | A weekend promotion | €109.00 |
| 5 days before the sale | Back to the regular price | €129.00 |
| Day the sale starts | Special price begins, with a From date | €99.00 |
When the sale starts, the product page shows €109.00 as the weekend promotion price. This is the lowest price in the 30-day window.
The €99.00 sale price is excluded because it was recorded on the same day the sale started.
When a product is discounted, shoppers see its lowest price from the previous 30 days below the current price.
The message reads Lowest price 30 days prior to the discount: followed by the applicable price.
The disclosure is translated into all 23 languages supported by Bagisto. In German, it appears as “Niedrigster Preis 30 Tage vor der Ermäßigung”.
Bagisto shows the disclosure only when price history is available. Without a recorded price, the message is not displayed.
Omnibus Price Disclosure is disabled by default. Enable it for each channel that sells to EU consumers:
The setting is managed per channel. This lets an EU channel show the disclosure while a US channel does not.
The Omnibus page in the user guide covers the same configuration.
Bagisto counts the 30-day window from the moment the price reduction begins. It uses the special price’s From date as the starting point.
Set Special Price From for every sale. Prices recorded from that date onward are excluded from the comparison.
This follows the European Commission’s guidance on Article 6a, where the window covers the period before the reduction.
Special Price To defines when the sale ends. Once the regular price returns, the disclosure disappears with the discount.
Price recording runs through Laravel’s scheduler. Add the standard cron entry to your server:
|
1 |
* * * * * cd /path-to-your-bagisto && php artisan schedule:run >> /dev/null 2>&1 |
Bagisto registers two Omnibus jobs with the scheduler:
| Command | Runs | What it does |
|---|---|---|
| omnibus:snapshot-price | Every 15 minutes | Records changed prices of active products on every enabled channel |
| omnibus:purge-old-snapshots | Daily | Deletes records older than the retention window |
After enabling Omnibus, run the snapshot command once to create the initial price history:
|
1 |
php artisan omnibus:snapshot-prices |
Set OMNIBUS_ENABLED=true in .env to enable Omnibus for channels without their own saved setting.
The omnibus configuration controls the history window. By default, snapshots.lookback_days is 30 and snapshots.retention_days is 35.
Keep the retention period at least as long as the lookback period. Otherwise, older prices may be missing from the comparison window.
Price history works consistently with MySQL, MariaDB, and PostgreSQL, all supported by Bagisto 2.5.
Each product type uses a price provider. Register your custom provider under omnibus.providers.types in your package’s service provider:
|
1 2 3 4 5 6 |
public function boot(): void { config([ 'omnibus.providers.types.subscription' => SubscriptionOmnibusPriceProvider::class, ]); } |
Your provider must implement the OmnibusPriceProvider contract. Extend DefaultOmnibusPriceProvider and override only the behavior your product type needs.
The product type development guide covers how to build custom product types.
Omnibus is included in Bagisto 2.5. Get Bagisto on GitHub, or upgrade your store and complete these steps:
With Omnibus built into Bagisto, you can manage compliant price disclosures without maintaining a separate price history manually.
If you have more details or questions, you can reply to the received confirmation email.
Back to Home
Be the first to comment.