Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author mooberrydreams

    (@mooberrydreams)

    I will definitely add that in the next update.

    In the meantime, if you need it now, you can add the following code to your functions.php file or in the mooberry-book-manager.php file.

    If you need assistance adding this code, email me at bookmanager @ mooberrydreams.com and I can help you further.

    add_filter('mbdb_get_currency_array', 'mbdb_add_south_african_rand');
    	function mbdb_add_south_african_rand($currency) {
    		$currency['ZAR'] = __('South African Rand', 'mooberry-book-manager');
    		return $currency;
    	}
    
    	add_filter('mbdb_get_currency_symbol_array', 'mbdb_add_sourth_african_rand_symbol');
    	function mbdb_add_sourth_african_rand_symbol( $symbols ) {
    		$symbols['ZAR']   = 'R';
    		return $symbols;
    	}
    Thread Starter CornflowerBlues

    (@cornflowerblues)

    Thank you very much! I should be able to manage adding it myself ??

    Plugin Author mooberrydreams

    (@mooberrydreams)

    This was added to the 2.4 update.

    we are selling books in Indian Rupees (currency = INR, sign = ?). Is it possible to add that to the currency drop down with the next update please?

    If possible help us to do that immediately.

    Thanks!

    Plugin Author mooberrydreams

    (@mooberrydreams)

    Thanks for the head’s up! I apologize that Indian Rupees were left out. It will be added to the version 3.0 update which should be coming in the next day or so but in the meantime, you can add this as mentioned above:

    add_filter('mbdb_get_currency_array', 'mbdb_add_indian_rupee');
    	function mbdb_add_indian_rupee($currency) {
    		$currency['INR'] = __('Indian Ruppee', 'mooberry-book-manager');
    		return $currency;
    	}
    
    	add_filter('mbdb_get_currency_symbol_array', 'mbdb_add_indian_rupee_symbol');
    	function mbdb_add_indian_rupee_symbol( $symbols ) {
    		$symbols['INR']   = '?';
    		return $symbols;
    	}

    thank you for this superb plugin, but why currency function is so disastrous – Assume it’s more ease to add all currencies from the first begining, than code add/remove GUI stuff?

    I found myself with urgent need of 2 currencies (EUR & RUB)

    Plugin Author mooberrydreams

    (@mooberrydreams)

    The list of currencies came from a list I found online. The omissions were not done on purpose.

    EUR is already in the list, assuming you mean Euro.

    By RUB do you mean Russian Ruble? I will add this in for the next update.

    probably You used not the best up-to-date list, try original source (I mean official body) https://www.iso.org/iso/home/standards/currency_codes.htm

    sorry, for EUR – my mistake, don’t know why missed that value, probably drop-down list pop-upet somewhere in the middle, not from start

    btw, tried to add code to plugin’ functions.php –

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Request: Add South African Rand currency’ is closed to new replies.