WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
Star rating not showing up on Google Rich Snippets (5 posts)

  1. lunarok
    Member
    Posted 1 year ago #

    Hi,

    I have try with Google Rich Snippets test tool some articles with customer reviews. They are not seen with star rating on the preview.
    But there is defintly some data about review seen in the RDFa section.

    According to Google tools :
    http://support.google.com/webmasters/bin/answer.py?hl=en&answer=146645

    There are 2 fields mandatory : itemreviewed and reviewer
    In what google see from woocommerce page, there is no reviewer but an author. And there is no itemreviewed but an item (this seems ok from the same page)

    And maybe some other gliches with non-mandatory fields.
    Is this fixable with modifying the product page ? Will it be solve in future release ?

    Seems so near to what is needed, don't want to use external plugin to do it (like GD Rating Stars)

    http://wordpress.org/extend/plugins/woocommerce/

  2. lunarok
    Member
    Posted 1 year ago #

    This is what appears in addition with GD Star Rating in test tool :

    hreview-aggregate
    item-fn: Name Product
    rating:
    best: 5
    average (normalized to 5.0 scale): 5.0
    average: 5.0
    votes: 1

    Without GDSR, Woocommerce not give these informations, must be tag missing

  3. bheadrick
    Member
    Posted 1 year ago #

    you can modify the template files

    the file you want to modify is single-product/review.php

  4. lunarok
    Member
    Posted 1 year ago #

    After more reading, it's not in the reviews the attribute hreview-aggregate must be, but on a "top" div containing all the product information.

    First try to add to title, but result is bad (stars appears, but google complain about informations missing, but they where there)

    After I add it in content-single-product simply by adding a upper level div with just div class="hreview-aggregate" and closing it at the end of product page.

    This is working well, google see everything in hreview (number of votes, average and notes, price, description ...) and just give an advice as it's the attribute "count" present and not vote, it must have the attribute "reviews" and it's not the case

    This attribute must have a place in review.php this time, but will see later

  5. dEM0nsTAr
    Member
    Posted 1 year ago #

    Any new information/solutions?
    Would be great for a functions.php extension and without GD star rating plugin

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic