Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

184
Visualizações
Change currency symbol in WooCommerce emails notifications

I am struggeling by changing the currency symbol in WooCommerce email notifications.

Everywhere you can see the € currency, but as far as you open the emails, you find, that the currency there is £.

I tried to add this function using Snipets:

/**
* change currency symbol to €
*/

add_filter( 'woocommerce_currency_symbol', 'wc_change_uae_currency_symbol', 10, 2 );

function wc_change_uae_currency_symbol( $currency_symbol, $currency ) {
switch ( $currency ) {
case '€':
$currency_symbol = '€';
break;
}

return $currency_symbol;
}

But nothing has changed. Any advice?


Here is a simple image for that also describe the situation:

enter image description here

over 4 years ago · Santiago Trujillo
1 Respostas
Responde à pergunta

0

This should fix the issue:

function filter_woocommerce_currency_symbol( $currency_symbol, $currency ) {    
    // Compare
    switch( $currency ) {
        case 'GBP': $currency_symbol = '€';
        break;
    }
    
    return $currency_symbol;
}
add_filter( 'woocommerce_currency_symbol', 'filter_woocommerce_currency_symbol', 1, 2 );

The difference is that you are currently converting € symbol into the € symbol


Tested in WordPress 5.8.3 and WooCommerce 6.0.0

over 4 years ago · Santiago Trujillo Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda