Product Schema showing more errors than before

#38643
Viewing 4 replies - 1 through 4 (of 4 total)
  • Aj
    Rank Math free

    Errors and warnings

    Michael Davis
    Rank Math pro

    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.

    ​​​​​​​

    Aj
    Rank Math free

    Is there a way to add schema for “brand” ?

    Michael Davis
    Rank Math pro

    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.

    Brand Value

    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.

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

The ticket ‘Product Schema showing more errors than before’ is closed to new replies.