Moz Q&A is closed.
After more than 13 years, and tens of thousands of questions, Moz Q&A closed on 12th December 2024. Whilst we’re not completely removing the content - many posts will still be possible to view - we have locked both new posts and new replies. More details here.
Review Microdata if the product does not have a review
-
We have many products that do not have reviews and are causing warnings in googles microdata. Is there anything you can do for products without a review so you don't get errors for aggregate review or review??
-
Ah, sorry, I misunderstood.
"Review" is only a recommended property of "Product", so while you will get a warning, it should not be detected as an error and won't affect the structured data being parsed.
-
If there is no review it is not outputing any aggregate review or reviews if there are no reviews, but google is giving a warning for now having the microdata since the type is product. I wasn't sure if there was some sort of null value or not rated.
-
I assume you mean that your code is outputting empty review when there are no reviews? Are you using a plugin, or is it custom code?
If it's a plugin, I would suggest speaking with the plugin developer or raising it via their feature request process.
If it's custom code, then I'm afraid it is down to you! If there is no review for that product, don't output the microdata!
Got a burning SEO question?
Subscribe to Moz Pro to gain full access to Q&A, answer questions, and ask your own.
Explore more categories
-
Chat with the community about the Moz tools.
-
Discuss the SEO process with fellow marketers
-
Discuss industry events, jobs, and news!
-
Chat about tactics outside of SEO
-
Dive into research and trends in the search industry.
-
Support
Connect on product support and feature requests.
-