How to change woocommerce Price currency Symbol

Home Forums Legacy Support Support queries How-to & Troubleshooting How to change woocommerce Price currency Symbol

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #319208
    jaleelalsharaf
    Spectator
    Hi, how to change currency symbol from "د.ب500.00" to " BD 500.00". thanks & Regards,
    #319259
    Diana
    Participant
    Try adding this code in wp-admin > Plugins > Editor > Select WPLMS Customizer Plugin > wplms-customizer.php
    
    add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2);
    
    function change_existing_currency_symbol( $currency_symbol, $currency ) {
         switch( $currency ) {
              case 'BD': $currency_symbol = 'BD$'; break;
         }
         return $currency_symbol;
    }
    
    #319551
    jaleelalsharaf
    Spectator
    Hi, I added the code but nothing change. Regards,
    #319733
    Diana
    Participant
    Please share a screenshot where do you want to change the symbol? I will write code for that particular thing
    #319813
    jaleelalsharaf
    Spectator
    This reply has been marked as private.
    #320005
    Diana
    Participant
    But according to your screenshot it shows your currency changed
    #320012
    jaleelalsharaf
    Spectator
    hi, No i need the price in English not Arabic Regards,
    #320491
    Diana
    Participant
    Please share your site UR with admin credentials in a private reply here. I will add the code on your site
    #320654
    jaleelalsharaf
    Spectator
    This reply has been marked as private.
    #320713
    Diana
    Participant
    This reply has been marked as private.
    #320988
    jaleelalsharaf
    Spectator
    This reply has been marked as private.
    #321755
    Diana
    Participant
    This reply has been marked as private.
Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘How to change woocommerce Price currency Symbol’ is closed to new replies.