dvd74 Posted October 28, 2016 Share Posted October 28, 2016 Hello,in views: product-list.tpl and product.tplI need to know the user's group connected. I have tried with {$customer->id_default_group} but is empty...How can I do? Thanks a lot, D Link to comment Share on other sites More sharing options...
ventura Posted October 28, 2016 Share Posted October 28, 2016 Try it with {Group::getCurrent()->id} Link to comment Share on other sites More sharing options...
dvd74 Posted October 28, 2016 Author Share Posted October 28, 2016 Thank you, it works! 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