=== Cogsmith Ledger for WooCommerce ===
Contributors: macdaryn
Tags: woocommerce, cogs, profit, stock, reports
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

COGS, profit & margin reports for WooCommerce.

== Description ==

A polished analytics layer for WooCommerce that fills the gaps in native reporting: profit/margin tracking based on COGS, stock velocity with reorder-point suggestions, low-stock alerting, and beautiful CSV/XLSX/PDF/HTML exports.

= Free features =
* Sales dashboard with revenue, orders, AOV and items sold — each with period-over-period delta and sparkline.
* Daily revenue chart, top products by units and revenue, low/out-of-stock counts, inventory value.
* Tabbed reports (Top Products, Categories, Slow Movers).
* Two-table stock page with status pills and quick edit links.
* Customisable low-stock threshold, email recipients, daily digest or immediate alerts.
* Dashboard widget with mini stats and sparklines.

= Pro features =
* **Profit & margin dashboard** — reads WooCommerce 10.3+ COGS field, surfaces "selling well, losing money" products.
* **Stock velocity & reorder points** — rolling daily averages, days-of-stock, suggested reorder dates.
* **Weekly sales digest email** with WoW deltas.
* **Variation-level breakdowns** in Top Products.

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/` or install through Plugins → Add New.
2. Activate.
3. Cogsmith Ledger appears in the WordPress admin menu.

== Changelog ==

= 1.0.0 =
* Initial release.
