Posted: September 26, 2014 at 7:57 am
|
We followed a pre-post on how to remove: Your registration is not complete until payment is received. But it is still showing on the checkout. Can I please have some support regarding this. Below is the text file to show we completed the instructions but still not removed from the cart. Thanks payment_page.php – Moved – (displays your payment page text) |
Hi Patrick, Are you using Multi Event Registration? |
|
|
Yes |
When using MER the payment_page.php template file is not used. For MER registrations a core function is used to output that data. This is within event-espresso/includes/process-registration/add_attendees_to_db.php lines 805 to 807 has this: However as that is a core file, any edits made will be lost after each update. Are you looking to re-phrase ‘Your registration is not complete until payment is received’ or completely remove it (include the notice box – the yellow box)? |
|
|
I would like it removed. |
September 26, 2014 at 10:05 am This will work in a site specific plugin or in your child theme’s functions.php file: function mycustom_filter_gettext_mer_messaging( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'Your registration is not complete until payment is received.' => '' ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'mycustom_filter_gettext_mer_messaging', 10, 3 ); — |
|
|
September 26, 2014 at 10:14 am Thank you. Another issue Im have is when a customer is registering it sends a registration email to customer before they finish registration process. There for confusing them thinking they are registered without either paying or choosing offline option. Is there a fix for this? |
September 26, 2014 at 10:39 am Yes just go to Event Espresso -> General Settings -> Email Settings. You’ll find the option ‘Send registration confirmation emails before payment is received?’, set that to No and update the settings. The Confirmation email will then only be sent when payment is complete. |
|
|
September 26, 2014 at 12:57 pm Another line I would like to remove is Attention! I just want click to Complete your Registration |
Hi Patrick, That message is there as the button needs to be clicked to complete the registration processes. Are you using those payment options now or will they be needed in the near future? — |
|
|
September 26, 2014 at 11:28 pm Can the rest of text be removed and have only Attention! Its confusing to customers and would be better as a actual button. Is this doable? I give customer option to pay online or day of the class. I want them to regsiter their seat. I want to make it dummy proof. Customers are not the most computer savy. Thanks |
Update the prior function to this: function mycustom_filter_gettext_mer_messaging( $translated, $original, $domain ) { // This is an array of original strings // and what they should be replaced with $strings = array( 'Your registration is not complete until payment is received.' => '', 'If you wish to pay by check or money order, then please make note of the information above, and click to Complete your Registration' => 'Click Here to Complete your Registration' ); // See if the current string is in the $strings array // If so, replace its translation if ( isset( $strings[$original] ) ) { // This accomplishes the same thing as __() // but without running it through the filter again $translations = get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'mycustom_filter_gettext_mer_messaging', 10, 3 ); — |
|
The support post ‘Your registration is not complete until payment is received.’ 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.