• Resolved Snehal Volvoikar

    (@snehalvolvoikar29)


    We have an ecommerce store/website for the users worldwide. We need one feature where in the currency of the products on shop page should get changed automatically based on user’s location. Is this possible with woocommerce?
    I’ve enabled ‘Default customer location: GeoLocate’ and also integrated maxmind geoip.
    But it seems like it has no effect on the currency and it is getting displayed in USD – which is the default currency. We’ve also used VPN to test from different locations.

    I’ve checked woocommerce system status:
    Geolocation debug info
    Default customer location: geolocation
    MaxMind GeoIP database: working(enabled)
    MaxMind license: working(enabled)
    MM_COUNTRY_CODE: x
    GEOIP_COUNTRY_CODE: x
    HTTP_CF_IPCOUNTRY: x
    HTTP_X_COUNTRY_CODE: x
    HTTP_X_REAL_IP: x
    HTTP_X_FORWARDED_FOR: 157.x.x.x
    REMOTE_ADDR: 172.x.x.x
    Real external IP: 2409:4042:901:5327:6cc8:6f15:a1df:baf1
    Const WCPBC_USE_REMOTE_ADDR: –
    Geolocation Test: enabled

    Please help.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support abwaita a11n

    (@abwaita)

    Hi @snehalvolvoikar29,

    WooCommerce will normally display prices in the base currency set at WooCommerce → Settings → General > Currency Options

    You can enable switching of currencies through the options listed under Shop Currency – Multiple Currencies documentation or through some other third-party plugins.

    Hope this helps.

    Thread Starter Snehal Volvoikar

    (@snehalvolvoikar29)

    I wanted to know what the geolocate option does?

    Plugin Support RK a11n

    (@riaanknoetze)

    The geolocate function in the core WooCommerce plugin locates the user based on their IP address. This, in turn, preselects the country in the billing/shipping form during checkout while also applying tax rates (if configured) for the country they’re browsing from.

    It does, however, affect the currency since the core WooCommerce plugin only uses the base currency configured for the store. If you’d like to use geolocate AND change the currency at the same time, then you’d need additional extensions like https://woocommerce.com/products/multi-currency/ ??

    Hi @snehalvolvoikar29

    We’ve not heard back from you in a while, so I’m marking this thread as resolved. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Woocommerce currency switch based on users country’ is closed to new replies.