In payment_page.php, around line 38 you will see the string in question.
<?php _e('Your registration is not complete until payment is received.', 'event_espresso'); ?>
You could modify it to be like this
<?php
//var_dump($event);
if($event->id == 3) {
echo "TEST";
}
else {
_e('Your registration is not complete until payment is received.', 'event_espresso');
}
?>
Obviously replace TEST with the text you want it to display.
You could easily change the $event->id to $event->category_id and use a category instead, so that you don’t have to change the code all the time, but simply allocate that category to the event.
It took me a while to figure out that category_id is a string number, not the name of event category defined in Event Espresso. Grrrr. I also ended up using a switch statement instead of if/else and everything is working great.
Viewing 2 reply threads
The support post ‘Custom Payment Overview verbiage’ 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.