Jump to content

change menu


overbags

Recommended Posts

Hi everyone
I have to hide the category 93 (active) from the menu via php modification
I did several tests but failed

one of these tests I changed ps_mainmenu.php to line 730

             / * Whenever a category is not active we shouldnt display it to customer * /
             if ((bool) $ category ['active'] === false) {
                 continue;
             }

in
             if ((bool) $ category ['active'] === false && (int) $ category ['id_category'] <> 93) {
                 continue;
             }

but nothing changes

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