I need to create 1000 unique coupon codes which provide the customer with a 100% off voucher (giving away a free sample). The codes need to be unique though.
Is there a way to insert codes in bulk into the data table? Any help to do this would be massively appreciated.
First question: have you created a database collection for the coupons codes in the Database section (furthest down in the Site Structure pane on the left-hand side)?
I did something likewise a while back and, with Yisrael´s help, I created something that creates unique coupons/vouchers by checking if it already exists in db, and if so, tiries another code. Look here:
Note: this generates random numbers, so not incremental.
Could you recommend me some kinda tool which would be ideal for sending unique codes to each customer after purchase please? The thing is, that I can’t send the same code more than once. Most of thr tutorials are about creating one layout of for example ‘thank you email with instructions’ so the same message is sent to multiple customers who subscribed or bought the same product. What if I want to share a unique code with each customer even they’re buying the same product? Can’t figure this out… Do you think the triggered emails by Velo would be suitable for this purpose? Thank you!
@russian-dima we want the codes to be sent instantly after the purchase and it’s not automatically generated code, let’s say we have a database of 1000 codes and they should be implemented into an email template and distributed right after the customer makes the purchase…