Showing results for 
Search instead for 
Did you mean: 

Override a JS

Override a JS

I need to override this file


   -  vendor/magento/module-catalog/view/base/web/js/price-utils.js


But honestly speaking, i had read a lot on the internet even the official documentation and it does not work.

Since its a LUMA based file, and the LUMA directory does not exist, how do i proceed?


Please, i am not asking for a full manual, i will be very happy just to point me in the right direction

Thank you!!!!


Re: Override a JS

Hi @ojitos


Please follow these two links which may help you.


1) Extending/overriding JS in Magento 2


2) Extending Magento 2 default js component


NOTE : I have not tried above mentioned myself, providing links if they may help you.

Problem Solved Click Accept as Solution!:Magento Community India Forum