• Resolved lieneticjaya

    (@lieneticjaya)


    I use the plugin Woocommerce and Rankmath on my website.

    However, I found a problem with Schema (Rich Snippet) for product category.

    In Search Console There is an error: Either “offers”, “review”, or “aggregateRating” should be specified error.

    Can Rich snippets for product in manual input on Rankmath and do not use the default Snippet from Woocommerce?

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

    (@rankmath)

    Hello @lieneticjaya

    Thank you for contacting the support.

    Rank Math takes the schema data from your product pages automatically and turns it into Schema-ready content. Likewise, the aggregateRating and review fields are taken from your actual product reviews that your buyers/customers leave on your products.
    https://i.mythemeshop.com/cIBqH4

    If you don’t have any reviews yet, that is going to show up as a warning in the schema testing tool. That’s because Google will actually look for those fields.

    Please acquire some reviews and ratings to get rid of the aggregateRating and review warnings.

    You can fix the SKU and availability issue easily as well: https://i.mythemeshop.com/3MmkPe

    To fix the brand warning, head over to WordPress Dashboard > Rank Math > General Settings > WooCommerce and choose from any of the available fields to use as your product’s brands.
    https://i.mythemeshop.com/S44TWj

    If you want to use a custom value for your Brands, you can do that by using the following code in your theme’s functions.php file:

    https://pastebin.com/JEfTheYn

    Replace the “Rank Math” text with your actual brand name then run your website through the Structured Data Testing tool once again.

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

    Hi Guys,
    I have the same error that lieneticjaya has,

    your solution isn’t valid for me as the products that aren’t displaying “reviews” but they actually have reviews…

    This error only happens when I load a category page in WooCommerce, but if I load the product page it works perfectly. (the reviews are displayed in the schema).

    Is there a limitation or something in the category pages for the schemas? Can I do anything about it?

    Many thanks,

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Schema (Rich Snippet) Product Error’ is closed to new replies.