0

I have a module which overriding the following core js file

vendor/magento/module-checkout/view/frontend/web/js/view/billing-address.js

Im overriding with my custom module, here is the require-config.js file definition

var config = {
    map: {
        '*': {          
            "Magento_Checkout/js/view/billing-address": "Mynamespace_Mymodule/js/view/billing-address"
        }
    }
};

Everything was working fine until we have recently upgraded Magento from 2.3.0 to 2.3.4. After upgrading checkout page is broken and I identified Magento core team has done some major changes in checkout process and they added new functionality in that file and added more template files too. I think overriding those new files again is not good (lots files needs to be overridden again) . So is there any way to extend this component without overriding the js file ?. I heard about Mixins but I don't know is that correct way to implement and Im new to this concept Mixins. If any one suggest me what I have to do in this situation it would be very great.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.