LUCA Posted November 29, 2021 Share Posted November 29, 2021 Hi everyone, In every category page I would show all category tree and not only the subcategory I have searched for a long time the best way for showing all category tree in every page of my eshop The problems is get the correct array $category->children used in the ps_categorytree.tpl file I have seen a solution for the old prestashop version by overriding the category controller but not work in php 1.7 Everyone can help me Link to comment Share on other sites More sharing options...
JulienPct Posted November 29, 2021 Share Posted November 29, 2021 (edited) Hello, First of all, why doesn't it work to override the Controller? Have you looked at the functions of the Category class? Could you give us a screen to better visualize the problem or a site access? Edited November 29, 2021 by JulienPct (see edit history) Link to comment Share on other sites More sharing options...
LUCA Posted November 29, 2021 Author Share Posted November 29, 2021 I have deleted my override code . I have not very expert in the php core files. Every one can give me a correct code Link to comment Share on other sites More sharing options...
Ress Posted March 6, 2022 Share Posted March 6, 2022 You can do this from the module settings: Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now