# WooCommerce AI Chatbot via the WordPress Plugin

Source: https://insertchat.com/integration/woocommerce

> Install the AI chat widget on WooCommerce with the WordPress plugin.

To add an AI chatbot to WooCommerce, install the InsertChat plugin from WordPress.org, enter your assistant’s ID in its settings, and clear your page cache. The chat answers shopper questions from your product pages and store policies, captures leads, and hands order-specific requests to your team in the shared inbox.

## Answer the pre-purchase question that stalls a cart

A shopper on a product page asks whether the jacket runs small and how returns work. The assistant answers from the product descriptions and policy pages in its knowledge and points to your size chart. When someone asks to change an order or get a refund, it collects the order number and passes the request to your team, because the plugin doesn’t give it access to WooCommerce orders.

## Where the code goes in WooCommerce

- Location: WordPress plugin: InsertChat settings in your dashboard sidebar
- Requirements: The InsertChat plugin needs WordPress 4.7 or later and PHP 7.0 or later. To paste the code instead on WordPress.com, you need the Personal, Premium, Business, or Commerce plan.
- Source: [InsertChat on WordPress.org](https://wordpress.org/plugins/insertchat/), [WordPress.com: Add code to headers](https://wordpress.com/support/adding-code-to-headers/), checked 2026-10-13

A website install adds the chat to your pages without signing in to your WooCommerce account or reading its data.

## Setup

1. **Install the plugin.** Install and activate the InsertChat plugin from the WordPress.org plugin directory on the WordPress site that runs your store.
2. **Enter your assistant’s ID.** Open InsertChat in your dashboard sidebar, paste your assistant’s ID (the ICG_BOT_ID value in its install code), and save. Then clear any page cache.
3. **Verify and test.** Run Verify on your website in InsertChat with the published URL of a product page, then open the chat and ask the questions your customers ask most.

## How businesses use WooCommerce with InsertChat

Illustrative examples, not customer results.

- **Answer fit, materials, and care questions.** A shopper asks whether a linen shirt shrinks. The assistant answers from the care guide and product description you added and links the return policy if they’re unsure. [E-commerce](https://insertchat.com/industries/ecommerce)
- **Help pet owners pick the right product.** An owner asks which harness size fits a 30-pound dog. The assistant answers from your sizing guide and product pages, and sends health questions about the pet to your staff. [Pet grooming & pet stores](https://insertchat.com/industries/pet-grooming)
- **Handle rental questions before checkout.** A customer asks whether chairs can be delivered the day before an event. The assistant answers from your delivery policy and collects the date and address when your team needs to confirm. [Party & event rentals](https://insertchat.com/industries/party-rentals)

## Can the chatbot look up WooCommerce orders?

No. The plugin adds the chat to your store pages; it doesn’t connect to WooCommerce orders, inventory, or customer accounts. The assistant collects the order number and request, and your team handles it from the shared inbox.

## How does the chatbot learn my products?

Add your store to its knowledge by website crawl or sitemap, and upload documents such as size charts, care guides, and shipping tables. Keep those sources current so answers match your catalog and prices.

## Does it work with my theme and caching plugin?

The plugin loads the chat in your site’s footer through the standard WordPress footer hook. After you save its settings, clear caching plugins such as WP Super Cache or W3 Total Cache so visitors get the updated pages.

## Do I need the plugin, or can I paste the code?

Either works. The plugin is the shortest path. You can also paste your assistant’s install code into the footer with a header and footer code tool; WordPress.com sites need a plan that supports custom code.

## Related features

- [Website chat](https://insertchat.com/product/website)
- [Knowledge & answers](https://insertchat.com/product/knowledge)
- [Shared inbox](https://insertchat.com/product/inbox)

## Related guides and comparisons

- [AI chatbot for WordPress](https://insertchat.com/integration/wordpress)
- [AI customer support for e-commerce](https://insertchat.com/industries/ecommerce)
- [How to set up human handoff](https://insertchat.com/blog/set-up-human-handoff)
- [InsertChat vs Tidio](https://insertchat.com/alternatives/tidio)
- [InsertChat vs Chatbase](https://insertchat.com/alternatives/chatbase)
