Plugin Author
Altos
(@sefin)
Are you using the last version of the plugin? (Which is 2.4.1)
Yes. 2.4.1
Please help me fix this.
Plugin Author
Altos
(@sefin)
What is the currency you’re using? I’m sorry but I couldn’t find the same currency on WooCommerce settings.
Default Ukrainian currency in Woocommerce is a symbol “₴”, but usually all ecommerce in Ukraine use habitual reduction “грн”. For this i use code in functions.php:
add_filter( 'woocommerce_currencies', 'add_my_currency' );
function add_my_currency( $currencies ) {
$currencies['UAH'] = __( 'Українська гривня', '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 'UAH': $currency_symbol = 'грн'; break;
}
return $currency_symbol;
}
Plugin Author
Altos
(@sefin)
I think that the problem is just there, in the functions.php as no other problems have been reported using the existing WooCommerce currencies.
Could you check if the file “functions.php” is saved using the UTF-8 encoding?
I think there are some encoding ploblems in your file functions.php.
I checked “functions.php” – it is saved using the UTF-8 encoding.
All other products without using “WooPrice Calculator” showing currency “грн” correct. Only “WooPrice Calculator” products has this problem.
Problem Solved by showing currency “грн” with using plugin “Saphali Woocommerce Russian”.