This question already has an answer here:
- Unable to use jQuery 1 answer
I'm trying to implement an owl-carousel in my Magento webshop. I've loaded the .js file and the stylesheet. Jquery is (I believe) loaded from the template. When I use to code to activate the carousel I get the following error:
Uncaught ReferenceError: jQuery is not defined
I think it is caused by the fact that the owl carousel script is loaded before the jQuery. I'm loading the .js file from local.xml, but I have no idea where the jQuery is loaded.
When I look in the head of the page I can see the jQuery is loaded from:
Does anybody know in which file the script is called? Or how I can make sure the jQuery is called before the .js?
Btw if I include the .js in head.phtml its still called before the jQuery