Skip to content

Woo Basics

A built-in Pro module of OG AI Core. It lets your chatbots read a logged-in customer's WooCommerce data, so customers can ask about their orders in the chat.

Requires: OG AI Core with a valid OG AI Core Pro licence, and WooCommerce active. WordPress 6.0+, PHP 8.1+.

Woo Basics used to be a separate add-on plugin. It now ships inside OG AI Core, so there is nothing to download.

Turn it on

  1. Enter your OG AI Core Pro licence key in OG AI Core > System > Licence. Woo Basics switches on by itself.
  2. If the old separate Woo Basics plugin is still active, deactivate it. Until then the built-in module stays off. Your settings are kept.
  3. Open OG AI Core > Automation > Woo Basics.

Set up

  1. Enable Woo Basics for a chatbot, or for all chatbots.
  2. Choose how the chatbot gets the data:
    • Function (default): the model calls a Woo Basics function when it needs the customer's data.
    • Keywords: the data is added when the visitor's message contains one of your keywords.
    • Command: the data is added when the visitor types a command (default /orders).
  3. Test in the live preview while logged in as a customer, before putting the chatbot on your shop.

What the chatbot gets

The logged-in customer's completed orders and their last order (number, date, total, items and shipping). A visitor who is not logged in gets nothing: the chatbot is told the user is not logged in.

Good to know

  • Keep order-related chatbots for logged-in customers.
  • For product search with product cards and order tracking, see the WooAi add-on.
  • For richer product answers, add Content Parser so the chatbot also reads prices, stock, attributes and variations.
  • Add Better Links so product mentions link to the right pages.
  • Settings are stored in the option ogaiwoo_options. Developers: ogaiwoo_allow_setup and ogaiwoo_allow_usage.

OG AI Core ยท Admin modules