Jump to content

How to get current customer default Groups in front office Ver 1.6 ?


NamPham

Recommended Posts

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

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..

  • Like 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...