Skip to main content

Add logo to invoice pdf

More
7 years 4 months ago #306840 by hmd
Add logo to invoice pdf was created by hmd
-- url of the page with the problem -- : www.industrialgarden.nl

I want to a add a logo to the top of my pdf invoices. How can I do that?

Regards,

Hubet

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #306846 by nicolas
Replied by nicolas on topic Add logo to invoice pdf
Hi,

You'll have to edit the file plugins/hikashop/attachinvoice/attachinvoice/invoice.php and add the HTML for your image there.

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #306891 by hmd
Replied by hmd on topic Add logo to invoice pdf
Nicolas,

Unfortunately I am not an experienced PHP-programmer. Do you perhaps have some sample code?

Hubert

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #306895 by nicolas
Replied by nicolas on topic Add logo to invoice pdf
Hi,

Doing that modification doesn't require any PHP knowledge.
You can just add an img tag like that:
Code:
<img src="http://mywebsite.com/myimage.jpg"/>
The place where you want to add depends on where you want to display it.
For example, if you add it before/after the line
Code:
<div class="storeaddress">
you could have it before your store address.

Please Log in or Create an account to join the conversation.

More
7 years 4 months ago #307004 by hmd
Replied by hmd on topic Add logo to invoice pdf
Nicolas,

Thanx for the help. It worked first time right.

Hubert

Please Log in or Create an account to join the conversation.

Time to create page: 0.201 seconds
Powered by Kunena Forum