| 开发者 | beziworld |
|---|---|
| 更新时间 | 2026年10月11日 19:49 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
≥ when some variations are unmanaged)/wp-json/bzim/v1/ for headless, mobile and WMS integrationswp bzim list/set/report/forecast/alerts)wp bzim forecast)manage_woocommerce), nonce-protected AJAX endpoints.pot)/wp-content/plugins/beziworld-inventory-manager-for-woocommerce directory, or install the plugin through the WordPress plugins screen directly.Yes. The plugin manages WooCommerce product stock and will show an admin notice if WooCommerce is not active.
Stock itself lives in WooCommerce product meta and is never touched on uninstall. The plugin's own data (stock history, suppliers, purchase orders, product costs and settings) is kept by default, so you can delete and reinstall the plugin safely. To remove it as well, tick "Delete all plugin data" under Products > Stock Alerts > Plugin data before deleting the plugin.
Yes. Filtering, search and sorting are performed in SQL, objects are batch-primed, and bulk updates are dispatched in batches to avoid timeouts.
Any user with the manage_woocommerce capability (shop managers and administrators by default). The capability can be changed with the bzim/capability filter; it also applies to saving the Stock Alerts and Warehouses settings.
The plugin adds up the units sold in the sales window (30 days by default, set under Products > Stock Alerts > Stock forecast), divides them by the number of days to get the average daily sales, and divides the current stock by that figure. Completed, processing and on-hold orders count; cancelled and failed orders do not, and refunded quantities are subtracted. A product with no sales in the window shows "No recent sales". Variations that share their parent's stock use the parent's total sales. The order statuses can be changed with the bzim/forecast/order_statuses filter.
A header row and one row per order line, comma or semicolon separated. Required columns: reference (rows with the same reference become one purchase order), sku or product_id, and quantity. Optional: unit_cost (12.50 or 12,50), supplier (an existing supplier's name or ID) and notes. Upload it under Products > Purchase Orders > Import from CSV. Every row is checked and shown with its errors; orders are created as drafts only after you confirm.
The most recent bulk update, inline save, CSV stock import or API change that has not been undone yet. Undo reverses the change by its difference, so sales made since then are kept: if a bulk update raised stock from 5 to 10 and 3 units have sold since, undo leaves 2. Receiving a purchase order is not undone this way; cancel or edit the purchase order instead.
wp bzim forecast command. It is based on net units sold (refunds subtracted) over a configurable sales window and works with both HPOS and legacy order storage.