It seems like a dumb question that was answered a lot here but I cant get it to work.

I want to override Magento_Checkout/js/view/billing-address.js the file is physically under module-checkout/view/frontend/web/js/view/billing-address.js.

Ive copied the file to my <theme>/web/js/components/checkout/billing-address.js and added the configuration to my requirejs-config.js:

map: {
        "*": {
            "dropdownDialog":       "js/components/dropdownDialog",
            "sidebar":              "js/components/sidebar",
            "catalogAddToCart":     "js/components/catalog-add-to-cart",
            "cookieNotices":        "js/components/cookieNotices",
            "loader":               "js/components/loader",

But the file is not overriden. I still geht the original from module-checkout.

1 Answer 1


I have cleared my caches but the file was still cached on the server in static folder in an old version. I had to manually remove it so magento re deploys it.

Ive run:

rm pub/static/frontend/vendor/theme/lang/js/components/checkout/billing-address.js

Your Answer

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.