=== WPC Smart Inventory Manager ===
Contributors: wpclever
Donate link: https://wpclever.net
Tags: woocommerce, inventory, stock, management, profit
Tested up to: 6.9
Version: 1.0.1
Stable tag: 1.0.1
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

A centralized inventory management dashboard for WooCommerce with stock tracking, bulk actions, profit analytics, and CSV export.

== Description ==

**WPC Smart Inventory Manager** provides a dedicated Stock Central dashboard for WooCommerce stores, allowing you to view, edit, and manage all product inventory from a single screen — without navigating to individual product pages.

= Key Features =

* **Stock Central Dashboard** – A centralized table view for all product stock data, including simple products, variable products, and their variations.
* **Inline Quick Editing** – Edit stock quantity, SKU, barcode (GTIN), regular price, sale price, backorder settings, and manage stock toggle directly from the table.
* **Bulk Stock Actions** – Select multiple products and apply bulk actions: set stock to a specific value, increase/decrease by amount, enable/disable manage stock.
* **Stock Status Filters** – Filter products by stock status (in stock, low stock, out of stock), product type, and manage stock setting.
* **Stock Change History** – Every stock change is logged with old/new values, change amount, reason, user, and timestamp for full traceability.
* **Stock Trend Charts** – View stock history as a visual chart to identify trends and patterns over time.
* **Dashboard Alerts Widget** – A WordPress dashboard widget showing low stock and out of stock product counts at a glance.
* **CSV Export** – Export your current inventory view (with active filters) to a CSV file for offline analysis or reporting.
* **Product Type Support** – Configure which product types appear in Stock Central (simple, variable, grouped, external, or custom types from other plugins).
* **Customizable Columns** – Choose which extra columns to display: SKU, barcode, regular price, sale price, backorders, manage stock, sold individually, and more.

= How It Works =

1. Install and activate the plugin.
2. Navigate to **Stock Central** in the WordPress admin menu to view all products.
3. Click on any field to edit it inline — changes are saved via AJAX instantly.
4. Use the filters and search to narrow down products, then apply bulk actions as needed.
5. Enable **Profit Intelligence** in settings to track costs and view profit analytics.

== Installation ==

1. Upload the plugin folder to the `/wp-content/plugins/` directory, or install the plugin through the WordPress plugins screen.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Ensure WooCommerce is installed and activated.
4. Navigate to **WPClever > Inventory Manager** to configure settings.
5. Navigate to **Stock Central** to start managing your inventory.

== Changelog ==

= 1.0.1 =
* Fixed chart.js version, register_setting(), and prefix

= 1.0.0 =
* Initial release.

