Connect your WooCommerce store to IllumiChat and transform your AI assistant into an e-commerce agent that helps customers browse products, track orders, manage carts, and update their account — all through natural conversation.Documentation Index
Fetch the complete documentation index at: https://docs.illumichat.com/llms.txt
Use this file to discover all available pages before exploring further.
No manual coding required. Install the free IllumiChat WordPress plugin and the chat widget appears on your storefront automatically.
What Your Customers Can Do
Once connected, your assistant can handle real shopping conversations:Browse Products
“Do you have any running shoes under $100?”Your assistant searches your WooCommerce catalog and returns real products with names, prices, and links.
Track Orders
“Where’s my order #1042?”Customers can check order status by order number or the email address they used at checkout.
Manage Carts
“Add the blue hoodie in size M to my cart”Your assistant can create a cart, add or remove items, and share a checkout link.
Update Account Info
“Can you update my shipping address?”Look up customer records and update contact details and addresses.
Prerequisites
- An IllumiChat workspace with Admin access
- A WooCommerce store (WordPress self-hosted or managed)
- WooCommerce 7.0+ and WordPress 6.0+
- WordPress admin access
Setup: Two Paths
There are two ways to connect, depending on where you start. Both end up in the same place.Path A — Start from IllumiChat (Recommended)
Use this if you’re creating a new assistant or connecting via the Channels settings page.Step 1: Connect your store
- New assistant (wizard)
- Existing assistant
- Click New Assistant and choose WooCommerce as your platform in the type step
- Configure your assistant’s name and system prompt
- In the Share step, enter your full store URL — e.g.
https://yourstore.com— and click Connect Store
“Would you like to grant [IllumiChat] read_write access to your store?”Click Approve. WooCommerce sends your store credentials directly to IllumiChat’s server — you never handle API keys. You’ll be redirected back to IllumiChat automatically.
Step 2: Download and install the WordPress plugin
The WordPress plugin is what puts the chat widget on your storefront.- After connecting, IllumiChat shows a Download Plugin button — click it to download
illumichat-wordpress.zip - In your WordPress admin, go to Plugins → Add New Plugin → Upload Plugin
- Click Choose File, select the downloaded
.zip, and click Install Now - Click Activate Plugin
Step 3: Push the widget to your storefront
Back in IllumiChat, click Install widget via plugin. IllumiChat calls your store’s plugin endpoint, which stores your assistant ID and enables the widget. The chat widget will now appear on every page of your storefront. That’s it. Your assistant is live.Path B — Start from WordPress (Plugin-first)
Use this if you’ve already installed the plugin and want to connect from within WordPress.Step 1: Install and activate the plugin
Downloadillumichat-wordpress.zip from your IllumiChat dashboard or the channels page. Then:
- In WordPress admin → Plugins → Add New Plugin → Upload Plugin, upload the zip and activate it
- Go to Settings → Permalinks and click Save Changes (required to register the plugin’s REST API endpoint)
Step 2: Configure the plugin
Go to WooCommerce → IllumiChat in your WordPress admin. You’ll see a settings form with:| Field | What to enter |
|---|---|
| Assistant ID | The UUID of your IllumiChat assistant (found in your assistant’s Settings page) |
| IllumiChat URL | Leave as the default (https://app.illumichat.com) unless you’re on a custom domain |
| Cookie consent | Check this to gate widget load on visitor cookie consent (CookieYes / Complianz / WPConsent) |
Step 3: Connect to WooCommerce
After saving your Assistant ID, a Connect IllumiChat button appears. Click it. You’ll be redirected to WooCommerce’s consent screen:“Would you like to grant [IllumiChat] read_write access to your store?”Click Approve. WooCommerce sends credentials to IllumiChat and redirects you back to the WordPress plugin settings page, which now shows:
Connected. Assistant ID: [your-uuid]. Widget on storefront: Enabled.The widget is live on your storefront immediately.
Widget on Storefront
Once the widget is enabled, the WordPress plugin uses WordPress’swp_enqueue_scripts hook to inject a loader script into every storefront page footer — no theme edits required.
The script is automatically excluded from WP Rocket’s JS delay and combine lists. For other caching plugins (LiteSpeed Cache, W3 Total Cache), exclude the widget loader URL from any “Delay JS” or “Combine JS” rules, then flush your cache.
Manual Snippet (no plugin)
If you prefer not to use the plugin, copy the embed snippet from your WooCommerce channel settings page and paste it before the</body> tag in your theme’s footer.php or via a snippet plugin like WPCode.
AI Actions
Each action can be enabled or disabled independently from Settings → Channels → WooCommerce.| Action | Default | Description |
|---|---|---|
| Product Search | On | Searches your catalog; returns product name, price, and link |
| Order Tracking | On | Looks up order status by order number or email |
| Cart Management | Off | Creates carts, adds/removes items, shares checkout link |
| Customer Updates | Off | Looks up and updates customer billing/shipping/contact info |
Cart Management requires the CartFlows or Cart Abandonment Recovery plugin on your WooCommerce store. WooCommerce does not natively expose abandoned cart data via its REST API.
- “What laptops do you have?”
- “Show me dresses under $50”
- “Where’s my order #1042?”
- “Can you check my recent order? My email is jane@example.com”
- “Add the blue hoodie in medium to my cart”
- “What’s in my cart right now?”
- “Update my shipping address to 123 Main St, New York, NY 10001”
- “What email do you have on file for me?”
Analytics
Track usage from the Channels → WooCommerce analytics dashboard.| Metric | What it counts |
|---|---|
| Product Searches | Times the assistant searched your catalog |
| Order Lookups | Order status inquiries |
| Cart Actions | Cart creates, additions, and removals |
| Customer Updates | Customer data lookups and modifications |
| Webhooks Received | Store events delivered by WooCommerce |
Managing Your Integration
Enable / Disable — Toggle the integration on or off without losing your configuration. When disabled, AI actions and the widget stop, but the store stays connected. Disconnect Store — Removes stored credentials. Reconnect at any time via the OAuth flow. Test Connection — Verifies your credentials are valid and the store is reachable.Troubleshooting
"Install widget via plugin" returns an error (404)
"Install widget via plugin" returns an error (404)
The plugin’s REST endpoint wasn’t found. Work through this checklist in order:
- Flush permalinks — In WordPress, go to Settings → Permalinks and click Save Changes. This is required after activating any plugin that adds REST routes. It’s the most common cause of this error.
- Confirm the plugin is active — In WordPress admin, go to Plugins and verify IllumiChat shows as “Active”.
- Check WooCommerce is active — The plugin’s REST endpoint authenticates via WooCommerce’s API middleware. WooCommerce must be installed and active.
- Check for REST API security plugins — Wordfence, “Disable REST API”, and similar plugins can block all REST endpoints. Temporarily disable them to test.
- Check permalink structure — “Plain” permalinks (
?p=123) disable the REST API entirely. Choose any other option under Settings → Permalinks.
Widget not appearing on the storefront
Widget not appearing on the storefront
- Verify the plugin is active and you clicked Install widget via plugin successfully (check for a green success message in IllumiChat)
- Caching plugins: flush your cache and exclude the widget loader URL from JS delay/combine rules. WP Rocket is handled automatically; for other plugins (LiteSpeed, W3TC), add the exclusion manually.
- Cookie consent: if cookie consent is enabled in the plugin settings, the widget waits for visitor consent. Test in an incognito window or disable the consent toggle temporarily.
- Hosting CSP / firewall: some managed hosts block external scripts. Whitelist
app.illumichat.com(or your IllumiChat URL) in your hosting firewall or CSP header.
"unable to send the consumer data" on the WooCommerce consent screen
"unable to send the consumer data" on the WooCommerce consent screen
WooCommerce couldn’t POST credentials back to IllumiChat after you clicked Approve. Causes:
- Firewall blocking outbound POST: your hosting provider blocks outbound HTTP connections from the server. Contact your host to whitelist IllumiChat’s IP range, or try on a different network.
- Incorrect store URL: the URL you entered must match your WordPress site URL exactly (check under WordPress admin → Settings → General → WordPress Address).
- Session expired: the OAuth session has a 15-minute window. If you took more than 15 minutes on the consent screen, start over.
AI actions not working in conversations
AI actions not working in conversations
- Confirm the store status is Connected (green) on the Channels overview
- Check that the specific action toggle is on — e.g., Product Search defaults to On but Cart Management defaults to Off
- Click Test Connection to verify credentials are still valid
- If the test fails, disconnect and reconnect to issue fresh credentials
The Connect button in the WordPress plugin is greyed out
The Connect button in the WordPress plugin is greyed out
Next Steps
Widget Customization
Customize the look and feel of the chat widget on your storefront.
Effective Prompts
Write better system prompts to get the most out of your WooCommerce assistant.