“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.
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
"aggregateRating": {
"@type": "AggregateRating",
"ratingValue": 4.8
}
"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.