Question

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.

Was it helpful?

Solution

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(),
    ));
Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top