Forums / Setting Up Categories, Products, Attributes / Products Manufacturer Option

Products Manufacturer Option

Locked

Started by kismetdesign on 25 Jun 2009, 10:04 PM · Views: 1,207

Results 1 to 4 of 4
This thread is locked. New replies are disabled.
25 Jun 2009, 10:04 PM
#1
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Products Manufacturer Option

When I'm filling out product information, I see there is an option for 'Products Manufacturer'.

I'd like to get rid of it so that it doesn't confuse the people who will be entering eBook information in through this section.

Can you help me to delete this from showing up at all?

Thanks for any help!

KismetDesign

26 Jun 2009, 10:01 AM
#2
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Products Manufacturer Option

If you have no manufacturers' names set up in the database, the DROPDOWN field will be empty - so your input clerks can't choose anything, or insert their own text. Why remove something that can't be used (unless you have set up manufacturers names already).

20 years a Zencart User

26 Jun 2009, 10:44 AM
#3
schoolboy avatar

schoolboy

Totally Zenned

Join Date:
Jun 2005
Location:
Cumbria, UK
Posts:
10,327
Plugin Contributions:
0

Re: Products Manufacturer Option

If you want a simple "work-around" that prevents that option displaying in the Product Input Screen, then do the following:

Find the following file, using FTP to bring it back to your local machine for editing:-

admin/includes/modules/product/collect_info.php

(You must use a PLAIN TEXT EDITOR to edit core files!)

Around lines 287 to 290, find the following:-

          <tr>
            <td class="main"><?php echo TEXT_PRODUCTS_MANUFACTURER; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id); ?></td>
          </tr>

COMMENT OUT that section, making sure you put in some identifier as to why it is commented out - this helps you to find it later if you want to re-instate it)

          <!-- EDIT BEGIN - REMOVED TO STOP CONFUSION<tr>
            <td class="main"><?php echo TEXT_PRODUCTS_MANUFACTURER; ?></td>
            <td class="main"><?php echo zen_draw_separator('pixel_trans.gif', '24', '15') . ' ' . zen_draw_pull_down_menu('manufacturers_id', $manufacturers_array, $pInfo->manufacturers_id); ?></td>
          </tr> EDIT END -->

Save the changed file.

Make a BACKUP of the original file.

Send your changed file back to the server, to its original location - (there is no override system in ADMIN).

20 years a Zencart User

27 Jun 2009, 7:40 PM
#4
kismetdesign avatar

kismetdesign

Zen Follower

Join Date:
May 2009
Location:
Junction City, Oregon
Posts:
315
Plugin Contributions:
0

Re: Products Manufacturer Option

Great, that works!