Open madhusudan-indusa opened 7 years ago
I managed to fix it by replacing return $category->getChildrenCategories();
with return $category->getChildren();
in function getSubcategories in Block/Sidebar.php
Im facing the same issue, but my Block/Sidebar.php already contains your solution, Any ideas?
Check CSS. They may have display:none for the sidebar categories.
Thanks for the reply, unfortunately it doesn't seem to be the CSS,
A couple of weeks ago I created another issue/question which on the admin there is no option to select the depth of child categories, no answer to that yet, but i assume there is something wrong there, i install via composer, not sure if that makes a difference or not.
Please re-check getSubcategories() function in Block/Sidebar.php Here on GitHub it has wrong function call. See my first message in this thread.
As for CSS then in module.css they have
.sidebar .o-list {display: none;}
Should be display:block
Thank you @Antisly Your solution to replace return $category->getChildrenCategories();
with return $category->getChildren();
works perfect
I have made following changes in line 105 Block/Sidebar.php change $recursionLevel = 1 to 2,3,4 or more it depends how many child levels you have. This works for me.
I installed this on Magento 2.2.5 and in the configuration it only has one dropdown with 'Default Category'. It doesn't show the subcategories because it does not give me the option to select the child depth level.
All the other options above look to be implemented already in the repository. Any help?
I have the same error. I installed this on Magento 2.2.6 but I can see only "Default Category" in the dropdown. Any solution?
Hello i have just installed this extension but i am unable to view subcategories. Please help.