Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Manufactures From......


Guest

Recommended Posts

Hello can anyone help?

 

I would like to remove Manufactures list from Whats New Here front page can anyone tell me how I can do this?

 

Thanks in advance

Mike.

Link to comment
Share on other sites

I can't tell for sure which of these things you want to do, so I'll answer both. Caveat: Make a backup copy of any file you change.

 

If you want the manufacturer's name to not appear on the products_new.php page, remove this section of code from line 89 of catalog/products_new.php (including the periods at each end):

 

 

. TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] .

 

If you want to entirely remove the Manufacturers box and drop menu from the left column of boxes, find this code in catalog/includes/column_left.php :

 

  if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_manufacturers_box();
 } else {
   include(DIR_WS_BOXES . 'manufacturers.php');
 }

 

You can either remove it completely, or comment it out like this:

 

 

/*
 if ((USE_CACHE == 'true') && empty($SID)) {
   echo tep_cache_manufacturers_box();
 } else {
   include(DIR_WS_BOXES . 'manufacturers.php');
 }
*/

They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety. ~ Benjamin Franklin, 1759. տլ

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...