osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 
 

Turning off infoboxes

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > osCommerce 2.2 Modification Help

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Closed Thread

 

LinkBack Thread Tools
  #1  
Old 10-01-2003, 06:52 AM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default Turning off infoboxes

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
  #2  
Old 10-01-2003, 06:56 AM
New Member
 
Join Date: Sep 2003
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
aseto
Default

look in the guide. if you edit column_left.php and column_right.php you can remove the infoboxes by commenting them out.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #3  
Old 10-01-2003, 09:34 AM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #4  
Old 10-01-2003, 10:46 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,432
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

look in product_info.php and disable/comment the code that controls the 'also purchased' boxes.
__________________
Michael Sasek
osCMax Developer


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #5  
Old 10-01-2003, 10:49 AM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #6  
Old 10-01-2003, 10:54 AM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default

Sorry bout that last post you said .php I was looking at .tpl.php. lemme check the .php file

BRB

Mac
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #7  
Old 10-01-2003, 10:57 AM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #8  
Old 10-01-2003, 11:54 AM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,432
Thanks: 73
Thanked 334 Times in 313 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Default

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


  • osCMax Templates - Hundreds of premium quality templates. New designs every month!

  • xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience.

  • osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host.

  • osCMax Template Tutorial - Learn how to make your own custom templates and how to use the powerful features of the osCMax template system.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #9  
Old 10-01-2003, 12:28 PM
New Member
 
Join Date: Sep 2003
Posts: 20
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
mcdanie1
Default

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
  #10  
Old 03-03-2004, 02:33 PM
red_fraggle's Avatar
Active Member
 
Join Date: Feb 2004
Location: wilmington, NC
Posts: 319
Thanks: 0
Thanked 1 Time in 1 Post
Rep Power: 0
red_fraggle
Default

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!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Sponsored Links
Advertisement
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 03:38 PM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
http://www.oscmax.com/forums/
Copyright 2008 osCMax