Support

Home Forums Event Espresso Premium Order Confirmation Receipt, New Window?

Order Confirmation Receipt, New Window?

Posted: December 3, 2015 at 9:23 pm


Dallas REIG

December 3, 2015 at 9:23 pm

Hello, how can I make the “View Full Order Confirmation Receipt” button on the order completion page open in a new window instead of the same window? Opening in the same window takes my customer away from my site with no way to get back other than to start over. Hitting back button takes them to page expired.


Tony

  • Support Staff

December 4, 2015 at 4:01 am

Hi Maceo,

Currently its not possible to alter that link without modifying core, I have requested some feedback from on developers on this.

However clicking the receipt and then clicking back should not show a page expired message, do you have an event I can run a test registration to view what is happening?


Dallas REIG

December 4, 2015 at 9:35 am

Thanks Tony, yes being able to have that changed (probably best to be default for everyone) would be great.

In order to do an event on my site, you will need a login to get around my Coming Soon page. Is there a way to make this private or get your my login details.

Just as an FYI, I was able to recreate the issue. So in general clicking on View Confirmation button and then going back causes no issue but clicking on the button then clicking on the Switch to Invoice Button, then Switch to Receipt button and then trying to click the back arrow to get to the site will cause the page expired.

These steps would be common steps that a user would take as they would want to see both their invoice and their receipt before trying to go back to my site.


Dallas REIG

December 4, 2015 at 9:39 am

So until there is a “fix” to open this page in a new window, is there a way (without modifying core) to add a new button on the confirmation page that says “Back To Thank You Page” that would take them back to their Thank You page?


Josh

  • Support Staff

December 4, 2015 at 10:47 am

Hi Maceo,

You can make the “View Full Order Confirmation Receipt” button on the order completion page open in a new window instead of the same window by adding the code from our snippet library to your website:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/templates/jf_add_target_blank_reciept_link.php

You can add the above to a functions plugin or into your WordPress theme’s functions.php file.


Dallas REIG

December 4, 2015 at 10:54 am

Awesome, thanks, I will get that implemented now.


Dallas REIG

December 4, 2015 at 11:05 am

That worked great. Thanks again!

The support post ‘Order Confirmation Receipt, New Window?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso