-
AuthorPosts
-
November 15, 2014 at 1:33 pm #145754
Hi – I have the reviews tab set to on in the customiser and reviews set to on also in the Woocommerce settings – the reviews tab works but the average star rating does not show up on the product page – do you know what could be causing this?
thanks
November 15, 2014 at 1:34 pm #145757This reply has been marked as private.November 16, 2014 at 7:44 am #146124November 16, 2014 at 12:38 pm #146219before i updated to the latest version of X I could also see the average review displayed on the product page – to show you what i mean, see the screenshot when i switch the theme to twentyfourteen:
November 17, 2014 at 5:17 am #146609Hi Malcolm,
Thank you for writing in!
Please create folders woocommerce/single-product/ in your child theme’s main directory and then copy the file wp-content/themes/x/woocommerce/single-product/rating.php in the previous created directory (/woocommerce/single-product/) see: http://prntscr.com/578xqv.
After that, open the copied “rating.php” file in a text editor and replace entire code with following:
<?php // ============================================================================= // WOOCOMMERCE/SINGLE-PRODUCT/RATING.PHP // ----------------------------------------------------------------------------- // @version 2.1.0 // ============================================================================= if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly GLOBAL $product; $rating = $product->get_rating_html(); woocommerce_show_product_sale_flash(); if ( ! empty( $rating ) ) { echo '<div class="star-rating-container aggregate ">' . $rating . '</div>'; } echo '</a>'; ?>
That’s it.
Hope this helps. 🙂
Thank you.
November 17, 2014 at 4:05 pm #147090Hi, thanks for this – so, to clarify – showing the average rating on the product page is not standard any longer with the theme?
thanks
November 18, 2014 at 4:56 am #147404Hi Malcolm,
Yes, it is longer there by default.
However this concern has been forwarded already to our development team.Thanks
November 18, 2014 at 5:46 am #147437I give my vote for having ratings show up by default 🙂
November 18, 2014 at 10:35 am #147703This is something we can add to our list of feature requests. This way it can be taken into consideration for future development. Thanks!
November 19, 2014 at 2:14 pm #148682ok, thanks – yes, it would be logical to show it – if you have a review tab it makes sense to have the average review show up on the product page especially as this was previously a feature I believe?
thanks
November 20, 2014 at 2:06 am #148994Thanks for your feedback Malcolm. We’ll take note of this as feature request so we might add it in a future release.
February 9, 2015 at 1:47 pm #202530My vote also goes to making the star rating show by default. I was just transferred by Support to this topic because I was asking the same question.
February 10, 2015 at 2:16 am #202891Thanks for your feedback. We have listed this in our feature request list. Please stay tuned for updates.
-
AuthorPosts