Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
The SDTT does not support the isSimilarTo attribute on the product schema and this is what is causing the errors and warnings.
You can however test this on the new rich snippet test tool here https://search.google.com/test/rich-results?id=gCu_tf3UIjIqNs5MabMqvw and you will notice that the errors are gone.
This should not cause any worry since the page is eligible for rich snippets.
Looking forward to helping you. Thank you.
Is there a way to add schema for “brand” ?
Hello,
Thank you for contacting us today.
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.
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.