Page 1 of 3 123 LastLast
Results 1 to 10 of 24
  1. #1
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Transfering Customers & Orders

    Is it possible to transfer only the customers and their orders, information etc to a fresh new installed shop with a new database.

    If possible, how wil i do that?

    The shop has now the following modules realted to customers :
    reward points
    dualpricing

    Thank you for any advice / help

  2. #2
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Transfering Customers & Orders

    Why are you using a new database instead of keeping the actual real live database that contains the REAL information?
    .
    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.

  3. #3
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Transfering Customers & Orders

    Thank you for your reply.

    Because i want to update all the modules and the shop from 1.3.g to h and also start with a new template

    Also i tried to update image handler and light box. This failt and my lightbox isnt working anymore

  4. #4
    Join Date
    Aug 2005
    Location
    Vic, Oz
    Posts
    1,905
    Plugin Contributions
    5

    Default Re: Transfering Customers & Orders

    Quote Originally Posted by dre View Post
    Thank you for your reply.

    Because i want to update all the modules and the shop from 1.3.g to h and also start with a new template

    Also i tried to update image handler and light box. This failt and my lightbox isnt working anymore
    I don't believe there were any database changes from 1.3.9g to 1.3.9h So you should be using the same database as they are the same in both versions.

    You just overwrite the php files with the new versions and update your template and modules

  5. #5
    Join Date
    Jun 2008
    Posts
    1
    Plugin Contributions
    0

    Default Re: Transfering Customers & Orders

    Hi

    If there was no changes in DB structure of this tables this sql commands will fill your customers and orders information, you have to change new_table and old_table to your table names, and run this commands in your phpMyAdmin.

    insert into new_table.`address_book`
    select * from old_table.`address_book`;
    insert into new_table.`customers`
    select * from old_table.`customers`;
    insert into new_table.`customers_basket`
    select * from old_table.`customers_basket`;
    insert into new_table.`customers_basket_attributes`
    select * from old_table.`customers_basket_attributes`;
    insert into new_table.`customers_info`
    select * from old_table.`customers_info`;
    insert into new_table.`orders`
    select * from old_table.`orders`;
    insert into new_table.`orders_products`
    select * from old_table.`orders_products`;
    insert into new_table.`orders_products_attributes`
    select * from old_table.`orders_products_attributes`;
    insert into new_table.`orders_products_download`
    select * from old_table.`orders_products_download`;
    insert into new_table.`orders_status_history`
    select * from old_table.`orders_status_history`;
    insert into new_table.`orders_total`
    select * from old_table.`orders_total`;


    Matej

  6. #6
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Transfering Customers & Orders

    mastico's suggestion is incomplete, and doesn't accomplish what dre was asking for. In fact it will result in duplicate records and all kinds of MySQL errors. And it will lose payment history data.

    A FAR BETTER APPROACH is to use the actual live database directly.
    .
    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.

  7. #7
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Transfering Customers & Orders

    pfew I wanted to try the option from mastico . So there is no way to transfer only the customers and their information.

  8. #8
    Join Date
    Jan 2004
    Posts
    66,450
    Plugin Contributions
    81

    Default Re: Transfering Customers & Orders

    What's so difficult about using the original live database?

    What's so important about this "new" database that you're treating it more sacred than your real live data?
    .
    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.

  9. #9
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Transfering Customers & Orders

    The problem is there are some modules not working anymore or i want to get them out of the database .

    So is zen lightbox after upgrading image handler not working any more. Paypal is accepting payment but i dont get the orders and i tried mailbeez but al the extra good modules for mailbez you have to pay for.

  10. #10
    Join Date
    Mar 2006
    Location
    The Netherlands
    Posts
    93
    Plugin Contributions
    0

    Default Re: Transfering Customers & Orders

    So i its not possible to transfer customer details etc to a new database?

 

 
Page 1 of 3 123 LastLast

Similar Threads

  1. Import Customers & Orders During Upgrade
    By DVDTitan in forum Upgrading from 1.3.x to 1.3.9
    Replies: 3
    Last Post: 16 Aug 2010, 05:48 PM
  2. Customers & Orders missing after upgrade
    By riggo in forum Upgrading from 1.3.x to 1.3.9
    Replies: 1
    Last Post: 12 May 2010, 08:51 PM
  3. Mass deleting customers & orders from a test database
    By KevinP in forum General Questions
    Replies: 4
    Last Post: 25 May 2009, 03:40 PM
  4. Deleting Customers & Orders
    By esugrue in forum Managing Customers and Orders
    Replies: 2
    Last Post: 5 Nov 2007, 11:17 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