• Resolved BDR Bros.

    (@bdrbros)


    Hello,

    How can I make aggregated reviews assigned to the product and review category appear in the schema data?
    I added review categories and modified the shortcodes by adding the created category to them: “assigned_terms=”287”. I changed Review Assignment to “Loose Assignment displays reviews that are assigned to this OR that.” so that all reviews assigned to a given product are displayed. or to a review category.

    1. In the product summary, only stars and the number of ratings that are assigned to this product are displayed, instead of those assigned to the product or review category. I managed to solve this using HTML and shortcode:
    <a href="#reviews">[site_reviews_summary assigned_posts="post_id" assigned_terms="287" hide="bars,if_empty,rating" terms="true" schema="true"]</a>

    It works, but I wonder if there is a better solution?

    1. I use RankMath in the free version and have enabled the option: “Integrate with plugin: RankMath Pro”. Schema does not display an aggregated rating, it only appears in products that have a rating assigned to the product. I want Schema to include reviews that are assigned to a product or review category as they are displayed on a single product page using shortcodes.

    Best,
    Alex

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter BDR Bros.

    (@bdrbros)

    EDIT:

    I noticed that the schema works as I want when it meets additional conditions:

    • I will add site reviews or summary site reviews with the attribute: schema=”true” to the product description (and not using other hooks as I normally do)
    • In RankMath SEO, set Schema to Product (and not the standard Woocommerce Product).

    I admit that this is quite complicated for me. Maybe it can be done differently, but I don’t have the necessary knowledge.
    I looked through the documentation and many previous threads, but unfortunately there is so much of it that I could have missed something.

    Plugin Author Gemini Labs

    (@geminilabs)

    I think you got it. To enable the schema:

    1. Add the schema="true" option to your Latest Reviews shortcode (if you are using the Gutenberg block or Elementor widget, then enable the schema in the block/widget options).
    2. Enable the RankMath integration and then add the relevant schema to your products (minus the rating/review schema as Site Reviews will automatically add that to the RankMath schema).
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Aggregated reviews assigned to product and review categories in Schema’ is closed to new replies.