The gap
A shop in the EU that announces a discount has to show the lowest price of the 30 days before it. WooCommerce keeps only the current regular and sale price, so that number is not stored anywhere.
WordPress
A free WooCommerce plugin that records every price change and shows the lowest price in the 30 days before a discount. When the history cannot prove the number, it shows nothing.
Source code on GitHub under the GPL 2.0 or later license.
The gap
A shop in the EU that announces a discount has to show the lowest price of the 30 days before it. WooCommerce keeps only the current regular and sale price, so that number is not stored anywhere.
What it is
PN Scripts Price History for Discounts records each price change of products and variations, including scheduled sales, and calculates the lowest price in the period before the current discount started. A notice under the price shows it, or nothing when the history is incomplete.
How you use it
Install it, choose a rule preset under WooCommerce → Price History, and the notice appears once the history covers the period.
A display tool for WooCommerce. It shows nothing rather than a wrong number, it is not legal advice, and the merchant remains responsible for compliance.
Use it when
Built for
Regular price, sale price and sale schedule of products and each variation, from the product editor, quick and bulk edit, CSV import, the REST API, WP-CLI and scheduled sales. Stored in its own table, only when the price changes.
The period ends when the current reduction started, progressive reductions keep the first start, and every price in force during the period counts. It is never shorter than 30 days.
Gaps, short history and products already on sale when recording started make the result unknown, and then no notice is shown. The coverage report says why, product by product.
Product pages, shop pages, product blocks and the selected variation, plus a shortcode for anywhere else. Prices follow your shop tax display setting.
A one-click, read-only import from three other price history plugins fills the time before the plugin started recording.
Bulgarian, Polish and German translations are included.
v1.0.0 is the first release, available on GitHub. Everything under Planned is not in it yet.
1 of 4
| Platform or runtime | Supported versions | Tested up to |
|---|---|---|
| WordPress | 6.5 or newer | 7.1 |
| WooCommerce | 9.0 or newer | 11.1 |
| PHP | 8.1 or newer | Not stated |
Download the plugin from GitHub, activate it next to WooCommerce and choose a preset under WooCommerce → Price History. Free under GPL-2.0-or-later. It is coming to WordPress.org.
Source code on GitHub under the GPL 2.0 or later license.