News:

AbanteCart v1.4.2 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

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

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

Please  rate your experience or leave your review
We need your help to build better free open source ecommerce platform for everyone. See how you can help

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!
Get unlimited hosting with free domain name - www.loyaltyhosting.com

Forum Rules Code of conduct
AbanteCart.com 2010 -