Product Q&A
Overview
Shoppers ask questions about a product already in the catalog. Answers are grounded in WooCommerce title, description, attributes, variations, and stock — not the open web.
How It Works
After search returns IDs, the model may call get_product_details, list_product_variations, check_availability, or answer_from_product_content. The server reads WooCommerce and returns sanitized fields. The model phrases the answer.
Without AI, shoppers still see cards; they do not get LLM explanations.
How to Enable It
WooCommerce → AI Assistant → Product Q&A → enable the four tools → AI Provider with a valid key for natural language.
Configuration
Frontend Usage
Search first, then ask “is it in stock?”, “what sizes?”, “is it waterproof?”.
Example
Variable T-shirt: shopper asks for sizes; list_product_variations returns purchasable variations; chat lists them with live prices.
Behavior
| Situation | What happens |
|---|---|
| API connected | Natural-language answer + catalog facts |
| API not connected | Cards only; Q&A tools are not LLM-wrapped |
| Product not in conversation | Tool refuses arbitrary IDs |
| Out of stock | Availability tool reports WooCommerce status; Notify me on cards |
| Empty description | Weak or “I don’t have that in the catalog” style answer |
Limitations
- Quality tracks your product content.
- Not a warranty or medical advisor.
Troubleshooting
Generic answers: improve descriptions/attributes. Variation questions fail if the product is simple or variations are not purchasable.