PN Scripts Price History for Discounts
Shows the lowest price in the 30 days before a discount, based on a complete price history. Shows nothing rather than a wrong number.
Use with caution
PN Scripts Price History for Di… works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
- Tested with the latest WordPress (7.1)
- Small user base (<10 active installs)
- Very few reviews so far
- Needs PHP 8.1 or newer
How does it stack up?
Side-by-side on installs, updates, ratings & supportDaily downloads
Download spikes usually follow a new release — each site that auto-updates counts as a download.
Rankings
Where PN Scripts Price History fo… stands todayWordPress.org search rankings
Live position in the plugin search, top 100| Keyword | Position |
|---|---|
| discount | >100 |
| lowest price | #80 |
| price history | #85 |
| price indication | #10 |
| Sale price | >100 |
About PN Scripts Price History for Discounts
From the official readme · v1.1.0Description
When a shop in the EU announces a price reduction, the prior price it shows must be the lowest price applied during at least the 30 days before the reduction (Price Indication Directive 98/6/EC, Art. 6a, added by the “Omnibus” Directive (EU) 2019/2161).
PN Scripts Price History for Discounts records every price change of your products and variations, works out that lowest prior price and prints it under the price:
Lowest price in the 30 days before the discount: €21.00
It is built around one promise: if the price history cannot prove the number, the plugin shows nothing. No guesses, no “current price” fallbacks.
Records every price change
- Simple products, external products and each variation separately, regular and sale price, including the sale schedule.
- Every way a price is saved: product editor, quick edit, bulk edit, CSV import, REST API, WP-CLI, WooCommerce’s scheduled sale start and end, and code that calls
$product->save(). Price fields written directly to the database by other software are picked up at the end of the request. - Stored in its own database table (not in posts or post meta), only when the price actually changes. A record takes about 210 bytes with its indexes (50,000 records ≈ 10 MB, measured on MySQL 8.0); the Tools tab shows the table size.
- A background job (Action Scheduler) records the starting prices of your catalogue after installation. No catalogue scans on page load.
- Keeps 90 days of history by default (configurable, minimum 31) and never deletes prices that a running discount still needs.
Calculates the prior price the way the rules describe it
- The period ends when the current discount started, not today.
- Progressive discounts (lowering the sale price again) keep the start of the first reduction, so the prior price does not drift down to the previous sale price.
- Every price in force during the period counts, including earlier promotions and a lower regular price.
- The period is counted in calendar days in your shop’s time zone and is never shorter than 30 days.
- New products: hide the notice (strict, default) or, where your country allows a shorter period, use the lowest price since launch.
- Perishable goods: optional exemption per product or per category, off by default.
- Prices are shown with or without tax exactly like your shop shows its prices.
- History gaps (the plugin was inactive, a price was changed outside WooCommerce) are detected and make the result “unknown”.
Shows it in classic and block themes
- Product pages, shop and category pages, related products and product blocks (the Product Price block and product collections in block themes such as Twenty Twenty-Five).
- The selected variation of a variable product.
- Anywhere else with the shortcode
[pnscripts_price_history]or[pnscripts_price_history id="123"]. - Your own wording with
{price},{days}and{date}placeholders, or the translated default.
Brings your existing history
One-click, read-only import of the price history saved by Omnibus — show the lowest price (iWorks), WC Price History for Omnibus and Omnibus by iLabs (separate plugins by other authors). Imported prices only fill the time before this plugin started recording.
Day one, even mid-sale
Products that were already on sale when you installed the plugin normally show nothing until 30 days of history exist. If your shop system, accounting or price lists show the earlier prices, add them from your own records: on the product screen, as a CSV upload (product ID or SKU, date, regular price, sale price) or with WP-CLI. They only fill the time before the plugin’s own first record, never overwrite it, and are labelled “Your records” in the history.
Admin tools
- Settings under WooCommerce → Price History, with rule presets (EU strict, Bulgaria, Germany, Poland, custom).
- Coverage report: every product and variation on sale, the prior price shown, or why nothing is shown.
- A price history table and the computed prior price on the product edit screen.
- WP-CLI:
wp pnscripts-price-history reference|history|backfill|import|prune.
Compatibility
- WooCommerce High-Performance Order Storage (HPOS) and the Cart and Checkout blocks: declared compatible (the plugin does not touch orders or checkout).
- Multisite: each site keeps its own history.
- Translations included: Bulgarian, Polish, German.
Important
This plugin helps display prices; you remain responsible for compliance. It does not give legal advice and cannot know every national rule. The presets are starting points; check the rules of the countries you sell to.
Privacy
The plugin stores product prices only. It stores no personal data, sets no cookies and makes no external requests.
Installation
- Install and activate WooCommerce 9.0 or newer.
- Upload the
pnscripts-price-historyfolder to/wp-content/plugins/or install the plugin from the Plugins screen, then activate it. - Open WooCommerce → Price History, choose a preset and check the display options.
- Optional: on the Import and tools tab, import the history of another lowest-price plugin you used before.
- Wait: for products that were already on sale when you installed the plugin, the notice appears once the history covers the whole period. The Coverage report tab tells you, product by product.
Changelog
Adds prices from your own records for products that were already on sale at installation. No database changes.
1.1.0
- New: add prices from your own records (product screen, CSV upload, WP-CLI) so products that were already on sale at installation can show a provable notice on day one. Stored like imported history: only before the plugin’s own records, never over them.
- New: the Tools tab shows the size of the history table and the retention period.
- WooCommerce tested up to 11.2; Bulgarian, German and Polish translations updated.
1.0.3
- Renamed to PN Scripts Price History for Discounts (slug and text domain
pnscripts-price-history) after the WordPress.org review. Settings move to WooCommerce → Price History, the WP-CLI command iswp pnscripts-price-history, the shortcode is[pnscripts_price_history](the 1.0.0 tag[pnscripts_omnibus_price]still works), and the plugin’s address is https://pnscripts.com/marketplace/pnscripts-price-history. Settings and price history are kept.
1.0.2
- Interim rename during the WordPress.org review (not published).
1.0.1
- Direct-access guard in every PHP file (WordPress.org review). No functional change.
1.0.0
- First release.
Screenshots
For developers
Is this your plugin? Show off the numbers.
Add a live badge to your site, docs or GitHub README. It updates on its own — no account needed.
Best PN Scripts Price History for… alternatives
All discount plugins →FAQ
PN Scripts Price History for Discou…: quick answers
Straight answers, pulled from live WordPress.org data.
Source: WordPress.org
Is PN Scripts Price History for Di… free?
Yes. PN Scripts Price History for Di… is free to download and use from the official WordPress.org plugin directory.
Is PN Scripts Price History for Di… safe to use in 2026?
PN Scripts Price History for Di… works, but test it on a staging site before relying on it in 2026. Was last updated 2 months ago, and scores 60/100 on our health check.
How many websites use PN Scripts Price History for Di…?
PN Scripts Price History for Di… is active on <10 WordPress websites and has been downloaded 268 times since it launched in October 2026. It was downloaded 96 times in the last 30 days.
Does PN Scripts Price History for Di… work with WordPress 7.1?
Yes. The developer has tested PN Scripts Price History for Di… up to WordPress 7.1.5, the latest release. It requires WordPress 6.5 or newer.
What PHP version does PN Scripts Price History for Di… need?
PN Scripts Price History for Di… requires PHP 8.1 or higher. Most hosts run PHP 8.x today, so it works on any modern WordPress hosting.
When was PN Scripts Price History for Di… last updated?
The latest version, 1.1.0, was released on October 16, 2026 (2 months ago).
Who makes PN Scripts Price History for Di…?
PN Scripts Price History for Di… is developed and maintained by PN Scripts.
What are the best alternatives to PN Scripts Price History for Di…?
The most popular alternatives to PN Scripts Price History for Di… are Payment Gateway Based Fees… (30K+ installs), Extended Coupon Features fo… (10K+ installs) and YITH WooCommerce Gift Cards (10K+ installs).
Powered by PageForge
One template and a spreadsheet. A real page for every search.
PageForge turns each row of a CSV into a WordPress page with its own title, URL, SEO fields and schema, built on the layout you already designed. Free on WordPress.org.
- CSV and XLSX, plus Google Sheets on Professional and Enterprise
- Its own title, URL, SEO fields and schema for every page
- Works with the block editor, Elementor, Divi and Avada
- Free on WordPress.org, no credit card
