Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Drop down boxes.


Recommended Posts

Topic almost says it all. I need to figure out how to add a manufacturer drop down box to the header search function. If possible, when a manufacturer is selected have the model numbers associated with the manufacturers products in a box adjacent to it.


You will see the search bar in this sites main header. This is what I'm going for.

Example myvoicecomm.com


I figure this should be easy.


Thanks in advance. :)


Link to comment
Share on other sites

Yes, its easy, but I`m not about to write it for you!!, but to help this is some code to do similar


$name_query = tep_db_query("select page_name, page_id from " . TABLE_PAGE_DESCRIPTION . " order by page_name");

$pg_name_array = array( array('id' => '0', 'text' => 'Category Page'));

while ($pg_name = tep_db_fetch_array($name_query)) {

$pg_name_array[] = array('id' => $pg_name['page_id'], 'text' => $pg_name['page_name']); } echo tep_draw_pull_down_menu('menu_page_id', $pg_name_array, $menu['menu_page_id'], '');



Hope that helps






Remember, What you think I ment may not be what I thought I ment when I said it.




Auto Backup your Database, Easy way


Multi Images with Fancy Pop-ups, Easy way


Products in columns with multi buy etc etc


Disable any Category or Product, Easy way


Secure & Improve your account pages et al.

Link to comment
Share on other sites


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

  • Create New...