內容簡介
預設情況下,WooCommerce 不會保存任何產品庫存變更的日誌或歷史記錄。這意味著任何具有 WC 產品編輯許可權的人都可以在不被記錄的情況下操縱庫存數量。
WooCommerce 庫存歷史解決了這個問題,並增加了額外的功能來監控產品庫存數量的變化。
本外掛盡可能記錄顧客或管理員在下單、編輯產品或編輯訂單時造成的每次庫存變更。
網站管理員可以從管理儀表板查看每個產品的庫存歷史,並根據事件類型、訂單 ID 或產品變體(對於變體產品)過濾日誌。
每個日誌都包含有關事件的信息,包括顧客或管理員用戶 ID、舊庫存量、庫存變更、新庫存量、事件類型、日期和訂單 ID。
觸發事件
產品:已創建
產品變體:已創建
產品:庫存已更新
產品:庫存已管理
產品:庫存已取消管理
變體:庫存已更新
變體:庫存已管理
變體:庫存已取消管理
訂單:顧客下單
訂單編輯:添加商品
訂單編輯:移除商品
訂單編輯:商品退貨
訂單編輯:保存商品
訂單編輯:訂單已更新(訂單退款、退款取消等)
由使用 WooCommerce 標準功能的第三方外掛導致的任何其他庫存數量更改
需求
要使 WooCommerce 庫存歷史平穩運行,需使用 PHP 版本 7.1 或以上和 WooCommerce 版本 4.0 或以上。
外掛標籤
開發者團隊
原文外掛簡介
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.
