- This topic has 8 replies, 2 voices, and was last updated 6 years, 8 months ago by tikaram.
-
AuthorPosts
-
August 2, 2017 at 2:14 am #119969EdwinParticipant
Hello, I am using woocommerce in the Adventurous Pro premium version. I want to change the currency to Singapore Dollars. How do I do this so that my website visitors will not be confused and think they are priced in US dollars?
Please see product listing here:
https://www.buddhastatuesnow.com/product/gold-gilded-crowned-amitabha-buddha-statue/
I have already changed the currency in the back office but it does not change the product display and is still looks like the USD symbol.
It is normally displayed S$ in front of the numerals to distinguish it from the dollar symbol.
August 2, 2017 at 3:04 am #119970tikaramKeymaster@mmhgloba : Please contact WooCommerce Support regarding this issue.
Regards,
TikaramAugust 2, 2017 at 5:59 am #119975EdwinParticipantI am a premium customer and I just renewed my annual subscription. Please assist if possible, Woocommerce support can take several days.
I want to remove the currency symbol display from $100.00 to SGD 100.00
This webpage was very helpful but can you confirm if it is correct for my theme? https://www.sellwithwp.com/pricing-remove-currency-symbol/
If so where do I insert it? In the functions.php in my childs theme? Or in the CSS editor?
Thanks for your consideration 🙂
August 2, 2017 at 6:27 am #119979tikaramKeymaster@mmhgloba : Please download the child theme from this link and edit the functions.php file in your child theme.
Add the following lines inside the functions.php file and save and activate the child theme.function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'SGD': $currency_symbol = 'SGD'; break; } return $currency_symbol; }
Let me know if you need further assistance.
Regards,
TikaramAugust 2, 2017 at 6:36 am #119980EdwinParticipantI got very busy after I last posted 🙂
I found some info listed here: https://docs.woocommerce.com/document/add-a-custom-currency-symbol/
I changed the currency to SGD and put in my childs theme.
I think it worked?
https://www.buddhastatuesnow.com/product/gold-gilded-shakyamuni-statue/
I will test it with my payment gateway as soon as I get the bank account attached.
Thank you for your assistance.
August 2, 2017 at 6:46 am #119981EdwinParticipantI changed the case also so the snippet I inserted looks like this:
add_filter( ‘woocommerce_currencies’, ‘add_my_currency’ );
function add_my_currency( $currencies ) {
$currencies[‘SGD’] = __( ‘Currency name’, ‘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 ‘SGD’: $currency_symbol = ‘SGD’; break;
}
return $currency_symbol;
}Everything seems ok from what I can tell.
August 2, 2017 at 6:56 am #119982tikaramKeymaster@mmhgloba : Your homepage is still showing Us Dollar as the currency but the products page is fine. Make sure that you created a child theme and you have not edited the parent theme. If you have edited the parent theme your settings will be lost in next theme update.
Regards,
TikaramAugust 2, 2017 at 7:00 am #119983EdwinParticipantHello, Yes on the home page that is featured content that is handwritten. I will get it updated soon.Thank you.
August 2, 2017 at 7:12 am #119986tikaramKeymasterHello, there,
I hope I was able to resolve your issue. If it’s not too much trouble, I have a quick request: could you please leave an honest review?
https://wordpress.org/support/theme/adventurous/reviews/#new-post
Your review will help others know what to expect when they’re looking for the support I offer. Even a sentence or two would be hugely appreciated.
Thanks, and if there’s anything else at all that I can do to help, don’t hesitate to let me know.Regards,
Tikaram -
AuthorPosts
- The topic ‘Change Currency’ is closed to new replies.