This user has no favorite topics.
Favorite Forum Topics
Forum Topics Created
Status |
Topic
|
Supporter | Voices | Posts | Freshness |
---|---|---|---|---|---|
i wont to translate currency from EGP to جنيه
Started by: mohameda-80
in: English Support
Problem: functions.php file of their theme after ensuring a full site backup. add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'EGP': if(ICL_LANGUAGE_CODE=='en'){ $currency_symbol = 'EGP'; }else{ $currency_symbol = ' جنيه '; } break; } return $currency_symbol; } We asked the client to try this solution and provide feedback. If this solution does not apply to your situation, or if it seems outdated, we recommend opening a new support ticket. We also highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If further assistance is needed, please contact us through the WPML support forum. |
|
2 | 4 |
4 years, 5 months ago
mohameda-80 |