cyberaver Posted September 20, 2010 Share Posted September 20, 2010 HiI was using magento for many of my sites, but now I am testing Prestshop.. and its much easier and faster... good job prestashop team..!I want to know how can I add a custom HTML code to every page... is any way?It its to add the live chat www.olark.com into each of my pages.... The only requirement that I have is"Paste this code above the last </body> tag on your page and upload the changes to your website:"thanks in advance! Link to comment Share on other sites More sharing options...
razaro Posted September 20, 2010 Share Posted September 20, 2010 Try to add necessary code to footer.tpl in your theme folder. {$HOOK_FOOTER} {/if} // .....here... </body> </html> Link to comment Share on other sites More sharing options...
Expand Sites Posted September 22, 2010 Share Posted September 22, 2010 I am looking for the same info. I tried to add the script code right before the </body> and it did not work. It's even hiding the 3rd col I have in my design. The site I am trying to use Olark is Houston Web Design. Any ideas how to make the Olark work for PrestaShop? Link to comment Share on other sites More sharing options...
razaro Posted September 23, 2010 Share Posted September 23, 2010 I didn't looked for what code is needed but after seeing there website some part is javascript so that needs to be between {literal} ... {/literal} tags, like this : <script type='text/javascript'> {literal} olark.extend(function(api){ api.chat.updateVisitorNickname({snippet: "Billy"}); }); {/literal} </script> Try it. Link to comment Share on other sites More sharing options...
bcx Posted October 1, 2010 Share Posted October 1, 2010 We noticed a bunch of our customers were having trouble getting the Olark Live Chat code to work in Prestashop, so we added a tutorial :-)http://www.olark.com/tutorials/prestashop.html'>http://www.olark.com/tutorials/prestashop.htmlThe key thing to remember is to make sure that you are wrapping the code in {literal} {/literal} as per the advice in this thread :-)How are you guys liking Olark btw?Cheers,Ben Congletonhttp://www.olark.com 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