Post by dada » Wed Jul 21, 2010 4:16 am

Hello.

How to totally remove "manufacturer" from admin & products? I just don't need this field in store. So i would like to remove from admin, so i wouldn't need to select it when adding new product. Also i don't need to show "manufacturer" field in product description page.

Thanks.

Newbie

Posts

Joined
Fri Jul 02, 2010 1:08 am

Post by JAY6390 » Wed Jul 21, 2010 4:30 am

There's no NEED to add a manufacturer to a product so the admin area isnt really a crucial change
As for the product template, simply open

Code: Select all

/catalog/view/theme/default/template/product/product.php
and remove the following

Code: Select all

              <?php if ($manufacturer) { ?>
              <tr>
                <td><b><?php echo $text_manufacturer; ?></b></td>
                <td><a href="<?php echo str_replace('&', '&', $manufacturers); ?>"><?php echo $manufacturer; ?></a></td>
              </tr>
              <?php } ?>

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by dada » Wed Jul 21, 2010 4:36 am

Thanks for fast reply. It worked.

Thanks again!

Newbie

Posts

Joined
Fri Jul 02, 2010 1:08 am

Post by JAY6390 » Wed Jul 21, 2010 4:52 am

No problem :)

Image


User avatar
Guru Member

Posts

Joined
Wed May 26, 2010 11:47 pm
Location - United Kingdom

Post by sparkcom » Sat Apr 30, 2011 6:34 am

we should not touch the files in the default template.

You should create your theme following this

http://www.opencart.com/index.php?route ... path=43_44

and then create a file under your

theme_name/template/common/manufacture.tpl and leave the file empty

Ben
http://www.sparkcomputing.co.uk

Newbie

Posts

Joined
Sat Apr 30, 2011 6:30 am
Who is online

Users browsing this forum: No registered users and 9 guests