Viewing 3 replies - 1 through 3 (of 3 total)
  • The Delivery Notes plugin seems ot be fine. It’s possible that the currency you added has a dollar symbol too, or perhaps its symbol is not supported by WooCommerce and it defaults to “$”.

    I don’t know which currency plugin you use, our Currency Switcher allows to specify the symbol in the plugin settings, so that it comes out the way you like it. Perhaps the plugin you use has a similar feature.

    Thread Starter obriandavids

    (@obriandavids)

    Yes, my custom currency does have a $ symbol. Infact, the full currency symbol is N$

    Please tell me how i can work around this? is there a solution?

    thank you

    I have tried this as well, and I have no problems. Thing to consider: only new orders are registered with this currency. If you take an order that was charged in Euros, it will stay that way as changing the currency symbol would mean you have to change the amounts as well.

    How did you register your custom currency?

    What I did was add this to my functions.php:

    function add_my_currency( $currencies ) {
    	$currencies['ND'] = __( 'Namibian Dollar', 'woocommerce' );
    
    	return $currencies;
    }
    add_filter( 'woocommerce_currencies', 'add_my_currency' );
    
    function add_my_currency_symbol( $currency_symbol, $currency ) {
    	switch ( $currency ) {
    		case 'ND':
    			$currency_symbol = 'N$';
    
    			break;
    	}
    
    	return $currency_symbol;
    }
    add_filter( 'woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2 );

    It was inspired from this page: https://docs.woothemes.com/document/add-a-custom-currency-symbol/

    Let me know if this solves your problem ??

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Currency change problem’ is closed to new replies.