Home › Forums › Event Espresso Premium › Default to Invoice Rather Than Order Confirmation Receipt
Posted: May 28, 2020 at 6:37 am
EE4 Everything License
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?
May 28, 2020 at 2:38 pm
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:
Place that template in the root directory of your child theme and it will use the Invoice in place of the Receipt.
You must be logged in to reply to this support post. Sign In or Register for an Account
Updated by Tony 3 months, 3 weeks ago ago