{"id":298319,"date":"2026-06-01T07:51:17","date_gmt":"2026-06-01T07:51:17","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/ai-salesman-chat-pro\/"},"modified":"2026-06-01T20:02:49","modified_gmt":"2026-06-01T20:02:49","slug":"winaltchat-for-woocommerce","status":"publish","type":"plugin","link":"https:\/\/rhg.wordpress.org\/plugins\/winaltchat-for-woocommerce\/","author":23444204,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.01","stable_tag":"1.1.01","tested":"7.0","requires":"6.0","requires_php":"7.4","requires_plugins":null,"header_name":"WinaltChat for WooCommerce","header_author":"Winalt Technologies","header_description":"WinaltChat adds an AI-powered chat widget to your WooCommerce store to help customers find products, answer questions, and boost sales.","assets_banners_color":"a0aabd","last_updated":"2026-06-01 20:02:49","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/aisalesmanchatpro.com\/","header_author_uri":"https:\/\/winalttechnologies.com\/","rating":0,"author_block_rating":0,"active_installs":0,"downloads":57,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"1.0.92":{"tag":"1.0.92","author":"fahadali158","date":"2026-06-01 07:50:40"},"1.0.93":{"tag":"1.0.93","author":"fahadali158","date":"2026-06-01 08:56:30"},"1.0.95":{"tag":"1.0.95","author":"fahadali158","date":"2026-06-01 14:48:58"},"1.1.01":{"tag":"1.1.01","author":"fahadali158","date":"2026-06-01 20:02:49"}},"upgrade_notice":{"1.0.30":"<p>Security and reliability release: per-action AJAX nonces, Gemini API key removed from URL, localStorage hardened for private browsing, missing fallback_detection() method added, Claude model updated. No database changes. Safe to update.<\/p>","1.0.29":"<p>Security and standards release: REST API parameters now respect registered sanitize_callbacks, <code>load_plugin_textdomain()<\/code> added, all admin strings are now translatable, and the plugin header is complete for WordPress.org submission. No database changes. Safe to update.<\/p>","1.0.28":"<p>Code quality and standards release: fixes hardcoded store name in AI system prompt, adds secure\/httponly cookie flags, removes double-encoding on localised script config, replaces stripslashes() with wp_unslash(), and removes dead code. No database changes. Safe to update.<\/p>"},"ratings":[],"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":3556917,"resolution":"128x128","location":"assets","locale":"","width":128,"height":128},"icon-256x256.png":{"filename":"icon-256x256.png","revision":3556917,"resolution":"256x256","location":"assets","locale":"","width":256,"height":256}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":3556917,"resolution":"1544x500","location":"assets","locale":"","width":1544,"height":500},"banner-772x250.png":{"filename":"banner-772x250.png","revision":3556917,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.92","1.0.93","1.0.95","1.1.01"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[2364,5183,332,247874,286],"plugin_category":[45],"plugin_contributors":[265289],"plugin_business_model":[],"class_list":["post-298319","plugin","type-plugin","status-publish","hentry","plugin_tags-chatbot","plugin_tags-product-search","plugin_tags-sales","plugin_tags-shopping-assistant","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-fahadali158","plugin_committers-fahadali158"],"banners":{"banner":"https:\/\/ps.w.org\/winaltchat-for-woocommerce\/assets\/banner-772x250.png?rev=3556917","banner_2x":"https:\/\/ps.w.org\/winaltchat-for-woocommerce\/assets\/banner-1544x500.png?rev=3556917","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/winaltchat-for-woocommerce\/assets\/icon-128x128.png?rev=3556917","icon_2x":"https:\/\/ps.w.org\/winaltchat-for-woocommerce\/assets\/icon-256x256.png?rev=3556917","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p><strong>WinaltChat<\/strong> adds a beautiful, fast AI-powered chat widget to your WooCommerce store. The intelligent assistant helps customers browse your catalogue, answers common questions about shipping and returns, and \u2014 when a product is out of stock \u2014 can suggest relevant Amazon affiliate alternatives to keep the sale within reach.<\/p>\n\n<h4>Key Features<\/h4>\n\n<ul>\n<li><strong>Dual AI Modes<\/strong> \u2014 Use your own API key from Groq \u2014 LLaMA (Free Tier), ChatGPT (OpenAI), Claude (Anthropic), or Gemini (Google) for full conversational AI. No API key? The built-in <em>Basic AI<\/em> mode works entirely on your server with zero external calls.<\/li>\n<li><strong>Smart Product Search<\/strong> \u2014 Semantic search across your WooCommerce catalogue with intent detection, so shoppers find what they mean, not just what they type.<\/li>\n<li><strong>Conversation Context<\/strong> \u2014 The assistant remembers context within a session (stored in the visitor's browser) so follow-up questions (\"which one comes in blue?\") work naturally.<\/li>\n<li><strong>Amazon Affiliate Fallback<\/strong> \u2014 When a product is unavailable, optionally surface an Amazon affiliate link so you still earn a commission.<\/li>\n<li><strong>Fully Brandable<\/strong> \u2014 Customise colours, fonts, icons, welcome message, and header text to match your store.<\/li>\n<li><strong>Mobile-Optimised<\/strong> \u2014 Designed for a smooth experience on all screen sizes.<\/li>\n<\/ul>\n\n<h4>Requirements<\/h4>\n\n<ul>\n<li>WordPress 6.0 or later<\/li>\n<li>WooCommerce 7.0 or later (must be installed and active)<\/li>\n<li>PHP 7.4 or later<\/li>\n<li>An API key from Groq, OpenAI, Anthropic, or Google (optional \u2014 Basic AI mode requires no key)<\/li>\n<\/ul>\n\n<h4>Support<\/h4>\n\n<ul>\n<li><strong>Support Forum:<\/strong> <a href=\"https:\/\/wordpress.org\/support\/plugin\/winaltchat-for-woocommerce\/\">wordpress.org\/support\/plugin\/winaltchat-for-woocommerce<\/a><\/li>\n<li><strong>Email:<\/strong> support@aisalesmanchatpro.com<\/li>\n<li><strong>GitHub Issues:<\/strong> <a href=\"https:\/\/github.com\/fahadali158\/winaltchat\/issues\">github.com\/fahadali158\/winaltchat\/issues<\/a><\/li>\n<\/ul>\n\n<p>We aim to respond to all support requests within 48 hours.<\/p>\n\n<h3>External Services<\/h3>\n\n<p>This plugin connects to third-party AI providers only when you choose an external AI mode and enter your own API key. In that mode, the remote provider performs the response generation on its own servers. If you do not configure an API key, the built-in Basic AI mode runs locally inside your WordPress site and no external AI service is used.<\/p>\n\n<p><strong>AI Providers (optional \u2014 only when an API key is configured)<\/strong><\/p>\n\n<p>Customer messages, recent conversation context, and relevant store\/product context are sent to the AI provider you select so that provider can generate a response on its own infrastructure. No data is sent to these providers when you are using the built-in Basic AI mode.<\/p>\n\n<ul>\n<li><strong>Groq<\/strong> \u2014 <a href=\"https:\/\/groq.com\">groq.com<\/a> | <a href=\"https:\/\/groq.com\/privacy-policy\/\">Privacy Policy<\/a> | <a href=\"https:\/\/groq.com\/terms-of-service\/\">Terms of Service<\/a><\/li>\n<li><strong>OpenAI<\/strong> \u2014 <a href=\"https:\/\/openai.com\">openai.com<\/a> | <a href=\"https:\/\/openai.com\/policies\/privacy-policy\/\">Privacy Policy<\/a> | <a href=\"https:\/\/openai.com\/policies\/usage-policies\/\">Terms of Use<\/a><\/li>\n<li><strong>Anthropic Claude<\/strong> \u2014 <a href=\"https:\/\/anthropic.com\">anthropic.com<\/a> | <a href=\"https:\/\/www.anthropic.com\/privacy\">Privacy Policy<\/a> | <a href=\"https:\/\/www.anthropic.com\/legal\/consumer-terms\">Terms of Service<\/a><\/li>\n<li><strong>Google Gemini<\/strong> \u2014 <a href=\"https:\/\/ai.google.dev\">ai.google.dev<\/a> | <a href=\"https:\/\/policies.google.com\/privacy\">Privacy Policy<\/a> | <a href=\"https:\/\/policies.google.com\/terms\">Terms of Service<\/a><\/li>\n<\/ul>\n\n<h3>Third-Party Links<\/h3>\n\n<p><strong>Amazon Associate Program (optional \u2014 only when an Amazon tag is configured)<\/strong><\/p>\n\n<p>When the Amazon fallback is enabled and a matching product is not found in your store, the plugin generates an Amazon search link that includes your Associate tag. No customer data is transmitted to Amazon by the plugin itself; the link simply directs the customer's browser to Amazon.<\/p>\n\n<ul>\n<li><strong>Amazon<\/strong> \u2014 <a href=\"https:\/\/www.amazon.com\">amazon.com<\/a> | <a href=\"https:\/\/www.amazon.com\/gp\/help\/customer\/display.html?nodeId=GX7NJQ4ZB8MHFRNJ\">Privacy Notice<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>winaltchat<\/code> folder to <code>\/wp-content\/plugins\/<\/code>, or install via the WordPress Plugins screen directly.<\/li>\n<li>Activate the plugin through the <strong>Plugins<\/strong> screen in WordPress.<\/li>\n<li>Make sure <strong>WooCommerce<\/strong> is installed and active \u2014 this plugin requires it.<\/li>\n<li>Navigate to <strong>WinaltChat<\/strong> in the WordPress admin sidebar.<\/li>\n<li>On the <strong>Settings<\/strong> tab, choose your preferred AI provider and enter your API key (or leave blank to use Basic AI mode).<\/li>\n<li>Optionally enter your Amazon Associate tag if you want the affiliate fallback feature.<\/li>\n<li>Customise the chat appearance on the <strong>Branding<\/strong> tab.<\/li>\n<li>The chat widget will now appear on the front end of your store for all visitors.<\/li>\n<\/ol>\n\n<p>Note for developers: The release ZIP submitted to WordPress.org excludes development tooling files (composer.json, composer.lock, phpcs.xml). If installing from the GitHub repository directly, these files are present but have no effect on plugin functionality.<\/p>\n\n<h4>Getting a Free API Key<\/h4>\n\n<ul>\n<li><strong>Groq \u2014 LLaMA<\/strong> (free tier, recommended for getting started): <a href=\"https:\/\/console.groq.com\">console.groq.com<\/a><\/li>\n<li><strong>OpenAI<\/strong>: <a href=\"https:\/\/platform.openai.com\">platform.openai.com<\/a><\/li>\n<li><strong>Claude (Anthropic)<\/strong>: <a href=\"https:\/\/console.anthropic.com\">console.anthropic.com<\/a><\/li>\n<li><strong>Gemini (Google)<\/strong>: <a href=\"https:\/\/aistudio.google.com\">aistudio.google.com<\/a><\/li>\n<\/ul>\n\n<!--section=faq-->\n<dl>\n<dt id=\"do%20i%20need%20an%20ai%20api%20key%3F\"><h3>Do I need an AI API key?<\/h3><\/dt>\n<dd><p>No. The plugin ships with a <strong>Basic AI<\/strong> mode that runs entirely on your server using WooCommerce product data and a customisable knowledge base. You only need an API key if you want the full conversational AI experience.<\/p><\/dd>\n<dt id=\"which%20ai%20provider%20do%20you%20recommend%3F\"><h3>Which AI provider do you recommend?<\/h3><\/dt>\n<dd><p>Groq \u2014 LLaMA is recommended for most stores. It is free to use, extremely fast, and supports the Llama 3 family of models. ChatGPT (OpenAI) gives the most natural conversations but has usage costs.<\/p><\/dd>\n<dt id=\"does%20the%20plugin%20store%20customer%20messages%3F\"><h3>Does the plugin store customer messages?<\/h3><\/dt>\n<dd><p>Chat messages are stored only in the visitor's own browser using localStorage, tied to an anonymous session ID that is generated client-side. No conversation data is written to the server database. No cookies are set by this plugin. Data is cleared when the visitor ends the chat or clears their browser storage.<\/p><\/dd>\n<dt id=\"will%20the%20plugin%20slow%20down%20my%20site%3F\"><h3>Will the plugin slow down my site?<\/h3><\/dt>\n<dd><p>No. All JavaScript is loaded in the footer, stylesheets are versioned for browser caching, and the chat widget is not rendered until a visitor interacts with the chat icon.<\/p><\/dd>\n<dt id=\"how%20do%20i%20remove%20all%20plugin%20data%20on%20uninstall%3F\"><h3>How do I remove all plugin data on uninstall?<\/h3><\/dt>\n<dd><p>Deleting the plugin via the WordPress Plugins screen will automatically remove all WinaltChat settings and options from your database.<\/p><\/dd>\n<dt id=\"does%20it%20work%20with%20my%20theme%3F\"><h3>Does it work with my theme?<\/h3><\/dt>\n<dd><p>Yes. The chat widget is injected into the page footer and uses its own scoped CSS so it does not conflict with theme styles.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.1.01<\/h4>\n\n<ul>\n<li>Fix: Provider dropdown now correctly locks and Remove Key button stays visible after page refresh \u2014 fixed hasSavedKey detection in change handler to read data-has-saved-key attribute, and changed .remove() to .hide() so the Remove button is never permanently deleted from the DOM.<\/li>\n<\/ul>\n\n<h4>1.1.00<\/h4>\n\n<ul>\n<li>Fix: API key UI now correctly shows Remove Key button and locks the provider dropdown after page refresh \u2014 root cause was PHP not setting data-original-value on the input, so JS could not detect the saved key state after reload.<\/li>\n<li>Fix: Added data-has-saved-key attribute to the key input in PHP \u2014 JS initialization now reads this directly instead of relying on trigger('change') which could lose the disabled state.<\/li>\n<\/ul>\n\n<h4>1.0.99<\/h4>\n\n<ul>\n<li>Fix: Provider dropdown now correctly locks (disabled) on page load when a key is saved.<\/li>\n<li>Fix: Remove Key and Show Key buttons now correctly appear on page load when a key is configured \u2014 JS now reads PHP-rendered data-has-key attribute instead of inferring state from masked input value.<\/li>\n<li>Fix: Quick API Setup Guide now hidden on page load when any provider has a saved key.<\/li>\n<\/ul>\n\n<h4>1.0.98<\/h4>\n\n<ul>\n<li>Fix: Remove Key and Show Key buttons now correctly appear when an API key is saved \u2014 added explicit page-load initialisation that reads the provider from the selected option element directly, fixing a disabled-select edge case where trigger('change') could leave the row hidden or buttons in the wrong state.<\/li>\n<\/ul>\n\n<h4>1.0.97<\/h4>\n\n<ul>\n<li>Fix: \"Error saving API key\" message after successful save eliminated \u2014 removed dead call to winalt_fetch_provider_models() that was deleted in the previous release but not cleaned up from the save handler, causing a PHP fatal error.<\/li>\n<\/ul>\n\n<h4>1.0.96<\/h4>\n\n<ul>\n<li>Fix: Removed dynamic model selector from admin UI \u2014 replaced with fixed smart defaults per provider (Groq: llama-3.3-70b-versatile, OpenAI: gpt-4o, Claude: claude-haiku-4-5, Gemini: gemini-2.0-flash).<\/li>\n<li>Fix: Removed winalt_fetch_models AJAX handler and all provider model fetch functions \u2014 no longer needed.<\/li>\n<\/ul>\n\n<h4>1.0.95<\/h4>\n\n<ul>\n<li>Fix: Updated Gemini test and chat models from deprecated gemini-1.5-flash\/pro to gemini-2.0-flash.<\/li>\n<li>Fix: Gemini chat model now reads from saved option, falling back to gemini-2.0-flash.<\/li>\n<li>Fix: Added support contact section to plugin description.<\/li>\n<\/ul>\n\n<h4>1.0.94<\/h4>\n\n<ul>\n<li>Fix: Gemini API key validation now accepts Google AI Studio keys (AQ.Ab prefix) in addition to legacy AIza keys.<\/li>\n<li>Fix: Provider names updated in readme for clarity (Groq \u2014 LLaMA, ChatGPT (OpenAI), Claude (Anthropic), Gemini (Google)).<\/li>\n<\/ul>\n\n<h4>1.0.92<\/h4>\n\n<ul>\n<li>Fix: Corrected Tested up to version to 6.7.<\/li>\n<li>Fix: Cleaned up changelog entry HTML.<\/li>\n<li>Fix: Contributor username updated.<\/li>\n<\/ul>\n\n<h4>1.0.91<\/h4>\n\n<ul>\n<li>Fix: Removed blank gaps between product cards by hiding\nextra line-break elements injected between card HTML blocks.<\/li>\n<\/ul>\n\n<h4>1.0.90<\/h4>\n\n<ul>\n<li>Fix: \"Thanks\" detection fixed \u2014 thx\/ty aliases added so acknowledgement fires correctly.<\/li>\n<li>Fix: Blank gaps between product cards collapsed in PHP and system prompt updated.<\/li>\n<li>Fix: Variant follow-up after discount response now finds the last single product, not a bulk listing.<\/li>\n<li>Fix: Markdown headers in AI\/KB responses converted to bold text for correct chat display.<\/li>\n<li>Optimization: Default Claude model changed to claude-haiku-4-5 (10x cheaper). Catalog browse routes to Basic AI. Prompt size reduced ~25%. Estimated 94% cost reduction.<\/li>\n<\/ul>\n\n<h4>1.0.89<\/h4>\n\n<ul>\n<li>Fix: Claude models auto-migrated to 4.5 family on first admin page load.<\/li>\n<\/ul>\n\n<h4>1.0.88<\/h4>\n\n<ul>\n<li>Feature: Live Model Selection dropdown in admin fetches available models from the provider API with 24-hour cache and manual refresh button.<\/li>\n<li>Feature: Models auto-fetched on API key save; manual model ID entry option added.<\/li>\n<\/ul>\n\n<h4>1.0.86<\/h4>\n\n<ul>\n<li>Fix: Basic AI fallback no longer exposes internal mode details to users.<\/li>\n<li>Fix: Product searches during fallback return clean unavailable-product responses.<\/li>\n<\/ul>\n\n<h4>1.0.85<\/h4>\n\n<ul>\n<li>Feature: Real AI falls back to Basic AI on provider failures (rate limits, timeouts, errors).<\/li>\n<li>Fix: Failures logged server-side only; never exposed in chat responses.<\/li>\n<\/ul>\n\n<h4>1.0.84<\/h4>\n\n<ul>\n<li>Fix: AI responses always use WooCommerce store currency symbol.<\/li>\n<li>Fix: Duplicate product name bullet and wrong About Us page routing both corrected.<\/li>\n<\/ul>\n\n<h4>1.0.83<\/h4>\n\n<ul>\n<li>Fix: Negative sentiment detection expanded for standalone \"expensive\" and Urdu\/English patterns.<\/li>\n<li>Fix: Cheapest product and price filter routing expanded with more natural phrasings.<\/li>\n<\/ul>\n\n<h4>1.0.82<\/h4>\n\n<ul>\n<li>Fix: Standalone budget number replies now correctly trigger the price filter.<\/li>\n<li>Fix: Price hallucination guard strips false AI price claims; price filter includes result type.<\/li>\n<\/ul>\n\n<h4>1.0.81<\/h4>\n\n<ul>\n<li>Fix: Purchase intent, variant query, and location\/delivery intent patterns all expanded.<\/li>\n<li>Fix: Duplicate product name bullets stripped from product card responses.<\/li>\n<\/ul>","raw_excerpt":"WinaltChat \u2013 AI-powered chat assistant for WooCommerce. Helps customers find products, answer questions, and boost sales.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/298319","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=298319"}],"author":[{"embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/fahadali158"}],"wp:attachment":[{"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=298319"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=298319"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=298319"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=298319"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=298319"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/rhg.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=298319"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}