Can we disable Addresses Tab in the Magento Admin Customer Grid
-
10-12-2020 - |
Domanda
In Magento Admin panel, on the customer grid section we have Customer view,Account Information, Addresses, Orders etc. In that is it possible to hide the Address Tab . Even if the customer has addresses.
Reason for hide : some of the customer has the more than 300 addresses. in that time. It is taking more time to save the customer information. Most of the time the browser get struck and browser gets killed. Mostly we will not update the Addresses through admin.
can anyone suggest how to achieve this.
Awaiting for your valuable reply.
Soluzione
Sure you can
You just need to rewrite Mage_Adminhtml_Block_Customer_Edit_Tabs
class, and just comment the addresses part
$this->addTab('addresses', array(
'label' => Mage::helper('customer')->__('Addresses'),
'content' => $this->getLayout()->createBlock('adminhtml/customer_edit_tab_addresses')->initForm()->toHtml(),
));
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange