This is the scenario
Mr. X buys a product without registering (i am not forcing him to register to avoid cart abandonment). He uses an email email@example.com while making the purchase.
Later he registers using the same email (firstname.lastname@example.org) that he used earlier to purchase. But now, under the “orders” section, his earlier order (using email@example.com) doesn’t appear (as he din’t register while purchasing).
Now my question is, is it possible to make the order appear based on the same email id used (that is the customer used the same email ID while purchasing and later to register)?