Results 1 to 3 of 3

Hybrid View

  1. #1
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Auto referral for new users?

    I have looked and have not seen anything as of yet for what I am wanting to do. I am very new to PHP so please bare with me.

    What I am looking to do is make it to where when someone makes a purcahse on my site, there is automaticly a referal code that is generated for them to be able to pass out to other people. I would like for the referral code to be generated by the first and last inital and the last 4 of their phone number. I also want to be able to track how much was purchased under each referral code. Is any of this possible?

    Any help would be appreicated. I am using version 1.3.8a.

    Thanks everyone

  2. #2
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Auto referral for new users?

    What you're looking to do is quite specific, but that's the joy of open source software, you can roll your sleeves, lift the hood and rework the code to do whatever you like.

    In this case Zen Cart has some bits to help. You'll want to create your your referral code in checkout_success header file ready to be displayed on the checkout success page, and no doubt write it to the database too having extended the customer record to accommodate it. Zen Cart then already has a referrals field in the checkout - though it's free text so you wouldn't be able to track mis-typings, unless you change how it works.

    However, there is a big warning associated with this. There's a fine line between affiliate programmes and pyramid selling. You appear to be describing the later, which are illegal in many countries.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  3. #3
    Join Date
    Jan 2010
    Posts
    9
    Plugin Contributions
    0

    Default Re: Auto referral for new users?

    Ok, I will see what I can do with what is already thre.

    I do not really think that is a pyramis selling because the person who refers someone does not get any financial progress from it. I just wanted to be able to thank them for their referrals. If I am misunderstanding, please let me know. The last thing I want to do is something illegal.

    But thanks for the heads up on how to go abouts doing this. I jsut need to figure out the exact line of code that should be able to be used.

    Gives me something to work on for a while but your help was a huge plus.

 

 

Similar Threads

  1. Auto-Populate Referral Code Field from URL parameter?
    By expitrans in forum General Questions
    Replies: 0
    Last Post: 13 Nov 2008, 01:56 AM
  2. auto-apply Coupon for new users?
    By standpipe in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 0
    Last Post: 19 Sep 2007, 04:46 PM
  3. New Entries in the Wiki for New Users
    By clydejones in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 31 Aug 2006, 05:51 PM

Posting Permissions

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