You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At default we have ps_category tree where not expanded children at all. Ex. If you have category with 3-4 depth and you go to 4 depth, category tree is sttill collapsed.
Actaully simple resolve is manipulate with $category.id and $node.id, but this solution work only on 1 depth.
It would be nice if such a function appeared by default in the template.
Feature target required module/theme
theme
Drawbacks
I think this could be a basic functionality of Prestashop, but you know how it is. All in all, there are no disadvantages here, and the advantage itself, because easy navigation through the category tree on the store is something required by online stores these days. We can implement this ourselves as developers, but I think it would be nice to see it in the main template release.
The text was updated successfully, but these errors were encountered:
thank you for creating a feature request.
To do it properly it will be much better to create, a dedicated module. It would be possible to do it entirely inside a templete but I don't want to put to mich logic in the view.
Summary
At default we have ps_category tree where not expanded children at all. Ex. If you have category with 3-4 depth and you go to 4 depth, category tree is sttill collapsed.
Actaully simple resolve is manipulate with $category.id and $node.id, but this solution work only on 1 depth.
More "advanced" solution is override ps_categorytree.php from this tutorial: https://www.sunnytoo.com/8222/how-to-set-the-category-tree-links-module-to-expand-the-brunch-containing-current-category-in-prestashop-1-7 and all works fine.
It would be nice if such a function appeared by default in the template.
Feature target required module/theme
theme
Drawbacks
I think this could be a basic functionality of Prestashop, but you know how it is. All in all, there are no disadvantages here, and the advantage itself, because easy navigation through the category tree on the store is something required by online stores these days. We can implement this ourselves as developers, but I think it would be nice to see it in the main template release.
The text was updated successfully, but these errors were encountered: