History of product prices (Omnibus Directive) (module)

The module fulfils the legal obligation of EU Directive 2019/2161 (Omnibus) – it shows the lowest price of the last 30 days on the product detail, together with a chart of the price development.

CompatibilityPrestaShop 1.7.x - 9.x
Multistore supportyes
Installation guideyes
Availability of updates1 year
Platform PrestaShop e-commerce
ManufacturerCaleydon s.r.o.

More details

49,00 € per license

Note: 1 license = 1 domain
(unlimited use for the sub-domains, multistore and testing)

Available payment options

Whenever you announce a price reduction, the Omnibus directive requires you to state the lowest price at which you offered the product during at least the 30 days before the reduction. The module therefore records the prices of your catalogue every day and, based on that record, adds the required sentence to the product detail along with a chart that shows the customer the whole price development.

How the module calculates the price it shows: the directive does not ask for a plain minimum over the last 30 days, but for the lowest price applied during the 30 days before the running reduction started. The module therefore first finds out since when the current price has been applied without interruption and excludes that stretch from the calculation – otherwise it would declare the running discount itself to be the lowest price, which is exactly what the directive was written against. The figure shown can therefore be higher than the current price; that is precisely its point, because it shows the customer the level the discount was given from.

Every number the module prints is a price that really applied on a real day - never an average nor any other derived figure. When the history does not yet cover the whole period, the module shows nothing rather than stating a number it cannot back up.

Module features

Technical

  • compatibility: PrestaShop 1.7.x, 8.x, 9.x
  • support for the Multistore feature
  • unencrypted and open-source module code
  • the module overrides no PrestaShop class
  • module translations available: Slovak, Czech, English, German, Spanish, French, Hungarian, Italian, Polish, Russian

Display in the shop

  • the sentence with the lowest price of the last 30 days right on the product detail
  • price development chart in a modal window and as a separate tab of the product detail
  • a setting for showing the sentence on discounted products only (as the directive requires), or on all of them
  • the position of the sentence on the product page chosen from four hooks – no theme template editing
  • the sentence appears in the quick view of a product opened from a listing as well
  • your own text above the chart, separately for every language

Price development chart

  • the chart is inline SVG built by the module – no external library, no CDN, nothing that slows the shop down
  • interactive: a dot at every price change, a tooltip with the price and the date, a dashed line of the reference price
  • the chart is a step line – between two changes the price really did stand still, so the module never draws prices that were never asked for
  • configurable accent colour of the chart
  • configurable period drawn in the chart, or the whole available history
  • responsive drawing, fits the width it is given, on mobile as well

Accuracy of the record

  • separate history for product combinations – picking another variant recalculates both the sentence and the chart right away
  • separate history for every currency – an exchange rate update changes what the customer really pays, and the module records it
  • separate history for every customer group (group reductions, wholesale prices)
  • prices are stored with and without VAT – the one the group is set to display is the one shown
  • prices are calculated by the same PrestaShop core as in the shop, specific prices and catalogue price rules included

Indexing and the CRON job

  • indexing through a CRON job, in batches, continuing where the previous call stopped
  • configurable number of products per batch – a large catalogue never ends on the PHP time limit
  • a button for indexing right now – the chart does not have to wait for the first nightly run
  • a new record is written only when the price changes, so the database does not grow for nothing
  • configurable retention period; the last price before the cut is always kept
  • the CRON job works while the shop is in maintenance mode as well

Data storage

  • selectable storage: MySQL database or XML files in the module folder
  • with XML, one file per product and one per combination is written, in a subfolder named after the shop id
  • the XML folder is protected from access over the internet

Back office

  • the same chart in the back office, right in the "Pricing" tab of the product edit page
  • an Indexed prices screen with product suggestions, the chart and a table of every stored record
  • switching the combination, the customer group and the currency right above the chart
  • correcting a stored price right in the table, confirmed by a button next to the field
  • deleting the whole record of a chosen day with one click
  • an entry in the PrestaShop main menu, with a name editable per language
  • an overview of the indexing state: number of records, range of the history, last run

Module installation

  1. Check if the label in the ZIP archive name of the module matches the version of your PrestaShop.
  2. Upload the module to your PrestaShop in one of the following ways:
    • A. Through the Admin Panel: use the module upload tool (ZIP archive) in the Modules » Module Manager » Upload a module section.
    • B. Through FTP: upload the "cm_price_history" folder from the ZIP archive to the /modules/ directory.
  3. If you uploaded the module via FTP, proceed to install it in the section: Admin Panel » Modules » Module Manager.
  4. If you uploaded the module through the admin panel, the module will automatically be installed.
  5. Open the module settings and switch on "Show the lowest price in the front office" in the Display settings section.
  6. In the Overview and CRON section press "Index the prices now" so that the module records the current prices.
  7. Set up the CRON job as described in the next chapter.
  8. If any issues arise, contact the module author.

