damsoi01 Posted April 20, 2014 Share Posted April 20, 2014 Hello, I found this great age verification system at age-verify.com and it asks to put this code in index.html or home.html under the <HEAD> section: <script type="text/javascript" src="http://age-verify.com/scripts/18A.js"></script> The issue is I don't find the right file where to put it in Prestashop 1.6.0.6 Any idea which file to paste it into? Link to comment Share on other sites More sharing options...
vekia Posted April 20, 2014 Share Posted April 20, 2014 header.tpl file located in your theme directory. paste this code right after the <head> code or before the </head> Link to comment Share on other sites More sharing options...
damsoi01 Posted April 20, 2014 Author Share Posted April 20, 2014 it works! thanks ! Link to comment Share on other sites More sharing options...
damsoi01 Posted April 20, 2014 Author Share Posted April 20, 2014 a last question, this script calls an html file in root directory (age_verification.html). How do I do to use it with simplified URLs? After I activated these simplified URLs it returned a 404 error since "en/age_verification.html" didnt exist. While when I use the complex URLs (without language extension and long complicated ligns of characters instead of SEO URLs) the script works just fine. Link to comment Share on other sites More sharing options...
vekia Posted April 20, 2014 Share Posted April 20, 2014 your js script must call file based on it's path with url (address with http) otherwise it will not work. Link to comment Share on other sites More sharing options...
papirex Posted February 14, 2015 Share Posted February 14, 2015 Do not use. it is a virus!!! it sbsolutely unlinked my shop. Some piece if fuckn shittt. Oh. I have my daily files saved. What a hell did fcked my database ( more than 300 links with age_verefication.html) fuuucked piece of sit and i am hate... Link to comment Share on other sites More sharing options...
Recommended Posts