=== Loxia AI – Intelligent Voice & Chat AI for WordPress & WooCommerce ===
Contributors: loxiaai
Tags: woocommerce, ai, chatbot, voice, customer support
Requires at least: 5.8
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 6.0
WC tested up to: 9.5
Stable tag: 3.0.5
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Autonomous Voice AI agent & smart chat for WordPress & WooCommerce. Real-time voice calls, instant product search & 24/7 customer support chatbot.

== Description ==

Transform your WordPress site and WooCommerce store into an intelligent, voice-first shopping experience with **Loxia AI**.

Loxia AI delivers ultra-low-latency (<300ms) conversational AI voice agents, WhatsApp integration, and autonomous live chat designed to boost conversions, reduce support ticket volume by up to 60%, and delight shoppers 24/7.

### 🌟 Key Features

* **Voice Product Search & Catalog Discovery**: Allow shoppers to speak naturally (*"Find running shoes size 10 in black under $150"*) and receive instant, personalized AI product recommendations directly from your WooCommerce catalog.
* **Hands-Free Voice Order Tracking**: Customers can verbally ask *"Where is my order #1234?"* and receive real-time shipping status and carrier delivery ETAs instantly.
* **Ultra-Low Latency Voice (<300ms)**: Human-grade conversation speed powered by enterprise-grade speech models. No awkward delays or robotic pauses.
* **24/7 Autonomous AI Chatbot**: Handles customer inquiries, FAQs, return policies, size recommendations, and appointment bookings automatically.
* **Omnichannel WhatsApp & Web Continuity**: Seamlessly connect your web widget with WhatsApp Business for abandoned cart recovery and automated post-purchase follow-ups.
* **Multi-Language Auto-Detection (13+ Languages)**: Compatible with WPML, Polylang, and native WordPress locales. Automatically speaks and chats in English, Italian, German, French, Spanish, Portuguese, Chinese, Japanese, Arabic, and more.
* **Zero-Code Setup (30 Seconds)**: Simply paste your Loxia Agent ID in the admin settings to launch your assistant immediately.
* **High-Performance Order Storage (HPOS) Ready**: Fully compatible with WooCommerce 8.2+ HPOS and modern custom order tables.

### 🚀 Why Choose Loxia AI?

1. **Higher Conversion Rates**: Shoppers who engage with conversational voice & chat convert up to 4x faster than traditional search-and-filter browsing.
2. **Reduced Support Costs**: Deflect routine customer inquiries (shipping times, inventory availability, order status) without expanding your support staff.
3. **Accessibility & Voice-First Shopping**: Provide an intuitive, hands-free shopping experience for mobile users, elderly customers, and voice-first shoppers.

== Installation ==

1. Install directly through the WordPress Plugins screen by searching for **Loxia AI**, or upload the plugin zip file to your `/wp-content/plugins/` directory.
2. Activate the plugin through the **Plugins** screen in WordPress.
3. Navigate to **Loxia AI** in your WordPress admin menu.
4. Enter your **Agent ID** (available in your [Loxia AI Dashboard](https://loxiaai.com/dashboard)).
5. Click **Save Settings** – your autonomous voice & chat assistant is now active!

== Frequently Asked Questions ==

= Do I need a Loxia AI account? =
Yes. You can create a free trial account at [loxiaai.com](https://loxiaai.com) to get your Agent ID in seconds.

= Does this plugin work without WooCommerce? =
Yes! If WooCommerce is not active, Loxia AI functions in standard WordPress mode to answer general customer questions, qualify leads, and handle appointment bookings.

= How does voice product search work? =
Loxia AI securely connects to your active WooCommerce product catalog. When a visitor speaks, the AI understands conversational intent, checks product availability, filters attributes (size, color, category, price), and displays matching items with an instant "Add to Cart" option.

= Is it compatible with WPML, Polylang, and multilingual sites? =
Yes. The plugin automatically detects the visitor's active language and switches the voice and chat model dynamically.

= What are the performance and speed impacts? =
Zero impact on page load speed. The Loxia AI widget loads asynchronously without blocking DOM rendering or affecting Core Web Vitals.

== Screenshots ==

1. Loxia AI Admin Settings Panel in WordPress – 30-second setup with Agent ID.
2. Loxia AI Voice Assistant Widget – Real-time voice interaction with animated waveform.
3. Loxia AI Chat Assistant – 24/7 intelligent customer support & product discovery.
4. Loxia AI Dashboard – Agent configuration and omnichannel management.

== External Services ==

This plugin connects to the **Loxia AI** cloud platform (https://loxiaai.com) to provide conversational voice and chat AI capabilities.

**What is Loxia AI?**
Loxia AI is a third-party conversational AI SaaS platform that processes natural language voice queries, powers real-time speech synthesis, and coordinates conversational customer support.

**What data is transmitted and when:**

1. **Plugin Configuration** (`https://loxiaai.com/api/wordpress/connect`): When saving settings in wp-admin, your site domain and widget identifiers are sent to associate your WordPress site with your Loxia account.
2. **Widget Asset Loading** (`https://loxiaai.com/widget.js`): The lightweight widget script is loaded asynchronously on public pages. Visitor messages and voice streams are processed securely through Loxia AI infrastructure.
3. **WooCommerce Context**: If WooCommerce is active, contextual page metadata (current product ID, SKU, cart item count, order query) is securely transmitted to deliver accurate, context-aware AI recommendations.

**Service Links:**
* Terms of Service: https://loxiaai.com/en/terms
* Privacy Policy: https://loxiaai.com/en/privacy

== Changelog ==

= 3.0.5 =
* Release Date: October 8, 2026
* Enhancement: Multi-language internationalization (i18n) support with precompiled language packs (DE, ES, FR, IT, PT, NL, PL, JA, ZH).
* Fix: Active textdomain loading for multi-language WordPress & WooCommerce environments.

= 3.0.4 =
* Release Date: October 7, 2026
* Fix: Add parameter defaults and Throwable error handling in settings save for full PHP 8+ compatibility.
* Enhancement: Public catalog search endpoint for zero-friction WooCommerce sync.
* Enhancement: Display Store Secret Key in admin settings with one-click copy.

= 3.0.3 =
* Release Date: October 7, 2026
* Enhancement: Public catalog search endpoint for zero-friction WooCommerce sync.
* Enhancement: Display Store Secret Key in admin settings with one-click copy.
* Improvement: Real-time handshake synchronization upon saving settings.

= 3.0.2 =
* Updated plugin title for WooCommerce & WordPress voice search discoverability.
* Added official admin panel preview screenshot.

= 3.0.1 =
* Optimized keyword metadata, high-volume directory tags, and WooCommerce voice search integration.
* Performance optimizations for WooCommerce HPOS custom order tables.

= 1.0.0 =
* Initial official release of Loxia AI Voice & Chat Assistant for WordPress & WooCommerce.
