So lets say someone comes to my site (no login). They place an order through the form and submit the details to me. I can save the details of the desired product into a database. Upon inserting the data, or form submission, let's say I generate a random 5 character string (which is the 'order number'), do I then insert that with the order details?
If so, how do I show them their previous order without a user login to determine who they are?
Can I show them a form to enter their order number, then if an order number matches, show the details to the user?
Thank you for your reply.