- Posts: 424
- Thank you received: 11
Invoice with extra blank pages in Safari
- BluepointWebdesign
-
Topic Author
- Offline
Less
More
6 years 3 months ago #321614
by BluepointWebdesign
Invoice with extra blank pages in Safari was created by BluepointWebdesign
Hello,
A customer of ours prints the invoices via the backend of the webshop. Hikashop> Orders> Invoice> Print in Safari. But this is not working great
In the Chrome browser he just gets 1 page, but if he prints the same invoice via Safari, he gets 3 pages (2 blank pages).
How can we prevent this and get it the same template / print for Chrome as Safari?
Regards,
Michiel
A customer of ours prints the invoices via the backend of the webshop. Hikashop> Orders> Invoice> Print in Safari. But this is not working great
In the Chrome browser he just gets 1 page, but if he prints the same invoice via Safari, he gets 3 pages (2 blank pages).
How can we prevent this and get it the same template / print for Chrome as Safari?
Regards,
Michiel
Please Log in or Create an account to join the conversation.
6 years 3 months ago #321621
by nicolas
Replied by nicolas on topic Invoice with extra blank pages in Safari
Hi,
That's interesting.
I think it's linked to the line:
at the end of the order / invoice.php view file.
If what you say is right (that it only happens on Safari) and my theory is correct, then changing this code to:
via the menu Display>Views should solve the problem.
Could you try that out ?
That's interesting.
I think it's linked to the line:
Code:
<div style="page-break-after:always"></div>
If what you say is right (that it only happens on Safari) and my theory is correct, then changing this code to:
Code:
<?php
$navigator_check = hikashop_getNavigator();
if ($navigator_check["name"] != "Apple Safari") {
?>
<div style="page-break-after:always"></div>
<?php
}
Could you try that out ?
Please Log in or Create an account to join the conversation.
Time to create page: 0.144 seconds