Hi guys,
I badly need help. How can I display all subcategories on layered navigation?
Example:
Category 1
-Subcategory 1-1
--Subcategory 1-1-1
--Subcategory 1-1-2
-Subcategory 1-2
--Subcategory 1-2-1
--Subcategory 1-2-2
-Subcategory 1-3
--Subcategory 1-3-1
--Subcategory 1-3-2
Category 2
-Subcategory 2-1
--Subcategory 2-1-1
--Subcategory 2-1-2
-Subcategory 2-2
--Subcategory 2-2-1
--Subcategory 2-2-2
-Subcategory 2-3
--Subcategory 2-3-1
--Subcategory 2-3-2
Regards,
Kay
Both extensions support categories with subcategories in layered navigation:
https://amasty.com/improved-layered-navigation.html
https://www.magentocommerce.com/magento-connect/multi-category-layered-navigation.html
If you want to do it yourself, you can check this topic as good starting point:
You'll have to modify behavior in app/code/core/Mage/Catalog/Model/Layer/Filter/Category.php, in _getItemsData() function.
Thanks! We end up buying the module.