Unique code against every product sold under one order

New Member
1 0 0

Hello Everyone, 


I am stuck, I need HELP!!


I have a deals website, different vendor posts their deals respectively. I want to generate a unique code against every deal sold, under one order. Example below


Order No.1001 - Product xX1 - Unique code 12121

                             Product Xxx1 - Unique code 21212

Total Bill $2


This should be sent to customer who has made a purchase, it should be same like Gift card Redeem