Setting up the CRON job

  1. Open the Overview and CRON section of the module settings. It shows the address carrying the security token of your shop.
  2. Have that address called once a day, shortly after midnight – either in the administration of your hosting, or with the crontab line prepared under the address.
  3. Every call processes as many products as it can and writes down where it stopped. The next call continues from there, so a large catalogue is indexed by repeating the call and never ends on the PHP time limit.
  4. If one call does not get far enough, lower "Products per batch" in the Indexing settings.
  5. Do not share the address with anyone – the token is valid for your shop only.

Price data storage

  • MySQL database (recommended) – the fastest option, needs nothing set up.
  • XML on the FTP server – the history is written into the price-data folder of the module, in a subfolder named after the shop id. Every product gets a product-id.xml file, every combination a product-id-combination-id.xml file. Use it when the price history has to stay readable outside the database – for an archive or an export.
  • The price-data folder is protected from the internet by an .htaccess file. On servers without Apache (nginx, for instance) block the access in the server configuration.
  • Switching the storage moves nothing. The history collected so far stays where it is and the new storage starts empty.

Correcting the price history

The Indexed prices screen shows, under the chart, a table of every stored price point of the chosen combination, customer group and currency. Both prices of every row can be corrected, and the whole record of a day can be deleted.

  • Correcting a price: click the price, type the new amount and confirm with the green button next to the field (or with Enter). The grey button, the Esc key or a click elsewhere throws the change away. The chart above the table redraws itself once the price is saved.
  • Deleting a record: the bin icon at the end of the row removes the whole record of that day, both of its prices. The module asks first. Afterwards the chart keeps the price of the day before it - exactly what a day without a record means to the module.
  • The two amounts of a day (with and without VAT) are stored separately, so a wrong price has to be corrected in each of the two columns it appears in.
  • Both actions apply to the chosen combination, group and currency only. The other combinations, groups and currencies of the same product stay untouched.
  • Every change is written into the PrestaShop log. A deleted price point cannot be recovered.

Module license

  • Buying this module you accept license agreement.
  • The license is authorized to be used module on one domain only,
  • For more information on upgrading to an unlimited license please contact us.
PRODUCTS PRICE HISTORY MODULE - CHANGELOG

---------------- PrestaShop 1.7.x - 9.x ----------------

version 1.0.1 (09/10/2026)
  + added: correcting a stored price directly in the "Indexed prices" table,
    confirmed by a button next to the field
  + added: deleting the whole record of one day from the same table
  + added: XML files in the module folder as an alternative to the database
  + added: product suggestions in the search box of the "Indexed prices" screen
  + added: the name of the back-office menu link is editable per language
  + added: the wording above the chart is prefilled per language and takes
    "%days%" for the length of the reference period
  x fixed: PrestaShop 9 compatibility - Tools::encrypt and Tools::displayPrice
    were removed from the core
  x fixed: the sentence quoted a price including VAT next to a price shown
    without it, for visitors of a country the shop has no tax rule for
  x fixed: the chart was drawn twice on the product edit page of 1.7.x and 8.x
  x fixed: implicit nullable parameter deprecated on PHP 8.4
  x fixed: the price sentence had no styling in the product quick view
  x fixed: the date of the last CRON run ignored the language date format
  x updated: the CRON job moved from cron.php to a front controller
  x updated: tables of the back office, wording and translations of the module
    (de, es, fr, hu, it, pl, ru added)

version 1.0.0 (09/06/2026)
  + initial release for PrestaShop 1.7.x - 9.x


---------------------

Legend:
  + added a new feature
  x fixed issue, updated feature
  - removed feature

No customer reviews for the moment.

Write a review

History of product prices (Omnibus Directive)

History of product prices (Omnibus Directive)

The module fulfils the legal obligation of EU Directive 2019/2161 (Omnibus) – it shows the lowest price of the last 30 days on the product detail, together with a chart of the price development.

Your rating

Other products in the same category: (30)

Moduly, platobné brány a preklady pre PrestaShop

Tvorba e-shopov a webových stránok

Internetové stránky a e-shopy

Depeche Mode Shop

Depeche Mode Universe FanShop