Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #37319
    m c
    Participant

    Hi I notice you have designed Stack ICON to show the star ratings on hover on the product catalogue page, however on the single product page the star ratings don;t show anywhere. How do I add star ratings under the price on the single product page?

    regards

    #37494
    Rad
    Moderator

    Hi M c,

    By default, it is not designed to show star rating on single products. Though star rating is available for on review tabs.

    If you need star rating at your single product, then you will need to do template editing.

    Edit your /x/woocommerce/single-product/rating.php and add this code before ?>

    GLOBAL $product; echo '<div class="star-rating-container aggregate">' . $product->get_rating_html() . '</div>';

    This will add star rating below product title.

    Hope this helps.

    #39745
    m c
    Participant

    Hi,

    Thanks for that, also where has the reviews amd add your review link gone, this is displayed in the standard twenty fourteen theme. There is no way currently for ccustomers to leave a review by clicking on the link that should be next to the star rating on the product page?
    regards

    #39928
    Rad
    Moderator

    Hi there,

    You could configure it under Customizer’s Woocommerce section. There you can enable review tab.

    Or you could send screenshot of what you’re referring, is this made by plugin?

    Thank you.

    #149836
    ignaciosantiago
    Participant

    And if I want rating in the blog posts?

    One more thing, I´m testing the rating with snippet google tool and it gives an error (Error: Page contains property “reviewrating” which is not part of the schema.)

    #150296
    Rad
    Moderator

    Hi there,

    X does not have any rating feature for blog posts, not the review rating schemas. It could be from your plugins that you’re currently using. You may contact your plugin author for this issue.

    Thanks for understanding.

    #764654
    james w
    Participant

    When I add the code now (It’s been 2 years since you have provided the original answer) it doesn’t show the result properly.

    Can you update the answer so I can use it. Thanks

    #764761
    Paul R
    Moderator

    Hi James,

    Can you provide us your site url so we can take a closer look.

    Thanks

  • <script> jQuery(function($){ $("#no-reply-37319 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>