I want to set up a Refer A Friend program where each customer has a unique code they can share with their friends. It will give a one-time discount on a purchase by the friend. I will track the referrals and the customers earn product from our store.
What would be the best way to approach this?
An old thread suggests creating a stack of coupon codes and then assigning them to customers. https://forum.foxycart.com/discussion/7982/referral-program
Is this still a good way to approach this? Foxycart's coupon features are much better than 6 years ago so it should be relatively easy to set it up so that each person can only use each code once but each code can be shared many times. It's just figuring out how to assign 1 unique code to each customer and then let them know, ideally in their receipt, what their code is.
I see in another thread, the suggestion to use the Customer ID as the referral code. https://forum.foxycart.com/discussion/11268/encouraging-referrals
How would this be set up so that the Customer IDs are recognized as coupon codes?