All modulesMagento 2 moduleVersion 1.2.4 · 15 Oct 2026

Lowest price in 30 days (Magento 2)

When a product is on sale, your store automatically shows the lowest price of the 30 days before the reduction, as the rules on announcing price reductions require.

€190 + VAT · one-off licence, no subscription

www.degriz.eu
The lowest price in the last 30 days under the displayed price
About the module

What it does.

"When I run a sale I have to show the lowest price before the reduction, and I have no price history." Tracking prices by hand across a whole catalogue is not realistic, and a wrong figure is a risk.

What it looks like in practice

You reduce a product as usual. The module recorded the price earlier, so under the price on the product page the shopper sees the line "Lowest price in 30 days" with the amount that applied before the reduction. On a product with variants (for example sizes) the value follows the selected variant. In the admin you can see the product's price history.

What changes

  • Prices are recorded by themselves. When a product is saved and during the regular daily price check (cron).
  • Shown only where needed. The line "Lowest price in 30 days" appears on a discounted product, under the price on the product page, and optionally in product listings.
  • Works with product variants. On a configurable product the value follows the selected variant.
  • History overview. In the admin you see the price history and can clear it when needed.

Who it is for

For every store that advertises discounts and sells to consumers in the EU. It makes most sense to switch it on before you start running sales.

How you set it up

You find the history under Catalog › Product price 30 days and the settings under Stores › Configuration › Magelan › Product price 30 days: switch on, display in listings, display of the previous (struck-through) price and the check schedule. It works on the Luma and Hyvä themes, per store view.

Good to know

  • Only the price for logged-out customers is recorded, and only the states in which the product is discounted.
  • The history starts when the module is installed. Install it at least 30 days before you start advertising discounts.
  • The module helps you meet the rules on announcing price reductions; it does not guarantee compliance, which depends on your business and the law.

Want it in your store?

Buy the module and we install it for you: free of charge for existing Degriz customers, by time spent for others. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
Every discounted product shows its lowest price of the last 30 days, as the law requires: in the list and on the product page
Every discounted product shows its lowest price of the last 30 days, as the law requires: in the list and on the product page
www.degriz.eu
Module settings in the Magento 2 admin
Module settings in the Magento 2 admin
User guide

See how it works, step by step.

Our guide centre shows the settings and the everyday work with this module, with real screenshots.

Installation

How to install it.

We deliver the module from our own repository, installed with Composer. We send you the user name and access key for the repository after purchase. If you prefer, we install and set it up for you.

In the root of the Magento 2 store run the commands (replace UPORABNIK and DOSTOPNI_KLJUC with the user name and access key you received):

composer config repositories.degriz composer https://www.degriz.net/konfigurator/composer/packages/composer config --auth http-basic.www.degriz.net UPORABNIK DOSTOPNI_KLJUCcomposer require degriznet/m2_pricehistoryphp bin/magento module:enable Magelan_PriceHistoryphp bin/magento setup:upgradephp bin/magento setup:di:compilephp bin/magento setup:static-content:deploy -fphp bin/magento cache:flush

If you use the Hyvä theme, also run php bin/magento hyva:config:generate after installing and rebuild the theme CSS.

Where do I get the user name and the access key?

After the purchase we send you the access key by e-mail. Keep it safe: for security it is shown only once and we do not keep it in readable form. The user name (your project code) and all the commands, ready to copy, are in your account under My account > Module licences.

Lost the key? Write to us and we will issue a new one; the old one stops working. [email protected]

Technical details

Compatibility.

Just the facts.

Code
degriz_pricehist
Platform
Magento 2
Licence
One-off
Change log

Version 1.2.3 · 15 Oct 2026

  • Packaging fix: development files are no longer part of the install, so an upgrade can no longer stop the code compilation (setup:di:compile).

Version 1.2.2 · 12 Oct 2026

  • Fix: the daily history clean-up no longer deletes the records the prior price needs (30 days before the reduction began).

Version 1.2.1 · 11 Oct 2026

  • A technical fix to the module definition and a tidier settings section in the catalog.

Version 1.2.0 · 2 Oct 2026

  • A new Show the price before the reduction setting (off by default): on a real reduction the price before it is shown struck through, the lowest price of the 30 days before the reduction (Omnibus), not just the regular price.
  • If the product was as cheap or cheaper in those 30 days, no reduction is announced and the Lowest price in 30 days line stays.
  • Works on Luma and Hyvä, for simple and configurable products (the struck price follows the chosen variant).
  • A more careful prior price: it counts a reduction that started before the 30 days and was still applied, and the price right before the current reduction.

Version 1.1.1 · 2 Oct 2026

  • Hyvä support: the lowest price in 30 days line now shows on Hyvä too, including product lists (category, search, related, sliders).
  • Complete Hungarian and Italian translations.

Version 1.1.0 · 23 Sep 2026

  • The line shows the lowest price of the 30 days before the reduction started (Omnibus), not the reduced price itself.
  • Italian and Hungarian translations.

Version 1.0.0 · 3 Aug 2026

  • First release: price history and showing the lowest price of the last 30 days on the product page.
After purchase

You are not left alone.

We develop and maintain the module ourselves, so you write to the people who know it line by line.

Installation

For existing Degriz customers we install the module free of charge. For other buyers we charge the installation by time spent.

Support

A bug that repeats on a clean Magento with the Luma theme we fix free of charge. Settings, customisations and other themes by time spent.

Updates

The licence includes updates for the Magento versions on the supported list.

We agree on a date after reviewing the request. User guides in the guide centre

Lowest price in 30 days (Magento 2)

€190 + VAT

One-off licence for one production installation of Magento, no subscription.

Links
Write to us

For existing Degriz customers we install the module free of charge, for others by time spent. We agree on a date after reviewing the request.

Anže Voh, Degriz

Questions about this module?

Write to us and we will answer personally.

[email protected] · 040 807 231

Lowest price in 30 days (Magento 2)€190 + VATAdd to cart

Online store configurator

Redesigning your store or building a new one?

Put your own quote together in the configurator and see the price straight away. A few minutes, no obligation, no meeting needed.

  • Price straight away
  • No obligation
  • Straight to the developer
Open the configurator

Free and with no obligation