Jump to content

Help with new Customer((int)$cart->id_customer);


Recommended Posts

Hello

 

I need to get all customer's information, so I am using something like this: $customer=new Customer((int)$cart->id_customer);

 

then, when I need a specific information like lastname, I use this :

 

$lastname = $customer->lastname;

 

Then, in the something.tpl, when I use: 

 

{$lastname}  it does not exist, it is empty.

 

Someone could help me, please?

 

 

 

Link to comment
Share on other sites

×
×
  • Create New...