Search the Community
Showing results for tags 'gdpr'.
-
JcM GDPR-cookie-widgets V1.2 Phoenix let’s you add a cookie widget to your site. This will allow your customer to refuse cookies if they wish to and let you comply with legislation. What you allow will depend on who you are and what legal requirements you need to comply with. It is imposable to make an add-on that will work out of the box for all shops. The header_tag installs the main script which loads the main js and makes language selection. It also allows you to enter the custom scripts for your cookies. You have 10 input boxes admin to enter custom scripts. You do not need to use all 10, these are just to make management easy for most shops who will need only a few so can enter one into each box. If you need more than ten then just add extras all into one box. Included in the files is a list of some of the main scripts needed. Simply copy from <script to </script> and paste into input box and save. <script type="text/javascript"> (tarteaucitron.job = tarteaucitron.job || []).push('adsense'); </script> That’s all that is required. If you need more scripts then go to this website and search for the one you need. https://opt-out.ferank.eu/en/install/ The script is multilingual but I have only added a few to the code. These are in the header_tag class so if you need more you can edit it and add them. $language_code == 'fr' || $language_code == 'en' || $language_code == 'nl' || $language_code == 'de' || $language_code == 'es' || $language_code == 'it' || $language_code == 'pt' || $language_code == 'pl' || $language_code == 'ru' ) { I have to thank @Gyakutsuki for all his help with this add-on and especially the multilingual code. That’s it again as always copy everything over into correct directory's don't forget to copy the new js files to ext. Then go into admin and install and set up the module. The rest is straightforward and should be self explanatory. Has been tested on Phoenix 1.0.3.0 only. You can see it working on this site Enjoy.