How to fix a product snippet missing aggregateRating
This warning means your product page's structured data has no review or aggregateRating, so Google has no star rating to show. Fix it by marking up real customer reviews that are visible on the page, usually through your review app or e-commerce platform settings.
If Google Search Console or the Rich Results Test shows "Missing field aggregateRating" or "Missing field review" on your product pages, your site is telling search engines about the product but not about what customers think of it. The page still works and can still be indexed. You just lose the chance to show star ratings in search results.
What the warning means
Product pages can carry a hidden block of data (usually JSON-LD) that describes the product: name, image, price, availability. Google also looks for two optional review fields inside it:
review: one individual customer review, with an author, a rating and usually some text.aggregateRating: the summary, such as an average of 4.6 from 38 reviews.
For most product pages these fields are recommended, not required. In Search Console they normally appear as a warning (usually orange), not an error (red). Your product can still qualify for product results without them. The warning simply says you could be showing more.
Why it matters
Star ratings under a search listing tend to make it stand out and build trust before anyone clicks. Without review data, you are not eligible for them. Review data also gives search engines and AI assistants a clear, machine-readable signal about how a product is regarded, instead of having to guess from page text.
Also, do not treat this as a reason to add ratings you do not have. Google expects markup to match what visitors can see on the page. Fake or invisible ratings can lead to a manual action, which is far worse than a warning.
How to check if your site has it
All of these are free:
- Google Search Console. Open the Shopping or Enhancements section and look for Product snippets or Merchant listings. Click the warning to see affected URLs.
- Rich Results Test. Paste one product URL into Google's Rich Results Test. Expand the Product result and look for the review and aggregateRating warnings.
- Schema Markup Validator. Use validator.schema.org to see exactly what data your page outputs, whatever Google decides to show.
- View source. Open a product page, choose View Page Source, and search for
aggregateRating. If nothing is found, it is missing.
Also check that the page really has reviews. If a product has none yet, there is nothing to mark up, and the warning is expected.
How to fix it in general
The fix has the same shape on every platform:
- Make sure customers can leave reviews on the product page, and that real reviews are visible to visitors.
- Make sure the review source outputs structured data. Most review apps and some platforms do this when switched on.
- Confirm the data sits inside the page's single Product block, not in a separate one.
- Check the numbers match the page: the average rating and the count of reviews shown to visitors.
A correct block looks like this:
{
"@context": "https://schema.org",
"@type": "Product",
"name": "Example Mug",
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": "4.6",
"reviewCount": "38"
}
}
This is trimmed to the review part. A real block also includes image, offers and so on. Inside aggregateRating, you need ratingValue plus either reviewCount or ratingCount. If you add individual review entries, each needs an author and a reviewRating.
If the markup comes from your theme and your review app at the same time, you may end up with two Product blocks that disagree. Turn off the structured data in one of them rather than leaving both.
Platform notes
Exact menu names depend on your version and theme, so treat these as pointers.
- Shopify: Many themes output Product markup but leave out ratings unless a review app adds them. Well-known apps such as Judge.me and Yotpo can output review data. Look in the app's settings for a structured data or SEO option. See the Shopify guide.
- WooCommerce: Reviews are built in and usually appear in the product schema once a product has at least one approved review. Check that reviews are enabled in the product settings and that your SEO plugin is not outputting a second Product block. See the WooCommerce guide.
- Other platforms (WordPress, Magento, BigCommerce, Wix, Squarespace): Check whether the built-in review feature outputs markup, and if not, whether a review extension does. Each has its own guide on this site.
- Custom sites: Ask your developer to generate the JSON-LD from the same database that displays the reviews, so the two cannot drift apart.
If ratings are in your markup but still do not appear in search, that is a different problem. See review snippets not showing.
How to confirm the fix worked
- Run the Rich Results Test on one fixed product page. The review warning should be gone, and the detected values should match what you see on the page.
- Check the page source for
aggregateRatingonce more. - In Search Console, open the warning and use Validate Fix. Google then rechecks affected pages, which can take days to a few weeks.
- Be patient with the stars themselves. Valid markup makes you eligible, but Google decides whether to show them, and it may not for every product or search.
How to stop it coming back
This problem often returns after a theme change, a review app switch or an SEO plugin update, because each can change what markup gets output. Retest one or two product pages after any of those changes. Keep a single source of structured data, and make sure new products can collect reviews.
Structured data is easy to forget between changes. SiteMonday's week 22 customer review audit looks at how your reviews are handled and reports problems like this, with a ranked list of fixes. Applying them is up to you or your developer.
Step by step for your platform
- Product schema missing review or aggregateRating on Shopify
- Product schema missing review or aggregateRating on WooCommerce
- Product schema missing review or aggregateRating on WordPress
- Product schema missing review or aggregateRating on Magento
- Product schema missing review or aggregateRating on BigCommerce
- Product schema missing review or aggregateRating on Wix
- Product schema missing review or aggregateRating on Squarespace
Questions
Is a missing aggregateRating an error or a warning?
Usually a warning. Review and aggregateRating are recommended fields for products, so your page can still be eligible for product results without them.
Can I add aggregateRating if I have no reviews?
No. Ratings must reflect real reviews that visitors can see on the page. Made-up or hidden ratings go against Google's guidelines and risk a penalty.
Why does my page show reviews but the warning remains?
The reviews are probably only in the visible page, not in the structured data. Your review app may need a structured data option turned on, or your theme may be outputting separate markup.
Do I need both review and aggregateRating?
No, one is enough to clear most warnings. Many sites use aggregateRating for the summary, and add individual reviews only if they want to.
How long until stars appear in search?
Revalidation can take days to weeks, and even valid markup does not guarantee stars. Google chooses whether to show them for each result.
Can I edit the JSON-LD by hand?
You can, but hand-typed ratings go out of date as new reviews arrive. It is safer to generate the markup automatically from your real review data.