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 firstname.lastname@example.org while making the purchase.
Later he registers using the same email (email@example.com) that he used earlier to purchase. But now, under the “orders” section, his earlier order (using firstname.lastname@example.org) 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)?