Currently my Magento store shows 'hollow' 5 star ratings for all products without ratings (which is 99.9% of products as it's a new store). 

[!['hollow stars'](https://i.stack.imgur.com/xoZMT.jpg)](https://i.stack.imgur.com/xoZMT.jpg)

I would like to only have the star rating appear if a product has received one or more ratings.

I would like this to happen on the search results view, category product list view (same I believe) and also carousel display (such as recommended products at bottom of product details page).

The code which I believe is currently calling the stars into play on the list view is in list.phtml and is as follows:

```
<?php if($_product->getRatingSummary()):?>
<?php echo $this->getReviewsSummaryHtml($_product) ?>
<?php else:?>
<div class="ratings">
<div class="rating-box">
<div class="rating" style="width:0%"></div>
</div>
</div>
<?php endif;?>

```

BUT perhaps there's a deeper level which needs editing so they don't show on a carousel (eg recommended products) also?

I can't find any advice on this specific need anywhere and would really appreciate some help. Thanks.