=== VariantNinja - Bulk Variation Price Editor ===
Contributors: variationxninja
Tags: woocommerce, bulk edit, variations, pricing, variable products
Requires at least: 5.8
Tested up to: 7.0
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

VariantNinja lets you bulk edit WooCommerce variation prices by product or by attribute. Update hundreds of variations in seconds without touching them one by one.

== Description ==

If you manage a WooCommerce store with variable products, you know how tedious it is to update prices across dozens or hundreds of variations. Change your supplier cost, run a sale, or apply a price increase — and you're stuck clicking through each variation individually.

**VariantNinja** fixes that. Update all your variation prices from one clean interface in seconds.

= Two ways to filter =

**By Attribute** — select an attribute (e.g. Size) and a term (e.g. Large), and load every matching variation across your entire catalogue. Perfect for store-wide price changes like "increase all Large variants by 10%".

**By Product** — search for a specific variable product and edit all its variations in one grid.

= Inline editing =

Prices load in an editable grid. Click any price cell and type the new value. Changed rows highlight so you always know what's been modified. Hit **Save All Changes** when ready — only changed rows are sent to the server.

= Bulk actions =

- **+10% Regular** — increase all regular prices by 10%
- **-10% Regular** — decrease all regular prices by 10%
- **Clear Sale** — remove all sale prices from the current view
- **Set all Regular to** — type a value and apply it to every row at once
- **Set all Sale to** — same for sale prices

= Built for real stores =

- Paginated results (100 per page) — handles stores with thousands of variations
- Saves only changed rows — efficient and fast
- Clears WooCommerce price caches after saving so changes appear immediately
- Fully compatible with WooCommerce High Performance Order Storage (HPOS)
- Works entirely within your WordPress admin — no external services, no data leaves your server

== Installation ==

1. Upload the `variantninja` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** screen in WordPress
3. Go to **WooCommerce > VariantNinja** to get started

== Frequently Asked Questions ==

= Does this work with stores that have hundreds of variations? =

Yes. Variations load 100 per page via AJAX, so there is no practical limit.

= Can I target variations across multiple products at once? =

Yes. Use the **Filter by Attribute** tab — select an attribute and term (e.g. Color: Red) and every matching variation across your entire store loads in the grid.

= Will it break my existing sale prices if I only want to update regular prices? =

No. The save function only updates the fields that were changed. If you only edit a regular price cell, the sale price for that variation is untouched.

= Is WooCommerce HPOS supported? =

Yes, VariantNinja declares full compatibility with WooCommerce High Performance Order Storage.

= Does any data leave my site? =

No. Everything runs inside your WordPress admin via standard AJAX. No external API calls are made.

== Screenshots ==

1. Plugin header and filter interface
2. Inline price editing grid with bulk action bar
3. Filter by Attribute mode — edit all matching variations across the catalogue

== Changelog ==

= 1.0.0 =
* Initial release
* Filter variations by product or by attribute and term
* Inline price editing grid — edit regular and sale prices directly
* Bulk actions: +10%, -10%, clear sale, set all to a fixed value
* Paginated results (100 per page)
* Saves only changed rows, clears WooCommerce price caches on save
* HPOS compatible

== Upgrade Notice ==

= 1.0.0 =
Initial release.
