WooCommerce
Install the free ASE plugin on WooCommerce: the agent searches your products, sees the page and cart, and answers order status questions.
Try it first
A demo shop with the plugin installed runs at wordpress.ase.support: 60+ products, 20 customers, their orders, cash-on-delivery checkout. Open the chat and ask about products ("do you have a Nikon camera?", "noise cancelling headphones under $300", "is the Canon EOS R8 in stock?"). To see the customer features, log in with one of the accounts listed on its home page (for example john.carter@example.com, password demo1234) and ask "where is my order?", or ask as a guest with order 55 and guest.one@example.com. All data there is fictional.
Before you start
You need a widget key for this store. Create one under Keys & Embed after adding your store domain. The key looks like pk_… and is safe to use in the storefront.
Install the plugin
WooCommerce runs on WordPress, so the plugin is the same ASE - AI Support Engineer plugin (GPLv2, WordPress 6.0+, WooCommerce 7.0+, PHP 7.4+, HPOS compatible). It detects WooCommerce and switches the store features on.
- Download ase-support.zip (version 1.1.0, admin in 9 languages).
- Go to Plugins → Add New → Upload Plugin, choose the file, click Install Now and then Activate.
- Go to Settings → ASE Support, paste your widget key and save. Leave Rich mode on if you want the agent to see logged-in customers' names and last orders and to look up guest orders; switch it off if you prefer not to share that. Search results limit (default 8) is how many matching products the agent sees per question.
- Clear your cache plugin and CDN once.
What the plugin does
- Product search. Before each visitor message, the store asks ASE for search terms and searches your catalogue by title, SKU and tag through the plugin's own REST endpoint. The agent receives name, SKU, price (incl. tax, sale price), stock, attributes, category, link and a short description for up to Search results limit products, so it never invents products. Variable products show their price range and variation attributes.
- Page and cart context. The agent knows which product the visitor is looking at and what is in the cart, with totals in your store currency.
- Rich mode. Logged-in customers: name, e-mail and the last 5 orders with status, total, shipping method and tracking number (from WooCommerce Shipment Tracking, AfterShip and similar plugins; developers can supply it with the
ase_support_order_trackingfilter). Guests: the agent asks for the order number and billing e-mail and looks the order up (10 attempts per visitor per hour).
Everything is read through WooCommerce's own functions; nothing is written to your database except the plugin's settings. The two endpoints the widget calls on your own site (/wp-json/ase-support/v1/search and /wp-json/ase-support/v1/order) only return data your storefront already shows, and the order endpoint needs order number and e-mail to match.
Tell the agent how to use the order lookup
For guest lookups the agent must ask for the order number and e-mail and then trigger the lookup. Add this to the agent's system prompt under Agents → System prompt:
GUEST ORDER LOOKUP: If the visitor is not logged in (no "Customer" line in the store context) and asks about an order:
1. Ask for the order number AND the e-mail address used for the order.
2. Once you have both, reply with ONLY this JSON and nothing else:
{"action":"order_lookup","order_id":12345,"email":"customer@example.com"}
3. The store looks the order up and adds "Guest order lookup result" to the context; answer the next message from that result only. If it says the order was not found, say so and ask the visitor to check the number and e-mail.
Check
- Open a product page in a private window; the chat bubble appears in the corner you chose in Agent Settings.
- Ask about a product you sell. The answer lists real products with price and stock and links to them.
- Ask "which product am I looking at?" on a product page, then put something in the cart and ask "what is in my cart?".
- Log in as a customer with orders and ask "where is my order?"; log out and try the guest flow with an order number and e-mail.
- If the answer is generic, assign a knowledge base category to the agent under Agent Access. If nothing appears, see troubleshooting.
Notes
- Put your shipping, returns and payment policies in the knowledge base; those are the most common store questions and the plugin does not read them from WooCommerce settings.
- Caching plugins are fine: WooCommerce pages with a cart or a login already bypass the page cache, and the search and order endpoints send
Cache-Control: no-store. - The one-line snippet (see WordPress) still works on WooCommerce, but without the catalogue and order features.