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

#   Include email address on printed invoices \[SOLVED\]

##

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

Less More

- Posts: 68
- Thank you received: 0
-
-

12 years 4 months ago -  12 years 4 months ago [\#161240](#161240) by [ROUBOS](/forum/user/32298-roubos "View ROUBOS's Profile")  *[Include email address on printed invoices \[SOLVED\]](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#161240 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")* was created by *[ROUBOS](/forum/user/32298-roubos "View ROUBOS's Profile")*

-- url of the page with the problem -- : [ mywebsite.com/mypage](http://mywebsite.com/mypage)
-- HikaShop version -- : 1.5.8
-- Joomla version -- : 2.5.4
-- PHP version -- : x.x.x
-- Browser(s) name and version -- : XXXXX x.x.x
-- Error-message(debug-mod must be tuned on) -- : Error_message

Hi,
is it possible to include the customer's email address in the printed invoice?
Currently it has the billing address on this printed invoice, but their email is not shown anywhere.

thanks

Last edit: 12 years 4 months ago by [ROUBOS](/forum/user/32298-roubos "View ROUBOS's Profile").

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

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

12 years 4 months ago [\#161258](#161258) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#161258 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Hi,

Yes. You can add such code:
&lt;?php echo $this-&gt;element-&gt;customer-&gt;user_email; ?&gt;
in the "invoice" file of the view "order" of the backend via the menu Display&gt;views for the invoice which can be printed from the order details page of the backend.

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

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

Less More

- Posts: 68
- Thank you received: 0
-
-

12 years 4 months ago [\#161306](#161306) by [ROUBOS](/forum/user/32298-roubos "View ROUBOS's Profile")  Replied by *[ROUBOS](/forum/user/32298-roubos "View ROUBOS's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#161306 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

thanks that did it ![:)](/media/kunena/emoticons/8.png ":)")

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

- **[MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")**
- [![MDIA&#95;MikeW's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")
- [ Offline](/forum/user/34389-mdia-mikew)

Less More

- Posts: 5
- Thank you received: 0
-
-

12 years 3 weeks ago [\#174186](#174186) by [MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")  Replied by *[MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#174186 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Hi there,
I tried this addition to include the customer's email in my invoice but it didn't produce anything in the invoice.
There isn't an address_email in the billing custom fields.
Is that my problem and what do I add to get it to work?

Thanks,

> nicolas wrote: Hi,
>
> Yes. You can add such code:
> &lt;?php echo $this-&gt;element-&gt;customer-&gt;user\_email; ?&gt;
> in the "invoice" file of the view "order" of the backend via the menu Display&gt;views for the invoice which can be printed from the order details page of the backend.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg2OTE3Mi1pbmNsdWRlLWVtYWlsLWFkZHJlc3Mtb24tcHJpbnRlZC1pbnZvaWNlcy1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) 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)
-

12 years 3 weeks ago [\#174194](#174194) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#174194 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Hi,

It seems that ROUBOS was using the custom field in the "user" table and not in the address one.
So thanks to enable/create the user_email field and use the given code in the invoice.

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

- **[MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")**
- [![MDIA&#95;MikeW's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")
- [ Offline](/forum/user/34389-mdia-mikew)

Less More

- Posts: 5
- Thank you received: 0
-
-

12 years 3 weeks ago [\#174370](#174370) by [MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")  Replied by *[MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#174370 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Xavier;

This works now.. &lt;?php echo $this-&gt;order-&gt;customer-&gt;user_email; ?&gt;

How do I change the font size for the variables in {}s?

thanks a bunch.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg2OTE3Mi1pbmNsdWRlLWVtYWlsLWFkZHJlc3Mtb24tcHJpbnRlZC1pbnZvaWNlcy1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) 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)
-

12 years 3 weeks ago -  12 years 3 weeks ago [\#174372](#174372) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include email address on printed invoices](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#174372 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Hi,

The font size ?
For this kind of modification, I will recommend you to add some custom HTML and custom CSS.
[ www.hikashop.com/support/support/documen...ize-the-display.html](http://www.hikashop.com/support/support/documentation/153-customize-the-display.html)

Regards,

---

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

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

The following user(s) said Thank You: [MDIA\_MikeW](/forum/user/34389-mdia-mikew "View MDIA&#95;MikeW's Profile")

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

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

Less More

- Posts: 25
- Thank you received: 0
-
-

11 years 2 months ago [\#211123](#211123) by [ingjjaa](/forum/user/38158-ingjjaa "View ingjjaa's Profile")  Replied by *[ingjjaa](/forum/user/38158-ingjjaa "View ingjjaa's Profile")* on topic *[Include email address on printed invoices \[SOLVED\]](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#211123 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Sorry for include re-opne the topic but is there anyway to include email update on addres form udate, the problem is that i create a user and password for a user and when he loggin in the page he auto redirect to the cart with prodct in this, but like i don't know the email that he would like to use i use a generic email but i would like that when the system ask him by the billing addres he would update the email is that possible ????

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

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

Less More

- Posts: 86290
- Thank you received: 14268
-
-

11 years 2 months ago [\#211124](#211124) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Include email address on printed invoices \[SOLVED\]](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#211124 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

HI,

No, the system hasn't been made to work like that. You would have to create a custom address field in order to ask the email address and then develop a custom hikashop plugin implementing the onAfterAddressCreate and onAfterAddressUpdate triggers to update the user email when the address is saved. So if you're a developer that's possible.

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

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

Less More

- Posts: 25
- Thank you received: 0
-
-

11 years 2 months ago [\#211177](#211177) by [ingjjaa](/forum/user/38158-ingjjaa "View ingjjaa's Profile")  Replied by *[ingjjaa](/forum/user/38158-ingjjaa "View ingjjaa's Profile")* on topic *[Include email address on printed invoices \[SOLVED\]](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#211177 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Thank for the aswen

I have see in other topic ([ hikashop.com/forum/orders-management/869...invoices-solved.html](https://hikashop.com/forum/orders-management/869172-include-email-address-on-printed-invoices-solved.html)) that is possible to show the email on a invoice can we edit maybe the view for order custom fields or create a custom field on the order table and in the Checkout workflow show a field that just sho the email, maybe by PHP or something is that possible ???

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtL29yZGVycy1tYW5hZ2VtZW50Lzg2OTE3Mi1pbmNsdWRlLWVtYWlsLWFkZHJlc3Mtb24tcHJpbnRlZC1pbnZvaWNlcy1zb2x2ZWQ/dG1wbD1tYXJrZG93bg==) 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)
-

11 years 2 months ago [\#211184](#211184) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Include email address on printed invoices \[SOLVED\]](/forum/35-orders-management/869172-include-email-address-on-printed-invoices-solved#211184 "-- url of the page with the problem -- :   mywebsite.com/mypage  -- HikaShop version -- : 1.5.8 -- Joomla version -- : 2.5.4 -- PHP version -- : x.x.x -- Browser(s) name and version -- : XXXXX x.x.x -- Error-message(debug-mod must be tuned on) -- : Error&#95;message  Hi, is it possible to include the customer's email address in the printed invoice? Currently it has the billing address on this printed invoice, but their email is not shown anywhere.  thanks")*

Hi,

I'm sorry but I don't understand your message.

Here some points :
1/ The other topic you're talking about is that exact topic ; so we are in a loop.
2/ Yes the order notification email can display the order custom fields but I don't see the link with your original question.
3/ Like Nicolas wrote, you need a custom plugin to perform the action you want, so yes, some PHP development is required.

Regards,

---

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

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

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

[](#top)
