Thread: Referral Mod?

Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Referral Mod?

    I would like to add a "How did you hear about us" question to the login page. Is that possible? This seems like the most appropriate time to ask the question while it is fresh in the newcommer's mind.

    Any ideas or comments?
    H. Light
    Florida

  2. #2
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default modifying login.php

    I would like to add a "How did you hear about us" question to the login page. Is that possible? This seems like the most appropriate time to ask the question while it is fresh in the newcommer's mind.

    Any ideas or comments?
    H. Light
    Florida

  3. #3
    Join Date
    Jan 2005
    Location
    USA, St. Louis
    Posts
    3,710
    Plugin Contributions
    9

    Default Re: Modifying login.php

    Quote Originally Posted by hllight View Post
    I would like to add a "How did you hear about us" question to the login page. Is that possible? This seems like the most appropriate time to ask the question while it is fresh in the newcommer's mind.

    Any ideas or comments?
    Have you tried doing a search for that in the forum?

  4. #4
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: modifying login.php

    You can first enable the referral code feature in admin -> configuration -> customer details -> customers referral status (set to 2). Then a referral code box will appear on the create account page, and you can change that text to whatever you like, for example, "Where did you hear about us?" (this could be the original text - I don't remember what it was since I changed it)

    HTH
    Shirley :)

  5. #5
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Re: Modifying login.php

    Yes but I didn't find anything. I posted the question in the general area also. Thanks.
    H. Light
    Florida

  6. #6
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: Apple Zen Template Support Thread

    There's a "How did you hear about us?" add-on in the downloads section. If you want to see what it looks like implemented, I've got it on my test site here.
    Hope this helps.

  7. #7
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: modifying login.php

    There is also a How Did You Hear About Us / referrals mod in the downloads area.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  8. #8
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Re: modifying login.php

    Quote Originally Posted by shirster View Post
    You can first enable the referral code feature in admin -> configuration -> customer details -> customers referral status (set to 2). Then a referral code box will appear on the create account page, and you can change that text to whatever you like, for example, "Where did you hear about us?" (this could be the original text - I don't remember what it was since I changed it)

    HTH
    Shirley :)
    WONDERFUL! I was not aware of that. Thank you! I will play with it tomorrow.
    H. Light
    Florida

  9. #9
    Join Date
    Sep 2005
    Location
    Hong Kong
    Posts
    307
    Plugin Contributions
    0

    Default Re: modifying login.php

    Glad that helps :)

    Shirley

  10. #10
    Join Date
    May 2007
    Location
    Port Charlotte, FL
    Posts
    125
    Plugin Contributions
    0

    Default Re: modifying login.php

    Quote Originally Posted by shirster View Post
    Glad that helps :)

    Shirley
    I added the referral code however it is limited in length to 15 characters. I am guessing that I cannot change the value without screwing up the database?

    I changed the question to:
    How did you hear about us? If you used a search engine, what key word(s) did you use?

    (TABLE_CUSTOMERS, 'customers_referral', 15) this variable is set in three different php files:
    admin/customers.php
    includes/templates/template_default/templates/tpl_account_edit_default.php
    includes/templates/template_default/templates/tpl_modules_create_account.php
    Last edited by hllight; 26 Jul 2007 at 07:52 AM. Reason: addition
    H. Light
    Florida

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Referral Mod from Customer
    By OllieBarnett in forum All Other Contributions/Addons
    Replies: 1
    Last Post: 16 Dec 2009, 11:09 PM
  2. Referral Mod Problem - [how did you hear ...]
    By bjc999 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 6 Apr 2009, 01:07 PM
  3. Coupon or Referral. Which Mod. to Utilize?
    By Stenrique in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 5
    Last Post: 23 Mar 2009, 06:06 PM
  4. Referral Reward points mod?
    By anafor in forum All Other Contributions/Addons
    Replies: 0
    Last Post: 1 Aug 2008, 04:57 PM
  5. what is Referral / how to use Referral in zencart?
    By jikey in forum Basic Configuration
    Replies: 1
    Last Post: 20 Mar 2007, 04:31 AM

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