Product schema & reviews

  • Hi,
    could you plz explain the usage of these product schema fields as couldn’t find something helpful in the kb:

    review location: wt review? and where does this review come from ?
    rating: is it a rating from myself to my site?! does it allow others to put their ratings on the page too?

    thank you
    c.k.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    The review is taken from WooCommerce reviews automatically (if you are using WooCommerce and the Product Schema) and if not, it is taken from the rating.

    The rating is added by you (under the review fields you have some extra fields where you can set it). To allow users to put their ratings you could use the WooCommerce reviews or some plugin that adds that feature like Wp Review (a plugin created by our parent company, MyThemeShop).

    null

    Looking forward to help you.

    ​​​​​​​

    Hi Alberto,
    thanks for ur explanation, it will be great if you can add it to the kb to make things clear.

    The review is taken from WooCommerce reviews automatically (if you are using WooCommerce and the Product Schema) and if not, it is taken from the rating

    1- I don’t use Woocommerce, so should I ignore the option for review and rating?

    2- I use a plugin called wp review slider, can I use it to integrate with rm product schema, I contacted them and they send me this:

    The total and averages for each source location are saved in the wp_options table with this option_name: wppro_total_avg_reviews

    It is json encoded and will look something like this…

    {“Woods157”:{“total_indb”:10,”avg”:4.9,”total”:58,”avg_indb”:5,”numr1″:0,”numr2″:0,”numr3″:0,”numr4″:0,”numr5″:10},”EMC156″:{“total_indb”:34,”avg”:4.9,”total”:34,”avg_indb”:4.882,”numr1″:1,”numr2″:0,”numr3″:0,”numr4″:0,”numr5″:33},”Wellmann-Plumbing_13″:{“total_indb”:20,”total”:29,”avg_indb”:5,”numr1″:0,”numr2″:0,”numr3″:0,”numr4″:0,”numr5″:20},”Trustpilot85″:{“total_indb”:8,”avg”:5,”total”:1777,”avg_indb”:4.875,”numr1″:0,”numr2″:0,”numr3″:0,”numr4″:1,”numr5″:7}}

    thanks
    c.k

    Hello,

    Thank you for contacting Rank Math today.

    1. You can choose to ignore them. There will be some warning in the Google Search Console, but since they are warnings, you won’t see them affecting your Rich Snippet display.

    2. You can easily tell wp review slider team to integrate with Rank Math product schema by adding the following code snippet to your theme’s functions.php file:

    add_filter( 'rank_math/snippet/rich_snippet_product_entity', function( $entity ) {
    	global $post;
    	$entity['@id'] = get_the_permalink( $post );
    
    	return $entity;
    });

    Looking forward to helping you. Thank you.

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

You must be logged in to reply to this ticket.