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

#   PDF invoice

##

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 8 months ago [\#9505](#9505) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#9505 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")* was created by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")*

Hi!

Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?

Best regards

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

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 8 months ago [\#9506](#9506) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#9506 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Hi,

Well, everything is possible, if you know how to code it ![:)](/media/kunena/emoticons/3.png ":)")

In the business edition of HikaShop, you can edit the emails via the menu System-&gt;Emails. There, you will be able to use the joomla PDF library to generate a PDF. It's not so easy and only on joomla 1.5. On 1.6, the library was removed. You can always use another PDF library.
You can then attach it to the email quite easily with a few lines of code:
$attachObj = null;
$attachObj-&gt;name = 'invoice.pdf';
$attachObj-&gt;filename = '/home/user/www/path/to/invoice.pdf';
$attachObj-&gt;url = '[ www.mywebsite.com/path/to/invoice.pdf](http://www.mywebsite.com/path/to/invoice.pdf)';
$mail-&gt;attachments = array($attachObj);

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 8 months ago [\#10805](#10805) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10805 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Which PDF library would you recommend to use?

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 8 months ago [\#10806](#10806) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10806 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

You can use the same one as in joomla 1.5 : [ www.tcpdf.org/](http://www.tcpdf.org/)

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 8 months ago [\#10812](#10812) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10812 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Where or how can I get the HTML stream to write it with the PDF library to a PDF-file?

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 8 months ago [\#10813](#10813) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10813 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

In the email itself...The email has the summary of the order in it. So you can directly use it in the email to generate the PDF and attach it to the email.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 8 months ago [\#10825](#10825) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10825 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

**nicolas wrote:**

> In the email itself...The email has the summary of the order in it. So you can directly use it in the email to generate the PDF and attach it to the email.

You mean in the HTML version textfield?

But how can I get the full HTML stream, to add it to the PDF, like
Code:

$pdf-&gt;writeHTMLCell($w=0, $h=0, $x='', $y='', [b]$html[/b]...

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 8 months ago [\#10843](#10843) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#10843 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Yes, the HTML version.

You can add a ob_start(); at the beginning of the email.
Then, at the end of it:
$html = ob_get_contents();
$pdf-&gt;writeHTMLCell($w=0, $h=0, $x='', $y='', $html...

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 7 months ago -  15 years 7 months ago [\#11560](#11560) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#11560 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

I need to have 2 different HTML strings to have a good HTML-layout in the mail itself and also in the PDF.

I tried it with Code:

$html = &lt;&lt;&lt;EOD &lt;div style="background-color:...

but I do have problems when I come to PHP-Code

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

How can I solve this problem?

Thanks!

Last edit: 15 years 7 months ago by [emergentec](/forum/user/949-emergentec "View emergentec's Profile").

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 7 months ago [\#11571](#11571) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#11571 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Just copy/paste the default email to have it displayed twice. Then, for one of the two, you can use the code I posted above and do your customizations for the PDF.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 7 months ago [\#12087](#12087) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#12087 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

**nicolas wrote:**

> Just copy/paste the default email to have it displayed twice. Then, for one of the two, you can use the code I posted above and do your customizations for the PDF.

Then the HTML invoice is displayed twice in the mail, which isn't really a solution.

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

15 years 7 months ago [\#12093](#12093) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#12093 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

No.

If have such script nothing is displayed :
&lt;?php ob_start(); ?&gt;
&lt;p&gt;some text that won't be displayed&lt;?php echo ' and some more text'; ?&gt;&lt;/p&gt;
&lt;?php $html = ob_get_clean(); ?&gt;

and you have all your HTML in the $html variable. You can use it to do whatever you want, independently from the display.

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

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

Less More

- Posts: 137
- Thank you received: 2
-
-

15 years 7 months ago [\#12217](#12217) by [emergentec](/forum/user/949-emergentec "View emergentec's Profile")  Replied by *[emergentec](/forum/user/949-emergentec "View emergentec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#12217 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

I used "ob_get_contents();" from a post above, then it's displayed twice. Thanks! ![:)](/media/kunena/emoticons/3.png ":)")

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

12 years 11 months ago [\#134362](#134362) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#134362 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Please note that there is now a PDF invoice plugin available for HikaShop:
[ www.hikashop.com/component/hikashop/product/cid-18.html](http://www.hikashop.com/component/hikashop/product/cid-18.html)

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

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

Less More

- Posts: 447
- Thank you received: 20
-
-

12 years 10 months ago [\#139050](#139050) by [davec](/forum/user/7092-davec "View davec's Profile")  Replied by *[davec](/forum/user/7092-davec "View davec's Profile")* on topic *[Re: PDF invoice](/forum/4-how-to/9505-pdf-invoice#139050 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Out of interest does this plugin just attach a PDF version of what is already in Hikashop as an invoice, is there an example of what the PDF looks like?

Thanks

Dave ![B)](/media/kunena/emoticons/9.png "B)")

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

12 years 10 months ago [\#139070](#139070) 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 *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#139070 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Hi Dave,
Note that you can directly test it through the back-end of the Hikashop demo website, and :
- Go to the page "*Hikashop-&gt;Orders*" and edit one of the existing orders
- Use the **Invoice** button then a pdf file will be downloaded
Note that the display of the PDF invoice is customizable through the file: "*plugins/hikashop/attachinvoice/attachinvoice/**invoice.php***".

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

12 years 4 months ago [\#162263](#162263) by [TorstenL](/forum/user/25026-torstenl "View TorstenL's Profile")  Replied by *[TorstenL](/forum/user/25026-torstenl "View TorstenL's Profile")* on topic *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#162263 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Hi all,

does the PDF-plugin also work with the multivendor option ? Means, will the address and the logo of the vendor appear in the PDF ?

Best regards
Torsten

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

12 years 4 months ago -  12 years 4 months ago [\#162269](#162269) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#162269 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

It's a PHP script, so pretty much anything is possible even if not set yet, provided it's in the database and on file, and a bit of code. You might need or want to re-style, anyway.
As I said elsewhere before, the PDF Invoice Plugin is one of the better investments I've made in the course of my current project. And Jerome (for HikaMarket particularly) and the other boys here are ultimately helpful. (Hint: When it's the time, best post in the relevant forums, not here in the archives. ![;)](/media/kunena/emoticons/24.png ";)") )

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

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

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

Less More

- Posts: 86552
- Thank you received: 14304
-
-

12 years 4 months ago [\#162302](#162302) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#162302 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Hi,

By default, it's not the logo/address of the vendor which is displayed in the PDF invoice of that plugin. But as lousyfool points out, it can be changed in the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php
Now I'm not the specialist on HikaMarket, so if you need more details on what to put in order to get the data from HikaMarket, I would recommend to that you open a new thread in the HikaMarket section of the forum where Jerome will be able to answer you about that.

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

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

Less More

- Posts: 37
- Thank you received: 1
-
-

12 years 4 months ago [\#162811](#162811) by [TorstenL](/forum/user/25026-torstenl "View TorstenL's Profile")  Replied by *[TorstenL](/forum/user/25026-torstenl "View TorstenL's Profile")* on topic *[PDF invoice](/forum/4-how-to/9505-pdf-invoice#162811 "Hi!  Is it possible to attach the invoice as a PDF instead of HTML to the confirmation mail send to a customer after an order is created?  Best regards")*

Many thanks, guys, for the update. I will post it in the forum.

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

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