By jeffb - Mon 21 Sep 2015
|
Hi. I am testing Kartris latest version with the KartrisAccordian skin.I have product categories with up to 3 sub-categories.
If I have the skin set to Kartris (where the categories display at the top) I get the display of all levels of subcategories just fine.
However, when I set the skin to Kartris Accordian, and I click on my categories to the left, I only can get one subcategory displayed within the tree to the left. A second (or third) nested subcategory shows in the main product display area instead.
How can I get all levels of subcategories to display in the left side category tree menu with the Kartris Accordian skin?
Note, I have tried changing the config settings for front end category menu, but they dont seem to make any difference.
Thanks!
|
By Paul - Wed 23 Sep 2015
|
This is due to limitations in the accordion menu plugin.
It only supports two levels. Also, it does not load top level categories when clicked on, just opens up the subcategories list below the top level category. This means it isn't a good choice if you have products nested within the top level category as well as subcats.
The CSS foldout one is more flexible, the number of levels can be sent from the back end and potentially it can go several levels deep (although the size will obviously increase, as it needs to produce the entire menu structure on each page, even if only a part is visible at any time).
|
By jeffb - Wed 23 Sep 2015
|
Ok thanks. Just to clarify though, what I did based on your comment was to go into config settings, frontend.display.categorymenu and change that to a type 'c' = CSS fold-out menu.
I also set frontend.display.categorymenu.levels to 0, to get all levels.
But still I am only seeing 2 levels to the left side in the category tree. Is that because I have the overall Skin (set in the "Theme" in Lang & Email settup page) set to Kartris Accordian? Do I need to change overall skin to Kartris (or some other?) to achieve multi levels on the category menu?
Thanks.
|
By Paul - Wed 23 Sep 2015
|
frontend.display.categorymenu is deprecated now - i think it is left over in older installs, but I'll look if we can get something to remove it or at least update the description to say it is deprecated.
In current versions, the skin itself decides which kind of menu to use based on what category control is nested within it. We ship a variety of skins that use the different controls.
The reason we did this was that the CSS foldout menu typically goes across the top and the accordion one typically goes down the side, so it's not easy to design a skin that can work well with both - the menu design is very much an integral part of the skin.
|