This is a discussion on Turning off infoboxes within the osCommerce 2.2 Modification Help forums, part of the osCommerce 2.2 Forums category; Does anyone know how to turn off the following infoboxes: We Also Recommend : and Customers who bought this product ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| |||
| |||
| Does anyone know how to turn off the following infoboxes: We Also Recommend : and Customers who bought this product also purchased: I have gotten both of these to the point that they contain no information and as such are just headers across the bottom of the screen, but I would like to remove them completely and cannot find where to do it. Any help would be appreciated Mac |
| Sponsored Links | ||
| ||
|
#2
| |||
| |||
| look in the guide. if you edit column_left.php and column_right.php you can remove the infoboxes by commenting them out. |
|
#3
| |||
| |||
| Thanks, But I am not talking about in the left or right columns as I have those disabled. These two headings are showing up in the categories at the bottm center just above the footer. Is there anyway to disable these two functions? Thanks, Mac |
|
#4
| ||||
| ||||
| look in product_info.php and disable/comment the code that controls the 'also purchased' boxes.
__________________ Michael Sasek osCMax Developer
|
|
#5
| |||
| |||
| I tried commenting out the following: <?php //Commented for x-sell // if ((USE_CACHE == 'true') && empty($SID)) { // echo tep_cache_also_purchased(3600); // } else { // include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); // } // } //Added for x sell if ( (USE_CACHE == 'false') && !SID) { echo tep_cache_also_purchased(3600); include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS); } else { include(DIR_WS_MODULES . FILENAME_XSELL_PRODUCTS); include(DIR_WS_MODULES . FILENAME_ALSO_PURCHASED_PRODUCTS); } } ?> Obviously the top portion inside is already commenetd out, but when I comment this block of PHP out, I get a parse error on the product page. Any thoughts? Mac |
|
#6
| |||
| |||
| Sorry bout that last post you said .php I was looking at .tpl.php. lemme check the .php file BRB Mac |
|
#7
| |||
| |||
| Hmm, now I'm a little confused. I did not find anything pertaining to additional boxes in the product_info.php file. What I have in that file is posted below; <?php /* $Id: product_info.php,v 1.97 2003/07/01 14:34:54 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ require('includes/application_top.php'); require(DIR_WS_LANGUAGES . $language . '/' . FILENAME_PRODUCT_INFO); $product_check_query = tep_db_query("select count(*) as total from " . TABLE_PRODUCTS . " p, " . TABLE_PRODUCTS_DESCRIPTION . " pd where p.products_status = '1' and p.products_id = '" . (int)$HTTP_GET_VARS['products_id'] . "' and pd.products_id = p.products_id and pd.language_id = '" . (int)$languages_id . "'"); $product_check = tep_db_fetch_array($product_check_query); $content = CONTENT_PRODUCT_INFO; $javascript = 'popup_window.js'; require(DIR_WS_TEMPLATES . TEMPLATENAME_MAIN_PAGE); require(DIR_WS_INCLUDES . 'application_bottom.php'); ?> Am I missing something? I really appreciate your help! Mac |
|
#8
| ||||
| ||||
| It looks like you are using MS2-MAX, in which case, you have posted in the incorrect forum. My advice was based on MS2. Anything pertaining to MS2-MAX should be posted in the MS2-MAX forum. Since you are using the MS2-MAX, that is the cross sell module and you can turn it off by removing cross-sold products in the admin.
__________________ Michael Sasek osCMax Developer
|
|
#9
| |||
| |||
| I apologize for the incorrect forum. And yes you are correct that I am using MS2-MAX. However, I have removed all of the Cross-Associated Products and I am now getting two heading bars with the following text inside: We Also Recommend : and Customers who bought this product also purchased: You can see what I mean here: http://www.subtlechristianapparel.co...baedc402bd3313 Any thoughts? |
|
#10
| ||||
| ||||
| I beleive as Msasek has said in his previous post, you must remove X-sell products by uninstalling it. Removing the products that you cross sell only leaves you with empty X-sell boxes. Removing that mod will remove those boxes completely. Cliff....
__________________ Clifton Murphy CEO/CTO Hyperactive Inc. osCommerce hosting, OSCMAX hosting, osCommerce modification, and OSCMAX modification specialists! |
| Sponsored Links | ||
| ||
| |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| turning off other images for this product | lgreitzer | osCMax v2 Customization/Mods | 8 | 10-09-2006 06:29 PM |
| Turning On/Off Infobox Admin??? | ironjaxxx | osCMax v2 Customization/Mods | 6 | 10-03-2006 04:43 PM |
| Help! Host turning off allow_url_fopen | eyeofhorus | osCMax v1.7 Installation | 3 | 03-20-2005 09:46 AM |
| Turning notification off? | mshaffer | osCMax v1.7 Discussion | 1 | 02-16-2004 01:49 PM |
| turning register_globals OFF | ippo | osCommerce 2.2 Modification Help | 0 | 01-14-2003 11:34 AM |