Generic filters
Exact matches only
  • Errors in Google Console – Fix Either “offers”, “review”, or “aggregateRating” should be specified

    8th April 2019

    WooCommerce

    woocommerce category codehaven

    This error showed up in my Google Console.
    Either “offers”, “review”, or “aggregateRating” should be specified, on 90% of my pages!

    This is a new error that google in now showing dating from beginning of March. Google is now showing more errors to users to help them with there sight. Previously they were hidden, but were still errors.

    I found a snippet of code that will prevent this error from showing. I tried this in a website that was showing these errors and after 3 days the Google Console was clear from errors. So this code definitely works.
    Add this to your functions.php file.

    This code was applied to a site that had 238 errors, after 15 days it was down to 17 errors. Google takes its time to validate.

    10th Feb was showing 238 errors
    google woocommerce errors

    By the 25th February it was only showing 17, so this code does work!
    woocommerce google errors

    Was this code snippet helpful?