I would like to disable the "reviews" from my oscommerce template
entirely, is this possible? I don't see how is it done in the admin?
Thanks-
Isaac
This is a discussion on How to disable product reviews? within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; I would like to disable the "reviews" from my oscommerce template entirely, is this possible? I don't see how is ...
I would like to disable the "reviews" from my oscommerce template
entirely, is this possible? I don't see how is it done in the admin?
Thanks-
Isaac
IN includes/column_right.php approx. line 41 its says --> require(DIR_WS_BOXES . 'reviews.php'); you can take that out or just comment it out.
//require(DIR_WS_BOXES . 'reviews.php'); Then in templates/content/product_info.tpl.php at approx line 230 we have
<?php
$reviews_query = tep_db_query("select count(*) as count from " . TABLE_REVIEWS . " where products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "'");
$reviews = tep_db_fetch_array($reviews_query);
if ($reviews['count'] > 0) {
?>
<tr>
<td colspan="2" class="main"><?php echo TEXT_CURRENT_REVIEWS . ' ' . $reviews['count']; ?></td>
</tr>
<tr>
<td colspan="2"><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td>
</tr>
<?php
}
Basically comment the php and I believe your tables should be fine. Other than this I'm not sure if the reviews show up any where else if so then its a matter of finding the code and commenting it out.
Bookmarks