Hi, I have two events running on my site and would like to display different content on the thank you page depending on which event has been registered for. Can you please advise how this could be achieved without hacking the core? If that’s not possible, and I know this isn’t ideal, would I be able to hardcode the logic into the thank you template partial by checking the event ID (also what’s the best way to access that var)?
Yes, there are many action hooks in the Thank You page template, which allow conditionally loading in content. We outline one way to use Advanced Custom Fields to input the custom Thank You page content, then display it on the Thank you page, in this tutorial:
The support post ‘EE4 – possible to have some conditional logic on the 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.
Support forum for Event Espresso 3 and Event Espresso 4.