irmantus
-
Posts
4 -
Joined
-
Last visited
Content Type
Profiles
Forums
Gallery
Downloads
Articles
Store
Blogs
Posts posted by irmantus
-
-
it does not like absolute path, when I manually add relative path or absolute URL instead of $logo_path in header.tpl then it works.
-
No luck. Tried jpg and even some random logo from internet.
I did a quick debug at classes/pdf/PDF.php, echoing $template->getHeader() and I can see that image path is there but not sure why it's not working. Something with PDF rendering?
-
I have migrated from 1.6.20 prestashop to thirty bees 1.0.7 and everything looks ok except for invoices. Generated invoices have no logo image. I tried to reupload image, also tried different invoice templates but still no luck. Any ideas?
No logo image in invoice PDF
in Migrations
Posted
Open pdf/header.tpl file and edit line "{if $logo_path} ...", just change img src so it points to actual file of your logo, like so:
{if $logo_path}
<img src="../img/shop-logo_1452460446.jpg" style="width:{$width_logo}px; height:{$height_logo}px;" />
{/if}
Hope that helps.