Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Removing Manufacturer


ultratom

Recommended Posts

Posted

Hi,

 

I want to remove Manufacturer and not allow it to display in any lists or product info pages, is there a way to apply it to the whole site?

 

TIA.

 

Tom

Posted

From what I've seen so far in OSC, it's gonna be a manual job. We're are going to have to edit each page where it is displayed. I'm hoping someone can give me another option. Anyone?

Posted

Ok, I think I have it.

 

Mind you, I'm not a programmer. I just hack around.

 

To learn oscommerce I started looking at every file and started editing them. Making copies of the originals before I attempt any editing of course.

 

Under /catalog/includes, the file column_left.php; you'll find $include_file = DIR_WS_BOXES . 'manufacturers.php'; include(DIR_WS_INCLUDES . 'include_once.php');

 

Just put /* before and */ after like this: /* $include_file = DIR_WS_BOXES . 'manufacturers.php'; include(DIR_WS_INCLUDES . 'include_once.php');*/

 

I did this rather than deleting it because I may need it later and I don't know enough to add it manually.

 

This worked for me, atleast for the first page. I haven't gotten any further yet.

Posted

Does that technique also remove it from the products list? I have only one manufacturer so you could imagine it looks silly if it is repeated throughout the order process

Posted

Just comment it out in catalog/includes/column_left.php from:

include(DIR_WS_BOXES . 'manufacturers.php');

to this:

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

 

The_Bear

Archived

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

×
×
  • Create New...