AbanteCart Community
Shopping Cart Operations => Support => General Support => Topic started by: MagicMax on July 10, 2013, 06:02:40 AM
-
Hi
I am trying to get this script to run to enable Zopim chat support.
<!--Start of Zopim Live Chat Script--><script type="text/javascript">
window.$zopim||(function(d,s){var z=$zopim=function(c){
z._.push(c)},$=z.s=
d.createElement(s),e=d.getElementsByTagName(s)[0];z.set=function(o){z.set.
_.push(o)};z._=[];z.set._=[];$.async=!0;$.setAttribute('charset','utf-8');
$.src='//cdn.zopim.com/?1IF68P2tjzn8Pnf9FWxQDw2BZjr9dB6w';z.t=+new Date;$.
type='text/javascript';e.parentNode.insertBefore($,e)})(document,'script');
</script><!--End of Zopim Live Chat Script-->
I am sure it was working previously.
I created a new block with this as source code, saved it and then added it to the home page layout. It is supposed to then contact Zopim servers and show a chat utility at the bottom of the screen.
Am I doing something wrong?
-
hmm...are you sure that you toggle WYSIWYG editor to source-mode on html-block edit page? your code works well for me.
-
Yep just double checked it. Very odd.