Jump to content

[SOLVED] Checkout shows console error: Uncaught TypeError: this.el.hoverIntent is not a function


Shapes

Recommended Posts

Well this was indeed theme related.

I don't know if it's the best way to do this but I managed to get rid of this error by overriding theme.js file.

I changed:

this.el.hoverIntent({ over: this.toggleClassSubMenu, out: this.toggleClassSubMenu, selector: " > li", timeout: 100 });

to:

if(prestashop.page.page_name != 'checkout') {
    this.el.hoverIntent({ over: this.toggleClassSubMenu, out: this.toggleClassSubMenu, selector: " > li", timeout: 100 });
}

 

Link to comment
Share on other sites

  • Shapes changed the title to [SOLVED] Checkout shows console error: Uncaught TypeError: this.el.hoverIntent is not a function

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...