I have category hierarchy up to level 3. ex,
Root Category
Category 1
Category 1.1
Category 1.1.1
Category 1.1.2
Category 1.1.3
Category 1.2
Category 1.2.1
Category 1.2.2
Category 1.2.3
Category 1.3
Category 2
. . .
. . .
. . .
Question While browsing categories in layered navigation, the product's attribute's filters are displaying in all layers but i want to attribute filter in only last category (eg. 3rd level category). How to do that
Note: I have searched it a lot but on one question of magento meta, one answer was altering css to hide filters in particular page. but i want to do it on higher level ( without css and if possible then php hacks).
$category->getLevel() == 3
?