EN
Log in Create a bot
Home / Integrations / WooCommerce

AI assistant for WordPress and WooCommerce

Where the bot gets products, in order: the store’s open API (/wp-json/wc/store/v1/products, the most accurate), then schema.org markup via the sitemap, then an XML (YML) feed if you export one.

Where the bot gets the catalog

  1. The store’s open API. Current WooCommerce versions serve the product list at /wp-json/wc/store/v1/products: name, price, availability, categories and photos. This is the most accurate source.
  2. Page markup. WooCommerce outputs schema.org Product by default. If the API is closed, the bot reads product pages via the sitemap.
  3. An XML (YML) feed, if you export one.

What to watch for

How to install

Add the BotNow line of code to every page before the closing </body> tag.

  1. With a plugin. Install a code-insertion plugin (for example WPCode or Insert Headers and Footers), create a footer snippet and paste the line.
  2. With the theme. Appearance → Theme File Editor → footer.php. Do this in a child theme so a theme update doesn’t erase the code.
  3. Clear the site cache if you use a caching plugin.

Detailed guide: AI assistant for WooCommerce.

A dedicated BotNow plugin for WooCommerce is planned. It would pass the catalog directly and update it when products change.

Frequently asked questions

Do I need a separate BotNow plugin?

No, to start it is enough to paste the line of code with a script-insertion plugin or into footer.php of a child theme. A dedicated plugin is planned; it doesn't exist yet.

What if a security plugin closed the REST API?

The catalog will be read from schema.org markup on product pages, which is slower. You can open /wp-json/wc/store/v1/products for public reading or export an XML (YML) feed.

How does the bot see variable products?

If the price is set only on variations, the bot may not see the price of the main product. Check several variable products in the test chat and use a feed if needed.

Do drafts and hidden products get into the catalog?

No, the bot reads publicly available products only.

See also

Try the bot on your store