Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Add logo to invoice  (Read 2803 times)

Offline tzantello

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Add logo to invoice
« on: June 01, 2017, 09:45:40 AM »
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!

Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Add logo to invoice
« Reply #1 on: June 01, 2017, 12:09:07 PM »
Here is the the template that you need to edit.
https://github.com/abantecart/abantecart-src/blob/master/public_html/storefront/view/default/template/pages/account/invoice.tpl

Just add your HTML with the logo somewhere to the top
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline llegrand

  • Hero Member
  • *****
  • Posts: 1459
  • Karma: +381/-2
    • View Profile
Re: Add logo to invoice
« Reply #2 on: June 01, 2017, 12:12:56 PM »
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?


Offline abantecart

  • Administrator
  • Hero Member
  • *****
  • Posts: 4152
  • Karma: +251/-9
    • View Profile
    • Ideal Open Source Ecommerce Solution
Re: Add logo to invoice
« Reply #3 on: June 01, 2017, 01:43:20 PM »
We need your help to build better free open source eCommerce platform for everyone.
See how you can help

Offline Tsietisin

  • Newbie
  • *
  • Posts: 3
  • Karma: +1/-0
    • View Profile
Re: Add logo to invoice
« Reply #4 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?

Offline jamesrhenry

  • Newbie
  • *
  • Posts: 4
  • Karma: +2/-0
  • Owner of Loyalty Hosting, a HenryTek company!
    • View Profile
    • Loyalty Hosting
Re: Add logo to invoice
« Reply #5 on: June 30, 2019, 04:08:27 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 - newbielink:http://www.loyaltyhosting.com [nonactive]

 

Powered by SMFPacks Social Login Mod