Hi Wix team and forum members,
I have e-commerce plan and am selling books.
I want the following functionality: When a user, say Alice, subscribes/signs in, I want to generate a unique code Alice which she can use as referral code. When she shares this code with others, others get 10% off their purchase, and Alice gets 1$ credit which she can use with her future purchase. This is similar to what Uber and other companies use. How can we implement this? Any help would be greatly appreciated.