cancel
Showing results for 
Search instead for 
Did you mean: 

Delete all delivery addresses

Delete all delivery addresses

Hello all,

 

 

It has the ability to delete all customer delivery addresses? I wanted to force them to register the shipping address again when making a new purchase.

 

 

Magento version 1.4.2

 

 

 

thanks

1 REPLY

Re: Delete all delivery addresses

you can truncate customer_attribute_entity table and it will remove all the existing customer address books. then you want to overwrite customer address model and change $this->_dataSaveAllowed to false to prevent future address saves.

and you want to clean your frontend template removing the 'save in addess book' options if you don't want to confuse your customers, though they don't work anymore.