Display email in billing address!

  • Posts: 2
  • Thank you received: 0
12 years 14 hours ago #78834

Hello Hikashop, thanks for a great product.
I would like to have the user emai displayed in the billing address

I guess its in the: address_template.php

I got:

{address_company}
{address_title} {address_firstname} {address_lastname}
{address_street}
{address_post_code} {address_city} {address_state}
{address_country}
<?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?> 

Can i add a new like something like the last one, but with email? And what do i have to call it?

Last edit: 12 years 11 hours ago by Jerome.

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

  • Posts: 2
  • Thank you received: 0
12 years 11 hours ago #78851

Nevermind i figured this out:

<?php $userCMS =& JFactory::getUser();
echo $userCMS->get('email');?>

adding that to the end of the address_template did it for me. :)

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

  • Posts: 26158
  • Thank you received: 4028
  • MODERATOR
12 years 7 hours ago #78891

Hi,

Exactly !

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

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

Time to create page: 0.056 seconds
Powered by Kunena Forum