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

#   customer email in body

##

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

Less More

- Posts: 80
- Thank you received: 2
-
-
-
- [](http://www.sanitair-installatie.be)
-

13 years 7 months ago [\#100728](#100728) by [luppe](/forum/user/13263-luppe "View luppe's Profile")  *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100728 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")* was created by *[luppe](/forum/user/13263-luppe "View luppe's Profile")*

Hi

What code do I have to add to the order notification mail to have the customer email in the body of the mail.

thanks

regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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
-
-
-

13 years 7 months ago -  13 years 7 months ago [\#100828](#100828) 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 *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100828 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")*

Hi,

I think that you'll just have to your edit **Order creation notification** email through "*Hikashop-&gt;System-&gt;Email*" and add this code : Code:

echo @$data-&gt;customer-&gt;email;

then it will display your customer email.

Hope this will help you a little.

Last edit: 13 years 7 months ago by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile").

The following user(s) said Thank You: [luppe](/forum/user/13263-luppe "View luppe's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 80
- Thank you received: 2
-
-
-
- [](http://www.sanitair-installatie.be)
-

13 years 7 months ago [\#100848](#100848) by [luppe](/forum/user/13263-luppe "View luppe's Profile")  Replied by *[luppe](/forum/user/13263-luppe "View luppe's Profile")* on topic *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100848 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")*

Hi

I try the code but the email did not show

I try to change the code
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;

to
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;email);?&gt;

And that works

but then I have the Hi customer two times in the mail
I try to change it but no success
Have not got the skills

thanks for your help

regards

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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
-
-
-

13 years 7 months ago [\#100857](#100857) 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 *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100857 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")*

Can you show me how did you add the code that I gave you ? ![:)](/media/kunena/emoticons/3.png ":)").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

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

Less More

- Posts: 80
- Thank you received: 2
-
-
-
- [](http://www.sanitair-installatie.be)
-

13 years 7 months ago [\#100926](#100926) by [luppe](/forum/user/13263-luppe "View luppe's Profile")  Replied by *[luppe](/forum/user/13263-luppe "View luppe's Profile")* on topic *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100926 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")*

hi

I just copy and paste it in the html

&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name);?&gt;
HERE echo @$data-&gt;customer-&gt;email;
&lt;br/&gt;
or hereecho @$data-&gt;customer-&gt;email;
&lt;br/&gt;
&lt;?php
$colspan = 4;
$url = $data-&gt;order_number;
$config =&amp; hikashop_config();
if($config-&gt;get('simplified_registration',0)!=2){
$url = '&lt;a href="'.$data-&gt;order_url.'"&gt;'. $url.'&lt;/a&gt;';

thanks ![;)](/media/kunena/emoticons/24.png ";)")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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
-
-
-

13 years 7 months ago [\#100987](#100987) 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 *[customer email in body](/forum/2-general-talk-about-hikashop/80863-customer-email-in-body#100987 "Hi  What code do I have to add to the order notification mail to have the customer email in the body of the mail.  thanks  regards")*

Ok, the thing to do would be to copy your code inside the **&lt;?php**  *yourcode* **?&gt;** tag, So you'll have to do it like that : Code:

&lt;/td&gt; &lt;/tr&gt; &lt;tr&gt; &lt;td&gt; &lt;?php echo JText::sprintf('HI_CUSTOMER',@$data-&gt;customer-&gt;name); HERE echo @$data-&gt;customer-&gt;email;?&gt; OR HERE &lt;?php echo @$data-&gt;customer-&gt;email;?&gt; &lt;br/&gt; OR HERE &lt;?php echo @$data-&gt;customer-&gt;email;?&gt; &lt;br/&gt; &lt;?php $colspan = 4; $url = $data-&gt;order_number; $config =&amp; hikashop_config(); if($config-&gt;get('simplified_registration',0)!=2){ $url = '&lt;a href="'.$data-&gt;order_url.'"&gt;'. $url.'&lt;/a&gt;';

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzgwODYzLWN1c3RvbWVyLWVtYWlsLWluLWJvZHk/dG1wbD1tYXJrZG93bg==) or [Create an account](/component/users/registration?Itemid=101) 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.059 seconds

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