Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove Manufacturers Pop-Up Menu and Table?


mtorrance

Recommended Posts

To remove it from the left column, edit /catalog/includes/column_left.php and re-write this code:

 

  if ( (USE_CACHE == 'true') && !SID) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }

 

To read:

 

if (false) {



 if ( (USE_CACHE == 'true') && !SID) {

   echo tep_cache_manufacturers_box();

 } else {

   include(DIR_WS_BOXES . 'manufacturers.php');

 }





}

 

Basically that will leave the code intact incase you later want to add it back in.

 

In Admin, under Product Listing ... turn off the Display Manufacture.

 

In /catalog/includes/column_right.php

 

Edit:

 

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

 

To read:

 

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

 

Same idea here ... comment out the code and it will not show but can be brought back easily later.

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...