Skip to content

v2.0.5 — Fix aggregateRating: omit when no reviews exist

Choose a tag to compare

@alaboudreau alaboudreau released this 10 Mar 19:30
· 9 commits to main since this release

What changed

Fix: The \�ggregateRating\ block in the Product JSON-LD schema is now only injected when WooCommerce reports at least one validated review with a non-zero average rating. Previously, products with no reviews received a fabricated fallback (
atingValue: 4.0,
eviewCount: 1), which violates Google's structured data policies and can trigger a Rich Results manual action or suppression of product rich snippets.

An absent \�ggregateRating\ block is never penalised by Google; a fabricated one is.