How to change the WooCommerce currency symbol? In this video, I will teach you How to Change the Default Currency Symbol in WooCommerce and add 3 Letter Currency Code To Price. Putting country currency code in front of price.
Steps
1. Open functions.php file.
Choose Appearance and then Theme Editor option from the left side of the WordPress dashboard menu.
Under the Theme Files title on the right side of the screen, click on the Theme Functions or functions.php document.
2. Adding the code snippet
Now you have functions.php file opened on the text editor window in the middle of the page. Scroll down to the bottom of the functions.php file and paste the following lines of PHP code.
/**
* Change a currency symbol
*/
add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
function change_existing_currency_symbol( $currency_symbol, $currency ) {
switch( $currency ) {
case 'AUD': $currency_symbol = 'AUD$'; break;
}
return $currency_symbol;
}
Before you save functions.php file, you need to make two small changes in the code.
3. Choose the currency of which you want to change the symbol and change it
Replace the AUD with the currency code of the currency you wish to change the symbol of. For example, you can write SGD for Singapore Dollar or USD for US Dollar
If you don’t know the currency codes of different currencies, you can refer www.iban.com/currency-codes to find out 3 letter currency code of any country
This is all you need to change the default symbol of a currency on WooCommerce. Now you can save the functions.php file and check your website if the changes have taken place.
Thanks for watching Janice Ong Channel
I will appreciate to see you Like, Comment this video & Subscribe to my channel as it helps me with making more future videos for you. Cheers!
♥ LIKE, SHARE this video & SUBSCRIBE.
youtube.com/@janiceongchannel... Support me in reaching 1000 subscribers!
Please leave comments if there are videos which you like to watch. :)
Thanks for watching. I hope you enjoy this video :) Do Support Me.
Buy me a coffee. Give me a tip at:
☕ ko-fi.com/janiceong
If you like to engage my e-Commerce, Digital Marketing, SEO, Training services, please visit my website anchorbizit.com.
Want to buy Sports Products, visit Sports Store Shop sportsstoreshop.com
Want to shop in Shopee, visit shope.ee/6zozFLzqE6
Products I use to make this video:
Poco M5 Buy at shope.ee/3prxThYfTT
Lenovo Laptop Buy at shope.ee/7KRpeGe6vQ
LG Monitor Buy at shope.ee/4KoE5Zzewn
Logitech Keyboard Buy at shope.ee/7pO6G7NVcP
🚫 Do not re-upload videos to other channels in any other form!
#janiceongchannel #singaporeyoutuber Janice Ong Channel Singapore Lifestyle. SG Lifestyle. Living In Singapore. Singapore Lifestyle Vlog, Blogging, Travel & Lifestyle Video Portal, The Adventurer Adventures, The Explorer, The Hiker, The Motivator, The Coach, The Teacher, The Trainer, The Facilitator, The Consultant, The Digital Marketer, The Photographer, The Videographer. I Walk. I Eat. I Take Videos & Photos. Singapore Walking Tours TV. Sharing is Caring. Love, Joy, Peace, Hope, Unity, Harmony. Janice Daily.
#vlogs #vlog #vlogging #motivation #vlogger #travel #travelvlog #singapore #asia #europe Shop At Amazon 👉 amzn.to/3U14tok Shop At Amazon 👉 amzn.to/3U14tok
Shop At Shopee Singapore 👉 shope.ee/9A1iSEXZ2W
Shop At Lazada Singapore 👉s.lazada.sg/s.YqxKN?cc __________________
Shop At Amazon 👉 amzn.to/3U14tok Shop At Amazon 👉 amzn.to/3U14tok
Shop At Shopee Singapore 👉 shope.ee/9A1iSEXZ2W
Shop At Lazada Singapore 👉s.lazada.sg/s.YqxKN?cc
Негізгі бет How to Change the Default Currency Symbol in WooCommerce? How To Add 3 Letter Currency Code To Price
Пікірлер