WCMultiPro Documentation
The complete guide to installing, configuring, and using WCMultiPro — your React WC Multi-Store Manager.
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!
Email:
demo@demo.com | Password: 123456Demo mode: AI Chat limited to 3 messages/session, destructive actions disabled.
Tech Stack
๐ Requirements
| Requirement | Minimum | Notes |
|---|---|---|
| Node.js | 18.0+ | Download from nodejs.org |
| npm | 9.0+ | Comes with Node.js |
| Supabase Account | Free tier | No credit card required |
| WooCommerce Store | 5.0+ | REST API must be enabled |
| Hosting (optional) | Any static host | Firebase, Vercel, Netlify, etc. |
๐ Installation
Extract Files
Extract the downloaded .zip file to your desired location.
Install Dependencies
Open a terminal in the project folder and run:
npm install
Configure Environment
Rename the .env.example file to .env and insert your API Keys:
VITE_SUPABASE_URL=https://YOUR-PROJECT-ID.supabase.co
VITE_SUPABASE_ANON_KEY=your-anon-public-key-here
VITE_DEMO_MODE=false
Start Development Server
npm run dev
Your app will be running at http://localhost:5173 ๐
๐๏ธ Supabase Setup
Supabase is a modern cloud database platform. Setup takes about 5 minutes — just copy and paste!
Step 1: Create a Supabase Project
Go to supabase.com and create a free account.
Click "New Project", choose a name and a strong database password.
Wait 1-2 minutes for the project to be provisioned.
Step 2: Get Your API Keys
In your Supabase project, go to Settings โ API.
Copy the Project URL โ paste into VITE_SUPABASE_URL
Copy the anon / public key โ paste into VITE_SUPABASE_ANON_KEY
Step 3: Run the Database Schema
This is the most important step. The schema creates all tables, security policies, triggers, and functions.
In your Supabase dashboard, go to SQL Editor (left sidebar).
Open the file supabase/schema.sql from the package in any text editor.
Copy ALL the content and paste it into the Supabase SQL Editor.
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.
- 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
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
Go to Authentication โ Users in Supabase.
Click "Add User" โ "Create New User".
Enter email and password. Check "Auto Confirm User".
The trigger will automatically create the profile. The first user gets the admin role by default.
๐ธ Supabase Free Plan — More Than Enough!
| Resource | Free Tier Limit | What This Means |
|---|---|---|
| Database Storage | 500 MB | That's enough to store data from 50+ stores with thousands of products/orders each |
| Monthly Active Users | 50,000 | More than enough for any team size |
| File Storage | 1 GB | For avatars, uploads, etc. |
| API Requests | Unlimited | No limits on reading/writing data |
| Real-time | Included | Live updates included at no cost |
| Auth | Included | Email/password + social login |
| Edge Functions | 500K/month | Serverless functions if needed |
No credit card required to sign up. No hidden fees. No surprises.
โ๏ธ Configuration
Environment Variables
| Variable | Required | Description |
|---|---|---|
VITE_SUPABASE_URL | โ Yes | Your Supabase project URL (e.g., https://xxxxx.supabase.co) |
VITE_SUPABASE_ANON_KEY | โ Yes | Your Supabase anon/public API key |
VITE_DEMO_MODE | โ No | Set to true for demo mode (disables destructive actions) |
๐ Connecting WooCommerce Stores
Step 1: Generate API Keys in WooCommerce
In your WordPress admin, go to WooCommerce โ Settings โ Advanced โ REST API.
Click "Add Key".
Set:
• Description: WCMultiPro
• User: Select an admin user
• Permissions: Read/Write
Click "Generate API key" and copy both keys immediately (they won't be shown again).
Step 2: Add Store in WCMultiPro
In WCMultiPro, go to Dashboard โ Stores โ Add Store.
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
Click "Connect Store". Data will start syncing automatically!
โจ Features
Connect unlimited WooCommerce stores
View, edit, create, sync products with photos
Track, update status, tracking codes, shipping labels, PDF/Excel export
Unified customers from all stores + guest merging
Sync and manage categories bidirectionally
Revenue charts, top products, order stats, PDF/CSV/Excel export
Standalone COGS tracking, profit charts, margin analysis, PDF export
Cross-store stock sync by SKU with auto-sync via webhooks
Invite members with Admin/Manager/Viewer roles
Ctrl+K command palette โ search orders, products, customers, tracking codes
Built-in calculator with keyboard support
Real-time alerts for orders, stock, system events
Beautiful design in both modes
Works perfectly on mobile, tablet, desktop
Print professional shipping labels with items list
Export orders, products, customers to CSV, Excel, and PDF
Update multiple order statuses at once
Filter by stock status, product status, sale/regular price
Elegant transition effect when switching between stores
React.lazy for fast page loads
๐ 19+ Pages Included
| Page | Description |
|---|---|
| Landing Page | Beautiful marketing page with pricing, features, green neon accent |
| Login Page | Authentication with email/password and demo mode |
| Setup Wizard | Guided first-time configuration |
| Dashboard | Overview with revenue charts, stats, recent orders, top products |
| Stores | Manage and connect WooCommerce stores |
| Store Detail | Individual store view with stats |
| Products | Product list with advanced filters (stock, status, sales), search, pagination |
| Product Detail | Full product view with images |
| Product Edit | Create/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 |
| Customers | Customer list with merged guest data |
| Categories | Category management with sync |
| Analytics | Charts, PDF reports, CSV/Excel exports |
| Profit Dashboard | Standalone COGS tracking with profit charts, margin analysis, PDF export |
| Inventory Sync | Cross-store stock sync by SKU with auto-sync and conflict resolution |
| Settings | Profile, password, appearance, sender address |
| User Management | Team invitations and role management |
| Documentation | In-app documentation page |
๐ฅ User Roles & Permissions
| Permission | Admin | Manager | Viewer |
|---|---|---|---|
| View Dashboard | โ | โ | โ |
| Manage Stores | โ | Assigned only | โ |
| Manage Products | โ | โ | View only |
| Manage Orders | โ | โ | View only |
| View Analytics | โ | โ | โ |
| Manage Team | โ | โ | โ |
| Change Settings | โ | โ | โ |
๐ Global Search (Ctrl+K)
Press Ctrl+K (or Cmd+K on Mac) anywhere in the app to open the command palette. You can search for:
- Orders — by order number, customer name, or email
- Products — by product name or SKU
- Customers — by name or email
- Pages — quickly navigate to any page
Clicking an order result will take you directly to that order's detail view.
๐ 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.
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.
- 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 |
๐ง AI Setup
Open WCMULTIAI
Click the floating AI button (bottom-right corner of any dashboard page), then click the โ๏ธ Settings icon in the chat header.
Configure Provider
Select your provider (Groq or OpenAI), paste your API key, choose a model, adjust temperature and max tokens, then click "Save Settings".
Start Chatting!
The AI has access to your real store data. Ask about products, sales, customers, or generate reports.
โจ AI Features
7-day, 30-day, 90-day, yearly sales analysis with trends
Top sellers, slow movers, pricing anomalies, stock alerts
VIP customers, CLV, purchase patterns, geographic data
Average order value, conversion metrics, growth trends
Markdown reports ready to print as PDF (Ctrl+P)
Category performance, optimization recommendations
Conversations saved to Supabase โ accessible from any device
6 pre-built prompts for common store analytics tasks
- Ask the AI to generate a report
- Copy the formatted response
- 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 |
๐ง Troubleshooting
"Connection Error" when adding store
- Verify the store URL is correct and includes
https:// - Ensure REST API is enabled in WooCommerce settings
- Check Consumer Key and Secret are correct (they can't be retrieved again, generate new ones if unsure)
- Verify HTTPS/SSL is working on your WooCommerce store
"Authentication Failed"
- Double-check
VITE_SUPABASE_URLandVITE_SUPABASE_ANON_KEYin your.env - Make sure you're using the anon key, not the service role key
- Ensure your Supabase project is active (not paused)
"Products/Orders not syncing"
- Check WooCommerce API permissions are set to Read/Write
- Verify the store status is "active" in WCMultiPro
- Check browser developer console (F12) for specific error messages
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
- ๐ค WCMULTIAI โ AI-powered store assistant with real data analysis
- โก Groq + OpenAI dual provider support (free Groq tier available)
- ๐ Advanced Sales Analytics โ sales by period (7D, 30D, 90D), trends, growth rates
- ๐ฌ Chat History โ conversations saved to Supabase, accessible from any device
- โ๏ธ AI Settings โ per-user provider, model, temperature, max tokens config
- ๐ Report Generation โ markdown reports, inventory tables, customer summaries
- ๐จ 8 Accent Colors โ Neon Green (default), Blue, Violet, Pink, Orange, Red, Cyan, Amber
- ๐ Sound Effects โ audio feedback for clicks, notifications, success/error
- ๐ First-Visit Guides โ interactive page guides for new users (10 pages)
- ๐ Dark Theme Default โ beautiful dark mode with accent color effects
- ๐ฏ Demo Mode โ rate-limited AI (3 msgs), demo credentials, read-only restrictions
- ๐ Frosted Glass UI โ glassmorphism Ctrl+K modal and AI chat panel
- ๐ Orders Kanban Board โ drag-and-drop order workflow (Pending, Processing, Shipped, Completed)
- ๐ Inventory Sync โ cross-store stock synchronization by SKU
- Multi-store management with unlimited stores
- Full product management with image URL support, sync, and advanced filters (stock, status, sale)
- Order management with status updates, tracking codes, shipping labels with items list, PDF/Excel/CSV export
- Clickable order rows in list view for quick details
- Global search (Ctrl+K) with tracking code search
- Elegant store selection animation when switching stores
- Customer database with guest order merging
- Category management with bidirectional sync
- Analytics dashboard with CSV/Excel/PDF export
- Team management with role-based access
- Global search command palette (Ctrl+K)
- Built-in quick calculator
- Notification system
- Dark/Light theme
- Fully responsive design
- PWA support
- Code splitting and performance optimization
- Complete documentation
๐ฌ Support
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.
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:
- Custom integrations with third-party services
- Tailored features for your specific business needs
- White-label solutions
- Priority support packages
Contact us via the CodeCanyon Support Tab for quotes and timelines.
When contacting support, please include:
- Your purchase code from CodeCanyon
- Browser and version
- Steps to reproduce the issue
- Screenshots or console errors if applicable
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.