show sub categories only when main category is selected
This mod works great in 4.0.13 by combining heads Fernando and Gabriela provide X-er's with code that will list sub categories under the main category
Example:
MAIN NAV 1
MAIN NAV 2
sub nav 1
sub nav 2
sub nav 3
sub nav 4
MAIN NAV 3
MAIN NAV 4
Just add Fernando's code to customer/main/subcategories.tpl and to ensure categories maintain their 'order by' status take Gabriela's advice editing out 'usort' item within the includes/categories.php.
One other thing I hadn't found mentioned here... you must have "Always show Root Categories' checked in the admin section under general settings.
Thanks.
|