As per the title, how do I remove the cancel button from the billing address edit form ?
The button is highlighted on the screenshot attached bellow.

enter image description here

1 Answer 1


I guess you know the basics of creating a module.

1.In your custom module, create Vendor/Module/view/frontend/requirejs-config.js

var config= {
    map: {
        '*': {
            'Magento_Checkout/template/billing-address/actions.html': 'Ananta_RemoveCancel/template/billing-address/actions.html',

2.Now create template file, Vendor/Module/view/frontend/web/template/billing-address/actions.html

<div class="actions-toolbar">
    <div class="primary">
        <button class="action action-update"
            <span translate="'Update'"/>

Done, now cancel button from the billing-address form will be removed.

  • Had to update one path (Ananta_RemoveCancel to plugin name) a bit, but the answer is good, thank you.
    – Senku
    Dec 2, 2020 at 12:10

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.