=== Kognit – AI Live Chat & Helpdesk ===
Contributors: kognithq
Tags: live chat, chatbot, helpdesk, ai chatbot, woocommerce
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.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI live chat and a shared helpdesk for any WordPress site. The AI answers from your own pages; with WooCommerce it also tracks orders.

== Description ==

**Kognit HQ** puts an AI live chat on your WordPress site and sends every conversation to one shared inbox for your team.

It works on any WordPress site: services, agencies, clinics, schools, SaaS, blogs and stores. WooCommerce is optional; when it's active, the chat also helps shoppers with orders and products.

= What it does on any site =

* **Answers from your own pages.** Kognit HQ reads your published pages (About, FAQ, Services, Shipping, Contact…) and the AI answers visitors from them. When you edit a page, the AI's copy updates within a few minutes.
* **Hands off instead of guessing.** When the answer isn't on your site or in your saved answers, the AI says a person will follow up and passes the conversation to your team.
* **One shared inbox.** Website chats arrive in the same Kognit HQ inbox as your Gmail, Outlook, WhatsApp, Instagram and Messenger conversations.
* **Your look.** Pick the color, position, assistant name and greeting, with a live preview.
* **Speaks your visitor's language.** English, Spanish, French, German, Portuguese, Italian, Dutch, Hindi and Arabic (right-to-left).

= Extra with WooCommerce =

* **Order tracking in the chat.** Customers ask where their order is and get its status and tracking.
* **Shopping help.** The chat knows what's in the shopper's cart and recommends products from your catalog.
* **Refunds and cancellations from the inbox.** Once you approve order access, your team handles them from Kognit HQ.

= Setup in one click =

Activate the plugin, click **Connect**, sign in to Kognit HQ (or create an account). No keys or code to copy.

== Third-Party Services ==

This plugin uses the Kognit HQ service to run the chat and answer visitors.

1. **Kognit HQ (Kognit Inc.)**
* **Service Provider**: Kognit Inc. (https://kognithq.com)
* **What data is sent and when**:
    * When a visitor uses the chat: what they write, the page's site address, and, on WooCommerce stores, order numbers they share and their cart's item count and total. If the visitor is logged in to your site, their name and email are filled in for the chat.
    * When you connect the site, edit a published page, open the plugin's settings, or once a day: the plugin sends your site's public chat key to Kognit HQ, which then reads your site's published pages through the WordPress REST API so the AI can answer from them. Only the site that was connected from this plugin is read.
* **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 sent**: Chat messages and their delivery status, so conversations sync live between your visitors and your team.
* **Terms of Service**: https://cloud.google.com/terms
* **Privacy Policy**: https://policies.google.com/privacy

== Installation ==

1. In your WordPress admin, go to **Plugins > Add New** and search for **Kognit**.
2. Click **Install Now**, then **Activate**.
3. Open **Settings > Kognit AI Helpdesk** (with WooCommerce: **WooCommerce > Kognit AI Helpdesk**).
4. Click **Connect (1-Click)** and sign in to Kognit HQ. The chat goes live on your site, and Kognit HQ starts reading your pages.

Manual installation: upload the plugin folder to `/wp-content/plugins/kognit-for-woocommerce/`, activate it under **Plugins**, then follow step 3.

== Frequently Asked Questions ==

= Do I need WooCommerce? =
No. The chat, the AI answers from your pages and the shared inbox work on any WordPress site. Order tracking and shopping help switch on when WooCommerce is active.

= Do I need a Kognit HQ account? =
Yes. The chat's conversations arrive in your Kognit HQ inbox. You can create an account during the one-click connect.

= Which pages does the AI learn from? =
Your published pages (not drafts or private pages), read through the WordPress REST API. Cart, checkout and account pages are skipped. You can also add your own answers in Kognit HQ. If a security plugin blocks the REST API, the plugin's settings page tells you.

= Will it invent answers? =
No. The AI answers from your pages, your saved answers and, on stores, your real orders and products. When it doesn't know, it hands the conversation to your team.

= Does it slow down my site? =
The chat script loads in the page footer, after your content, so it doesn't block your page from showing.

= Is it compatible with WooCommerce High-Performance Order Storage (HPOS)? =
Yes. The plugin declares HPOS and Cart & Checkout Blocks compatibility.

= Can I change how the chat looks? =
Yes: color, position, assistant name and greeting in the plugin's settings, and more (logo, quick replies, home cards) in Kognit HQ.

== Screenshots ==

1. The shared inbox: website chats alongside email and social messages.
2. The AI answering a visitor from the site's own pages.
3. On WooCommerce stores: order tracking and order actions from the inbox.
4. One inbox for your site, Gmail, Outlook, WhatsApp and Instagram.

== Changelog ==

= 1.1.0 =
* Works on any WordPress site: WooCommerce is now optional, and the chat acts as a store only when WooCommerce is active
* The AI learns your site's published pages and answers visitors from them; page edits reach it within minutes
* Settings page shows which pages the AI answers from, with Refresh now, and real setup checks
* Renamed to Kognit – AI Live Chat & Helpdesk

= 1.0.4 =
* The chat speaks your shopper's language: English, Spanish, French, German, Portuguese, Italian, Dutch, Hindi and Arabic (right-to-left).
* Product cards in chat show prices in the store currency.
* Shoppers can download or email a copy of their conversation.
* Welcome suggestions no longer appear after the shopper has already asked a question.

= 1.0.3 =
* Maintenance, performance, and stability improvements.
* Verified compatibility with WordPress 6.8 & 7.1 and WooCommerce 9.3+.
* Updated storefront telemetry and admin UI assets.

= 1.0.2 =
* Maintenance, performance, and stability improvements.
* Verified compatibility with WordPress 6.8 & 7.1 and WooCommerce 9.3+.
* Updated storefront telemetry and admin UI assets.

= 1.0.1 =
* Maintenance, performance, and stability improvements.
* Verified compatibility with WordPress 6.8 & 7.1 and WooCommerce 9.3+.
* Updated storefront telemetry and admin UI assets.

= 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.1.0 =
Works on any WordPress site: WooCommerce is now optional, and the chat acts as a store only when WooCommerce is active

= 1.0.4 =
Multilingual chat, store-currency product cards and conversation transcripts.

= 1.0.3 =
Update to 1.0.3 for latest WooCommerce connection reliability and live widget enhancements.

= 1.0.2 =
Update to 1.0.2 for latest WooCommerce connection reliability and live widget enhancements.

= 1.0.1 =
Update to 1.0.1 for latest WooCommerce connection reliability and live widget enhancements.

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

