• Resolved dantekavala

    (@dantekavala)


    As the title says, since the first day, when I installed the plugin, I made it sure that the Remove Snippet Data is checked in Titles & Meta -> Product Category. However, I keep getting this error in Google Search Console

    Either ‘offers’, ‘review’ or ‘aggregateRating’ should be specified

    I don’t get it in the products page, but in the products categories pages. What info do you need to help me fix this?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Rank Math

    (@rankmath)

    Hello @dantekavala,

    Thank you for contacting the support and sorry for not following up quickly and any inconvenience that might have been caused due to that.

    Can you please share the URL of the product category page so we can assist better?

    Looking forward to helping you.

    Thread Starter dantekavala

    (@dantekavala)

    This is the url. It isn’t in English, so if you need any help, let me know

    https://www.uniforms-eshop.gr/product-category/army/

    Plugin Author Rank Math

    (@rankmath)

    Hello @dantekavala

    We only remove the Product Schema from the category page when Remove Schema option is enabled because Google used to show warnings on these pages for missing properties.

    To remove the Schema code entirely from category page, please add the following code in functions.php file:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
    	if ( is_product_category() ) {
    		return [];
    	}
    	return $data;
    }, 99, 2);

    Hope that helps. Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Snippet Data from Products Category doesn’t work’ is closed to new replies.