Let AI take orders on WordPress
Add the chat to your WordPress site and connect WooCommerce. Claude can then check stock, answer price questions and create orders with a payment link. It always asks the customer to confirm first.
Before you start
Create your website in ZocialDM
Open the dashboard, then Settings › Website & embed. Copy your embed code. It looks like this:
<script src="https://zocialdm.com/widget.js" data-project="YOUR_KEY" async></script>Connect Claude
Go to Settings › AI Agent › Account and sign in. This turns on AI replies, translation and API calls for this website.
Connect WooCommerce
About 10 minutes. You need admin access to WordPress and WooCommerce installed.
Add the chat to your site
Install the free WPCode plugin (Plugins › Add New › search "WPCode"). Then go to Code Snippets › Header & Footer, paste your embed code into the Footer box and save.
Prefer no plugin? Paste the embed code just before
</body>in your theme'sfooter.php(use a child theme so updates don't remove it).Create a WooCommerce API key
Go to WooCommerce › Settings › Advanced › REST API › Add key. Give it a description like "ZocialDM", pick a user with shop manager rights, set Permissions to Read/Write, then click Generate API key. Copy the Consumer key (
ck_…) and Consumer secret (cs_…). They are shown only once.Your site must use HTTPS. Read/Write is needed to create orders. Use Read if you only want Claude to answer stock and order-status questions.Connect your store in ZocialDM
Open Settings › AI Agent › Connectors and click WooCommerce. The instructions box starts with a ready-made template: replace
https://your-store.com,ck_YOUR_KEYandcs_YOUR_SECRETwith your store address and the key you just created, then click Add connector. Running more than one store? Add another WooCommerce connector for each.Want to change how Claude uses the store, for example a maximum order size? Add a line to the connector's instructions, like "Never sell more than 5 pairs per order".Try it
Open your store in a private window, start a chat and type something like "I'd like the blue T-shirt in M". Claude finds the product, checks stock, asks for your details and confirmation, then creates a Pending payment order and sends the payment link. You'll see the order in WooCommerce › Orders.
Tips for good results
- Add your shipping rules, return policy and opening hours under Settings › AI Agent › Instructions. Claude answers from them.
- Create a separate API key just for ZocialDM so you can revoke it at any time.
- Watch the first few orders in the dashboard. You can turn off auto-reply for any chat and take over.