| 开发者 | webenginedev |
|---|---|
| 更新时间 | 2026年9月12日 02:18 |
| PHP版本: | 7.4 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
manage_woocommerce capability with nonce protection.
Yes — that's the point. Expanding a variable product shows one stock editor and one price editor per variation, and the parent re-syncs after each save.
The regular price must be a valid non-negative number; the sale price is optional, must be lower than the regular price, and clearing the field removes the sale. Decimal commas and thousands separators are normalized in both conventions.
Yes, and you can edit them inline too: each row has a backorders selector (do not allow / allow but notify / allow). Quantities are saved through the WooCommerce CRUD, which recomputes the stock status using the product's backorder configuration — set a managed quantity to zero with backorders allowed and the status flips to "on backorder" by itself.
Anyone with the manage_woocommerce capability (shop managers and administrators).