=== ShopCentral - Advanced Multi Store Management & Store Analytics for WooCommerce ===
Contributors: dominopress
Tags: woocommerce, store manager, multi-store management, analytics, advanced coupon
Requires at least: 6.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 2.4.0
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Manage your WooCommerce store with a powerful, centralized dashboard. View analytics, products, orders, and customers in a premium interface.

== Description ==

**ShopCentral** is the ultimate, streamlined **Store Manager and Analytics Suite for WooCommerce**. Designed specifically for ambitious store owners, agencies, and high-volume merchants, ShopCentral replaces the standard, often cluttered WordPress admin view with a lightning-fast, modern dashboard. 

Whether you manage a single high-traffic store or an entire network of WooCommerce sites, ShopCentral gives you the unified "Command Center" you need to take full control of your business. Say goodbye to logging in and out of multiple websites, juggling numerous tabs, and struggling with slow, fragmented data.

### 🏬 Why Store Owners Love ShopCentral

Managing a growing e-commerce business is challenging. As your store scales—or as you add more stores to your portfolio—keeping track of orders, products, and customer behavior becomes incredibly time-consuming. ShopCentral solves this by aggregating your crucial business data into a single, high-performance interface. 

*   **Save Hours of Time:** Manage all your stores from one centralized login. No more jumping between different WordPress admin panels.
*   **Make Data-Driven Decisions:** Instantly see which products are performing best and track your revenue trends across all your sites.
*   **Improve Operational Efficiency:** Process orders, update stock, and analyze customer behavior at blazing fast speeds.
*   **Scale Without Limits:** Built to handle high-volume data without bloating your main site's database, thanks to our smart remote proxy architecture.

### 🚀 Core Features & Capabilities

*   **Premium Store Manager Dashboard:** Experience your WooCommerce store through a beautiful, responsive, state-of-the-art interface that feels like a modern SaaS application.
*   **Central Order Timeline:** Track your orders in a powerful chronological timeline with real-time updates. Quickly spot new sales and monitor fulfillment status across your entire network.
*   **Advanced Order Filters:** Filter orders by status, date, and customer details with high-speed performance. Find exactly what you're looking for in seconds, not minutes.
*   **Unified Analytics & Reporting:** Track your **Revenue**, **Total Orders**, **Top Selling Products**, and sales trends globally. Get a bird's-eye view of your business health without needing expensive external reporting tools.
*   **Comprehensive Product & Stock Overview:** Keep a close eye on your product catalog. Instantly identify low stock or out-of-stock items, monitor product performance, and ensure your inventory is always optimized for sales.
*   **Customer Intelligence:** Analyze customer behavior, identify your most valuable buyers, and segment your audience to generate targeted follow-ups and dramatically improve customer retention.
*   **Marketing & Automation Ready:** Built-in controllers to help you orchestrate marketing campaigns and create robust automation rules directly from your centralized dashboard.
*   **Performance First (No Database Bloat):** ShopCentral uses a highly optimized proxy system for remote data. It fetches data on-the-fly, ensuring your command center site remains lightning fast regardless of how many stores you connect.
*   **HPOS Compatible:** Fully supports WooCommerce High-Performance Order Storage (formerly Custom Order Tables) for maximum scalability.

### 💎 Unlock Even More Power with ShopCentral Pro

Ready to take your e-commerce empire to the next level? Upgrading to **ShopCentral Pro** unlocks enterprise-grade features designed for serious growth:

*   **Connect Multiple Stores:** Seamlessly connect and manage external WooCommerce sites (up to 3 for Personal, 5 for Professional, and Unlimited for Business/Unlimited plans).
*   **Product & Inventory Sync System:** Automatically synchronize products and stock levels across your entire network of connected stores. 
*   **Bulk Clone Products:** Launching a new store? Instantly clone your best-performing products across all your connected sites with a single click.
*   **Global Price Adjustments:** Need to run a network-wide sale or adjust pricing for inflation? Apply global price updates across your entire network instantly.
*   **Advanced Automation Engine:** Create complex, multi-store automation workflows for cart abandonment, post-purchase follow-ups, VIP customer tagging, and more.
*   **Global Coupon Broadcasting:** Create and distribute discount codes across all your stores simultaneously from your central dashboard.


== Installation ==

1. Upload the plugin files to the `/wp-content/plugins/shopcentral` directory, or install the plugin through the WordPress plugins screen directly.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Navigate to the **ShopCentral** menu in your dashboard.
4. Your current site will be added by default to the Store Manager.
5. To connect an external store, generate REST API keys (Consumer Key and Consumer Secret) on your other WooCommerce site (`WooCommerce > Settings > Advanced > REST API`) with 'Read/Write' permissions.
6. Click 'Add Store' in the ShopCentral dashboard and enter the external store's URL and API keys.
7. Switch between active and connected stores to manage them using the shop selector on the top nav bar of the ShopCentral Dashboard.

== Frequently Asked Questions ==

= Is my data sent to a third-party server? =
No. ShopCentral connects your "Command Center" WordPress site directly to your other WooCommerce stores using the WooCommerce REST API. Your store data is not stored on any third-party servers. The optional usage tracking function only collects basic anonymous plugin usage telemetry, which can be easily disabled from the settings.

= Does it sync all orders to my main database? =
No. To preserve your main site's performance, ShopCentral acts as a remote proxy viewer. It fetches remote data on-the-fly when you view the dashboard, preventing massive database bloat on your command center site.

= Is it compatible with High-Performance Order Storage (HPOS)? =
Yes, ShopCentral is fully compatible with WooCommerce HPOS (formerly Custom Order Tables).

== Screenshots ==

1. **Centralized Dashboard** - View aggregated analytics including Revenue, Orders, and Product stats.
2. **Multi-Store Management** - Switch between multiple WooCommerce sites from a single "Command Center" without logging in separately.
3. **Advanced Features Overview** - Access powerful tools like the Automation Engine, Marketing Controller, and Customer Intelligence right within the intuitive interface.
4. **Connect New Store** - Easily add external WooCommerce sites using secure REST API keys.
5. **Orders Overview** - Track orders of remote WooCommerce stores within the single command center.

== Changelog ==

= 2.4.0 =
*   New: Multi-Store connection limits based on Freemius Plan (Personal: 3, Professional: 5, Business: Unlimited).
*   New: Implement product & inventory sync system across all connected store.
*   Improvement: Added store limit information to the dashboard configuration.

= 2.3.0 =
*   New: Standardized label-based Date Picker across all store modules (Today, Yesterday, All Time, etc.).
*   New: Enhanced Pro feature locking with interactive "Click-to-Upgrade" modals for premium buttons.
*   Improvement: Synchronized "All Time" date range defaults across the entire dashboard.
*   Security/UX: Restricted Global Coupon broadcasting and Automation Rules to Pro users with improved UI feedback.
*   Fix: Resolved layout and syntax issues in Order and Product list view components.

= 2.2.0 =
*   Release: Version 2.2.0 release.

= 2.1.2 =
*   Update: Streamlined plugin structure focusing exclusively on the Multi-Store Manager module.
*   Fix: Various improvements to the remote API connection stability.

= 2.1.1 =
*   Major Release: Added upcoming feature listed on settings page.
*   Fix: Fixed remote API issue & handle it in central file.
*   New: Added deactivate confirmation modal for user friendly feedback.

= 2.1.0 =
*   Major Release: Plugin rebranded to ShopCentral – Multiple Store Manager.
*   New: Multi-Store Manager with remote analytics.
*   Improvement: Enhanced SEO friendly description and modular architecture.