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
- 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. - Page markup. WooCommerce outputs schema.org Product by default. If the API is closed, the bot reads product pages via the sitemap.
- An XML (YML) feed, if you export one.
What to watch for
- Some security plugins close the REST API. The catalog is then read from markup, which is slower.
- For variable products (sizes, colors) the price is set on variations: check in the test chat that the bot states it correctly.
- Hidden and draft products don’t get into the catalog.
How to install
Add the BotNow line of code to every page before the closing </body> tag.
- With a plugin. Install a code-insertion plugin (for example WPCode or Insert Headers and Footers), create a footer snippet and paste the line.
- With the theme. Appearance → Theme File Editor →
footer.php. Do this in a child theme so a theme update doesn’t erase the code. - 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.