Jump to content

prestashop.on is not a function


Recommended Posts

Hello, another time, i'm here asking for your help.

 

I'm having an issue with my website, i had to migrate from one server to the other. I uploaded all of the files via FTP to my new hosting, and also imported the database with no problems.

 

Noy my problem is that Jquery is not being called AT ALL from prestashop. I already checked and the version of jquery is the same as in the defines.inc file. 

 

I tried to hard code the libraries in the header.tlp file and i managed to get some things working, but now, the fancybox is not displaying, nor the cart

 

You can see the prblem in this page:

 

www.jinsa.com.mx

 

Using chome, i saw that it is giving me an eror that says:

 

Uncaught TypeError: prestashop.on is not a function
    at HTMLDocument.<anonymous> (ps_shoppingcart.js:33)
    at j (jquery-1.11.0.min.js:2)
    at Object.fireWith [as resolveWith] (jquery-1.11.0.min.js:2)
    at Function.ready (jquery-1.11.0.min.js:2)
    at HTMLDocument.K (jquery-1.11.0.min.js:2)
(anonymous) @ ps_shoppingcart.js:33
j @ jquery-1.11.0.min.js:2
fireWith @ jquery-1.11.0.min.js:2
ready @ jquery-1.11.0.min.js:2
K @ jquery-1.11.0.min.js:2
 

 

Could somebody point me in the right direction??

 

Thank you

Link to comment
Share on other sites

  • 7 months later...
  • 5 years 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...