Fix Google Search Console error

Fix errors in the new Google Search Console: Either “offers”, “review” or “aggregateRating” must be specified.

In the last few weeks at the end of February 2019, Google made a number of changes to Search Console. Most of these changes have little impact on users. Here are some of the implications of Google Search Console for users who use online stores. Adding product extensions, however, is a major headache for most store owners and affects almost every Ecommerce website.

Many users recently received a large number of error messages or warnings from Google in Google Search Console. The product report was added to Search Console at the end of February, and there were plenty of warnings and errors with the following message:

Either “offers”, “review”, or “aggregateRating” should be specified

The Products report is in the “Improvements” section of the Google Search Console.

I explain the meaning and implications of the errors and warnings and explain how WooCommerce users can fix the problem.

# 1 The new bugs in the Google Search Console

For most WooCommerce shop owners, it’s frustrating to get tons of errors and warnings. Google also explains the problem and the solution is not sufficiently understandable. The “Learn more” button for each alert directs users to the same page, and the information they find is not very user-friendly.

Looking at the details in Search Console, the following error appears:

Either “Offers”, “Check” or “AggregateRating” should be specified.

This error is likely to affect a large number of your products in the shop.

You’ll see a lot of alerts in Google Search Console, including:
missing field “Brand”
missing field “SKU”
missing field “Offers”
and more.

These errors and warnings are related to the product labeling and schema for individual products on your store site. If certain schemes are not specified, extensive results in the search can not be displayed next to your products.

Rich results (formerly called “rich snippets”) are additional information that can be viewed about products. In most cases, only the product name, images, prices and sometimes reviews are displayed in the search results.

Google recently recommended E-Commerce sites to use all available product markups as this may increase clickthrough rates.

The following markups should be mentioned in particular: “Offers”, “Review” or “AggregateRating”. As soon as a product in your store does not display structured content for one of the three specified schemas, the error messages will be displayed.

# 2 Impact on your website

Google’s extensions in the Search Console do not change the ranking algorithm. It is just a new report.

Therefore the mistakes will not hurt your ranking in the short term. What you have to expect in any case, that is a smaller number of accesses to your items in the shop. If you notice that, the bugs should be fixed as soon as possible. In the longer term, however, a lower clickthrough rate will also change the rankings in search engine results.

# 3 What WooCommerce Shops should consider:

If you have a website that uses WooCommerce as a shop system, you should specify the following scheme by default:

name
description
URL
Item number
Availability
Image
offer
AggregateRating
Price
Verification
and more.

If you keep that in mind, every product on your site should be excluded from this bug. The error messages are usually not from your product pages.

Take a closer look at the flawed products and you’ll find that all bugs relate to different products in your archive or on the category pages. WooCommerce gives each product in the categories the name “Name”. Once Google has read the name tag, it’s considered a new product that is now missing quotes, ratings, and / or aggregate ratings. This procedure results in the output of error messages in the Search Console.

Google says that all archive pages and category pages should not include this award. According to Google, there are only two types of pages that normally use markup:

A product page for a single product or

a “Shopping Aggregator page”.

However, WooCommerce also adds schema markup to the schema to pages that are not dedicated to a single product.However, WooCommerce also adds schema markup to the schema to pages that are not dedicated to a single product.

How can the errors be fixed?

If you’re getting a “Offers,” “Review,” or “AggregateRating” error on your WooCommerce category pages, there’s a very simple solution:

Remove the markup of the product schema from the shop and product category pages.

To do this, add the following code to the functions.php file of your theme (or better, the child theme). In any case, make a backup / backup of your file or site beforehand so that you can restore the previous state if something goes wrong:

/**
 * Entfernen Sie die generierte Produktschema-Markierung von den Seiten Produktkategorie und Shop
 */
function wc_remove_product_schema_product_archive() {
	remove_action( 'woocommerce_shop_loop', array( WC()->structured_data, 'generate_product_data' ), 10, 0 );
}
add_action( 'woocommerce_init', 'wc_remove_product_schema_product_archive' );

We’ve used this code on several WooCommerce websites and have fixed the error messages in the Google Search Console. The code removes the markup that WooCommerce places in the store’s category pages and archive. Fixing the error messages in Search Console always takes a while, as Google always updates with a delay.

Please note: If you are not familiar with code integration, you should contact a developer to add the feature.

Note that this code does not correct all warnings that appear in the Search Console report, but most should be fixed. WooCommerce will probably fix these issues at the next update, and these missing fields will not hurt your search ranking in the meantime.

Further information about the topic “structured data” can be found here: https://joewp.com/en/structured-data-in-wordpress/

What is achieved with this fix?

There should be no disadvantages from using this code snippet. There are no problems with the functionality of the shop. Removing markers on the category pages can not affect the search rank of the category pages. So you do not have to worry about negative SEO effects.

If you need professional help to remove “Either”, “Review” or “AggregateRating” from your WooCommerce site, just contact us directly.

updates:

Updated on 19.09.2019: As many of our users discovered, the missing schema markups have an immediate impact on ranking and position in search results. The shop owners had lost their ranking in the absence of schema markup. After the correct installation of the structured data they got back their old ranking with Google again.

Updated on 29.09.2019: How to avoid and fix product errors in the online shop in the Google Search Console, we have described in another article # 4. You want to know more about structured data? Read our tutorial # 5.

# 4 Product errors in the Google Search Console

How to fix product errors and warnings in the Google Search Console, we have described in another detailed blog post. There you will find a list of general warnings and errors and we describe how to fix them. Owners of online shops and users of WooCommerce stores thus avoid disadvantages in the rating of the search engines.

# 5 Tutorial to “Structured Data”

We have explained in a separate tutorial what structured data is and how to use it correctly on our own website. There you will find detailed information on how structured data is entered in WordPress and WooCommerce and we explain the benefits of rich snippets. We’ll also show you how to add schema markup through a plugin.

JoeWP WordPress Agency - Request

You want to get rid of and fix bugs in Google Search Console?

Do you want to start right now? Discuss your project with us!