[Skip to main content](#vessel-content)

#   E-mail address in address template

##

- **[simone.ceschi](/forum/user/14049-simone-ceschi "View simone.ceschi's Profile")**
- [![simone.ceschi's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/14049-simone-ceschi "View simone.ceschi's Profile") Topic Author
- [ Offline](/forum/user/14049-simone-ceschi)

Less More

- Posts: 35
- Thank you received: 1
-
-

8 years 8 months ago [\#288279](#288279) by [simone.ceschi](/forum/user/14049-simone-ceschi "View simone.ceschi's Profile")  *[E-mail address in address template](/forum/27-checkout/893864-e-mail-address-in-address-template#288279 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.1.1  Hi , how can insert email adress of customer in address&#95;template.php ?  i tried to insert :  but in administration when i send order, the system use my administration email.  it's there a way to insert the real email of customer ?")* was created by *[simone.ceschi](/forum/user/14049-simone-ceschi "View simone.ceschi's Profile")*

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.5
-- PHP version -- : 7.1.1

Hi , how can insert email adress of customer in address_template.php ?
Code:

&lt;?php /** * @package HikaShop for Joomla! * @version 3.2.0 * @author hikashop.com * @copyright (C) 2010-2017 HIKARI SOFTWARE. All rights reserved. * @license GNU/GPLv3 http://www.gnu.org/licenses/gpl-3.0.html */ defined('_JEXEC') or die('Restricted access'); ?&gt;{address_company} {address_title} {address_firstname} {address_lastname} {address_street} {address_post_code} {address_city} {address_state} {address_country} &lt;?php echo JText::sprintf('TELEPHONE_IN_ADDRESS','{address_telephone}');?&gt; &lt;?php $user = JFactory::getUser(); echo echo $user-&gt;email; ?&gt;

i tried to insert :
Code:

&lt;?php $user = JFactory::getUser(); echo echo $user-&gt;email; ?&gt;

but in administration when i send order, the system use my administration email.

it's there a way to insert the real email of customer ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzg2NC1lLW1haWwtYWRkcmVzcy1pbi1hZGRyZXNzLXRlbXBsYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

8 years 8 months ago [\#288288](#288288) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[E-mail address in address template](/forum/27-checkout/893864-e-mail-address-in-address-template#288288 "-- HikaShop version -- : 3.2.0 -- Joomla version -- : 3.8.5 -- PHP version -- : 7.1.1  Hi , how can insert email adress of customer in address&#95;template.php ?  i tried to insert :  but in administration when i send order, the system use my administration email.  it's there a way to insert the real email of customer ?")*

Hello,

You'll just have to add the following code base on the "Column name" of your custom field, so if the column name is "email" :
Code:

{email}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg5Mzg2NC1lLW1haWwtYWRkcmVzcy1pbi1hZGRyZXNzLXRlbXBsYXRlP3RtcGw9bWFya2Rvd24=) or [Create an account](/register) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.080 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
