=== ProductKnowledgeGraph ===
Contributors: productknowledgegraph
Tags: woocommerce, ai, structured data, json-ld, products
Requires at least: 6.0
Tested up to: 7.0
Requires PHP: 7.4
Stable tag: 0.2.0
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Open Your Products to AI. Help ChatGPT, Gemini, Claude and other AI
systems discover, understand and recommend your products.

== Description ==

AI is becoming a product discovery channel. ProductKnowledgeGraph publishes
canonical, source-backed records of your products that AI systems can read
and cite, and this connector links your store to them:

* A dashboard with your AI Publication Status and AI Product Coverage:
  how many products are already published for AI and how many are not yet.
* An "AI Status" column on the Products list: Published / Not published.
* A server-side `subjectOf` JSON-LD pointer on product pages whose SKU or
  GTIN matches an official record. No match — no markup, not one byte.
* Your feed copy served at `/.well-known/productknowledgegraph.json`.
* Optional one-click "Share catalogue": announces your store's public
  catalogue endpoint to ProductKnowledgeGraph so more of your products can
  be covered by official records. Nothing is uploaded from your site.
* A 12-hour cache; a temporary fetch failure never breaks your site or
  removes markup that was already serving.

The connector reads your catalogue and writes markup. It does not read
orders, customers or payments, does not load any external JavaScript, and
does not change your page content.

== Installation ==

1. Upload the plugin and activate it.
2. In your ProductKnowledgeGraph account, copy your Official Product Feed
   link.
3. Paste it under Settings → ProductKnowledgeGraph and press Start Setup.

== External Services ==

This plugin connects to ProductKnowledgeGraph (productknowledgegraph.com)
for two things, both under your control:

1. Downloading your Official Product Feed from the URL you paste into the
   settings. The request is made from your server in the background (at
   most twice a day, or when you press "Update Product Records") and sends
   no data about your site, products, orders or visitors — it is a plain
   GET of a JSON file. No request is made until you configure the feed.
2. Only when you press "Share catalogue": one POST that announces your
   site address, your public WooCommerce Store API URL and your published
   product count, so ProductKnowledgeGraph can read your public catalogue
   and cover more products with official records. No product data, orders,
   customers or visitor data are sent by the plugin itself, and no request
   happens without that explicit click.

Service terms: https://productknowledgegraph.com/terms
Privacy policy: https://productknowledgegraph.com/privacy

== Frequently Asked Questions ==

= Does it slow my site down? =
No external requests happen on page views; the feed is fetched in the
background at most twice a day.

= What data leaves my site? =
Nothing on page views, ever. If you press "Share catalogue", the plugin
sends exactly three facts once: your site address, your public Store API
URL and your published product count.

== Changelog ==

= 0.2.0 =
* Dashboard: AI Publication Status, AI Product Coverage, AI Readiness.
* "AI Status" column on the Products list.
* One-click "Share catalogue" (explicit, disclosed, off by default).
* GTIN read via the WooCommerce getter (fixes a notice on WooCommerce 9.2+).
* First-connection fetch: Start Setup lands on a connected dashboard.

= 0.1.0 =
* Initial release: subjectOf pointer by SKU/GTIN, well-known manifest,
  12-hour cache, admin status page.
