Alright, so I've been working with Magento for about 1-2 months, not too excited about it, but still trying to learn.
I've managed to install a nice Template theme for someone, and I'm currently tweaking to make it work "right".
But, I have a bit of a weird issue... firstly, my Template doesn't show root categories in the top nav, just lists the first sub categories. This is fine.
I go into a sub category, and I can see the subcategories in the left block. But when I click on one of the sub-sub-categories, the left block doesn't display any categories at all.
I can figure out that this is default behavior, because the sub-sub category I'm in has no sub-sub-sub categories. But, I was wondering, does anyone know of a good way to, when you're in a grandchilded category, to show all the categories in the main base?
EX:
Default Category (Not seen)
Cat 1 (Shown in top nav)
Sub Cat 1
Sub Cat 2
Cat 2 (Shown in top nav)
Sub Cat 1
Sub Cat 2
Cat 3 (Shown in top nav)
Sub Cat 1
Sub Cat 2
Say for example I click on Sub Cat 2, in the Cat 3 location, could I have magento display ALL the children from the 2nd level? In this example, Cat 3 would be shown, with all it's sub-categories as well, almost as if I had clicked on just Cat 3.
I hope I explained this well, I'm about as confused with Magento as the next person...
(Here's the bit before the foreach loop to write the categories in my template file. Anyway to throw a getParent() kind of a deal in here so it always loads the 'top' category?)
<?php $_categories=$this->getCurrentChildCategories(); ?>
<?php $_count = is_array($_categories)?count($_categories):$_categories->count(); ?>
<?php if($_count): ?>