I want to disable the "new address" button from checkout page in Magento 2.
Will it be easy with the theme or create a new module?
Magento 2 – Checkout. Remove the “New Address” button from billing/shipping address with module or theme.
Please help.
Best Answer
-> With Custom Theme:
Copy
shipping.html
fromvendor/magento/module-checkout/view/frontend/web/template/shipping.html
to
app/design/frontend/{vendor}/{theme}/Magento_Checkout/web/template/shipping.html
-> With Custom Module:
Create requirejs-config.js
app/code/{Vendor}/{Module}/view/frontend/requirejs-config.js
php bin/magento setup:static-content:deploy
php bin/magento setup:upgrade