Jump to content

Unable to use Javascript code since 1.6 update


Recommended Posts

I am having issues pasting the following code and making it display on the website - before i upgraded to version 1.6 it was working fine but upgrading seems to have some issue.

 

I have tried to put it in the bottom of the footer.tpl file like i did in the previous version.

Please can somene help.

 

Website: www.valueav.co.uk

<script type="text/javascript">
    (function () { 
    var _tsid = 'X731FD8229001E7A36CA6227642C511F0'; 
    _tsConfig = { 
        'yOffset': '250', //offset from page bottom
        'variant': 'reviews' //text, default, small, reviews
    };
    var _ts = document.createElement('script');
    _ts.type = 'text/javascript'; 
    _ts.async = true; 
    _ts.charset = 'utf-8'; 
    _ts.src = '//widgets.trustedshops.com/js/' + _tsid + '.js'; 
    var __ts = document.getElementsByTagName('script')[0];
    __ts.parentNode.insertBefore(_ts, __ts);
    })();
</script>

Thanks in advance

Edited by chavkilla (see edit history)
Link to comment
Share on other sites

  • 2 weeks later...

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
×
×
  • Create New...