=== Webengine Quick Edit for WooCommerce ===
Contributors: webenginedev
Tags: woocommerce, quick edit, stock, price, variations
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Edit stock and prices directly from the products list — inline quantities, stock status, regular and sale prices, variations included.

== Description ==

Updating stock or prices in WooCommerce normally means opening every single product — and for variable products, expanding every variation. This plugin adds two inline columns to the native products list:

**Quick stock**

* Every product and variation gets the full stock toolkit inline: a quantity field, a stock status selector (in stock / out of stock / on backorder) and a backorders selector (do not allow / allow but notify / allow).
* Type a quantity and press Enter (or ✓): stock management switches on and the quantity is saved. Pick a status: it applies immediately and switches the product back to manual status. Change the backorders mode: it applies immediately and drives what happens when a managed quantity reaches zero. The last control you use wins — no need to open the product to flip how its stock works.
* Saves through the WooCommerce CRUD: the stock status badge updates by WooCommerce's own rules (backorder settings included) and the standard stock hooks fire — back-in-stock plugins and syncs keep working.

**Quick price**

* Regular and sale price inline, with safety rails: a sale price is refused when it is not lower than the regular price, and decimal commas are handled (typing "19,99" works whatever the shop's separator settings).
* The effective displayed price refreshes immediately after saving.

**Variable products**

* One click expands the row into a panel listing **every variation with its own stock and price editors**; the parent's price range and stock display re-sync after each save.

Everything happens inside the native list — your filters, search, sorting and pagination stay untouched. No new screen, no settings, no custom tables: the plugin stores nothing of its own. All updates run behind the `manage_woocommerce` capability with nonce protection.

== Frequently Asked Questions ==

= Does it handle variable products? =

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.

= What are the price validation rules? =

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.

= Does it respect backorder settings? =

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.

= Can shop staff use it? =

Anyone with the `manage_woocommerce` capability (shop managers and administrators).

== Screenshots ==

1. The Quick stock and Quick price columns in the products list.
2. A variable product expanded with per-variation stock and price editors.

== Changelog ==

= 1.0.0 =
* Initial release.
