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 ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| 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 |
|
#2
| |||
| |||
| 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. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Posting reviews | delphi1 | osCommerce 2.2 Modification Help | 0 | 10-24-2005 07:01 PM |
| Disable purchase and reviews | shirster | osCommerce 2.2 Modification Help | 3 | 09-07-2005 04:39 AM |
| Reviews | RCarlton | osCommerce 2.2 Modification Help | 3 | 12-12-2004 05:18 PM |
| How to disable product add date | Plastic | osCMax v1.7 Discussion | 2 | 05-13-2004 10:57 AM |
| Product reviews | Jood | osCMax v1.7 General Mods Discussion | 0 | 03-27-2004 05:54 AM |