am using oscommerce v2.3.1 in this advanced_search. php ,advanced_search_result.php i think they Search by default Product_name Product_model Manufacturess_name
but i have to add one more field(Categories ) in this
here they are filtering the keyword
$keyword = tep_db_prepare_input($search_keywords[$i]);
$where_str .= "(pd.products_name like '%" . tep_db_input($keyword) . "%' or p.products_model like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%'";
if (isset($HTTP_GET_VARS['search_in_description']) && ($HTTP_GET_VARS['search_in_description'] == '1')) $where_str .= " or pd.products_description like '%" . tep_db_input($keyword) . "%'";
here i tried but not succeed please help me how to add that one
Try adding:
after
where $categories_id is the specific id of the category to be searched. Searching all sub cats is a different story.