=== WooCommerce Stock Audit Log ===
Contributors: your-wp-org-username
Tags: woocommerce, stock, inventory, audit, logging
Requires at least: 5.8
Tested up to: 6.6
Requires PHP: 7.4
Stable tag: 1.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Log and audit every stock movement in WooCommerce – orders, refunds, manual edits, and POS. Includes filterable log table, per-product timeline, and CSV/Excel export.

== Description ==

(Your longer marketing description here – you can base it on the promo above)

Key features:

* Track stock changes from orders, refunds, manual edits, and POS events
* Filter by product, category, warehouse, and user
* Sortable, searchable DataTables log
* CSV & Excel export
* Per-product movement timeline

= Upgrade to Premium =

The free version is fully functional. The Premium upgrade adds:

* Retroactive rebuild of stock history from past orders & refunds
* Batched processing for large stores
* Multi-warehouse & POS-aware stock reconstruction
* Automatic mismatch detection and email alerts

Learn more about Premium:
https://yourdomain.com/plugins/woocommerce-stock-audit-log/

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/wc-stock-audit-log` directory, or install via the Plugins screen in WordPress.
2. Activate the plugin through the *Plugins* screen in WordPress.
3. Go to **WooCommerce → Stock Audit Log** to view logs and configure settings.

== Frequently Asked Questions ==

= Does this work without the Premium license? =

Yes. The free version logs future stock changes and gives you a full audit log, filters, and CSV/Excel export. Premium is optional and adds advanced features like historical rebuild and mismatch detection.

= How do I enable the Premium features? =

Install/activate your existing license manager plugin and add a valid license for this plugin. When the license is active, the Premium features are automatically unlocked.

== Screenshots ==

1. Main stock audit log with filters and DataTables UI
2. Product-level movement timeline
3. Pro rebuild controls and progress bar

== Changelog ==

= 1.2.0 =
* New: DataTables-based UI with sorting, search, CSV/Excel export
* New: Autocomplete filters for product, category, user
* New: User tracking in the audit log
* Improvement: Better Pro rebuild handling and mismatch detection

= 1.1.0 =
* Initial public version
