Support

Home Forums Event Espresso Premium Open Invoice and Confirmation Pages in new tab/window

Open Invoice and Confirmation Pages in new tab/window

Posted: March 26, 2019 at 7:55 am

Viewing 3 reply threads


californiasteve

March 26, 2019 at 7:55 am

Where would I find how to do this? Template or write a function and what hook is needed to do it.


Tony

  • Support Staff

March 26, 2019 at 10:44 am

Hi there,

There’s more than one location that shows the Invoice or Receipt link (order confirmation) and the template/hook used to alter them will be different depending on the location.

I’m guessing you want to change this on the thank you page?


californiasteve

March 26, 2019 at 10:47 am

Yes, on the thank you page.


Tony

  • Support Staff

March 28, 2019 at 9:33 am

Ok, so the ‘View Invoice’ link shown by the Invoice payment method should already open in a new window, that is this link – https://monosnap.com/file/Vlnpj3QHKJyyL2Wsg7SP6zY33aySXD

The ‘View Full Order Confirmation Receipt’ button does not open in a new window.

To force that button to open a new window you can use something like this:

https://gist.github.com/Pebblo/5a94209a3add14a7b789b4bf0d6ba008

You can add that to a custom functions plugin on your site, we have some documentation on creating one here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

Viewing 3 reply threads

The support post ‘Open Invoice and Confirmation Pages in new tab/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