On a product page of our site when customers leave reviews with star ratings, the start rating summary (average) is displayed at the top of the product page.
But I've noticed that when we change the store view the star rating summary disappears from the top of the page and only the rating links remain.
I've looked at the code in: app/design/frontend/base/default/template/review/helper/summary.phtml
<?php if ($this->getRatingSummary()):?>
<div class="rating-box">
<div class="rating" style="width:<?php echo $this->getRatingSummary() ?>%"></div>
</div>
<?php endif;?>
And $this->getRatingSummary()
returns '0' rather than '100' when I change the store view from the store view in which the customer left their review in.
Is there anyway I can display the star ratings summary no matter what the store view is?
On the admin panel I've set the review to be visible in all store views i.e. Catalog > Reviews and Ratings > Customer Reviews > All Reviews