Jump to content

[Solved] Changing Image on PDF Invoice


Recommended Posts

Hi,

 

Open file /classes/PDF.php and find the row

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

 

_PS_IMG_DIR_ is the path to the image (/img folder). '/logo.jpg' is the name of the image.

You may store your invoice logo to /img folder and name it inv_logo.jpg. In this case the code should be:

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

Link to comment
Share on other sites

×
×
  • Create New...