All merchant guides
MERCHANT GUIDE 02PRODUCT SCHEMASTRUCTURED DATA55 NORTHSTAR STUDIO · MERCHANT RESOURCE HUB

Structured data

The Plain-English Guide to Product JSON-LD Schema & Google Rich Snippets

A working Product JSON-LD example, the seven fields Google actually uses, and the mistakes that silently disqualify a product page from rich results.

9 min read · Updated December 2026

Share

In short

  • JSON-LD describes the product in a vocabulary search engines already read.
  • Price must be a number and availability must be a schema.org URL.
  • Markup that disagrees with the visible page is treated as spam, not as a typo.

What JSON-LD actually is

JSON-LD is a small block of JSON, placed inside your page, that describes the thing on the page in a vocabulary search engines understand. Shoppers never see it and it does not change your layout.

On a product page it says: this is a Product, this is its name, this is the price, this is whether it is in stock. Google reads it to build rich results such as price, availability and star ratings in search.

It is not a ranking factor on its own. It is a clarity factor. It removes the gap between what your page shows and what a machine records.

The fields Google actually uses

  • name: the product name, matching the visible title.
  • image: absolute URLs, ideally at least 1200px wide for large image previews.
  • offers.price and offers.priceCurrency: a number and an ISO code such as NZD or USD.
  • offers.availability: a schema.org URL, for example https://schema.org/InStock.
  • aggregateRating or review: only real ratings that a shopper can see on the page.
  • sku, gtin13 or mpn, plus brand: the identifiers that let a search engine match your product to the same product elsewhere.
  • offers.priceValidUntil and offers.shippingDetails: optional, and increasingly useful on shopping surfaces.

A complete, valid Product block

This is the minimum that earns a product rich result. Everything here also appears on the page itself, which is the rule that keeps you out of trouble.

product.json
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "Stoneware Pour-Over Set",
  "image": ["https://example.com/images/pour-over-1.jpg"],
  "description": "Hand-thrown stoneware dripper and carafe for two cups.",
  "sku": "NSS-PO-01",
  "brand": { "@type": "Brand", "name": "Northline Ceramics" },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/pour-over-set",
    "price": 89.00,
    "priceCurrency": "NZD",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition",
    "priceValidUntil": "2026-12-31"
  }
}

Copy this into the head of your product template and replace the values from your own catalogue.

The mistakes that quietly disqualify you

  • Price written as a string with a currency symbol. Use 89.00, not NZ$89.00.
  • Availability written as in stock. It must be a schema.org URL.
  • Relative image URLs. Use the full https address.
  • Markup that disagrees with the visible page, which is treated as spam rather than as an oversight.
  • Reviews you do not display, or ratings borrowed from a marketplace listing.
  • Two Product blocks on one page with different prices.
  • Structured data injected only after a click, so the first response contains none.

Where the block goes

Put it inside the head of the product template, once per product, generated from the same fields the page renders. On Shopify that is usually a snippet in the product template. On WordPress it is a field rendered by your theme or a small function. On a custom stack it is one template partial.

If you genuinely cannot touch the theme, a tag manager can inject JSON-LD, but it runs in the browser. Prefer the server whenever you have the choice.

What rich results will and will not do

Schema earns eligibility for enhanced listings: price, availability and stars in search. It does not put your products into Google Shopping on its own, which needs a Merchant Center feed, and it does not guarantee a ranking.

Think of it as the machine-readable layer under the page you already wrote. It removes ambiguity. It does not create demand.

Test in three minutes

  • Google Rich Results Test: confirms the block parses and names the result type you are eligible for.
  • Schema Markup Validator: catches property-level errors that Google ignores silently.
  • Search Console Enhancements: shows what Google found across the whole site after crawling.
Share
All merchant guides