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

#   Automatic attaching invoices

##

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 3 months ago [\#56880](#56880) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  *[Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#56880 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")* was created by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")*

Hello,

there was this note in the last Chanhe Log New features for HikaShop 1.5.8:

**A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)**

Is this already working? If yes, is there any documentation how to set the invoices up?
If not yet, when is it going to work?

Thanks
Vaclav

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

14 years 3 months ago [\#56885](#56885) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#56885 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hi,

It's available here:
[ www.hikashop.com/en/component/hikashop/product/cid-18.html](http://www.hikashop.com/en/component/hikashop/product/cid-18.html)

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

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 3 months ago [\#57250](#57250) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#57250 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Thanks Nicolas...already bought ![:-)](/media/kunena/emoticons/3.png ":-)")

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

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 3 months ago [\#57274](#57274) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#57274 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hi Nicolas,

I installed the invoice, allowed the plugin but nothing attached to any email. Are there any other settings I need to set?

Thanks
Vaclav

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

14 years 3 months ago [\#57339](#57339) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#57339 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

No it's automatic.

Note that the invoice will be attached to the order status notification email which is sent when the order is confirmed. It won't add it in the order creation notification email. So you should check that the order is confirmed and that you're looking at the correct email.

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

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 3 months ago [\#57389](#57389) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#57389 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Thanks. It is already working.

But there is a problem with the font - it does not show some Czech letters in the invoice. Is there any option how to set local fonts for invoices?

Thanks

Vaclav

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

14 years 3 months ago [\#57428](#57428) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#57428 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

It will need additional fonts.
Could you download tcpdf here:
[ sourceforge.net/projects/tcpdf/files/](http://sourceforge.net/projects/tcpdf/files/)

Then in the tcpdf/fonts folder, copy the files to the folder plugins/hikashop/attachinvoice/attachinvoice/_tcpdf_5.0.002/fonts
That should hopefully help.

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

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 3 months ago [\#58235](#58235) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#58235 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hi Nicolas,

thanks for your reply but it didnt help. It is still the same... Any other idea?

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

14 years 3 months ago [\#58309](#58309) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#58309 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

We worked on the plugin so that it can support the font selection and added additional fonts.
I did a test today with the czech language and it's working with the "freemono" font.
I invite you to download again the plugin on our website, install it on yours and configure the font in the options of the plugin and it should hopefully work for you too.

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

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

Less More

- Posts: 95
- Thank you received: 1
-
-
-

14 years 2 months ago [\#61700](#61700) by [vaclav](/forum/user/6663-vaclav "View vaclav's Profile")  Replied by *[vaclav](/forum/user/6663-vaclav "View vaclav's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#61700 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

I downloaded new plugin, uninstalled the old one, installed the new one and tried to change the font - I cant find any option, where I could set the font.

The invoice is still with "?" instead of Czech letters.

Could you please help?

Thanks

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

13 years 3 months ago [\#112092](#112092) by [changeproject](/forum/user/17153-changeproject "View changeproject's Profile")  Replied by *[changeproject](/forum/user/17153-changeproject "View changeproject's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#112092 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hello,

I bought and installed attachinvoice pluging yesterday, but can't get it to work. I searched the forum but found nothing helpfull.
I checked invoice generatiion from the backend and get an error message there,

"ERROR n°1 : The tag &lt;BR&gt; does not yet exist.If you want to add it, you must create the methods o_BR (for opening) and c_BR (for closure) by following the model of existing tags.If you create these methods, do not hesitate to send me an email to webmaster@html2pdf.fr to included them in the next version of HTML2PDF."

so maybe this is the core problem but I did not find anything on that either.

Any idea?

Thanks

Michael

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

13 years 3 months ago [\#112149](#112149) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#112149 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hi,

It seems that you have another extension already loaded on your website which uses the same HTML2PDF library but which has an older version which doesn't handle br tags. In order for the page processing not to break, the system tries to use it but fails as that old version does not support the br tags that are used in the invoice template.

You will have to find that other extension and disable it and it should work fine after that.
If you can tell us which extension it is, once you find it, we can pontetially see how we can avoid that issue with it.

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

13 years 3 months ago [\#112680](#112680) by [changeproject](/forum/user/17153-changeproject "View changeproject's Profile")  Replied by *[changeproject](/forum/user/17153-changeproject "View changeproject's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#112680 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Hi,

thanks for your answer. I have now uninstalled most of the extensions and removed the code on a test system but the error still comes up. Then I uninstalled the attachinvoice plugin I can create invoices from the backend order list. Does the plugin overwrite the stanard invoice creation? I have searched the code for 'html2pdf' and 'tcpdf' but these strings only apear in the attachinvoice plugin code. What else can I search?

Thanks

Michael

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

13 years 3 months ago [\#113047](#113047) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113047 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Yes, the plugin override the standard invoice creation. It's its role.

Let's try a different approach then.

Change the lines:
if(!class_exists('HTML2PDF')) include(dirname(__FILE__).DS.'attachinvoice'.DS.'html2pdf.class.php');

to:
include_once(dirname(__FILE__).DS.'attachinvoice'.DS.'html2pdf.class.php');

in the file plugins/hikashop/attachinvoice/attachinvoice.php and that will display an error message if the system tries to redeclare the HTML2PDF class and it will tell us what file already has it declared.

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

13 years 3 months ago [\#113060](#113060) by [changeproject](/forum/user/17153-changeproject "View changeproject's Profile")  Replied by *[changeproject](/forum/user/17153-changeproject "View changeproject's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113060 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Thanks, did this change but still the same message no other error! Cleared server cache, browser cache restarted the server, still the same. Moved this file away to make sure this is the one that is executed and yes then the error is gone.

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

13 years 3 months ago [\#113113](#113113) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113113 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Mmm, ok.

Did you modify the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php in any way ?

Could you add the code: Code:

protected function _tag_close_BR($param, $curr = null) { return true; }

just before the line:
protected function _tag_open_BR($param, $curr = null)
of the file plugins/hikashop/attachinvoice/attachinvoice/html2pdf.class.php and try again ?

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

13 years 3 months ago [\#113134](#113134) by [changeproject](/forum/user/17153-changeproject "View changeproject's Profile")  Replied by *[changeproject](/forum/user/17153-changeproject "View changeproject's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113134 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Strange, I cannot find this line in this file. the only occurence of _tag_open_BR is plugins\hikashop\attachinvoice\attachinvoice\html2pdf.class.php.
I reinstalled the testsystem and the attachinvoice plugin to make sure there are no changes to these files.
So maybe something is wrong with the zipfile that I downloaded.

Thanks

Michael

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

Less More

- Posts: 86321
- Thank you received: 14279
-
-

13 years 3 months ago [\#113150](#113150) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113150 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

I'm not following you.
We're talking about the same file. So I don't see the problem ?

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

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

Less More

- Posts: 5
- Thank you received: 1
-
-

13 years 3 months ago [\#113159](#113159) by [changeproject](/forum/user/17153-changeproject "View changeproject's Profile")  Replied by *[changeproject](/forum/user/17153-changeproject "View changeproject's Profile")* on topic *[Re: Automatic attaching invoices](/forum/2-general-talk-about-hikashop/56880-automatic-attaching-invoices#113159 "Hello,  there was this note in the last Chanhe Log New features for HikaShop 1.5.8:  A separate PDF invoicing plugin as been released allowing you to automatically attach the invoices to the orer confirmation email (coming in a few days)  Is this already working? If yes, is there any documentation how to set the invoices up? If not yet, when is it going to work?  Thanks Vaclav")*

Sorry I got confused with the filenames.

Now I added the code to the correct file and it works.

Thanks a lot!

Michael

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

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

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

[](#top)
