=== Quarkcode NeuralCommerce Lite - Profit Analytics & Cost Intelligence Hub ===
Contributors: vortexplaytv
Tags: woocommerce, profit analytics, cogs, margin, clv
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.8
Requires PHP: 7.4
License: GPLv3
License URI: http://www.gnu.org/licenses/gpl-3.0.txt

Accurate WooCommerce profit analytics by tracking real costs, margins, and net profit — not just revenue.

== Description ==

**Stop guessing your WooCommerce profits. Start seeing the truth.**

WooCommerce shows revenue — not real profit.
QuarkCode NeuralCommerce Lite adds true profit analytics to WooCommerce by tracking product costs (COGS), fees, discounts, and margins, so you can see actual net profit per order and product and make smarter pricing decisions.

**QuarkCode NeuralCommerce Lite** helps you understand *where your money is really going* by combining:
- Product costs (COGS)
- Order-level fees
- Discounts
- Taxes
- Shipping impact

So you can price smarter, cut losses, and grow sustainably.

---

### 🔍 What This Plugin Does

NeuralCommerce Lite adds a **profit intelligence layer** on top of WooCommerce, helping store owners answer critical questions like:
- Which products are actually profitable?
- Am I losing money after fees and discounts?
- What are my real margins per order?

All from inside your WordPress dashboard.

---

### 🚀 Key Features (Lite Version)

* **Order-Level Profit Tracking**
  - See gross profit, net profit, and margin for each WooCommerce order.

* **Product Cost (COGS) Management**
  - Add cost price to simple and variable products.

* **Bulk Cost Updates**
  - Update product costs using percentage-based rules or CSV import.

* **Profit Dashboard**
  - Clean overview of revenue vs profit to identify weak spots quickly.

* **WooCommerce-Native**
  - No external services, no data sharing — runs fully inside WordPress.

* **Lightweight & Secure**
  - Built using WordPress coding standards with performance in mind.

---

### 🎯 Who Is This Plugin For?

✔ WooCommerce store owners who want **real profit clarity**  
✔ Agencies managing multiple WooCommerce stores  
✔ Merchants optimizing pricing and margins  
✔ Anyone tired of confusing revenue-only reports  

---

### 💡 Why NeuralCommerce?

Revenue is vanity. **Profit is reality.**

NeuralCommerce focuses on *decision-grade data* — the numbers that actually matter when running a store.

---

### 🔓 Lite vs Pro

This is the **Lite version** of QuarkCode NeuralCommerce.

The **Pro version** (optional upgrade) adds:
- Advanced profit breakdowns
- Category & customer-level analytics
- Automation & alerts
- Deeper reporting

👉 Upgrade is **not required** to use the Lite version.

---

### 📦 Getting Started

1. Install the plugin
2. Add cost prices to your products
3. View profit insights inside WooCommerce

That’s it.

---

== Installation ==

1. Upload the plugin folder to `/wp-content/plugins/`, or install directly via the Plugins screen.
2. Activate the plugin through the ‘Plugins’ menu in WordPress.
3. Navigate to **WooCommerce → NeuralCommerce** to configure settings.
4. Add cost prices to your products to start seeing profit analytics.

---

== Frequently Asked Questions ==

= Does this plugin work with WooCommerce out of the box? =
Yes. It is built specifically for WooCommerce and integrates automatically once activated.

= Does it track real net profit? =
Yes. Profit is calculated after considering product costs and order-level adjustments.

= Is this plugin free? =
Yes. This is the Lite version and is completely free to use.

= Does it slow down my website? =
No. The plugin is optimized and runs locally without external API calls.

= Is customer data sent anywhere? =
No. All calculations are done within your WordPress installation.

---

== Screenshots ==

1. **Dashboard**: Comprehensive overview of real-time net profit and margins.
2. **Product Costs**: Easy-to-use interface for managing product costs and fees.
3. **Order Profit Breakdown**: Detailed breakdown of profit or loss for an order.
4. **Order Profitability**: Process all the orders and check whether they are profitable or not.
5. **Profit Reports**: Detailed Analytics of orders by products, categories, customers, time
6. **Profit Reports**: Detailed Analytics of orders by products, categories, customers, time
7. **Margin Alerts**: Email notifications for margin drops and critical updates.

== Changelog ==

= 1.0.8 =
* FIXED: static calls to Logger::log by instantiating QCNC_Logger
* ADDED: cleanup_old_logs method to QCNC_Logger

= 1.0.7 =
*   Initial Release.
