• Resolved kouchengfan

    (@kouchengfan)


    Hi there,

    I have recently installed the WooCommerce Price Based on Country plugin on my webstore. However, it seems that the geolocation feature is not working properly. The price of products are showing the same even browsing from different country. In my case, Australia and USA, it is working fine in test mode. However, I asked one of my friend in UK to have a check, it is showing the same.

    It would be great if you could help me out. Thank you for your help in advance.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    Geolocation is a WooCommerce feature, It is not a Price Based on Country feature.

    Price Based on Country display prices and currency based on the country that WooCommerce calculates using its own rules. Please check the next:

    • You have set Default customer location option to Geolocate
    • If you are using a cache system (plugin or cache via hosting) you must set Default customer location option to Geolocate (with cache support)
    • If you are running the test logged-in then WooCommerce gets country from user country (or shop base country).
    • Make sure that you are running test on new private window in your browser. WooCommerce saves customer country, and others data, in a session (cookie).
    • The Maxmin GeoIP database have been download. You can check it at WooCommerce system report.
    • As VPN software, currently I’m using TunnelBear.

    Regards,

    Oscar.

    Thread Starter kouchengfan

    (@kouchengfan)

    How do i set the Default customer location option ?

    • This reply was modified 8 years, 6 months ago by kouchengfan.
    Thread Starter kouchengfan

    (@kouchengfan)

    Yeah I think i have set the store as what you said. But it still doesnt work

    Plugin Author Oscar Gare

    (@oscargare)

    Plugin Author Oscar Gare

    (@oscargare)

    Hi, I’ve checked that your Maxmin GeoIP database have not been download, so Geolocation will not function.

    You can check it at your WooCommerce System Report: (in your wp-admin, WooCommerce -> Status)

    You can install it manually: Download from http://geolite.maxmind.com/download/geoip/database/GeoLiteCountry/GeoIP.dat.gz, extract (unzip) and upload to your site to the directory wp-content/uploads/

    Thread Starter kouchengfan

    (@kouchengfan)

    Hi Oscar,

    Thank you for your reply.

    However, it still doesnt work even through i have installed the Maxmin GeoIP database and it is shown working from WooCommerce Status.
    Cheers,

    Gary

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    I test your Beanie product url from Spain, and the product show 18$, that’s the product price for Spain.

    Do the test not logged in and browsing privately (right click and open in a new private Window)

    Regards,
    Oscar.

    • This reply was modified 8 years, 6 months ago by Oscar Gare.

    Hi,
    I have tried all the steps you have mentioned in this and the other posts..
    here is our website https://www.appliedaicourse.com/
    our base currency is INR
    We have used learnpress with woocommerce
    1) default customer location is Geolocate(with cache support)
    2) I’ve uploaded GeoIp.dat to wp-contents/uploads
    3) I’ve set the zones and pricing conversion from woocommerce dashboard

    not able to see the conversion in https://www.appliedaicourse.com/pricing-online-courses/?v=7516fd43adaa
    but,
    1) in the checkout page it shows the symbol in

    “$”

    and
    2)

    Price is shown without any conversion

    3) If our customer applied a COUPON CODE that coupon amount is

    shown with Converted price

    .

    Please let me know, If I have missed anything that has to be enabled

    We need this feature ASAP,
    we are ready to buy this PRO version but want to check whether this works or not..
    those prices have to be shown with converted currencies..
    this is our primary requirement.

    Plugin Author Oscar Gare

    (@oscargare)

    Hi,
    Make sure you have not another multi-currency plugin installed.

    Also may be that your issue is related with cache. You cache system is ignoring the ?v=XXXX parameter and is serving a old version of page. To test the plugin is working, add a product to the cart, go to checkout and change the billing (or shipping country, according to your PBC option “Price Based on”), if price changes then plugin is working fine.

    Disable your cache system and do a test.

    @wrigs1 have developed two solutions to solve the issues with cache and geo-location:
    https://wordpress.org/plugins/country-caching-extension/ for Comet chache
    and https://wordpress.org/plugins/country-caching-extension-for-wp-super-cache/ for wp super cache

    You must know that Geolocation is a WooCommerce feature, it is not a PBC feature, so If your problem remains, you should open a ticket in WooCommerce support forum.

    I hope this help.

    Regards,
    Oscar.

    Any luck to make it work for Cache Enabler?

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘geolocation feature is not working’ is closed to new replies.