Is there a way to place a link (ie called Delete my account next to the Log out link in the Customer Navigation Account Dashboard?

I know there are paid extensions available for that but I'd like to know if it's possible by means of a simple module or via the local.xml?

  • have you got solution ? – Pawan Sep 21 '17 at 17:55


For the Customer account navigation :

    <reference name="customer_account_navigation">
        <action method="addLink">
            <path>module/controller</path> //path to your controller function for deleting account
            <label>Delete my account</label>


The function in your controller

public function indexAction()
    $id = Mage::getSingleton('customer/session')->getCustomer()->getId‌​();
    $customer = Mage::getModel('customer/customer')->load($id);
|improve this answer|||||
  • Hi. Thanks for your answer. Maybe a little bit dummy, but is there a way to find out that path to the controller function for deleting the customer account? Not really an expert in this matter. – Julian Murillo Sep 14 '17 at 9:40
  • Would you please add the controller code to answer. – Neha Raval Sep 14 '17 at 10:04
  • Please, look my update – PЯINCƏ Sep 14 '17 at 12:31
  • Please, accept the answer if it has been helpful – PЯINCƏ Sep 16 '17 at 1:53
  • Hello guys, this method seems to be quick and simple but still don't know what about controller. As there is in controller indexAction already, what to do with the code ? Where should I add this code to ? app/code/core/Mage/account/controllers/accountController.php ? – Rob D. A. May 21 '18 at 7:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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