← All guides · Ingenious AI team · November 14, 2026 · Reviewed November 14, 2026
How Do I Add JSON-LD Product Schema to My Store?
Definition
JSON-LD Product data is a schema.org block embedded in a product page stating the product as data: its name, its identifiers, and an offers block with price, priceCurrency and availability. It is the page element agents read first — before layout text, before images — because it states the facts of the sale without interpretation.
The short answer
Add a schema.org Product block to every product page template, with an offers block stating the exact price, the ISO currency and a schema.org availability value — then keep the same price and currency on the page, in the feed and in the cart. The audit checks the block field by field: jsonld_present, jsonld_price, jsonld_currency, jsonld_availability, product_identifiers. The free store audit reads your live pages and reports each field's verdict.
Why the JSON-LD block is the product, to an agent
A product page contains the price several times: in the visible layout, in meta tags, in scripts. A human knows which one is the price. An agent trusts the one place designed to be unambiguous — the JSON-LD Product block. When the block is missing (jsonld_present, fail), the audit's fix text says it plainly: agents read the JSON-LD block first; a page with none forces the agent to guess from layout text, and guessing is where quotes go wrong. The block is not decoration for search engines. It is the product's statement of itself.
The block lives in the product page template, not on individual pages — add it once, in the template, driven by the same data that renders the visible price, and every product inherits it. Adding it by hand to a few pages is the failure mode the catalog sample exists to catch: one good page hiding a broken template.
The fields, one check each
The audit reads the offers block the way an agent does. jsonld_price: offers.price states the exact price — not a range the template emits for grouped products, not empty on variant products. jsonld_currency: offers.priceCurrency states the ISO code, for example USD — agents compare prices across stores and cannot compare a number without its currency. jsonld_availability: offers.availability states a schema.org value such as https://schema.org/InStock; a free-text stock note earns a warn, a missing value a fail. product_identifiers: the Product block carries gtin, gtin13, gtin14, mpn or sku, or a brand — agent catalogs match products across stores by identifier, and a product with none is hard to match and easy to skip.
Two softer checks complete the picture: product_title_descriptive wants a name of at least three words that says what the product is, and image_alt_coverage wants alt text on at least 80% of sampled product images for a pass. Neither blocks a purchase by itself; both decide whether your product is the one matched.
A block that passes
The shape is small. A Product object with name, sku and brand, and an offers object with price, priceCurrency and availability — populated from the product's real data, per product, per variant where variants change the price. The discipline is in the population, not the syntax: the price in the block must be the price on the page, because the audit cross-checks it (currency_consistency compares JSON-LD currency against page meta; the Pro price_math check reconciles JSON-LD, feed, page and cart to the cent). A block hardcoded with a placeholder price is worse than no block: it states a confident falsehood the agent will quote.
Variant handling is where templates usually break. If the block always describes the first variant while the page defaults to another, the prices disagree exactly when the buyer wants the other variant. Emit the block for the variant the page presents, or list each variant's offer — but never let the block describe a product state the page does not.
The mistakes that earn warns
Availability as prose — 'In stock!' as a string instead of the schema.org URL — earns a warn: present, but not in the vocabulary agents match on. A currency in the page meta that disagrees with the JSON-LD currency fails currency_consistency outright. Identifiers placed in a meta tag but not in the Product block do not count for product_identifiers; the check reads the block. And a block that validates as JSON but describes the wrong product — a template bug that emits the previous product's data — passes presence and fails the price reconciliation, which is why the audit checks fields, not just existence.
Each of these is invisible to a human preview. The page looks identical. That is the argument for testing with the audit rather than eyeballing the template: run the free audit, read the field verdicts, fix the template, retest. The detailed field guide is JSON-LD price and currency fields agents read.
Template first, catalog second
Fix the template, then verify the catalog. The Pro catalog sample (catalog_purchase_sample) runs the JSON-LD, price and add-to-cart checks per product across the feed — up to 25 products on Pro, 100 on Team — and names the worst products. A template fix that silently misses a product type (gift cards, bundles, the one legacy layout) shows up there as a named exception instead of a false all-clear. The pattern is covered in one good product page, broken catalog template.
Sources
- Schema.org Product vocabulary, the structured-data type the Catalog checks parse (schema.org, 2026).
- Google Merchant Center product data specification, Google's required and optional product-feed attributes (support.google.com, 2026).
- The Sitemaps protocol, the format the sitemap checks read (sitemaps.org, 2026).
Five actions to take
- Add the Product block to the template. One schema.org Product block per product page, generated from the product's own data — never pasted per page.
- State the offers facts. offers.price exact, offers.priceCurrency the ISO code, offers.availability a schema.org value such as https://schema.org/InStock.
- Carry an identifier. gtin, mpn or sku in the block, plus brand — the fields agent catalogs match products by.
- Make the block agree with everything else. Same price and currency in JSON-LD, page meta, feed and cart — the audit compares all of them.
- Retest the catalog, not one page. Run the audit, then the catalog sample, and fix any product type the template missed.
Worked example: Marigold Skin Studio, 47 to 86
Example — a fictional store, shown to illustrate how the audit's findings and fixes fit together. These are the example's numbers, not a customer's results.
Marigold Skin Studio is a fictional 18-product skincare store. Its first audit scored 47/100:
- Catalog: no JSON-LD Product block on the sampled page (jsonld_present, fail) — the theme rendered prices purely in layout markup.
- Catalog: consequently price, currency and availability all failed as missing (jsonld_price, jsonld_currency, jsonld_availability, fail), and no identifiers were found (product_identifiers, fail).
- Catalog: titles were descriptive and alt coverage was 89%, so the products were matchable in principle — they simply stated no facts an agent could quote.
The fixes, in the order the audit's impact weights dictate:
- Added a Product block to the product template: name, sku and brand on the product; price, priceCurrency and schema.org availability on the offers.
- Populated the block from the same variant data that renders the visible price, so block and page cannot drift apart.
- Ran the catalog sample: 17 of 18 products passed all per-product checks; one bundle product emitted a price range, corrected to emit the presented variant's offer.
The re-audit scored 86/100 with the badge earned. The five JSON-LD checks flipped together because they were one fix — the template — seen from five angles. The store's pages did not change visibly at all.
Run the free store audit · See pricing · Ingenious AI
Frequently asked questions
What is JSON-LD Product data?
A schema.org block embedded in a product page stating the product as data: name, identifiers such as sku or gtin, brand, and an offers block with price, priceCurrency and availability. Agents read it first because it states the facts of the sale without interpretation.
Which fields does the audit check?
Presence of the block (jsonld_present), then field by field: offers.price (jsonld_price), offers.priceCurrency (jsonld_currency), offers.availability as a schema.org value (jsonld_availability), and identifiers — gtin, gtin13, gtin14, mpn, sku or brand (product_identifiers). Each is reported pass, warn or fail with evidence.
Where does the block go — per page or in the template?
In the product page template, populated from each product's real data. Per-page pasting does not scale and drifts; the audit's catalog sample exists to catch templates that cover most products but miss a type.
What availability value should I use?
A schema.org URL such as https://schema.org/InStock or https://schema.org/OutOfStock. Free-text stock notes earn a warn because agents match on the schema.org vocabulary, not on prose.
Can the JSON-LD price differ from the page price?
It must not. The audit compares currency across JSON-LD and page meta, and the Pro price-maths check reconciles JSON-LD, feed, page and cart prices to the cent. A block that disagrees with the page makes the price read as unreliable.
Keep reading
Start from the top of the subject: Why AI Shopping Agents Skip Your Store · Can AI Agents Buy From Your Store? · Agentic Commerce Checklist for Online Stores. Then run the instrument itself: the free store audit, the Store Audit lab, and the pricing page. All guides are listed in the guides index.
Previous guide: What Is a Product Feed for AI Shopping Agents? · Next guide: How Should robots.txt Be Set for AI Shopping Agents?