JQuery – Put JQuery in Prestashop tpl file

If you need to put JQuery in the Prestashop tpl file, you need to put {literal} and the code below:


<script>
{literal}
$('document').ready(function(){
//JQuery
});
{/literal}
</script>

Views (109)

Share on Facebook0Share on Google+0Share on LinkedIn0Tweet about this on TwitterEmail this to someonePrint this page
[Total: 2    Average: 3.5/5]
The following two tabs change content below.

Leave a Reply

Your email address will not be published. Required fields are marked *

8 − 8 =