=== Seyaq for WooCommerce ===
Contributors: seyaq
Tags: ai, ai agents, structured data, json-ld, woocommerce
Requires at least: 6.5
Tested up to: 7.1
Requires PHP: 7.4
Stable tag: 1.0.1
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Adds your Seyaq AI agent page (with your store's MCP server), product JSON-LD and llms.txt to your WooCommerce storefront for compatible AI tools.

== Description ==

Seyaq (https://seyaq.ai) is an AI recommendation intelligence service for online stores. Once your WooCommerce store is connected to Seyaq (in your Seyaq account, with WooCommerce's own key approval), Seyaq:

* keeps a copy of your catalog — products, variations, prices and stock — up to date with WooCommerce;
* makes it available to compatible AI agents through your store's own MCP server: they can search your products and give shoppers an add-to-cart link to your store, and checkout always stays on your own site;
* publishes an AI agent page for your store, with schema.org product data in Arabic and English;
* tracks whether your store is recommended for real shopping questions — answered by an AI assistant with live web search, alongside the competitors you choose — and recommends what to fix.

This plugin is the storefront side of that service: it puts Seyaq's AI-readable layer on your own domain, where AI crawlers and compatible tools can find it. It generates no content itself — everything it adds comes from your Seyaq store.

* Every page gets links to your store's AI agent page (which lists your MCP server) and its llms.txt file, printed by the server so crawlers that never run JavaScript still find them.
* Product pages get structured product data (schema.org JSON-LD) for the product being viewed, from Seyaq's loader script.
* `/llms.txt` on your domain points to your store's llms.txt file on Seyaq, built from your catalog in Seyaq.

The plugin reads nothing from your orders, customers or payments, and changes no WooCommerce setting. Both features can be switched off under WooCommerce → Seyaq. A Seyaq subscription is required.

== External services ==

This plugin works with Seyaq (https://seyaq.ai), a service operated by Seyaq LLC. A Seyaq subscription is required.

* When you press "Link to Seyaq" under WooCommerce → Seyaq, your site sends its address (or the store code you entered) to Seyaq's API (api.seyaq.ai) to find your Seyaq store. Seyaq answers with your store's public addresses. Nothing is sent before you press the button.
* Once linked, storefront pages load Seyaq's loader script from Seyaq's servers. The visitor's browser sends the address of the page being viewed (including any query string, such as a search term) so Seyaq can return the matching product data; like any web request, this also reaches Seyaq with the visitor's IP address. The loader does not run on cart, checkout or account pages; no names, emails or order details are sent.
* Requests for `/llms.txt` are redirected to your store's llms.txt file on Seyaq.

Terms of Service: https://seyaq.ai/en/terms
Privacy Policy: https://seyaq.ai/en/privacy

== Installation ==

1. In Seyaq, connect your WooCommerce store (Connect store → Connect WooCommerce).
2. In WordPress, go to Plugins → Add New, search for "Seyaq for WooCommerce", then Install Now and Activate.
3. Open WooCommerce → Seyaq and press "Link to Seyaq". The plugin finds your Seyaq store by your site's address; you can also enter the store code shown in Seyaq → Connect store, step 3.
4. Back in Seyaq → Connect store, press Verify now in step 4 (Verify installation).

A copy downloaded from Seyaq → Connect store, step 3, comes already linked to your store; upload it under Plugins → Add New → Upload Plugin.

== Frequently Asked Questions ==

= I already have an llms.txt file =

A real `llms.txt` file in your site's root folder is served by your web server before WordPress runs, so the plugin leaves it alone. Remove the file, or switch the llms.txt option off, to use one or the other.

= I don't have a Seyaq account yet =

The plugin needs a Seyaq subscription to do anything. Start at https://seyaq.ai.

= Does it slow my store down? =

The loader is a small script loaded asynchronously; it never blocks your page from showing.

== Changelog ==

= 1.0.1 =
* Wording: Seyaq's Store tools page is now part of Connect store, so the settings page and the installation steps point there. No change in how the plugin works.

= 1.0.0 =
* First release: link to your Seyaq store from WordPress, agent page and llms.txt links, Seyaq loader (not on cart, checkout or account pages), /llms.txt redirect. A copy downloaded from Seyaq keeps its link through updates.
