Review schema on Shopify is the structured data that tells Google your product has reviews, what the average rating is, and how many reviews sit behind that number. When it is set up correctly, Google can show stars under your product in search results. When it is wrong, Google can ignore it or remove rich results from your pages.

The part that matters most is simple. The schema has to match the reviews a shopper can actually see on the page. Same average, same count, same product.

What aggregateRating actually is

Structured data is a small block of code on your product page. Shoppers never see it. Search engines read it to understand the page faster than they can from visible text alone.

Inside product schema, the review part is called aggregateRating. It normally holds three values:

  • ratingValue: the average score, for example 4.7
  • reviewCount: how many reviews that average is based on
  • bestRating: the top of the scale, usually 5

Think of it as a summary label. If your page shows 4.7 stars from 132 reviews, the schema should say 4.7 and 132. Not 5.0, not 200, and not a number copied from another product.

Google uses this summary to decide if your listing can show stars. The stars are never guaranteed, even when everything is correct. Google still chooses which results get them, based on the search, the device, and how much it trusts the page.

How review schema gets onto your Shopify pages

For most stores, the schema comes from one of two places.

Your review app adds it

Most review apps can output product schema automatically when they display reviews on your product pages. This is the safest route for most merchants, because the app already knows your real average and count, and it updates both as new reviews come in.

Check the app settings for an option labelled structured data, rich snippets, or SEO schema, and make sure it is on. Then check that the app is actually showing reviews on that product. Schema for reviews that are not visible on the page does not count.

Your theme adds it

Some themes include product schema in their product template. That schema often covers the basics, like the product name, price, and availability, but it may not include aggregateRating at all. Other themes add it only if a reviews feature is built in.

This is where duplicates cause trouble. If your theme adds one set of product schema and your review app adds another, Google may see two versions of the same product with different details. Pick one source for review data, normally your review app, and avoid stacking extra schema apps on top.

If you add schema by hand in theme code, the values must update per product. Hard-coded numbers in a template will be wrong for almost every product, so only use manual code if it pulls the real rating data for that exact product.

How the stars look on the page matters too. A clear star rating display near the buy box helps shoppers read the score fast, and it keeps the visible rating in the same place as the reviews the schema describes.

The rules Google enforces

Google has specific rules for review rich results. Breaking them does not just stop the stars. In serious cases it can lead to a manual action against your site.

The reviews must be real and visible

The ratings in your schema must come from real reviews collected from real customers. You cannot write your own summary, borrow ratings from another site, or pay for a batch of reviews to fill the count. The reviews behind the numbers should be readable on the page, so a shopper and Google are looking at the same thing.

No self-serving markup on LocalBusiness

Google does not allow self-serving reviews for LocalBusiness or Organization schema. That means a business cannot mark up reviews about itself, on its own site, in a way that looks like an independent rating. If you run a local business, do not add aggregateRating to your LocalBusiness schema to get stars for your own business listing in normal search results. Product reviews on a product page are a different case, and they are the right focus for most Shopify stores.

Product schema needs a real product with offers

For product rich results, the page needs to be about a real, single product that a shopper can buy. The schema should include an offers section with a real price, currency, and availability that match what the page shows. A category page, a blog post, or a coming soon page with no way to buy is not a good fit.

Keep the basics in step as well:

  • The product name in schema matches the product on the page.
  • The price and stock status in schema match the buy box.
  • The rating only covers that product, not your whole store.
  • Sale prices are updated in schema when they change on the page.

One mismatch might just mean Google ignores the result. A pattern of mismatches tells Google not to trust the data.

How to check your pages with the Rich Results Test

You do not need to guess. Google gives you a free checker called the Rich Results Test.

  1. Open the Rich Results Test and paste in the full URL of one product page.
  2. Run the test and wait for the result. Look for Product in the list of detected items.
  3. Open the Product result and find the review section. Check the rating value and review count line by line against the stars shown on your live page.
  4. Read every warning and error. Errors need fixing. Warnings often mean a missing field that could improve the result, like a missing price detail.
  5. Repeat the test on a few different products, including one with no reviews and one with only a handful.

A product with no reviews should not show aggregateRating at all. If it does, something is filling in numbers that do not exist, and that needs to be removed.

After you fix anything, run the test again. Then check the Product snippets report in Google Search Console, which shows errors across your whole store. Give Google time to recrawl before you judge the result. Stars can take days to appear, and may show for some searches and not others.

Common mistakes that lose the stars

Store-wide ratings on product pages. Your overall shop rating belongs on your homepage or an about page, not inside every product. Each product needs its own numbers.

Old numbers after reviews change. If reviews are deleted, moderated, or moved to a new app and the schema keeps the old count, the two will drift apart. This is a common problem after a review app migration.

Reviews hidden behind a tab, or loaded only after a click. If shoppers cannot easily find the reviews, Google may treat the markup as a poor match for the page. Put reviews in a normal section and let them load with the page.

Asking only happy customers to review. Selecting only positive reviews for the page while the schema claims to cover all reviews gives a false average. Show a fair set and let the average be what it is.

A related fix is worth doing at the same time. If shoppers ask the same questions again and again, a clear FAQ section on your product page cuts support messages and gives buyers answers next to the reviews they are already reading.

How PageVert helps

PageVert has 2,000+ ready-made designs, including review sections you can add to product pages so your ratings and written reviews sit in a clear spot shoppers actually read. You can also run the CRO auditor for 1 credit per audit to flag weak trust areas on a page, or use the AI page builder for 1 credit per build to put the page together. Browse the options in the PageVert design library and pick a review layout that fits your product pages.