Title: Kung Woo Price History for WooCommerce
Author: kungwoopanda
Published: <strong>2026 年 6 月 16 日</strong>
Last modified: 2026 年 9 月 29 日

---

搜索插件

![](https://ps.w.org/kung-woo-price-history-for-woocommerce/assets/banner-772x250.
png?rev=3574254)

![](https://ps.w.org/kung-woo-price-history-for-woocommerce/assets/icon-256x256.
png?rev=3574254)

# Kung Woo Price History for WooCommerce

 作者：[kungwoopanda](https://profiles.wordpress.org/kungwoopanda/)

[下载](https://downloads.wordpress.org/plugin/kung-woo-price-history-for-woocommerce.1.3.0.zip)

 * [详情](https://cn.wordpress.org/plugins/kung-woo-price-history-for-woocommerce/#description)
 * [评价](https://cn.wordpress.org/plugins/kung-woo-price-history-for-woocommerce/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/kung-woo-price-history-for-woocommerce/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/kung-woo-price-history-for-woocommerce/#developers)

 [支持](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/)

## 描述

**Kung Woo Price History for WooCommerce** is a lightweight WooCommerce extension
that automatically tracks price changes and can display the lowest recorded price
from the last 30 days when a product is on sale, helping stores present price-history
information.

Customers can view the full product price history in an interactive modal chart.
Store administrators can customize the chart color and price-history icon, and can
enable or disable PDF export from **WooCommerce > KW Price History**.

### Features

 * **30-Day Lowest Price:** Automatically calculates and displays the lowest recorded
   product price from the last 30 days whenever a product is on sale.
 * **Price Tracking:** Silently records the product price every time it gets updated
   or saved in the WooCommerce backend.
 * **Interactive Chart:** Adds a sleek “Price History” button to single product 
   pages (via hook or shortcode) that opens a modal with a responsive Chart.js line
   graph.
 * **Optional PDF Export:** Allows customers to generate and download a PDF report
   of the price chart; administrators can disable this feature when it is not needed.
 * **Custom Appearance:** Choose a custom chart color and replace the default price-
   history icon with an image from the WordPress Media Library or a PNG/SVG URL.
 * **Multi-Currency Support:** Native compatibility with FOX – Currency Switcher
   Professional. Historical prices are stored once and converted dynamically to 
   the currency selected by the customer.
 * **Page Builder Friendly:** Works flawlessly with Elementor and other page builders
   thanks to robust event delegation and global script enqueuing.
 * **Security & Performance:** Uses local assets, sanitizes stored settings and 
   output, and enqueues scripts through WordPress APIs.

## 屏幕截图

[⌊The "Lowest price from 30 days" Omnibus notice on a product page.⌉⌊The "Lowest
price from 30 days" Omnibus notice on a product page.⌉[

The “Lowest price from 30 days” Omnibus notice on a product page.

[⌊The interactive Price History chart modal.⌉⌊The interactive Price History chart
modal.⌉[

The interactive Price History chart modal.

## 安装

 1. Upload the entire plugin folder to the `/wp-content/plugins/` directory, or install
    it directly via the WordPress plugins screen.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. The plugin will immediately start tracking price changes for your products.
 4. When a product is put on sale, the “Lowest price in 30 days” notice will automatically
    appear.
 5. A “Price History” button will be added to your single product pages. You can also
    use the plugin’s shortcode `[kwph_price_history]` to place the button anywhere 
    on the product page or within your Elementor templates.
 6. Optional display and PDF settings are available under **WooCommerce > KW Price 
    History**.

## 常见问题

### When does the plugin record a new price?

The plugin hooks into the WooCommerce product save action. Whenever you update a
product and the price differs from the last recorded entry, it logs the new price
along with today’s date.

### Can I import historical data?

Currently, the plugin begins tracking prices from the moment it is installed and
activated. It does not look back at past WooCommerce logs.

### Where is the 30-day lowest-price notice displayed?

The lowest price from the last 30 days is automatically displayed right under the
product price summary, but only when the product is currently “on sale”.

## 评价

![](https://secure.gravatar.com/avatar/e3397f40273f0faf6640d569a190ca23558872315a90d9881342ec66be017092?
s=60&d=retro&r=g)

### 󠀁[Excellent Plugin with Outstanding Support](https://wordpress.org/support/topic/excellent-plugin-with-outstanding-support-29/)󠁿

 [Manjeet Sire](https://profiles.wordpress.org/manjeet-sire/) 2026 年 9 月 29 日

I’m very happy with Kung Woo Price History for WooCommerce. The plugin is useful,
easy to use, and works well on my store. I suggested a feature to the developer,
and I really appreciate that it was implemented in the latest update. I tested the
new changes, including the PDF export settings and customization options, and everything
is working as expected. The developer was responsive and took user feedback seriously.
Thank you for the excellent support and for continuously improving the plugin. Highly
recommended!

 [ 阅读所有1条评价 ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/)

## 贡献者及开发者

「Kung Woo Price History for WooCommerce」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ kungwoopanda ](https://profiles.wordpress.org/kungwoopanda/)

[帮助将「Kung Woo Price History for WooCommerce」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/kung-woo-price-history-for-woocommerce)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/kung-woo-price-history-for-woocommerce/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/kung-woo-price-history-for-woocommerce/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/kung-woo-price-history-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/kung-woo-price-history-for-woocommerce/)。

## 更新日志

#### 1.3.0

 * Settings: Added an option to enable or disable PDF export. The PDF library is
   not loaded when export is disabled.
 * Customization: Added a custom price-history icon selector using the WordPress
   Media Library, with PNG/SVG URL support and fallback to the existing custom/default
   SVG icon.
 * Customization: Added a configurable chart color with the WordPress color picker.
   The selected color is also used in PDF exports.
 * Backward compatibility: Existing installations keep PDF export enabled, the current
   default icon, and the existing red chart color until settings are changed.

#### 1.2.0

 * Compatibility: Added native support for FOX – Currency Switcher Professional 
   for WooCommerce.
 * Multi-currency: Price history chart values are dynamically converted to the currency
   selected by the customer.
 * Multi-currency: The 30-day lowest-price notice is converted consistently with
   the selected FOX currency.
 * Architecture: Historical prices and transient chart cache remain stored in the
   shop base currency, preventing duplicated history and cross-currency cache contamination.
 * Backward compatibility: Existing price-history records require no migration and
   remain fully usable after updating.

#### 1.0.8

 * Refactor: Standardized all database keys, options, and variables to English (
   e.g., `_kwph_price_history`) to meet WordPress.org global standards.
 * Compatibility: Added full support for Elementor and other Page Builders by implementing
   global script enqueuing and JavaScript Event Delegation.
 * Architecture: Shortcode buttons now securely carry specific product data via `
   data-chart` attributes, enabling multiple distinct charts to work flawlessly 
   on the same page.
 * Fix: Resolved a major Chart.js rendering issue (blank chart modal) by enforcing
   explicit canvas wrapper heights and applying rendering cycle delays.
 * Fix: Added visual fallback error messages to gracefully handle missing core JavaScript
   assets.

#### 1.0.1

 * Security: Implemented strict SVG sanitization using `wp_kses()` with an explicit
   allowlist for the settings page.
 * Security: Improved late escaping across all plugin outputs.
 * Architecture: Moved all inline JavaScript from footer directly to correctly enqueued
   external JS files using `wp_enqueue_script` and `wp_localize_script`.
 * Architecture: Prefixed shortcodes (`[kwph_price_history]`) and global declarations
   to avoid naming collisions.
 * Update: Updated Chart.js to the newest stable version.
 * Fix: Removed remote CDN calls from the html2pdf library to ensure all assets 
   are loaded locally.
 * Compliance: Renamed plugin to respect third-party trademarks (“for WooCommerce”).

#### 1.0.0

 * Initial release.

## 额外信息

 *  版本 **1.3.0**
 *  最后更新：**1 周前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 5.8 或更高版本 **
 *  已测试的最高版本为 **7.0.7**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/kung-woo-price-history-for-woocommerce/)
 * 标签
 * [chart](https://cn.wordpress.org/plugins/tags/chart/)[omnibus](https://cn.wordpress.org/plugins/tags/omnibus/)
   [price history](https://cn.wordpress.org/plugins/tags/price-history/)[pricing](https://cn.wordpress.org/plugins/tags/pricing/)
   [woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/kung-woo-price-history-for-woocommerce/advanced/)

## 评级

 5 星（最高 5 星）。

 *  [  1 条 5 星评价     ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/?filter=5)
 *  [  0 条 4 星评价     ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/?filter=3)
 *  [  0 条 2 星评价     ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/?filter=1)

[您的评价](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/reviews/)

## 贡献者

 *   [ kungwoopanda ](https://profiles.wordpress.org/kungwoopanda/)

## 支持

最近两个月解决的问题：

     总计 2，已解决 2

 [查看支持论坛](https://wordpress.org/support/plugin/kung-woo-price-history-for-woocommerce/)