balihr:
IMHO, the best thing to do is:
- create a backup of the old site's database
- upgrade old DB to latest version using zc_install
- export address_book, customers, customers_info, orders, orders_products, orders_products_attributes, orders_products_downloads, orders_status_history and orders_total
- DROP those tables in the new DB
- import from #3 into your new database
The only thing you need to be careful about is any plugins on the new site that may have modified any of those tables (for example, FEC would add a few columns into customers and orders...).
No need to use the entire old database because you'll probably lose your configuration and settings and could actually make your life complicated down the road...
I've used this approach numerous times and it never failed... :smile:
Hi balihr -
thanks so much for the response.
This is excellent information - it will seriously help me considering it's tried and tested.
Just a few more questions,
to upgrade the database, all that is required is the zc_install folder correct? I won't need to copy over the 1.5.1 files over the 1.3.9h files for purposes of just the database upgrade?
I took a look at my tables on 1.3.9h and just compared columns and so forth. I noticed that my order_totals included a variable "ot_insurance". This is a module I use and will use in the new store, this is the Optional Insurance module. I take it I should probably install this module into my new 1.5.1 before importing the selected tables?
I also noticed in my orders table - the shipping_module_code column has the customized shipping modules according to how I have renamed them - in this case I will need to first have those copied over (or re-created) before I should import the orders table - like in the case of the "ot_insurance" ?
I think to be safe I should also copy over the products and just disable them manually, there are only 300 or so products.
Please advise on the tables required for the products (I do not use attributes) - according to the WiKi, these are the tables I should definitely use:
products
products_description
products_to_categories
categories
categories_description
manufacturers
manufacturers_info