0

After searching online, I found this approach to my problem of showing subcategories inside the category page. The above solution states to create a custom module, and then reference it with a cms-code.

So I created a static block with the reference cms-code inside it, and I added the block in a category, using the dropdown menu.

The module seems to work (I inspected the page and I can see there are <ul></ul> html tags), but no list of subcategories is visible.

What am i missing?

Thank you

5
  • Do you have flat categories enabled in the backend?
    – Condor
    May 7, 2018 at 14:32
  • @Bram No I haven't, but I am thinking of enabling them. Why? May 8, 2018 at 6:16
  • Well, I've tried to achieve the same a while back but this did not work while using flat categories. But you don't have that enabled, otherwise that maybe could've been the cause.
    – Condor
    May 8, 2018 at 6:53
  • Did you find a solution with flat categories? May 8, 2018 at 7:06
  • Nope, unfortunately I did not. Topics opened by other users on stack could not help me
    – Condor
    May 8, 2018 at 7:17

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.