Hello,
Thank you for contacting Rank Math and bringing your concern to our attention. I’m sorry for the delay and any inconvenience this issue may have caused you.
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.
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.
You can fix the SKU and availability issue easily as well:
To fix the brand
warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce
and choose from any of the available fields to use as your product’s brands.
If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:
// Add Brand for Products.
add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
$entity['brand'] = 'Rank Math;
return $entity;
});
Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.
Hi,
Thanks for your answer but I asked for something different.
As already highlighted, such fields are all populated in the specific product pages.
My products do have rating, do have offers, do have reviews.
As highlighted again, the problem is with the product-category page which is not able to surface those properties (which, as described, are all already being populated for the specific products).
What would be a possible solution to that?
Thanks
Hello,
I’m sorry for the delay and for any inconvenience this issue may have caused you.
Since that page is a Category archive, the Schema needs to be disabled there.
You can go to Rank Math > Titles & Meta > Categories and enable the “Remove Snippet Data”:
https://i.rankmath.com/utOHUl
Hope that helps. Thank you and looking forward to your update.
Hi,
Why would I remove those data from my product category page, where it shows a list of products for which those info are actually available?
My question is how do I surface those, in my product category page, given they are all available, so to fix the error with GSC?
Simply disabling that won’t achieve the purpose, actually it will be detrimental to the SEO of my website.
Could I please know, as asked in my very first message a while ago, how to surface those info in that page?
Thanks
Hello,
That is because Google recommends that and the product Schema is only for actual product and not for anything else:
I hope that clears any confusion you had.
thanks for your help, I’m happy for you to close this case then. Much appreciated.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
Thank you