Jump to content

Invoice design


Recommended Posts

  • 2 weeks later...

Look for this lines at /classes/PDF.php :

 

 

if (file_exists(_PS_IMG_DIR_.'/logo_invoice.jpg'))

$this->Image(_PS_IMG_DIR_.'/logo_invoice.jpg', 10, 8, 40, 0);

else if (file_exists(_PS_IMG_DIR_.'/logo.jpg'))

$this->Image(_PS_IMG_DIR_.'/logo.jpg', 10, 8, 0, 15);

 

Then add this:

 

$this->Link(10, 8, 40, 20, 'http://'.$_SERVER['SERVER_NAME'].__PS_BASE_URI__);

 

Change the 40 by your logo's width and the 20 by your logo's height.

 

I hope, this helps you.

Link to comment
Share on other sites

×
×
  • Create New...