=== Llumo AI Chat Widget ===
Contributors: llollaalloll, shopaday
Tags: chatbot, ai chatbot, customer service, live chat, ecommerce, woocommerce
Requires at least: 5.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 2.0.3
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add an AI chatbot to your WordPress site in 2 minutes. Answers customer questions 24/7 automatically — now with WooCommerce product sync.

== Description ==

**Llumo AI Chat Widget** lets you embed a smart AI chatbot on your WordPress website in under 2 minutes — no coding required.

The bot is trained on **your own store data** (products, policies, FAQs) so it gives accurate, relevant answers — not generic responses.

Version 2.0.0 adds native **WooCommerce integration**: products sync automatically to your Llumo knowledge base whenever they are created, updated, or deleted — keeping the chatbot's answers always up to date.

= Key Features =

* 🤖 AI-powered chat that answers questions about your products and services
* 🇹🇭 Native Thai + English language support
* ⚡ Simple setup: install plugin → enter API Key → done
* 🎨 Customizable bot name, color, welcome message, and position
* 📊 Dashboard to monitor conversations and usage
* 🔄 Auto-crawl your website to keep knowledge up to date
* 🛒 **WooCommerce webhook integration — real-time product sync**
* 🔄 **Auto-sync: products sync automatically when created/updated/deleted**
* 🔐 **HMAC-signed webhooks for secure communication**
* 💳 Trial 14 days free — then ฿490/month (~$14)

= How It Works =

1. Sign up at [widget.shopaday.top](https://widget.shopaday.top)
2. Add your store info and let the bot crawl your website
3. Install this plugin, enter your API Key
4. The chat bubble appears on your site instantly
5. If you use WooCommerce, activate the plugin to auto-register webhooks and sync your products

= Perfect For =

* WooCommerce stores
* Service business websites
* Informational sites and landing pages
* Any site that gets repetitive customer questions

= Requirements =

* A free account at [widget.shopaday.top](https://widget.shopaday.top)
* API Key from your dashboard (shown after signup)
* *(Optional)* WooCommerce for automatic product sync

== External Services ==

This plugin connects to the Llumo AI backend service (widget.shopaday.top) to provide AI chatbot functionality.

- Service URL: https://widget.shopaday.top
- What is sent: visitor chat messages, WooCommerce product data (if WooCommerce is active)
- When: only when a visitor interacts with the chat widget, or when WooCommerce product sync occurs
- Terms of Service: https://widget.shopaday.top/terms
- Privacy Policy: https://widget.shopaday.top/privacy

The plugin does NOT collect or transmit any data without user interaction. WooCommerce product sync only occurs when explicitly activated by the site administrator.

== Installation ==

1. In WordPress Admin, go to **Plugins → Add New Plugin → Upload Plugin**
2. Upload the `shopaday-widget.zip` file
3. Click **Install Now**, then **Activate**
4. Go to **Settings → Llumo AI Chat**
5. Paste your API Key from [widget.shopaday.top/dashboard](https://widget.shopaday.top/dashboard)
6. Click **Save** — the chat widget appears on your site immediately
7. *(Optional)* If WooCommerce is active, the plugin auto-registers product webhooks on activation. Use the **Sync Now** button to push all products to your knowledge base.

== Frequently Asked Questions ==

= Do I need coding skills? =
No. Just install the plugin, paste your API Key, and save. That's it.

= Where do I get the API Key? =
Sign up at widget.shopaday.top, create your shop, and your API Key will be shown in the dashboard.

= Is there a free trial? =
Yes — 14 days free, no credit card required.

= What languages does the bot support? =
Thai and English natively. The bot responds in the same language the visitor uses.

= Will it slow down my website? =
No. The widget script loads asynchronously and only activates when a visitor opens the chat.

= Can I customize the chat bubble color and position? =
Yes. You can set the color, position (bottom-right or bottom-left), bot name, and welcome message from the Llumo dashboard.

= Do I need WooCommerce? =
No. WooCommerce is optional. If you do use it, the plugin automatically syncs your products to keep the chatbot's answers accurate.

= What is the Webhook Secret for? =
The Webhook Secret (shown in the settings page) is used to cryptographically sign product sync events sent to the Llumo backend. Copy it into your Llumo backend settings to enable HMAC signature verification.

== Screenshots ==

1. Chat widget on a live WooCommerce store
2. Plugin settings page in WordPress Admin
3. WooCommerce integration section with sync status and webhook controls
4. Llumo Dashboard — manage knowledge and conversations

== Changelog ==

= 2.0.3 =
* Rebranded to Llumo AI Chat Widget
* Replaced inline script tags with wp_enqueue_script()
* Improved WordPress.org compliance

= 2.0.2 =
* Bump version for WordPress.org re-submission

= 2.0.1 =
* Removed custom auto-update mechanism (WordPress.org handles updates)
* Added external services disclosure
* Compliance with WordPress.org plugin guidelines

= 2.0.0 =
* WooCommerce webhook integration — real-time product sync
* Auto-sync: products sync automatically when created/updated/deleted
* Manual sync button in settings
* Sync status display (last sync, product count)
* Auto-update checker
* Improved settings page

= 1.0.0 =
* Initial release
* AI chat with Thai/English support
* Customizable bot name, color, and position
* Auto-crawl website for knowledge
