Forums

Events Manager
[resolved] South Africa Currency symble not listed (19 posts)

  1. 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

  2. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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

  3. 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

  4. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    will do, should be out in next update

  5. 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

  6. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    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

  7. 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....

  8. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 1 year ago #

    it's a wp filter - em-functions.php

  9. bazonline
    Member
    Posted 1 year ago #

    Got it, thanks a lot!

  10. 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.

  11. symi
    Member
    Posted 10 months ago #

    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.

  12. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    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.

  13. HaneD
    Member
    Posted 10 months ago #

    thanks this will do.

    Now I also learned something new :-)

  14. symi
    Member
    Posted 10 months ago #

    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.... :)

  15. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    @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.

  16. symi
    Member
    Posted 10 months ago #

    :) 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.

  17. 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!

  18. Marcus
    NetWebLogic Support
    Plugin Author

    Posted 10 months ago #

    @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');
  19. 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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic