X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   News and Announcements (https://forum.x-cart.com/forumdisplay.php?f=28)
-   -   Gdpr - upcoming law for European merchants (https://forum.x-cart.com/showthread.php?t=75544)

ITVV 05-08-2018 06:02 AM

Re: Gdpr - upcoming law for European merchants
 
@TripleARacing

That was very funny and so correct :lol: :lol: :lol:

Kind regards

ITVV

cflsystems 05-08-2018 06:17 AM

Re: Gdpr - upcoming law for European merchants
 
In most installations of XC4 you will not be able to auto install this module even on latest version. Unless you are using stock XC which is almost never the case.
It is best to install the module manually and make sure it fits the site theme.
Since QT is looking at this as a module and not important / security patch they will release it for latest versions only. Anything before 4.7.x is considered absolete and not supposed. You can request installation for 4.6 and even 4.5 and if there are enough ppl to want it I guess QT will add them.

ITVV 05-08-2018 06:21 AM

Re: Gdpr - upcoming law for European merchants
 
@cflsystems

But Steve do you not find it odd that there are no ready made patches for 4.5.1 > 4.6.? 8O

I don't want an auto install but I do not want to hack away at 4.7.? patch and 'figure' it out 8O

Regards

ITVV

aim 05-08-2018 06:50 AM

Re: Gdpr - upcoming law for European merchants
 
Hello,

I have uploaded eu-gdpr-4.6.6.tgz module.

https://secure.x-cart.com/customer.php?area=filearea&target=files_explorer&f older_id=388826

Thank you.

cflsystems 05-08-2018 06:51 AM

Re: Gdpr - upcoming law for European merchants
 
To be honest given the fact that XC4 is left to die I am surprised they even have this for all of 4.7.x versions.
Also if you use 4.7.0 pack I am sure it will install without much issues to 4.6.6. I have not tried but these versions are really close to each other and probably 90% of the code is the same

ITVV 05-08-2018 06:53 AM

Re: Gdpr - upcoming law for European merchants
 
@aim

Many thanks - great service.

Kind regards

ITVV

simetria 05-08-2018 07:13 AM

Re: Gdpr - upcoming law for European merchants
 
Quote:

Originally Posted by aim

Ildar, is the integration to a 4.6.1 install the same or close as for a 4.6.6?

-S

elmirage001 05-08-2018 03:32 PM

Re: Gdpr - upcoming law for European merchants
 
I have the 4.6.6 version working except for the geoip function.

If you use Total Server Solutions you can go to 'cpanel' and check and save the 'geoip' checkbox in the php extenstion section of 'Select PHP Version'.

Does anyone know what XC version the function "geoip_continent_code_by_name" exists?

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);
}


Thanks!

Paul

Updated - Sorry... It's a PHP function

http://php.net/manual/en/function.geoip-continent-code-by-name.php

kevinrm 05-08-2018 06:24 PM

Re: Gdpr - upcoming law for European merchants
 
Regarding the version for XC5, we had an issue where if you click the "I consent to the collection and processing of my personal data" checkbox, the credit card fields would show up normally, but if you then checked "Add a coupon" they would become disabled and greyed out. This turned out to be an issue of using CloudFlare.

If you use CloudFlare…

1) Make a page rule for this page: *domain.com/?target=checkout
2) Disable Performance

kevinrm 05-09-2018 08:09 PM

Re: Gdpr - upcoming law for European merchants
 
This module has further issues which are being addressed. For one, the click box for new account creation in the pop-up is not clickable. They are working on it but this module is not really ready for live stores at the time of this writing, at least if you wish to allow new customer accounts to be created.


All times are GMT -8. The time now is 02:18 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.