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

#   Add additional fields and email to attache invoice

##

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

10 years 3 months ago [\#248358](#248358) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248358 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")* was created by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")*

-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- PHP version -- : 5.5

HI,

I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?

Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for "Additional information" but nothing shows?

many thanks.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjEzNS1hZGQtYWRkaXRpb25hbC1maWVsZHMtYW5kLWVtYWlsLXRvLWF0dGFjaGUtaW52b2ljZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

10 years 3 months ago [\#248360](#248360) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248360 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

1. You can use such code:
&lt;?php echo $order-&gt;customer-&gt;user_email; ?&gt;

2. Try this:
- download the latest version install package on our website and install it on your website.
- then, edit the custom field via the backend interface and save its settings.
Finally, try again to look at the PDF invoice.

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

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

10 years 3 months ago [\#248428](#248428) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248428 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

thanks for getting back to me.

1. That worked thanks.

2. This didn't the "additional info" bit it not shown at all?

Many thanks

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjEzNS1hZGQtYWRkaXRpb25hbC1maWVsZHMtYW5kLWVtYWlsLXRvLWF0dGFjaGUtaW52b2ljZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

10 years 2 months ago [\#248431](#248431) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248431 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

It works fine on our end. Can you provide a backend access and a ftp access so that we can check the issue ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjEzNS1hZGQtYWRkaXRpb25hbC1maWVsZHMtYW5kLWVtYWlsLXRvLWF0dGFjaGUtaW52b2ljZT90bXBsPW1hcmtkb3du) 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?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

10 years 2 months ago [\#248502](#248502) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248502 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

I can see that you have the build version : 1605072221
So it's the build of the 2016/05/07 of the 2.6.3. So there is no way that you did what I told you since the build you can download on our website is from the beginning of August and includes the patch in order to fix that problem.
So again:
- download the latest version install package on our website and install it on your website.
- then, edit the custom field via the backend interface and save its settings.
Finally, try again to look at the PDF invoice and that should work fine.

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

- **[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")**
- [![grayt7's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar30010.jpg)](/forum/user/30010-grayt7 "View grayt7's Profile") Topic Author
- [ Offline](/forum/user/30010-grayt7)

Less More

- Posts: 377
- Thank you received: 7
-
-
- [](http://www.identitywebdesign.com)
-

10 years 2 months ago [\#248537](#248537) by [grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")  Replied by *[grayt7](/forum/user/30010-grayt7 "View grayt7's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248537 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

Sorry I thought you meant download the latest version of the attach invoice plugin. ![:(](/media/kunena/emoticons/22.png ":(")

There is a lot of customisation on that site. Is it possible you could show me the fix for that part please? Sorry to be a pain.

Thanks for the support!

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjEzNS1hZGQtYWRkaXRpb25hbC1maWVsZHMtYW5kLWVtYWlsLXRvLWF0dGFjaGUtaW52b2ljZT90bXBsPW1hcmtkb3du) 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")
- [ Away](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26401
- Thank you received: 4081
-
- [](http://obsi.dev)
-

10 years 2 months ago [\#248578](#248578) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Add additional fields and email to attache invoice](/forum/35-orders-management/886135-add-additional-fields-and-email-to-attache-invoice#248578 "-- HikaShop version -- : 2.6.3 -- Joomla version -- : 3.6.2 -- PHP version -- : 5.5  HI,  I have installed the attach invoice plugin and I know that that file to edit is the invoice.php file in the plugin folder however, I'm not sure of the code to add in for the email address of the customer?  Also I have a Customer notes custom filed that is shown at checkout. I have made the content of the custom field display everywhere including invoice, however, the information doesn't show in the PDF there is a section at the bottom for &quot;Additional information&quot; but nothing shows?  many thanks.")*

Hi,

I'm afraid that it will be quite difficult because the patch is made of small modifications in a lot of files.

Modification of the HikaShop core (or the HikaMarket core) is not recommended.
Our components have a lot of triggers and a view override system which should allow you to do almost everything without modifying any component core files.

Regards,

---

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

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

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