Hello,
Thanks for contacting us and we regret the inconvenience caused.
Rank Math takes the schema data from your products 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.
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 refer to this tutorial guide for more details: https://rankmath.com/kb/either-offers-review-or-aggregaterating-should-be-specified/
Hope this helps.
Thank you.
Hello,
I’ve checked your products using Google’s Rich Results test, and there are no errors for the review in your product schema, only warnings.
However, to fix the warning with the brand, please replace the filter with this (edit your brand name):
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['brand']['@type'] = 'Brand';
$entity['brand']['name'] = 'Your Brand name';
return $entity;
});
And here’s a link for the no global identifier provided warning:
https://rankmath.com/kb/either-offers-review-or-aggregaterating-should-be-specified/#global-identifier
Please note that warnings are not errors, and your product schema will be eligible to be displayed on the search results pages.
I hope that 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.