WOOCS - WooCommerce Currency Switcher


This hook allows to manipulate by currency on the checkout page if in tab Advanced enabled “Checkout by GeoIP rules” option.

If “Checkout by GeoIP rules” is enabled and country not described in GEO-IP rules checkout will be done with currency selected by user. Using this hook its possible to change this situation:

add_action('woocs_force_pay_bygeoip_rules', function($country, $user_currency, $current_currency) {
    global $WOOCS;
    if (!empty($user_currency))
}, 9999, 3);

Or use it hook by any another your logic …

Actual from: v.2.1.8/1.1.8

Also read: https://currency-switcher.com/possible-delivery-country-change-currency/