← Notes

How to add WhatsApp AI chat to a WooCommerce store

Install the bitChat widget on WordPress, connect WhatsApp, and teach your WooCommerce AI agent how to answer product questions about sizes, exchanges and stock.

A WooCommerce shopper can ask about an exchange before choosing a size. Add the public bitChat widget to WordPress, connect your business number in bitbybit and give the AI agent the exchange policy your team uses. Web chat and WhatsApp are two entry points into support. A policy answer can come from a published page. An answer about the last unit of a specific size needs current variation data, and an answer about a private order needs a verified buyer.

When you’re ready to install, open Chat Widget in your bitChat workspace and copy your public snippet.

Where do you put the widget in WordPress?

In your bitChat workspace, open Chat Widget and copy its installation snippet. Ask your WordPress maintainer to output that snippet once on the public storefront through a site plugin or child theme using wp_footer. WordPress themes supply that hook near the closing body tag. Check the actual product page if a custom landing page uses a different template. A product description is a poor installation point because the same snippet would need to be maintained across products. Widget installation · WordPress footer hook

What can the agent answer about a variation?

Start with one product family. For a beanie sold in two sizes, give the agent the size chart, how the store measures fit, and the exchange conditions for unworn items. Add those pages in AI Studio and check that the current policy is the one your staff would send. Ask “What size fits a 56 cm head?” and “Can I exchange a beanie after wearing it outdoors?” The second answer should reflect the condition in your policy. Add knowledge in AI Studio

A size chart is stable enough to publish. “Is the last blue medium still available?” changes with the variation the shopper selects and with other purchases. Until your team connects an authorized live lookup, point the shopper to the selected variation or hand the question to staff. Keep the same boundary for order details.

How do you test web chat and WhatsApp separately?

Connect the intended WhatsApp business number in bitbybit. Open a product page in a signed-out phone browser, choose a variation, then open the widget. Check that the launcher leaves the variation selector and Add to cart button usable. Ask the exchange question and locate the conversation in bitChat. From a different phone, message the business number on WhatsApp and repeat the question. Ask for a person and verify where the handoff arrives. Connect WhatsApp · bitChat

Explore all WooCommerce integration guides.