Results 1 to 6 of 6
  1. #1
    Join Date
    Apr 2007
    Posts
    650
    Plugin Contributions
    0

    Default Reset Customer Id

    Is there any way to reset the customer id #? I duplicated one of my websites and failed to completely empty the database from addresses and now my 2nd site is transferring names and addresses from the original site. I realize I could just start over, but really do not want to have my customers start over by recreating accounts and such. Is there any way of either clearing only the non primary addresses, or increasing the customer id # to a higher number?


    Thanks!

  2. #2
    Join Date
    Apr 2007
    Posts
    650
    Plugin Contributions
    0

    Default Re: Reset Customer Id

    anyone??? I really hate to start over on a website that is successful!!! PLEASE???

  3. #3
    Join Date
    Jan 2004
    Posts
    58,250
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Reset Customer Id

    Quote Originally Posted by helpme View Post
    Is there any way of ... increasing the customer id # to a higher number?
    Use phpMyAdmin and alter the auto-increment value on the customers table to the new number.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  4. #4
    Join Date
    Apr 2007
    Posts
    650
    Plugin Contributions
    0

    Default Re: Reset Customer Id

    Awesome THANKS!!!!!

    Is there any way of deleting the non primary addresses without intrupting the accounts???

  5. #5
    Join Date
    Jan 2004
    Posts
    58,250
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Reset Customer Id

    sure - delete the entries in address_book where there's no matching customers_default_address_id in the customers table


    Always make backups before deleting data.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    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.

  6. #6
    Join Date
    Apr 2007
    Posts
    650
    Plugin Contributions
    0

    Default Re: Reset Customer Id

    never mind, got it!

    Thank you so SO SO Much!!!!! You saved me a LARGE headache!!!

 

 

Similar Threads

  1. Reset customer password from admin
    By romanus in forum All Other Contributions/Addons
    Replies: 22
    Last Post: 5 Dec 2012, 09:04 AM
  2. Mass Reset Customer Passwords
    By JuxiZoza in forum All Other Contributions/Addons
    Replies: 5
    Last Post: 3 Feb 2009, 06:18 AM
  3. Customer Password Reset Email
    By ragemoto in forum General Questions
    Replies: 5
    Last Post: 30 Jun 2008, 07:29 PM
  4. Product + Customer Id Reset
    By skyxliner in forum Managing Customers and Orders
    Replies: 1
    Last Post: 15 May 2006, 01:32 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
  •