=== Product Revisions for WooCommerce ===
Contributors: saascopl
Tags: woocommerce, products, revisions, history, changelog
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Automatic change history for WooCommerce products. See what changed, who changed it and from where — and compare any version with the current state.

== Description ==

Product Revisions for WooCommerce keeps a complete, automatic history of your product changes and answers three questions no store owner should have to guess about:

1. **What changed?** A clear, human-readable comparison of every version: prices, descriptions, stock settings, images, attributes, variations and more.
2. **Who changed it, when, and from where?** Every version records the author and the source of the change — the product editor, quick edit, bulk edit, the REST API, WP-CLI, an import, or another plugin.
3. **How do I get back to the previous state?** Compare any version with the current state to see exactly what would change. Restoring a version is provided by the separate Pro add-on.

= Safe by design =

* A plugin error can never block saving your products — tracking fails safe and steps aside.
* History is never rewritten: every change is a new version, and the versions written before it stay untouched.
* Stock movements caused by orders are recorded separately from editorial changes, so your history is not flooded by sales.

= Built for real stores =

* Works out of the box — no configuration required.
* Designed for performance: change detection adds a few milliseconds to a product save; browsing history adds nothing to your storefront.
* Deduplicated, compressed storage with automatic retention (90 days / 50 versions per product) and a storage monitor.
* Grouped bulk operations: a CSV import shows up as one operation, not five thousand entries.
* No external services, no telemetry, no data ever leaves your site.
* Compatible with WooCommerce High-Performance Order Storage (HPOS).

= What is tracked =

Simple, variable, grouped and external products: general data, descriptions, prices, inventory settings, shipping, tax, categories and tags, images, attributes, linked products, downloadable files and every variation.

= Free vs Pro =

Product Revisions for WooCommerce records the complete history of every product — without limits: unlimited versions, full comparisons, authors and sources. Restoring a previous version (full or selective, with a safety version and conflict detection) is provided by the separate [Product Revisions Pro](https://productrevisions.com/) add-on.

== Frequently Asked Questions ==

= I installed the plugin — why can't I see older changes? =

History starts at the moment of installation — versions from before the installation do not exist and cannot be recreated. Right after activation the plugin records a base version of every existing product in the background, so even your first edit shows a full comparison.

= Does the plugin back up my images and files? =

No. The plugin records **references** to images and downloadable files, never copies of the files themselves. If an image is deleted from the media library, the history still shows which image was used. It is not a backup plugin.

= Will it slow down my store? =

No. The storefront is untouched. Saving a product performs a few milliseconds of extra work, and heavy tasks (like retention cleanup) run in the background.

= What happens to my data when I uninstall the plugin? =

By default the history stays in the database, so reinstalling brings it back. If you prefer, enable "delete all data on uninstall" in the settings before removing the plugin.

= Is any data sent anywhere? =

No. The free plugin makes no external connections of any kind and collects no telemetry.

= Are changes written directly to the database (bypassing WooCommerce) detected? =

No. Changes made with raw SQL that bypass the WooCommerce product API are not visible to this plugin.

== Screenshots ==

1. Version history on the product edit screen: what changed, who changed it, when and from where.
2. Version details: every changed field, with text changes highlighted.
3. Comparison of an older version with the current state of the product.
4. The "Versions" column on the products list.
5. Settings: tracked sections, retention and history size.

== Changelog ==

= 0.1.0 =
* Initial release: automatic product change tracking, version history with human-readable comparisons, sources and authors, comparison with the current state, batch grouping for imports, retention with background cleanup, settings screen, public extension API (contract 2.0).
