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

#   Swiss QR Bill and pdf attach invoice

##

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

Less More

- Posts: 176
- Thank you received: 8
-
-

4 years 1 month ago -  4 years 1 month ago [\#345315](#345315) by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")  *[Swiss QR Bill and pdf attach invoice](/forum/35-orders-management/905114-swiss-qr-bill-and-pdf-attach-invoice#345315 "Dear Support,  Any change to join as second page the Swiss QR bill to the invoice sent by mail. And to have 2 pages in the invoice sent?  I can imagine that it would be easier than to integrate directly the QR Bill info at the bottom of the invoice, on the same page...  Thanks for your help  Jean-Loup")* was created by *[jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")*

Dear Support,

Any change to join as second page the Swiss QR bill to the invoice sent by mail. And to have 2 pages in the invoice sent?

I can imagine that it would be easier than to integrate directly the QR Bill info at the bottom of the invoice, on the same page...

Thanks for your help

Jean-Loup

[ ![Capturedecran2022-10-03a17.36.25.png](/forum/attachment/55632) ](/forum/attachment/55632 "...3a17.36.25.png")

[ ![Capturedecran2022-10-03a17.36.35.png](/forum/attachment/55633) ](/forum/attachment/55633 "...3a17.36.35.png")

- [ ![Capturedecran2022-10-03a17.36.25.png](/forum/attachment/55632) ](/forum/attachment/55632 "...3a17.36.25.png") [ ](/forum/attachment/55632?download=1 "...3a17.36.25.png")
- [ ![Capturedecran2022-10-03a17.36.35.png](/forum/attachment/55633) ](/forum/attachment/55633 "...3a17.36.35.png") [ ](/forum/attachment/55633?download=1 "...3a17.36.35.png")

Last edit: 4 years 1 month ago by [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile").

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

Less More

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

4 years 1 month ago [\#345323](#345323) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Swiss QR Bill and pdf attach invoice](/forum/35-orders-management/905114-swiss-qr-bill-and-pdf-attach-invoice#345323 "Dear Support,  Any change to join as second page the Swiss QR bill to the invoice sent by mail. And to have 2 pages in the invoice sent?  I can imagine that it would be easier than to integrate directly the QR Bill info at the bottom of the invoice, on the same page...  Thanks for your help  Jean-Loup")*

Hi,

Either way is not that simple.

I think the best would be to develop a third plugin which would implement the onBeforeMailPrepare event so that it could check the attachments with $mailer-&gt;getAttachments(), merge the PDF attachments with [ github.com/clegginabox/pdf-merger](https://github.com/clegginabox/pdf-merger) , remove them with $mailer-&gt;removeAttachment($index) and add the merged PDF with $mailer-&gt;addAttachment($path, $name)
So not impossible but there are several hours of development.

The following user(s) said Thank You: [jean-loup](/forum/user/40284-jean-loup "View jean-loup's Profile")

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

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