=== TechPad – Click to AI Chat for WooCommerce ===
Contributors: thetechpad
Tags: woocommerce chat, woocommerce live chat, ai chatbot woocommerce, chat widget, woocommerce whatsapp chat, ai sales assistant, live chat, product recommendations, order tracking, web chat
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

An AI sales assistant chat widget for WooCommerce: recommends your real products with photos and prices, tracks orders by number + email, and every conversation lands in your unified Tech Pad inbox (web chat + WhatsApp).

== Description ==

The Tech Pad **Click to AI Chat for WooCommerce** adds an AI-powered chat widget to your storefront. Visitors ask about products and orders in plain language — the AI answers from YOUR live catalog and order data, right on your site.

* **AI sales assistant** — "Do you have snowboards under $200?" The AI searches your live WooCommerce catalog and replies with product cards: photo, price, sale badge and a link.
* **Order tracking in chat** — "Where is my order #1042?" The AI verifies the checkout email and shows the real order status. A bare order number never leaks anything.
* **One unified inbox** — every web chat lands in the same Tech Pad inbox as your WhatsApp conversations, with AI Copilot/autopilot, human handoffs, campaigns and automations.
* **Zero setup, zero API keys** — connect with an 8-character code from your dashboard. No WooCommerce REST keys, no tokens: product and order lookups are served by this plugin on your own site, so customer data never leaves your store.
* **Offer promotion** — the AI pushes your current offers (headline + code) set in the dashboard.
* **Merchant alerts** — get an email when a new chat lead or handoff happens (optional, per-widget).
* **Free to start** — sign up at thetechpad.com (free plan), connect your store, done. Remove the "Powered by" link for a one-time $10 per domain.

The chat window look (title, colours, greeting, pre-chat form, AI mode) is managed from your Tech Pad dashboard — this plugin connects your store and puts the widget on it.

== Installation ==

1. Upload the `techpad-click-to-ai-chat-woocommerce` folder to `/wp-content/plugins/`, or install the plugin through WordPress → Plugins → Add New.
2. Activate the plugin (WooCommerce must be active for product cards and order tracking).
3. Log in at thetechpad.com → Web Chat settings → Sales AI → **Connect WooCommerce store** to get an 8-character code.
4. In WordPress, go to WooCommerce → Click to AI Chat, paste the code and click **Connect store**.
5. Make sure **Show chat widget** is on. Done — the AI chat appears on your storefront.

== Frequently Asked Questions ==

= Do I need WooCommerce REST API keys? =

No. The plugin reads products and orders directly from your WooCommerce database and serves them to the chat through a token-protected endpoint on your own site. No consumer keys, no secrets to manage.

= Where do the chat conversations go? =

Into your Tech Pad workspace inbox (channel: web chat) — the same inbox as your WhatsApp conversations. Reply from the inbox and the visitor sees it in the widget in real time.

= Can the AI really answer product questions? =

Yes. When a visitor asks about products, the AI searches your live catalog (title, price, stock, sale) and answers with rich product cards. It only ever answers from your actual catalog — never invented products or prices.

= Can visitors track their orders in chat? =

Yes. The visitor gives their order number and the email used at checkout; the AI verifies the email and shows the real order status and items. Without a matching email, no order details are ever revealed.

= Is there a free plan? =

Yes. The plugin is free, and the web chat + AI is free on the Tech Pad free plan. The widget shows a small "Powered by The Tech Pad" link that can be removed for a one-time $10 per domain.

= Which browsers and themes are supported? =

All modern browsers. The widget works with any WordPress theme and page builder (Elementor, WooCommerce blocks, etc.) — it loads in the footer and does not touch your layout.

== Changelog ==

= 1.0.0 =
* Initial release: connect a WooCommerce store to The Tech Pad with an install code, embed the AI chat widget in shop mode, live product-card catalog + order tracking via the store's own REST endpoints.
