How to put Logo in PDF invoice
Posted: 27 Feb 2020, 12:18
Dear Phoca Cart Gurus
I have customized the com_phocacart/layouts/order.php file and added, depending on the shop language, German and English information. I installed Phoca PDF and the PDF Plugin because I want to send orders and invoices as emails with attached PDFs. Everything works perfectly -> Great work, Jan!
I have a German and an English Shop Logo. As I can only set one Shop Logo in the Phoca Cart configuration I added the 2 logos in in the order.php file. Logos are 8-bit png files.
In the email (html) everything works perfectly, Logo in the correct shop language is displayed at the correct position.
Only problem is, that in the attached PDF the Logo is not displayed at all. Neither the German nor the English version.
I already tried to add them in different ways, as <div>, URL etc. to the $o[] array but nothing works. What am I doing wrong or what am I missing?
Thank you for your help
Alexander
I have customized the com_phocacart/layouts/order.php file and added, depending on the shop language, German and English information. I installed Phoca PDF and the PDF Plugin because I want to send orders and invoices as emails with attached PDFs. Everything works perfectly -> Great work, Jan!
I have a German and an English Shop Logo. As I can only set one Shop Logo in the Phoca Cart configuration I added the 2 logos in in the order.php file. Logos are 8-bit png files.
In the email (html) everything works perfectly, Logo in the correct shop language is displayed at the correct position.
Only problem is, that in the attached PDF the Logo is not displayed at all. Neither the German nor the English version.
I already tried to add them in different ways, as <div>, URL etc. to the $o[] array but nothing works. What am I doing wrong or what am I missing?
Thank you for your help
Alexander