Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Issue removing Mfg picture feature on right of main screen


copsgear.com

Recommended Posts

Needing some help removing the Manufacture Picture/Links on right side of my site.. cannot figure what needs deleted to remove that.. I had a guy working on my site and he added it about a year ago.. the issue is that it causes my site to load slowly.. He apparently got on here and someone had some code that he entered and it added this to the site.. What it allows is when you add a MFG to your listing and a picture it shows and adds all the MFGs pics on the right hand side at bottom of site.. Please take a look.. www.copsgear.com Just wanting to remove it.. Thanks

Link to comment
Share on other sites

Joshua,

 

I would look at the column_right.php file to see if that is a box added to the column as it appears to be. It if it, just comment out the require or includes statement associated with the box.

 

 

 

Chris

Link to comment
Share on other sites

This is a box that is getting included in file includes/column_right.php. You need to comment the part of code so that it disappear.

 

If you can not identify it, or don't know how to comment, post here the contents of file includes/column_right.php

 

PS. Please use the code tags, that look like this: <> on your reply menu

this text is in code tags

Link to comment
Share on other sites

This is a box that is getting included in file includes/column_right.php. You need to comment the part of code so that it disappear.

 

If you can not identify it, or don't know how to comment, post here the contents of file includes/column_right.php

 

PS. Please use the code tags, that look like this: <> on your reply menu

this text is in code tags

 

 

Here is the code in that Column_right.php

 

<?php

/*

$Id: column_right.php,v 1.17 2003/06/09 22:06:41 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 2003 osCommerce

 

Released under the GNU General Public License

*/

 

require(DIR_WS_BOXES . 'shopping_cart.php');

 

if (isset($HTTP_GET_VARS['products_id'])) include(DIR_WS_BOXES . 'manufacturer_info.php');

 

if (tep_session_is_registered('customer_id')) include(DIR_WS_BOXES . 'order_history.php');

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (tep_session_is_registered('customer_id')) {

$check_query = tep_db_query("select count(*) as count from " . TABLE_CUSTOMERS_INFO . " where customers_info_id = '" . (int)$customer_id . "' and global_product_notifications = '1'");

$check = tep_db_fetch_array($check_query);

if ($check['count'] > 0) {

include(DIR_WS_BOXES . 'best_sellers.php');

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'product_notifications.php');

}

} else {

include(DIR_WS_BOXES . 'best_sellers.php');

}

 

if (isset($HTTP_GET_VARS['products_id'])) {

if (basename($PHP_SELF) != FILENAME_TELL_A_FRIEND) include(DIR_WS_BOXES . 'tell_a_friend.php');

} else {

include(DIR_WS_BOXES . 'specials.php');

}

 

require(DIR_WS_BOXES . 'reviews.php');

 

if (substr(basename($PHP_SELF), 0, 8) != 'checkout') {

include(DIR_WS_BOXES . 'languages.php');

include(DIR_WS_BOXES . 'currencies.php');

}

 

 

//BEGIN MANBOX

include(DIR_WS_BOXES . 'manbox.php');

//END MANBOX

 

 

 

 

 

?>

 

Also anyone on here do this for a living that can help maintain for a fee? or atleast get this site looking better?

Link to comment
Share on other sites

Change:

 

include(DIR_WS_BOXES . 'manbox.php');

 

to:

 

//include(DIR_WS_BOXES . 'manbox.php');

It's against forum rules to advertise to pay someone for doing work for you.

:-"

If I suggest you edit any file(s) make a backup first - I'm not perfect and neither are you.

 

"Given enough impetus a parallelogramatically shaped projectile can egress a circular orifice."

- Me -

 

"Headers already sent" - The definitive help

 

"Cannot redeclare ..." - How to find/fix it

 

SSL Implementation Help

 

Like this post? "Like" it again over there >

Link to comment
Share on other sites

Change:

 

include(DIR_WS_BOXES . 'manbox.php');

 

to:

 

//include(DIR_WS_BOXES . 'manbox.php');

It's against forum rules to advertise to pay someone for doing work for you.

:-"

 

 

Thanks I will try that.. My bad for the $$.. Wont happen again

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...