Ovi Posted May 10, 2010 Share Posted May 10, 2010 Is there a way to hide a part of HTML code from header.tpl from the general population? So that only a certain User GROUP can see it? I want to hide the links to the restricted product categories from the general visitors.Thanks in advance! Link to comment Share on other sites More sharing options...
Burhan BVK Posted May 10, 2010 Share Posted May 10, 2010 You can set which user groups can access a given category. When you are editing a category there is a list of user groups, you can select the ones you want to give access. Link to comment Share on other sites More sharing options...
Ovi Posted May 10, 2010 Author Share Posted May 10, 2010 Yes, but i'm not talking about Categories access.I'm talking about the universal header.tpl file. I want to find out if there's smarty/php query to hide part of the HTML code to other groups except Group number 2 for example. Link to comment Share on other sites More sharing options...
rocky Posted May 10, 2010 Share Posted May 10, 2010 See my post here for how to create a variable you can use in header.tpl to check the group of the logged-in customer. Link to comment Share on other sites More sharing options...
Ovi Posted May 14, 2010 Author Share Posted May 14, 2010 BEAUTIFUL! Thanks a lot man, helpful as always! 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