Displaying correct currency symbol (Real of Brazil)
This commit is contained in:
parent
2e62d34ac9
commit
9db8cde82c
|
@ -83,6 +83,7 @@ Yes you can! Join in on our GitHub repository :) https://github.com/woothemes/wo
|
|||
== Changelog ==
|
||||
|
||||
= 1.4 =
|
||||
* Displaying correct currency symbol (Real of Brazil)
|
||||
* Improved default theme
|
||||
* Support for multiple and stacked (compound) taxes
|
||||
* Locale options for country address formatting and checkout fields
|
||||
|
|
|
@ -112,8 +112,8 @@ function get_woocommerce_currency_symbol( $currency = '' ) {
|
|||
if (!$currency) $currency = get_option('woocommerce_currency');
|
||||
$currency_symbol = '';
|
||||
switch ($currency) :
|
||||
case 'BRL' : $currency_symbol = 'R$'; break; // in Brazil the correct is R$ 0.00,00
|
||||
case 'AUD' :
|
||||
case 'BRL' :
|
||||
case 'CAD' :
|
||||
case 'MXN' :
|
||||
case 'NZD' :
|
||||
|
|
Loading…
Reference in New Issue