Jump to content

Problems with vertical menu


ruisonika

Recommended Posts

Hello to all...

I'm new with prestashop and i'm frontend developer so i am struggling with some issues in presta.

So my question is this:
I am trying to generate a button (or something like that, a link...whatever) when in the children parent are categories not displayed (active == 0 in database).

Explanation: 
There are 2 database, ps_category and ps_ptsverticalmenu.
In ps_category database all the categories are active (1) but in ps_ptsverticalmenu some categories aren't (by choise) and i wish to do the show a button whenever there is more categories of parents that aren't active in ps_verticalmenu but they are active in the other database (ps_category).

There is an image for better understanding...
and the code file...

i appreciate all the help that i can get it...

Thanks!

 

post-1358641-0-19626000-1498141615_thumb.jpg

BtVerticalMegamenu.php

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