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

Share this post

Link to post
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


Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More