=== OrderCRM for WooCommerce ===
Contributors: timon-dimon
Tags: order management, woocommerce, sales dashboard, customer management, sales reports
Requires at least: 5.6
Tested up to: 7.0
Requires PHP: 8.0
Stable tag: 3.3.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Requires Plugins: woocommerce

WooCommerce frontend CRM: filter orders, search customers, and view sales charts—no WordPress admin access required.

== Description ==

OrderCRM for WooCommerce transforms your store's order management into a powerful, standalone frontend dashboard. Sales managers can filter orders by status, date, or customer, perform quick searches, and view detailed sales reports with interactive charts — all without accessing the WordPress admin area. Perfect for medium-sized businesses handling up to 1,000 orders per month.

== Why OrderCRM? ==

* 🚀 **Frontend Dashboard** — No admin access required. Your sales team works from a secure, custom interface.
* 🔍 **Advanced Filters** — Filter orders by status, date range, customer name, or order ID in seconds.
* ⚡ **Quick Search** — Find orders and clients instantly with our fast search engine.
* 📊 **Sales Reports** — Visualize revenue trends with beautiful charts and period-based reports.
* 🔒 **Secure by Design** — Sales managers get only the tools they need — no accidental site breakage.

= Recommended Plugins =

For full functionality, we recommend installing these additional plugins:
* **Advanced Shipment Tracking (Free)** - For tracking number management
* **WooCommerce PDF Invoices & Packing Slips** - For invoice generation

== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/ordercrm-for-woocommerce` directory, or install through WordPress admin panel (the package includes Composer dependencies under `vendor/` for PDF export — no server-side `composer install` is required for typical ZIP installs)
2. Activate the plugin through the 'Plugins' menu in WordPress (PHP **GD** and **mbstring** extensions are required — activation will stop with a clear message if they are missing)
3. Configure the plugin settings under **OrderCRM** in your admin panel
4. Set up order status groups in the 'Statuses' tab

== Frequently Asked Questions ==

= Does this plugin work with custom order statuses? =

Yes! The plugin is designed to work with any custom order statuses, including those created by other plugins like Advanced Shipment Tracking.

= How do I configure order status groups? =

Go to OrderCRM → Settings → Statuses in your admin panel. You can organize statuses into three groups: "In Progress", "Completed", and "Cancelled".

= Will updating the plugin affect my existing orders? =

No. The plugin includes an automatic update system that safely migrates order statuses without data loss.

= Is this plugin compatible with other WooCommerce plugins? =

Yes, the plugin is designed to work alongside other WooCommerce plugins without conflicts.

= What are the system requirements? =

* WordPress 5.6 or higher
* WooCommerce 5.0 or higher
* PHP 8.0 or higher
* PHP extensions **GD** and **mbstring** (required for sales report PDF export via mPDF)

= Is report PDF stored on the server in uploads? =

No. The PDF is generated on demand and sent in the AJAX response only; it is not saved as a public file in the media library or uploads folder, to reduce exposure of commercial data.

== Screenshots ==

1. Dashboard overview of orders in progress
2. Single order management screen
3. All orders list with filtering panel
4. Customer list with search and profiles
5. Product catalog — view and manage store items
6. Sales reports with period filters and product demand summary
7. Manager activity log for CRM users
8. Plugin settings in WordPress admin

== Changelog ==

= 3.3.4 =
* **Official launch** on WordPress.org.
* **Storefront sales dashboard** — view, filter, and search orders; manage customer profiles; browse the product catalog. No wp-admin access required for your sales team.
* **Reports** — sales charts by day, month, quarter, or year; TOP products and categories; optional statistics for selected brands; PDF export for any period.
* **Orders in CRM** — create orders from the dashboard, apply discounts, leave notes, map WooCommerce statuses to your workflow groups, and review manager actions in the activity log.
* **Team permissions** — assign CRM roles so each user sees only the screens and actions they need.
* **WooCommerce-ready** — HPOS support; works with Advanced Shipment Tracking and popular invoice plugins; customers receive email when a manager updates order status.
* **Requirements** — WooCommerce 5.0+, PHP 8.0+ (GD and mbstring for PDF export); tested with WordPress 7.0.

== Upgrade Notice ==

= 3.3.4 =
First public release on WordPress.org. Install into the folder `ordercrm-for-woocommerce` (PHP 8.0+). Then open **OrderCRM** in wp-admin to set status groups and CRM user access.


== Support ==

For support and feature requests, please use the [WordPress.org support forum](https://wordpress.org/support/plugin/ordercrm-for-woocommerce/) for this plugin.

== Credits ==

Developed by [Dima Dumchikov](http://facebook.com/dima.dumchikov)

== License ==

This plugin is licensed under the GPL v2 or later.
