how can I remove the customer tab at admin side please have a look in attachment https://prnt.sc/s76tjx I want to remove the billing agreement tab but not able to remove can someone help me

here is a code

<referenceBlock name="customer_edit_tab_view">
    <referenceBlock name="customer.billing.agreement.grid" remove="true" /> <!-- Not working -->
    <referenceBlock name="billing" remove="true" /> <!-- Not working -->
    <referenceBlock name="billing-agreement" remove="true" /> <!-- Not working -->

and also for this https://prnt.sc/s7cbiv

thanks in advance

1 Answer 1


Thanks for your comments but in my case, this worked for me

<referenceBlock name="customer_edit_tab_agreements" remove="true" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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