Home Shopify Call Blog

Structured data for Shopify: what is it and how do you improve it?

Shopify Patrick Verhoeks Patrick Verhoeks

Schema markup (JSON-LD) helps Google and AI search engines understand your products, prices and reviews. Everything you need to know about structured data for Shopify.

Structured data schema markup for Shopify webshops

When someone searches for “red sneakers size 42” and Google shows your product directly with price, stock status and review stars — that’s structured data in action. And as AI search engines like ChatGPT and Perplexity answer more purchase-intent queries, structured data becomes only more important.

In this article I explain what structured data is, which types are relevant for Shopify, and how to improve it step by step.

What is structured data?

Structured data is extra information you add to your web pages in a format that search engines and AI models can read directly. You add it as JSON-LD code — a small block of JavaScript in the <head> or <body> of your page that describes what’s on that page.

Without structured data, Google has to guess what a page means. With structured data, you tell it explicitly:

{
  "@type": "Product",
  "name": "Red Canvas Sneaker",
  "price": "89.95",
  "availability": "InStock",
  "aggregateRating": { "ratingValue": "4.8", "reviewCount": "124" }
}

Google (and increasingly AI models) use this to show richer search results and to correctly understand your products in AI-driven searches.

Which schema types matter for Shopify?

Product schema

The most important type for webshops. Describes your product with name, price, availability, brand, image and SKU. Google uses this for Shopping results and rich snippets.

Minimum required:

  • name — product name
  • image — product image URL
  • offersprice and availability

Strongly recommended:

  • brand
  • sku
  • description
  • aggregateRating

Offer schema

Always nested within Product. Describes the offer: price, currency, availability and any discounts.

"offers": {
  "@type": "Offer",
  "price": "89.95",
  "priceCurrency": "EUR",
  "availability": "https://schema.org/InStock",
  "url": "https://yourshop.com/products/red-sneaker"
}

AggregateRating schema

Reviews are one of the strongest conversion factors. With AggregateRating you show stars directly in search results.

Helps Google understand the category structure of your store. Shopify generates some of this automatically, but it’s worth checking.

Organization and WebSite schema

On your homepage: who you are, your name, where you’re located. Strengthens authority for both Google and AI models.

FAQPage schema

On pages with FAQ sections: each question and answer is directly indexable by Google and citable by AI.

How does Shopify perform by default?

Shopify automatically generates some structured data via the Dawn theme and other official themes. But the implementation is often:

  • Incomplete — review data missing, offer details not fully populated
  • Theme-dependent — older or custom themes generate nothing
  • Not optimised for AI — the data is technically correct but lacks context that helps AI models

With a Shopify SEO audit you map out what’s missing and what has priority.

How do you improve structured data on Shopify?

There are three approaches — from easiest to best:

Option 1: Via an SEO app

Apps like TinyIMG, Schema Plus and JSON-LD for SEO add structured data automatically. Advantage: quick and without code. Disadvantage: limited control, extra app costs, additional JavaScript load time and dependency on a third party.

Option 2: Via the theme (Liquid) — the right approach

Implementing JSON-LD directly in the theme code gives you full control. This is the approach Web Builders uses as standard — and not by coincidence.

Why native in the code?

  • Loaded as fast as possible — the JSON-LD sits directly in the HTML response, no extra request or script
  • Full control — every field implemented exactly as Google and AI crawlers expect
  • No app costs or dependencies — the markup always works, regardless of which apps you install or remove later
  • Better readable for LLMs — AI crawlers read the raw HTML; native markup is available immediately without JavaScript execution

A comprehensive Product schema implementation in Liquid:

<script type="application/ld+json">
{
  "@context": "https://schema.org/",
  "@type": "Product",
  "name": {{ product.title | json }},
  "image": {{ product.featured_image | img_url: 'master' | json }},
  "description": {{ product.description | strip_html | json }},
  "sku": {{ product.selected_or_first_available_variant.sku | json }},
  "brand": { "@type": "Brand", "name": {{ product.vendor | json }} },
  "offers": {
    "@type": "Offer",
    "price": {{ product.price | money_without_currency | json }},
    "priceCurrency": "EUR",
    "availability": {% if product.available %}"https://schema.org/InStock"{% else %}"https://schema.org/OutOfStock"{% endif %},
    "url": {{ canonical_url | json }}
  }
}
</script>

Option 3: Via an SEO app as a temporary solution

Don’t have a developer available? An app is an acceptable starting point. But plan a migration to native implementation over time — the advantages in terms of speed, control and cost outweigh the convenience of an app.

Checking and validating

Use these tools to check whether your structured data is correct:

  • Google Rich Results Test: search.google.com/test/rich-results — test per URL whether Google recognises the markup
  • Schema Markup Validator: validator.schema.org — validate the JSON-LD syntax
  • Google Search Console: under Search Results → Enhanced results you see which pages qualify for rich snippets

Structured data and AI search engines

Besides Google, structured data is becoming increasingly important for AI models. ChatGPT and Perplexity use web crawlers that index products. A page with correct schema markup is:

  • Better understood in context (what is this product, for whom, at what price?)
  • More often cited in responses to purchase-intent queries
  • Easier to process by AI agents in agentic commerce

This is part of what we call GEO (Generative Engine Optimisation) — optimising your store for AI discoverability.

Conclusion

Structured data is no longer a nice-to-have — it’s a fundamental part of technical SEO and AI discoverability. For Shopify stores this means concretely: correct Product, Offer and Review schema on every product page, BreadcrumbList on category pages and Organization on the homepage.

Want to know how your Shopify store is performing technically? Book a free conversation or see our approach for Shopify SEO.

  • #shopify
  • #structured data
  • #schema markup
  • #seo
  • #json-ld
  • #ai