Missing field “name” (in “author”) when a WC product has no reviews
-
Hi,
I’m using Yoast on my WooCommerce store, and I’ve noticed an issue with the Schema markup of the review section, but only when there are no reviews on the product page.
When there are 0 reviews, it looks like this:
“aggregateRating”:{“@type”:”AggregateRating”,”ratingValue”:5,”reviewCount”:1},”review”:{“@type”:”Review”,”reviewRating”:{“@type”:”Rating”,”ratingValue”:”5″,”bestRating”:”5″},”author”:{“@type”:”Person”,”name”:””}}
As you can see, the “name” is empty, which causes pages to appear as Invalid in Google Search Console, with the error: “Missing field “name” (in “author”)”.
What can we do to fix this and avoid the errors in GSC?
Thanks!
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- You must be logged in to reply to this topic.