On both systems: https://wordpress.org/plugins/wp-ultimate-csv-importer/
wp plugin install https://downloads.wordpress.org/plugin/wp-ultimate-csv-importer.zip --activate
On the source system: https://wordpress.org/plugins/wp-ultimate-exporter/
wp plugin install https://downloads.wordpress.org/plugin/wp-ultimate-exporter.1.4.zip --activate
https://wordpress.org/plugins/users-customers-import-export-for-wp-woocommerce/
wp plugin install https://downloads.wordpress.org/plugin/users-customers-import-export-for-wp-woocommerce.1.0.7.zip --activate
On the target system: https://wordpress.org/plugins/import-users/
wp plugin install https://downloads.wordpress.org/plugin/import-users.1.1.zip --activate
maybe for products? https://wordpress.org/plugins/import-woocommerce/
On the source system:
- Goto "Users / User Import Export"
- Choose User Roles "Customer"
- Select all Columns
- Click Export Users
- Goto "Users / Export User Data"
- Click select "All" under User Meta Fields
- Select Format "CSV"
- Select Role "Customer" (under Advanced Options)
- Click "Run Export"
Fire up MS Excel:
- Import both csv files as UTF-8 with delimiter ","
- Select and copy all missing columns
- Paste into the other sheet
- Save as CSV UTF-8
On the target system:
- Goto "Ultimate CSV Importer Free / Import / Update"
- Upload csv file
- Choose "New Items" and "Users"
- Mapping the fields (shipping_email, shipping_phone)
- Click "Continue"
- Deselect all options
- Click "Continue"
- Click "Import"
On both systems: https://wordpress.org/plugins/order-import-export-for-woocommerce/
wp plugin install https://downloads.wordpress.org/plugin/order-import-export-for-woocommerce.1.2.5.zip --activate
On the source system:
- Goto WooCommerce / Order Im-Ex
- Click "Export Orders"
- Save on your computer
On the target system:
- Delete all orders
- Renumerate to 1
- Disable renumerate feature
- EDIT: now it's a good time to activate the hook
- Goto WooCommerce / Order Im-Ex
- Click "Import Orders"
- Choose csv file from your computer
- Click "Upload file and import"
- set renumerate to 50000
- activate renumerate feature
- EDIT: deactivate the hook
- Users keep their password
- Almost any user data is migrated
- A bit an overhead
- Orders get a new order number (with note for the old one)
- Orders can not be found by the old order number
- If on the target system are any existing order numbers, it fails with a message
- There is no link left to the original product art no
use this hook while importing the old data in your new system:
add_action('woocommerce_set_order_number', function($order, $order_number, $order_number_formatted) {
update_post_meta($order->get_id(), '_alg_wc_custom_order_number', $order_number);
}, 10, 3);
- cimy https://wordpress.org/plugins/cimy-user-manager/ --> only basic user data, no passwords
- Export & Import from here https://wordpress.org/plugins/export-user-data/ and https://wordpress.org/plugins/import-users-from-csv-with-meta/ --> those plugins don't have compatible csv declarations
- WOOEXIM --> lot of notices and products only
- Woo Imp Exp --> lot of notices and lite version does nothing at all!