title: How to obtain and auto display visitor's geolocation data(country) on dropdown for woocommerce shop
body: <p>I have no idea on how to output the geolocation of the user on a WP with woocommerce installed. 
  From my research  I need to use the geolocate_ip function 
  <a href="https://docs.woothemes.com/wc-apidocs/class-WC_Geo_IP.html" rel="nofollow">https://docs.woothemes.com/wc-apidocs/class-WC_Geo_IP.html</a></p>
  
  <p>I have tried this, but it cannot find the function. I am sure that I have no clue what I am doing.</p>
  
  <pre><code>&lt;?php 
  $glctest = geolocate_ip( $ip_address = 'get_ip_address()', $fallback = true );
  echo $glctest;} ?&gt;
  </code></pre>
  
  <p>Aside from this, the next thing I am trying to learn is how to default the country in a dropdown form based on his geolocation. If someone can show me how to do this it would be really great...</p>