dodger5 Posted March 3, 2007 Share Posted March 3, 2007 How do I stop the search box searching model numbers? I only want it to search product titles. Does anyone know how I can change this? Link to comment Share on other sites More sharing options...
dodger5 Posted March 3, 2007 Author Share Posted March 3, 2007 ok never mind, found it, i think - I just changed this line in advanced_search_result.php: $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) . "%'"; to this $where_str .= "(pd.products_name like '%" . tep_db_input($keyword) . "%' or m.manufacturers_name like '%" . tep_db_input($keyword) . "%'"; seems to work. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.