Product data markup missing

  • Hello,
    this morning Google Search Console notified me about some missing fields with several products I have on my homepage.

    Google is asking me to add:

    • aggregateRating
    • review
    • brand
    • global identifier (like gtin, mpn, isbn)
    • price valid until

    I don’t know where to start from and I wonder if there is a way I can do it through Rank Math instead of implementing JSON-LD (because it’s way too complicated for me to achieve).

    Moreover I would like to know, is it that mandatory and will eventually cause any issues in the future or can I “ignore” it because these “problems” are affecting just 3 products I have on my homepage (as search console says) and I am not notified about all the other products on my ecommerce?

    Thanks for your help.

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

    About if it is optional; yes, it is. They are just warnings and you can safely ignore without having any issue with Google or rankings.

    But in case you want to change it, 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.


    thanks for the wonderful support!

    I have updated the “brand” field using product tags, hoping that it will work now also because I’m not sure how to use the code in the functions.php file since I have multiple brands on my site.

    About the SKU and availability I had already set them when I loaded the products at least 1 month ago, so I don’t understand why google is complaining about that.
    Every single product, either simple and variable, has its own SKU, price and stock amount set properly.

    Again thank you a thousand times!


    If you want we can login and check if you added the code right. To do that, please edit the first post on this ticket and include your WP logins in the designated Sensitive Data section.
    Sensitive Data Section

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

    We really look forward to helping you.

    Hello and thanks for the reply,
    actually I haven’t added the code yet because I am waiting for google to tell me if the changes for the brand field have been approved (it will take a couple days as they say).

    If the product tag for the brand field doesn’t work I will let you know and then share with you the login to implement the code.

    Thanks a lot again


    No problem. Please let us know how it goes.

    Looking forward to helping you. Thank you.


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

You must be logged in to reply to this ticket.