adding Vietnamese dong currency

This commit is contained in:
Patrick Rauland 2013-08-21 12:24:51 -05:00
parent 71bf3bf5c8
commit fa6814c03d
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,7 @@ function get_woocommerce_currencies() {
'THB' => __( 'Thai Baht', 'woocommerce' ),
'TRY' => __( 'Turkish Lira', 'woocommerce' ),
'USD' => __( 'US Dollars', 'woocommerce' ),
'VND' => __( 'Vietnamese Dong', 'woocommerce' ),
)
)
);
@ -147,6 +148,7 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
case 'THB' : $currency_symbol = '฿'; break;
case 'GBP' : $currency_symbol = '£'; break;
case 'RON' : $currency_symbol = 'lei'; break;
case 'VND' : $currency_symbol = '₫'; break;
default : $currency_symbol = ''; break;
}