Erfan Imani
I'm Erfan – a full-stack Magento developer and consultant living in Perth, Australia. I'm the organiser of Western Australia's Magento meetup. At the moment I'm helping to take Pacvac, a leading manufacturer of backpack vacuums, into the digital age with a direct to consumer approach.
Get in touch with me here.
For Magento 1, check out my post here: Four ways to edit Magento's Javascript.
A while ago I wrote a reasonably popular article that simply listed out the different ways you can modify Magento's Javascript. Here we go again, but for Magento 2.
Theme overwrite
Of course, the easiest way to modify Javascript…...
Looking for Magento 2? Check out the new article: Modifying Magento 2's Javascript.
Because Magento uses object prototype properties for most of it's functionality, it's quite easy to change it's behaviour without editing core files.
This article shows four ways to change the Product.Zoom.prototype.toggleFull…...