Jump to content

  • You cannot start a new topic
  • You cannot reply to this topic

how to add 2desk live chat Rate Topic   - - - - -

 
  • sanjananb
  • Newbie
  • Members
  • Join Date: 21-Apr 12
  • 10 posts

Posted 27 May 2012 - 12:30 PM #1

How to insert this code provided by 2desk live chat software to my cscart site??
which file should be edited??

<!-- ClickDesk - <a href='http://www.clickdesk.com'> Live Chat Service </a> for websites -->
<script type='text/javascript'>
var _glc =_glc || [];
_glc.push('ag9jb250YWN0dXN3aWRnZXRyDwsSB3dpZGdldHMY59phDA');
var glcpath = (('https:' == document.location.protocol) ? 'https://contactuswidget.appspot.com/livily/browser/' : 'http://gae.clickdesk.com/livily/browser/');
var glcp = (('https:' == document.location.protocol) ? 'https://' : 'http://');
var glcspt = document.createElement('script'); glcspt.type = 'text/javascript'; glcspt.async = true;glcspt.src = glcpath + 'livechat.js';
var s = document.getElementsByTagName('script')[0];s.parentNode.insertBefore(glcspt, s);
</script><noscript><p><a href='http://gae.clickdesk.com/clickdeskchat.jsp?widget_id=ag9jb250YWN0dXN3aWRnZXRyDwsSB3dpZGdldHMY59phDA' >Live Support Software</a></p></noscript>


 
  • pbannette
  • Senior Member
  • Members
  • Join Date: 09-Aug 07
  • 1036 posts

Posted 27 May 2012 - 12:37 PM #2

Hi,
I use a different chat, but it should work the same. I just created an html block and add the code. I place the block where I want it on the pages.
I think I made two different blocks. One for SSL and one without. I put the one with ssl on ssl pages only. My chat gives me the code for both. I don't put the code on all pages since I want the ssl code just on the secure pages.
Bob

Version CS-Cart 4.3.5


 
  • kizzhu
  • Newbie
  • Trial users
  • Join Date: 04-Feb 13
  • 2 posts

Posted 04 February 2013 - 05:09 AM #3

Hi sanjananb, thanks you helped me because I couldn't get the code but you mde it easily. I added a HTML block, paste the code and replaced witm my ID and it worked.