BACK TO DIRECTORY

AI Product Schema for WooCommerce – Product JSON-LD & llms.txt

by internick2017

0.0
(0 ratings)

AI shopping agents (ChatGPT, Gemini, Perplexity, Claude and others) increasingly research and recommend products for shoppers. To be considered, a store’s products need machine-readable, structured, complete data. WooCommerce does not provide this out of the box.

AI Product Schema makes your WooCommerce catalog first-class for AI shopping agents:

  • Complete Product JSON-LD on every product page (schema.org Product with offers, availability, ratings, brand and images), built from your live WooCommerce data.
  • No duplicate schema. AI Product Schema detects Yoast SEO and Rank Math and merges its data into their existing Product node instead of printing a second one. With no SEO plugin, it prints a standalone node.
  • AI product attributes you can fill in the classic product editor: a Q&A list, compatible accessories, and substitute products. These map to verified schema.org properties (subjectOf/FAQ, isRelatedTo, isSimilarTo).
  • /llms.txt — a Markdown index of your published products following the llms.txt convention, so agents can find your catalog quickly.
  • AI-crawler robots.txt directives that welcome known shopping/agent crawlers (GPTBot, Google-Extended, ClaudeBot, PerplexityBot and more) and point them at your /llms.txt.
  • Feature toggles under WooCommerce Settings AI Product Schema.

llms.txt built for a catalog, not for a blog

Most llms.txt plugins index pages: your posts, your about page, your contact form. That is
the right shape for a content site and the wrong shape for a store.

AI Product Schema generates a product index. It lists your published WooCommerce
products, and it is backed by complete Product JSON-LD on every product page, so an agent
that follows your /llms.txt finds real structured product data when it arrives: price,
availability, ratings, brand, images, and your AI attributes.

That pairing is the point. An llms.txt with nothing structured behind it tells an agent
where to look but not what it is looking at. Structured data with no index makes the agent
find your products on its own. This plugin does both, for WooCommerce specifically.

AI Product Schema reads product data exclusively through the WooCommerce CRUD API and declares High-Performance Order Storage (HPOS) compatibility.

Development

The full source code is publicly available at:

https://github.com/internick2017/ai-product-schema

Screenshots

The "AI Attributes" tab in the product editor: add product Q&A, compatible accessories, and substitute products.

The "AI Attributes" tab in the product editor: add product Q&A, compatible accessories, and substitute products.

AI Product Schema settings under WooCommerce → Settings: toggle Product schema, /llms.txt, and AI robots.txt, and choose the schema mode.

AI Product Schema settings under WooCommerce → Settings: toggle Product schema, /llms.txt, and AI robots.txt, and choose the schema mode.

The complete schema.org Product JSON-LD emitted on a product page, with AI attributes merged in (no duplicate node).

The complete schema.org Product JSON-LD emitted on a product page, with AI attributes merged in (no duplicate node).

Plugin Details

Active Installs
0
Total Downloads
189
Version
0.1.3
Requires WP
6.4
Requires PHP
8.1
Tested Up To
7.1
Added
2026-08-13
Last Updated
2026-08-28 10:12pm GMT

Ratings

5
0
4
0
3
0
2
0
1
0