opencart-module

OpenCart 2: Show all subcategories in category module by default (php)

佐手、 提交于 2019-12-05 19:59:07
Really need your help to make this work. I'm using OpenCart 2.0.3.1 and I want the sidebar category module to show all subcategories of all categories by default. Currently the module shows subcategories only when you click on a category and it shows subcategories only of that category. You can have a look at it in action: http://demo.opencart.com/index.php?route=product/category&path=20 (it's the module on left sidebar) I'm just using the default module. I tried many different ways to get this work and nothing helped to achieve this. I know that I need to edit these two files: catalog