Schema AggregateRating Errors

#57356
  • Resolved Josh
    Rank Math free

    Hi, I am testing out Rank Math for my Woocommerce website using the Google Structured Data Testing Tool (https://search.google.com/structured-data/testing-tool/u/0/). 2 Errors were given regarding AggregateRating:
    itemReviewed : A value for the itemReviewed field is required.
    ratingValue : A value for the ratingValue field is required.

    I have 21 reviews for this product, which is being listed properly by reviewCount under AggregateRating, so it is seeing the reviews but missing some data. I do not have a 3rd party review plugin.

    Please let me know if there is a way to resolve the errors.

    • This topic was modified 3 years, 10 months ago by Josh. Reason: sensitive data should be html
Viewing 4 replies - 1 through 4 (of 4 total)
  • Josh
    Rank Math free

    I have attempted to paste the sensitive data as my source code, but it is not working.

    • This reply was modified 3 years, 10 months ago by Josh.
    Josh
    Rank Math free

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Josh
    Rank Math free

    If it helps anyone else, it looks like I figured out the problem.. I have a custom theme and in my single-product-reviews.php file I had declared itemprop=”aggregateRating” in my code, so that was overriding the schema from Rank Math. Once I deleted it from my code it appears to be testing fine.

    Alberto
    Rank Math business

    Hello,

    Thank you for contacting Rank Math today.

    I am happy to see you were able to solve it and you shared your solution, I am sure other people will find it really useful. If in the future you have any other questions or issues, we will be here.

    Looking forward to helping you. Thank you.

    ​​​​​​

Viewing 4 replies - 1 through 4 (of 4 total)

The ticket ‘Schema AggregateRating Errors’ is closed to new replies.