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
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
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
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.ru-lefthanded wrote: ↑Wed Apr 21, 2021 1:18 amHi
Did you manage to fix this? - am looking to do exactly the same
Dedication and passion goes to those who are able to push and merge a project.
Regards,
Straightlight
Programmer / Opencart Tester
Hello I solved this problem. By following this step:Lesley_T wrote: ↑Wed Jun 20, 2018 7:27 pmI 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
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
Who is online
Users browsing this forum: No registered users and 342 guests