Posted: June 17, 2014 at 5:06 am
|
Hello, “Full description of your purchases and registration information. Print it, download it, cherish it” This needs to be changed from “Print it, download it, cherish it” to “print/download” I read I can add a string to a .php file but I am not a coder, if you can tell me wht the whole file should look like I can make a translation file maybe? Also I saw somenone else asking about the order of questions on the order confirmation screen. I can edit the question groups order query with DESC/ASC – is there any way the code can be altered for the actual questions? ie a bit of php added to the template to set the order. It is important in my case as the questions are in chronological order but on the confirmation they are seemingly randomised. The order is kept in the emails so why not on this screen please? Thanks for your assistance, |
Hi Robert, What version of Event Espresso 4 are you running and what would you like to change the messaging to? We are aware of a sorting issue with the questions. It shows them in reverse order and sometimes does not cluster them by question groups. A fix will be available in an upcoming version of Event Espresso 4. — |
|
|
Hi, Just to add to Lorenzo’s answer, there’s a filter to change the wording. Add the following function to your themes functions.php or appropriate custom functions plugin and you can change the wording. function removecherish() { You should also be able to translate that using the language files – https://eventespresso.com/wiki/how-to-change-wording-with-poedit/ |
|
Hi Lorenzo, This is what I require please: TO thanks again, |
Add the following code to your child theme’s functions.php or in a site specific plugin: add_filter ('FHEE__payment_overview_template__order_conf_desc', 'ee_override_confirmation_text'); function ee_override_confirmation_text() { return 'Full description of your purchases and registration information.'; } function ee_override_confirmation_text_link( $translated, $original, $domain ) { $strings = array( 'View Full Order Confirmation' => 'Print/Download', ); if ( isset( $strings[$original] ) ) { $translations = &get_translations_for_domain( $domain ); $translated = $translations->translate( $strings[$original] ); } return $translated; } add_filter( 'gettext', 'ee_override_confirmation_text_link', 10, 3 ); It should then look like this: http://cl.ly/image/2U3I420T0X0f — |
|
|
Thanks! I found a site specific plugin the easiest option and it works fine. |
|
Hi Rob, Is this thread resolved now? |
|
Yes indeed. |
The support post ‘Registration Confirmation Message / Questions Order’ 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.