Support

Home Forums Event Espresso Premium Custom thank you page based on category Reply To: Custom thank you page based on category

Reply To: Custom thank you page based on category

Author Replies
Josh # Posted on April 18, 2018 at 3:48 pm

Hi Burnt Orange Design,

There can be only one Thank You page, but the thank you page can be customized based on which event (or even category of an event) was in the checkout. For example if each category requires different styling on the Thank you page, you can add the category slug to the Thank you page’s body class by adding the code from this example:

https://gist.github.com/Pebblo/ff10c717dbef698ff7fbe357dedfd1a1

If each category requires different content on the Thank you page, there are a number of action hooks that can be used to inject conditional content. There’s a tutorial in the documentation that shows some examples of how to use the Thank You page’s hooks:

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

Do NOT follow this link or you will be banned from the site!