Support

Home Forums Event Espresso Premium Text on the Thank You page + cancel registration

Text on the Thank You page + cancel registration

Posted: February 7, 2018 at 2:41 am


mediaroad_eu

February 7, 2018 at 2:41 am

Hi,

I have 2 questions:

Q1: I have a custom function plugin that changes text on the top of the Thank You page and on the button. The function was provided by your support staff member (see here).
I would like to add one sentence to this text: “To cancel your registration, please fill in the cancellation form available here.” I tried to add it in line 11 but it doesn’t work (it doesn’t display on the page). Could you please tell me how I can add this text so that it show on the page?

Q2: Is there a way to change the link behind “Cancel registration” that appears on the check out page? I would like this hyperlink to lead to a custom page I made.

Thank you.

Paulina


Tony

  • Support Staff

February 7, 2018 at 9:28 am

Could you please tell me how I can add this text so that it show on the page?

You would add it to line 11 of that function, it would become:

'%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print a full description of your purchases and registration information.' => '%1$sCongratulations%2$sYour registration has been successfully processed.%3$sCheck your email for your registration confirmation or click the button below to view / download / print your registration. To cancel your registration, please fill in the cancellation form available <a href="http://www.mediaroad.eu/withdrawal-form">here</a>.',

Q2: Is there a way to change the link behind “Cancel registration” that appears on the check out page? I would like this hyperlink to lead to a custom page I made.

Not currently.

The default registration-cancelled page the above links to clears the current user’s session, your custom page would not (unless it also uses the ESPRESSO_CANCELLED shortcode?) which may cause problems if the user attempts to add another registration after visiting your custom page.

The support post ‘Text on the Thank You page + cancel registration’ 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