Support

Home Forums Event Espresso Premium Have "View Full Order Confirmation Receipt" button go to Invoice instead

Have "View Full Order Confirmation Receipt" button go to Invoice instead

Posted: October 29, 2017 at 9:30 pm

Viewing 3 reply threads


iwbnet

October 29, 2017 at 9:30 pm

Is there a way for me to change the View Full Order Confirmation Receipt button located on the Thank you page so it takes the attendee to the Invoice instead?


Tony

  • Support Staff

October 30, 2017 at 3:03 pm

Hi there,

We don’t have a filter for this but you can override the template file that used for the thank you page, add the invoice button and then remove the receipt button yourself.

I have an example of how you can remove the receipt button and display an Invoice button here:

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

So you could copy the original thank you page template:

\event-espresso-core-reg\modules\thank_you_page\templates\thank-you-page-overview.template.php

Place that file in your themes root directory (preferably a child theme) and edit that template to include the code from the above, or copy that code into a .php file, name the file thank-you-page-overview.template.php and again place that file within your themes root directory.


iwbnet

October 31, 2017 at 6:17 am

Happy to report this worked perfectly. Button has been renamed and now goes straight to Invoice as default. Thanks.


Tony

  • Support Staff

October 31, 2017 at 6:21 am

You’re most welcome.

Viewing 3 reply threads

The support post ‘Have "View Full Order Confirmation Receipt" button go to Invoice instead’ 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