offers’, ‘review’ of ‘aggregateRating’ must be specified

#50867
  • Resolved Arien
    Rank Math free

    Hello,

    I got the error for all my products that offers’, ‘review’ of ‘aggregateRating’ moet zijn gespecificeerd.

    Any idea what to do?

    Thanks, Arien

Viewing 11 replies - 1 through 11 (of 11 total)
  • Todd
    Rank Math free

    Hello Arien,

    Thanks for getting in touch with us.

    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.
    https://i.rankmath.com/Ni50EF

    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 quickly as well: https://i.rankmath.com/wtM5aM

    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.
    https://pastebin.com/4SMjE228

    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:
    https://pastebin.com/JEfTheYn

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

    For the GTIN, ISBN, MPN issue, you can fix it by adding that to your products using the custom product attribute feature in WooCommere or you can use this plugin: https://wordpress.org/plugins/product-gtin-ean-uc-isbn-for-woocommerce/

    For the priceValidUntil warning, you have to either ignore that or add a sale price with validity to get rid of it: https://i.rankmath.com/cMqAAH

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

    Hi Todd, I’m getting the same error, and it’s not the “Aggregate rating” or the “reviews” that’s the problem, but the “offer” part. We are showing the price, but for some reason it’s still giving this error
    https://battlezone.me/shop/painting/paints/shade-seraphim-sepia/

    Arien
    Rank Math free

    Okay, many thanks!

    All your answer are clear to me, however it is strange that reviews are not in the schema data.

    I work with Yotpo reviews plugin for many years now and have more than 1300 product reviews.

    Can you please have a closer look and let me what to do to get rid of the review error?

    Many thanks, Arien

    Hello @events2

    Thank you for contacting us today.

    The errors reported on your link are false positives because the SDTT does not support the “isSimilarTo” schema attribute.
    Please test the same link on the new rich snippets test took here: https://search.google.com/test/rich-results?id=sDBeRTOHCzMDCQx2tdDeRQ


    @arienreijs

    We will need to tell Rank Math to get the reviews and aggregate ratings from the Yotpo plugin. I can suggest that you reach out to the guys from Yotpo and check if they have some native functions that we can use to grab this data. Alternatively if the review and aggregate data is saved as post meta, please ask them to share the meta keys that we can use to load this data from the current product into the Rank Math product schema. We will then be in a better position to share a code snippet that you can use to fix this.

    We are looking forward to helping you. Thank you.

    Arien
    Rank Math free

    Hello,

    Many thanks for the info although it is too complicated for me.

    I do not want to sound lazy, but would it not be more efficient if you could contact Yotpo directly and explain all the technical requests.

    I am sure that once you tackled this problem, many Yotpo users will be grateful to you.

    Look forward to hearing from you.
    Arine

    Same error here after switching from Yoast to Rank Math…

    And in the original post, this is listed as a warning, but for me, this is listed as an ERROR and Google actually stops the indexing of the site, so I had to turn off Rank Math for now.

    Any way to stop Rank Math from doing schema markup on the category page?

    Todd
    Rank Math free

    Hello Arien, Could you please contact them? It would mean more coming from a customer than some random plugin developer.

    Ingar, you can disable the Schema from product category archives at WordPress Dashboard > Rank Math > Titles & Meta > Product Categories:

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

    Arien
    Rank Math free

    Hello,

    Okay, with pleasure I have passed your mail to Yotpo and this is their answer:


    Good day! This is Eric.
    Thank you for reaching out to Yotpo Support.

    I understand you have a concern with the Rich Snippet feature.
    For Yotpo, we have an internal Yotpo Rich Snippet widget which can will automatically place the markups.

    Alternatively, we place in a manual markup to the page using the follow code:

    {% if product.metafields.yotpo.reviews_count and product.metafields.yotpo.reviews_count != “0” %} <div itemscope itemprop = “aggregateRating” itemtype=”http://schema.org/AggregateRating”&gt; <meta itemprop=”ratingValue” content=”{{ product.metafields.yotpo.reviews_average }}”/> <meta itemprop=”reviewCount” content=”{{ product.metafields.yotpo.reviews_count }}”/> </div> {% endif %}

    or this JSON version:

    {% if product.metafields.yotpo.reviews_count and product.metafields.yotpo.reviews_count != “0” %} “aggregateRating”: { “@type”: “AggregateRating”, “ratingValue”: “{{ product.metafields.yotpo.reviews_average }}”, “reviewCount”: “{{ product.metafields.yotpo.reviews_count }}” }, {% endif %}

    For more information about the Product Rich Snippet, you may refer to this link here.


    The link they refer to is this one: https://support.yotpo.com/en/article/product-rich-snippets

    Hope it it useful to you…
    Arien

    Todd
    Rank Math free

    Hi Arien,

    Are they going to provide you instructions on how to integrate it with Rank Math’s JSON?

    Arien
    Rank Math free

    Hello,

    I just got a reaction from Yotpo:

    “Hi Ariën,

    Good day!
    I do apologize for the delayed response.

    I am not familiar of Rank Math’s JSON.
    I am only presented with Rich Snippet code the site.

    Any 3rd party application may require you to work with the developers of the app themselves.”

    Not helpful I guess, but somehow may Yotpo is not interested in solving the problem.

    Arien

    Alberto
    Rank Math business

    Hello,

    I am sorry for hear that, without their instructions is really difficult for us to be able to implement support to that plugin.

    Looking forward to help you

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

The ticket ‘offers’, ‘review’ of ‘aggregateRating’ must be specified’ is closed to new replies.