[WordPress] 外掛分享: WPNest Price History for WooCommerce

首頁外掛目錄 › WPNest Price History for WooCommerce
全新外掛
安裝啟用
尚無評分
7 天前
最後更新
問題解決
WordPress 6.2+ PHP 7.4+ v1.0.3 上架:2026-05-19

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.3) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WPNest Price History for WooCommerce」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

WPNest Price History for WooCommerce gives WooCommerce stores automatic compliance with the EU Omnibus directive (Directive 2019/2161, in force across the EU since May 2022, in Poland from January 2023).
The plugin records every price change in your store with a timestamp and renders the legally required notice — “Najniższa cena z 30 dni przed obniżką: X” — under the price on every product page where a discount is announced.
Key features (Free)

Automatic price capture — every change made via admin, REST API, WP-CLI, CSV import, or programmatic save is recorded with timestamp.
Daily snapshot failsafe — a cron job ensures every published product has at least one history row per 24h, even when capture hooks miss.
30-day-low calculation — uses the legally correct “Omnibus” method (lookback from the moment the current sale started). A “Rolling” alternative is available for stores that prefer it.
Configurable label — the notice text is fully customizable per language.
Display options — single product page (required), shop loop, cart line items.
Variable products — per-variation tracking with frontend handler that updates the notice when a variation is selected.
Custom CSS — paste your own styles for the notice without editing files.
Per-product mini-chart in the admin product edit screen.
WP-CLI support — snapshot, cleanup, backfill.
Backfill on activation — seeds the history table with current prices so the 30-day window is never empty.
Cleanup cron — automatically removes entries older than the retention window (default 90 days).
Cache — transient-based (12h TTL) with automatic invalidation on every price change.
Compatible with HPOS (WooCommerce custom order tables).

Compliance basis
This plugin implements requirements from:

EU Directive 2019/2161 (“Omnibus”) — applicable across all EU member states.
Polish Ustawa o informowaniu o cenach towarów i usług, art. 4 ust. 2 — domestic transposition, in force since 1 January 2023.

UOKiK (the Polish Office of Competition and Consumer Protection) actively monitors compliance and may impose fines of up to 10% of annual revenue. The most commonly flagged violation is “price gymnastics” — artificially inflating the regular price shortly before a sale to make the discount appear larger.
Pro version
A Pro extension is available with additional features for shops that want to go beyond the legal minimum: public price history chart on product pages, Omnibus violation detector, compliance dashboard, webhooks (Slack/Discord), CSV export for audit, tamper-proof hash chain, white-label, and more. See https://wpnest.pl/sklep/prawo-i-formalnosci/wpnest-price-history-pro/ for details.
Third-Party Libraries
This plugin bundles the following libraries:

Chart.js v4.5.1 — MIT License, https://www.chartjs.org/ — used to render the per-product price history chart in the admin product edit screen.
chartjs-adapter-date-fns v3.0.0 (bundle including date-fns) — MIT License, https://github.com/chartjs/chartjs-adapter-date-fns — date adapter required by Chart.js v3+ for time-scale axes on the price history chart.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon