cafeart@letme.co.za
Member
Posted 1 year ago #
Hi
hope you are well. thanks for the awesome plugin. i would like to use it in order to list my event and also reserve/sell tickets - only problem our country currency is not listed
would you be so kind to add Rands to the currency list under the events calendar
South Africa ZAR Symbol R
i trust that is will be a small adjustment
Look forward to your reply
Regards
Lizelle
we've only added specific currencies for a specific reason (slipped my mind now, i just remember it was a good one), but I can add a filter so you can add this yourself
we'd definitely revisit this soon though as obviously I'm sure this question will pop up again
cafeart@letme.co.za
Member
Posted 1 year ago #
Hi marcus,
Thanks for the reply
Will you kindly add the filter - do I then need to upgrade the plugin
Regards
Lizelle
will do, should be out in next update
MediaSponsor
Member
Posted 1 year ago #
Hi Marcus
Great tool your event manager! I love it and it really makes the live of the Swiss Club Russia a lot easier! Completely cool would be, if we could announce our prices in Russian Roubles!
Best regards from Moscow!
Till
hi Till,
you could manually add that by adding to the filter em_get_currencies with some PHP
the list we're using here is the list of accepted currencies by PayPal, we'll figure out a way to change that as we add more gateways to Pro
bazonline
Member
Posted 1 year ago #
Hi Marcus, great plugin - where can I add my countries currency? I cant seem to find em_get_currencies....
it's a wp filter - em-functions.php
bazonline
Member
Posted 1 year ago #
HaneD
Member
Posted 11 months ago #
Sorry I'm not to clued up about filters how can I add this to my themes function.php so the edit that I make wont get overridden when you update the plugin.
hi, i'm another south african asking the same question about ZAR / R.
any ideas when it will be working?
thanks for an AWESUM plug-in.
Symi.
I need to make a snippets section one day.... here's one I made earlier :)
function my_em_add_currencies($currencies){
$currencies->names['RUB'] = 'RUB - Russian Roubles';
$currencies->symbols['RUB'] = 'RUB';
$currencies->true_symbols['RUB'] = 'RUB';
return $currencies;
}
add_filter('em_get_currencies','my_em_add_currencies');
just paste that e.g. in your themes' function.php file. it's for russian Roubles, but hopefully that's enough for you to go on.
HaneD
Member
Posted 10 months ago #
thanks this will do.
Now I also learned something new :-)
hi folks - i tried editing the theme's function file, it made no difference. i then pottered off to the events plugin's file and edited the code to add ZAR in, and lo and behold, it wasn't rocket science. i just looked at the format as it was shown for the other currencies and problem solved.... :)
@symi make sure you pasted it in the right place, because that works for me. doing it your way will mean you need to repeat that on each plugin upgrade.
:) thanks Marcus!
i'll play around a bit more then, to make sure i get the Perfect Spot in the Theme.
for now, i'll just brave it and edit with each plugin update though, my event bookings are going live as we speak.
*excited bounce*
thanks for a BRILLIANT plug-in.
sumitp
Member
Posted 10 months ago #
Hey Marcus,
On the same lines as defined above I added "INR - Indian Rupees", but my problem is as paypal does not support INR, when the user is transferred to Paypal for payment, it shows the same value but in USD. Is it possible to have some currency conversion mechanism possible in the system?
Thanks!
@sumitp I'd ask questions on the pro forums if you're a pro member, you'll get answered faster.
You'd have to implement the conversion yourself though in the filter em_booking_get_price, I think it'd be as simple as
function my_em_booking_get_price($price){
return $price * 1; //change 1 to your conversion rate
}
add_filter('em_booking_get_price','my_em_booking_get_price');
sumitp
Member
Posted 10 months ago #
ook thats a decent solution... yup will do.. i am a pro members.. it was just that the google search had lead me here!!
thanks for the prompt reply.