Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Poll
Did you find this post helpful? please reply
Yes 0
No 0
Suggestion (Post Reply) 0
Total Votes: 0
You must be a logged-in member to vote
Delete magento customers from non admin area. 
 
Anshu Mishra
Sr. Member
 
Total Posts:  101
Joined:  2012-04-23
India
 

$customer = Mage::getModel("customer/customer")->load("here you can provide customer id which you want to delete");
Mage::register(’isSecureArea’, true);
$customer->delete();
Mage::unregister(’isSecureArea’);

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top