
alim@h2monline.com(@alim-h2monline-com)
3 Posts
Customers
Quote from alim@h2monline.com on December 28, 2021, 13:33
Dears
Thanks for your wonderful plugin
I notice that after activating the plugin, the setup of the currency in function.php is not working
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'BHD':
if(ICL_LANGUAGE_CODE=='ar'){
$currency_symbol = 'د.ب';
}else{
$currency_symbol = 'BHD';
}
break;
}
return $currency_symbol;
}
This setup should change the currency from Arabic name to English name, as we do not use Arabic name
and also in the dropdown of the symbols, there is no English name
Can you please help to enforce the plugin to use an English name not an Arabic name?
https://ibb.co/0Y7XVdv
Thanks
Dears
Thanks for your wonderful plugin
I notice that after activating the plugin, the setup of the currency in function.php is not working
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'BHD':
if(ICL_LANGUAGE_CODE=='ar'){
$currency_symbol = 'د.ب';
}else{
$currency_symbol = 'BHD';
}
break;
}
return $currency_symbol;
}
This setup should change the currency from Arabic name to English name, as we do not use Arabic name
and also in the dropdown of the symbols, there is no English name
Can you please help to enforce the plugin to use an English name not an Arabic name?
https://ibb.co/0Y7XVdv
Thanks

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 29, 2021, 10:21
Hello
Please use this hook 'woocommerce_currency_symbol' with priority - 99999
Hello
Please use this hook 'woocommerce_currency_symbol' with priority - 99999

alim@h2monline.com(@alim-h2monline-com)
3 PostsTopic Author
Customers
Quote from alim@h2monline.com on December 29, 2021, 15:52
Thanks, its work
Thank you for your plugin
Thanks, its work
Thank you for your plugin

Pablo Borysenco(@pavlo_borysenco)
34,196 Posts
Quote from Pablo Borysenco on December 30, 2021, 11:06
Hello
Welcome;)
Hello
Welcome;)