Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #119969
    Edwin
    Participant

    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.

    #119970
    tikaram
    Participant

    @mmhgloba : Please contact WooCommerce Support regarding this issue.

    Regards,
    Tikaram

    #119975
    Edwin
    Participant

    I 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 🙂

    #119979
    tikaram
    Participant

    @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,
    Tikaram

    #119980
    Edwin
    Participant

    I 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.

    #119981
    Edwin
    Participant

    I 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.

    #119982
    tikaram
    Participant

    @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,
    Tikaram

    #119983
    Edwin
    Participant

    Hello, Yes on the home page that is featured content that is handwritten. I will get it updated soon.Thank you.

    #119986
    tikaram
    Participant

    Hello, 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

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Change Currency’ is closed to new replies.