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

#   \[SOLVED\] Frontend Invoice Print Issue - IE9

##

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

Less More

- Posts: 83
- Thank you received: 1
-
-
-

14 years 3 weeks ago -  14 years 2 days ago [\#70518](#70518) by [manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")  *[\[SOLVED\] Frontend Invoice Print Issue - IE9](/forum/2-general-talk-about-hikashop/70518-solved-frontend-invoice-print-issue-ie9#70518 "Hi,  When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.  The same is fine for Google Chrome, Firefox and Safari.  Please check the same.  Thanks &amp; Regards, Manjesh.")* was created by *[manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")*

Hi,

When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.

The same is fine for Google Chrome, Firefox and Safari.

Please check the same.

Thanks &amp; Regards,
Manjesh.

Last edit: 14 years 2 days ago by [manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcwNTE4LXNvbHZlZC1mcm9udGVuZC1pbnZvaWNlLXByaW50LWlzc3VlLWllOT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 3 weeks ago [\#70746](#70746) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Frontend Invoice Print Issue - IE9](/forum/2-general-talk-about-hikashop/70518-solved-frontend-invoice-print-issue-ie9#70746 "Hi,  When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.  The same is fine for Google Chrome, Firefox and Safari.  Please check the same.  Thanks &amp; Regards, Manjesh.")*

Hi,

We tried on our end and it's working on some websites and not on others with IE.
It seems to be a timeout issue.

Try to change the line:
$js = "window.addEvent('domready', function() {window.focus();window.print();setTimeout(function(){try{ window.top.document.getElementById('sbox-window').close(); }catch(err){ window.top.SqueezeBox.close(); }}, 1000);});";

to:
$js = "window.addEvent('domready', function() {setTimeout(function(){window.focus();window.print();setTimeout(function(){try{ window.top.document.getElementById('sbox-window').close(); }catch(err){ window.top.SqueezeBox.close(); }}, 1000);},1000);});";

and that should solve the problem.

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

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

Less More

- Posts: 83
- Thank you received: 1
-
-
-

14 years 3 weeks ago [\#70833](#70833) by [manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")  Replied by *[manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")* on topic *[Re: Frontend Invoice Print Issue - IE9](/forum/2-general-talk-about-hikashop/70518-solved-frontend-invoice-print-issue-ie9#70833 "Hi,  When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.  The same is fine for Google Chrome, Firefox and Safari.  Please check the same.  Thanks &amp; Regards, Manjesh.")*

Hi,

Tried the same and found to be unsuccessful. ![:(](/media/kunena/emoticons/22.png ":(")

When I tried to refresh the page, I'm getting the print window.

I also tried to increase the value '1000', but of no use that the print window is not popping up just like in other browsers.

Regards,
Manjesh.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcwNTE4LXNvbHZlZC1mcm9udGVuZC1pbnZvaWNlLXByaW50LWlzc3VlLWllOT90bXBsPW1hcmtkb3du) 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")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86541
- Thank you received: 14304
-
-

14 years 3 weeks ago [\#70967](#70967) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Frontend Invoice Print Issue - IE9](/forum/2-general-talk-about-hikashop/70518-solved-frontend-invoice-print-issue-ie9#70967 "Hi,  When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.  The same is fine for Google Chrome, Firefox and Safari.  Please check the same.  Thanks &amp; Regards, Manjesh.")*

That modification has solved it on our end.

We made the modification on our demo website and it's now working there for IE9.

I forgot to say in my last message but that code modification should be done in the file components/com_hikashop/views/order/view.html.php

The following user(s) said Thank You: [manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")

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

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

Less More

- Posts: 83
- Thank you received: 1
-
-
-

14 years 3 weeks ago [\#71023](#71023) by [manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")  Replied by *[manjeshmohan](/forum/user/9480-manjeshmohan "View manjeshmohan's Profile")* on topic *[Re: Frontend Invoice Print Issue - IE9](/forum/2-general-talk-about-hikashop/70518-solved-frontend-invoice-print-issue-ie9#71023 "Hi,  When I click on the frontend print button, the page is trying to get the print box but it gets closed all of a sudden and be in the same page itself in IE9.  The same is fine for Google Chrome, Firefox and Safari.  Please check the same.  Thanks &amp; Regards, Manjesh.")*

Solved now. ![:)](/media/kunena/emoticons/3.png ":)")

Thanks.

I changed the same in the views-&gt;printcart, that's why it was not working out.

Regards,
Manjesh.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzItZ2VuZXJhbC10YWxrLWFib3V0LWhpa2FzaG9wLzcwNTE4LXNvbHZlZC1mcm9udGVuZC1pbnZvaWNlLXByaW50LWlzc3VlLWllOT90bXBsPW1hcmtkb3du) 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.051 seconds

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