How to Get Star Ratings in Google: Review Schema for Ecommerce

1 min read

Those star ratings you see under some Google listings? They come from review schema markup — specifically the aggregateRating property in Product schema. Getting them to show can increase your click-through rate by 20-30%.

What Google Needs to Show Stars

Google shows star ratings when your Product schema includes a valid aggregateRating object with: ratingValue (the average rating), reviewCount or ratingCount (how many ratings), and bestRating (usually 5). You also need actual reviews — Google won't show stars if your aggregateRating is based on zero reviews.

Setting Up Review Schema on Shopify

If you use a review app (Judge.me, Loox, Stamped), most inject aggregateRating into your Product schema automatically. Test by visiting Google's Rich Results Test. Key: The aggregateRating must be inside the same Product schema block as your product name, price, and availability — not in a separate JSON-LD block.

Setting Up Review Schema on WooCommerce

WooCommerce has built-in reviews. If you use Yoast SEO, it automatically includes aggregateRating in Product schema when reviews exist. For third-party review plugins, check if they integrate with your SEO plugin's schema or inject their own. Duplicate aggregateRating confuses Google. Important: Google prohibits marking up reviews not directly on the page.

Troubleshooting Missing Stars

Stars not showing? Common reasons: **Not enough reviews:** Google may not show stars for products with very few reviews (typically under 5). **Schema not valid:** Test at the Rich Results Test. **Page not indexed:** Google needs to recrawl after you add schema. Takes 2-4 weeks. **Google's discretion:** Even with valid schema, rich results aren't guaranteed. RankRipper checks for aggregateRating in your Product schema and flags when it's missing or malformed.

buildRelated Fix Guides

Keep Reading

Check your store now

Scan your site for free — get copy-paste fixes in 60 seconds.

searchScan Now — It's Free