[Skip to main content](#vessel-content)

#   Logo in PDF invoice

##

- **[philament](/forum/user/58296-philament "View philament's Profile")**
- [![philament's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/58296-philament "View philament's Profile") Topic Author
- [ Offline](/forum/user/58296-philament)

Less More

- Posts: 46
- Thank you received: 2
-
-

6 years 10 months ago [\#314667](#314667) by [philament](/forum/user/58296-philament "View philament's Profile")  *[Logo in PDF invoice](/forum/35-orders-management/898991-logo-in-pdf-invoice#314667 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.11 -- Error-message(debug-mod must be tuned on) -- : no bug  Hello, I have been looking for several days in Hikashop, the forum, the manual, nothing nothing, maybe my eyes are more in front of the holes .. Ok, I understood that there was the &quot;pdf&quot; plugin. Right now I just want to understand and get my logo to work, how can I do that?  thank you in advance")* was created by *[philament](/forum/user/58296-philament "View philament's Profile")*

-- url of the page with the problem -- : localhost
-- HikaShop version -- : 4.2.2
-- Joomla version -- : 3.9.14
-- PHP version -- : 7.2.11
-- Error-message(debug-mod must be tuned on) -- : no bug

Hello,
I have been looking for several days in Hikashop, the forum, the manual, nothing nothing, maybe my eyes are more in front of the holes ..
Ok, I understood that there was the "pdf" plugin. Right now I just want to understand and get my logo to work, how can I do that?

thank you in advance

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk5MS1sb2dvLWluLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 10 months ago [\#314673](#314673) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Logo in PDF invoice](/forum/35-orders-management/898991-logo-in-pdf-invoice#314673 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.11 -- Error-message(debug-mod must be tuned on) -- : no bug  Hello, I have been looking for several days in Hikashop, the forum, the manual, nothing nothing, maybe my eyes are more in front of the holes .. Ok, I understood that there was the &quot;pdf&quot; plugin. Right now I just want to understand and get my logo to work, how can I do that?  thank you in advance")*

Hi,

With the PDF invoice plugin, there can be some issue when you add a logo to the invoice as the HTML2PDF library used to generate the PDF can have trouble retrieving the image.
But in your case, you're not using that plugin (as far as I can see there is no purchase of that plugin from your user account).
So in that case, you just have to edit the view file displaying the invoice (in the backend it's the file "invoice" of the view "order") via the menu Display&gt;Views and add the HTML tag of your image in the code where you want the logo.
So for example, you can start adding such code at the beginning: Code:

&lt;img href="XXX"/&gt;

where XXX is the URL of your logo that you previously uploaded via the Joomla media manager or FTP.

The following user(s) said Thank You: [philament](/forum/user/58296-philament "View philament's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk5MS1sb2dvLWluLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[OnslaughtUK](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")**
- [![OnslaughtUK's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")
- [ Offline](/forum/user/59959-onslaughtuk)

Less More

- Posts: 18
- Thank you received: 0
-

6 years 2 months ago [\#324071](#324071) by [OnslaughtUK](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")  Replied by *[OnslaughtUK](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")* on topic *[Logo in PDF invoice](/forum/35-orders-management/898991-logo-in-pdf-invoice#324071 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.11 -- Error-message(debug-mod must be tuned on) -- : no bug  Hello, I have been looking for several days in Hikashop, the forum, the manual, nothing nothing, maybe my eyes are more in front of the holes .. Ok, I understood that there was the &quot;pdf&quot; plugin. Right now I just want to understand and get my logo to work, how can I do that?  thank you in advance")*

Nicolas,

I just want to ad our logo to the invoice, I understand I have to edit some files for that..
I am not an php expert at all, but think (hope) I can fix it..

That said, would it be easier to use the pdf invoice plugin for editing of the invoice, or is that one just for adding the pdf to the invoice?
Before I purchase something, that doesn't do what I expect it would do.

Thanks,

Appie

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk5MS1sb2dvLWluLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86583
- Thank you received: 14324
-
-

6 years 2 months ago [\#324096](#324096) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Logo in PDF invoice](/forum/35-orders-management/898991-logo-in-pdf-invoice#324096 "-- url of the page with the problem -- : localhost -- HikaShop version -- : 4.2.2 -- Joomla version -- : 3.9.14 -- PHP version -- : 7.2.11 -- Error-message(debug-mod must be tuned on) -- : no bug  Hello, I have been looking for several days in Hikashop, the forum, the manual, nothing nothing, maybe my eyes are more in front of the holes .. Ok, I understood that there was the &quot;pdf&quot; plugin. Right now I just want to understand and get my logo to work, how can I do that?  thank you in advance")*

Hi,

Purchasing the PDF invoice plugin won't help you add your logo to the invoices. What it will do is allow you to add the invoice as a PDF attachment to the email notification to the customer.

So supposing you're not using that plugin, you can edit the file order / invoice.php (for the backend) and order / show.php (for the frontend) and add the HTML of your image where you want.
Note that you don't need to know PHP at all for that. You just need basic HTML knowledge since you need to add an img tag in the HTML of the view file.

The following user(s) said Thank You: [OnslaughtUK](/forum/user/59959-onslaughtuk "View OnslaughtUK's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50Lzg5ODk5MS1sb2dvLWluLXBkZi1pbnZvaWNlP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.046 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
