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