All modulesMagento 2 module

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.

€270 + VAT · one-off licence, installation optional

www.degriz.eu
On a reduced product a line shows the lowest price of 30 days
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?

Install it yourself or choose installation and configuration when you order. Building a new store? Add it to your project in the Konfigurator.

Screens

Take a look at every step.

www.degriz.eu
Under the reduced price a line states the lowest price of the last 30 days
www.degriz.eu
Price history in the admin: every price change is recorded
www.degriz.eu
Settings: on per store view, display on lists and the price before the reduction
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 payment we e-mail you a link to create the access key. Keep the key 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? Create a new one in your account under Module licences; the old one stops working.

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

Installation and configuration are optional: choose them when you order and the price is added to the order (+ VAT). If more time is needed, we bill the rest separately.

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 12 months of free 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)

€270 + VAT

One-off licence for one store, no subscription. Installation and configuration are optional.

After payment you get the licence and access to our private repository: immediately with a card or PayPal, with a bank transfer (UPN) as soon as we receive the payment. 12 months of free updates are included.

Links
Write to us

Install it yourself by following the guide, or choose installation and configuration above. If more time is needed, we bill the rest separately. 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] · +386 40 807 231

Lowest price in 30 days (Magento 2)€270 + 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

We use cookies for the proper functioning of the site, visit analytics and showing ads tailored to your interests. Read more in our privacy policy. By clicking "Accept all" you agree to the use of all cookies.