Magento Asked on December 30, 2020
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()
vendor/magento/module-sales/Block/Adminhtml/Order/Create/Form/Address.php
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
Checklist:
Answered by CloudySi on December 30, 2020
Get help from others!
Recent Questions
Recent Answers
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP