[email protected] Posted June 6, 2014 Share Posted June 6, 2014 Hello, I just started using Prestashop and would like to add the Purechat into my website. I tried using HTML Block and added the script provided by purechat into the edit HTML source, and then save changes, but the chat doesn't show up. But when I use Home Text Editor, the chat shows up, but only on the front page. I would like to know what is the problem, is it the problem with the script or....? This is the script of the purechat <script type='text/javascript'>(function () { var done = false; var script = document.createElement('script'); script.async = true; script.type = 'text/javascript'; script.src = 'https://widget.purechat.com/VisitorWidget/WidgetScript'; document.getElementsByTagName('HEAD').item(0).appendChild(script); script.onreadystatechange = script.onload = function (e) { if (!done && (!this.readyState || this.readyState == 'loaded' || this.readyState == 'complete')) { var w = new PCWidget({ c: '453724d0-b2ee-4440-9eda-fa8bd6455dde', f: true }); done = true; } }; })();</script> Thanks Link to comment Share on other sites More sharing options...
Mediacom87 Posted July 1, 2014 Share Posted July 1, 2014 Hi, if you want you can use our new free module to integrate PureChat on Prestashop http://www.prestashop.com/forums/topic/341017-free-module-purechat/ Link to comment Share on other sites More sharing options...
[email protected] Posted July 2, 2014 Author Share Posted July 2, 2014 That's awesome! It works now, thanks! 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