shadowcatek Posted February 11, 2009 Posted February 11, 2009 categories are always listed in alphabetical order. i want to group them by type not alphabetical. i dont want to put them into a sub category unless i have to. i have hidden the subcategory menu because it is really long. example: categories listed in alphabetical order ----- accessories audi automotive oil filters buick chevrolet ----- can i modify the box to ----- accessories automotive oil filters ----- audi buick chevrolet ----- does that make any sense?? thanks!
dickysolo Posted February 11, 2009 Posted February 11, 2009 categories are always listed in alphabetical order. i want to group them by type not alphabetical. i dont want to put them into a sub category unless i have to. i have hidden the subcategory menu because it is really long. example: categories listed in alphabetical order ----- accessories audi automotive oil filters buick chevrolet ----- can i modify the box to ----- accessories automotive oil filters ----- audi buick chevrolet ----- does that make any sense?? thanks! For that you have to modify catalog/includes/boxes/categories.php Find the line $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.parent_id = '0' and c.categories_id = cd.categories_id and cd.language_id='" . (int)$languages_id ."' order by sort_order, cd.categories_name"); Modify the last order by part according to your choice
Recommended Posts
Archived
This topic is now archived and is closed to further replies.