PDA

View Full Version : Products Tabs



michael_s
05-02-2009, 08:00 AM
************************************************** ************************************************** **********
|What does it work for?|
|______________________|

Ans:It makes the checkbox ("Product in Description") in advanced_search.php site to work correctly.


-Open the catalog/advanced_search_results.php file.
================================================== ================================================== =========

#####Find:
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) . "%'";

#####Replace with:

//BOF: Search in Products Tabs (by faaliyet)
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) . "%' or pd.products_spec like '%" . tep_db_input($keyword) . "%' or pd.products_musthave like '%" . tep_db_input($keyword) . "%' or pd.products_extraimage like '%" . tep_db_input($keyword) . "%' or pd.products_manual like '%" . tep_db_input($keyword) . "%' or pd.products_extra1 like '%" . tep_db_input($keyword) . "%' or pd.products_moreinfo like '%" . tep_db_input($keyword) . "%'";
//EOF: Search in Products Tabs (by faaliyet)

================================================ That's All. =================================================

************************************************** ************************************************** **********
Seyhun Cavus (faaliyet)

More... (http://addons.oscommerce.com/info/2610)