SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast remdog's Avatar
    Join Date
    Mar 2002
    Location
    Montreal, Canada
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    best-practices for coupon/promo codes

    We'd like to enable our transactional site to accept coupon codes or promo codes. I'm looking for some best-practices as far as how to do this. For example:

    -how long (characters) should the codes be?
    -should the codes be randomly generated for security reasons, or should there be a rhyme & reason to how they're coded?
    -should we offer 1 code that anyone can use, 1 code/user, or both?

    Any other advice on this is welcome.

    thx.

    R

  2. #2
    SitePoint Wizard realestate's Avatar
    Join Date
    May 2004
    Posts
    1,092
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    We create promo codes manually and give them to users of our choice. Our plan is to give more coupons to schools, low income people etc.
    We offer more than one code which can be used by anyone. But we can give a coupon to
    only one person, and if it is used we know who used it. If you plan to send automated messages, yes, I would recommend codes depending on user. This may have one more advantage: Spam filters may be less likely to consider your message as a spam..

  3. #3
    SitePoint Enthusiast remdog's Avatar
    Join Date
    Mar 2002
    Location
    Montreal, Canada
    Posts
    78
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    any suggestions if we wanted to create unique codes for thousands of people when we e-mail our house list?


    R

  4. #4
    SitePoint Zealot
    Join Date
    Oct 2002
    Location
    UK
    Posts
    156
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by remdog
    any suggestions if we wanted to create unique codes for thousands of people when we e-mail our house list?
    I would use their name or email address as the basis for the code and use an algo similar to md5(not md5, as it doesn't guarentee non identical hashes) to create the code. Or more simply you could just list the emails and have a starting code of XJSJOR00001 and increment just the numerical part.

  5. #5
    SitePoint Enthusiast
    Join Date
    Aug 2001
    Posts
    54
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I do something similar which is to create a random reference number for each listing in my database so it goes like: DDDDLLDDD 4 digits 2 letters in capital 3 digits,

    for example 4937LX344.

    see what others do and modify to your needs.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •