Add logo to invoice pdf

  • Posts: 43
  • Thank you received: 1
5 years 6 months ago #306840

-- 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.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
5 years 6 months ago #306846

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.

  • Posts: 43
  • Thank you received: 1
5 years 6 months ago #306891

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.

  • Posts: 82868
  • Thank you received: 13375
  • MODERATOR
5 years 6 months ago #306895

Hi,

Doing that modification doesn't require any PHP knowledge.
You can just add an img tag like that:

<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
<div class="storeaddress">
you could have it before your store address.

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

  • Posts: 43
  • Thank you received: 1
5 years 5 months ago #307004

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.063 seconds
Powered by Kunena Forum