Structured Data Error On Products, Product tags, Product category tags

  • I have tested all your recommendations on product URL
    Google structured data testing tool results in
    Rich snippet testing tool result

    1) Aggregate rating and review
    There was one review already added by me and one more added (not actual user review, I have added from product edit page)
    Review and aggregate ratings are not showing a warning, it’s showing ERROR in structured data testing and showing as WARNING in Rich snippet testing tool.

    2) SKU and Availability
    I am using auto SKU generating plugin and this plugin generated SKU by default to product pages. All the pages are having a unique SKU. Regarding availability, I have again edited the above URL and added availability. Check here

    3) Brand Warning
    I have already taken the product category as brand but changed it to product tag after your recommendation. I also tried to add the code your given to functions.php file but after adding the code, my website broken (removed later). I kept product tags from the dropdown option as a brand and tested.

    4) GTIN, ISBN, MPN issue
    I cant add or use plugin for GTIN because we are into a health service business and not selling any products. Still, I welcome your further advice on this for service business entities

    5) PriceValidUntil Warning
    Again I have added offer price and its validity like this and tested.

    You can check the results in the above screenshots and please advise further. I am open to keeping ‘warnings’ but how to get rid of those ERRORS from the shop page, all product categories, product tags, and product pages?


Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I’ve added the following code on your theme’s functions.php file to remove support for the isSimilarTo attribute that is causing the errors. This attribute is not supported by the SDTT but it is on the new rich snippet testing tool:

     * Remove support for isSimilarTo attribute on Rank Math product schema
    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	if ( isset( $entity['isSimilarTo'] ) ) {
    		unset( $entity['isSimilarTo'] );
    	return $entity;

    Looking forward to helping you. Thank you.


    Can anyone respond to the issue on further investigation?


    I have been checking the website and those issues don’t seem to be generated by Rank Math but by WooCommerce. After that, I decided to look for other people with the same issue and I found a post I think it will be interesting for you:

    Looking forward to help you.

    Thank you Alberto
    there is one code already added by Micheal. Why dont you add the code which mentioned in article link you forwarded and try! I hesitate to touch the function.php file because I am not techie.
    Please do and test it for me and update.
    Thank you


    Thank you for contacting Rank math today.

    The remaining error was on category pages and to resolve that I disabled snippets under product categories( Rank math > Titles and metas> Product Categories).Now all that remains are the warnings which as noted earlier seem to be generated by Woocommerce.

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


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

The ticket ‘Structured Data Error On Products, Product tags, Product category tags’ is closed to new replies.