cliq Posted February 12, 2007 Posted February 12, 2007 Hi all. Somebody know how to simple search (form search in index page) to make search in description of products, without needing to go the advanced search and select "Search In Product Descriptions" ? Thank you. Regard's Diego
nst888 Posted February 12, 2007 Posted February 12, 2007 Okay doke, In advanced_search_result.php replace line 268 (for me, do a search and replace for you): 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) . "%'"; with $where_str .= " or pd.products_description like '%" . tep_db_input($keyword) . "%'"; Seems to work for me. Let me know of any probs. Nicki Tang
Recommended Posts
Archived
This topic is now archived and is closed to further replies.