Results 1 to 7 of 7
  1. #1
    Join Date
    May 2008
    Posts
    14
    Plugin Contributions
    0

    Default Adding second customer email address

    My client would like to add a second email field to the customer's profile, so that we can associate a sales rep with each account who will receive copies of everything sent to the customer. Has anyone done anything like this?

    Thanks

  2. #2
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Adding second customer email address

    I had planned to do something like this, but haven't got to it yet.

    In my case, the extra email address wouldn't be entered on the Create Account page, but added later in Admin. I was going to disable the email verification process (which checks for a valid email address) in the Edit Customer Details to see if that would let me add a second address, separated by a comma.

    If not, I'll check to see how multiple addresses are handled in Admin - Configuration - Email Options to see if I can adapt that method.

    If I get to it soon, I'll post back.

  3. #3
    Join Date
    May 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Adding second customer email address

    Interesting thought... So just disable the form validation and see if it sticks two addresses in the same record separated by commas. We also would probably just do it on the admin side too. I may try this, I'll post back if I get it working.

  4. #4
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Adding second customer email address

    This worked for me:

    Comment out or delete lines 151-163 in admin/customers.php

    Then you can edit a customer in Admin and add an email address (preceded by a comma).

    Two things -

    Obviously, there won't be any validation of the address, so enter carefully.

    There are no overrides in Admin yet, so you'll have to re-do the file edit when you upgrade to future versions.

  5. #5
    Join Date
    May 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Adding second customer email address

    The only problem I can see with this is that if the customer goes into their account info to change their email address, it will show both, and they can overwrite them.

    It's definitely an easier hack than adding a new customer field and having it spit that out in orders.php, though I think I see where to do that. Waiting to see what my client decides on whether or not they want to pay me to stick several new customer fields in, in which case I'll just do it all in one fell swoop. If I go through the process of adding a second customer email, I'll post the walk through here.

  6. #6
    Join Date
    May 2008
    Posts
    14
    Plugin Contributions
    0

    Default Re: Adding second customer email address

    Actually, here's a bigger problem I found: Once you insert the second email address using the method above, you have to log in as "[email protected],[email protected]" or enter them like that to retrieve your password etc.

    Think I gotta take the scenic route to solve this one.

  7. #7
    Join Date
    Feb 2005
    Location
    Lansing, Michigan USA
    Posts
    20,024
    Plugin Contributions
    3

    Default Re: Adding second customer email address

    I'm not as smart as I thought I was.

    Back to the drawing board.

 

 

Similar Threads

  1. Adding Customer email address to order listing page
    By totalsam in forum Managing Customers and Orders
    Replies: 6
    Last Post: 4 Feb 2010, 07:04 PM
  2. Email copy of customer order to second email address
    By WHOSYOURDADDY in forum Customization from the Admin
    Replies: 2
    Last Post: 13 Oct 2009, 03:31 AM
  3. Replies: 4
    Last Post: 9 Jun 2009, 08:17 PM
  4. Second email address
    By rocketrod in forum General Questions
    Replies: 9
    Last Post: 26 Dec 2006, 02:53 PM
  5. second email address
    By rocketrod in forum General Questions
    Replies: 0
    Last Post: 10 Dec 2006, 06:06 AM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR