> For the complete documentation index, see [llms.txt](https://aibotkit.gitbook.io/documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://aibotkit.gitbook.io/documentation/woocommerce/pep-woocommerce-integration.md).

# PEP WooCommerce Integration

### WooCommerce Integration (PEP)

If you use WooCommerce, the AI BotKit plugin can enhance your product pages with a customizable enquiry button and automatically enrich your product content for better chatbot answers.

<figure><img src="/files/F7Ek72wiq0oo5MFZGd0I" alt=""><figcaption></figcaption></figure>

#### Enabling the Product Enquiry Button

1. Make sure **WooCommerce** is installed and active.
2. Go to **AI BotKit → WooCommerce Enquiry**.
3. Enable **Product Enquiry Integration**.
4. Configure the button settings:
   * **Button Mode**: Choose **Add New Button** to show alongside existing buttons, or **Override Request a Quote** to replace the PEP button.
   * **Button Label**: Customize the button text (e.g., "Get Quote", "Ask AI").
   * **Button Position**: Choose **After Add to Cart** or **After Product Summary**.
   * **Trigger Chatbot**: Select which chatbot should respond when the button is clicked.
5. Click **Save PEP Settings**.

<figure><img src="/files/e1WfCgHborOvIUMeXSVp" alt=""><figcaption></figcaption></figure>

#### Enquiry Agent Prompt

The WooCommerce Enquiry page also provides a **Suggested Prompt** that you can copy into your chatbot settings. This prompt configures your chatbot to act as a sales and quotation assistant, helping visitors explore products, answer pricing questions, and generate quotations.

Click **Copy Prompt** and paste it into your chatbot's instructions in the SaaS dashboard.

#### What Your Visitors See

On each product page, visitors see a customizable button (e.g., **Get Quote**). When clicked, it opens your chatbot pre-loaded with context about that product, so the AI can answer product-specific questions immediately.

#### Product Content Enrichment

When you sync content with WooCommerce products enabled, each product page includes:

* **Price** -- Current product price
* **Categories** -- Assigned WooCommerce categories
* **Tags** -- Assigned WooCommerce tags

This extra information helps your chatbot give accurate, detailed answers about your products.

***

### Troubleshooting

**The product enquiry button isn't appearing on product pages**

* Make sure WooCommerce is installed and active.
* Check that Product Enquiry Integration is enabled in **AI BotKit → WooCommerce Enquiry**.
* Make sure a chatbot is selected in the **Trigger Chatbot** dropdown.

***

### Related Topics

* [WordPress / Other Website Integration](https://github.com/WisdmLabs/ai-botkit-mono-repo/blob/v1.0/documentation/woocommerce/wordpress-other-website-integration.md) -- Quick embedding options
* [KNOWLEDGE](/documentation/chatbot-editor/step-2-training.md) -- How your chatbot learns from synced content
* [Getting Your Embed Code](https://github.com/WisdmLabs/ai-botkit-mono-repo/blob/v1.0/documentation/woocommerce/getting-your-embed-code.md) -- Copy and paste embed code manually


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://aibotkit.gitbook.io/documentation/woocommerce/pep-woocommerce-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
