Shoponix AI Chat for WooCommerce

Plugin Banner

Shoponix AI Chat for WooCommerce

by Hardik Ahir

Download
Description

This plugin adds an advanced AI chatbot to your WooCommerce store that answers customer questions and recommends products. It uses Retrieval-Augmented Generation (RAG) to ensure the AI only answers based on your actual store inventory.

Powered by the Mistral AI API, it securely stores product embeddings directly in your WordPress database, requiring no third-party vector databases.

Features:
Conversation Memory: The AI remembers context, allowing customers to ask follow-up questions seamlessly.
Real-time Streaming (SSE): AI responses stream instantly word-by-word just like ChatGPT.
Rich Product Cards: When the AI recommends a product, a visual WooCommerce product card (with image, price, and link) is rendered directly inside the chat.
Interactive Product Comparison Card: Customers can request a side-by-side spec and price comparison table of multiple items inside the chat widget.
Visual Image Search: Users can upload images to find visually similar products in your store.
Conversational Checkout: Users can add to cart, choose shipping, and securely checkout completely within the chat window.
Order Modification & Cancellation: Allows users to cancel or modify eligible orders directly via chat.
Context-Aware Browsing History: The AI tracks recently viewed products to provide highly relevant contextual responses (e.g., “Does this come in blue?”).
Proactive Sales Recovery: Features an Exit-Intent popup and proactive Abandoned Cart recovery prompts offering tailored discounts.
Text-to-Speech (TTS): The chatbot can read its responses aloud with a sleek UI toggle.
Sentiment-Based Live Escalation Desk: Monitors client mood to dynamically surface a premium human support ticket form whenever a user gets frustrated.
First-Screen Language Selection: Includes floating visual toggles (supporting English, Hindi, Spanish, French) that dynamically translates the UI and forces the AI response to localise naturally.
Dynamic Variation Selector: Replaced static selectors with adaptive attribute selectors (supporting Color, Size, Fit, etc.) dynamically syncing variation matrices.
Custom Quantity input: Added standard capsules along with an inline custom numeric quantity option.
Background Indexing: Uses WooCommerce’s Action Scheduler to index products in the background without causing timeouts, regardless of your store size.
Incremental Updates: Product vectors automatically update in real-time when you edit, create, or delete products.
Inventory Awareness: The AI knows if products are In Stock or Out of Stock.
– Floating chat widget with customizable colors and shortcode support [shoponix_chatbot].
– Rate limit handling with automatic retries for the Mistral API.

External Services

This plugin relies on external third-party APIs to generate product vector embeddings and power the conversational AI chat interface. Depending on the provider configured in the plugin settings, data (such as product titles and descriptions for indexing, or user/cart context and chat transcripts during a chat session) is sent to one of the following services:

  • Mistral AI

    • Service URL: https://mistral.ai
    • Terms of Service: https://mistral.ai/terms-of-service/
    • Privacy Policy: https://mistral.ai/privacy-policy/
    • Data Sent: Product titles and descriptions for generating embeddings; customer chat history to generate chatbot responses.
  • OpenAI

    • Service URL: https://openai.com
    • Terms of Service: https://openai.com/policies/terms-of-use/
    • Privacy Policy: https://openai.com/policies/privacy-policy/
    • Data Sent: Product titles and descriptions for generating embeddings; customer chat history to generate chatbot responses.
  • Google Gemini

    • Service URL: https://ai.google.dev
    • Terms of Service: https://developers.google.com/terms
    • Privacy Policy: https://policies.google.com/privacy
    • Data Sent: Product titles and descriptions for generating embeddings; customer chat history to generate chatbot responses.
  1. Upload the plugin folder to /wp-content/plugins/ or install via WordPress admin.
  2. Activate the plugin.
  3. Go to WooCommerce Mistral Chatbot.
  4. Enter your free Mistral API key (get from console.mistral.ai).
  5. Click “Rebuild Vector Index” to queue your products for background indexing.
  6. Enable the chatbot and customize colors.
Do I need a paid API key?

No, Mistral’s free tier provides enough tokens for most small to medium stores.

Are third-party vector databases required?

No, all vector operations use pure PHP and are stored directly in your WordPress database (wp_shoponix_product_vectors).

How do I track indexing progress?

Since indexing runs in the background, you can track it via WooCommerce Status Scheduled Actions.

1.3.0

  • Complete modular frontend architecture refactor for enterprise scalability.
  • Added Text-to-Speech (TTS) integration with UI toggle.
  • Implemented Visual Image Search for finding products from uploaded photos.
  • Introduced Context-Aware Browsing History.
  • Added conversational in-chat Checkout pipeline and Order Cancellation.
  • Implemented Proactive Abandoned Cart Recovery.
  • Refined Exit-Intent intelligent popup gating.

1.2.0

  • Added dynamic product variation selector with custom variation attributes.
  • Added stylized custom quantity input.
  • Implemented first-screen Language Selection Bar (with live Hindi, English, Spanish, and French translations).
  • Implemented Interactive Product Comparison Card with dynamic layout.
  • Implemented Sentiment-Based Support Escalation Form.
  • Implemented clickable Markdown link parser.

1.1.0

  • Major scalability update: Migrated indexing to WooCommerce Action Scheduler.
  • Added incremental indexing on product save/update/delete.
  • Added conversation memory for follow-up questions.
  • Implemented Server-Sent Events (SSE) for real-time text streaming.
  • Added rich visual HTML product cards for recommended products.
  • Added inventory (stock status) awareness to the AI context.
  • Added automatic retries for Mistral API rate limit errors (HTTP 429).

1.0.0

  • Initial release
Back to top