Trying to use jQuery in my theme, I find that when going to use it with the following code:
$(document).ready(function(){
// aqui mi codigo.....
});
I get the error that '$' is not defined, as if jQuery was not loaded. I see in console that Prestashop automatically loads jquery-ui but not jquery "normal". I add the library but it starts to get more errors (I guess that prestashop because I use jquery internally).
How can I work with jquery in prestashop then? I add the jquery file in javascript.tpl but it gives me the problems you see above.