jesma Posted September 23, 2006 Posted September 23, 2006 Hi, At the moment, on the Manufacturer dropdown menu, before you click on it to open the dropdown, it simply says "Please Select". Then you would click on please select and it would reveal all the lists of manufacturers. Here's the question... how would you be able to have the first item listed from the manufacturer dropdown to be where the "Please Select" is?
jesma Posted September 23, 2006 Author Posted September 23, 2006 Hi, At the moment, on the Manufacturer dropdown menu, before you click on it to open the dropdown, it simply says "Please Select". Then you would click on please select and it would reveal all the lists of manufacturers. Here's the question... how would you be able to have the first item listed from the manufacturer dropdown to be where the "Please Select" is? Also, if the above it too hard to do, how could I just define my own text instead of "Please Select", and replace it with "Choose A Band", for example. I went into english.php and found "Please Select" to "Choose A Band", and it made ALL dropdown menus change to this text, so even the choose a country dropdown in the checkout says "Choose A Band"! Is there anyway I can define just the manufacturers dropdown to say Choose A Band?
241 Posted September 23, 2006 Posted September 23, 2006 catalog/includes/boxes/manufacturers.php approx line #42 $manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT); either change this to be hard coded (not always the best way especially if using multiple languages) $manufacturers_array[] = array('id' => '', 'text' => 'Choose A Band'); or better method is to do this $manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT_MANUFACTURER); then create the new define in the catalog/includes/languages/[language eg english].php define('PULL_DOWN_DEFAULT_MANUFACTURER', 'Choose A Band'); No longer giving free advice. Please place deposit in meter slot provided. Individual: [=] SME: [==] Corporation: [===] If deposit does not fit one of the slots provided then you are asking too much! Is your Osc dated try Phoenix raising oscommerce from the ashes.
jesma Posted November 12, 2006 Author Posted November 12, 2006 a late thanks for the above reply! does anyone know a way to display the first manufactorer name inplace of the Please select text?
Jack_mcs Posted November 12, 2006 Posted November 12, 2006 Delete this code and it should work for you if (MAX_MANUFACTURERS_LIST < 2) { $manufacturers_array[] = array('id' => '', 'text' => PULL_DOWN_DEFAULT); } Jack Support Links: For Hire: Contact me for anything you need help with for your shop: upgrading, hosting, repairs, code written, etc. All of My Addons Get the latest versions of my addons Recommended SEO Addons
Recommended Posts
Archived
This topic is now archived and is closed to further replies.