In Dubai dirham symbol has been change from د. إ to D (Dirham currency symbol)

This topic has 6 replies, 2 voices, and was last updated 2 weeks ago ago by Luca Rossi

  • Avatar: Yahoo Souq
    Yahoo Souq
    Participant
    June 17, 2025 at 01:39

    i want to use instead of old Dirham currency symbol to new symbol in Dubai dirham symbol has been change from د. إ to D (Dirham currency symbol) Please update in my theme if possible thanks

    5 Answers
    Avatar: Justin
    Luca Rossi
    Support staff
    June 17, 2025 at 09:02

    Dear @Yahoo Souq,

    We kindly request that you add the following code to the functions.php file located within your child theme:

    
    add_filter('woocommerce_currency_symbol', 'add_my_currency_symbol', 10, 2);
    
    function add_my_currency_symbol( $currency_symbol, $currency ) {
        switch( $currency ) {
            case 'AED': $currency_symbol = 'D'; break;
        }
        return $currency_symbol;
    }
    

    This code will modify the currency symbol for AED as needed.

    We hope this solution proves helpful. Should you have any further questions or require assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

    Avatar: Yahoo Souq
    Yahoo Souq
    Participant
    June 17, 2025 at 15:18

    Sorry i could not find where to place this code can you send me any link

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    June 18, 2025 at 05:53

    Dear @Yahoo Souq,

    We hope this message finds you well.

    In order to review and verify your current settings, we kindly request temporary access to your WordPress admin panel. To facilitate this, please create a new user account with Administrator privileges via your WordPress Dashboard.

    Once the account has been created, we would appreciate it if you could securely share the login credentials with us through the Private Content section provided for this purpose.

    Thank you for your cooperation and support.

    Best regards,
    The 8Theme Team

    Avatar: Yahoo Souq
    Yahoo Souq
    Participant
    June 29, 2025 at 06:02

    This is Dirham Currency new symbol i want to display on my website i try that code it shows only D not same as currency symbol

    Please contact administrator
    for this information.
    Avatar: Justin
    Luca Rossi
    Support staff
    June 30, 2025 at 05:18

    Dear @Yahoo Souq,

    We hope this message finds you well.

    It appears that a font file may also be required for proper implementation. For your reference, please review the following article:
    https://github.com/abdulrysrr/new-dirham-symbol

    Additionally, you can find detailed instructions on how to install a custom font using XStore in the documentation below:
    https://www.8theme.com/documentation/xstore/xstore-features/how-to-setup-custom-fonts-with-xstore/

    Should you have any further questions or need assistance, please do not hesitate to reach out.

    Best regards,
    The 8Theme Team

  • Viewing 6 results - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.Log in/Sign up

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.