Where Can I Change Content Of $Invoice?

Hi,

i want make some changes on modify_invoice.tpl located on /design/backend/templates/views/orders.

i want to know where variable $invoice is generated. i make a changes on this variable.

Thanks

$invoice is rendered from documents (Design → Documents). You can find this code in the app/controllers/backend/orders.php file

http://prntscr.com/m05gwg

$invoice is rendered from documents (Design -> Documents). You can find this code in the app/controllers/backend/orders.php file

http://prntscr.com/m05gwg

how can i call new documents (for example invoicexml) ?

how can i call new documents (for example invoicexml) ?


I do not see invoicexml in the list of available documents. Please clarify

If you're using the newer email editor, you will have to create a new document and then associate it with an email. Note that you can use existing snippets in that document or create new ones to your liking.

how can i call new documents (for example invoicexml) ?

Hello!

If you need to generate invoice in XML, custom development is required.