Skip to main content

address title in email User account

13 years 9 months ago #89261 by eyescream
Hi,

I've Hikashop Business,
and yesterday after being on your forum, i've set email order notification with address_title after HI_CUSTOMER
Code:
<?php echo JText::sprintf('HI_CUSTOMER',@$data->cart->billing_address->address_title." ".@$data->cart->billing_address->address_firstname." ".@$data->cart->billing_address->address_lastname);?>

but the code doesn't work in email User account.
Someone knows if it's possible ?

Please Log in or Create an account to join the conversation.

13 years 9 months ago #89389 by Xavier
Hi,

That's because the cart is not loaded in this email, so you don't have access to the object "$data->cart".
Try to put a var_dump($data); to see what is in this object, then use the wanted variable and remove the var_dump.

Please Log in or Create an account to join the conversation.

Time to create page: 0.047 seconds
Powered by Kunena Forum