Support

Home Forums Event Espresso Premium Creating custom currency

Creating custom currency

Posted: November 4, 2012 at 1:49 am


hussain husain

November 4, 2012 at 1:49 am

I’ve tried to change the currency to BHD(Bahraini dinar)
but unfortunately its replace it with (EUR)
is it possible to create custom currency?
at least print BHD instead of EUR
and it will be gr8 if I can make it 3 decimal places

more information about BHD(Bahraini dinar)
http://en.wikipedia.org/wiki/Bahraini_dinar


Dean

November 5, 2012 at 1:25 am

Hello Hussain,

Sorry, this is a known issue and it has been raised to be resolved.

If you don’t mind digging into a little bit of code it can be changed manually.

In event-espresso/includes/organization_config.php there is a list of currencies starting at line 55

If you add to the bottom of this list (below the thai bat) this code, it will change the symbol for you

case ‘BHR’ : $org_options[‘currency_symbol’] = ‘BD’; // Bahrain dinar
break;

This will replace the EUR with BD


hussain husain

November 7, 2012 at 2:49 am

Thank you Dean,
the currency symbol had replaced now 🙂

I’ll be glad if you correct the spelling of Bahrain in the next update
“Bahrein” = “Bahrain”


Dean

November 7, 2012 at 3:29 am

Hi Hussain,

Yes I have already picked up on that and I am in the process of resolving that and a few other country specific spellings, it should be in the next update.

The support post ‘Creating custom currency’ 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