Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if($_product->getRatingSummary()): ?>
- <?php echo $this->getReviewsSummaryHtml($_product) ?>
- <?php endif; ?>
- <?php if($_product->getRatingSummary()) {
- $reviewCount++;
- echo $this->getReviewsSummaryHtml($_product) ?>
- }?>
- <?php
- $reviews = array(); // this will be populated with the output for products with reviews
- foreach ($_productCollection as $_product) {
- if($_product->getRatingSummary())
- $reviews[] = $this->getReviewsSummaryHtml($_product, 'short');
- }
- $reviewCount = count($reviews);
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement