Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Customizing currency display | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Customizing currency display

Customizing currency display

Posted: April 17, 2014 at 3:47 am

Viewing 3 reply threads


Michel Leprêtre

April 17, 2014 at 3:47 am

Hi,
I would like to display prices like this : 100 € instead of EUR100, to respect french usage.
Any idea ?
Thanks !
Michel


Dean

  • Support Staff

April 17, 2014 at 4:21 am

Hello Michel,

In EE3, it is quite hard to manage as it requires editing numerous template files.

We realised that different countries use different currency formats, so in EE4 we have made it very easy and very flexible to change the format, from the settings page.

If you absolutely need it in EE3, then you will need to check each template file (event-espresso/templates) and look for $org_options[‘currency_symbol’] and shift it around the price as needed.

For example in event_list_display.php it has

<?php echo  $org_options['currency_symbol'].$event->event_cost; ?></p>

this could be changed to

<?php echo  $event->event_cost. ' ' . $org_options['currency_symbol']; ?></p>

It will still show EUR rather than € due to encoding issues. Again that has been changed in EE4, to respect currency symbols better.


Michel Leprêtre

April 17, 2014 at 5:58 am

Hello Dean,
I have to use EE3 because I need Calendar !

It’s too much work to change all templates, but I have used the solution found in
using ‘EUR ‘ replacement. So I get EUR 200, it’s better ! I tryed using ‘€ ‘ : it works, but Paypal gateway receive a wrong currency code !!!
Thanks anyway,
Michel


Michel Leprêtre

April 18, 2014 at 3:02 am

Hello Dean !

Do you plan to integer Calendar in EE4, which seams to be much flexible ?

Thanks,
Michel

Viewing 3 reply threads

The support post ‘Customizing currency display’ 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 - Staging Server