Jump to content

Custom HTML code - Live chat


cyberaver
 Share

Recommended Posts

Hi

I 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!

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
Share on other sites

  • 2 weeks later...

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.html

The 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 Congleton
http://www.olark.com

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More