Title: Inventory History
Author: Yashar
Published: <strong>2020 年 6 月 23 日</strong>
Last modified: 2020 年 6 月 27 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/inventory-history.svg)

# Inventory History

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

[下载](https://downloads.wordpress.org/plugin/inventory-history.zip)

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

 [支持](https://wordpress.org/support/plugin/inventory-history/)

## 描述

By default, WooCommerce does not save any kind of log or history for product stock
changes. This means anyone with the edit access on WC products, may manipulate the
stock quantities without getting logged somewhere.
 WooCommerce Inventory History
solves this problem and adds extra functionalities to monitor product stock quantity
changes. This plugin tries to log every stock change caused by customers or admins
during order placement, product edit, order edit. Site admins can view the inventory
history of each product, from admin dashboard and filter the logs by event type,
order ID or product variation (for variable products). Each log contains information
about the event, including customer or admin user ID, old stock quantity, stock 
change, new stock quantity, event type, date and order ID.

Trigger Events

 * Product: Created
 * Product: Variation Created
 * Product: Stock Updated
 * Product: Stock Managed
 * Product: Stock Unmanaged
 * Variation: Stock Updated
 * Variation: Stock Managed
 * Variation: Stock Unmanaged
 * Order: Customer Order Placed
 * Order Edit: Item Added
 * Order Edit: Item Removed
 * Order Edit: Item Refunded
 * Order Edit: Items Saved
 * Order Edit: Order Updated (Order Refunded, Refund Removed, etc)
 * Any other stock quantity change, caused by third-party plugins using WooCommerce
   standard functions

REQUIREMENTS

WooCommerce Inventory History requires PHP version 7.1 or above and WooCommerce 
version 4.0 or above, to work smoothly.

## 屏幕截图

[⌊Inventory History for a WooCommerce Product⌉⌊Inventory History for a WooCommerce
Product⌉[

Inventory History for a WooCommerce Product

## 安装

 1. Upload the plugin files to the `/wp-content/plugins/woocommerce-inventory-history`
    directory, or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the \’Plugins\’ screen in WordPress

## 评价

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

### 󠀁[old trash where topics are closed to discussions](https://wordpress.org/support/topic/old-trash-where-topics-are-closed-to-discussions/)󠁿

 [adempozhari](https://profiles.wordpress.org/adempozhari/) 2023 年 4 月 27 日

old trash like this where even support topics are closed to replies should be deleted
from wordpress.org. just to make us lose an hour testing this trash

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

### 󠀁[Good but code is outdated](https://wordpress.org/support/topic/good-but-code-is-outdated/)󠁿

 [isodos](https://profiles.wordpress.org/isodos/) 2022 年 10 月 13 日

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It's
also not compatible with lots of the latest WC and WP /third party plugins. It's
a shame cause it works 95% but the rest 5% is important for us.

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

### 󠀁[Excellent!](https://wordpress.org/support/topic/excellent-12119/)󠁿

 [Wiliam Jose Koester](https://profiles.wordpress.org/wiliamjk/) 2022 年 8 月 25
日

Quite simple plugin, but does exactly what I needed it to do! I would be happy if
the plugin was updated to ensure compatibility with newer versions of WordPress 
and WooCommerce.

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

### 󠀁[Great](https://wordpress.org/support/topic/great-14762/)󠁿

 [vehby](https://profiles.wordpress.org/vehby/) 2022 年 8 月 8 日

This is great plugin. The solution that is not available anywhere is in this plugin.

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

### 󠀁[Best ever plugin for history](https://wordpress.org/support/topic/best-ever-plugin-for-history/)󠁿

 [eccosea](https://profiles.wordpress.org/eccosea/) 2021 年 8 月 31 日 1 回复

Very usefull plugin! But its not full compatible with newest WP version. Some features
is broken (filter list). And it will be very good if add some features like total
history off all product changes. Author seems to be left this project… Please come
back!

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

### 󠀁[Does what it says..kinda..](https://wordpress.org/support/topic/does-what-it-says-kinda/)󠁿

 [markomark](https://profiles.wordpress.org/markomark/) 2021 年 2 月 12 日

Such a basic function that Woo lacks. Very nice overall. Unfortunately lack of user
docs. Worked only under ADMIN user role for me. History is in the product edit page-
would be nice as a table per SKU/INV# that you can access on the backend under the
WOOCOMMERCE menu stack. [I.E; example UI – https://wordpress.org/plugins/atum-stock-
manager-for-woocommerce/ ]

 [ 阅读所有8条评价 ](https://wordpress.org/support/plugin/inventory-history/reviews/)

## 贡献者及开发者

「Inventory History」是开源软件。 以下人员对此插件做出了贡献。

贡献者

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

「Inventory History」插件已被翻译至 1 种本地化语言。 感谢[所有译者](https://translate.wordpress.org/projects/wp-plugins/inventory-history/contributors)
为本插件所做的贡献。

[帮助将「Inventory History」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/inventory-history)

### 对开发感兴趣吗?

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

## 更新日志

#### 0.1.2

Fix: Now order_id is logged correctly for customer orders paid by any third-party
gateway

#### 0.1.1

New: Added new filter ‘wcih_bypass_log’ to bypass logging process

#### 0.1.0

Initial release

## 额外信息

 *  版本 **0.1.2**
 *  最后更新：**6 年前**
 *  活跃安装数量 **100+**
 *  WordPress 版本 ** 5.0 或更高版本 **
 *  已测试的最高版本为 **5.4.24**
 *  PHP 版本 ** 7.1 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/inventory-history/) 和 [Portuguese (Brazil)](https://br.wordpress.org/plugins/inventory-history/).
 *  [翻译成简体中文](https://translate.wordpress.org/projects/wp-plugins/inventory-history)
 * 标签
 * [products](https://cn.wordpress.org/plugins/tags/products/)[stock history](https://cn.wordpress.org/plugins/tags/stock-history/)
   [stock log](https://cn.wordpress.org/plugins/tags/stock-log/)[woocommerce](https://cn.wordpress.org/plugins/tags/woocommerce/)
 *  [高级视图](https://cn.wordpress.org/plugins/inventory-history/advanced/)

## 评级

 4.1 星（最高 5 星）。

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

[您的评价](https://wordpress.org/support/plugin/inventory-history/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/inventory-history/reviews/)

## 贡献者

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

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/inventory-history/)