Zen Cart Logo
Forums / General Questions / Cookie warning

Cookie warning

Views: 1,596

Results 1 to 4 of 4
8 Sep 2015, 3:16 PM
#1
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Cookie warning

Because of the EU law stating every website using cookies should warn the users of the use of those cookies, I'm trying to implement the Multi language cookie consent plugin on our test site, www4. carmo.nl.

At the moment I get the following error: Uncaught TypeError: $.cookiesDirective is not a function

There are two .js scripts included which I did upload, namely jscript_a_jquery.js and jscript_jquery.cookiesdirective.js
The other files I uploaded/merged with my own file. The merging was the adding a piece of script to the bottom of one of my files.

Is there something I have done wrong and which I can fix so people visiting the site see the information about cookies?

8 Sep 2015, 3:51 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Re: Cookie warning

Siem:

Because of the EU law stating every website using cookies should warn the users of the use of those cookies, I'm trying to implement the Multi language cookie consent plugin on our test site, www4. carmo.nl.

At the moment I get the following error: Uncaught TypeError: $.cookiesDirective is not a function

There are two .js scripts included which I did upload, namely jscript_a_jquery.js and jscript_jquery.cookiesdirective.js
The other files I uploaded/merged with my own file. The merging was the adding a piece of script to the bottom of one of my files.

Is there something I have done wrong and which I can fix so people visiting the site see the information about cookies?

I haven't used this plugin, but a few things in trying to help find a solution:
keneso (author posting that version) appears to be online at the moment, but at the same time there does not appear to be a direct support forum thread for this plugin. There was someone that had an issue with installing what looks like the same version, but they managed to solve the issue on their own: https://www.zen-cart.com/showthread.php?217898-Multi-language-Cookie-consent

Otherwise there is still a thread about some form of cookie consent code (I see that there was an "older" version as well) and it also appears that people posting to that thread have had success of getting one or the other to work with ZC 1.5.4... So, don't know what the real differences between the two plugins are, but that thread is: https://www.zen-cart.com/showthread.php?199502-Cookie-Control-Support-Thread

Beyond that, hopefully some real assistance can be provided... :)

9 Sep 2015, 7:15 AM
#4
siem avatar

siem

New Zenner

Join Date:
Mar 2015
Posts:
28
Plugin Contributions:
0

Re: Cookie warning

Got it to work thanks to https://www.zen-cart.com/showthread.php?217898-Multi-language-Cookie-consent.
When I didn't load the .js files I got the error, when I loaded both of them I got the error, when I only loaded jscript_jquery.cookiesdirective.js it worked!

Thanks for helping.