How do i go about removing or disabling "Average Rating: Not Rated" text you see on all products?
Thanks.
If you wanna remove the rating-text alltogether you enter catalog/view/theme/YOURTHEME/template/product/product.tpl and delete the following:
And if you only wanna remove the text when the product isn't rated you change the code abow to this:
Code: Select all
<tr>
<td><b><?php echo $text_average; ?></b></td>
<td><?php if ($average) { ?>
<img src="catalog/view/theme/laptop/image/stars_<?php echo $average . '.png'; ?>" alt="<?php echo $text_stars; ?>" style="margin-top: 2px;" />
<?php } else { ?>
<?php echo $text_no_rating; ?>
<?php } ?></td>
</tr>
Code: Select all
<?php if ($average) { ?>
<tr>
<td><b><?php echo $text_average; ?></b></td>
<td>
<img src="catalog/view/theme/laptop/image/stars_<?php echo $average . '.png'; ?>" alt="<?php echo $text_stars; ?>" style="margin-top: 2px;" />
</td>
</tr>
<?php } ?>
Who is online
Users browsing this forum: No registered users and 17 guests