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:

[code]

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

[/code]

Views (445)

The following two tabs change content below.

Leave a Reply

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

five × 5 =