“Either "ratingCount" or "reviewCount" should be specified”

An overall rating with no count. An AggregateRating needs ratingCount or reviewCount, the number of ratings behind the average.

Error Stops review stars from showing

What it means

The AggregateRating has an average (ratingValue) but not how many ratings it's based on. Google shows that number next to the stars, "4.8 (212)", and won't show stars without it.

How to fix it

Add reviewCount (the number of reviews) or ratingCount (the number of ratings, which can include ratings without text). Either one is enough. It must be a whole number above zero.

On Shopify

If your theme builds this block from product metafields, the count field may be empty for products with no reviews yet. Only output the AggregateRating when the count is above zero.

Example

Causes the error
"aggregateRating": {
  "@type": "AggregateRating",
  "ratingValue": 4.8
}
Fixed
"aggregateRating": {
  "@type": "AggregateRating",
  "ratingValue": 4.8,
  "reviewCount": 212
}

Check your page

Run your page through the checker to see whether this is the only thing standing between you and review stars.

Sources: Google's review snippet and product snippet documentation. Orankl isn't affiliated with Google.

Review stars on every product page, kept up to date

Not every reviews app adds review markup. Orankl does: on every plan, including the free one, it adds each product's rating to its page for Google, from the reviews you collect.