Post by dzastinaslt » Fri Oct 17, 2014 4:17 am

Hello,

I got the first order on my new shop and when I wanted to print the invoice the preview and printed out page looks like crap! All the tables and fonts are gone and, like with all previous OC's, there's 2 pages generated (1 totally empty).
Anyone knows how can I fix this quickly or will I have to find the way by myself?..

New member

Posts

Joined
Mon Mar 05, 2012 6:01 pm

Post by dzastinaslt » Fri Oct 17, 2014 5:13 am

Ok so I started to investigate what the hell is going on and first off there's bootstrap js link included but no actual jquery link so add

Code: Select all

<script src="//ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
in the <head> but I have no idead bootstrap is linked there at all(?) :choke:
Second fix: blank page is solved by removing

Code: Select all

<div style="page-break-after: always;">
but that may cause problems with long orders?

And third thing is to add width:"100%" to all tables.

Didn't figured out why table borders doesn't show up and why's the strange font...

Also I think move this to template support?

New member

Posts

Joined
Mon Mar 05, 2012 6:01 pm
Who is online

Users browsing this forum: No registered users and 2 guests