Jump to content

Display category tree with siblings and childs


Neve

Recommended Posts

HI

I would like display full category tree for active element on "category page", e.g:

Main categories are like: MEN       WOMEN          CHILDS
Active category is "Blach Shoes" for MAN
Images with menu simulation are attached.
 

MEN
   -  SOCKS
   -  SHOES
          -  Pink
          -  Black
          -  Red
          -  Blue
          -  White
   -  HATS
   -  T-SHERTS
   -  TROUSERS

How to do this??

black_shoes1.thumb.png.9efcb0f34bb4bce114e3e1363e2cb7ad.pngblack_shoes2.thumb.png.1162c1d2c5ae7bfe6748250306ad11c7.pngblack_shoes3.thumb.png.6fef9333502b637a6454a55190d70d4a.png

Edited by Neve (see edit history)
Link to comment
Share on other sites

Hi

Thanks for the answer -  I'm using PrestaShop version: 1.7.7.0 with default theme.

I would like to show categories tree from main parent to active child as on images above  - without showing rest of main categories.
MAN, WOMAN and CHILD are main categories, but only MAN should be shown in left menu, because its child category "black shoes" is active.

As you show on https://pscreenshot.com/i/5yf626 there is no option to do this.
"Category root: home category", show full tree, so I will try to use some Javascript with CSS to do what I want.


 

Link to comment
Share on other sites

  • 9 months later...

Hi all,

perhaps there is a misunderstanding of how this modul works.
Lets say we have this category-structur in the catalog.

A
--a1
--- a1.1
--- a1.2 etc
--b1
--- b1.1
--- b1.2 etc
B etc

Lets say here I have "Start Category" and "Max Deep" = 1
Then I think I would see:

A
B
(If I am wrong, please explain)

Lets say here I have "Start Category" and Max Deep = 2
Then I think I would see:

A
--a1
--b1
B
etc
(If I am wrong, please explain)

Lets say here I have "Start Category" and Max Deep = 3
Then I think I would see:

A
--a1
--- a1.1
--- a1.2 etc
--b1
--- b1.1
--- b1.2 etc
B
etc

But, I cant see that.
I see something like:

A
-- a1 +

if I klick the "+" I see more sub-cats
And if --- a1.1 would have some sub-cats there is a nother Icon to open the sub-cats.

 

I want to see the whole tree.
Do I understand the module wrong?
What means "max deep" precisely and how can I see the whole category-tree?

Yours Daniel


 

categorie-tree.thumb.png.6831f33384fa1343d1b6e45232147ce0.png

Link to comment
Share on other sites

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...