Missing field “review” (optional)

#20734
  • Resolved Nigel Ng
    Rank Math free

    Hi there I’m using the “product” schema markup and I find that even after filling up all blanks there is a missing field “review” on google search console / structured data testing tool.

    Is this an issue with the plugin whereby there is a missing component not covered or can this problem be fixed on my end?

    Appreciate all the help and thanks for the amazing plugin!

    • This topic was modified 4 years, 5 months ago by Nigel Ng.
Viewing 11 replies - 1 through 11 (of 11 total)
  • Hello,

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
    http://i.mythemeshop.com/cIBqH4

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

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

    In my case, my site does review of products so the post alone is a review. In that case how do i fix this issue? Should i still use the “product” schema or should I change to “blog post / article”

    Hello,

    Thank you for contacting Rank Math today.

    In the case of WooCommerce products, the review value will be obtained from the comments on the actual products.
    You can however add some custom reviews to this entity by hooking into the following filter with some custom code:

    /**
     * Filter to modify product schema.
     *
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
        //modify $entity['review'][] and override it with some custom review data
        //more info on the expected data can be found in class-product-woocommerce.php
        //on this path: wp-content\plugins\seo-by-rank-math\includes\modules\rich-snippet\snippets
        return $entity;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​

    No it is not a woocommerce product. It is basically an article review of a product with affiliate links to the product. In this case what schema should I use?

    Hi there,

    Thanks for the question.

    In this case, you can use the the article or review schema. But please note that the review schema will not trigger rating stars in this case since your reviews are self serving.

    I hope this info helps. Thank you.

    TAJ
    Rank Math free

    Hello Michael Davis,

    The “review schema” is missing in my plugin. But the “article schema” is available.

    What should I do to use “review schema” for my Review Articles?

    Thanks.

    Todd
    Rank Math free

    Hello,

    Review schema has been removed from the latest version of the plugin to comply with latest Google guidelines:
    https://webmasters.googleblog.com/2019/09/making-review-rich-results-more-helpful.html

    Please choose some other schema type as the self-serving reviews are no longer supported by Google.

    Eliav
    Rank Math free

    don’t we need to write the ‘author’ in schema? (who reviewed this product)

    Hello,

    Thank you for contacting Rank Math today.

    The author info on WooCommerce products will be extracted from the actual reviews on your products while those on other rich snippets such as the article will make use of the organization info submitted through the local SEO section.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Eliav
    Rank Math free

    I’m not talking about Woo, just about a page that I want it to be a review, can I control the author in schema in any way?

    And thanks for your great plugin 🙂

    Hi there,

    Thanks for the follow up and the kind words!

    It is possible to customize any entity on the generated page schema. For the review schema, you can use the following snippet to add a custom author name:

    /**
     * Filter to customize review schema
     *
     * @param array $entity Snippet Data
     * @return array
     */
    add_filter( 'rank_math/snippet/rich_snippet_review_entity', function( $entity ) {
        $entity['author']['name'] = 'Author name here';
        return $entity;
    });

    I hope this info helps. Thank you.

    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘Missing field “review” (optional)’ is closed to new replies.