-
Hello, I started to use your plugin last week and while I wait answer to this ticket: https://support.rankmath.com/ticket/review-has-multiple-aggregate-rating/ I received today a new error on Google Search Console. Weird thing is that error points to category pages. I tried to fix the problems adding this code to the functions file but didn’t solve:
/**
* Remove the generated product schema markup from Product Category and Shop pages.
*/
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’ );In the sensitive data space I shared with you link to the GSC page.
Thanks in advance for the support,
Luca
The ticket ‘Category page: “offers” “review” or “aggregate rating” error’ is closed to new replies.