On the homepage I have a section where I load some products of a certain category. I want to display the review stars of a product below the title if the product has review. Normally I do this with the following code:
<?php if($_product->getRatingSummary()): ?> <?php echo $this->getReviewsSummaryHtml($_product, 'short') ?> <?php endif; ?>
But that doesn't display the stars, when I delete the IF statement around it, it will display the stars but also for the products that doesn't have reviews...
Did I do something wrong? Maybe a setting somewhere I don't know about?
Magento version: 184.108.40.206