Shapes Posted August 5, 2021 Share Posted August 5, 2021 (edited) Hello, The checkout page shows: Uncaught TypeError: this.el.hoverIntent is not a function error in checkout page. Using latest PrestaShop version with Presta Rocket Theme. Any idea on why this could happen and how to solve this please? Edited August 5, 2021 by Shapes (see edit history) Link to comment Share on other sites More sharing options...
Shapes Posted August 5, 2021 Author Share Posted August 5, 2021 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 More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now