Results 1 to 6 of 6
  1. #1

    Default Duplicate Customers

    Had a return customer create a new user account with identical details (including email address), with the addition of a company name on the new account. Is there any way to:

    1. Restrict customer creation to one customer per address

    2. Merge the customers so their order history is in one location?

    I am new to ZenCart, so apologies if this is something very simple. So far, so good, although I haven't been able to get PayPal Pro working for credit cart payments as of yet, but I haven't put a lot of time into that.

  2. #2
    Join Date
    Oct 2007
    Location
    MA, USA
    Posts
    385
    Plugin Contributions
    0

    Default Re: Duplicate Customers

    I am interested to see if there is a work around for this. I have customers that create more than 1 account when they forget their password. Thanks.

  3. #3
    Join Date
    Sep 2010
    Posts
    612
    Plugin Contributions
    0

    Default Re: Duplicate Customers

    This is a really old post...but I was wondering if there's an answer. I have a few customers with duplicate accounts...and have even placed orders on both. Is there a way to merge the two?

  4. #4
    Join Date
    Nov 2007
    Location
    Woodbine, Georgia, United States
    Posts
    4,196
    Plugin Contributions
    63

    Default Re: Duplicate Customers

    The qualifier is email address, so the accounts must have different email addresses or checked out with PayPal Express or you have a checkout module installed to allow multiple email addresses.

    No real way to combine them.

    ~Melanie
    PRO-Webs, Inc. since 2003 :: Zen Cart Hosting :: Zen Cart SEO – 12 Steps to Success
    **I answer questions in the forum, private messages are not conducive to a helpful community.

  5. #5
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: Duplicate Customers

    It can be done but you would really need to be careful ...

    1 Backup your database before doing this ...

    2 Recheck the database tables in case I missed anything

    Note: the field for the customers_id may vary but it will start with "customer" in most cases ...


    You need to change the customer_id from the Customer A to Customer B in the tables ...

    address_book
    - change customers_id from Customer A to Customer B

    coupon_email_track
    - first change customers_id_sent from Customer A to Customer B
    - then the emailed_to email address from Customer A to Customer B email address

    coupon_gv_customer
    - combine amounts and remove Customer A to Customer B

    coupon_gv_queue
    - Change Customer A to Customer B

    coupon_redeem_track
    - Change Customer A to Customer B

    customers
    - remove Customer A

    customers_basket
    - remove Customer A

    customers_basket_attributes
    - remove Customer A

    customers_info
    - remove Customer A

    orders
    - change Customer A to Customer B
    - change customers_email_address Customer B email

    reviews
    - change Customer A to Customer B

    I have not attempted this in a long time and you will have to determine if you completed all updates correctly ...
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  6. #6
    Join Date
    Jan 2012
    Posts
    10
    Plugin Contributions
    0

    Default Re: Duplicate Customers

    Quote Originally Posted by Ajeh View Post
    It can be done but you would really need to be careful ...

    1 Backup your database before doing this ...

    2 Recheck the database tables in case I missed anything

    Note: the field for the customers_id may vary but it will start with "customer" in most cases ...


    You need to change the customer_id from the Customer A to Customer B in the tables ...

    address_book
    - change customers_id from Customer A to Customer B

    coupon_email_track
    - first change customers_id_sent from Customer A to Customer B
    - then the emailed_to email address from Customer A to Customer B email address

    coupon_gv_customer
    - combine amounts and remove Customer A to Customer B

    coupon_gv_queue
    - Change Customer A to Customer B

    coupon_redeem_track
    - Change Customer A to Customer B

    customers
    - remove Customer A

    customers_basket
    - remove Customer A

    customers_basket_attributes
    - remove Customer A

    customers_info
    - remove Customer A

    orders
    - change Customer A to Customer B
    - change customers_email_address Customer B email

    reviews
    - change Customer A to Customer B

    I have not attempted this in a long time and you will have to determine if you completed all updates correctly ...
    Ajeh, It's been several versions since you posted this...have you merged/tried merging duplicate accounts since then?

 

 

Similar Threads

  1. [Duplicate] No Customers listed on Admin Home Page?
    By JGraphics in forum Bug Reports
    Replies: 1
    Last Post: 22 Jun 2011, 11:17 PM
  2. OMG Customers getting duplicate discounts YIKES!
    By lfarr in forum Discounts/Coupons, Gift Certificates, Newsletters, Ads
    Replies: 2
    Last Post: 15 Jun 2011, 10:34 PM
  3. Merging Duplicate Customers
    By MagicMan in forum General Questions
    Replies: 2
    Last Post: 19 May 2008, 08:10 PM
  4. 1062 Duplicate entry 'Customers who have never...
    By LostSheep in forum Upgrading from 1.3.x to 1.3.9
    Replies: 15
    Last Post: 17 Apr 2008, 06:53 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