Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Completely Removing Manufacturer?? Help!


Guest

Recommended Posts

I was easily able to remove manufacturer in the colums but the question I have is how do You remove all reference to it Like on the whats new page I still get references to manufacturer?

 

ie:

Date Added: Saturday 29 March, 2003

Manufacturer:

 

This site will never use Manufacturer and I have looked extensively at Wiki to no avail and searched here for a long time. Suggestions would be appreciated. Thanks in advance!

Link to comment
Share on other sites

Unfortunately, you have to edit the /includes/modules/products_new.php file yourself.

 

    <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new_array[$i]['id']) . '"><b><u>' . $products_new_array[$i]['name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . $products_new_array[$i]['date_added'] . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new_array[$i]['manufacturer'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

Link to comment
Share on other sites

I was easily able to remove manufacturer in the colums but the question I have is how do You remove all reference to it Like on the whats new page I still get references to manufacturer?

 

ie:

Date Added: Saturday 29 March, 2003

Manufacturer:

 

This site will never use Manufacturer and I have looked extensively at Wiki to no avail and searched here for a long time. Suggestions would be appreciated. Thanks in advance!

 

how do u remove the manufacturer box from the left column?

Link to comment
Share on other sites

Edit the /includes/column_left.php and comment it out, so that later, should you want to put back the code you can easily do so:

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

//    echo tep_cache_manufacturers_box();

 } else {

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

 }

Link to comment
Share on other sites

  • 1 year later...
Unfortunately, you have to edit the /includes/modules/products_new.php file yourself.

 

    <td valign="top" class="main"><?php echo '<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $products_new_array[$i]['id']) . '"><b><u>' . $products_new_array[$i]['name'] . '</u></b></a><br>' . TEXT_DATE_ADDED . ' ' . $products_new_array[$i]['date_added'] . '<br>' . TEXT_MANUFACTURER . ' ' . $products_new_array[$i]['manufacturer'] . '<br><br>' . TEXT_PRICE . ' ' . $products_price; ?></td>

This was great advice! I had the same problem, and this helped me solve it. But, I'm a newbie, so I did struggle for a few minutes. Mainly, because although you said to edit the file, I didn't know exactly what to do.

 

Problem was solved by commenting out (if anybody else is also struggling with this) :

 

/* TEXT_MANUFACTURER . ' ' . $products_new['manufacturers_name'] . '<br><br>' . */

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...