Support

Home Forums Event Espresso Premium add currency for every event price

add currency for every event price

Posted: September 28, 2014 at 2:07 pm


mahmoud amin

September 28, 2014 at 2:07 pm

hi I need to add a currency for every price I add so I must have
1- USA general 10 $
2- England 7 EUR
as example for price list
thanks in advanced.


Lorenzo Orlando Caum

  • Support Staff

September 28, 2014 at 3:19 pm

Hi Mahmoud,

Event Espresso does not support multi-currency at this time. That information could be manually added to the event description, however, there isn’t an option to have one event process in one currency and another process in a different currency.


Lorenzo


mahmoud amin

September 29, 2014 at 5:39 am

thanks Lorenzo please if there are clean way to do this please told me or give me a hint I’m wordpress developer so any programming solution will not be a problem just any hint


Dean

September 29, 2014 at 5:56 am

Hi,

You would need to go through numerous files both admin and front end in order to do something like that.

I would advise starting in the /wp-content/plugins/event-espresso/includes/functions/pricing.php and also the template files, but you will probably need to look through the plugins files as price related functions and code is spread through out the plugin. If you are using any addons, they would potentially need to be checked as well.


mahmoud amin

September 29, 2014 at 11:03 am

thanks dean for your attention
I have an solution but I think it is not a proper way
I will edit this table EVENTS_PRICES_TABLE and add column for Currency
and edit the front end and the admin area to get currency from this way
the problem will be what if I update the plugin i will have a lot off troubles
what is your advice about this


Dean

September 30, 2014 at 2:10 am

Hi,

Editing the database tables like that is likely to cause errors further down the line, so I really do not recommend doing that.

The problem with what you are trying to achieve is that the plugin was not built with multiple currencies in mind, as such to change the plugin to accept them would require a fairly large over haul in my opinion.

At the very least you would need to modify the main price function and template files to display the correct currency and value.

We do have a list of recommended developers should that be needed: https://eventespresso.com/developers/event-espresso-pros/

The support post ‘add currency for every event price’ 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