Post by Lesley_T » 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

Newbie

Posts

Joined
Wed Jun 20, 2018 7:19 pm

Post by straightlight » Thu Jun 21, 2018 11:02 pm

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

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by ru-lefthanded » Wed Apr 21, 2021 1:18 am

Hi
Did you manage to fix this? - am looking to do exactly the same :)

Newbie

Posts

Joined
Tue Sep 03, 2013 3:39 am

Post by straightlight » Wed Apr 21, 2021 7:52 pm

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.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by isomikis » Sun May 16, 2021 2:56 am

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 :)

Newbie

Posts

Joined
Fri Aug 23, 2019 3:02 am
Who is online

Users browsing this forum: No registered users and 4 guests