Jump to content

User Info in .tpl or javascript


Recommended Posts

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.

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