Linux 软件免费装
Banner图

Stock Control for WooCommerce

开发者 oacstudio
conschneider
更新时间 2026年7月17日 00:36
PHP版本: 7.4 及以上
WordPress版本: 7.0
版权: GPLv2 or later
版权网址: 版权信息

标签

woocommerce bulk edit stock inventory stock log

下载

1.0.0 1.1.0 1.1.1

详情介绍:

Stock Control adds two things to your store: Stock Overview (Products > Stock Overview) - one table with every product and variation. Edit stock quantity, low stock threshold, stock status, backorders and "Manage stock?" inline, then save a single row or all checked rows at once. No more opening every product one by one. Stock Log (Products > Stock Log) - every stock change is recorded: who changed it (orders and automated changes show as "System"), the new stock values and when it happened. Entries for deleted products stay in the log. All changes are written through the WooCommerce product API, so lookup tables, caches and variable-product syncing behave exactly as if you had saved the product edit screen. Settings (WooCommerce > Settings > Stock Control): Both screens are available to shop managers and administrators.

安装:

  1. Upload stock-control.zip to the /wp-content/plugins/ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the 'Plugins' menu in WordPress.
  3. Navigate to Products > Stock Overview to start editing.
  4. Navigate to Products > Stock Log to view stock log entries.

屏幕截图:

  • Stock Log - every stock change with user and timestamp.
  • Settings - parent inventory toggle, automatic log purge, delete all entries.

升级注意事项:

1.1.0 Security release: the stock save endpoint was usable by any logged-in user. Also fixes the log purge, variation logging, search, and front-end 404s.

常见问题:

Which stock changes are logged?

Everything that goes through WooCommerce's stock hooks: edits made on the Stock Overview screen, the product edit screen, other plugins, and automatic changes such as order stock reduction. Changes without a logged-in user (orders, cron, API) show "System" as the user.

Why does the stock status jump back when "Manage stock?" is checked?

That is WooCommerce core behavior: while stock is managed, WooCommerce derives the status from the quantity and the backorder setting on every save (the product edit screen hides the status field entirely in that case). The Stock Overview greys the status dropdown out for managed rows. Uncheck "Manage stock?" to set the status by hand.

Who can use the screens?

Users with the manage_woocommerce capability - shop managers and administrators.

Does it work with High-Performance Order Storage (HPOS)?

Yes. The plugin only touches products, never orders, and declares HPOS compatibility.

Are variations supported?

Yes. Variations appear as their own rows on the Stock Overview, and variation stock changes are logged.

Does deleting the plugin remove its data?

Deactivating keeps everything. Deleting the plugin (uninstall) drops the stock log table and removes all plugin options.

更新日志:

1.1.1 1.1.0 1.0.0