Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

182
Views
Cambiar el símbolo de moneda en las notificaciones de correo electrónico de WooCommerce

Estoy luchando por cambiar el símbolo de moneda en las notificaciones por correo electrónico de WooCommerce.

En todas partes puede ver la moneda €, pero en cuanto abre los correos electrónicos, encuentra que la moneda allí es £.

Traté de agregar esta función usando 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; }

Pero nada ha cambiado. ¿Algún consejo?


Aquí hay una imagen simple para que también describa la situación:

ingrese la descripción de la imagen aquí

over 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Esto debería solucionar el problema:

 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 );

La diferencia es que actualmente está convirtiendo el símbolo € en el símbolo €


Probado en WordPress 5.8.3 y WooCommerce 6.0.0

over 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!