You can customize the file:
/includes/modules/pages/advanced_search_results/header_php.php
and change the WHERE statement:
Code:
$where_str = " WHERE (p.products_status = 1
AND p.products_id = pd.products_id
AND pd.language_id = :languagesID
AND p.products_id = p2c.products_id
AND p2c.categories_id = c.categories_id ";
to exclude the category such as:
Code:
$where_str = " WHERE (p.products_status = 1
AND p.products_id = pd.products_id
AND pd.language_id = :languagesID
AND p.products_id = p2c.products_id
AND p2c.categories_id = c.categories_id
AND c.categories_id != '27'";
where 27 is the category to exclude ...
NOTE: you could also use in its place:
AND p.master_categories_id != '27'
depending on which works best for you ...
Bookmarks