=== Lutecia for WooCommerce ===
Contributors: lutecia
Tags: ai, chatgpt, agentic commerce, product feed, ai shopping
Requires at least: 6.2
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.1.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make your WooCommerce catalog readable by AI shopping assistants: one-click connect, automatic sync, guided applications to each channel.

== Description ==

Shoppers are starting to ask AI assistants what to buy. This plugin connects your WooCommerce store to Lutecia, a catalog hub for AI shopping channels: your products become readable by AI assistants and stay current automatically.

**What connecting does**

* **One click.** No configuration, no code, no keys to copy. The plugin creates a read-only WooCommerce API key and registers your store; your catalog syncs in under a minute.
* **A live address for AI assistants.** Your store answers on its own discovery address (`/.well-known/ucp`, the open Universal Commerce Protocol backed by Google and Shopify) with live prices and stock.
* **Channel guidance.** ChatGPT, Google AI Mode and Gemini, Microsoft Copilot and Perplexity each run their own merchant program. The dashboard shows every application link, what each program requires, and three steps per channel: apply, tell us when you are accepted, we deliver your catalog.
* **Product data check.** The dashboard shows which products are missing a brand or a GTIN (the product barcode number, required by those programs), and exactly where to fill each field in WooCommerce.
* **Read-only by default.** Lutecia reads your products and does not change them. Order creation by assistants is a separate, explicit opt-in, and payment happens on your site, with your own payment methods.
* **Always current.** The AI shopping formats change often; format updates happen on Lutecia's servers, not through plugin updates on your store.
* **Reversible.** Disconnect from the dashboard at any time: the API key is deleted and your store stops being served to assistants.

== External Services ==

This plugin connects your store to the Lutecia service (https://lutecia.app). It sends requests in the following situations:

* **When you click Connect**: your shop URL, shop name, admin email, language, currency, and a newly created read-only WooCommerce API key are sent to Lutecia to register your store.
* **When your catalog changes**: a signed notification (shop URL and timestamp, no product data) is sent so Lutecia refreshes your catalog promptly.
* **When an AI assistant requests `/.well-known/ucp` on your domain**: the plugin fetches your store's discovery document from Lutecia and serves it (cached for one hour).
* **When a merchant program accepts you and gives you API credentials**: the credentials you paste are sent to Lutecia over an authenticated request and stored encrypted.

Provider: Lutecia. Terms of service and privacy policy: https://lutecia.app/legal

== Installation ==

1. Install and activate the plugin.
2. Open WooCommerce → Lutecia.
3. Click "Connect my store". Your catalog syncs and your store starts answering AI assistants.

== Frequently Asked Questions ==

= ChatGPT already crawls my site. Why would I need this? =
A crawler read your pages at some point; you control neither what it kept nor whether the price shown is current. This plugin adds two layers you control: a product feed kept in each channel's required format, and a live connection where an assistant checks stock at that moment.

= What access does Lutecia get? =
A read-only WooCommerce API key, visible and revocable at any time under WooCommerce → Settings → Advanced → REST API. It only switches to write access if you explicitly enable order creation by assistants.

= Can shoppers already buy through AI assistants? =
Not everywhere yet. Each consumer channel admits merchants through its own application, and that decision belongs to the platform. What connecting does today: AI assistants can already query your catalog live, and it is kept converted in each channel's required format, so an accepted application can go live without extra work.

= Does this slow my store down? =
No. Assistants query Lutecia's servers, not yours. Your store is called for catalog syncs (a normal REST API read) and at order time; the discovery document served on your domain is cached for an hour.

= What does it cost? =
Nothing today: the service is free while Lutecia works with its first merchants. Prices will be announced in advance.

= Can I disconnect? =
Yes, one click on the dashboard. The API key is deleted, the link is severed, and there is nothing to undo.

= Where can I get help? =
Write to contact@lutecia.app, or use the support forum here once the plugin is listed.

== Screenshots ==

1. Connect: one click, read-only by default, reversible.
2. Sync: your catalog goes live in under a minute.
3. Channels: application links and the current status of each channel program.
4. Product data: what the programs require, and where your catalog stands.

== Changelog ==

= 0.1.0 =
* Initial release: one-click connection, the AI-assistant discovery address served on your domain, catalog change notifications, guided channel applications with encrypted credential hand-over, product data completeness, admin dashboard.
