Hi,
Yes. If you add such code:
if(!empty($_SERVER["HTTP_CF_IPCOUNTRY"])){
$geoClass = hikashop_get('inc.geoplugin');
$geoClass->countryCode = $_SERVER["HTTP_CF_IPCOUNTRY"];
if(!empty($geoClass->countryCode) && $geoClass->countryCode =='UK'){
$geoClass->countryCode='GB';
}
}
after the line:
$this->params = new HikaParameter( $plugin->params );
in administrator/components/com_hikashop/classes/geolocation.php
it will be compatible with that.
Note that you still need to configure one of the two services in the geolocation plugin for when cloudflare doesn't return a coutnry code (if their geolocation system is down, or cloudflare itself is down, etc).