Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Manufactuers Drop List


Guest

Recommended Posts

if you visit my store www.junelle.com.au/shop i have this section in the middle under the flower but before the products that is a blank white back. this is where the manufactuers used it be. it was the words manufactuers: in bold and then a drop list to select from. i dont have differnt manufactuers so this unction is useless. i went into my admin and deleted all the temp manufactuers names 1 2 3 and 4. now it has deleted the wording and drop list but left the white space. if i go back into admin and enter a manufactuer back it, it reappears. i am not going to be using this so where do i edit the code to remove this white square that referances this manufacturers in the admin? i thought i found it in application_top but when deleted it i got a error on line 428 message. i can send my code through to anyone that can help me!

 

secondly, if this is not an option is there a way to change the work manufactuers to something like new arrivals. i tried in my languages english but nothing could be found?

 

:blink:

Link to comment
Share on other sites

You need to remove the code in the includes/column_left.php (or right) file that has to do with that box. It is only a few lines and should be obvious by the name.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

You need to remove the code in the includes/column_left.php (or right) file that has to do with that box. It is only a few lines and should be obvious by the name.

 

Jack

 

Coloum right has nothing and coloum left i tried to remove what i could find about the manufactuers and it did nothing. here is what coloum left code says if anyone can see were it is?

 

 

<table border="0"cellspacing="0" cellpadding="0" class="box_width_left">

<tr><td width="100%">

<table border="0" cellspacing="0" cellpadding="0">

<?php

/*

$Id: column_left.php,v 1.15 2003/07/01 14:34:54 hpdl Exp $

 

osCommerce, Open Source E-Commerce Solutions

http://www.oscommerce.com

 

Copyright © 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');

}

// -------------------------------------------------

// require(DIR_WS_BOXES . 'information.php');

// -------------------------------------------------

// require(DIR_WS_BOXES . 'whats_new.php');

// -------------------------------------------------

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

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

}

// -------------------------------------------------

 

// require(DIR_WS_BOXES . 'search.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');

}

// -------------------------------------------------

 

 

 

// 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');

// -------------------------------------------------

// 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');

}

// require(DIR_WS_BOXES . 'shopping_cart.php');

// -------------------------------------------------

?>

</table>

<table cellpadding="0" cellspacing="0" border="0">

<tr><td height="125" valign="top"><a href="<?=tep_href_link('specials.php')?>"><?=tep_image(DIR_WS_IMAGES.'b1.jpg')?></a></td></tr>

</table>

</td>

<td><?php echo tep_draw_separator('spacer.gif', '3', '1'); ?></td></tr>

</table>

Link to comment
Share on other sites

It is probably reading from cache. Disable this line too

echo tep_cache_manufacturers_box();

Or just delete that whole section of code.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

It is probably reading from cache. Disable this line too
echo tep_cache_manufacturers_box();

Or just delete that whole section of code.

 

Jack

 

Thankx for trying to help on this one. i tried disabling that line that didnt work so i just deleted the whole thing that read

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

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

}

// -------------------------------------------------

and it still appears there? any other thoughts?

Link to comment
Share on other sites

Thankx for trying to help on this one. i tried disabling that line that didnt work so i just deleted the whole thing that read

if ((USE_CACHE == 'true') && empty($SID)) {

echo tep_cache_manufacturers_box();

} else {

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

}

// -------------------------------------------------

and it still appears there? any other thoughts?

 

 

i just took the diable off the line above where i am looking and i think i may be in the wrong spot with the coloum. when i turn it off it put a section of info in the left coloum under the categories box. as this is in the middle of the page, it just be getting it from somewhere else. what file does oscommerce referance for the centre of each page?

Link to comment
Share on other sites

After you modified the file did you save and upload it to the webserver? :-"

 

Yeah i did, but i am convinced that is not the right area as anything else i do in there, only changes the left hand column not the middle bit. i must be missing something somewhere else.

Link to comment
Share on other sites

Templates generally load the manufacturers from the includes/header.php file. You will have to search there, or elsewhere, to see where they are calling the code.

 

Jack

Support Links:

For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc.

All of My Addons

Get the latest versions of my addons

Recommended SEO Addons

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...