Integration with WooCommerce
- Integration with WooCommerce
- Instructions on how to integrate ChatLab with WooCommerce store
- View demo shop
- Overview
- How it works
- Prerequisites
- Integration requirements
- Integration steps
- Step 1: Obtain a WooCommerce Integration subscription
- Step 2: Generate API Key in WooCommerce Store
- Step 3: Enable the Integration
Instructions on how to integrate ChatLab with WooCommerce store
Before you start WooCommerce integration setup make sure the chatbot is already added to your WordPress website - please check detailed instructions to do this:
How to add your chatbot to WordPress websiteView demo shop
You can check the demo woocommerce shop integration here:
https://woocommerce.chatlab.com/
Overview
The WooCommerce Integration with our chatbot service allows seamless interaction between your online store and customers via our chatbot. With this integration, customers can:
- Search for products in your WooCommerce store while chatting with the bot.
- Check order details, such as status and tracking information, when they provide an order identifier.
To use this integration, a Standard or Premium Subscription is required.
How it works
- Product Search
The chatbot enables users to search for products available in your WooCommerce store seamlessly. When a user enters a search query, the chatbot performs a search against the product titles and descriptions in your WooCommerce catalog. Only products with the status 'publish' are considered in the results, ensuring that users see only publicly available items.
The search returns the top 5 matched products based on relevance to the query. Each matched product includes the following details:
- ID: The unique identifier of the product.
- Name: The name of the product.
- Price: The product's current price.
- Description: A brief description of the product.
- Store Link: A direct link to the product page in the store.
- SKU: The stock-keeping unit, useful for inventory tracking.
- Image: A single representative image of the product.
This feature helps users quickly find products of interest without needing to navigate the store manually.
- Order details
Users can conveniently check the status of their orders by interacting with the chatbot. To fetch order details, the user must provide the order ID and the email address associated with the order. Both parameters are validated against the WooCommerce store records, and the order information is returned only if there is a match.
The chatbot retrieves the following details for matched orders:
- Total Value: The total monetary value of the order.
- Order Status: The current status of the order (e.g., processing, completed, canceled).
- Shipping Details: Including the recipient's first and last name and the shipping address.
- Ordered Items: A list of items in the order, with the following details for each item:
- Name: The name of the product.
- Quantity: The quantity ordered.
- Price: The unit price of the product.
- Total: The total price for the quantity of the product ordered.
This feature ensures that users can easily stay updated on their order status and details without needing to log in to the store's dashboard.
Prerequisites
Before you start - make sure you have ChatLab Standard or Premium subscription that allows for WooCommerce integration. Check the pricing page
Integration requirements
- Access to your WooCommerce store's administrative dashboard.
Integration steps
Step 1: Obtain a WooCommerce Integration subscription
To get started, contact our support team to obtain a WooCommerce Integration subscription. Once you have the subscription, you can proceed with the integration steps below.
Step 2: Generate API Key in WooCommerce Store
- Log in to your WooCommerce store's WordPress admin panel.
- Navigate to WooCommerce settings:
- Go to WooCommerce > Settings.
- Access the API settings:
- Click on the Advanced tab.
- Select
REST API
- Create a new API key:
- Click on Add Key.
- Provide a description for the key (e.g., "Chatlab Integration").
- Select the user to whom you want to assign the key.
- Set the permissions to Read.
- Click
Generate API Key
. - Copy the generated API Key and Secret:
- You will be provided with a Consumer Key and Consumer Secret. Copy these and store them securely.
Step 3: Enable the Integration
From the Chatlab dashbord select the bot and then click on the Integrations
tab.
Provide the URL of your WooCommerce store, and two keys generated in Step 2.
Congratulations! Your chatbot is now integrated with WooCommerce store and can search for products and check customer orders.