This topic contains 3 reply and 2 voices, and was last updated by Tareq Hasan 5 years, 6 months ago
Viewing 3 Posts - 1 through 3 (of 3 total)
Author Posts
April 3, 2014 at 2:21 pm 17907
Tareq Hasan Hi Support, I've made some withdraw testing, the email sent out a weird character in currency, see screenshot : Withdraw email
April 3, 2014 at 2:53 pm 17913
Tareq Hasan Tareq Hasan

What currency you are using?

April 3, 2014 at 3:04 pm 17921
Mohd Ghufran Mohd Ghufran

Malaysian Ringgit

Currency position : Left with space

April 3, 2014 at 3:36 pm 17935
Tareq Hasan Tareq Hasan

On /classes/email.php line 66, there is a function called currency_symbol. Which reads like this:
[php]
function currency_symbol( $amount ) {
$price = sprintf( get_woocommerce_price_format(), get_woocommerce_currency_symbol(), $amount );
$price = str_replace( array(‘£’, ‘€’, ‘$’), array(‘£’, ‘EUR’, ‘$’), $price);

return $price;
}
[/php]

Replace with this:
[php]
function currency_symbol( $amount ) {
$price = sprintf( get_woocommerce_price_format(), get_woocommerce_currency_symbol(), $amount );

return html_entity_decode( $price );
}
[/php]

We’ll push the fix in the next update.

Viewing 3 Posts - 1 through 3 (of 3 total)