Jump to content

Different menu for different group of user


digitfor75

Recommended Posts

31 minutes ago, ndiaga said:

So easy   also  in  PrestaShop   for  people  like  me  .:)

wau there, shoud we all suck u dry now? 

mate, which menu do u mean? 

i use this :

{if (int)Group::getCurrent()->id == 4} My custom group.. {/if} 
{if (int)Group::getCurrent()->id == 3} Customer {/if} 
{if (int)Group::getCurrent()->id == 2} Guest {/if} 
{if (int)Group::getCurrent()->id == 1} Visitor {/if} 

 

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