=== AskThe.bot ===
Contributors: askthebot
Tags: woocommerce, ai, chatbot, product search, virtual try on
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 8.1
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Add AskThe.bot AI help and try-on links to WordPress, with optional WooCommerce catalog support.

== Description ==

AskThe.bot adds an AI assistant and try-on experience to WordPress sites. It works on standard WordPress pages without WooCommerce, and automatically enables deeper catalog features when WooCommerce is active.

Site owners can connect their AskThe.bot account from WordPress Admin, choose or create an assistant, and enable chat, try-on, or both. Chat can appear across the site, only on selected pages, or everywhere except selected pages.

For non-WooCommerce pages, try-on can be attached to selected pages with CSS selectors for the visitor-facing trigger and product image/label context. When WooCommerce is active, AskThe.bot also adds product-page try-on support and can expose a protected WooCommerce product search endpoint so the assistant can answer catalog questions with current public store data.

AskThe.bot loads scripts from the configured AskThe.bot service origin only when the assistant is enabled. It does not add public "powered by" links or other public external credits.

= External services =

This plugin connects to AskThe.bot to authorize your account, load the assistant scripts, manage your selected assistant, and optionally let that assistant search public WooCommerce product data through a protected token. Site URL, selected assistant information, configured product context, and public product catalog fields may be sent to AskThe.bot when those features are enabled.

Service: https://askthe.bot
Terms: https://askthe.bot/terms
Privacy: https://askthe.bot/privacy

== Installation ==

1. Upload the `askthe-bot` plugin folder or install the provided zip file in WordPress Admin.
2. Activate AskThe.bot.
3. Open Settings > AskThe.bot. If WooCommerce is active, you can also open WooCommerce > AskThe.bot.
4. Click Connect AskThe.bot and complete the authorization flow.
5. Choose or create an assistant, then save the site settings.

== Frequently Asked Questions ==

= Does this require WooCommerce? =

No. Chat and page-based try-on work on standard WordPress pages. WooCommerce is optional and enables product-page try-on placement plus protected product catalog search.

= Can I enable only chat or only try-on? =

Yes. The settings page lets you choose chat, try-on, or both.

= Can I keep the help bot off specific pages? =

Yes. Set Chat pages to show everywhere except selected pages, then select the pages where the assistant should not appear.

= Can I add try-on to a non-WooCommerce page? =

Yes. Select the target pages and enter a CSS selector for the page element visitors should click. Optional image and label selectors give AskThe.bot better product context.

= Does the product search endpoint require authentication? =

Yes. Product search is available only when WooCommerce is active, must be enabled in settings, and requires the generated AskThe.bot token.

== Changelog ==

= 0.1.0 =

* Initial WordPress plugin package.
* Added OAuth connection to AskThe.bot.
* Added assistant picker/create flow.
* Added configurable site chat and product-page try-on support.
* Added selected-page try-on support for non-WooCommerce pages.
* Added optional protected WooCommerce product search endpoint.
