Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Remove all the 'Manufacturers' stuff?


doktorwunder

Recommended Posts

Posted

Hi :)

I was wondering if there's a possibility to remove all the "Manufacturers" details

from osC, both in catalog and admin... or replace it by another product detail..

The thiing is that I don't need it at all and so I don't want it to appear..

So let's say I want to put the product size instead.. Which files do I need to modify? :blink:

 

Thanks :thumbsup:

Dr.Wunder

Always need help :(

Posted
Hi :)

I was wondering if there's a possibility to remove all the "Manufacturers" details

from osC, both in catalog and admin... or replace it by another product detail..

The thiing is that I don't need it at all and so I don't want it to appear..

So let's say I want to put the product size instead.. Which files do I need to modify?  :blink:

 

Thanks  :thumbsup:

 

 

Hi,

 

If all you want to do is remove the Manufacturer's box from the left hand side of the screen, then the file you need to edit is:

 

yourdomain/includes/column_left.php

 

However, DON'T edit it using the File Manager in your admin control panel. I found out the hard way that it appears to put back-slashes in places where they shouldn't be. The upshot of this is that your pages simply won't work; all you will end up getting is a PHP parse error where your website should be. I lost about three days due to this and nearly lost the will to live!

 

If you don't have an FTP client then you can download one for free at this address: http://www.coreftp.com/.

 

Find these lines in column_left.php

 

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

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

}

 

Now, either remove from, or better still - in case you change your mind - turn them into a comment that will be ignored by PHP. Do this by preceding them wil /* and following them with */ as below:

 

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

echo tep_cache_manufacturers_box();

} else {

include(DIR_WS_BOXES . 'manufacturers.php');

} */

 

Once you've done this, you don't need to worry about removing any manufacturer stuff from admin because none of it would be displayed on your website anyway.

 

Hope this helps.

 

Mick

Archived

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

×
×
  • Create New...