I am working on one of the pages and there is code to display the review summary if there is a review. What I want to do is show something if there is NO review. Maybe the grayed out stars?
Can someone help me with this?
<?php if($review): ?> <?php echo $this->getReviewSummaryHtml($_product) ?> <?php endif; ?>
Thanks!
<?php if(!$review): ?> /* Do something */ <?php endif; ?>
<?php if($review): ?> <?php echo $this->getReviewSummaryHtml($_product) ?> <?php else: ?>
// display grayed out stars <?php endif; ?>
Putting the else statement always gave me an error on the page, not sure why. It seems as though it's a simple add-in, but nothing seems to work for me.