WCMultiPro Documentation

The complete guide to installing, configuring, and using WCMultiPro — your React WC Multi-Store Manager.

๐Ÿ’ก
What is WCMultiPro?
WCMultiPro is a premium React dashboard that lets you manage unlimited WooCommerce stores from a single, beautiful interface. Powered by Supabase (a modern cloud database), it requires no PHP server, no MySQL — just copy and paste your API keys and you're ready!
๐ŸŒ
Live Demo: https://wcmultipro.sonhar.cloud
Email: demo@demo.com  |  Password: 123456
Demo mode: AI Chat limited to 3 messages/session, destructive actions disabled.

Tech Stack

โš›๏ธ React 18 — Latest version with concurrent features
๐Ÿ“˜ TypeScript — Full type safety across the codebase
๐ŸŽจ Tailwind CSS — Utility-first styling with dark/light themes
๐Ÿ—„๏ธ Supabase — Cloud database + auth (free tier available!)
โšก Vite — Lightning-fast build tool
๐Ÿงฉ shadcn/ui — Beautiful accessible UI components
๐Ÿ“Š Recharts — Professional charts and analytics
๐Ÿ”” Sonner — Beautiful toast notifications

๐Ÿ“‹ Requirements

RequirementMinimumNotes
Node.js18.0+Download from nodejs.org
npm9.0+Comes with Node.js
Supabase AccountFree tierNo credit card required
WooCommerce Store5.0+REST API must be enabled
Hosting (optional)Any static hostFirebase, Vercel, Netlify, etc.

๐Ÿš€ Installation

1

Extract Files

Extract the downloaded .zip file to your desired location.

2

Install Dependencies

Open a terminal in the project folder and run:

npm install
3

Configure Environment

Rename the .env.example file to .env and insert your API Keys:

.env
VITE_SUPABASE_URL=https://YOUR-PROJECT-ID.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-public-key-here
VITE_DEMO_MODE=false
4

Start Development Server

npm run dev

Your app will be running at http://localhost:5173 ๐ŸŽ‰

โœ…
That's it! After setting up Supabase (next section), you can log in, connect your WooCommerce stores, and start managing everything from one dashboard.

๐Ÿ—„๏ธ Supabase Setup

Supabase is a modern cloud database platform. Setup takes about 5 minutes — just copy and paste!

Step 1: Create a Supabase Project

1

Go to supabase.com and create a free account.

2

Click "New Project", choose a name and a strong database password.

3

Wait 1-2 minutes for the project to be provisioned.

Step 2: Get Your API Keys

1

In your Supabase project, go to Settings โ†’ API.

2

Copy the Project URL โ†’ paste into VITE_SUPABASE_URL

3

Copy the anon / public key โ†’ paste into VITE_SUPABASE_ANON_KEY

โš ๏ธ
Important: Use the anon/public key, NOT the service_role key. The service_role key bypasses security and should never be exposed in frontend code.

Step 3: Run the Database Schema

This is the most important step. The schema creates all tables, security policies, triggers, and functions.

1

In your Supabase dashboard, go to SQL Editor (left sidebar).

2

Open the file supabase/schema.sql from the package in any text editor.

3

Copy ALL the content and paste it into the Supabase SQL Editor.

4

Click "Run" (or press Ctrl+Enter). You should see "Success. No rows returned."

Do not ignore errors. If you see an error, check if the table already exists. Running the schema twice may cause "already exists" errors — those are safe to ignore. Any other error (e.g., syntax or permission) must be resolved before proceeding.

๐Ÿ”„
What does the schema create?
  • profiles — User profiles (auto-created on signup via trigger)
  • stores — Connected WooCommerce stores
  • products_cache — Synced products from WooCommerce
  • orders_cache — Synced orders from WooCommerce
  • customers_cache — Synced customers
  • categories_cache — Synced categories
  • notifications — In-app notifications
  • team_members — Team management
  • team_invitations — Team invitations
  • store_access — Per-store permissions
  • activity_log — Audit trail
๐Ÿ‘ค
Users are created automatically!
The schema includes a trigger (on_auth_user_created) that automatically creates a profile entry whenever a new user signs up through Supabase Auth. You do not need to manually insert users into the profiles table — just use the Sign Up form or create users via the Supabase Authentication dashboard.

Step 4: Create Your First User

You have two options:

Option A: Sign up through the app

Simply go to your app's login page and click "Sign Up". The profile is created automatically.

Option B: Create via Supabase Dashboard

1

Go to Authentication โ†’ Users in Supabase.

2

Click "Add User" โ†’ "Create New User".

3

Enter email and password. Check "Auto Confirm User".

4

The trigger will automatically create the profile. The first user gets the admin role by default.

๐Ÿ’ธ Supabase Free Plan — More Than Enough!

๐ŸŽ‰
The Supabase Free Plan is incredibly generous! It's more than enough for most WCMultiPro users:
ResourceFree Tier LimitWhat This Means
Database Storage500 MBThat's enough to store data from 50+ stores with thousands of products/orders each
Monthly Active Users50,000More than enough for any team size
File Storage1 GBFor avatars, uploads, etc.
API RequestsUnlimitedNo limits on reading/writing data
Real-timeIncludedLive updates included at no cost
AuthIncludedEmail/password + social login
Edge Functions500K/monthServerless functions if needed
๐Ÿ“Š
To put it in perspective: 500 MB of database storage is enough to store approximately 500,000+ orders or 1,000,000+ products in the cache. You'll likely never hit the limit unless you're managing hundreds of very large stores. And even then, upgrading to the Pro plan ($25/month) gives you 8 GB.

No credit card required to sign up. No hidden fees. No surprises.

โš™๏ธ Configuration

Environment Variables

