Jump to content

change menu


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) {

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

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