I’d like to have my pricing table in Brazilian Reais (R$), but the R is way to big.
Any way to fix this ?
Hey ax2201!
Please add following code to Functions.php file in Appearance > Editor
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['ABC'] = __( 'Brazilian Reais', 'woocommerce' );
return $currencies;
}
add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
function add_my_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'ABC': $currency_symbol = 'R$'; break;
}
return $currency_symbol;
}
and choose Brazilian Reais in WooCommerce > Settings > Currency
Cheers!
Yigit
Thank you, but can you tell me EXACTLY where (on which line or after which section) to add the code, since I’ve never done this before. Thank you.
And also, where do i find the WooCommerce ?
Hey!
Sorry i thought you were using WooCommerce. Please add your prices to pricing table as following
10 <span class='currency-symbol'>R</span>$
You can download WooCommerce from here – http://wordpress.org/plugins/woocommerce/ also you can go to Plugins > Add New and search for “WooCommerce” to install it
Cheers!
Yigit
Works fine, thank you.