=== AI Visibility for WooCommerce ===
Contributors: ranksnippet
Tags: woocommerce, ai visibility, llms.txt, ai, product-feed
Requires at least: 6.2
Tested up to: 7.1
Requires PHP: 7.4
WC requires at least: 8.0
WC tested up to: 11.2
Stable tag: 1.0.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Make your WooCommerce store visible to AI assistants. llms.txt, agents.md, catalog.json. Free version lists 500 products.

== Description ==

When someone asks an AI assistant for a product — for example "best running shoes under $100" — the assistant needs clear, machine-readable facts about your store: product names, prices, stock, images and links.

AI Visibility for WooCommerce publishes those facts from your own site:

* **llms.txt, llms-full.txt and llms-shop.txt** — plain-text catalogs for AI assistants, updated when your products change.
* **agents.md** — instructions for AI agents on how to use your store, without inventing prices or stock.
* **catalog.json** — a machine-readable product catalog, with price, currency, availability, image, category, SKU and a cart link per product.
* **Agent card, UCP and MCP files** — `/.well-known/agent-card.json`, `/.well-known/ucp` and `/mcp.json`, so agents can discover your catalog.
* **Readiness score 0–100** — see what is missing and what to fix, in plain words, with a 1-click Regenerate button.
* **Per-product GEO score** — a score for each product, shown as a column on the Products list, with a health check for missing description, image or price.
* **AI crawler log** — see when AI bots such as GPTBot, ClaudeBot and PerplexityBot visited your store and which pages they fetched.
* **AI referral tracker** — see visits from AI assistants, which analytics tools often show as Direct.
* **Bot control** — block AI training bots and allow AI search and shopping bots, with separate toggles.
* **Store policies** — shipping, return and payment info for the whole store, in llms.txt, agents.md, catalog.json and Organization schema.
* **AI order tracking** — orders that came from an AI assistant link are counted store-wide, with revenue, in the dashboard.
* **Store AI visibility check** — copy a prompt, ask an AI assistant about your store, and save its answer to watch it over time.
* **AI report** — 30- and 90-day crawler, referral and order totals, with a CSV download.
* **robots.txt and sitemap** — the AI files are listed in robots.txt and in the sitemap, so AI crawlers can find them.
* **Gap-only Product schema** — if Yoast SEO, Rank Math, All in One SEO or SEOPress already outputs Product schema, this plugin will not output it again.

The free version lists up to 500 products. Pro (one-time payment, one site) lists all products. There is no account to create, no API key to paste, and no data sent to any outside service. All files are generated and hosted on your own site.

This plugin helps AI assistants understand your store. It cannot promise a recommendation, a citation or a sale, because no plugin can control what an AI assistant says.

== Installation ==

1. In WordPress, go to Plugins > Add New > Upload Plugin.
2. Choose the plugin zip file and click Install Now, then Activate.
3. Go to WooCommerce > AI Visibility and run the setup wizard (about 2 minutes).
4. Check your readiness score, then open /llms.txt and /catalog.json on your site to see the files.

== Frequently Asked Questions ==

= Where does the catalog content come from? =

From your own site: your home page, your about page, and your WooCommerce products. You can edit any generated file by hand in WooCommerce > AI Visibility > Catalog Files, or delete it.


= Do I need an API key or an account? =

No. Everything in this plugin is made on your own site from your WooCommerce products. There is no account, no API key and no outside service.

= Will this make an AI assistant recommend my products? =

No plugin can promise that. This plugin helps AI assistants find and understand clear facts about your products — names, prices, stock and links — which is what they use when they answer shopping questions.

= What if I already use Yoast SEO or Rank Math? =

That is fine. If Yoast SEO, Rank Math, All in One SEO or SEOPress is already outputting Product schema, this plugin will not output it again. Your catalog files, scores and logs still work.

= Where are the catalog files stored? =

They are served from your own site at /llms.txt, /llms-full.txt, /llms-shop.txt, /agents.md, /catalog.json, /.well-known/agent-card.json, /.well-known/ucp and /mcp.json. No file is sent to a CDN or another server.

= How do I report a bug or request a feature? =

Go to WooCommerce > AI Visibility > Report Bug / Request Feature, or use the Report Bug / Request Feature links on the Plugins page. Copy the bug report template and system info into your forum topic.

= What is the free version limit? =

The free version lists the first 500 products in llms.txt, llms-full.txt, llms-shop.txt and catalog.json. If your store has more than 500 products, upgrade to Pro — a one-time payment for one site — to list all of them.

= What about variable products? =

The catalog lists the parent product with the lowest variation price, regular price and sale price. The cart link points to the product page, because a variable product cannot be added to the cart without choosing an option first.

= Does the plugin send my product data anywhere? =

No. The plugin makes no outside request. AI assistants can read the public catalog files on your site, in the same way a search engine reads your pages.

= What data does this plugin store? =

Only on your own site. It stores the settings you enter, the AI answer you paste into the manual check (only if you paste one), and three logs in your own database: an AI crawler log (bot name, page URL, time, and a one-way hash of the visitor IP — the IP itself is never stored), AI referral counts by day and source, and AI orders (order number, source and total, for orders that came from an AI assistant link). AI order tracking uses one first-party cookie, avwc_ai_source, kept for 30 days, which only records that the shopper came from an AI assistant. Nothing is sent to any outside service.

== Screenshots ==

1. The dashboard — readiness score, AI orders and the 30/90-day AI report.
2. The settings page — instructions at the top, then store policies and announcement.
3. Catalog Files — llms.txt, agents.md, catalog.json and the other generated files.
4. Crawler Log & Referrals — AI bot visits, AI referrals and AI orders.

== Changelog ==

= 1.0.0 =
* First release.
* llms.txt, llms-full.txt and llms-shop.txt, agents.md, catalog.json, agent-card, UCP and MCP files for AI shopping assistants.
* Readiness score, per-product GEO score, AI crawler log, AI referral tracker, bot control, store policies, AI order tracking, store AI visibility check, 30/90-day AI report with CSV download, robots.txt and sitemap links, gap-only Product schema and Organization schema.
* The catalog updates in the background (500 products per step, WP-Cron), so no admin page rebuilds it inline. The Dashboard shows a Catalog update card with a live progress bar, and the catalog files update as the build runs.
* Free version lists up to 500 products. Upgrade to Pro to list all products (one-time payment, one site).
* Manual file editing is a Pro feature. Files already edited by hand keep working and can still be deleted without Pro.
* Clear Cache and Regenerate catalog start a background rebuild. The live catalog keeps serving until the new one is ready.
