brave200 Posted January 28, 2014 Share Posted January 28, 2014 I have an SSL that I want to place in the header of my store. I was thinking of pasting the following code into header.tpl but I want to make sure it's positioned to the right side. Does anyone have experience doing this in prestashop? Thanks! <script language="javascript" type="text/javascript">//<![CDATA[var tl_loc0=(window.location.protocol == "https:")? "https://secure.comodo.net/trustlogo/javascript/trustlogo.js" :"http://www.trustlogo.com/trustlogo/javascript/trustlogo.js";document.writeln('<scr' + 'ipt language="JavaScript" src="'+tl_loc0+'" type="text\/javascript">' + '<\/scr' + 'ipt>');//]]></script>2. Copy and Paste the following piece of code and insert EXACTLY before your </BODY> tag.<script language="JavaScript" type="text/javascript">TrustLogo("http://www.nesgamestore.com/themes/nestheme/img/comodo_secure.png", "CL1", "none");</script><a href="http://ssl.comodo.com" id="comodoTL">SSL Certificates</a> Link to comment Share on other sites More sharing options...
vekia Posted January 28, 2014 Share Posted January 28, 2014 you can paste it to header.tpl file but remember to use {literal}{/literal} tags if you want you can also use free html block module and use code there without these tags. On module configuraiton page you can select "header" hook, it will work as you want then. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now