Edit OpenCart invoice template

Avatar
  • Answered
how can i prepare an invoice of the product sale for a specified format which is our government officials are given
Avatar
JeffMa
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.