Support

Home Forums Event Espresso Premium Customize Thank you Page

Customize Thank you Page

Posted: September 19, 2018 at 10:16 am

Viewing 7 reply threads


yaegerhunter

September 19, 2018 at 10:16 am

My client would like to have instructions based on the event to be shown on the thank you / confirmation page. I found how to edit the invoice templates, email templates, but what is shown on the thank you page I can’t find. I have attached a screenshot.

https://drive.google.com/file/d/1kdVMo1bDv-kmzUs-76BpIzoVN3J8zxXV/view?usp=sharing

  • This topic was modified 6 years ago by Tony.


Tony

  • Support Staff

September 19, 2018 at 10:48 am

Hi there,

Are you hiding the header section of the thank you page using CSS? There should be another section above what you have currently.

Where exactly on that screenshot would you like to add additional details?


yaegerhunter

September 19, 2018 at 11:15 am

Here’s the whole page. You can ignore the shortcode and the stuff toward the bottom, it was our attempt at trying to customize using the page, but wasn’t having luck on the middle section that would be based on the specific event.

screenshot


Tony

  • Support Staff

September 19, 2018 at 11:45 am

OK, so where on the page do you want to add additional details?

Between the registration and transaction details sections?


yaegerhunter

September 19, 2018 at 1:55 pm

It could be there or the yellow box confirmation message. Ideally would be above the details as it is usually instructions about next steps.


Tony

  • Support Staff

September 20, 2018 at 4:19 am

Are you familiar with using hooks?

To add details just below the yellow box, you can use this hook:
AHEE__thank_you_page_overview_template__content

That hook is passed the transaction object, which can be used to pull the event. Here is a couple of example of using that hook:
https://gist.github.com/Pebblo/9e375a3f6f3eb3e0e2aa88f3ef2fb72f
https://gist.github.com/Pebblo/525890c30baa7e207e4f

To add content between the registration and transaction sections, you can use AHEE__thank_you_page_registration_details_template__after_registration_details

That action hook is not passed any additional objects but it is possible to pull the transaction object using:

$transaction = EE_Registry::instance()->load_model( 'Transaction' )->get_transaction_from_reg_url_link();

Is that what you are looking for?


yaegerhunter

September 20, 2018 at 8:31 am

Sadly, I’m not a developer. I have one on UpWork though that can do this. Is it possible to customize the yellow box without using hooks?

I see that as a good feature. There are so many customizations for email and the receipts and invoices, however, it would be advantageous to do the same for the thank you page. We use it for class registration, retreat sign up, teen event sign up so each one might have special instruction after registration.


Tony

  • Support Staff

September 20, 2018 at 1:32 pm

Is it possible to customize the yellow box without using hooks?

It really depends on the exact changes you want to make.

You can take control of the entire template and output whatever you prefer using your own custom template, however, to do so you would also need the help of a developer as you’ll need to code the custom template.

We also have a tutorial on how to use the hooks available within the thank you page and the Advanced Custom Fields plugin to add additional details to the page here:

https://eventespresso.com/wiki/add-course-curriculum-events-using-advanced-custom-fields/

(It’s still using hooks within the thank you page, but allows you to add event specific content within the event itself that loads using those hooks)

I see that as a good feature. There are so many customizations for email and the receipts and invoices, however, it would be advantageous to do the same for the thank you page.

With the amount of dynamic data the thank you page loads and the use cases it covers, adding customizable sections to the thank you page without using hooks (meaning an editable section specifically set in the EE admin) is not something we currently plan on doing at this time.

Viewing 7 reply threads

The support post ‘Customize Thank you Page’ 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