xtc-modified or xt commerce shops

Avatar
  • updated
  • Answered
it's difficult to implement into xtc-modified or xt commerce shops. Installation instructions are missing. A lot of users have the same problem. I tried to insert the code into the index.html but without any success!

Any suggestions?
Pinned replies
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
For xtcommerce and xtc modified shops, please place the userecho code in
"/shop/templates/*your template*/javascript/general.js.php instead of
index.html.
Avatar
Frank Anhaeusser
  • PINNED
For xtcommerce and xtc modified shops, please place the userecho code in "/shop/templates/*your template*/javascript/general.js.php instead of index.html.

Code example:

<script type='text/javascript'>

var _ues = {
host:'*yourshop*.userecho.com',
forum:'****',
lang:'de',
tab_alignment:'left',
tab_text_color:'black',
tab_bg_color:'#EDEDED',
tab_hover_color:'#FFFFFF'
};

(function() {
    var _ue = document.createElement('script'); _ue.type = 'text/javascript'; _ue.async = true;
    _ue.src = ('https:' == document.location.protocol ? 'https://s3.amazonaws.com/' : 'http://') + 'cdn.userecho.com/js/widget-1.4.gz.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(_ue, s);
  })();

</script>

Works fine!

Best regards
Frank
Avatar
Sergey Stukov co-founder
  • Under review
You talk about UserEcho widget intergation?
With xtc-modified based shop?
Avatar
Frank Anhaeusser
  • PINNED
For xtcommerce and xtc modified shops, please place the userecho code in "/shop/templates/*your template*/javascript/general.js.php instead of index.html.

Code example:

<script type='text/javascript'>

var _ues = {
host:'*yourshop*.userecho.com',
forum:'****',
lang:'de',
tab_alignment:'left',
tab_text_color:'black',
tab_bg_color:'#EDEDED',
tab_hover_color:'#FFFFFF'
};

(function() {
    var _ue = document.createElement('script'); _ue.type = 'text/javascript'; _ue.async = true;
    _ue.src = ('https:' == document.location.protocol ? 'https://s3.amazonaws.com/' : 'http://') + 'cdn.userecho.com/js/widget-1.4.gz.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(_ue, s);
  })();

</script>

Works fine!

Best regards
Frank
Avatar
Angeliano
Thanks a lot! It works great!
www.angeliano.com
Avatar
Sergey Stukov co-founder
Quote from Frank Anhaeusser
For xtcommerce and xtc modified shops, please place the userecho code in "/shop/templates/*your template*/javascript/general.js.php instead of index.html.

Code example:

<script type='text/javascript'>

var _ues = {
host:'*yourshop*.userecho.com',
forum:'****',
lang:'de',
tab_alignment:'left',
tab_text_color:'black',
tab_bg_color:'#EDEDED',
tab_hover_color:'#FFFFFF'
};

(function() {
    var _ue = document.createElement('script'); _ue.type = 'text/javascript'; _ue.async = true;
    _ue.src = ('https:' == document.location.protocol ? 'https://s3.amazonaws.com/' : 'http://') + 'cdn.userecho.com/js/widget-1.4.gz.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(_ue, s);
  })();

</script>

Works fine!

Best regards
Frank
Thanks for answer and example.
We stick your comment to official answer.
Avatar
Vladimir Mullagaliyev co-founder
  • Answer
  • Answered
For xtcommerce and xtc modified shops, please place the userecho code in
"/shop/templates/*your template*/javascript/general.js.php instead of
index.html.