=== SellBot AiML Widget ===
Contributors: whisperaiml
Tags: chatbot, ecommerce, woocommerce, sales, live chat
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.4.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect a hosted SellBot sales assistant to your site. WooCommerce merchants can sync products so shoppers can ask for recommendations.

== Description ==

SellBot AiML Widget connects WordPress to the hosted SellBot chat service. Display the assistant across your site or add it to selected pages with a Shortcode block. WooCommerce is optional. An administrator can sync published products and variants after catalog changes.

The connector is free to install. The hosted service requires a SellBot account. New WordPress subscriptions start with a 14-day trial and renew through Stripe at the selected monthly or annual price. Existing merchants can connect their current workspace. Removing the plugin does not cancel a Stripe subscription.

== Installation ==

1. Upload the plugin ZIP in Plugins > Add New > Upload Plugin and activate it. Activation leaves the widget off.
2. Open Settings > SellBot AiML. Select a subscription for this installation and complete Stripe Checkout. Return to WordPress and select Connect paid workspace. An existing SellBot merchant can enter their workspace settings instead.
3. If WooCommerce is active, select Register + Sync WooCommerce Catalog. Repeat after product changes. The hosted service accepts inline catalogs up to 4 MiB per sync.
4. Preview the chat. Choose site-wide placement or shortcode mode, enable the widget, and save. In shortcode mode, add [sellbot_aiml_widget] to the pages where you want chat.
5. Use Manage billing or cancel in Stripe in the plugin settings to update your payment method or cancel. Back up your WordPress database before moving sites or uninstalling to preserve your installation credential.

== External services ==

* **SellBot AIML** provides the hosted chat and catalog search. Connecting sends your site name, URL and installation identifier to SellBot. A manual WooCommerce sync also sends public product names, descriptions, variants, prices, availability, images and links. Catalog sync writes product snapshots in the WordPress uploads directory. When a merchant enables chat, the visitor's browser requests branding and the hosted chat frame from chat.sellbotaiml.com. Messages typed into the chat go to SellBot. [SellBot terms](https://sellbotaiml.com/terms) and [privacy policy](https://sellbotaiml.com/privacy).
* **Stripe** provides subscription checkout and billing management. Choosing a plan opens Stripe with a pseudonymous installation reference and the selected plan. The merchant enters billing information directly on Stripe. SellBot receives subscription status changes from Stripe. [Stripe terms](https://stripe.com/legal/consumer) and [privacy policy](https://stripe.com/privacy).

== Frequently Asked Questions ==

= How do I use my existing account? =
Enter the runtime identifier supplied by your SellBot operator. For catalog sync, also enter the site-scoped token provided for your store.

= How do I cancel? =
Open the billing portal from Settings > SellBot AiML and sign in using your checkout email. Cancel there before the trial ends to avoid the first charge. You can also access the portal from the SellBot WordPress guide.

== Changelog ==

= 0.4.0 =
* Added Stripe subscriptions, a billing portal and per-installation workspaces.
* Bundled the storefront launcher and added registration for sites without WooCommerce.
