Product category error

#330666
  • Hi
    I test with Google Rich Snippet Tool a page of product category page of Woocommerce and i read this error
    Missing “offers,” “review,” or “aggregateRating”.
    How solve it ?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Anas
    Rank Math business

    Hello,

    Thank you for contacting Rank Math, and sorry for any inconvenience caused.

    You can remove the schema from these pages by going to Rank Math > Titles & Meta > Product Categories and enable the “Remove Snippet Data” option
    snippet

    Once done, clear your website cache and check the URL with the Rich Snippet tool.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hi
    i have add this snippet to remove snippet in page product category

    /**
     * Filter to remove all Schema from product category pages
     */
    add_filter('rank_math/json_ld', function ($data, $jsonld) {
        if (is_product_category()) {
            return [];
        }
        return $data;
    }, 99, 2);

    Another question…
    If i want add the snippet for search sitelink ?

    Hello,

    Rank Math automatically adds the Sitelinks Searchbox Schema to your homepage. Getting the sitelinks is an automatic process. Basically, you just have to have enough authority and backlinks for Google to deem your website worthy of those sitelinks.

    Here is an article on how to get sitelinks: https://bloggingwizard.com/google-sitelinks/

    I hope this information is helpful, and please do not hesitate to contact us if you require any additional support.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

Viewing 3 replies - 1 through 3 (of 3 total)

The ticket ‘Product category error’ is closed to new replies.