Product Schema (JSON-LD) Guide for Shopify & WooCommerce (2026)

By Vaibhav · · 6 min read · How we check our numbers

Product structured data (JSON-LD) tells Google your exact price, currency, stock availability, SKU, GTIN and review rating — unlocking rich snippets and Google Shopping Merchant Listings that boost organic click-through rate by 15%–30%.

Want to run your own numbers? Use our free Product Schema Generator (json-ld for shopify & woocommerce).Open Product Schema Generator →

2. Common schema mistakes that block rich results

  • Price mismatch: If your JSON-LD says `$29.99` while the visible page shows `$34.99`, Google flags a Merchant Listing error and strips the snippet.
  • Duplicate conflicting schemas: Installing two Shopify SEO apps often injects two different `Product` JSON-LD blocks on the same URL — keep only one clean block.
  • Fake or site-wide reviews: Never paste your store’s homepage Trustpilot score into every product’s `aggregateRating`; Google requires product-specific reviews.

3. How to validate before publishing

Paste your generated script or live product URL into Google’s Rich Results Test and monitor the Product snippets and Merchant listings reports in Google Search Console for warnings.

Frequently asked questions

Q1Does Product schema improve Google rankings directly?
Structured data is not a direct ranking boost by itself, but rich snippets (price, stock status, star ratings) increase click-through rate and qualify your pages for Google Shopping Merchant Listings.
Q2Where do I paste JSON-LD product schema on Shopify?
Paste the script tag inside your theme’s product template (sections/main-product.liquid) or head snippet, ensuring it does not duplicate an existing Product schema block from your theme.
Q3Is JSON-LD better than Microdata for product schema?
Yes. Google explicitly recommends JSON-LD because it sits in a single clean script tag and does not break when you edit your HTML layout.

Test your numbers in the Product Schema Generator

JSON-LD for Shopify & WooCommerce

Your input

Only if reviews are shown on the page

Result

Paste this into your product page’s HTML (or your theme’s product template). Then test it with Google’s Rich Results Test.

JSON-LD snippet

<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "Product",
  "name": "HydroPeak Insulated Water Bottle 32 oz",
  "description": "Double-wall vacuum insulated stainless steel bottle that keeps drinks cold for 24 hours.",
  "image": [
    "https://example.com/images/bottle.jpg"
  ],
  "sku": "HP-32-BLK",
  "brand": {
    "@type": "Brand",
    "name": "HydroPeak"
  },
  "offers": {
    "@type": "Offer",
    "url": "https://example.com/products/water-bottle",
    "priceCurrency": "USD",
    "price": "29.99",
    "availability": "https://schema.org/InStock",
    "itemCondition": "https://schema.org/NewCondition"
  }
}
</script>

Download your results

Branded KleverKlimb report with your inputs and results.

Your numbers carry over automatically when you share or open the full calculator.

Test yourself

Tap a card to reveal the answer. More flashcards ›

Question

What is product schema (structured data)?

Tap to reveal the answer
Answer

JSON-LD structured data code added to a Shopify or WooCommerce product page so Google and AI search engines can display rich snippets (price, stock status, star ratings and GTIN).

Learn more →
Question

What is gTIN / UPC / EAN?

Tap to reveal the answer
Answer

Global Trade Item Numbers (GTIN) are official GS1 product barcodes: UPC-A (12 digits, US/Canada), EAN-13 (13 digits, UK/EU/international) and GTIN-14 (cartons), each ending in a modulo-10 check digit.

Learn more →
Question

What is SKU (Stock Keeping Unit)?

Tap to reveal the answer
Answer

A unique alphanumeric code created by a seller to track an individual product variation across inventory systems, warehouses and multi-channel stores.

Learn more →