So, I have a js file from an extension, that I need to override
the path is:
Where should I put the new JS file so that it will override
script.js from above? And what else is necessary for this to work?
If I want to override a .phtml file from this extension, is simple. Create a new folder in
app/code/design/frontend/Venustheme/kasitoo with the name combined
MyExtension_MyExtensionSubfolder and then follow the path from an extension and put here the phtml and it works.
But for js file from example if I create a new js file called script.js to the path
app/code/design/frontend/Venustheme/kasitoo/MyExtension_MyExtensionSubfolder/web/js/script.js is not working.
So the question is where should I put my new JS file with the modifications I made, that will override the
script.js from the extension. Because if I made the changes directly in the extension, after the first update of the extension, I will lose those changes.