Structured Data Testing Tool – Showing multiple Product entries for single URL

#98354
  • Resolved Koolpal
    Rank Math free

    Hi,

    I would request some guidance on this.

    I have disabled ALL plugins except – Woo, RM, Theme specific plugins


    Woo product using the WooCommerce Product schema:

    Now when I test ONE product url on Structured Data Testing Tool I can see TWO items displayed under Product. Please see screenshot.
    * One item shows the Product Name correctly with 6 warnings – This is fine as the warnings are for optional items
    * Another item shows Unnamed item with 4 warnings & 2 errors – This part bothers me. Why is the same items coming up TWICE?


    Woo product using the Product schema:

    Now when I test ONE product url on Structured Data Testing Tool I can see THREE items displayed under Product. Please see screenshot.
    * One item shows the Product Name correctly with 5 warnings – This is fine as the warnings are for optional items
    * Another item shows Product Name (without website name in the end) item with 4 warnings – This part bothers me. Why is the same items coming up TWICE?
    * Another item shows Unnamed item with 4 warnings & 2 errors – This part bothers me. Why is the same items coming up THRIC?

    How do I fix this?

    Please guide me.

    Thanks

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

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

    The Structured Data Testing Tool is being deprecated. For validating structured data for Google Search, Google now recommends using the Rich Results Test for more accurate and actionable feedback.

    I checked your URL and it currently has only 6 warnings. Please note that 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.

    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.

    @Michael Davis

    You are seeing ONLY 6 warnings now because I have removed RM and gone back to Yoast.

    Thanks for your help. I will check once RM is out of alpha mode.

    All the best!

    Hello,

    Thank you for going Rank math a shot.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

The ticket ‘Structured Data Testing Tool – Showing multiple Product entries for single URL’ is closed to new replies.