I am almost ready to migrate to M2, prior to this I want to delete customer that have been inactive for 2 years. does anyone know a way of doing this
Solved! Go to Solution.
Hi @miller75
I would suggest you to delete those customer by writing script.
Following i am sharing two links which helps you to achieve the same.
http://blog.chapagain.com.np/magento-delete-customers-programmatically/
Second link is mainly use to get the inactivate customer data (created at) and first link will use to delete the customer programatically - so by combining both the scripts you will get the results.
Hope it helps
Hi @miller75
I would suggest you to delete those customer by writing script.
Following i am sharing two links which helps you to achieve the same.
http://blog.chapagain.com.np/magento-delete-customers-programmatically/
Second link is mainly use to get the inactivate customer data (created at) and first link will use to delete the customer programatically - so by combining both the scripts you will get the results.
Hope it helps
Thanks for the reply, the solution in the links would have worked but when I tried to run the scripts I realized I had deleted the log files as part of my cleanup so I couldn't base it on last login.
In the end I added a last purchase date column to the customer grid as well as increasing the number of customers I could view on one page to 15000 then deleted them from the backend
Hi @miller75
Perfect - Thanks for sharing your work-around as well - its true if we don't have log we can utilize the purchase date to identify the last active date of customers.
Anyways glad to know that your issue gets resolved - happy to help and keep helping others