The gap
EU price rules require the lowest price of the 30 days before a discount next to the reduced price, but Magento keeps no price history, so stores either guess, show the regular price or type the number by hand.
Plugins
A Magento 2 module that shows the lowest price of the 30 days before a discount, as the EU Omnibus rule asks, computed from prices it records itself, and shows nothing when its records cannot prove the number.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.
The gap
EU price rules require the lowest price of the 30 days before a discount next to the reduced price, but Magento keeps no price history, so stores either guess, show the regular price or type the number by hand.
What it is
Cenovka records the prices of Magento's price index every minute per website and customer group and computes the lowest price of the period before each discount, showing it only when the records cover the whole period.
How you use it
A correct prior price under every discount, without spreadsheets or guesses.
The 30-day prior price for Magento stores in the EU, computed from real recorded prices and honest about what it cannot prove.
Use it when
Built for
Every minute, Cenovka compares Magento's price index with the prices it saw last and writes one row per change, per website and customer group. The index already applies special prices, their dates, catalog price rules and the tier price for one item, so all of them are recorded.
The period ends when the discount starts and begins at midnight in the store time zone 30 calendar days earlier, or up to 365 if you choose. Every price in force during the period counts, earlier promotions included, and a deeper discount keeps the start of the first.
If cron or the module was off and a price changed meanwhile, that time counts as unknown, and a discount whose period includes it shows nothing. The same goes for history that starts too late and for products newer than the period, unless you use the time since launch.
Under the final price on product pages, category pages, search results and widgets, for the chosen variant of configurable products, in the cenovka_prior_price GraphQL field, and in Catalog > Prior Price History with the reason when none is shown.
1 of 5
| Platform or runtime | Supported versions | Tested up to |
|---|---|---|
| Magento Open Source | 2.4.6 or newer | 2.4.9 |
| PHP | 8.2 or newer | 8.4 |
It is finished and tested. It is not on sale yet; this page will say where to get it when it is.
Coming soon
Not published on its store yet, so there is no buy or download link. PN Scripts does not take payment for it here.