=== PlugnAI - AI Shopping Assistant ===
Contributors: plugnaiagents
Tags: woocommerce, ai, chatbot, shopping assistant, product recommendations
Requires at least: 5.8
Tested up to: 6.9
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
WC requires at least: 5.0
WC tested up to: 8.8

AI-powered shopping assistant for WooCommerce. Product search, recommendations, comparison and cart management via intelligent chatbot.

== Description ==

PlugnAI adds an intelligent AI shopping assistant to your WooCommerce store. Like Amazon's Rufus, but for your shop.

**Features:**

* Smart product search with natural language
* Personalized product recommendations
* Side-by-side product comparison with visual table
* Add to cart directly from the chat
* Product cards with images, prices and ratings
* Shipping and return policy information
* Automatic product catalog sync
* Floating widget or side panel display mode
* Multi-language support (responds in visitor's language)

**How it works:**

1. Install the plugin and connect your PlugnAI account
2. Products sync automatically to the AI engine
3. Your customers can chat with the assistant to find and buy products

**External Services:**

This plugin connects to the PlugnAI service to provide AI-powered chat functionality:

* **PlugnAI API** (api.plugnai.io) - Processes chat messages, product search and recommendations
* **PlugnAI Widget** (app.plugnai.io/webchat/widget.js) - Chat widget loaded on your store's frontend
* **PlugnAI Portal** (app.plugnai.io) - Account management and configuration

Product data (names, descriptions, prices, images, categories) is sent to PlugnAI servers for AI processing and semantic search indexing.

Service Terms: https://plugnai.io/terms
Privacy Policy: https://plugnai.io/privacy

== Installation ==

1. Upload the plugin to `/wp-content/plugins/plugnai-ai-shopping-assistant/`
2. Activate the plugin through the 'Plugins' menu
3. Go to WooCommerce > PlugnAI Assistant
4. Connect your PlugnAI account or enter your API Key
5. Products will sync automatically

== Frequently Asked Questions ==

= Do I need a PlugnAI account? =
Yes, sign up at plugnai.io to get your API key. A 14-day free trial is available.

= How does product sync work? =
Products sync automatically when you create, update or delete them in WooCommerce. On first activation, all published products are synced.

= Does it work with variable products? =
Yes, variable products and their attributes are synced and searchable.

= What data is sent to PlugnAI? =
Product information (name, description, price, images, categories, stock status) is sent to PlugnAI for AI processing. No customer personal data is collected or sent.

= In what languages does the assistant respond? =
The AI assistant automatically detects the visitor's browser language and responds accordingly. It supports Spanish, English, Portuguese, French, German and Italian.

== Screenshots ==

1. AI shopping assistant displayed in side panel mode on a WooCommerce storefront.
2. AI shopping assistant displayed in floating widget mode.
3. Side-by-side product comparison table generated by the assistant inside the chat.
4. Synced products list shown in the PlugnAI dashboard after automatic catalog sync.

== Changelog ==

= 1.0.0 =
* Initial release
* Product auto-sync via WooCommerce hooks
* AI chat widget with product cards
* Add-to-cart from chat
* Product comparison tables
* Side panel and floating widget modes
* Admin settings page with onboarding
* Multi-language support
