Solved

Promo Code distribution

Posted on 2014-10-06
7
190 Views
Last Modified: 2014-10-16
I am trying to implement the promo code system. Where I can refer a friend and both will get a discount. I kind of know what to do. I have a created a promo code table. Now i need to find a way to distribute a promo code. I was thinking about sending an email. But the problem is the user need to be loggin first .

Once the firsdt user purchase the item it will use the existing promo code and append the user id to a promo-code and in this case I will know who send the promo code.

Please advice what would be best approach to distribute the promo code in a best manner.
0
Comment
Question by:erikTsomik
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 4
  • 3
7 Comments
 
LVL 19

Author Comment

by:erikTsomik
ID: 40363894
Are there any suggestions
0
 
LVL 36

Accepted Solution

by:
SidFishes earned 500 total points
ID: 40364326
You've got the right idea. You don't really need the user to be logged in if they provide a valid email address that they will use -when- they login or register

Select link to send promo code
Enter user1 Email address, user2 email address
Submit form
Save u1 & u2 emails in table each to its own row with promo code. May want an identifier to indicate whether row is referral or referr-ee for referral success tracking. Also include a promo code usedYN field if the promo code is one time use. May also want to add datetime if referrals can expire (also for tracking)
cfmail promo code to u1 with easily cut and pastable or forwardable text for u1 to send to u2
don't send promo code to u2 ( u1 needs to do this otherwise it's not a referral, just spam)
When promo codes are used, look up email vs promo code in referral table and update to add time when used if required as well as usedYN field.
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 40364358
I only have 1 dilemma such as when the first person buys it they do not get the chance to provide a promo code. I will put this person into the lookup table with the promo code i generate for his/her friends. Once the user pass his/her promo to a friend and use it I will mark this code as used (from business logic it can be reused many times by different people,but only once by the same person) and generate the code for them so they can pass it to their friends.

How would I build the database at this point. because the promo code I want to use not just for referral I want to use it in regular bases   as well
0
DevOps Toolchain Recommendations

Read this Gartner Research Note and discover how your IT organization can automate and optimize DevOps processes using a toolchain architecture.

 
LVL 36

Expert Comment

by:SidFishes
ID: 40364413
Since promo codes can be anything and you can have as many as you like, I'd think about having a specific one for referrals if for no other reason than it is easier to track if your referral program is effective.
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 40364419
Do you think creating a type of promotion on the promoCode table is a good Idea. (Referral program or just promotional code ). Something like that
0
 
LVL 36

Expert Comment

by:SidFishes
ID: 40371522
Yes. Having the ability to specify unique promo types can be quite useful, even if you don't use it right away.  Allows ofr lots of flexibility and reporting options.
0
 
LVL 19

Author Comment

by:erikTsomik
ID: 40371600
How would I say which promo to use. I have decided to create a generic promos. By using a  referral program I need a way to figured out where is this promo code is came from so I said I just add an id to the end of the code.

The dilemma is how to know which generic code to use,because I may end up with many
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

What is Node.js? Node.js is a server side scripting language much like PHP or ASP but is used to implement the complete package of HTTP webserver and application framework. The difference is that Node.js’s execution engine is asynchronous and event…
For both online and offline retail, the cross-channel business is the most recent pattern in the B2C trade space.
Viewers will get an overview of the benefits and risks of using Bitcoin to accept payments. What Bitcoin is: Legality: Risks: Benefits: Which businesses are best suited?: Other things you should know: How to get started:
Learn how to set-up PayPal payment integration in your Wufoo form. Allow your users to remit payment through PayPal upon completion of your online form. This is helpful for collecting membership payments, customer payments, donations, and more.

751 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question