Gateways Currency Converter Module is overriding my custom currency symbol
-
I set my store in US dollars but I want to convert to Argentine pesos in the checkout, so I’m using the Gateways Currency Converter Module.
I’m also using this code to convert currency symbols to my needs:
// Change WooCommerce currency symbol (https://docs.woocommerce.com/document/change-a-currency-symbol/) add_filter('woocommerce_currency_symbol', 'change_existing_currency_symbol', 10, 2); function change_existing_currency_symbol( $currency_symbol, $currency ) { switch( $currency ) { case 'ARS': $currency_symbol = 'ARS'; break; case 'USD': $currency_symbol = 'US$'; break; } return $currency_symbol; }
Here’s the issue: when I enable Gateways Currency Converter Module, it overrides my code for both ARS and USD.
I need to show to the customer that the price in USD is being converted to ARS. Any way to keep the plugin from touching my code?
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Gateways Currency Converter Module is overriding my custom currency symbol’ is closed to new replies.