- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-10-2022
12:02 PM
04-10-2022
12:02 PM
Restore deleted customers from orders possible (deleted accidentally)
Magento 2.4.3
I was going to delete a screen of 20 customers by "select all" -> Delete and this lead to all customers being deleted. I suppose it should say that it would delete ALL customers when selecting all rather than just all on that page.
I do not have a backup recent enough - I know - my bad.
Is there a way to recreate customers in DB from orders? because all orders and all is still there... but I suppose some features will start breaking when the customer IDs are not available anymore in some table(s), right?
thanks!
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2022
04:51 AM
04-11-2022
04:51 AM
Re: Restore deleted customers from orders possible (deleted accidentally)
You can create customers programmatically using order collection data and get the customer email, customer name, and customer address from the order as well.
Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.
200+ Magento 2 Extensions for Enhanced Shopping Experience.