News:

AbanteCart v1.4.2.1 is released.

Main Menu

Add logo to invoice

Started by tzantello, June 01, 2017, 09:45:40 AM

Previous topic - Next topic

tzantello

I'm needing to add my logo to the invoices. I'm assuming most people want do do this. Can someone please point me in the right direction? What code do I need to add and to where? Thank you!

abantecart


llegrand

For clarity are you referring to the order invoice within the account section  or the email order confirmation that is sent when a customer makes an order?


abantecart


Tsietisin

I've been wanting to do the same thing.

I'm altering the file but no matter what I seem to do, the image will just not appear on the invoice. No matter where I add the HTML, it just wont show.

Any other advice that people may be able to give on this one?

jamesrhenry

Quote from: Tsietisin on September 10, 2017, 02:27:56 PM
I've been wanting to do the same thing.

I'm altering the file but no matter what I seem to do, the image will just not appear on the invoice. No matter where I add the HTML, it just wont show.

Any other advice that people may be able to give on this one?

While I understand this is a couple years old, I figure this might help someone later.

While the above two are great when it comes to being able to see the invoice as a customer, this does not change the admin's view of the invoice where you'd print it, to which I believe the person I quoted is referring.

For this, you've got to add your image HTML code to the admin section, rather than the storefront section.

The section I'm referring to is located at root/admin/view/default/template/responses/sale/order_invoice.tpl

Root is where you installed the AbanteCart, and you don't have to worry about the template, in most cases. If you did install an Admin template, then the default would refer to that template.

Simply place the image code <img src="IMAGE LINK HERE"> at the top of the code, preferably after the <body> on the page.

Now go open a customer's invoice to print & check out your logo on that page!

ixl

Quote from: jamesrhenry on June 30, 2019, 04:08:27 PM
Quote from: Tsietisin on September 10, 2017, 02:27:56 PMI've been wanting to do the same thing.

I'm altering the file but no matter what I seem to do, the image will just not appear on the invoice. No matter where I add the HTML, it just wont show.

Any other advice that people may be able to give on this one?

While I understand this is a couple years old, I figure this might help someone later.

While the above two are great when it comes to being able to see the invoice as a customer, this does not change the admin's view of the invoice where you'd print it, to which I believe the person I quoted is referring.

For this, you've got to add your image HTML code to the admin section, rather than the storefront section.

The section I'm referring to is located at root/admin/view/default/template/responses/sale/order_invoice.tpl

Root is where you installed the AbanteCart, and you don't have to worry about the template, in most cases. If you did install an Admin template, then the default would refer to that template.

Simply place the image code <img src="IMAGE LINK HERE"> at the top of the code, preferably after the <body> on the page.

Now go open a customer's invoice to print & check out your logo on that page!

This is very helpful, thank you.

I dont know why its not included in the defaults... seems soo strange for such a basic thing to not have it already included.

Well done for helping and thanks. (I know this thread is old, but even so, just shows how much help it is and how long its been still without it STILL being added as a main feature.)

Cheers

Forum Rules Code of conduct
AbanteCart.com 2010 -