ultratom Posted February 18, 2004 Share Posted February 18, 2004 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 Link to comment Share on other sites More sharing options...
fightonusc Posted February 19, 2004 Share Posted February 19, 2004 I'm a newbie to the game and would also like this information. Thanks. Link to comment Share on other sites More sharing options...
ultratom Posted February 19, 2004 Author Share Posted February 19, 2004 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? Link to comment Share on other sites More sharing options...
fightonusc Posted February 19, 2004 Share Posted February 19, 2004 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. Link to comment Share on other sites More sharing options...
JohnS Posted February 19, 2004 Share Posted February 19, 2004 Yeah, it worked for me too, Great tip, that's my style of programming (sad to say) :( Link to comment Share on other sites More sharing options...
ultratom Posted February 19, 2004 Author Share Posted February 19, 2004 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 Link to comment Share on other sites More sharing options...
Guest Posted February 19, 2004 Share Posted February 19, 2004 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 Link to comment Share on other sites More sharing options...
fightonusc Posted February 21, 2004 Share Posted February 21, 2004 Where there you go then, I will be using // quite often. Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.