Page 1 of 1
Editing layout of Invoice.
Posted: Wed Jun 20, 2018 7:27 pm
by Lesley_T
I am trying to edit the layout of my invoice to fit A4 sheet with label but the edits I make to admin/view/template/sale/order_invoice.twig has no effect.
Is there another file I need to edit or am i doing this completely wrong?
Using OC 3.0.2
Thanks in advance for any help
Re: Editing layout of Invoice.
Posted: Thu Jun 21, 2018 11:02 pm
by straightlight
You may also want to edit your catalog/view/theme/<your_theme>/template/mail/order_xxxxx TWIG files . Then, to ensure to always rely on these tools when making modifications to TWIG files:
viewtopic.php?f=176&p=725084#p718325
Re: Editing layout of Invoice.
Posted: Wed Apr 21, 2021 1:18 am
by ru-lefthanded
Hi
Did you manage to fix this? - am looking to do exactly the same

Re: Editing layout of Invoice.
Posted: Wed Apr 21, 2021 7:52 pm
by straightlight
ru-lefthanded wrote: ↑Wed Apr 21, 2021 1:18 am
Hi
Did you manage to fix this? - am looking to do exactly the same
OC version. This can be accomplished by using an Event. However, if using lower version than 3.0.3.7, ensure to patch your system/modification.xml file before working on admin template files.
Re: Editing layout of Invoice.
Posted: Sun May 16, 2021 2:56 am
by isomikis
Lesley_T wrote: ↑Wed Jun 20, 2018 7:27 pm
I am trying to edit the layout of my invoice to fit A4 sheet with label but the edits I make to admin/view/template/sale/order_invoice.twig has no effect.
Is there another file I need to edit or am i doing this completely wrong?
Using OC 3.0.2
Thanks in advance for any help
Hello I solved this problem. By following this step:
1. with file or FTP manager open your FTP
2. Delete Cache folder in Storage folder
3. Edit your admin/view/template/sale/order_invoice.twig file by text editor as your style.
4. Upload and overwrite.
THATS ALL FOLKS
