[Skip to main content](#vessel-content)

#   Invoice with extra blank pages in Safari

##

- **[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")**
- [![BluepointWebdesign's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile") Topic Author
- [ Offline](/forum/user/34929-bluepointwebdesign)

Less More

- Posts: 424
- Thank you received: 11
-
-

6 years 4 months ago [\#321614](#321614) by [BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")  *[Invoice with extra blank pages in Safari](/forum/35-orders-management/900334-invoice-with-extra-blank-pages-in-safari#321614 "Hello,  A customer of ours prints the invoices via the backend of the webshop. Hikashop&gt; Orders&gt; Invoice&gt; 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")* was created by *[BluepointWebdesign](/forum/user/34929-bluepointwebdesign "View BluepointWebdesign's Profile")*

Hello,

A customer of ours prints the invoices via the backend of the webshop. Hikashop&gt; Orders&gt; Invoice&gt; Print in Safari. But this is not working great ![;)](/media/kunena/emoticons/24.png ";)")

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMDMzNC1pbnZvaWNlLXdpdGgtZXh0cmEtYmxhbmstcGFnZXMtaW4tc2FmYXJpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Away](/forum/user/63-nicolas)

Less More

- Posts: 86564
- Thank you received: 14311
-
-

6 years 4 months ago [\#321621](#321621) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Invoice with extra blank pages in Safari](/forum/35-orders-management/900334-invoice-with-extra-blank-pages-in-safari#321621 "Hello,  A customer of ours prints the invoices via the backend of the webshop. Hikashop&gt; Orders&gt; Invoice&gt; 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")*

Hi,

That's interesting.
I think it's linked to the line: Code:

&lt;div style="page-break-after:always"&gt;&lt;/div&gt;

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

&lt;?php $navigator_check = hikashop_getNavigator(); if ($navigator_check["name"] != "Apple Safari") { ?&gt; &lt;div style="page-break-after:always"&gt;&lt;/div&gt; &lt;?php }

via the menu Display&gt;Views should solve the problem.
Could you try that out ?

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzM1LW9yZGVycy1tYW5hZ2VtZW50LzkwMDMzNC1pbnZvaWNlLXdpdGgtZXh0cmEtYmxhbmstcGFnZXMtaW4tc2FmYXJpP3RtcGw9bWFya2Rvd24=) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.074 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
