Skip to content
Ecommerce SEO

Product schema for online stores: what to add and how to check it

Structured data helps search engines read your price, stock and product details. Here is what to include and how to test it on Shopify and WooCommerce.

Written byEcommerce SEO Team
Nov 21, 20263 min read
Product page with price and stock details highlighted as structured data
Contents1 of 9

Key points

  • Product structured data describes your product, price and availability in a format search engines can read.
  • The data must match what shoppers see on the page.
  • Test with the Rich Results Test and watch Search Console reports for errors.
Summarize with AI:ChatGPTClaudePerplexity

When someone searches for a product, the result can show more than a title and a description. It can show the price, whether the item is in stock and, if the store has reviews, a rating. Much of that information comes from structured data: code on the product page that describes the product in a standard format, usually JSON-LD using the schema.org vocabulary.

What product structured data does

Structured data does not change what shoppers see on your page. It gives search engines a clear, machine-readable summary of the product: what it is, what it costs, whether it can be bought and how it has been reviewed. With that information, search engines can understand the page better, and the page can become eligible for richer search results.

Eligibility is not a guarantee. Search engines decide when to show rich results, but without accurate structured data they have less to work with.

The details that matter most

Start with the Product type and include the details that are true for every product page:

  • Name of the product
  • Image, using the same main image shoppers see
  • Description that matches the page
  • Brand
  • A product identifier, such as SKU and GTIN where you have one
  • An Offer with price, currency and availability
  • The product URL

Then add the details that apply to your store:

  • Review and AggregateRating, only if the reviews are real and shown on the page
  • Shipping details and return policy, if you want search engines to show them
  • Variant information, such as size and color, for products with options

Keep it consistent with the page

The most common problem is data that does not match the page. A price in the structured data that is different from the price on the page, an item marked in stock that is sold out, or a review count that no longer matches the reviews shown can all lead search engines to ignore the data. Structured data should be generated from the same source as the page, so it updates when prices and stock change.

Shopify notes

Many Shopify themes include Product structured data in the theme files, and some apps add their own. That can lead to two blocks of Product data on the same page, sometimes with different values. Test a product page, and if you find duplicates, keep one complete version, usually by updating the theme or turning off the app's markup.

Want this checked for your store?A senior specialist reviews it and sends clear next steps.
Get Started

WooCommerce notes

WooCommerce outputs basic Product structured data on product pages, and SEO plugins such as Yoast SEO and Rank Math can add to it or replace it. Review plugins may add rating data. Check that these work together rather than producing separate, conflicting blocks.

How to check your product pages

Test a few different product pages: a simple product, a product with variants and a product that is out of stock.

  1. Run each URL through Google's Rich Results Test to see which structured data is found and whether there are errors or warnings.
  2. Use the Schema Markup Validator to check the full structure against schema.org.
  3. In Google Search Console, open the reports for product snippets and merchant listings to see errors across the whole store.
  4. Compare the values in the results with what the page shows: price, currency, stock and rating.

Fix the errors that matter first

Errors stop a page from being eligible for a rich result, so fix those before warnings. Missing price or availability, invalid values and duplicate blocks are usually the first things to fix. Warnings point to optional details, such as missing GTIN or shipping information, which you can add as you improve your product data.

Keep checking after changes

Theme updates, new apps and plugin changes can change or remove structured data without anyone noticing. Add a quick structured data test to your checklist after each change, and keep an eye on the Search Console reports for new errors.

FAQ

Does structured data improve rankings?

Structured data helps search engines understand your pages and can make them eligible for richer results, such as price and availability in search. It does not guarantee a better position or a rich result.

Can I add review stars without reviews?

No. Review and rating markup must reflect real reviews that shoppers can see on the page. Marking up reviews that do not exist goes against Google’s guidelines.

My theme already adds schema. Do I need more?

Maybe not. Test a few product pages first. Many themes and plugins add basic Product markup, but details such as GTIN, brand or shipping information may be missing or out of date.

Ecommerce SEO Team

Senior specialists who work with Shopify and WooCommerce stores in the US.

Free growth audit

Find what's holding your store back.

A senior specialist reviews your store and sends a written, prioritized overview. No obligation.

  1. 1Share your storeTakes about a minute
  2. 2We review itTracking, ads, product pages, checkout
  3. 3You get a priority list
Sample audit reportyourstore.com · example onlyIllustrative
  • Tracking & dataGA4 purchase value doesn't match ordersHigh
  • Ads & feed14 products disapproved in Merchant CenterHigh
  • Product pageNo delivery info above the foldMedium
  • CheckoutAccount creation required before paymentMedium
  • RetentionNo abandoned-cart email flowQuick win

Example of the prioritized findings you receive.

Request your free audit

Five quick fields.

We’ll review your request and get back to you. Your written priority list follows after the review.

Step 1 of 3 · Your store

Which platform is your store on? *
Talk to specialists

How would you like to reach us?

A senior specialist reads every request. Choose what suits you.

Select a date