Import Export WordPress Users and WooCommerce Customers - Version 2.1.8

Version Description

  • Bug fix: Email and username validation improvements
  • WP 5.8 tested OK
  • WC 5.5 tested OK
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Import Export WordPress Users and WooCommerce Customers
Version 2.1.8
Comparing to
See all releases

Code changes from version 2.1.7 to 2.1.8

admin/modules/history/history.php CHANGED
@@ -164,7 +164,7 @@ class Wt_Import_Export_For_Woo_Basic_History
164
  }
165
  }else{
166
  $out['status']=1;
167
- $out['html']= sprintf( __( 'Please check the Save import log is enabled under <a target = "_blank" href="%s">settings</a>' ), admin_url('admin.php?page=wt_import_export_for_woo_basic'));
168
  }
169
  }
170
  }
164
  }
165
  }else{
166
  $out['status']=1;
167
+ $out['html']= sprintf( __( 'Please check the Generate import log is enabled under <a target = "_blank" href="%s">settings</a>' ), admin_url('admin.php?page=wt_import_export_for_woo_basic'));
168
  }
169
  }
170
  }
admin/modules/import/assets/js/main.js CHANGED
@@ -471,7 +471,7 @@ var wt_iew_basic_import=(function( $ ) {
471
  }
472
  }
473
 
474
- if(this.current_step=='method_import' && !this.is_valid_file) /* method import page, then check file validation is done. */
475
  {
476
  if(action_type=='step' && this.is_previous_step(action)) /* step action and previous step */
477
  {
471
  }
472
  }
473
 
