AbanteCart Development > Customization help
Add logo to invoice
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?
--- End quote ---
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!
Navigation
[0] Message Index
[*] Previous page
Go to full version