@MB Themes,
Thanks for reply but did not get it to work.... Probably i placed the code in the wrong place
Anyway i have another solution that works:
In functions.php search:
function eps_random_items($numItems = 10, $category = array(), $withPicture = false) {
Add:
$excluded_categories = array(62);
Change 62 to category nr you want to exclude and if more categories need to be excluded use comma eg: 62,122,255 etc
Then find:
if($withPicture) {
Before that line put:
if(!empty($excluded_categories)) {
$excluded_categories_str = implode(', ', $excluded_categories);
$whe .= ' AND '.DB_TABLE_PREFIX.'t_item.fk_i_category_id NOT IN ('.$excluded_categories_str.') ';
}
Save/upload file and relax