My website got hacked and all the customers were deleted, but the orders are still here.
I imported back the customers by CSV, but the orders are no longer assigned/linked to them. The only commun point is the email address in the orders details and the email address in customers accounts.
I need to know how I can assign again orders to customers in the database. Is it possible to find a way to link them again using the email?