=== Osie AI Support ===
Contributors: osie
Tags: customer support, ai, chatbot, woocommerce, live chat
Requires at least: 5.8
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.44
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI-powered customer support for WooCommerce stores. Automatically answers customer questions about products, orders, shipping, and store policies.

== Description ==

Osie AI Support adds an intelligent chat widget to your WooCommerce store that automatically handles customer questions using AI. It learns from your product catalog and store policies to provide accurate, helpful responses 24/7.

**Key Features:**

* **AI-Powered Chat Widget** - A beautiful, customizable chat widget that appears on your storefront and answers customer questions instantly.
* **WooCommerce Integration** - Automatically syncs your product catalog and store policies so the AI knows your business.
* **Order Lookup** - Customers can check their order status directly through the chat widget.
* **Smart Escalation** - Automatically escalates complex issues to your email when the AI can't help.
* **No Code Required** - Install the plugin, enter your API key, and you're live. No theme editing needed.
* **Customizable** - Choose widget position, colors, and welcome messages from the WordPress admin.

**How It Works:**

1. Sign up for an Osie account at [osie.ai](https://osie.ai)
2. Install this plugin and enter your Embed Key
3. Connect your WooCommerce store (OAuth or manual API keys)
4. The AI chat widget appears on your storefront automatically
5. Osie syncs your products and policies to provide accurate answers

**Perfect For:**

* Small to medium WooCommerce stores
* Stores with high support volume
* Merchants who want 24/7 customer support without hiring staff
* Stores selling products that generate frequent questions

== Installation ==

1. Upload the `osie-ai-support` folder to the `/wp-content/plugins/` directory, or install directly through the WordPress plugin screen.
2. Activate the plugin through the 'Plugins' screen in WordPress.
3. Go to **Osie AI** in the WordPress admin menu.
4. Enter your Embed Key from your [Osie Dashboard](https://app.osie.ai/dashboard/widget).
5. (Optional) Connect your WooCommerce store for product and policy sync.
6. The chat widget will appear on your storefront automatically.

== Frequently Asked Questions ==

= Do I need an Osie account? =

Yes. Sign up for free at [osie.ai](https://osie.ai) to get your Embed Key and access the merchant dashboard.

= Does this work without WooCommerce? =

The chat widget works on any WordPress site. However, the WooCommerce integration (product sync, order lookup) requires WooCommerce to be installed and active.

= How does the AI know about my products? =

When you connect WooCommerce, Osie syncs your product catalog and store policy pages (shipping, returns, FAQ, etc.) to its knowledge base. The AI uses this information to answer customer questions accurately.

= Can I customize how the widget looks? =

Yes. You can change the widget position (bottom-right or bottom-left) from the plugin settings. Additional customization (colors, welcome message, store name) is available in the Osie Dashboard.

= What happens when the AI can't answer a question? =

Osie can escalate conversations to your email so you can respond personally. Configure escalation in your Osie Dashboard.

= Is customer data secure? =

Osie does not store sensitive customer data like payment information. Conversations are stored securely and isolated per merchant. See our privacy policy at [osie.ai/privacy](https://osie.ai/privacy).

= How much does it cost? =

Visit [osie.ai](https://osie.ai) for current pricing. A free tier is available for small stores.

== Screenshots ==

1. The Osie chat widget on a WooCommerce storefront.
2. Plugin settings page in WordPress admin.
3. WooCommerce connection and sync status.
4. AI responding to a customer question about products.

== Changelog ==

= 1.0.0 =
* Initial release.
* AI-powered chat widget with Shadow DOM isolation.
* WooCommerce integration via OAuth or manual API keys.
* Product and policy data sync.
* Admin settings page with connection status dashboard.
* Widget position customization.
* HPOS compatibility declared.

== Upgrade Notice ==

= 1.0.0 =
Initial release of Osie AI Support for WooCommerce.
