Jump to content

How to override core.js?


Guest

Recommended Posts

Hi, I am building a theme based on the Classic one. How can I override the core.js file in the theme's root folder safely (e.g. the best practices for overriding the many event bindings in that file)?

Link to comment
Share on other sites

In particular, how can I override Prestashop's custom events? Such as 

prestashop.on('updateProduct', function() {
});

Thank you

Link to comment
Share on other sites

  • 3 weeks later...
  • 6 months later...
  • 1 month later...
  • 1 year later...
  • 2 weeks 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...