Mohammad Oveissi Posted March 13, 2016 Share Posted March 13, 2016 Hi guys, This code works for version 1.4 This information is available in the visitor's cookie, you can easily display it in my-account.tpl: {l s='Your e-mail address is:'} {$cookie->email|escape:'htmlall':'UTF-8'} For more details, you can double-check where it is being assigned, in /controllers/AuthController.php at line 178, upon authentication :self::$cookie->id_customer = (int)($customer->id); self::$cookie->customer_lastname = $customer->lastname; self::$cookie->customer_firstname = $customer->firstname; self::$cookie->passwd = $customer->passwd; self::$cookie->logged = 1; self::$cookie->email = $customer->email; Now my question is what to do for version 1.6 that the instance name or last name added to the user information page or the my-account.tpl I see this method to add fields such as national code, I want to see how to make these too added link Thank you Link to comment Share on other sites More sharing options...
Mohammad Oveissi Posted March 13, 2016 Author Share Posted March 13, 2016 please help me Link to comment Share on other sites More sharing options...
cynthia1301 Posted June 30, 2016 Share Posted June 30, 2016 Hello, You can try with something like that : {$cookie->customer_firstname} {$cookie->customer_lastname} {$cookie->email}{$smarty.post.email} I am trying to get phone numbers and date of birth. If anyone can help... Thanks a lot ! 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