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

#   How to attach a file to emails

##

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 1 month ago [\#249970](#249970) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#249970 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")* was created by *[arnask](/forum/user/6752-arnask "View arnask's Profile")*

How can i attach a file (pdf) to any order confirmation email.
I need to attach some special reports each time i change order status, how can i do that?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjQyOC1ob3ctdG8tYXR0YWNoLWEtZmlsZS10by1lbWFpbHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

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

10 years 1 month ago [\#249977](#249977) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#249977 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

You can edit the order status notification email via the menu System&gt;Emails and add your attachment there. It will be added to all the order status notification emails sent.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 1 month ago [\#250096](#250096) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#250096 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

The problem is that i need to attach a different pdf each time.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjQyOC1ob3ctdG8tYXR0YWNoLWEtZmlsZS10by1lbWFpbHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

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

10 years 1 month ago [\#250102](#250102) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#250102 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

There is no interface to attach a file directly when you change the status of an order.
An alternative could be to create a custom field of the table "order" and of the type ajax file so that you could upload the file on the order details page, and it would then be added to the email automatically as a link. And the customer could also get the link on the frontend, when looking at the order details.
If you really want the file to be attached, then it would require some code customization.

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

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

Less More

- Posts: 18
- Thank you received: 0
-
-

10 years 2 weeks ago [\#251686](#251686) by [schipperskwartier](/forum/user/36743-schipperskwartier "View schipperskwartier's Profile")  Replied by *[schipperskwartier](/forum/user/36743-schipperskwartier "View schipperskwartier's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251686 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

There is a workaround.
In the preload (for instance order_admin_notification.preload.php) you can generate a pdf with TCPDF or FPDF or any pdf-generator you like. Then you output the pdf-file to a folder.
In the preload you can determine where the pdf-file is stored and this way you can even enhance the $vars array() with the path and filename of that pdf.

In the html file you can simply make a link to that pdf file. You receipient gets the e-mail, clicks on the link and voila: he/she has the pdf on his/her screen. From there on the pdf can be printed or locally saved.

Hope this helps.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 2 weeks ago [\#251733](#251733) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251733 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

wow, that is really complicated way to do that ![:)](/media/kunena/emoticons/8.png ":)")
i think that this future should be integrated in next Hikashop releases as default. Is there any way to ask them to do that?

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

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

Less More

- Posts: 18
- Thank you received: 0
-
-

10 years 2 weeks ago [\#251756](#251756) by [schipperskwartier](/forum/user/36743-schipperskwartier "View schipperskwartier's Profile")  Replied by *[schipperskwartier](/forum/user/36743-schipperskwartier "View schipperskwartier's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251756 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

@arnask This has allready been asked several times. I expect this will be implemented somewhere in the future.

On the other hand I think that a solution as I described has several advantages. In my shop I have made a link to all the client's documents and I do not mail attachments anymore. When a usert is logged in, he can view, print and download any document via the user menu.

This way I try to do my small bit in reducing network traffic. The downside may be that all documents are stored on the server, but those few MB's are a small contribution to the problem and it saves me a lot of time and telephone calls. Any logged-in user can see his own administration.

Once you have set up a good pdf generating stucture it will be a piece of cake.

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

10 years 2 weeks ago [\#251745](#251745) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251745 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

HikaShop have plugins like "PDF Invoice" or add-ons like "HikaSerial" which can include dynamically files to emails.
It means that HikaShop already have triggers and entry points for plugins to do so.
But, as part of "dynamic" it means that you need something with the algorithm ; something specific, something custom.

Regards,

---

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

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 2 weeks ago [\#251837](#251837) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251837 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

i have a "PDF invoice" plugin, but the problem is that i need to attache a different pdf each time i change order status. These pdf's is very confidential, so i can not allow them to be stored on server.

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

10 years 2 weeks ago [\#251842](#251842) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251842 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

So my previous message is without no doubt, your answer.
You need a custom plugin to attach files dynamically generated ; exactly like HikaSerial is doing with the same plugin entry point used by the "PDF invoice" one.

[ www.hikashop.com/support/documentation/6...tml#onBeforeMailSend](https://www.hikashop.com/support/documentation/62-hikashop-developer-documentation.html#onBeforeMailSend)
By accessing to the Joomla PHPMailer object before an email is send ; you can attach a file to it.

[ docs.joomla.org/Sending\_email\_from\_extensions](https://docs.joomla.org/Sending_email_from_extensions)
[ github.com/joomla/joomla-cms/blob/stagin....phpmailer.php#L2908](https://github.com/joomla/joomla-cms/blob/staging/libraries/vendor/phpmailer/phpmailer/class.phpmailer.php#L2908)

Regards,

---

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

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 2 weeks ago [\#251986](#251986) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#251986 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

The files i need to attache is not generated. Its from totally different platform.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjQyOC1ob3ctdG8tYXR0YWNoLWEtZmlsZS10by1lbWFpbHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

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

10 years 2 weeks ago [\#252012](#252012) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#252012 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

Sure but that doesn't change our answer. You still need to have a small custom plugin to add these files to the emails.

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 2 weeks ago [\#252106](#252106) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#252106 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

is it possible, that sometime it will be implemented in Hikashop?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjQyOC1ob3ctdG8tYXR0YWNoLWEtZmlsZS10by1lbWFpbHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

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

10 years 2 weeks ago [\#252115](#252115) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#252115 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

As the files come from a totally different plateform, it probably would require a custom plugin to be developed specifically for that plateform

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

10 years 2 weeks ago [\#252207](#252207) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#252207 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

These files (pdf's) just exists, no need to create them. I'm receiving it by email. Is there anybody who can do it. I can pay for that.

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

10 years 2 weeks ago [\#252234](#252234) 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 *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#252234 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hello,

If you need the help of a professional developer you can check our partners section : [ www.hikashop.com/home/our-partners.html](http://www.hikashop.com/home/our-partners.html)
Or our commercial jobs section : [ www.hikashop.com/forum/9-commercial-jobs.html](http://www.hikashop.com/forum/9-commercial-jobs.html)

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

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

Less More

- Posts: 198
- Thank you received: 4
-
-

8 years 7 months ago -  8 years 7 months ago [\#289276](#289276) by [arnask](/forum/user/6752-arnask "View arnask's Profile")  Replied by *[arnask](/forum/user/6752-arnask "View arnask's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#289276 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

hi nicolas,

i did custom order ajax file field. The descriptions shows: "No files - Drag &amp; Drop here or use the upload button". But it can only accept one file. I need to add more files. And description says that "Files", not "File". How can i upload more then one file?

I also dont want the user to see this field when ordering, only in order details page and set custom items display options as this:
[ ![files&#95;dispay&#95;details.png](/forum/attachment/42894) ](/forum/attachment/42894 "...ay&#95;details.png")

It does not displaying when ordering, but also is not displaying in details page for user. How to do a setup, that user could only see this field in order details page?

- [ ![files&#95;dispay&#95;details.png](/forum/attachment/42894) ](/forum/attachment/42894 "...ay&#95;details.png") [ ](/forum/attachment/42894?download=1 "...ay&#95;details.png")

Last edit: 8 years 7 months ago by [arnask](/forum/user/6752-arnask "View arnask's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg4NjQyOC1ob3ctdG8tYXR0YWNoLWEtZmlsZS10by1lbWFpbHM/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")
- [ Away](/forum/user/63-nicolas)

Less More

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

8 years 7 months ago [\#289284](#289284) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[How to attach a file to emails](/forum/35-orders-management/886428-how-to-attach-a-file-to-emails#289284 "How can i attach a file (pdf) to any order confirmation email. I need to attach some special reports each time i change order status, how can i do that?")*

Hi,

You can only upload one file for one custom field.
Changing that would be really complex.
It would be simpler to create several custom fields.
The "fornt-end order details page" display option allow you to display a download link for the file that was previously uploaded through this field on the order details page.
If you didn't use the field on the checkout or in the order details page in the backend to upload a file, then the custom field is empty and thus the download link won't be displayed.
There is no option to have the upload interface to appear on the order details page of the frontend.
That page is supposed to display the information of the order to the customer. He is not supposed to be able to change anything.
If you want to change that and have upload fields there, it would require some custom development.

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

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

[](#top)
