Jump to content

Module Block Categories - show only subcategories of selected category


rob84

Recommended Posts

Hello. I'm trying to show only subcategories of selected categories in block categories module.

Example of category tree:

 

Main Category 1 (current)

 - sub 1

 - sub 2

 - sub 3

 - sub 4

 - sub 5

 

This is shown only when i'm in Main Category 1. When selected for example sub 1, the goal is to display only subcategories of sub 1 category and the Main category 1 link:

 

<- Main Category 1 (link)

    - sub 1 (current)

    - sub 1-1

    - sub 1-2

    - sub 1-3

    - sub 1-4

 

If selected the sub 1-1, for example, this one become the "parent" category :

 

<- Main Category 1 (link)

  <- sub 1 (link)

    <- sub 1-1 (current)

      - sub 1-1-1

      - sub 1-1-2

      - sub 1-1-3

 
and so on....
 
I hope that was clear :)
 
Thanks a lot.
Edited by rob84 (see edit history)
Link to comment
Share on other sites

  • 1 month later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...