What was it WOO, Set one of the following data elements: "offers", "review" or "aggregateRating".?

Hello friends!
The third day studying the information on errors in the Google console
Select one of the following data elements: "offers", "review" or "aggregateRating".

Installed plugins:
Yoast SEO Premium 10.0.1
Yoast SEO: WooCommerce 10.0
Schema - All In One Schema Rich Snippets 1.5.6

Google the console swears on products in this category.
Display items in a category do not have one of the following data elements: "offers", "review" or "aggregateRating".
And because of this 555 products to hang like a mistake.

Help solve the problem, please...
March 19th 20 at 08:32
2 answers
March 19th 20 at 08:34
Solution
Read here - https://www.checkerboard.com/web-development/fix-o... there is just about it.

The author proposes to add code
**
 * Remove the generated schema product markup from Product Category and Shop pages.
*/
wc_remove_product_schema_product_archive function() {
 remove_action( 'woocommerce_shop_loop', array( WC()->structured_data, 'generate_product_data' ), 10, 0 );
}
add_action( 'woocommerce_init', 'wc_remove_product_schema_product_archive' );
Set this code, error is gone, but it is not clear from the article, removing markup will not lead to something bad?

Removed markup in addition to BreadcrumbList this error still hangs, is there a solution?
@type
The type is not specified (do Not specify the @type parameter, or its value.) - trycia_Mills91 commented on March 19th 20 at 08:37
"Set it, the error disappeared, but it is not clear from the article, removing markup will not lead to something bad?" is one Google, unfortunately, know))))) - Angi commented on March 19th 20 at 08:40
@Angi, That's for sure))) Kind of says that nothing bad should be, but it is a freakin ' Google))

Well, here's how to remove breadcrumbs? Sorry for the arrogance) and yet are Now searching for the zeros... - trycia_Mills91 commented on March 19th 20 at 08:43
About Breadcrumb...I had a similar project I had done - put the breadcrumb navxt plugin and in its settings through the admin panel all the rules.
1) For pages prescribed
<span itemprop="itemListElement" property="itemListElement" typeof="ListItem" itemscope itemtype="http://schema.org/ListItem"><a itemprop="item" property="item" typeof="WebPage" title="%title%." href="%link%" class="%type%"><span itemprop="name" property="name">%htitle%</span></a><meta itemprop="position" property="position" content="%position%"></span>

2) For categories of goods
<span property="itemListElement" typeof="ListItem" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem">
<a itemprop="item" property="item" typeof="WebPage" title="%title%" href="%link%" class="%type%">
<span itemprop="name" property="name">%htitle%</span></a>
<meta itemprop="position" property="position" content="%position%">
</span>

3) For goods
<span itemprop="itemListElement" property="itemListElement" typeof="ListItem" itemscope itemtype="http://schema.org/ListItem"><a itemprop="item" property="item" typeof="WebPage" title="%title%." href="%link%" class="%type%"><span itemprop="name" property="name">%htitle%</span></a><meta itemprop="position" property="position" content="%position%"></span>

Like something like this...

Then it all checked through https://developers.google.com/structured-data/test... - Angi commented on March 19th 20 at 08:46
March 19th 20 at 08:36

Find more questions by tags WooCommerce