Hello,
Thank you for contacting support.
First you need to head over to WordPress Dashboard > Rank Math SEO > Titles & Meta > [Product Archive Name] and enable the Rank Math SEO Controls and disable the option to remove the snippet data.
Then you need to add the following filter on the website:
add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
if( is_product_category() ) {
unset($data['ProductsPage']);
}
return $data;
}, 99, 2);
The above example is for product categories. For other archive pages you need to modify the first if statement accordingly.
Don’t hesitate to get in touch if you have any other questions.
Thank for your support. Code working
Hello,
Glad that helped.
Please feel free to reach out to us again in case you need any other assistance.
We are here to help.
Thank you.