zeberrun Posted June 23, 2009 Posted June 23, 2009 * as we have seen in many sites, there is an option to search in categories. *i added categories list in header.php (pull down menu) , but if i try to search an item in a specific category, it still searches the all products. * what i must add below lines to be able to search a word in a specific category? rgds <li><?php echo tep_draw_pull_down_menu('categories_id', tep_get_categories(array(array('id' => '', 'text' => TEXT_ALL_CATEGORIES)))); ?><form name="quick_find" action="advanced_search_result.php" method="get"><input style="WIDTH: 100px; margin-top:8px;" maxLength="30" size="10" name="keywords"> <input type="submit" value="search"></form></li>
spooks Posted June 24, 2009 Posted June 24, 2009 try putting your drop within the form!! Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: 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.
zeberrun Posted June 24, 2009 Author Posted June 24, 2009 try putting your drop within the form!! hello, could you please open the subject, i am not pro, thx
spooks Posted June 24, 2009 Posted June 24, 2009 the drop must occur after <form name="quick_find" action="advanced_search_result.php" method="get"> not b4 addendum: you must also use tep_href_link here, or u will have sid issues http://www.oscommerce.com/forums/index.php?sho...c=330479&hl Sam Remember, What you think I ment may not be what I thought I ment when I said it. Contributions: 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.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.