@cflsystems - not sure what you mean Steve?
Here is some code from GDPR Module for x-cart 4.6.6
Code:
// disable module for non-EU customers
if (
!defined('DEVELOPMENT_MODE') && !defined('XC_DEBUG_EU_COOKIE_LAW') // EU_GDPR
&& !in_array(func_constant('AREA_TYPE'), array('A','P'))
&& function_exists('geoip_continent_code_by_name')
&& in_array(geoip_continent_code_by_name($CLIENT_IP), array('AF','AN','AS','NA','OC','SA'))
&& !empty($CLIENT_IP) && !empty($smarty)
) {
unset($active_modules['EU_Cookie_Law']);
$smarty->assign('active_modules', $active_modules);
}
With GEoIP set the above code would immediately disable GDPR notice / cookie for any visit.
This works fine and disables any form of GDPR notice / checkout requirements
Regards
ITVV