I want to improve my rich snippets with product rating

#224897
  • Resolved Jochen Meyer
    Rank Math free

    Hi, I am mainly doing affiliate products which tend to not receive product ratings on my page. But I would like to avoid a error I get in my google search console “aggregaterating” missing.

    I saw some other side use a trick and give the product a own rating. Is this possible with Rank Math Snippets in a way?

    https://ibb.co/d4K69Zf
    https://ibb.co/bskRJnz

    Thank you.

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

    Thank you for contacting Rank Math and bringing your concern to our attention.

    You can achieve the star rating for your website using the schema listed here:
    Rating Star

    For your case, you can use the Product Schema Type. Here’s a link for more information:
    https://rankmath.com/kb/product-schema/

    However, we don’t have a review functionality on our plugin that would allow users to vote for filling the aggregate rating. That is not something that should be in an SEO plugin.

    That is more suited for a specific review plugin like this since we only extract that data and put it into the markup.

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    I just upgraded to Pro version. Can I now copy a scheme and replace it with woocommerce one?
    Or better to have two schemes?

    Prabhat
    Rank Math agency

    Hello,

    Whats the difference between “product-schema” and “Woocommerce-schema”?
    I have more options in product, so why would I not switch all to product?

    The most important difference is that in Product Schema, you have to manually fill the data, and in WooCommerce Product schema, Rank Math takes the schema data from your products automatically and turns it into Schema-ready content.

    Fields/options are not displayed in the WooCommerce schema as they’re dynamically generated based on the product information.

    Could I add a text part in my page like this https://ibb.co/d4K69Zf
    and then change the schema to “product-schema” and fill in the same rating here

    Same as other product information, the WooCommerce product schema also takes the reviews/ratings from the actual reviews that users/customers left of your product.

    However, if you wish to manually set the fields and ratings and display them on the frontend, then you can use the product schema.

    Please have a look at this screencast for a quick reference:
    https://i.rankmath.com/o4dGjd

    Can I now copy a scheme and replace it with woocommerce one?
    Or better to have two schemes?

    You should consider including only one product-related schema to avoid duplicate content. You can either use the WooCommerce Product schema or if you wish to manually fill in the data, then you can use the product schema.

    Hope that helps.

    Thank you.

    Thank you for make this more clear to me.
    I tried a lot today with schemas but I am still unable to solve it.

    Please watch the attached screencast. The first video is my current try, second is me trying to “improve” the woocommerce schema. Would that work or will it break it?

    https://we.tl/t-6mk6TZJ0d8

    Ankit
    Rank Math business

    Hello,

    The schema is successfully applied in the first video, and the Product is validated, as shown inside the video. You are really good to go. Although the second video was a little cropped out, I am assuming you showed that if that was the right way to edit the schema? Yes, you can edit that way if it fits your criteria.

    Hope that helps. Thank you and please don’t hesitate to contact us if you need further assistance.

    Thank you, I will keep trying that way.
    Sorry my screen is bigger then my recording settings, just realized that.
    I added more features like rating to the existing woocommerce settings by clicking advanced. Does that work?

    Thank you for you quick reply.
    I have some more questions.
    Whats the difference between “product-schema” and “Woocommerce-schema”?
    I have more options in product, so why would I not switch all to product?

    Could I add a text part in my page like this https://ibb.co/d4K69Zf
    and then change the schema to “product-schema” and fill in the same rating here: https://ibb.co/Wp4zmHm
    https://ibb.co/rxfgn2c

    🙂
    Best regards

    Prabhat
    Rank Math agency

    Hello,

    Assuming you’ve added the reviews/rating fields to the WooCommerce Product schema, this schema already has rating fields, which take the data dynamically (when users add reviews/ratings on the products).

    However, could you please share the URLs of some of the products so that we can have a closer look at the schema data?

    Looking forward to helping you.

    Thank you.

    Hi,
    I will just change all product schemas to “product” instead of “woocommerce”. I feel thats not much more work and I see immidiate results in rank math google view.
    Is there any downside of doing so?
    Thank you.

    I have another question regarding “Organization” Schemas.
    Whats the benefit? Could I add those into sitewide for every of my pages?
    https://ibb.co/W5prn2R

    Hello,

    Yes, you can use the Product Schema for your products instead of the WooCommerce Product Schema. The only difference is that WC Product Schema converts your data automatically to schema-ready content by Rank Math for your product pages.

    Rank Math already adds the Organization Schema to your site. You can manage it in Rank Math > Titles & Meta > Local SEO

    However, the sameAs property could not be added there. To add them, you can modify this filter:

    add_filter( 'rank_math/json_ld', function( $data, $jsonld ) {
        if ( isset( $data['publisher'] ) ) {
            $data['publisher']['sameAs'] = ['https://twitter.com/RankMath'];
        }
        return $data;
    }, 99, 2 );

    Here’s how you can add a filter to your site:
    https://rankmath.com/kb/filters-hooks-api-developer/

    I hope that helps.

    Thank you, and please don’t hesitate to contact us anytime if you need further assistance with anything else.

    Thank you!
    I will mark this as solved.

    Anymore cool code tricks you might have for me? 😉

    Greetings Jochen

    Hello,

    We are glad that this issue is already resolved.

    For helpful tips, you can subscribe to our blog updates, read more from our knowledgebase, and subscribe to our YouTube Channel for tutorials.

    If you have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

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

You must be logged in to reply to this ticket.