NamPham Posted August 10, 2015 Share Posted August 10, 2015 I want to display promotion popup to my special group customer but I dont know how to get group info in tpl file. I tried to search everywhere to solve this, but eveything isn't work at all. My prestashop ver 1.6. Many thanks for all advices & sorry for my bad english Link to comment Share on other sites More sharing options...
Nishith Nesdiya Posted August 10, 2015 Share Posted August 10, 2015 I want to display promotion popup to my special group customer but I dont know how to get group info in tpl file. I tried to search everywhere to solve this, but eveything isn't work at all. My prestashop ver 1.6. Many thanks for all advices & sorry for my bad english Hello... please read this topic https://www.prestashop.com/forums/topic/228277-get-customer-group-id-in-smarty/ its also provide some below code.. if you can use the tpl file then first you declare the variable in smarty.in php file thanks.. 1 Link to comment Share on other sites More sharing options...
NamPham Posted August 11, 2015 Author Share Posted August 11, 2015 Hello... please read this topic https://www.prestashop.com/forums/topic/228277-get-customer-group-id-in-smarty/ its also provide some below code.. if you can use the tpl file then first you declare the variable in smarty.in php file thanks.. Thanks so much, I solved it 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