phantom13 Posted March 18, 2015 Share Posted March 18, 2015 Hi, is there any method to get name, mobile phone and email for logged in users inside a tpl file or inside javascript code? Thanks Link to comment Share on other sites More sharing options...
Rolige Posted March 18, 2015 Share Posted March 18, 2015 You can get some data without any change, eg: {if $is_logged} {$cookie->id_customer} {$cookie->customer_firstname} {$cookie->customer_lastname} {$cookie->email} {/if} But, if you need to get the phone, firstly customer must have added at least an address, and second, is possible you need create the smarty variable from php. 1 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