=== Morimorida Talk & Shop – AI Chatbot & Voice Shopping Assistant for WooCommerce ===
Contributors: atyuatyu
Tags: ai chatbot, woocommerce, product recommendations, shopping assistant, voice assistant
Requires at least: 6.4
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 0.3.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

AI chatbot and voice shopping assistant for WooCommerce. Recommends in-stock products by chat or real-time voice and adds them to the cart.

== Description ==

Morimorida Talk & Shop is an AI chatbot and voice shopping assistant for WooCommerce. Shoppers talk or type what they need, and the AI sales assistant recommends matching products from your catalog and adds the chosen one to the cart, like a helpful clerk in a real store. It is developed and operated by Morimorida Inc. (株式会社モリモリダ).

Use it as a product finder, a gift finder or a 24/7 shopping assistant that answers "What should I buy?" questions and turns conversations into sales (conversational commerce).

* Shoppers describe what they want by typing or talking. Candidates update while they are still speaking.
* Real-time voice conversation that handles interruptions and back-channel responses.
* Recommends only products that are published, in stock and within the shopper's conditions (budget, age, category).
* Adds to the cart only the variant the shopper selects, after showing the current price and asking for confirmation. It never checks out or pays.
* Bot protection and consent before any conversation data is processed.
* Japanese and English storefront interface.

= Who is it for =

* WooCommerce stores with many products, where shoppers need help choosing (gifts, toys, cosmetics, food, hobby goods, apparel).
* Stores that want AI product recommendations without building their own chatbot or training a model.
* Stores that want a voice assistant on the storefront, not only a text chat widget.

= How it works =

1. Activate the plugin and start the free trial from WooCommerce → Morimorida Talk & Shop.
2. Your published products are synchronized to the Talk & Shop service (automatically on change and twice a day).
3. Turn on "Show the concierge on the site". A "Get product advice" button appears on your store.

= Free trial and plans =

The free trial lasts 7 days and includes 3 voice minutes and 30 product decisions. No payment details are needed to start. Paid plans are billed monthly in Japanese yen through Stripe and can be changed or cancelled at any time from the plugin. See the [terms of service](https://talkbot-woo.onrender.com/terms) for prices and allowances.

== External services ==

This plugin is a client for the Talk & Shop service operated by Morimorida Inc. (株式会社モリモリダ). It does not work without that service. Nothing is sent until an administrator starts the free trial or enters a connection key.

* **Talk & Shop service** (https://talkbot-woo.onrender.com), hosted on Render.
  * On registration: your site URL, site name and store currency.
  * Product catalog: published product names, descriptions, prices, stock status, categories, tags, image URLs, product URLs and the optional "Minimum age" field. Sent when you sync, when products change, and twice a day. No customer, order or user data is sent.
  * Storefront: after a shopper consents, their questions, preferences, recent conversation and (only when they start voice) audio are relayed through your site to the service.
  * Billing: when you subscribe, your administrator email is passed to Stripe for checkout.
  * [Terms of service](https://talkbot-woo.onrender.com/terms), [Privacy policy](https://talkbot-woo.onrender.com/privacy), [Legal notice](https://talkbot-woo.onrender.com/tokushoho)
* The Talk & Shop service uses these providers:
  * **TypeSafe (Jev)** for product selection: shopping input, recent conversation and product candidates.
  * **OpenAI** for real-time voice: audio, transcripts, instructions and product information. [Terms](https://openai.com/policies/terms-of-use/), [Privacy](https://openai.com/policies/privacy-policy/)
  * **Cloudflare Turnstile** for bot protection, loaded in an iframe from the Talk & Shop service on your storefront before consent: browser and network signals, no conversation text. [Terms](https://www.cloudflare.com/website-terms/), [Privacy](https://www.cloudflare.com/privacypolicy/)
  * **Stripe** for subscriptions and payments. Card details are handled only by Stripe. [Terms](https://stripe.com/legal/ssa), [Privacy](https://stripe.com/privacy)

The storefront widget script is bundled with this plugin. The cart is updated through the WooCommerce Store API on your own site.

== Source code ==

All plugin files are human-readable source; there is no build step. The storefront widget `assets/widget.js` is hand-written JavaScript (not minified or generated) and is the same file the service serves to its other storefront integrations.

== Installation ==

1. Install and activate the plugin. WooCommerce must be active.
2. Your site must be served over https and use pretty permalinks (Settings → Permalinks: anything other than "Plain").
3. Go to WooCommerce → Morimorida Talk & Shop, agree to the terms and press "Start free trial".
4. Turn on "Show the concierge on the site" and save.

== Frequently Asked Questions ==

= Does the AI place orders or take payments? =

No. It adds a product to the cart only after the shopper chooses a variant and confirms the current price. Checkout stays in WooCommerce.

= What happens when the allowance runs out? =

Voice or recommendations stop until the next period. There are no overage charges.

= How do I cancel? =

Press "Manage billing" to open the Stripe customer portal. After cancellation you can use the plan until the end of the paid period. Uninstalling the plugin cancels the subscription immediately.

= I lost the connection key. =

Press "Start free trial" again on the same site. Your existing connection is kept and a new key is issued (no second trial).

= Can I keep the secret out of the database? =

Yes. Define `TASKAL_WOO_TENANT` and `TASKAL_WOO_SECRET` in wp-config.php.

== Screenshots ==

1. The shopping assistant recommends products that match the shopper's age, budget and occasion.
2. Shoppers can compare up to three recommended products before adding one to the cart.
3. Mobile view: shoppers can type or talk by voice, and add the variant they choose to the cart.

== Changelog ==

= 0.3.2 =
* Show "Standard" for products without variations in the recommendation cards.
* Plugin Check clean-up: scoped safe redirect to Stripe, sanitized visitor address, prefixed uninstall variables.

= 0.3.1 =
* Restrict connection and billing changes to site administrators.
* Encrypt stored connection keys and preserve them when cancellation cannot be confirmed.
* Sign visitor identities and rate limit public proxy requests.
* Replace free-form voice guidance with store policy and contact URLs.
* Scope Stripe redirects to validated HTTPS destinations.


= 0.3.0 =
* Renamed to Morimorida Talk & Shop for WooCommerce.
* The service URL can no longer be changed from the admin screen (only by a wp-config.php constant).
* Admin notices are limited to the Plugins screen and the plugin page.
* Translations are provided through translate.wordpress.org.

= 0.2.0 =
* Self-service free trial with site ownership check.
* Monthly plans with Stripe checkout, plan changes and billing management.
* English base strings with Japanese translation.

= 0.1.0 =
* Invite-only beta.

== Upgrade Notice ==

= 0.3.0 =
New name and security hardening.

= 0.2.0 =
Adds the free trial and online plans.
