InMotion Hosting Support Center

Edit OpenCart invoice template

Category: Opencart

pradeepnambyan
Asked:
2013-09-26 9:55 am EST

Hits: 9,269
how can i prepare an invoice of the product sale for a specified format which is our government officials are given

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Where can I locate the printed / generated invoices of opencart 2x?
Can I edit the wrong Invoice no? in such invoices ?

kaushikS
0 Points
2016-01-21 09:28 am EST
In which folder can I locate the printed / generated invoices of opencart 2x?
Can I edit the wrong Invoice no? in such invoices ?
kaushikS
0 Points
2016-01-21 09:28 am EST

OTHER ANSWERS

0

JeffMa
Staff
11,186 Points
2013-09-26 10:52 am EST
While OpenCart has not built in an editor to change the invoice layout within the OpenCart admin, you may still change it within the code itself. Note: As this is an OpenCart core file, if you do an update, this will be overwritten.

The file itself is located within:
admin/view/template/sale/order_invoice.tpl

Here, you will see several lines of HTML with some PHP thrown in the mix to generate names, addresses, and other order information. Editing the HTML within the file to fit your needs will allow you to send custom invoices to your customers with the specified style that you want.

You must login before you can post a comment about this answer.

Hello kaushikS,

Thank you for contacting us. In my searches I could not find an Extension to edit invoices, that is compatible with OpenCart 2. In the official OpenCart documentation on Orders, it says if you go to Sales > Orders, there should be an option to edit. This may be reflected in the invoice.

Thank you,
John-Paul
John-Paul
24,698 Points
Staff
2016-01-21 3:39 pm EST
Like this Question?

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!