{"id":99,"date":"2026-10-17T14:15:44","date_gmt":"2026-10-17T14:15:44","guid":{"rendered":"http:\/\/plugin-docs.com\/?post_type=doc&#038;p=99"},"modified":"2026-10-17T17:33:18","modified_gmt":"2026-10-17T17:33:18","slug":"configure-ai-product-recommendations","status":"publish","type":"doc","link":"https:\/\/dragwyb.com\/docs\/configure-ai-product-recommendations\/","title":{"rendered":"Configure AI Product Recommendations"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Dragwyb Click to Chat can show WooCommerce product cards in the AI conversation when a visitor asks for products or shopping help. The assistant uses your published catalog to find matching items or, for explicit popular-product requests, return a small set of popular products. Product cards can display an image, product name, current formatted price, stock state, rating when available, and links to view the product or add it to the cart.<\/p>\n\n\n\n\n\n<h2 class=\"wp-block-heading\">Before you begin<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Install and activate WooCommerce.<\/li>\n<li>Make sure the products you want to recommend are published and have accurate prices, stock status, and product links.<\/li>\n<li>Activate and configure the Dragwyb AI Assistant and confirm it can respond to visitor messages.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">How product recommendations work<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">In the current plugin implementation, product suggestions are selected automatically from the visitor\u2019s message; there is no separate recommendation-type selector in Chatbot Settings.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Popular products:<\/strong> requests such as \u201cshow recommended products,\u201d \u201cpopular products,\u201d \u201cbest sellers,\u201d or \u201cbrowse the catalog\u201d can return up to three products ordered by WooCommerce popularity.<\/li>\n<li><strong>Shopping questions:<\/strong> messages containing shopping terms such as \u201cbuy,\u201d \u201cprice,\u201d \u201cshop,\u201d \u201cshoes,\u201d \u201cshirt,\u201d or \u201crecommend\u201d trigger a catalog search. The assistant first tries a detected product interest, then may search using cleaned text from the message.<\/li>\n<li><strong>Catalog requirements:<\/strong> the recommendation logic runs only when WooCommerce is active. Product retrieval is limited to published products and the relevant result set is small, so a broad request may not show every item in the store.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Enable the WooCommerce product-search tool<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The assistant\u2019s automatic product-card response is driven by the shopping message and active WooCommerce integration. You can also enable the named WooCommerce Product Search business tool so the AI model can use the dedicated product-search tool when available.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>In WordPress admin, go to <strong>Click to Chat \u2192 AI Assistant<\/strong>.<\/li>\n<li>Open <strong>Chatbot Settings<\/strong> and select the <strong>Advance<\/strong> tab.<\/li>\n<li>Find <strong>AI Business Tools &amp; Workflow Automation<\/strong> and turn on the main switch if you want the assistant to use business tools.<\/li>\n<li>When WooCommerce is active, enable <strong>WooCommerce Product Search<\/strong> in the tool list.<\/li>\n<li>Save the settings using the page\u2019s available save action, then test the chat on the frontend.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\">Test product recommendations<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Open the live chat widget and try a few distinct messages, for example:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>\u201cShow me popular products.\u201d<\/li>\n<li>\u201cCan you recommend a shirt?\u201d<\/li>\n<li>\u201cWhat products do you have for [a specific need or category]?\u201d<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">Check that the product cards match the catalog and that the product title, image, price, stock indicator, and rating (if available) look correct. Use <strong>View<\/strong> to check the product page. The <strong>Add<\/strong> action is shown for products reported in stock; its destination depends on the product type and the generated product data, so verify the actual store behavior before relying on it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What appears on a product card<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Image and product name:<\/strong> taken from the WooCommerce product; a placeholder image can be used if the product has no image.<\/li>\n<li><strong>Price:<\/strong> formatted using the store\u2019s WooCommerce currency and price formatting.<\/li>\n<li><strong>Sale badge:<\/strong> displayed when WooCommerce marks the product as on sale.<\/li>\n<li><strong>Stock status:<\/strong> shown as In Stock or Out of Stock based on the product data returned to the widget.<\/li>\n<li><strong>Rating:<\/strong> shown when the product has a positive average rating.<\/li>\n<li><strong>Product actions:<\/strong> View opens the product page; Add is shown when the returned product is in stock.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Troubleshooting<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>No product cards appear:<\/strong> confirm WooCommerce is active, the AI Assistant is available, and the message clearly asks about a product, shopping, recommendations, or the catalog.<\/li>\n<li><strong>The wrong items appear:<\/strong> test with a more specific product name or category and confirm the intended items are published and searchable in WooCommerce.<\/li>\n<li><strong>Product details look wrong:<\/strong> review the product\u2019s image, price, sale settings, stock status, rating, and permalink in WooCommerce.<\/li>\n<li><strong>The dedicated tool is unavailable:<\/strong> check the main AI Business Tools &amp; Workflow Automation switch and the WooCommerce Product Search checkbox in the Advance settings. The WooCommerce-specific tool appears only when WooCommerce is active.<\/li>\n<li><strong>Results are limited:<\/strong> product searches and recommendation lists are intentionally capped; this feature is not a complete catalog export.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Related guides<\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"\/docs\/dragwyb-click-to-chat\/woocommerce-assistant\/\">WooCommerce Shopping and Orders<\/a><\/li>\n<li><a href=\"\/docs\/dragwyb-click-to-chat\/search-woocommerce-products-with-ai\/\">Search WooCommerce Products with AI<\/a><\/li>\n<li><a href=\"\/docs\/dragwyb-click-to-chat\/woocommerce-add-to-cart\/\">Configure One-Click Add to Cart<\/a><\/li>\n<li><a href=\"\/docs\/dragwyb-click-to-chat\/woocommerce-order-tracking\/\">Configure Secure WooCommerce Order Tracking<\/a><\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Screenshot<\/h2>\n\n\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Screenshot to add:<\/strong> Capture the live Dragwyb chat widget showing product recommendation cards, including the product image, price, stock state, and View\/Add actions. No screenshot has been captured for this guide yet.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Learn how Dragwyb Click to Chat recommends WooCommerce products, enables the product-search tool, displays product cards, and troubleshoots missing or inaccurate results.<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":97,"menu_order":0,"template":"","class_list":["post-99","doc","type-doc","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":3,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/99\/revisions"}],"predecessor-version":[{"id":363,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/99\/revisions\/363"}],"up":[{"embeddable":true,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/97"}],"wp:attachment":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/media?parent=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}