How Can I Set EU Cookie Law Compliance on my 3dcart Store?
To help you along the way, we've prepared the following article which will help you install a very basic script called jquery.cookiebar which offers this basic cookie law compliance functionality.
The steps outlined here will require knowledge in FTP and some basic HTML coding which is not within the scope of 3dcart's technical support services. Wherever possible, we will outline the necessary steps here in this KB Article, but please be aware that 3dcart's support team is neither qualified nor allowed to implement any coding changes for you.
Also note that the script described and used in this article is not developed nor managed by 3dcart. It is a free script readily available by clicking this link.
As such, we are unable to provide direct support or troubleshooting services for the script, and we assume no responsibility in its use. For documentation on using and customizing the script, please refer to the link above.
Ok, we're done with the disclaimer. The rest of this process will be fun. Let's get to it!
Before You Begin
Please be sure to have the following ready before you proceed.
Step 1 - Download the attached Zip File
You should have 2 files in the zip archive.
Now that you have the files needed, our next step will be to upload it to your site via FTP. But first, you need to know which theme folder to upload it to, so let's find that out first.
Finding your Theme
Armed with the theme folder information, proceed to the next step.
Step 2 - FTP to your Store
We promise that it's really easy once you get the hang of it!
Be sure to replace "[themefolder]" with your theme's folder name.
Alright. That was the hard part. We're halfway there. Onto the next step!
Step 3 - Editing your frame.html file
Although this step might be a little scary, we'll do our best to make it as painless and easy as possible.
From your 3dcart Online Store Manager:
Add the following code right before the closing head tag.
<!--START: EU Cookie Bar -->
Save your changes and let's go test your store!
Now, when you first visit your store, you will see the following banner located at the top.
Clicking on the "I Understand" button will hide the banner and the disclaimer won't appear anymore until the session cookie is reset or expires - which it is set to do after a year has passed.
The settings of the actual script are pretty easy to configure as well.
Again, please refer to the scripts original documentation for specifics on what each setting does.