Home › Forums › All Other Themes › I need to replace this icon (₴)which is near the price of the goods on (Грн) how
- This topic has 6 replies, 2 voices, and was last updated 5 years ago by
Forum Moderator.
-
AuthorPosts
-
March 12, 2018 at 9:41 pm #96336
I need to replace this icon (₴)which is near the price of the goods on (Грн) how to do it?
My theme Adventure
my site: yesport.com.uaMarch 13, 2018 at 6:30 am #96355Already replied
March 14, 2018 at 11:42 am #96529but there is not correct.
nothing has changedMarch 14, 2018 at 12:07 pm #96539it is very urgent for me
help me pleaseMarch 14, 2018 at 12:27 pm #96554Hi,
Can you send us the screenshot of your issues? Upload your screenshot on imgur.com and paste the share url here.
Regards,
BradMarch 14, 2018 at 1:07 pm #96574https://imgur.com/a/Uf7EZ#7q8BZAH
правильно
И там стоит этот знак там нет грн.
этого не написано
Мне сказали это надо как-то чере код вставить.
в конце файла functions.phpadd_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;
}
March 14, 2018 at 1:27 pm #96583Hi,
Kindly check this article: https://docs.woocommerce.com/document/shop-currency/
Regards,
Brad -
AuthorPosts
- You must be logged in to reply to this topic.