digitfor75 Posted March 29, 2020 Share Posted March 29, 2020 Hi, so easy, but it drive me crazy. How can I change the menu based on group that the user belong? So easy in wordpress, so easy in joomla, so terrible in prestashop...... Link to comment Share on other sites More sharing options...
fbenoist.com Posted March 30, 2020 Share Posted March 30, 2020 The modules can be activated and deactivated depending on the group. The solution is therefore to copy the menu module into as many modules as there are groups. Link to comment Share on other sites More sharing options...
MichaelEZ Posted March 30, 2020 Share Posted March 30, 2020 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now