Support

Home Forums Event Espresso Premium Congratulations message on check payment

Congratulations message on check payment

Posted: July 23, 2015 at 2:19 pm


HopFamilies

July 23, 2015 at 2:19 pm

I don’t want the Congratulations message to show when an event is paid by check because the registration is not final until we actually receive the check. The Congratulations message is ok if payment is via Paypal.

Plus, the instructions on paying by check are buried at the bottom of the page and need to be the first thing someone paying by check needs to see. Where is the template to edit that page?


Josh

  • Support Staff

July 27, 2015 at 9:40 am

Hi there,

You’ll find the template to edit the Thank You page in /shortcodes/espresso_thank_you/templates/thank-you-page-overview.template.php. However, please note that we do not recommend modifying this template directly.

Instead, you can use the WordPress filter and action hooks in the template to modify the output. For example, the ‘FHEE__thank_you_page_overview_template__order_conf_desc’ allows for changing the Congratulations message to something else, on-the-fly. So if the payment status isn’t completed yet, a different message can be displayed there.

Along with that, you can use the action hooks to move the content that normally appears at the bottom of the page to the top of the page.


HopFamilies

July 28, 2015 at 5:59 am

Thanks. Do you have a how-to on using the action hooks?


Josh

  • Support Staff

July 28, 2015 at 9:12 am

It turns out there are a number of resources that explain how to use WordPress filter and action hooks:

https://codex.wordpress.org/Plugin_API#Hooks.2C_Actions_and_Filters
https://wordpress.org/support/topic/fliters-vs-actions-from-a-newbe
http://code.tutsplus.com/articles/the-beginners-guide-to-wordpress-actions-and-filters–wp-27373
http://www.smashingmagazine.com/2012/02/inside-wordpress-actions-filters/

The support post ‘Congratulations message on check payment’ 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.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  Josh 4 years, 4 months ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!