hanskline Posted February 9, 2003 Share Posted February 9, 2003 How do I remove "Reviews" and "Manufacturers" from the site/home page? Link to comment Share on other sites More sharing options...
Guest Posted February 9, 2003 Share Posted February 9, 2003 Please see the Installation and Modification guide at:http://guide.oscdox.com Link to comment Share on other sites More sharing options...
lovasa Posted February 24, 2003 Share Posted February 24, 2003 I have commented out the review box so it does not appear on the right of the screen anymore. However, when a product is selected the reviews button/function appears again. Any advice on destroying this? I DON'T NEED REVIEWS FOR WHAT I AM SELLING!! Link to comment Share on other sites More sharing options...
mgraphics Posted February 24, 2003 Share Posted February 24, 2003 In product_info.php <tr> <td><br><table border="0" width="100%" cellspacing="0" cellpadding="0"> <tr> <td class="main"><a href="<?php echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td> <td align="right" class="main"><input type="hidden" name="products_id" value="<?php echo $product_info_values['products_id']; ?>"><?php echo tep_image_submit('button_in_cart.gif', IMAGE_BUTTON_IN_CART); ?></td> </tr> </table></td> </tr> <tr> I beleive you comment out or delete the: <td class="main"><a href="<?php echo tep_href_link(FILENAME_PRODUCT_REVIEWS, substr(tep_get_all_get_params(), 0, -1)); ?>"><?php echo tep_image_button('button_reviews.gif', IMAGE_BUTTON_REVIEWS); ?></a></td> I did this but it was a while ago. -Doug Link to comment Share on other sites More sharing options...
lovasa Posted February 24, 2003 Share Posted February 24, 2003 Hi - thanks for the suggestion. I can't verify whether it worked or not since I somehow managed to solve the problem (or at least most of it) by commenting out some other code - though damned if I can find it again. Link to comment Share on other sites More sharing options...
Guest Posted October 16, 2007 Share Posted October 16, 2007 Hi - thanks for the suggestion. I can't verify whether it worked or not since I somehow managed to solve the problem (or at least most of it) by commenting out some other code - though damned if I can find it again. As a further note I also wanted to do this in my shop, with the possibility that I may want to revert back to using reviews at some point in the future. I have just created an white image file (gif) 1x1 pixel, and uploaded it to the includes/languages/images/buttons folder. Simple :) Link to comment Share on other sites More sharing options...
Borojimmy Posted March 27, 2009 Share Posted March 27, 2009 There is an much easier way to do this WITHOUT removing loads of code: go to 'Catalog -> Includes' open up 'column_left.php' and 'column_right.php' these are the side bars that are shown to the public. there are a shed load of 'If' statements within them find which ones specifically deal with the blocks that you want to remove and comment them out. e.g: here I have commented out the manufacturers block as I dont really need it, with this particular client I only need to show a few blocks: column_left.php: <?php /* $Id: column_left.php 1739 2007-12-20 00:52:16Z hpdl $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_categories_box(); } else { include(DIR_WS_BOXES . 'categories.php'); } /* UNCOMMENT TO SHOW MANUFACTURERS AGAIN <-- here I have commented out the manufacturers block if ((USE_CACHE == 'true') && empty($SID)) { echo tep_cache_manufacturers_box(); } else { include(DIR_WS_BOXES . 'manufacturers.php'); } */ require(DIR_WS_BOXES . 'whats_new.php'); require(DIR_WS_BOXES . 'search.php'); require(DIR_WS_BOXES . 'information.php'); ?> I hope this helps Jimmy Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.