=== Kognit for WooCommerce ===
Contributors: kognithq
Tags: woocommerce, helpdesk, customer-support, live-chat, ai-chatbot
Requires at least: 5.8
Tested up to: 7.1
WC requires at least: 5.0
WC tested up to: 9.3
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Autonomous AI customer support, instant WISMO order tracking, product recommendations, and omnichannel live chat for WooCommerce stores.

== Description ==

**Kognit AI Helpdesk** is the autonomous customer support platform engineered specifically for modern e-commerce brands on WooCommerce.

Provide your shoppers with instantaneous, 24/7 support that resolves customer tickets, tracks orders, assists with sizing, and executes refunds—all powered by enterprise-grade AI models.

### 🌟 Key Features

* **⚡ Autonomous AI Support Autopilot**: Answers repetitive customer inquiries in seconds across shipping times, return policies, product specifications, and sizing charts.
* **📦 Instant WISMO ("Where is my order?"):** Customers can verify their order number and instantly receive live fulfillment and parcel tracking status directly inside the chat.
* **🛒 Cart Intelligence & Checkout Assistance**: Detects active cart items and helps hesitation shoppers with coupon questions and personalized recommendations to recover potential abandoned carts.
* **🔄 Full 2-Way WooCommerce Sync**: Syncs products, variations, inventory, customers, and order history with zero manual data entry.
* **💳 1-Click In-Inbox Refunds & Cancellations**: Process partial or full WooCommerce refunds directly from your Kognit Helpdesk dashboard without switching tabs into wp-admin.
* **📱 Omnichannel Support**: Unify WooCommerce live chat with your Gmail, Outlook, WhatsApp Business, Instagram DM, and Meta Messenger in a single shared inbox.
* **🛡️ Enterprise Security & Privacy**: Compliant with GDPR, CCPA, and DPDP. Never sells or uses merchant customer data for public model training.

### 🚀 Why E-commerce Brands Choose Kognit

Traditional helpdesks like Zendesk or Gorgias charge steep monthly fees per agent and require human staff to answer every ticket. Kognit resolves up to 70% of support requests autonomously, freeing your team to focus on high-value sales and complex issues.

== Third-Party Services ==

This plugin connects to external cloud services to provide autonomous AI customer support, instant WISMO order tracking, and real-time live chat functionality.

1. **Kognit AI Platform (Kognit Inc.)**
* **Service Provider**: Kognit Inc. (https://kognithq.com)
* **What data is transmitted**: When shoppers interact with the chat widget, visitor messages, inquiry intent, and store domain are sent to Kognit's AI API to generate instant replies and look up order fulfillment status. If live cart intelligence is enabled, shopping cart event timestamps and item counts are transmitted to help the AI answer sizing questions and assist at checkout.
* **Terms of Service**: https://kognithq.com/terms-of-service
* **Privacy Policy**: https://kognithq.com/privacy-policy

2. **Google Cloud Platform / Firebase**
* **Service Provider**: Google LLC (https://firebase.google.com)
* **What data is transmitted**: Real-time message documents and delivery status to power live chat synchronization between the customer storefront and merchant support agents.
* **Terms of Service**: https://cloud.google.com/terms
* **Privacy Policy**: https://policies.google.com/privacy

== Installation ==

### Automatic Installation via WordPress Admin

1. Log into your WordPress Dashboard (`/wp-admin`).
2. Navigate to **Plugins > Add New**.
3. Search for `Kognit AI Helpdesk`.
4. Click **Install Now**, then click **Activate**.
5. Go to **WooCommerce > Kognit AI Helpdesk** in your admin menu.
6. Enter your **Storefront Public Key** from your [Kognit Dashboard](https://kognithq.com) and click **Save Kognit Configuration**.

### Manual Installation

1. Download the `kognit-for-woocommerce.zip` file.
2. Log into your WordPress Dashboard and go to **Plugins > Add New > Upload Plugin**.
3. Choose the zip file and click **Install Now**.
4. Activate the plugin and navigate to **WooCommerce > Kognit AI Helpdesk** to configure your workspace key.

== Frequently Asked Questions ==

= Do I need a Kognit account to use this plugin? =
Yes. You will need a Kognit account to generate your Storefront Public Key and manage your support inbox. You can get started free at [kognithq.com](https://kognithq.com).

= Does this plugin slow down my storefront? =
No. The Kognit widget script is loaded asynchronously with zero render-blocking JavaScript. Your page load speeds, Google Lighthouse score, and Core Web Vitals remain completely unaffected.

= Is this plugin compatible with High-Performance Order Storage (HPOS)? =
Yes! Kognit for WooCommerce is 100% compliant with WooCommerce High-Performance Order Storage (HPOS) and custom order tables.

= Can I customize the chat widget's appearance? =
Yes. You can customize the widget color palette, greeting messages, avatar, position, and brand logo directly from your Kognit dashboard under Settings > Widget Config. Changes reflect immediately on your store with no code edits needed.

= Does this support order refunds and cancellations? =
Yes. When paired with WooCommerce REST API keys (Read/Write), support agents and authorized AI workflows can issue WooCommerce refunds directly from the Kognit inbox.

== Changelog ==

= 1.0.0 =
* Initial public release on WordPress.org and WooCommerce Marketplace.
* Complete WooCommerce HPOS (custom order tables) support.
* Live shopping cart event listeners (`added_to_cart`, `removed_from_cart`).
* Asynchronous storefront widget loader.
* Admin settings panel with connection status badge.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Kognit AI Helpdesk for WooCommerce.
