How to remove the visibility for customer address attribute field while creating order in magento backend

I wish to delete customer address attribute in create order section in Magento backend

I have tried to override the following file to unset the attribute before rendering. For testing purpose, I have edited the core file and unset the attribute from

protected function _prepareForm() 


It works fine in core file, but when I override this file using preference, I am unable to override the file, can anyone suggest me to override this

I have tried based on this How to Hide Field from Order Create From Back-end Magento 2

Magento Asked on December 30, 2020

1 Answers

One Answer


Answered by CloudySi on December 30, 2020

Add your own answers!

Related Questions

How to show downloadable links in a block?

0  Asked on January 16, 2021 by kamzata


Magento tax_class_id not importing

1  Asked on January 15, 2021 by sushivam


How to add firebase cdn’s in magento2?

0  Asked on January 15, 2021 by usama-sohail


Paypal log error

1  Asked on January 14, 2021 by fja3omega


Enable Dynamic price in bundle product

1  Asked on January 9, 2021 by miguel-angel-espinosa-garca


Magento 2 hidden products

1  Asked on January 6, 2021 by ramesh-kr


Ask a Question

Get help from others!

© 2022 All rights reserved.