VariableRequiredDescription
VITE_SUPABASE_URLโœ… YesYour Supabase project URL (e.g., https://xxxxx.supabase.co)
VITE_SUPABASE_ANON_KEYโœ… YesYour Supabase anon/public API key
VITE_DEMO_MODEโŒ NoSet to true for demo mode (disables destructive actions)

๐Ÿ›’ Connecting WooCommerce Stores

Step 1: Generate API Keys in WooCommerce

1

In your WordPress admin, go to WooCommerce โ†’ Settings โ†’ Advanced โ†’ REST API.

2

Click "Add Key".

3

Set:
Description: WCMultiPro
User: Select an admin user
Permissions: Read/Write

4

Click "Generate API key" and copy both keys immediately (they won't be shown again).

Step 2: Add Store in WCMultiPro

1

In WCMultiPro, go to Dashboard โ†’ Stores โ†’ Add Store.

2

Fill in:
Store Name: Any friendly name
Store URL: Your store URL (e.g., https://mystore.com)
Consumer Key: Paste from WooCommerce
Consumer Secret: Paste from WooCommerce

3

Click "Connect Store". Data will start syncing automatically!

๐Ÿ”’
HTTPS Required: WooCommerce REST API requires HTTPS on your store. Make sure your store has a valid SSL certificate.

โœจ Features

๐Ÿช Multi-Store Management
Connect unlimited WooCommerce stores
๐Ÿ“ฆ Product Management
View, edit, create, sync products with photos
๐Ÿ›’ Order Management
Track, update status, tracking codes, shipping labels, PDF/Excel export
๐Ÿ‘ฅ Customer Database
Unified customers from all stores + guest merging
๐Ÿ“ Category Management
Sync and manage categories bidirectionally
๐Ÿ“Š Analytics Dashboard
Revenue charts, top products, order stats, PDF/CSV/Excel export
๐Ÿ’ฐ Profit Dashboard
Standalone COGS tracking, profit charts, margin analysis, PDF export
๐Ÿ”„ Inventory Sync
Cross-store stock sync by SKU with auto-sync via webhooks
๐Ÿ‘จโ€๐Ÿ‘ฉโ€๐Ÿ‘งโ€๐Ÿ‘ฆ Team Management
Invite members with Admin/Manager/Viewer roles
๐Ÿ” Global Search
Ctrl+K command palette โ€” search orders, products, customers, tracking codes
๐Ÿงฎ Quick Calculator
Built-in calculator with keyboard support
๐Ÿ”” Notifications
Real-time alerts for orders, stock, system events
๐ŸŒ™ Dark / Light Theme
Beautiful design in both modes
๐Ÿ“ฑ Fully Responsive
Works perfectly on mobile, tablet, desktop
๐Ÿท๏ธ Shipping Labels
Print professional shipping labels with items list
๐Ÿ“ค Export CSV / Excel / PDF
Export orders, products, customers to CSV, Excel, and PDF
๐Ÿ“Š Bulk Operations
Update multiple order statuses at once
๐ŸŽฏ Advanced Product Filters
Filter by stock status, product status, sale/regular price
โœจ Store Selection Animation
Elegant transition effect when switching between stores
โšก Code Splitting
React.lazy for fast page loads

๐Ÿ“„ 19+ Pages Included

PageDescription
Landing PageBeautiful marketing page with pricing, features, green neon accent
Login PageAuthentication with email/password and demo mode
Setup WizardGuided first-time configuration
DashboardOverview with revenue charts, stats, recent orders, top products
StoresManage and connect WooCommerce stores
Store DetailIndividual store view with stats
ProductsProduct list with advanced filters (stock, status, sales), search, pagination
Product DetailFull product view with images
Product EditCreate/edit products with AI description generator
Orders (Table)Order management with status, tracking, shipping labels, PDF/Excel export, clickable rows
Orders (Kanban)Visual drag-and-drop order board with 4 columns
CustomersCustomer list with merged guest data
CategoriesCategory management with sync
AnalyticsCharts, PDF reports, CSV/Excel exports
Profit DashboardStandalone COGS tracking with profit charts, margin analysis, PDF export
Inventory SyncCross-store stock sync by SKU with auto-sync and conflict resolution
SettingsProfile, password, appearance, sender address
User ManagementTeam invitations and role management
DocumentationIn-app documentation page

๐Ÿ‘ฅ User Roles & Permissions

PermissionAdminManagerViewer
View Dashboardโœ…โœ…โœ…
Manage Storesโœ…Assigned onlyโŒ
Manage Productsโœ…โœ…View only
Manage Ordersโœ…โœ…View only
View Analyticsโœ…โœ…โœ…
Manage Teamโœ…โŒโŒ
Change Settingsโœ…โŒโŒ

๐Ÿš€ Deployment

Build for Production

npm run build

This creates an optimized dist/ folder ready for deployment. The build uses code splitting — each page loads independently for fast performance.

Option 1: Firebase Hosting

# Install Firebase CLI
npm install -g firebase-tools

# Login
firebase login

# Deploy
npm run build
firebase deploy

Your app will be live at https://your-project.web.app

Option 2: Vercel / Netlify

Simply connect your Git repository and both platforms will auto-detect Vite and deploy.

๐Ÿ’ก
For any static hosting, make sure to configure SPA redirects — all routes should redirect to index.html since this is a Single Page Application.

๐Ÿค– WCMULTIAI — AI Assistant

WCMULTIAI is an AI-powered assistant built into WCMultiPro. It reads your real store data from Supabase and provides intelligent insights, reports, and analytics.

๐Ÿ’ก
What can WCMULTIAI do?
  • Analyze sales data by period (7 days, 30 days, 90 days, year)
  • Identify top-selling products and underperformers
  • Customer analysis with CLV (Customer Lifetime Value)
  • Inventory alerts and stock optimization
  • Generate markdown reports (copy, print, or save as PDF)
  • Revenue forecasting and trend analysis
  • Category performance breakdown

โšก AI Providers

WCMULTIAI supports two AI providers โ€” choose the one that fits your needs:

Feature Groq (Recommended) OpenAI
Speed โšก Ultra-fast (LPU inference) ๐Ÿง  Standard
Free Tier โœ… Yes โ€” generous free tier โŒ Pay-per-use
Models LLaMA 3.3 70B, LLaMA 3.1 8B, Mixtral 8x7B, Gemma 2 GPT-4o Mini, GPT-3.5, GPT-4o, GPT-4 Turbo
Best For Fast answers, free usage, quick analytics Complex analysis, advanced reasoning
API Key console.groq.com platform.openai.com
๐Ÿ†“
We recommend Groq! It offers a generous free tier with ultra-fast inference. Perfect for getting started without any cost. Get your free API key at console.groq.com.

๐Ÿ”ง AI Setup

1

Get an API Key

Sign up at Groq (free) or OpenAI (paid) and generate an API key.

2

Open WCMULTIAI

Click the floating AI button (bottom-right corner of any dashboard page), then click the โš™๏ธ Settings icon in the chat header.

3

Configure Provider

Select your provider (Groq or OpenAI), paste your API key, choose a model, adjust temperature and max tokens, then click "Save Settings".

4

Start Chatting!

The AI has access to your real store data. Ask about products, sales, customers, or generate reports.

๐Ÿ’ฐ
API Cost Notice: WCMULTIAI calls external AI APIs. Groq offers a generous free plan. OpenAI charges per token. The API key is stored encrypted per user in Supabase โ€” it is not shared with other users or stored in the browser.

โœจ AI Features

๐Ÿ“Š Sales by Period
7-day, 30-day, 90-day, yearly sales analysis with trends
๐Ÿ“ฆ Product Intelligence
Top sellers, slow movers, pricing anomalies, stock alerts
๐Ÿ‘ฅ Customer Insights
VIP customers, CLV, purchase patterns, geographic data
๐Ÿ“ˆ Revenue Analytics
Average order value, conversion metrics, growth trends
๐Ÿ“„ Report Generation
Markdown reports ready to print as PDF (Ctrl+P)
๐Ÿท๏ธ Category Analysis
Category performance, optimization recommendations
๐Ÿ’ฌ Chat History
Conversations saved to Supabase โ€” accessible from any device
โšก Quick Prompts
6 pre-built prompts for common store analytics tasks
๐Ÿ“„
About PDF Generation: WCMULTIAI generates beautifully formatted markdown reports. To save as PDF:
  1. Ask the AI to generate a report
  2. Copy the formatted response
  3. Paste into any document editor, or press Ctrl+P โ†’ Save as PDF from the browser

๐Ÿ—„๏ธ AI Database Tables

WCMULTIAI requires 4 additional database tables. Run the supabase/ai_chat_tables.sql file in your Supabase SQL Editor:

Table Purpose
ai_settings Per-user AI configuration (provider, API keys, model, temperature)
ai_chat_sessions Chat session tracking (per user, timestamps)
ai_chat_messages All chat messages with role, content, provider, model
ai_usage_log Token usage tracking for cost monitoring
๐Ÿ”’
Row Level Security (RLS) is enabled on all AI tables. Each user can only see their own settings, sessions, and messages. API keys are never exposed to other users.

๐Ÿ”ง Troubleshooting

"Connection Error" when adding store

"Authentication Failed"

"Products/Orders not syncing"

Build Errors

# Clear everything and reinstall
rm -rf node_modules
npm install

# Clear Vite cache
rm -rf node_modules/.vite
npm run dev

๐Ÿ“ Changelog

Version 1.0.0 Initial Release

๐Ÿ’ฌ Support

โš ๏ธ
Important Notice:
This documentation is for WCMultiPro sold exclusively on CodeCanyon by Envato.
For support or purchase, visit our official page at https://codecanyon.net/user/sonharcloud.
๐Ÿ“ง
Developer: Elias Alves โ€” Sonhar Cloud
Response Time: Within 24-48 hours (business days)
Support Period: 6 months included with purchase

Need Support?

Please open a ticket via our CodeCanyon Support Tab or email us at support@sonhar.cloud with your Purchase Code. Support requests without a Purchase Code will be ignored.

Custom Implementations & Customizations

We offer custom development services including:

Contact us via the CodeCanyon Support Tab for quotes and timelines.

When contacting support, please include:

Thank you for purchasing WCMultiPro! ๐ŸŽ‰

We hope you love it. If you do, please leave a โญโญโญโญโญ rating on CodeCanyon!

Developed by Elias Alves โ€” Sonhar Cloud
ยฉ 2026 WCMultiPro v1.0. All rights reserved.