Missing field ‘aggregateRating’, ‘Review’ in product schema

#354205
  • Resolved Shravani k
    Rank Math free

    In your documentation you mentioned that the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.

    On our website we do have the reviews for the product which throwing a warning as a missing filed, how can i fix this.

    Thanks in advance

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting the support, and sorry for any inconvenience that might have been caused due to that.

    If you are not using actual reviews on your website, then you can safely ignore the warnings as Google will always look for them even we manage to remove these properties from your product schema.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    We do have the actual reviews on website, but still i can see the error on all products – Either “offers”, “review”, or “aggregateRating” Should be Specified

    Azib Yaqoob
    Rank Math business

    Hello,

    Kindly share the affected URL with us so that we can investigate this issue and offer our assistance.

    Looking forward to helping you.

    Azib Yaqoob
    Rank Math business

    Hello,

    If you are using Rank Math’s Woocommerce Product schema, the review to be added to the schema will be taken from your product pages automatically and turns it into Schema-ready content.

    However, you are likely using Judge.me for the reviews. To properly apply the aggregateRating generated by Judge.me to Rank Math’s product schema, please add the following code in your theme’s functions.php file:

    
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ){
        global $post;
        $entity['@id'] = get_the_permalink( $post );
        return $entity;
    });
    

    We hope that helps. Please don’t hesitate to contact us again if you need further assistance.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Missing field ‘aggregateRating’, ‘Review’ in product schema’ is closed to new replies.