=== Webengine Bulk Pricing for WooCommerce ===
Contributors: webenginedev
Tags: woocommerce, bulk edit, prices, sale, flash sale
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Bulk edit regular prices, sale prices and scheduled flash sales across products and variations, with psychological rounding and a preview step.

== Description ==

Webengine Bulk Pricing for WooCommerce adds a screen under **Products → Bulk Price Editor** to update prices on many products at once:

* **Regular price**: set a fixed price, or increase/decrease by a percentage or a fixed amount.
* **Sale price**: set a fixed sale price or a percentage discount off the regular price.
* **Flash sales**: sale price or discount **plus start/end dates**, interpreted in your site's timezone.
* **Clear** sale prices and dates in one click.
* **Psychological rounding**: nearest cent, whole number, or prices ending in .99 / .95 / .50.
* **Variable products**: every variation is updated and the parent price range is re-synced automatically.
* **Preview before saving**: a before/after table shows exactly what will change (and what will be skipped, and why) — nothing is written until you confirm.
* Filter by search (product name **or SKU**), category, on-sale status; select per page up to 200 products.

The plugin stores no data of its own: it only updates standard WooCommerce product fields, and leaves nothing behind on uninstall.

= Safety rails =

* A sale price is never saved above the regular price — even after rounding.
* Prices can never go negative.
* Changing a regular price below the current sale price clears the sale price.
* Everything runs under the `manage_woocommerce` capability with nonce protection.

== Frequently Asked Questions ==

= Does it work with variable products? =

Yes. Selecting a variable product applies the action to every variation, then re-syncs the parent's min/max price range.

= Are flash sale dates in my timezone? =

Yes, dates are interpreted in the site's timezone (Settings → General), matching what WooCommerce displays.

= Does it support custom product types? =

The list shows all WooCommerce products. Actions apply to any product type that uses standard regular/sale price fields (simple, variable, external...).

= Is it compatible with HPOS? =

Yes. The plugin only touches product data and declares compatibility with High-Performance Order Storage.

== Screenshots ==

1. The product list with filters and the action form.
2. The preview step: before/after prices, and skipped items with the reason.

== Changelog ==

= 1.0.1 =
* Fix: variation names in the preview table could show raw markup coming from get_formatted_name().

= 1.0.0 =
* Initial release.
