=== LioX Web Bulk Editor for WooCommerce ===
Contributors: lioxweb
Tags: woocommerce, bulk editor, product editor, stock, prices
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 8.0
WC requires at least: 9.6
WC tested up to: 11.1
Stable tag: 1.0.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Safely edit WooCommerce products in bulk with Preview, history, conflict-aware Undo, filters, and quick row editing.

== Description ==

LioX Web Bulk Editor provides a focused WooCommerce administration screen for managing products individually or in bulk.

Every bulk operation must pass through a read-only Preview before it can be applied. Applied changes are recorded in History and can be reverted through a conflict-aware Undo Preview.

WooCommerce is a trademark of Automattic Inc. This independent plugin is not affiliated with or endorsed by Automattic Inc.

= Product selection and filters =

* Search by product name, SKU, or ID.
* Filter by category, tag, brand, global attribute, custom product taxonomy, product type, status, and stock status.
* Select visible products or all matching parent products across paginated results.
* Bounded operations with a maximum of 200 selected parent products.
* Optional variation rows for direct variation selection.

= Bulk editing =

* Categories, tags, brands, global attributes, and supported custom product taxonomies.
* Add, remove, replace, or clear terms, with term creation where the taxonomy allows it.
* Regular price, sale price, or both.
* Percentage increase/decrease, fixed increase/decrease, and exact values.
* Currency-aware rounding options.
* Stock quantity, stock management, stock status, backorders, and low-stock threshold.
* Product title, slug, SKU, status, catalog visibility, featured status, descriptions, and short descriptions.
* Sale start and end dates.
* Weight, dimensions, tax status, tax class, and shipping class.
* Simple products and variable products through their variations.

= Safety and administration =

* Read-only Preview before every write.
* Optimistic conflict checks before Apply and Undo.
* Auditable History with automatic retention settings.
* Default history cleanup after 30 days, with configurable retention or indefinite storage.
* One active write operation at a time.
* Capability and nonce protection for every administrative action.
* WooCommerce CRUD APIs for product writes and cache synchronization.
* HPOS compatibility declaration.

== Installation ==

1. Upload the plugin ZIP through Plugins > Add New > Upload Plugin.
2. Activate the plugin while WooCommerce is active.
3. Open the independent Bulk Editor menu in WordPress administration.
4. Review Settings before running the first bulk operation.
5. Always create and inspect a Preview before applying changes.

== Frequently Asked Questions ==

= Does the plugin change prices immediately? =

No. A Preview is required before an operation can be applied.

= Can I undo a bulk operation? =

Yes. Applied operations can create a safe Undo Preview. Products changed after the original operation are excluded as conflicts instead of being overwritten blindly.

= Does it support variable products? =

Yes. Price, inventory, sale-date, and compatible property changes are applied to variations rather than writing synthetic prices to the variable parent.

= How long is History retained? =

The default is 30 days. Settings allow 30, 90, 180, or 365 days, or indefinite retention. Administrators can also permanently clear stored History after explicit confirmation.

= Can it edit every product on a very large store at once? =

Each operation is intentionally limited to 200 selected parent products. Use filters and several smaller operations for larger catalogs.

== Screenshots ==

1. Product Editor with filters, configurable pagination, and spreadsheet-style product rows.
2. Contextual quick editor for individual price and inventory changes.
3. Bulk editor for prices, inventory, product details, shipping, tax, and taxonomy terms.
4. Mandatory Preview showing every before and after value before Apply.
5. Operation History with detailed results and conflict-aware safe Undo.
6. Settings for page size, rounding, visible columns, variations, and History retention.

== Changelog ==

= 1.0.2 =

* Hardened nested Settings input validation and sanitization.
* Re-audited protected request handlers for nonce and capability checks.
* Sanitized read-only query arguments and adopted SQL identifier placeholders throughout the audit repository.
* Removed inaccessible Plugin URI metadata.

= 1.0.1 =

* Prepared the plugin for WordPress.org directory review.
* Added translator guidance for placeholder-based strings.
* Documented intentional exception-message escaping and direct database access used by the audit repository.
* Updated plugin metadata and project links.

= 1.0.0 =

* Initial stable release.
* Added spreadsheet-style product and variation listing with configurable pagination and columns.
* Added contextual quick editing for prices, inventory, titles, and SKU.
* Added bulk product details, pricing, inventory, sale-date, shipping, tax, and taxonomy actions.
* Added category, tag, brand, attribute, taxonomy, type, status, stock, and search filters.
* Added all-matching selection across paginated filtered results with a server-side safety limit.
* Added mandatory Preview, operation History, conflict-aware Undo, locking, and retention controls.

== Upgrade Notice ==

= 1.0.2 =

Input-validation and plugin-metadata corrections for WordPress.org review.

= 1.0.1 =

WordPress.org compliance and metadata update. Product editing behavior is unchanged.

= 1.0.0 =

Initial stable release. Test bulk operations on a staging site and keep a current database backup.
