Skip to content
chattoko
Call our AI07 4277 3000Start 14-day trial
Product
Solutions
Integrations
Pricing
Resources
Start 14-day trialSign inCall our AI07 4277 3000

Connect WooCommerce: products and orders

  • Who Owner
  • Plans All plans
  • 10 minutes

The AI answers from your published products, their prices and whether they're in stock, and your team sees a customer's WooCommerce orders beside their chat. The key is read-only, so Chattoko can't change anything in your store.

Before you start

  • WooCommerce on your WordPress site, and an administrator login there.
  • Your site opens with https://. WooCommerce only hands out API keys that work over a secure connection.
  • You're the owner of your Chattoko workspace: only the owner can connect a store.
  • The chat itself goes on your site separately, with the free Chattoko plugin (see Add the chat to WordPress).

Steps

Each short video shows the steps named on it. Press play to watch; the videos have no sound.

Video · Part 1 of 3 · Step 1 · 0:21 Open REST API keys in WooCommerce
  1. In WordPress, open WooCommerce ▸ Settings ▸ Advanced ▸ REST API keys and press Add key, or Create an API key if there are none yet.

Video · Part 2 of 3 · Steps 2–3 · 0:26 Make a read-only key
  1. Type a Description such as Chattoko, keep yourself as the User, choose Read under Permissions and press Generate API key.

  2. WooCommerce shows a Consumer key and a Consumer secret. Copy both now: the secret is hidden once you leave the page.

Video · Part 3 of 3 · Steps 4–5 · 0:26 Paste it into Chattoko
  1. In Chattoko, open Integrations ▸ WooCommerce and type your Store URL, starting with https://.

  2. Paste the Consumer key and the Consumer secret, then press Save Changes.

  3. Open Integrations ▸ WooCommerce again and press Sync products now: it says how many products came across. Press it again whenever you add or change products.

Check it worked

Integrations ▸ WooCommerce says Connected. Press Test in the Inbox to open a test chat and ask about one of your products: the AI answers with its price.

If it didn't work

It says the store URL must start with https://.
WooCommerce only accepts API keys over a secure connection. Type your address as it opens in your browser, with https:// at the start. If your site doesn't open with https://, ask your web host to turn on SSL first.
Sync says "WooCommerce API error: 401".
WooCommerce refused the key. It was mistyped, revoked or replaced by a newer one, or it was made with Write permission, which can't read, or for a user who can't manage the shop. Make a new key with Read (steps 1–3), paste both values again and press Save Changes.
Sync says "WooCommerce API error: 404".
WooCommerce's API needs your site's pretty links. In WordPress, open Settings ▸ Permalinks, choose any option except Plain and press Save Changes. If your shop lives in a folder, such as example.com/shop, put the folder in Store URL too.
It synced 0 products.
Chattoko reads published products only, up to 2,000. Publish them in WooCommerce (drafts and private products are left out), then press Sync products now again.
A customer's orders don't show beside their chat.
Orders show when the chat has the customer's email and it matches the billing email on their orders exactly. Ask for an email in your chat form so more chats have one.

Related

Updated

Still stuck?

Signed in? In the console, press Help, then Write to us under Contact support to send us a request (we reply by email), or Support to chat with Chattoko support. Not signed in? Email support@chattoko.io, or ask our AI now: it knows how Chattoko works.

Chat with our AI
Start 14-day trialCall our AI