I want to show total Average Ratings & total count of reviews on top of 'Review Tab' on product page.
I have tried to add below code in Review.tpl (same as product.tpl) but it don't works:
Code: Select all
<div class="review">
<span class="rating_stars rating r<?php echo $rating; ?>">
<i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i><i class="fa fa-star-o"></i>
</span>
<a class="to_review" ><?php echo $reviews; ?></a>
</div>
Thanks