474
+ if(this.current_step=='method_import') // && !this.is_valid_file) /* method import page, then check file validation is done. */
475
  {
476
  if(action_type=='step' && this.is_previous_step(action)) /* step action and previous step */
477
  {
admin/modules/import/import.php CHANGED
@@ -108,7 +108,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
108
  public function advanced_setting_fields($fields)
109
  {
110
  $fields['enable_import_log']=array(
111
- 'label'=>__("Save Import log"),
112
  'type'=>'radio',
113
  'radio_fields'=>array(
114
  1=>__('Yes'),
@@ -117,7 +117,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
117
  'value' =>1,
118
  'field_name'=>'enable_import_log',
119
  'field_group'=>'advanced_field',
120
- 'help_text'=>__('Save import log as text file and make it available in the history section for debugging purposes.'),
121
  'validation_rule'=>array('type'=>'absint'),
122
  );
123
  $import_methods=array_map(function($vl){ return $vl['title']; }, $this->import_methods);
@@ -125,7 +125,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
125
  'label'=>__("Default Import method"),
126
  'type'=>'select',
127
  'sele_vals'=>$import_methods,
128
- 'value' =>'quick',
129
  'field_name'=>'default_import_method',
130
  'field_group'=>'advanced_field',
131
  'help_text'=>__('Select the default method of import.'),
108
  public function advanced_setting_fields($fields)
109
  {
110
  $fields['enable_import_log']=array(
111
+ 'label'=>__("Generate Import log"),
112
  'type'=>'radio',
113
  'radio_fields'=>array(
114
  1=>__('Yes'),
117
  'value' =>1,
118
  'field_name'=>'enable_import_log',
119
  'field_group'=>'advanced_field',
120
+ 'help_text'=>__('Generate import log as text file and make it available in the history section for debugging purposes.'),
121
  'validation_rule'=>array('type'=>'absint'),
122
  );
123
  $import_methods=array_map(function($vl){ return $vl['title']; }, $this->import_methods);
125
  'label'=>__("Default Import method"),
126
  'type'=>'select',
127
  'sele_vals'=>$import_methods,
128
+ 'value' =>'new',
129
  'field_name'=>'default_import_method',
130
  'field_group'=>'advanced_field',
131
  'help_text'=>__('Select the default method of import.'),
admin/modules/user/data/data-user-columns.php CHANGED
@@ -33,6 +33,8 @@ $columns['show_admin_bar_front'] = 'show_admin_bar_front';
33
  $columns['locale'] = 'locale';
34
  $columns[$wpdb->prefix.'user_level'] = $wpdb->prefix.'user_level';
35
  $columns['dismissed_wp_pointers'] = 'dismissed_wp_pointers';
 
 
36
  $columns['last_update'] = 'last_update';
37
 
38
 
@@ -41,26 +43,26 @@ if (!function_exists( 'is_plugin_active' ) )
41
 
42
  if( is_plugin_active( 'woocommerce/woocommerce.php' ) ):
43
 
44
- $columns['billing_first_name'] = 'billing_first_name';
45
- $columns['billing_last_name'] = 'billing_last_name';
46
- $columns['billing_company'] = 'billing_company';
47
- $columns['billing_email'] = 'billing_email';
48
- $columns['billing_phone'] = 'billing_phone';
49
- $columns['billing_address_1'] = 'billing_address_1';
50
- $columns['billing_address_2'] = 'billing_address_2';
51
- $columns['billing_postcode'] = 'billing_postcode';
52
- $columns['billing_city'] = 'billing_city';
53
- $columns['billing_state'] = 'billing_state';
54
- $columns['billing_country'] = 'billing_country';
55
- $columns['shipping_first_name'] = 'shipping_first_name';
56
- $columns['shipping_last_name'] = 'shipping_last_name';
57
- $columns['shipping_company'] = 'shipping_company';
58
- $columns['shipping_address_1'] = 'shipping_address_1';
59
- $columns['shipping_address_2'] = 'shipping_address_2';
60
- $columns['shipping_postcode'] = 'shipping_postcode';
61
- $columns['shipping_city'] = 'shipping_city';
62
- $columns['shipping_state'] = 'shipping_state';
63
- $columns['shipping_country'] = 'shipping_country';
64
 
65
  endif;
66
 
33
  $columns['locale'] = 'locale';
34
  $columns[$wpdb->prefix.'user_level'] = $wpdb->prefix.'user_level';
35
  $columns['dismissed_wp_pointers'] = 'dismissed_wp_pointers';
36
+ $columns['show_welcome_panel'] = 'show_welcome_panel';
37
+ $columns['session_tokens'] = 'session_tokens';
38
  $columns['last_update'] = 'last_update';
39
 
40
 
43
 
44
  if( is_plugin_active( 'woocommerce/woocommerce.php' ) ):
45
 
46
+ $columns['billing_first_name'] = 'Billing first name';
47
+ $columns['billing_last_name'] = 'Billing last name';
48
+ $columns['billing_company'] = 'Billing company';
49
+ $columns['billing_email'] = 'Billing email';
50
+ $columns['billing_phone'] = 'Billing phone';
51
+ $columns['billing_address_1'] = 'Billing address 1';
52
+ $columns['billing_address_2'] = 'Billing address 2';
53
+ $columns['billing_postcode'] = 'Billing postcode';
54
+ $columns['billing_city'] = 'Billing city';
55
+ $columns['billing_state'] = 'Billing state';
56
+ $columns['billing_country'] = 'Billing country';
57
+ $columns['shipping_first_name'] = 'Shipping first name';
58
+ $columns['shipping_last_name'] = 'Shipping last name';
59
+ $columns['shipping_company'] = 'Shipping company';
60
+ $columns['shipping_address_1'] = 'Shipping address 1';
61
+ $columns['shipping_address_2'] = 'Shipping address 2';
62
+ $columns['shipping_postcode'] = 'Shipping postcode';
63
+ $columns['shipping_city'] = 'Shipping city';
64
+ $columns['shipping_state'] = 'Shipping state';
65
+ $columns['shipping_country'] = 'Shipping country';
66
 
67
  endif;
68
 
admin/modules/user/data/data/data-wf-reserved-fields-pair.php CHANGED
@@ -32,31 +32,33 @@ $columns['show_admin_bar_front'] = array('title'=>'show_admin_bar_front','descri
32
  $columns['locale'] = array('title'=>'locale','description'=>'');
33
  $columns['wp_user_level'] = array('title'=>'wp_user_level','description'=>'');
34
  $columns['dismissed_wp_pointers'] = array('title'=>'dismissed_wp_pointers','description'=>'');
 
 
35
  $columns['last_update'] = array('title'=>'last_update','description'=>'');
36
 
37
 
38
  if( is_plugin_active( 'woocommerce/woocommerce.php' ) ):
39
 
40
- $columns['billing_first_name'] = array('title'=>'billing_first_name','description'=>'');
41
- $columns['billing_last_name'] = array('title'=>'billing_last_name','description'=>'');
42
- $columns['billing_company'] = array('title'=>'billing_company','description'=>'');
43
- $columns['billing_email'] = array('title'=>'billing_email','description'=>'');
44
- $columns['billing_phone'] = array('title'=>'billing_phone','description'=>'');
45
- $columns['billing_address_1'] = array('title'=>'billing_address_1','description'=>'');
46
- $columns['billing_address_2'] = array('title'=>'billing_address_2','description'=>'');
47
- $columns['billing_postcode'] = array('title'=>'billing_postcode','description'=>'');
48
- $columns['billing_city'] = array('title'=>'billing_city','description'=>'');
49
- $columns['billing_state'] = array('title'=>'billing_state','description'=>'');
50
- $columns['billing_country'] = array('title'=>'billing_country','description'=>'');
51
- $columns['shipping_first_name'] = array('title'=>'shipping_first_name','description'=>'');
52
- $columns['shipping_last_name'] = array('title'=>'shipping_last_name','description'=>'');
53
- $columns['shipping_company'] = array('title'=>'shipping_company','description'=>'');
54
- $columns['shipping_address_1'] = array('title'=>'shipping_address_1','description'=>'');
55
- $columns['shipping_address_2'] = array('title'=>'shipping_address_2','description'=>'');
56
- $columns['shipping_postcode'] = array('title'=>'shipping_postcode','description'=>'');
57
- $columns['shipping_city'] = array('title'=>'shipping_city','description'=>'');
58
- $columns['shipping_state'] = array('title'=>'shipping_state','description'=>'');
59
- $columns['shipping_country'] = array('title'=>'shipping_country','description'=>'');
60
 
61
  endif;
62
 
32
  $columns['locale'] = array('title'=>'locale','description'=>'');
33
  $columns['wp_user_level'] = array('title'=>'wp_user_level','description'=>'');
34
  $columns['dismissed_wp_pointers'] = array('title'=>'dismissed_wp_pointers','description'=>'');
35
+ $columns['show_welcome_panel'] = array('title'=>'show_welcome_panel','description'=>'');
36
+ $columns['session_tokens'] = array('title'=>'session_tokens','description'=>'');
37
  $columns['last_update'] = array('title'=>'last_update','description'=>'');
38
 
39
 
40
  if( is_plugin_active( 'woocommerce/woocommerce.php' ) ):
41
 
42
+ $columns['billing_first_name'] = array('title'=>'Billing first name','description'=>'');
43
+ $columns['billing_last_name'] = array('title'=>'Billing last name','description'=>'');
44
+ $columns['billing_company'] = array('title'=>'Billing company','description'=>'');
45
+ $columns['billing_email'] = array('title'=>'Billing email','description'=>'');
46
+ $columns['billing_phone'] = array('title'=>'Billing phone','description'=>'');
47
+ $columns['billing_address_1'] = array('title'=>'Billing address 1','description'=>'');
48
+ $columns['billing_address_2'] = array('title'=>'Billing address 2','description'=>'');
49
+ $columns['billing_postcode'] = array('title'=>'Billing postcode','description'=>'');
50
+ $columns['billing_city'] = array('title'=>'Billing city','description'=>'');
51
+ $columns['billing_state'] = array('title'=>'Billing state','description'=>'');
52
+ $columns['billing_country'] = array('title'=>'Billing country','description'=>'');
53
+ $columns['shipping_first_name'] = array('title'=>'Shipping first name','description'=>'');
54
+ $columns['shipping_last_name'] = array('title'=>'Shipping last name','description'=>'');
55
+ $columns['shipping_company'] = array('title'=>'Shipping company','description'=>'');
56
+ $columns['shipping_address_1'] = array('title'=>'Shipping address 1','description'=>'');
57
+ $columns['shipping_address_2'] = array('title'=>'Shipping address 2','description'=>'');
58
+ $columns['shipping_postcode'] = array('title'=>'Shipping postcode','description'=>'');
59
+ $columns['shipping_city'] = array('title'=>'Shipping city','description'=>'');
60
+ $columns['shipping_state'] = array('title'=>'Shipping state','description'=>'');
61
+ $columns['shipping_country'] = array('title'=>'Shipping country','description'=>'');
62
 
63
  endif;
64
 
admin/modules/user/export/export.php CHANGED
@@ -145,7 +145,11 @@ class Wt_Import_Export_For_Woo_basic_User_Export {
145
  if ($key == 'customer_id') {
146
  $customer_data[$key] = !empty($user->ID) ? maybe_serialize($user->ID) : '';
147
  continue;
148
- }
 
 
 
 
149
  if($key == $wpdb->prefix.'user_level'){
150
  $customer_data[$key] = (!empty($user->{$key})) ? $user->{$key} : 0;
151
  continue;
145
  if ($key == 'customer_id') {
146
  $customer_data[$key] = !empty($user->ID) ? maybe_serialize($user->ID) : '';
147
  continue;
148
+ }
149
+ if ($key == 'session_tokens') {
150
+ $customer_data[$key] = !empty($user->{$key}) ? base64_encode(json_encode(maybe_unserialize($user->{$key}))) : '';
151
+ continue;
152
+ }
153
  if($key == $wpdb->prefix.'user_level'){
154
  $customer_data[$key] = (!empty($user->{$key})) ? $user->{$key} : 0;
155
  continue;
admin/modules/user/import/import.php CHANGED
@@ -130,7 +130,7 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
130
  }
131
  }
132
 
133
- $email = isset($item['user_email']) && '' != $item['user_email'] ? $item['user_email'] : '';
134
  $id_found_with_email = '';
135
  if(!empty($email) && 'email' == $this->merge_with){
136
 
@@ -142,7 +142,7 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
142
 
143
  }
144
 
145
- $username = isset($item['user_login']) && '' != $item['user_login'] ? $item['user_login'] : '';
146
  $id_found_with_username = '';
147
  if(!empty($username) && 'username' == $this->merge_with){
148
 
@@ -178,11 +178,11 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
178
 
179
  if (!$this->is_user_exist) {
180
  $create_user_without_email = apply_filters('wt_create_user_without_email', FALSE); // create user without email address
181
- if (empty($item['user_email']) && $create_user_without_email === FALSE) {
182
  $this->hf_log_data_change('user-csv-import', __('> skipped: cannot insert user without email.'));
183
  unset($item);
184
  return new WP_Error('parse-error', __('> skipped: cannot insert user without email.'));
185
- } elseif (!is_email($item['user_email']) && $create_user_without_email === FALSE) {
186
  $this->hf_log_data_change('user-csv-import', sprintf(__('> skipped: Email is not valid. %s'), $item['user_email']));
187
  unset($item);
188
  return new WP_Error('parse-error', __('> skipped: Email is not valid.'));
@@ -198,12 +198,12 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
198
  continue;
199
  }
200
  if(isset($item[$value]))
201
- $user_details[$key] = $item[$value];
202
  //$user_details[$key] = isset( $item[$value] ) ? $item[$value] : "" ;
203
  }
204
 
205
  foreach ($this->user_meta_fields as $key => $value){
206
- $user_meta[] = array( 'key' => $key, 'value' => isset( $item[$value] ) ? $item[$value] : "" );
207
  }
208
 
209
  // the $user_details array will now contain the necessary name-value pairs for the wp_users table, and also any meta data in the 'usermeta' array
@@ -212,7 +212,6 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
212
  $parsed_details['user_details'] = $user_details;
213
  $parsed_details['user_meta'] = $user_meta;
214
 
215
-
216
  return $parsed_details;
217
  } catch (Exception $e) {
218
  return new WP_Error('woocommerce_product_importer_error', $e->getMessage(), array('status' => $e->getCode()));
@@ -404,7 +403,14 @@ class Wt_Import_Export_For_Woo_basic_User_Import {
404
  $key = trim(str_replace('meta:', '', $key));
405
  // $meta = trim(str_replace('meta:', '', $meta));
406
  $meta_value = (!empty($meta_array[$key]) ) ? maybe_unserialize($meta_array[$key]) : '';
407
- if ($key == $wpdb->prefix.'user_level' && $meta_value == ''){ $meta_value = 0;
 
 
 
 
 
 
 
408
  }
409
  if (empty($meta_value) && !$merge_empty_cells) {
410
  continue;
130
  }
131
  }
132
 
133
+ $email = isset($item['user_email']) && '' != $item['user_email'] ? trim($item['user_email']) : '';
134
  $id_found_with_email = '';
135
  if(!empty($email) && 'email' == $this->merge_with){
136
 
142
 
143
  }
144
 
145
+ $username = isset($item['user_login']) && '' != $item['user_login'] ? trim($item['user_login']) : '';
146
  $id_found_with_username = '';
147
  if(!empty($username) && 'username' == $this->merge_with){
148
 
178
 
179
  if (!$this->is_user_exist) {
180
  $create_user_without_email = apply_filters('wt_create_user_without_email', FALSE); // create user without email address
181
+ if (empty($email) && $create_user_without_email === FALSE) {
182
  $this->hf_log_data_change('user-csv-import', __('> skipped: cannot insert user without email.'));
183
  unset($item);
184
  return new WP_Error('parse-error', __('> skipped: cannot insert user without email.'));
185
+ } elseif (!is_email($email) && $create_user_without_email === FALSE) {
186
  $this->hf_log_data_change('user-csv-import', sprintf(__('> skipped: Email is not valid. %s'), $item['user_email']));
187
  unset($item);
188
  return new WP_Error('parse-error', __('> skipped: Email is not valid.'));
198
  continue;
199
  }
200
  if(isset($item[$value]))
201
+ $user_details[$key] = trim($item[$value]);
202
  //$user_details[$key] = isset( $item[$value] ) ? $item[$value] : "" ;
203
  }
204
 
205
  foreach ($this->user_meta_fields as $key => $value){
206
+ $user_meta[] = array( 'key' => $key, 'value' => isset( $item[$key] ) ? trim($item[$key]) : "" );
207
  }
208
 
209
  // the $user_details array will now contain the necessary name-value pairs for the wp_users table, and also any meta data in the 'usermeta' array
212
  $parsed_details['user_details'] = $user_details;
213
  $parsed_details['user_meta'] = $user_meta;
214
 
 
215
  return $parsed_details;
216
  } catch (Exception $e) {
217
  return new WP_Error('woocommerce_product_importer_error', $e->getMessage(), array('status' => $e->getCode()));
403
  $key = trim(str_replace('meta:', '', $key));
404
  // $meta = trim(str_replace('meta:', '', $meta));
405
  $meta_value = (!empty($meta_array[$key]) ) ? maybe_unserialize($meta_array[$key]) : '';
406
+ if ($key == $wpdb->prefix.'user_level' && $meta_value == ''){
407
+ $meta_value = 0;
408
+ }
409
+ if ('session_tokens' == $key) {
410
+ if (!empty($meta_array[$key]) ) {
411
+ $session_json = base64_decode($meta_array[$key]);
412
+ $meta_value = json_decode($session_json, true);
413
+ }
414
  }
415
  if (empty($meta_value) && !$merge_empty_cells) {
416
  continue;
includes/class-wt-import-export-for-woo.php CHANGED
@@ -80,7 +80,7 @@ class Wt_Import_Export_For_Woo_Basic {
80
  if ( defined( 'WT_U_IEW_VERSION' ) ) {
81
  $this->version = WT_U_IEW_VERSION;
82
  } else {
83
- $this->version = '2.1.7';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
80
  if ( defined( 'WT_U_IEW_VERSION' ) ) {
81
  $this->version = WT_U_IEW_VERSION;
82
  } else {
83
+ $this->version = '2.1.8';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
includes/class-wt-userimport-uninstall-feedback.php CHANGED
@@ -88,6 +88,10 @@ if (!class_exists('WT_UserImport_Uninstall_Feedback')) :
88
  </li>
89
  <?php } ?>
90
  </ul>
 
 
 
 
91
  </div>
92
  <div class="userimport-modal-footer">
93
  <a href="#" class="dont-bother-me"><?php _e('I rather wouldn\'t say', 'users-customers-import-export-for-wp-woocommerce'); ?></a>
@@ -144,6 +148,20 @@ if (!class_exists('WT_UserImport_Uninstall_Feedback')) :
144
  .review-and-deactivate{
145
  padding:5px;
146
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
147
  </style>
148
  <script type="text/javascript">
149
  (function ($) {
88
  </li>
89
  <?php } ?>
90
  </ul>
91
+ <div class="wt-uninstall-feedback-privacy-policy">
92
+ <?php _e('We do not collect any personal data when you submit this form. It\'s your feedback that we value.', 'users-customers-import-export-for-wp-woocommerce'); ?>
93
+ <a href="https://www.webtoffee.com/privacy-policy/" target="_blank"><?php _e('Privacy Policy', 'users-customers-import-export-for-wp-woocommerce'); ?></a>
94
+ </div>
95
  </div>
96
  <div class="userimport-modal-footer">
97
  <a href="#" class="dont-bother-me"><?php _e('I rather wouldn\'t say', 'users-customers-import-export-for-wp-woocommerce'); ?></a>
148
  .review-and-deactivate{
149
  padding:5px;
150
  }
151
+ .wt-uninstall-feedback-privacy-policy {
152
+ text-align: left;
153
+ font-size: 12px;
154
+ color: #aaa;
155
+ line-height: 14px;
156
+ margin-top: 20px;
157
+ font-style: italic;
158
+ }
159
+
160
+ .wt-uninstall-feedback-privacy-policy a {
161
+ font-size: 11px;
162
+ color: #4b9cc3;
163
+ text-decoration-color: #99c3d7;
164
+ }
165
  </style>
166
  <script type="text/javascript">
167
  (function ($) {
readme.txt CHANGED
@@ -3,17 +3,17 @@ Contributors: webtoffee
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: user import, user export, csv, woocommerce, customers, export import users, export customers, import customers, import, export, export users to csv, import users from csv
5
  Requires at least: 3.0.1
6
- Tested up to: 5.7
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.7
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
12
- Import users and export users made simple! Easily export users to CSV, import users from CSV. Fastest user export import plugin.
13
 
14
  == Description ==
15
 
16
- WordPress User Import Export plugin allows the import and export of WordPress users and WooCommerce customers quickly and easily. User export and user import are much required feature while moving WordPress / WooCommerce websites.
17
 
18
 
19
  &#128312; Users Export - Export Users to CSV.
@@ -25,17 +25,17 @@ WordPress User Import Export plugin allows the import and export of WordPress us
25
  &#128312; Retain user passwords (optional)
26
  &#128312; Map and Transform fields while importing customers/users
27
  &#128312; Change values (bulk modify) while importing customers/users using Evaluation Fields
28
- &#128312; Tested OK with WordPress 5.7
29
- &#128312; Tested OK with WooCommerce 5.4
30
  &#128312; Tested OK with PHP 8.0
31
 
32
  Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
33
 
34
  = How does it work? =
35
 
36
- The Import Export WordPress Users Plugin takes CSV (Comma-Separated Values) file as input. You must create a CSV file and enter the user details in a structured format as explained in the tutorial. This is to match each field of CSV file to the field of a particular user fields, otherwise, Admin needs to input manually. For example, the user_email field gets mapped to the User Email. For the plugin to work correctly, you must map headers of all the column correctly and you must ensure that all of the fields you enter is in the correct format.
37
 
38
- You can create the CSV from the scratch or you can export the users to get the format of CSV. You can use a spreadsheet program, such as Microsoft Excel, OpenOffice, LibreOffice or Google Spreadsheets for creating and modifying the CSV file. Save this file in UTF-8 encoding with extension .CSV. After entering all details about users in a spreadsheet, you can bulk import users to your online Site/Store. With this plugin, you can also export and download user details as a CSV file.
39
 
40
  More information about the set up of the plugin and a sample CSV that is taken as input by the plugin is given in the <a rel="nofollow" href="https://www.webtoffee.com/user-import-export-plugin-wordpress-user-guide/">WordPress Users & WooCommerce Customers Import Export Plugin - User Guide.</a>
41
 
@@ -58,7 +58,7 @@ Watch the video on getting started with the plugin.
58
  &#9989; Choice to Update or Skip existing imported Customers.
59
  &#9989; Bulk update existing customers/user data.
60
  &#9989; Choice to Send or Skip emails for newly imported Customers.
61
- &#9989; WPML Supported. French language support Out of the Box.
62
  &#9989; Export Import users/customers to/from a remote server via FTP in Scheduled time interval with Cron Job.
63
  &#9989; Supports Import from URL.
64
  &#9989; Third party plugin customization support.</li>
@@ -72,54 +72,54 @@ Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/wordpress
72
 
73
  **Use Cases Handled**
74
 
75
- Import Export WordPress Users Plugin is an ideal plugin for exporting and importing WordPress users or WooCommerce customers details from/to your WooCommerce store for migrating an existing online store.
76
 
77
  The following use cases are handled by the plugin
78
 
79
- &#9989; User Export - WordPress Export Users to CSV.
80
- &#9989; User Import - WordPress Import Users from CSV.
81
  &#9989; Customer Export - WooCommerce Export Customers to CSV.
82
  &#9989; Customer Import - WooCommerce Import Customers from CSV.
83
 
84
 
85
  WordPress Export Users to CSV
86
 
87
- With this WordPress user export plugin, you can export WordPress users from the WordPress site and generate a CSV file. Use this CSV file to migrate users to another WordPress site by first using the WordPress Export Users functionality and then WordPress import users or merge users (update existing users) functionality of this plugin. If you have hundreds, even thousands, of WordPress users, this helps to save your effort and time of manually adding user information.
88
 
89
- You can bulk export users details to CSV file with multiple powerful filters such as User Roles, date ranges, etc. Even the plugin automatically uploads your exports via FTP(premium).
90
 
91
  WordPress Import Users from CSV
92
 
93
- You can import WordPress users to your WordPress site from other platforms easily and quickly using this WordPress user import plugin. Use WordPress import users feature or merge users (update existing users) hundreds, even thousands, of WordPress users details using one file which saves your effort and time of manually adding user information.
94
 
95
- This WordPress import plugin has the option to send an Email to the user email ID whenever the admin imports/updates users details.
96
 
97
  You can map your import columns to the appropriate WordPress data to import or merge user details. You can also import data from a variety of sources, such as an uploaded CSV file on FTP (Premium), locally saved CSV file to your computer.
98
 
99
- For importing WordPress user details to your website, you must create a CSV(Comma-Separated Values) file which contains information about mapping fields in a tabular form. You can create a CSV file by using a spreadsheet program, such as Excel, or Google Spreadsheets. Save this file with extension .CSV. After entering all details about WordPress users in the spreadsheet, you can import to your website.
100
 
101
  WooCommerce Export Customers to CSV
102
 
103
  You can export the WooCommerce customer list from WordPress/WooCommerce site and generate a CSV file. Use this CSV file to migrate customers to another online store by WordPress import customers functionality or merge customers (update existing customers-premium) functionality of this plugin. If you have hundreds, even thousands, of WooCommerce Customers, this helps to save your effort and time of manually adding the WooCommerce customer list.
104
 
105
- The plugin can easily export customers details to CSV file by filtering customers by user role. Even the plugin automatically uploads your exports via FTP (premium).
106
 
107
  WooCommerce Import Customers from CSV
108
 
109
- You can import WooCommerce customers to WordPress/WooCommerce site easily. WooCommerce import customers feature or merge customers feature (update existing customers) help move or update hundreds, even thousands, of customers details using one file which saves your effort and time of manually adding user information.
110
 
111
  The plugin has the option to send an Email to the user email ID whenever the admin imports/updates customer details (premium).
112
 
113
  You can map your import columns to the appropriate WooCommerce data to import or merge customer details. You can also import data from a variety of sources, such as an uploaded CSV file on FTP (Premium), locally saved CSV file to your computer.
114
 
115
- For importing WooCommerce customer details to your website, you must create a CSV(Comma-Separated Values) file which contains information about mapping fields in a tabular form. You can create CSV file by using a spreadsheet program, such as Excel, or Google Spreadsheets. Save this file with extension .CSV. After entering all details about WooCommerce users in the spreadsheet, you can import to your website.
116
 
117
  = Import/Export/Migration Plugins for WooCommerce from WebToffee =
118
 
119
 
120
  &#128312; <a href="https://wordpress.org/plugins/product-import-export-for-woo/">WooCommerce Product Import Export Plugin</a>: Easily import and export products to/from your WooCommerce store using a CSV file.
121
  &#128312; <a href="https://wordpress.org/plugins/order-import-export-for-woocommerce/">WooCommerce Order/Coupon/Subscription Import Export</a>: The plugin lets you export and import orders and coupons via CSV to and from your WooCommerce store.
122
- &#128312; <a href="https://wordpress.org/plugins/wp-migration-duplicator/">WordPress Backup & Migration</a>: Quickly migrate and backup entire WordPress site or selected files from one location to another. Backup to FTP, Google drive, Amazon S3 or local storage and easily restore them back.
123
 
124
 
125
  = About WebToffee.com =
@@ -145,13 +145,13 @@ This plugin exports user data to CSV which can be opened with Excel and saved as
145
 
146
  Yes. You can export import users along with multiple user roles
147
 
148
- = Does this plugin export woocommerce customer data? =
149
 
150
  Yes. Using the premium version you can export customer data as well.
151
 
152
- = Can the plugin handle woocommerce export customer emails? =
153
 
154
- Yes. In the premium version, the exported CSV will have all customer emails. woocommerce export customer email plugin basically does the same by exporting all customer emails to a CSV.
155
 
156
  = Does this export users with passwords? =
157
 
@@ -161,7 +161,7 @@ Yes. This plugin will export users with passwords
161
 
162
  Yes. This plugin will import users with the password, so users can use the same old password in the imported site as well
163
 
164
- = Does this plugin support woocommerce customer order CSV export? =
165
 
166
  No. You may want to use <a rel="nofollow" href="https://wordpress.org/plugins/order-import-export-for-woocommerce/">Order Export & Order Import for WooCommerce</a> for this
167
 
@@ -179,7 +179,7 @@ This version of the plugin does not support the import or export of user custom
179
 
180
  = Can this plugin update existing user data? =
181
 
182
- Yes, you can update the user data with the help of this plugin. The users will be updated during an import, if the 'If the user exists in the store' field in the Advanced options is set to 'Update'.
183
 
184
  = Imported customers are not listed under WooCommerce customers =
185
 
@@ -214,8 +214,12 @@ Please refer the article on how to <a href="https://www.webtoffee.com/refresh-wo
214
 
215
  == Changelog ==
216
 
 
 
 
 
217
  = 2.1.7 =
218
- * Bug fix: Default role getting added when importing with custom role
219
  = 2.1.6 =
220
  * Faq update: Refresh WooCommerce customer list after import
221
  = 2.1.5 =
@@ -386,5 +390,7 @@ Please refer the article on how to <a href="https://www.webtoffee.com/refresh-wo
386
 
387
  == Upgrade Notice ==
388
 
389
- = 2.1.7 =
390
- * Bug fix: Default role getting added when importing with custom role
 
 
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: user import, user export, csv, woocommerce, customers, export import users, export customers, import customers, import, export, export users to csv, import users from csv
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
12
+ Import users and export users in WordPress made simple! Easily export users to CSV, import users from CSV. Fastest user export import plugin.
13
 
14
  == Description ==
15
 
16
+ WordPress User Import Export plugin allows the import and export of WordPress users and WooCommerce customers quickly and easily. User export and user import are much-required features while moving WordPress / WooCommerce sites.
17
 
18
 
19
  &#128312; Users Export - Export Users to CSV.
25
  &#128312; Retain user passwords (optional)
26
  &#128312; Map and Transform fields while importing customers/users
27
  &#128312; Change values (bulk modify) while importing customers/users using Evaluation Fields
28
+ &#128312; Tested OK with WordPress 5.8
29
+ &#128312; Tested OK with WooCommerce 5.5
30
  &#128312; Tested OK with PHP 8.0
31
 
32
  Highlights: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV. Pro Version supports export and import of all additional user meta like WooCommerce details.
33
 
34
  = How does it work? =
35
 
36
+ The Import Export WordPress Users Plugin takes CSV (Comma-Separated Values) file as input. You must create a CSV file and enter the user details in a structured format as explained in the tutorial. This is to match each field of CSV file to the field of particular user fields, otherwise, Admin needs to input manually. For example, the user_email field gets mapped to the User Email. For the plugin to work correctly, you must map headers of all the column correctly and you must ensure that all of the fields you enter is in the correct format.
37
 
38
+ You can create the CSV from the scratch or you can export the users to get the format of CSV. You can use a spreadsheet program, such as Microsoft Excel, OpenOffice, LibreOffice,e or Google Spreadsheets for creating and modifying the CSV file. Save this file in UTF-8 encoding with extension .CSV. After entering all details about users in a spreadsheet, you can bulk import users to WordPress. With this plugin, you can also export and download user details as a CSV file.
39
 
40
  More information about the set up of the plugin and a sample CSV that is taken as input by the plugin is given in the <a rel="nofollow" href="https://www.webtoffee.com/user-import-export-plugin-wordpress-user-guide/">WordPress Users & WooCommerce Customers Import Export Plugin - User Guide.</a>
41
 
58
  &#9989; Choice to Update or Skip existing imported Customers.
59
  &#9989; Bulk update existing customers/user data.
60
  &#9989; Choice to Send or Skip emails for newly imported Customers.
61
+ &#9989; WPML Supported. French language support.
62
  &#9989; Export Import users/customers to/from a remote server via FTP in Scheduled time interval with Cron Job.
63
  &#9989; Supports Import from URL.
64
  &#9989; Third party plugin customization support.</li>
72
 
73
  **Use Cases Handled**
74
 
75
+ Import Export WordPress Users Plugin is an ideal plugin for exporting and importing WordPress users or WooCommerce customers' details from/to your WooCommerce store for migrating an existing online store.
76
 
77
  The following use cases are handled by the plugin
78
 
79
+ &#9989; User Export - Export WordPress users to CSV.
80
+ &#9989; User Import - Import WordPress users from CSV.
81
  &#9989; Customer Export - WooCommerce Export Customers to CSV.
82
  &#9989; Customer Import - WooCommerce Import Customers from CSV.
83
 
84
 
85
  WordPress Export Users to CSV
86
 
87
+ With this WordPress user export plugin, you can export WordPress users from the WordPress site and generate a CSV file. Use this CSV file to migrate users to another WordPress site by first using the WordPress Export Users functionality and then the import or merge users (update existing users) functionality of this plugin. If you have hundreds, even thousands, of WordPress users, this helps to save your effort and time of manually adding user information.
88
 
89
+ You can bulk export users' details to a CSV file with multiple powerful filters such as User Roles, date ranges, etc. Even the plugin automatically uploads your exports via FTP(premium).
90
 
91
  WordPress Import Users from CSV
92
 
93
+ You can import WordPress users to your WordPress site from other platforms easily and quickly using this WordPress user import plugin. Using the WordPress user import or merge users (update existing users)feature you can import hundreds or thousands of WordPress users' details using one file which saves your effort and time of manually adding user information.
94
 
95
+ This WordPress import plugin has the option to send an Email to the user email ID whenever the admin imports/updates users' details.
96
 
97
  You can map your import columns to the appropriate WordPress data to import or merge user details. You can also import data from a variety of sources, such as an uploaded CSV file on FTP (Premium), locally saved CSV file to your computer.
98
 
99
+ For importing WordPress user details to your website, you must create a CSV(Comma-Separated Values) file which contains information about mapping fields in a tabular form. You can create a CSV file by using a spreadsheet program, such as Excel, or Google Spreadsheets. Save this file with extension '.csv'. After entering all details about WordPress users in the spreadsheet, you can import them to your website.
100
 
101
  WooCommerce Export Customers to CSV
102
 
103
  You can export the WooCommerce customer list from WordPress/WooCommerce site and generate a CSV file. Use this CSV file to migrate customers to another online store by WordPress import customers functionality or merge customers (update existing customers-premium) functionality of this plugin. If you have hundreds, even thousands, of WooCommerce Customers, this helps to save your effort and time of manually adding the WooCommerce customer list.
104
 
105
+ The plugin can easily export customers' details to CSV files by filtering customers by user role. Even the plugin automatically uploads your exports via FTP (premium).
106
 
107
  WooCommerce Import Customers from CSV
108
 
109
+ You can import WooCommerce customers to WordPress/WooCommerce sites easily. WooCommerce import customers feature or merge customers feature (update existing customers) help move or update hundreds, even thousands, of customers details using one file which saves your effort and time of manually adding user information.
110
 
111
  The plugin has the option to send an Email to the user email ID whenever the admin imports/updates customer details (premium).
112
 
113
  You can map your import columns to the appropriate WooCommerce data to import or merge customer details. You can also import data from a variety of sources, such as an uploaded CSV file on FTP (Premium), locally saved CSV file to your computer.
114
 
115
+ For importing WooCommerce customer details to your website, you must create a CSV(Comma-Separated Values) file which contains information about mapping fields in a tabular form. You can create a CSV file by using a spreadsheet program, such as Excel, or Google Spreadsheets. Save this file with extension .CSV. After entering all details about WooCommerce users in the spreadsheet, you can import them to your website.
116
 
117
  = Import/Export/Migration Plugins for WooCommerce from WebToffee =
118
 
119
 
120
  &#128312; <a href="https://wordpress.org/plugins/product-import-export-for-woo/">WooCommerce Product Import Export Plugin</a>: Easily import and export products to/from your WooCommerce store using a CSV file.
121
  &#128312; <a href="https://wordpress.org/plugins/order-import-export-for-woocommerce/">WooCommerce Order/Coupon/Subscription Import Export</a>: The plugin lets you export and import orders and coupons via CSV to and from your WooCommerce store.
122
+ &#128312; <a href="https://wordpress.org/plugins/wp-migration-duplicator/">WordPress Backup & Migration</a>: Quickly migrate and backup entire WordPress site or selected files from one location to another. Backup to FTP, Google Drive, Amazon S3, or local storage and easily restore them.
123
 
124
 
125
  = About WebToffee.com =
145
 
146
  Yes. You can export import users along with multiple user roles
147
 
148
+ = Does this plugin export WooCommerce customer data? =
149
 
150
  Yes. Using the premium version you can export customer data as well.
151
 
152
+ = Can the plugin handle WooCommerce export customer emails? =
153
 
154
+ Yes. In the premium version, the exported CSV will have all customer emails. WooCommerce export customer email plugin basically does the same by exporting all customer emails to a CSV.
155
 
156
  = Does this export users with passwords? =
157
 
161
 
162
  Yes. This plugin will import users with the password, so users can use the same old password in the imported site as well
163
 
164
+ = Does this plugin support WooCommerce customer order CSV export? =
165
 
166
  No. You may want to use <a rel="nofollow" href="https://wordpress.org/plugins/order-import-export-for-woocommerce/">Order Export & Order Import for WooCommerce</a> for this
167
 
179
 
180
  = Can this plugin update existing user data? =
181
 
182
+ Yes, you can update the user data with the help of this plugin. The users will be updated during the import if the 'If the user exists in the store' field in the Advanced options is set to 'Update'.
183
 
184
  = Imported customers are not listed under WooCommerce customers =
185
 
214
 
215
  == Changelog ==
216
 
217
+ = 2.1.8 =
218
+ * Bug fix: Email and username validation improvements
219
+ * WP 5.8 tested OK
220
+ * WC 5.5 tested OK
221
  = 2.1.7 =
222
+ * Bug fix: Default role getting added when importing with a custom role
223
  = 2.1.6 =
224
  * Faq update: Refresh WooCommerce customer list after import
225
  = 2.1.5 =
390
 
391
  == Upgrade Notice ==
392
 
393
+ = 2.1.8 =
394
+ * Bug fix: Email and username validation improvements
395
+ * WP 5.8 tested OK
396
+ * WC 5.5 tested OK
users-customers-import-export-for-wp-woocommerce.php CHANGED
@@ -5,8 +5,8 @@
5
  Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
8
- Version: 2.1.7
9
- WC tested up to: 5.4
10
  Text Domain: users-customers-import-export-for-wp-woocommerce
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -45,7 +45,7 @@ if (!defined('WT_IEW_DEBUG_BASIC_TROUBLESHOOT')) {
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
- define('WT_U_IEW_VERSION', '2.1.7');
49
 
50
  /**
51
  * The code that runs during plugin activation.
5
  Description: Export and Import User/Customers details From and To your WordPress/WooCommerce.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/
8
+ Version: 2.1.8
9
+ WC tested up to: 5.5
10
  Text Domain: users-customers-import-export-for-wp-woocommerce
11
  License: GPLv3
12
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
+ define('WT_U_IEW_VERSION', '2.1.8');
49
 
50
  /**
51
  * The code that runs during plugin activation.