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

#   Include Buyer E-Address in Order confirmation Emai

##

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 2 weeks ago -  13 years 2 weeks ago [\#128043](#128043) by [BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")  *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128043 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")* was created by *[BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")*

How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?

Last edit: 13 years 2 weeks ago by [Jerome](/forum/user/80-jerome "View Jerome's Profile").

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

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 2 weeks ago [\#128109](#128109) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128109 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")*

Hi,

You can edit the emails via the menu System &gt; Emails, and then the email address should be stored in the object "$customer", it require some php knowledges.

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 2 weeks ago [\#128275](#128275) by [BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")  Replied by *[BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")* on topic *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128275 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")*

Two questions: When you say it requires a little php knowledge, what do you mean...as in "how little"? Second question: Is this something that once done will need to be repeated with each update?

Last question: Is there a reason that I wouldn't want to do this? Something, logical, like it's a weakness because...

If you could, would you give me an example of what code I need to use.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 2 weeks ago [\#128281](#128281) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128281 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")*

Hi,

Depending to your HikaShop version, the email system is different (we improved it in HikaShop 2.2.2).
Which HikaShop version do you have ?

When you override an email, the override is kept during updates, like for every "overrides" in HikaShop (for views, css, mail).

Regards,

---

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

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

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

Less More

- Posts: 15
- Thank you received: 0
-
-

13 years 2 weeks ago [\#128411](#128411) by [BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")  Replied by *[BWhikashop](/forum/user/20034-bwhikashop "View BWhikashop's Profile")* on topic *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128411 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")*

I'm running 2.1.3, but I'll update to 2.2.2 while waiting for your answer. I'm using Hikashop Business if that makes a difference. Thanks for your help.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26394
- Thank you received: 4078
-
- [](http://obsi.dev)
-

13 years 2 weeks ago [\#128456](#128456) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include Buyer E-Address in Order confirmation Emai](/forum/25-install-update/862836-include-buyer-e-address-in-order-confirmation-emai#128456 "How do I add the buyer's email address to the order created and/or payment complete emails sent by HikaShop?")*

Hi,

So, in HikaShop 2.1.3, you can put this code in your mail content Code:

&lt;?php echo $data-&gt;customer-&gt;user_email; ?&gt;

And you can use the same code in HikaShop 2.2.2 (even if the templating system is different you still can put some PHP code in the mail content).

Regards,

---

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

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI1LWluc3RhbGwtdXBkYXRlLzg2MjgzNi1pbmNsdWRlLWJ1eWVyLWUtYWRkcmVzcy1pbi1vcmRlci1jb25maXJtYXRpb24tZW1haT90bXBsPW1hcmtkb3du) 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.056 seconds

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

[](#top)
