Structured data SEO for online stores: a practical schema guide
When Google reads your product page, it sees text: a name, some figures, some stars. You know the figure next to the dollar sign is the price and the stars are the average rating, but Google has to work it out. That's exactly what structured data SEO solves: it tells Google explicitly what each thing is, in a language search engines share.
When it's done well, your products can appear with price, availability, and ratings right in the results. When it's done badly, nothing visible happens... until you discover your competitors show up that way and you don't. This guide is the starting point for your store's technical SEO: what it is, which format to use, which types you need, and how to validate them.
In short:
- Structured data describes your page with a standard vocabulary (schema.org) so Google understands it without guessing.
- Google recommends JSON-LD, although it also supports Microdata and RDFa.
- In a store, the key types are OnlineStore, Product and Offer, Review and AggregateRating, BreadcrumbList, and return and shipping policies.
- The markup must reflect what the user sees; otherwise you lose eligibility and can even get a manual action.
- Always validate with the Rich Results Test and keep an eye on the Search Console reports.
What structured data is
Google defines it in its introduction to structured data as a standardized format for providing information about a page and classifying its content. It's explicit clues: instead of inferring that "Aroma 12 Drip Coffee Maker" is a product, the markup declares it.
What schema.org is
Schema.org is the vocabulary search engines share. It was founded by Google, Microsoft, Yahoo, and Yandex, and today it works as a collaborative community that defines types (Product, Organization, Review) and their properties (name, price, ratingValue). Most of the structured data Google uses is based on schema.org, but Google clarifies that its own documentation is the reference for what its search engine uses: schema.org includes many properties Google ignores.
What SEO structured data schema means
When someone talks about "schema" or "structured data markup" for SEO, they mean the code you add to your page using that vocabulary. It doesn't change what your customer sees; it changes what the search engine understands.
Formats: JSON-LD, Microdata, and RDFa
Google supports three formats and generally recommends JSON-LD:
| Format | How it's written | Main advantage | When to use it |
|---|---|---|---|
| JSON-LD | A script block separate from the visible HTML | Easy to generate and maintain | Almost always; it's the recommended one |
| Microdata | Attributes inside the HTML tags | Lives next to the content | If your theme already generates it and it works |
| RDFa | HTML attributes with a different syntax | An alternative to Microdata | Only if your platform already uses it |
Google can also read JSON-LD injected with JavaScript, although the most robust option in a store is for the markup to come in the HTML the server delivers.
What structured data does in Google SEO
The main reason is to be eligible for rich results: price, availability, stars, or the navigation path inside the result. We explain each type in rich snippets: what they are and how to get them.
Is it worth it? Google cites in its documentation cases of companies that measured the effect: Rotten Tomatoes reported a 25% higher click-through rate (CTR) on pages with structured data and Nestlé an 82% higher click-through rate on pages that appeared as rich results. These are those companies' results, not a promise for yours, but they show why your competitors invest in this.
Two important clarifications:
- There's no guarantee. The general structured data guidelines say Google doesn't guarantee your markup will be shown, even if it's correct.
- It isn't a requirement for AI. Google's guide to generative AI features clarifies that structured data isn't necessary for generative AI search and that there's no special schema for it. It does recommend it as part of your general SEO. If you're interested in that layer, read AI SEO.
The types of structured data a store needs
You don't need to mark up everything. You need the right type on each template:
| Page | Schema type | What it adds |
|---|---|---|
| Home or "About" | Organization (OnlineStore) | The store's identity, logo, contact, and policies |
| Product page | Product + Offer (ProductGroup if there are variants) | Price, availability, shipping, and returns in results |
| Product page with real reviews | Review and AggregateRating | Eligibility for stars |
| Internal pages | BreadcrumbList | The site's navigation path |
| Blog articles | Article | Describes the article's author, dates, and image |
| Physical store | LocalBusiness | Local business details |
| FAQs | FAQPage | No longer generates rich results on Google |
Organization or OnlineStore
Google recommends using the most specific subtype: for an online store, OnlineStore instead of the generic OnlineBusiness. It's enough to place it on the home page or the page that describes the company; there's no need to repeat it across the site.
Product and Offer
It's the central type in ecommerce. It has two result variants (product snippets and merchant listings) with different requirements; we detail them in Product schema in JSON-LD and in the anatomy of good product page SEO.
Review and AggregateRating
Only with real reviews from customers that are visible on the page. The rules for not losing your stars are in how to get a star rating in Google search results.
BreadcrumbList
It describes the path Home > Category > Subcategory. It helps convey the site's architecture; we cover it in depth in breadcrumbs SEO.
FAQPage
It still exists in schema.org, but Google no longer shows FAQ rich results. Before investing time, read what changed with FAQ schema.
Structured data SEO examples: a store in JSON-LD
This block describes the store. It goes on the home page:
{
"@context": "https://schema.org",
"@type": "OnlineStore",
"name": "Example Store",
"url": "https://www.example.com/",
"logo": "https://www.example.com/img/logo.png",
"description": "An online store for coffee makers and specialty coffee accessories with nationwide shipping.",
"email": "hello@example.com",
"telephone": "+1-555-000-0000"
}
And this is how a BreadcrumbList for a subcategory is inserted into the HTML. The last item can omit the URL, because Google uses the URL of the page that contains it:
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "BreadcrumbList",
"itemListElement": [
{ "@type": "ListItem", "position": 1, "name": "Home", "item": "https://www.example.com/" },
{ "@type": "ListItem", "position": 2, "name": "Coffee makers", "item": "https://www.example.com/coffee-makers/" },
{ "@type": "ListItem", "position": 3, "name": "Drip coffee makers" }
]
}
</script>
How to validate your structured data
- Rich Results Test. Paste the URL or the code into the Rich Results Test and check which types it detects. Errors leave the item ineligible; warnings point out missing recommended properties.
- Schema Markup Validator. Schema.org's official validator checks the syntax of any type, including those Google doesn't use for rich results.
- URL Inspection in Search Console. It confirms Google found the markup in the version it crawled, not just in your browser.
- Rich result reports in Search Console. They warn you when a theme or plugin update breaks the markup on hundreds of pages.
- Measure over months. Google suggests comparing pages with and without structured data in the Performance report over several months.
Common structured data mistakes
These are typical mistakes in stores, and almost all of them are covered in Google's guidelines:
- Marking up content that isn't visible. If the reviews or price in the markup don't appear on the page, the item stops being eligible.
- Data that doesn't represent the page. A sale price on the page and the regular price in the JSON-LD, or vice versa.
- Missing required properties. Incomplete items aren't eligible.
- Markup on the wrong page. It should go on the page it describes.
- Duplicate markup. The theme, WooCommerce, and the SEO plugin each generate their own Product with different data.
- Made-up reviews or reviews copied from other sites. Besides losing the stars, you risk a manual action, which removes eligibility for rich results even though it doesn't affect the page's ranking.
Structured data SEO on WooCommerce and WordPress
In WordPress, markup can come from several sources at once: WooCommerce, the theme, and your SEO plugin. Check with the Rich Results Test how many Product blocks appear on a product page; if there's more than one with different data, choose a single source and turn off the others.
SEOXtreme generates from your catalog the JSON-LD for Organization, WebSite, Product and Offer, BreadcrumbList, ItemList and CollectionPage for categories, Article, FAQPage, and author (Person), with optional LocalBusiness. It can be your only SEO plugin or work alongside Yoast, Rank Math, or AIOSEO by detecting them so markup isn't duplicated. See how it works in WooCommerce SEO.
Conclusion: correct first, complete second
Structured data isn't a trick: it's the way to describe your store accurately so Google can show it better. Start with OnlineStore on the home page, Product and Offer on product pages, and BreadcrumbList across the site; validate, fix duplicates, and then add real reviews and return and shipping policies.
To get started, run your three best-selling product pages through the Rich Results Test today and write down the errors. To continue with the technical side, explore our Technical SEO guides.
Frequently asked questions
What is structured data in SEO?
It's a snippet of code, usually in JSON-LD format, that describes a page's content with a standard vocabulary: what a product is, what its price is, who the company is, or what the navigation path is. Google uses it to understand the page without guessing and to decide whether it can show it with rich results, such as price, availability, or ratings.
What is schema.org?
It's the shared vocabulary search engines use to understand structured data. It was founded by Google, Microsoft, Yahoo, and Yandex, and today it's maintained as a collaborative community activity. It defines types such as Product, Offer, Organization, or BreadcrumbList and their properties. Note: schema.org includes many properties Google doesn't use; to know what Google uses, the reference is its official documentation.
Which structured data format does Google recommend?
Google supports three formats: JSON-LD, Microdata, and RDFa, and generally recommends JSON-LD because it's the easiest to implement and maintain: it goes in a script block separate from the visible HTML. All three work equally well if the markup is valid. In a store, JSON-LD makes it easier to generate markup from the catalog without touching the theme templates.
Does structured data guarantee rich results?
No. Google clarifies that it doesn't guarantee your structured data will be shown in results, even if it's correct: the markup makes you eligible, but the algorithm decides what to show for each search. To increase your chances, include all required properties, make sure the markup matches what's visible on the page, and follow each feature's policies.
Do I need structured data to appear in AI Overviews?
According to Google's guide to generative AI features, structured data isn't a requirement for generative AI search and there's no special schema.org markup you need to add. Even so, Google recommends it as part of your general SEO because it makes you eligible for rich results and helps describe your products accurately.
Sources
Written and reviewed by the SEOXtreme editorial team using official sources (Google Search Central, platform documentation, and published studies). If you spot outdated information, email us at hola@vidaxtreme.com.