Tomi14 Posted December 9, 2022 Share Posted December 9, 2022 My main category leads to some weird page and I can't change it. As I try to disable in BO>Catalog>Categories Home page>Main category, doesn't help. Link to comment Share on other sites More sharing options...
endriu107 Posted December 9, 2022 Share Posted December 9, 2022 Hi, you must edit module tpl file in your theme or in main modules catalog, path should be like: ../modules/ps_categorytree/views/templates/hook/ps_categorytree.tpl Change this: <div class="block-categories"> <ul class="category-top-menu"> <li><a class="text-uppercase h6" href="{$categories.link nofilter}">{$categories.name}</a></li> <li>{categories nodes=$categories.children}</li> </ul> </div> to this: <div class="block-categories"> <ul class="category-top-menu"> {if $categories.id != 2} <li><a class="text-uppercase h6" href="{$categories.link nofilter}">{$categories.name}</a></li> {/if} <li>{categories nodes=$categories.children}</li> </ul> </div> 1 Link to comment Share on other sites More sharing options...
Tomi14 Posted December 9, 2022 Author Share Posted December 9, 2022 It works!!! Thank you very much!!!! ☺️ 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