Title: AskCart – AI Shopping Chat for WooCommerce
Author: Akshar Soft Solutions
Published: <strong>November 24, 2026</strong>
Last modified: November 24, 2026

---

Search plugins

![](https://ps.w.org/askcart-ai-shopping-chat-for-woocommerce/assets/banner-772x250.
png?rev=3819703)

![](https://ps.w.org/askcart-ai-shopping-chat-for-woocommerce/assets/icon.svg?rev
=3819703)

# AskCart – AI Shopping Chat for WooCommerce

 By [Akshar Soft Solutions](https://profiles.wordpress.org/aksharsoftsolutions/)

[Download](https://downloads.wordpress.org/plugin/askcart-ai-shopping-chat-for-woocommerce.1.0.0.zip)

 * [Details](https://wordpress.org/plugins/askcart-ai-shopping-chat-for-woocommerce/#description)
 * [Reviews](https://wordpress.org/plugins/askcart-ai-shopping-chat-for-woocommerce/#reviews)
 *  [Installation](https://wordpress.org/plugins/askcart-ai-shopping-chat-for-woocommerce/#installation)
 * [Development](https://wordpress.org/plugins/askcart-ai-shopping-chat-for-woocommerce/#developers)

 [Support](https://wordpress.org/support/plugin/askcart-ai-shopping-chat-for-woocommerce/)

## Description

**AskCart – AI Shopping Chat for WooCommerce** is an intelligent, automated shopping
assistant designed specifically for WooCommerce stores. Developed by [Akshar Soft Solutions](https://aksharsoftsolutions.com/),
it connects directly with your live WooCommerce store catalog, orders, categories,
and inventory to answer customer questions in real time with high accuracy.

Whether customers are searching for specific products, checking real-time stock 
levels, asking about prices, or tracking their orders, AskCart – AI Shopping Chat
for WooCommerce delivers fast, helpful, and natural responses without hallucinating
products or inventing false links.

### Key Highlights

 * **In-Chatbot Login & Registration**: Customers can log in or register a new WooCommerce
   customer account directly inside the chatbot interface without being redirected
   away to the WooCommerce My Account page.
    - **Seamless Form Switching**: Easily toggle between the Login form and Registration
      form with a single click inside the chat window.
    - **Interactive Login Form**: Includes username/email and password fields with
      a show/hide password toggle and a “Remember Me” option.
    - **Interactive Registration Form**: Includes email, optional custom username,
      password, and password confirmation with real-time validation and show/hide
      password toggles.
    - **Instant Chatbot Header Update**: Upon successful authentication, the chatbot
      header dynamically replaces the “Guest” badge with the logged-in customer’s
      name and user icon, hides the Login/Register button, and updates contextual
      question chips immediately.
    - **Native WordPress / WooCommerce Security**: Fully integrated with WordPress
      core authentication (`wp_signon()`, `wc_create_new_customer()`), nonces, rate
      limiting, and session cookies (`WC()->session`).
 * **WordPress AI Client Integration (WordPress 7.0+)**: Seamlessly connects with
   supported AI providers (Google Gemini, OpenAI ChatGPT, Anthropic Claude) through
   the official WordPress AI Client. API keys and providers are managed centrally
   in WordPress Dashboard under **Settings  Connectors**, eliminating redundant 
   credentials storage.
 * **Dual Chatbot Display Modes & Isolated Question Management**:
    - **AI Search Mode (LLM-Powered)**: Uses the WordPress AI Client to generate
      dynamic, intelligent responses from your live store catalog. Administrators
      can manage predefined questions separately for guests and logged-in users.
      Displays question buttons in the chatbot frontend directly above the input
      box. Predefined answers are not needed in this mode.
    - **Quick Questions Mode (No LLM)**: Operates completely without calling an 
      LLM or using an API key. Questions configured for AI Search Mode are isolated
      and never appear here. Provides two types of questions:
    - **Custom Questions with Fixed Answers**: Administrators can create custom 
      questions and set fixed answers displayed instantly when clicked.
    - **Built-in WooCommerce Questions**: Context-aware predefined questions included
      with the plugin that query live WooCommerce store, catalog, product, and cart
      data without an LLM. Questions automatically adapt to page context (single
      product page, category page, shop page, or cart/general pages).
 * **Predefined Questions Managers**: Clean, separated admin tables with instant
   AJAX auto-saving. Questions in AI Search Mode do not show in Quick Questions 
   Mode, and questions in Quick Questions Mode do not show in AI Search Mode.
 * **Store Information Knowledge Base**: 9 dedicated categories (About Us, Working
   Hours, Support, Shipping, Returns & Refunds, Exchanges, Payments, Order Changes,
   Warranty) directly integrated into the AI’s real-time reasoning.
 * **Accurate Product Linking & Star-Free Formatting**: Generates clean, conversational,
   beautifully styled text without messy asterisks (`*`) or stray brackets.
 * **WordPress.org Compliant**: Built strictly adhering to WordPress coding standards,
   secure data sanitization, unslashing, late escaping, and unique namespace prefixes.

### Features

 * **In-Chatbot Authentication**: Native login and customer registration inside 
   the chatbot widget with zero page redirects.
 * **Multi-Provider AI Dispatcher**:
    - Google Gemini (e.g. `gemini-2.0-flash`, `gemini-2.0-flash-lite`, `gemini-1.5-
      flash`)
    - OpenAI (`gpt-4o-mini`, `gpt-4o`, `gpt-3.5-turbo`)
    - Anthropic Claude (`claude-3-5-haiku-20241022`, `claude-3-5-sonnet-20241022`,`
      claude-3-haiku-20240307`)
 * **Real-Time Product Search**: Tokenized keyword search, product SKU lookup, and
   category matching.
 * **Order Lookup & Live Tracking**: Supports queries like “Where is order #1024?”
   or “track order 1024”.
 * **Safe Error Handling**: User-friendly fallback message (“Try again in some time.”)
   when API limits or network issues occur.
 * **Custom Suggestions / Chips**: Configure quick-action chips for guests and logged-
   in customers.
 * **Custom Store Policies**: Add shipping terms, return policies, or store facts
   in the admin panel so the AI responds accurately to store policy inquiries.
 * **Mobile-Optimized & Accessible**: Lightweight, responsive chat widget with mobile
   bottom-sheet styling.

### Usage

### In-Chatbot Login & Registration

 1. Visitors clicking the **Login / Register** button in the chatbot header will see
    the authentication view smoothly slide into place inside the widget.
 2. To log in: Customers enter their username or email and password, with the option
    to toggle password visibility or remember their session.
 3. To register: Customers click the “Register” tab, enter their email address, optional
    custom username, password, and password confirmation.
 4. After submission: The customer is securely authenticated via native WooCommerce
    cookies, the header displays their name and avatar, and their session continues
    inside the chat without interrupting their shopping journey.

### Shortcode

By default, the chatbot appears on all storefront pages when enabled. You can also
explicitly load the chatbot using the shortcode:
 [akss_chatbot] or `[akss_chat]`

### Configuration Options

 * **Chatbot Display Mode**: Switch between **AI Search Mode (LLM-Powered)** and**
   Quick Questions Mode (No LLM)**.
 * **WordPress AI Client Configuration**: AI Search Mode utilizes the official WordPress
   AI Client (WordPress 7.0+). Configure your desired AI provider under WordPress
   Dashboard  Settings  Connectors.
 * **Predefined Questions & Answers**: Add, edit, or delete questions and answers.
   Select whether each question appears for Guests, Logged-in users, or both via
   checkboxes.
 * **Store Information**: Fill out individual textareas for About Us, Working Hours,
   Support, Shipping, Returns and Refunds, Exchanges, Payments, Order Changes, and
   Warranty.
 * **Appearance**: Choose a gradient preset or configure custom primary and secondary
   brand colors.
 * **Bot Avatar**: Pick a high-res AI avatar preset or upload your brand logo/mascot.

### External Services

This plugin uses the official WordPress AI Client (WordPress 7.0+) to communicate
with compatible AI providers when AI Search Mode is enabled. The external service
is invoked exclusively when a storefront visitor submits a chat message in AI Search
Mode. Quick Questions Mode works completely offline/locally without calling any 
external service.

Supported providers configured via WordPress Settings  Connectors include:

 1. Google Gemini (Google Generative Language API)

* What the service is and what it is used for: Google Gemini generates intelligent
conversational responses and shopping assistance for customer questions.
 * What
data is sent and when: When a visitor submits a chat inquiry in AI Search Mode, 
the message prompt, recent conversation history (up to 10 messages), and relevant
WooCommerce store context (product names, prices, categories, inventory status, 
and store policies configured by the administrator) are sent to the AI service. 
No personally identifiable customer data or payment information is sent. * Service
Provider: Google LLC * Terms of Service: https://ai.google.dev/terms * Privacy Policy:
https://policies.google.com/privacy

 1. OpenAI (ChatGPT)

* What the service is and what it is used for: OpenAI generates conversational shopping
assistance and product recommendations.
 * What data is sent and when: When a visitor
sends a chat message in AI Search Mode, the message prompt, recent conversation 
history, and contextual store catalog/policy data are sent to the AI service. No
sensitive user data or payment credentials are transmitted. * Service Provider: 
OpenAI, L.L.C. * Terms of Service: https://openai.com/policies/terms-of-use/ * Privacy
Policy: https://openai.com/policies/privacy-policy/

 1. Anthropic Claude

* What the service is and what it is used for: Anthropic Claude generates contextual
chat completions and store product answers.
 * What data is sent and when: When 
a user sends a chat inquiry in AI Search Mode, the user’s message, recent chat history,
and contextual WooCommerce catalog excerpts are sent to the AI service. * Service
Provider: Anthropic PBC * Terms of Service: https://www.anthropic.com/legal/consumer-
terms * Privacy Policy: https://www.anthropic.com/legal/privacy

## Screenshots

[⌊Settings panel with AI Search Mode vs Quick Questions Mode selector, Q&A manager,
and 9 Store Information fields.⌉⌊Settings panel with AI Search Mode vs Quick Questions
Mode selector, Q&A manager, and 9 Store Information fields.⌉[

Settings panel with AI Search Mode vs Quick Questions Mode selector, Q&A manager,
and 9 Store Information fields.

[⌊Floating front-end chatbot widget showing "Shopping Assistant", user bar, and 
quick question buttons.⌉⌊Floating front-end chatbot widget showing "Shopping Assistant",
user bar, and quick question buttons.⌉[

Floating front-end chatbot widget showing “Shopping Assistant”, user bar, and quick
question buttons.

[⌊In-chatbot Login and Registration tabbed interface with password toggle and instant
validation.⌉⌊In-chatbot Login and Registration tabbed interface with password toggle
and instant validation.⌉[

In-chatbot Login and Registration tabbed interface with password toggle and instant
validation.

[⌊Real-time product recommendations with price, stock, and clickable links.⌉⌊Real-
time product recommendations with price, stock, and clickable links.⌉[

Real-time product recommendations with price, stock, and clickable links.

[⌊Clean response rendering free from unnecessary asterisks and bracket markers.⌉⌊
Clean response rendering free from unnecessary asterisks and bracket markers.⌉[

Clean response rendering free from unnecessary asterisks and bracket markers.

## Installation

 1. Upload the plugin folder to your `/wp-content/plugins/` directory, or install it
    via the WordPress Plugins menu.
 2. Activate the plugin through the **Plugins** screen in WordPress.
 3. Ensure WooCommerce is active.
 4. Navigate to **WooCommerce > AskCart AI Chat** in your WordPress admin menu.
 5. Select your preferred Display Mode:
 6.  * AI Search Mode (LLM-Powered): Connects to the official WordPress AI Client. 
       Set up your AI provider in WordPress Dashboard  Settings  Connectors.
     * Quick Questions Mode (No LLM): No AI setup is needed. The built-in questions
       are fixed by the developer and cannot be edited, so you can only show or hide
       them and add your own custom questions.
 7. Click **Save Changes**. The chatbot widget will now appear on your storefront.

## FAQ

### Does this plugin require an active WooCommerce installation?

Yes. The plugin is built specifically to interact with WooCommerce products, orders,
categories, and shopping carts.

### How does the In-Chatbot Login and Registration work?

When a user clicks “Login / Register”, the authentication interface opens directly
within the chatbot dialog. Users can log in using their existing store account or
register a new customer account. All processing happens asynchronously through WordPress
and WooCommerce native handlers (`wp_signon`, `wc_create_new_customer`), ensuring
secure password handling, session cookies, and rate limiting.

### Does the user get redirected to My Account after logging in?

No. The user remains entirely within the chatbot, allowing them to continue asking
questions, checking orders, or viewing recommendations without any disruptive page
reloads.

### Does Quick Questions Mode require an API key?

No. Quick Questions Mode functions entirely using your saved question-and-answer
pairs and live store data without requiring an API key or calling any LLM.

### How do I configure the AI Provider for AI Search Mode?

Your chatbot uses the official WordPress AI Client. To configure an AI provider:

1. Go to WordPress Dashboard  Settings  Connectors. 2. Install and activate the 
required compatible AI provider integration (OpenAI, Google Gemini, or Anthropic
Claude). 3. Configure your API key in the provider settings and save. AskCart will
automatically connect via the WordPress AI Client.

### Where are API credentials stored?

API credentials are managed natively by WordPress under Settings  Connectors. AskCart
does not store or process third-party API keys directly.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“AskCart – AI Shopping Chat for WooCommerce” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Akshar Soft Solutions ](https://profiles.wordpress.org/aksharsoftsolutions/)

[Translate “AskCart – AI Shopping Chat for WooCommerce” into your language.](https://translate.wordpress.org/projects/wp-plugins/askcart-ai-shopping-chat-for-woocommerce)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/askcart-ai-shopping-chat-for-woocommerce/),
check out the [SVN repository](https://plugins.svn.wordpress.org/askcart-ai-shopping-chat-for-woocommerce/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/askcart-ai-shopping-chat-for-woocommerce/)
by [RSS](https://plugins.trac.wordpress.org/log/askcart-ai-shopping-chat-for-woocommerce/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0.0

 * **In-Chatbot Login & Registration**:
    - Implemented direct in-chatbot Login and Registration forms with tabbed switching.
    - Native WordPress/WooCommerce account creation and authentication.
    - Password visibility eye toggle and client/server validation.
    - Dynamic header updates displaying customer display name and user icon on successful
      login/registration.
    - Seamless state preservation with zero page redirects.
 * **WordPress.org Standards & Plugin Check Compliance**:
    - Resolved trademark restrictions in plugin name and slug.
    - Updated tested version to WordPress 7.1.
    - Applied unique `akss_` prefix across all global functions, options, AJAX actions,
      and constants.
    - Replaced SVG bot avatars with modern high-resolution image presets.
    - Corrected query parameters in similar products lookup to prevent slow queries.
    - Sanitized and unslashed all form, history, and AJAX inputs.
 * Dual display modes: AI Search Mode (LLM) and Quick Questions Mode (No LLM).
 * Context-aware WooCommerce built-in questions for product, category, and shop 
   pages.

## Meta

 *  Version **1.0.0**
 *  Last updated **1 hour ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 5.8 or higher **
 *  Tested up to **7.1.5**
 *  PHP version ** 7.4 or higher **
 * Tags
 * [AI Chatbot](https://wordpress.org/plugins/tags/ai-chatbot/)[chatbot](https://wordpress.org/plugins/tags/chatbot/)
   [ecommerce](https://wordpress.org/plugins/tags/ecommerce/)[Shopping Assistant](https://wordpress.org/plugins/tags/shopping-assistant/)
   [woocommerce](https://wordpress.org/plugins/tags/woocommerce/)
 *  [Advanced View](https://wordpress.org/plugins/askcart-ai-shopping-chat-for-woocommerce/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/askcart-ai-shopping-chat-for-woocommerce/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/askcart-ai-shopping-chat-for-woocommerce/reviews/)

## Contributors

 *   [ Akshar Soft Solutions ](https://profiles.wordpress.org/aksharsoftsolutions/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/askcart-ai-shopping-chat-for-woocommerce/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](https://aksharsoftsolutions.com/)