Idiotic Posted March 21, 2017 Share Posted March 21, 2017 Hello, in 1.6.1.6 I am trying to check if user is in group with id 6 using this: controller: 'hisGroup' => ($this->context->customer->logged AND (Customer::getDefaultGroupId((int)$this->context->customer->id) == 6) ? true : false) tpl: {if $hisGroup}...{/if} although its not working. Do you have any idea why is that? Thanks for reply. Link to comment Share on other sites More sharing options...
endriu107 Posted March 21, 2017 Share Posted March 21, 2017 Why you check group id in controller not in smarty? 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