Post by Reptile » Fri Apr 28, 2023 9:53 pm

What happened to the invoice styling?
As from Opencart 4.x the invoice got new styling and it looks ok.
But when you want to print the invoice there is no styling what so ever.
Is this a know problem?
Last edited by Reptile on Wed May 03, 2023 12:33 am, edited 1 time in total.

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom

Post by Reptile » Sat Apr 29, 2023 6:39 pm

Nevermind.
Found the problem.
In the order_invoice.twig
Simply replace:

Code: Select all

  <link href="{{ bootstrap_css }}" type="text/css" rel="stylesheet" media="screen"/>
With:

Code: Select all

  <link href="{{ bootstrap_css }}" type="text/css" rel="stylesheet"/>

All my extensions: Click here or Click here


User avatar
Active Member

Posts

Joined
Mon Jan 30, 2012 7:23 pm
Location - The Netherlands

Post by straightlight » Sat Apr 29, 2023 11:44 pm

Reptile wrote:
Sat Apr 29, 2023 6:39 pm
Nevermind.
Found the problem.
In the order_invoice.twig
Simply replace:

Code: Select all

  <link href="{{ bootstrap_css }}" type="text/css" rel="stylesheet" media="screen"/>
With:

Code: Select all

  <link href="{{ bootstrap_css }}" type="text/css" rel="stylesheet"/>
Now that the issue has been resolved, please add: [SOLVED] at the beginning of the subject line on your first post.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

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

Users browsing this forum: No registered users and 1 guest