In this topic i would like to share code change currency symbol on woocommrce

Please go to file function.php, Apearace > Theme Editor

add_filter(‘woocommerce_currency_symbol’, ‘change_existing_currency_symbol’, 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case ‘USD’: $currency_symbol = ‘USD’; break;
}
return $currency_symbol;
}

 1,215 total views,  28 views today

Related Posts

  • In this topic we would like to provide css code for customer price color for products on woocommerce this example below we change product price color to black .woocommerce-Price-amount amount{color: #000 !important;}
    Tags: price, change, woocommerce, topic, code, products, woo, knowledge, website, woocomerce
  • Today we have many way to earn money, In this section we would like share about how to earn money from your website, 1. Google Adsense Google provide ads (Advertising) to your website, That why you have to make quality website for get many user traffic access to website 2.…
    Tags: website, knowledge

Categories:

No responses yet

Leave a Reply

Your email address will not be published.