=== Kai – AI Sales Assistant ===
Contributors: tahirresul
Tags: woocommerce, ai, chatbot, product search, customer support
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 9.6
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI chat assistant for your WooCommerce store that answers shoppers' product questions from your catalog.

== Description ==
Kai reads your published, storefront-visible products (never orders or customers), keeps them in sync automatically, and answers shopper questions about price, stock, sizes and specs.

This plugin connects your store to the Kai service and adds the chat widget to your storefront. Deactivating the plugin disconnects your store, and your imported catalog is deleted after 48 hours.

= Features =
* Chat widget on your storefront that answers product questions from your live catalog.
* Automatic catalog import and sync — no manual re-import when you edit a product.
* Reads only published, storefront-visible products; never orders or customer data.
* One-click connect and disconnect from WooCommerce → Kai AI Assistant.
* Compatible with WooCommerce high-performance order storage (HPOS).

== Installation ==
1. Upload and activate the plugin.
2. Go to WooCommerce → Kai AI Assistant and click Connect store.
3. Approve access on the WooCommerce screen. Your products import automatically.

== Frequently Asked Questions ==

= What data does Kai access? =
Only your published, storefront-visible products: title, description, price, stock and images. Kai never reads orders, customers or payment data.

= What happens when I disconnect or deactivate the plugin? =
Kai stops syncing your catalog immediately, and your imported product data is permanently deleted within 48 hours.

= Where is my data processed? =
By the Kai service. See its Privacy Policy, linked from the plugin's settings page, for details.

== External services ==
This plugin connects your store to the Kai service (Kai AI Sales Assistant), which stores a copy of your published product catalog to answer shopper questions in the storefront chat widget.

* What it sends: your store's hostname (when you click Connect), a WooCommerce REST API key you create and approve on the WooCommerce authorization screen, your published product data (title, description, price, stock, images) fetched via that key, and the text of shopper messages sent to the chat widget.
* When: on connect, whenever a published product is created, updated or deleted, and whenever a shopper sends a chat message.
* Service: Kai AI Sales Assistant, see [Terms of Service](https://ai-sales-assistant-production-6357.up.railway.app/terms/woocommerce) and [Privacy Policy](https://ai-sales-assistant-production-6357.up.railway.app/privacy/woocommerce).


== Screenshots ==
1. The Kai AI Assistant settings page under WooCommerce.
2. The chat widget answering a product question on the storefront.

== Changelog ==

= 0.1.0 =
* Initial release: connect flow, automatic catalog sync, storefront chat widget, disconnect on deactivation.
