Support

Home Forums Event Espresso Premium Default to Invoice Rather Than Order Confirmation Receipt

Default to Invoice Rather Than Order Confirmation Receipt

Posted: May 28, 2020 at 6:37 am

Viewing 1 reply thread


dreamimplementation

May 28, 2020 at 6:37 am

After successfully registering with the Invoice selected as the payment option, in the view with the button linking to the order confirmation receipt, can this button be linked to open up the invoice instead of the order confirmation?


Tony

  • Support Staff

May 28, 2020 at 2:38 pm

Hi there,

This is possible to do, but you’ll need to override the default template used on the thank you page to do it.

Download this file: https://gist.github.com/Pebblo/8cac847b47569479e33307699dcfcdd7#file-thank-you-page-overview2-template-php

Name the file thank-you-page-overview.template.php

Then, if you aren’t using a child theme on your site already, create one:

https://developer.wordpress.org/themes/advanced-topics/child-themes/

Place that template in the root directory of your child theme and it will use the Invoice in place of the Receipt.

Viewing 1 reply thread

The support post ‘Default to Invoice Rather Than Order Confirmation Receipt’ 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