This is a little fix for inactive categories. No file attached just a where added to the function "osC_CategoryTree :
- Serach this function and replace with the given one.
_____________________
function osC_CategoryTree($load_from_database = true) {
global $languages_id;
$categories_query = tep_db_query("select c.categories_id, cd.categories_name, c.parent_id from
" . TABLE_CATEGORIES . " c, " . TABLE_CATEGORIES_DESCRIPTION . " cd where c.categories_id =
cd.categories_id and cd.language_id = '" . (int)$languages_id . "' and c.categories_status = '1' order by c.parent_id,
c.sort_order, cd.categories_name");
______________________
More...
Bookmarks