Import Export WordPress Users and WooCommerce Customers - Version 2.3.6

Version Description

2022-11-24 = * WooCommerce 7.1 Tested OK. * WordPress 6.1 Tested OK. * Enhancement: Revised import mapping screen.

Download this release

Release Info

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

Code changes from version 2.3.5 to 2.3.6

admin/class-wt-import-export-for-woo-admin.php CHANGED
@@ -137,7 +137,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
137
  'loading'=>__('Loading...'),
138
  'no_results_found'=>__('No results found.'),
139
  'sure'=>__('Are you sure?'),
140
- 'use_expression'=>__('Use expression as value.'),
141
  'cancel'=>__('Cancel'),
142
  ),
143
  'pro_plugins' => array(
137
  'loading'=>__('Loading...'),
138
  'no_results_found'=>__('No results found.'),
139
  'sure'=>__('Are you sure?'),
140
+ 'use_expression'=>__('Apply'),
141
  'cancel'=>__('Cancel'),
142
  ),
143
  'pro_plugins' => array(
admin/css/wt-import-export-for-woo-admin.css CHANGED
@@ -19,6 +19,7 @@
19
  .wt-iew-settings-header{border-bottom:dashed 1px #ccc; margin-left:-15px; margin-right:-15px; padding-top:0px;}
20
  .wt-iew-settings-header h3{margin-top:0px; margin-left:15px; width:60%; display:inline-block;}
21
  .wt-iew-settings-header .wt_iew_step_info{float:right; font-weight:bold; margin-right:15px; background:#dceff4; display:inline-block; padding:5px 10px; margin-top:-6px; margin-bottom:-15px; padding-bottom:6px; line-height:24px; border-radius:6px; }
 
22
  .wt-iew-plugin-toolbar {
23
  height: 40px;
24
  width: 100%;
@@ -189,7 +190,7 @@
189
 
190
 
191
  /* mapping step */
192
- .wt-iew-mapping-tb{ border:1px solid #e5e5e5; width:90%; max-width:700px; }
193
  .wt-iew-mapping-tb th{ text-align:left; height:30px; /* background:#e5e5e5; */ border-bottom:solid 1px #e5e5e5; }
194
  .wt-iew-mapping-tb tr td:first-child, .wt-iew-mapping-tb tr th:first-child{ width:50px; }
195
  .wt-iew-mapping-tb td, .wt-iew-mapping-tb th{ padding:5px; }
@@ -213,7 +214,7 @@
213
  .wt_iew_checkbox{ display:inline-block; padding:0px 15px; }
214
  .wt_iew_mapping_field_val{ width:100%; min-height:32px; display:inline-block; background:#fff; padding:5px 5px; box-sizing:border-box; border:solid 1px #ced4da; border-radius:0.25rem; cursor:text; }
215
  span.wt_iew_mapping_field_val::after {
216
- content: "\f464";
217
  font-family: 'dashicons';
218
  font-size: 18px;
219
  width: 20px;
@@ -228,15 +229,17 @@ span.wt_iew_mapping_field_val::after {
228
  .wt-iew-sortable-placeholder td:last-child{ border:dashed 1px #ccc; border-left:none; }
229
 
230
  .meta_mapping_box{width:100%; float:left; height:auto; margin-bottom:0px;}
231
- .meta_mapping_box_hd{min-width:720px; width:auto; display:inline-block; height:40px; line-height:40px; font-weight:bold; background:#f6f6f6; box-sizing:border-box; padding:2px 10px; box-shadow:1px 1px 1px #e0e0e0; border-bottom:solid 1px #ccc; border-top:solid 1px #fff; cursor:pointer;}
232
- .meta_mapping_box_hd_nil{min-width:720px; width:auto; display:inline-block; height:40px; line-height:40px; font-weight:bold; background:#f6f6f6; box-sizing:border-box; padding:2px 10px; box-shadow:1px 1px 1px #e0e0e0; border-bottom:solid 1px #ccc; border-top:solid 1px #fff; cursor:pointer;}
233
  .meta_mapping_box_hd .dashicons{ margin-top:10px; }
234
  .meta_mapping_box_selected_count_box{ float:right; margin-top:-3px; font-weight:normal; font-style:italic; }
235
- .meta_mapping_box_con{min-width:720px; width:auto; display:inline-block; height:auto; padding:0px; display:none;}
236
  .wt-iew-mapping-tb{ min-width:720px; }
237
  .meta_mapping_box_toggle{ font-weight:normal; float:right; cursor:pointer; }
238
  .wt_iew_invalid_mapping_field{ color:red; display:inline-block !important; padding:0px !important; margin:0px !important; }
239
 
 
 
240
 
241
  /* popup */
242
  .wt_iew_overlay{ position:fixed; z-index:100000000; width:100%; height:100%; background-color:rgba(0,0,0,.5); left:0px; top:0px; display:none;}
@@ -462,14 +465,25 @@ border-top-right-radius: 5px; padding:5px; padding-left: 15px; line-height: 35px
462
  }
463
  .wt_iew_popover-footer{ background:#f7f7f7; clear:both; height:30px; margin:0px; margin-top:10px; border-bottom-left-radius:5px; border-bottom-right-radius:5px; padding:7px 15px;}
464
  .wt_iew_popover-content input[type="text"]{
465
- margin:5px 0px; border-radius:3px; padding: 0.2rem 0.3rem;
 
 
466
  font-size: 1rem;
467
  line-height: 1.5;
 
468
  }
469
  .wt_iew_popover-footer .button{
470
  float: right; margin-left: 5px;
471
  }
472
 
 
 
 
 
 
 
 
 
473
  /* mapping field editor */
474
  .wt_iew_mapping_field_editor_container{ display:none; }
475
  .wt_iew_mapping_field_editor{ float:left; width:400px; padding:0px; background:#fff; margin:0px;}
@@ -477,7 +491,7 @@ border-top-right-radius: 5px; padding:5px; padding-left: 15px; line-height: 35px
477
  .wt_iew_mapping_field_editor label{ float:left; width:100%; margin-bottom:3px; font-weight:bold; font-size:13px; color:#333; }
478
  .wt_iew_mapping_field_editor_box{border:solid 1px #ddd; float:left; width:100%; height:auto; min-height:50px; padding:3px; margin-bottom:10px; margin-top:5px;}
479
  .wt_iew_mapping_field_editor_box textarea{border:none; float:left; width:100%; height:50px; outline:none; resize:none;}
480
- .wt_iew_mapping_field_editor_box input[type="text"]{width:100%; font-size:12px;}
481
  .wt_iew_mapping_field_editor_box input[type="text"]::placeholder{ font-size:12px; }
482
  .wt_iew_mapping_field_editor_info{ margin:0px; }
483
  .wt_iew_mapping_field_editor_er{ margin:0px; color:red; }
@@ -1276,6 +1290,9 @@ ul.wt-ierpro-newfeat li {
1276
  margin: 0 0 0 12px;
1277
  color: #5D63D9;
1278
  }
 
 
 
1279
  .wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures ul{
1280
  padding: 0;
1281
  margin: 15px 25px 20px 25px;
19
  .wt-iew-settings-header{border-bottom:dashed 1px #ccc; margin-left:-15px; margin-right:-15px; padding-top:0px;}
20
  .wt-iew-settings-header h3{margin-top:0px; margin-left:15px; width:60%; display:inline-block;}
21
  .wt-iew-settings-header .wt_iew_step_info{float:right; font-weight:bold; margin-right:15px; background:#dceff4; display:inline-block; padding:5px 10px; margin-top:-6px; margin-bottom:-15px; padding-bottom:6px; line-height:24px; border-radius:6px; }
22
+ .rtl .wt-iew-settings-header .wt_iew_step_info{float:right; margin-left:15px; }
23
  .wt-iew-plugin-toolbar {
24
  height: 40px;
25
  width: 100%;
190
 
191
 
192
  /* mapping step */
193
+ .wt-iew-mapping-tb{ border:1px solid #e5e5e5; width:100%; }
194
  .wt-iew-mapping-tb th{ text-align:left; height:30px; /* background:#e5e5e5; */ border-bottom:solid 1px #e5e5e5; }
195
  .wt-iew-mapping-tb tr td:first-child, .wt-iew-mapping-tb tr th:first-child{ width:50px; }
196
  .wt-iew-mapping-tb td, .wt-iew-mapping-tb th{ padding:5px; }
214
  .wt_iew_checkbox{ display:inline-block; padding:0px 15px; }
215
  .wt_iew_mapping_field_val{ width:100%; min-height:32px; display:inline-block; background:#fff; padding:5px 5px; box-sizing:border-box; border:solid 1px #ced4da; border-radius:0.25rem; cursor:text; }
216
  span.wt_iew_mapping_field_val::after {
217
+ content: "\f347";
218
  font-family: 'dashicons';
219
  font-size: 18px;
220
  width: 20px;
229
  .wt-iew-sortable-placeholder td:last-child{ border:dashed 1px #ccc; border-left:none; }
230
 
231
  .meta_mapping_box{width:100%; float:left; height:auto; margin-bottom:0px;}
232
+ .meta_mapping_box_hd{min-width:720px; width:100%; display:inline-block; height:40px; line-height:40px; font-weight:bold; background:#f6f6f6; box-sizing:border-box; padding:2px 10px; box-shadow:1px 1px 1px #e0e0e0; border-bottom:solid 1px #ccc; border-top:solid 1px #fff; cursor:pointer;}
233
+ .meta_mapping_box_hd_nil{min-width:720px; width:100%; display:inline-block; height:40px; line-height:40px; font-weight:bold; background:#f6f6f6; box-sizing:border-box; padding:2px 10px; box-shadow:1px 1px 1px #e0e0e0; border-bottom:solid 1px #ccc; border-top:solid 1px #fff; cursor:pointer;}
234
  .meta_mapping_box_hd .dashicons{ margin-top:10px; }
235
  .meta_mapping_box_selected_count_box{ float:right; margin-top:-3px; font-weight:normal; font-style:italic; }
236
+ .meta_mapping_box_con{min-width:720px; width:100%; display:inline-block; height:auto; padding:0px; display:none;}
237
  .wt-iew-mapping-tb{ min-width:720px; }
238
  .meta_mapping_box_toggle{ font-weight:normal; float:right; cursor:pointer; }
239
  .wt_iew_invalid_mapping_field{ color:red; display:inline-block !important; padding:0px !important; margin:0px !important; }
240
 
241
+ .wt-iew-mapping-tb-imp tr td:nth-child(2), .wt-iew-mapping-tb-imp tr th:nth-child(2), .meta_mapping_box_hd_imp tr td:nth-child(2), .meta_mapping_box_hd_imp tr th:nth-child(2){ width:30% !important; }
242
+ .wt-iew-mapping-tb-imp tr td:nth-child(3), .wt-iew-mapping-tb-imp tr th:nth-child(3), .meta_mapping_box_hd_imp tr td:nth-child(2), .meta_mapping_box_hd_imp tr th:nth-child(2){ width:50% !important; }
243
 
244
  /* popup */
245
  .wt_iew_overlay{ position:fixed; z-index:100000000; width:100%; height:100%; background-color:rgba(0,0,0,.5); left:0px; top:0px; display:none;}
465
  }
466
  .wt_iew_popover-footer{ background:#f7f7f7; clear:both; height:30px; margin:0px; margin-top:10px; border-bottom-left-radius:5px; border-bottom-right-radius:5px; padding:7px 15px;}
467
  .wt_iew_popover-content input[type="text"]{
468
+ margin:5px;
469
+ border-radius:3px;
470
+ padding: 0.2rem 0.3rem;
471
  font-size: 1rem;
472
  line-height: 1.5;
473
+ text-indent: 25px;
474
  }
475
  .wt_iew_popover-footer .button{
476
  float: right; margin-left: 5px;
477
  }
478
 
479
+
480
+ .wt_iew_popover.wt-pop-hidden:before {
481
+ display: none;
482
+ }
483
+ .wt_iew_popover.wt-pop-hidden:after {
484
+ display: none;
485
+ }
486
+
487
  /* mapping field editor */
488
  .wt_iew_mapping_field_editor_container{ display:none; }
489
  .wt_iew_mapping_field_editor{ float:left; width:400px; padding:0px; background:#fff; margin:0px;}
491
  .wt_iew_mapping_field_editor label{ float:left; width:100%; margin-bottom:3px; font-weight:bold; font-size:13px; color:#333; }
492
  .wt_iew_mapping_field_editor_box{border:solid 1px #ddd; float:left; width:100%; height:auto; min-height:50px; padding:3px; margin-bottom:10px; margin-top:5px;}
493
  .wt_iew_mapping_field_editor_box textarea{border:none; float:left; width:100%; height:50px; outline:none; resize:none;}
494
+ .wt_iew_mapping_field_editor_box input[type="text"]{width:98%; font-size:12px;}
495
  .wt_iew_mapping_field_editor_box input[type="text"]::placeholder{ font-size:12px; }
496
  .wt_iew_mapping_field_editor_info{ margin:0px; }
497
  .wt_iew_mapping_field_editor_er{ margin:0px; color:red; }
1290
  margin: 0 0 0 12px;
1291
  color: #5D63D9;
1292
  }
1293
+ .rtl .wt-import-export-upsell-small-wrapper .wt-ierpro-name-small h4{
1294
+ margin: 0 12px 0 0px;
1295
+ }
1296
  .wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures ul{
1297
  padding: 0;
1298
  margin: 15px 25px 20px 25px;
admin/js/wt-import-export-for-woo-admin.js CHANGED
@@ -513,6 +513,17 @@ var wt_iew_popover=
513
  }
514
 
515
  var cr_elm=jQuery(this);
 
 
 
 
 
 
 
 
 
 
 
516
  if(cr_elm.attr('data-popup-opened')==1)
517
  {
518
  jQuery('[data-wt_iew_popover="1"]').attr('data-popup-opened',0);
@@ -550,7 +561,7 @@ var wt_iew_popover=
550
  pp_html=cr_elm.attr('data-content');
551
  }
552
  pp_elm.css({'display':'block'}).find('.wt_iew_popover-content').html(pp_html);
553
- pp_elm.find('.wt_iew_popover-footer').show();
554
  var cr_elm_w=cr_elm.width();
555
  var cr_elm_h=cr_elm.height();
556
  var pp_elm_w=pp_elm.width();
@@ -559,6 +570,34 @@ var wt_iew_popover=
559
  var cr_elm_pos_t=cr_elm_pos.top-((pp_elm_h-cr_elm_h)/4);
560
  var cr_elm_pos_l=cr_elm_pos.left+cr_elm_w;
561
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
562
  cr_elm_pos_t=cr_elm_pos_t+10; /* 10 px buffer for input span element padding */
563
 
564
  pp_elm.find('.wt_iew_popover-title-text').html(ttle);
@@ -566,6 +605,17 @@ var wt_iew_popover=
566
  jQuery('.wt_iew_target_column').html(target_elm_label);
567
  jQuery('.wt_iew_popover-content').find('.wt_iew_mapping_field_editor_expression').val(cr_elm.siblings('.columns_val').val());
568
 
 
 
 
 
 
 
 
 
 
 
 
569
  wt_iew_popover.set_active_row(cr_elm);
570
  pp_elm.css({'display':'block','opacity':0, 'top':cr_elm_pos_t,'left':cr_elm_pos_l}).stop(true,true).animate({'left':cr_elm_pos_l+20,'opacity':1}, 500, function(){
571
  jQuery('.wt_iew_mapping_field_editor_column_search').focus();
@@ -608,6 +658,37 @@ var wt_iew_popover=
608
  wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
609
  }
610
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  },
612
  regclosePop:function()
613
  {
513
  }
514
 
515
  var cr_elm=jQuery(this);
516
+
517
+ if(!cr_elm.hasClass('dashicons')){
518
+ jQuery('.wt_iew_mapping_field_editor_top').hide();
519
+ jQuery('.wt_iew_mapping_field_editor_bottom').hide();
520
+
521
+ }else{
522
+ jQuery('.wt_iew_mapping_field_editor_top').show();
523
+ jQuery('.wt_iew_mapping_field_editor_bottom').show();
524
+ var cr_elm = jQuery(this).closest('td').prev('td').find('span:first');
525
+ }
526
+
527
  if(cr_elm.attr('data-popup-opened')==1)
528
  {
529
  jQuery('[data-wt_iew_popover="1"]').attr('data-popup-opened',0);
561
  pp_html=cr_elm.attr('data-content');
562
  }
563
  pp_elm.css({'display':'block'}).find('.wt_iew_popover-content').html(pp_html);
564
+ //pp_elm.find('.wt_iew_popover-footer').show();
565
  var cr_elm_w=cr_elm.width();
566
  var cr_elm_h=cr_elm.height();
567
  var pp_elm_w=pp_elm.width();
570
  var cr_elm_pos_t=cr_elm_pos.top-((pp_elm_h-cr_elm_h)/4);
571
  var cr_elm_pos_l=cr_elm_pos.left+cr_elm_w;
572
 
573
+
574
+ jQuery('.wt_iew_popover').removeClass('wt-pop-hidden');
575
+ if(!jQuery(this).hasClass('dashicons')){
576
+ var cr_elm_pos_l=cr_elm_pos.left-20;
577
+ var cr_elm_pos_t=cr_elm_pos.top+cr_elm_h+3;
578
+ jQuery('.wt_iew_popover').addClass('wt-pop-hidden');
579
+ jQuery('.wt_iew_popover-content').css('padding', '0');
580
+ jQuery( '.wt_iew_mapping_popup_label' ).hide();
581
+ jQuery('.wt_iew_mapping_field_editor_box').css('margin-bottom', '0');
582
+ jQuery('.wt_iew_mapping_field_editor_box').css('margin-top', '0');
583
+ jQuery('.wt_iew_mapping_field_editor_box').css({'border-radius': 0});
584
+ var quick_map_w = jQuery('.wt_iew_mapping_field_val').width()+10;
585
+ if(quick_map_w < 250){
586
+ quick_map_w = 250;
587
+ }
588
+ jQuery('.wt_iew_mapping_field_editor').css('width', quick_map_w);
589
+ jQuery('.wt_iew_mapping_field_selector_box').css('height', '320');
590
+ jQuery('.wt-input-column-search').css({'top':15, 'left': 15});
591
+ }else{
592
+ jQuery('.wt_iew_popover-content').css('padding', '15');
593
+ jQuery( '.wt_iew_mapping_popup_label' ).show();
594
+ jQuery('.wt_iew_mapping_field_editor_box').css({'margin-bottom':10, 'margin-top':5});
595
+ jQuery('.wt_iew_mapping_field_editor').css('width', '400');
596
+ jQuery('.wt_iew_mapping_field_selector_box').css('height', '200');
597
+ jQuery('.wt-input-column-search').css({'top':272, 'left': 30});
598
+ jQuery('.wt_iew_mapping_field_editor_box').css({'border-radius': 5});
599
+ }
600
+
601
  cr_elm_pos_t=cr_elm_pos_t+10; /* 10 px buffer for input span element padding */
602
 
603
  pp_elm.find('.wt_iew_popover-title-text').html(ttle);
605
  jQuery('.wt_iew_target_column').html(target_elm_label);
606
  jQuery('.wt_iew_popover-content').find('.wt_iew_mapping_field_editor_expression').val(cr_elm.siblings('.columns_val').val());
607
 
608
+ var animation_speed = 500;
609
+ if(!jQuery(this).hasClass('dashicons')){
610
+ jQuery('.wt_iew_popover-footer').hide();
611
+ jQuery('.wt_iew_popover-title').hide();
612
+ animation_speed = 0;
613
+ }else{
614
+ jQuery('.wt_iew_popover-footer').show();
615
+ jQuery('.wt_iew_popover-title').show();
616
+ }
617
+
618
+
619
  wt_iew_popover.set_active_row(cr_elm);
620
  pp_elm.css({'display':'block','opacity':0, 'top':cr_elm_pos_t,'left':cr_elm_pos_l}).stop(true,true).animate({'left':cr_elm_pos_l+20,'opacity':1}, 500, function(){
621
  jQuery('.wt_iew_mapping_field_editor_column_search').focus();
658
  wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
659
  }
660
  });
661
+
662
+ jQuery(document).on('click', '.wt_iew_mapping_field_selector>li' ,function (e) {
663
+ if(!jQuery('.wt_iew_popover-footer').is(':visible')){
664
+ var click_elm = jQuery('[name="wt_iew_popover_do_action"]').data('click-elm');
665
+ var vl= jQuery(this).attr('data-val');
666
+ var html_vl=vl;
667
+ if(wt_iew_popover.action_module=='import')
668
+ {
669
+ var html_vl='{'+vl+'}';
670
+ }
671
+
672
+ click_elm.html(html_vl);
673
+ click_elm.siblings('.columns_val').val(html_vl);
674
+ wt_iew_popover.closePop();
675
+
676
+ if(wt_iew_popover.action_module=='import')
677
+ {
678
+ if(vl=="")
679
+ {
680
+ click_elm.parents('tr').find('.wt_iew_mapping_checkbox_sub').prop('checked', false);
681
+ }else
682
+ {
683
+ click_elm.parents('tr').find('.wt_iew_mapping_checkbox_sub').prop('checked', true);
684
+
685
+ }
686
+ wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
687
+ }
688
+ }
689
+ });
690
+
691
+
692
  },
693
  regclosePop:function()
694
  {
admin/modules/import/assets/js/main.js CHANGED
@@ -124,6 +124,7 @@ var wt_iew_basic_import=(function( $ ) {
124
  wt_iew_basic_import.enable_sortable();
125
  wt_iew_basic_import.reg_mapping_field_bulk_action();
126
  wt_iew_popover.Set();
 
127
  }else
128
  {
129
  $('.meta_mapping_box_con[data-loaded="0"]').html('<div class="wt_iew_import_step_loader">'+wt_iew_basic_params.msgs.error+'</div>');
@@ -1019,6 +1020,13 @@ var wt_iew_basic_import=(function( $ ) {
1019
  this.mapping_box_accordian();
1020
  this.reg_mapping_field_bulk_action();
1021
  wt_iew_popover.Set();
 
 
 
 
 
 
 
1022
  wt_iew_basic_import.warn_on_refresh();
1023
  }
1024
  else if(step=='advanced')
124
  wt_iew_basic_import.enable_sortable();
125
  wt_iew_basic_import.reg_mapping_field_bulk_action();
126
  wt_iew_popover.Set();
127
+ $('.wt_iew_step_head_post_type_name').html(wt_iew_basic_import.to_import_title);
128
  }else
129
  {
130
  $('.meta_mapping_box_con[data-loaded="0"]').html('<div class="wt_iew_import_step_loader">'+wt_iew_basic_params.msgs.error+'</div>');
1020
  this.mapping_box_accordian();
1021
  this.reg_mapping_field_bulk_action();
1022
  wt_iew_popover.Set();
1023
+
1024
+ jQuery(".wt-iew-tips").tipTip({'attribute': 'data-wt-iew-tip', 'delay': 0, 'edgeOffset':8});
1025
+ jQuery(document).keyup(function(e) {
1026
+ if (e.key === "Escape") { // Escape key maps to keycode 27
1027
+ wt_iew_popover.closePop();
1028
+ }
1029
+ });
1030
  wt_iew_basic_import.warn_on_refresh();
1031
  }
1032
  else if(step=='advanced')
admin/modules/import/views/_import_mapping_page.php CHANGED
@@ -13,37 +13,35 @@ if (!defined('ABSPATH')) {
13
 
14
  <!-- Mapping field editor popup -->
15
  <div class="wt_iew_mapping_field_editor_container" data-title="<?php _e('Set value for column:');?> <span class='wt_iew_target_column'></span>" data-module="import">
16
- <div class="wt_iew_mapping_field_editor">
17
- <p class="wt_iew_mapping_field_editor_info" style="margin-bottom:5px;"><?php _e('Select and map any column from the input file or compute values with expressions.'); ?></p>
18
-
19
- <label><?php _e('Expression');?></label>
20
- <p class="wt_iew_mapping_field_editor_info">
21
- <ul class="wt_evaluation_expression_points">
22
- <li><?php _e('Append operators like + * / - () & @ or string constants along with the column names to update the values on import.'); ?></li>
23
- <li><?php echo sprintf(__('Ensure to enclose the expressions in square brackets. E.g. To increase the stock quantity of %sall imported products%s by 5 units, input [{stock}+5] in the stock column.'), '<b>', '</b>');?></li>
24
- </ul>
25
- </p>
26
- <p class="wt_iew_mapping_field_editor_er"></p>
27
- <div class="wt_iew_mapping_field_editor_box">
28
- <textarea class="wt_iew_mapping_field_editor_expression"></textarea>
29
  </div>
30
-
31
- <label><?php _e('Input file columns');?></label>
32
  <div class="wt_iew_mapping_field_editor_box">
33
- <input type="text" class="wt_iew_mapping_field_editor_column_search" placeholder="<?php _e('Type here to search');?>">
34
  <div class="wt_iew_mapping_field_selector_box">
35
  <ul class="wt_iew_mapping_field_selector">
36
  <?php
37
  foreach ($file_heading_default_fields as $key => $value)
38
  {
39
  ?>
40
- <li title="<?php echo $click_to_use;?>" data-val="<?php echo $key;?>"><?php echo $key;?></li>
41
  <?php
42
  }
43
  foreach ($file_heading_meta_fields as $key => $value)
44
  {
45
  ?>
46
- <li title="<?php echo $click_to_use;?>" data-val="<?php echo $key;?>"><?php echo $key;?></li>
47
  <?php
48
  }
49
  ?>
@@ -51,13 +49,14 @@ if (!defined('ABSPATH')) {
51
  <div class="wt_iew_mapping_field_selector_no_column"><?php _e('No column found.');?></div>
52
  </div>
53
  </div>
54
-
55
- <label><?php _e('Output');?></label>
56
- <p class="wt_iew_mapping_field_editor_info">
57
- <?php _e('Sample value based on first record from input file. Columns that have no values in the input file may cause syntax errors if used in an expression as above.'); ?>
58
- </p>
59
- <div class="wt_iew_mapping_field_editor_box" style="max-height:80px; overflow:auto; margin-bottom:0px; border:dashed 1px #ccc; padding:5px;">
60
- <div class="wt_iew_mapping_field_editor_sample"></div>
 
61
  </div>
62
  </div>
63
  </div>
@@ -81,14 +80,15 @@ if (!defined('ABSPATH')) {
81
  </div>
82
  <div style="clear:both;"></div>
83
  <div class="meta_mapping_box_con" data-sortable="0" data-loaded="1" data-field-validated="0" data-key="" style="display:inline-block;">
84
- <table class="wt-iew-mapping-tb wt-iew-importer-default-mapping-tb">
85
  <thead>
86
  <tr>
87
  <th>
88
  <input type="checkbox" name="" class="wt_iew_mapping_checkbox_main">
89
  </th>
90
- <th width="35%"><?php _e('Column');?></th>
91
- <th><?php _e('Column name');?></th>
 
92
  </tr>
93
  </thead>
94
  <tbody>
13
 
14
  <!-- Mapping field editor popup -->
15
  <div class="wt_iew_mapping_field_editor_container" data-title="<?php _e('Set value for column:');?> <span class='wt_iew_target_column'></span>" data-module="import">
16
+ <div class="wt_iew_mapping_field_editor">
17
+ <div class="wt_iew_mapping_field_editor_top">
18
+ <p class="wt_iew_mapping_field_editor_info">
19
+ <?php esc_html_e('If you want to compute or combine any column values during import you can do it below.'); ?>
20
+ (<a target="_blank" href="https://www.webtoffee.com/evaluation-field-in-product-export-import-plugin-for-woocommerce/"><?php esc_html_e('Learn More'); ?>)</a>
21
+ <br/><span style="font-size: 95%;color:#6e6d6d;"><b><?php esc_html_e(' Supported operators:'); ?> +, *, /, -, ()</b></span><br/>
22
+ <br/><i><span style="font-size: 95%;color:#6e6d6d;"><?php esc_html_e(' Example:'); ?> [{stock}+5] or [{regular_price}+(9/100)*{regular_price}]</span></i>
23
+ </p>
24
+ <p class="wt_iew_mapping_field_editor_er"></p>
25
+ <div class="wt_iew_mapping_field_editor_box">
26
+ <textarea class="wt_iew_mapping_field_editor_expression"></textarea>
27
+ </div>
 
28
  </div>
29
+ <label class="wt_iew_mapping_popup_label"><?php _e('Input file columns');?></label>
 
30
  <div class="wt_iew_mapping_field_editor_box">
31
+ <input type="text" class="wt_iew_mapping_field_editor_column_search" placeholder="<?php _e('Type here to search');?>"><span style="float: right;position: absolute;top: 15px; left: 25px;" class="dashicons dashicons-search wt-input-column-search"></span>
32
  <div class="wt_iew_mapping_field_selector_box">
33
  <ul class="wt_iew_mapping_field_selector">
34
  <?php
35
  foreach ($file_heading_default_fields as $key => $value)
36
  {
37
  ?>
38
+ <li title="<?php echo $click_to_use;?>" data-val="<?php echo $key;?>"><?php echo $key;?><br/><span style="color:#cdb2b2;"><?php echo Wt_Iew_IE_Basic_Helper::wt_truncate($value, 80);?></span></li>
39
  <?php
40
  }
41
  foreach ($file_heading_meta_fields as $key => $value)
42
  {
43
  ?>
44
+ <li title="<?php echo $click_to_use;?>" data-val="<?php echo $key;?>"><?php echo $key;?><br/><span style="color:#cdb2b2;"><?php echo Wt_Iew_IE_Basic_Helper::wt_truncate($value, 80);?></span></li>
45
  <?php
46
  }
47
  ?>
49
  <div class="wt_iew_mapping_field_selector_no_column"><?php _e('No column found.');?></div>
50
  </div>
51
  </div>
52
+ <div class="wt_iew_mapping_field_editor_bottom">
53
+ <label><?php _e('Preview');?></label>
54
+ <p class="wt_iew_mapping_field_editor_info">
55
+ <?php _e('Sample value based on the first record from input file.'); ?>
56
+ </p>
57
+ <div class="wt_iew_mapping_field_editor_box" style="max-height:80px; overflow:auto; margin-bottom:0px; border:dashed 1px #ccc; padding:5px;">
58
+ <div class="wt_iew_mapping_field_editor_sample"></div>
59
+ </div>
60
  </div>
61
  </div>
62
  </div>
80
  </div>
81
  <div style="clear:both;"></div>
82
  <div class="meta_mapping_box_con" data-sortable="0" data-loaded="1" data-field-validated="0" data-key="" style="display:inline-block;">
83
+ <table class="wt-iew-mapping-tb wt-iew-mapping-tb-imp wt-iew-importer-default-mapping-tb">
84
  <thead>
85
  <tr>
86
  <th>
87
  <input type="checkbox" name="" class="wt_iew_mapping_checkbox_main">
88
  </th>
89
+ <th width="35%"><span class="wt_iew_step_head_post_type_name"></span> <?php esc_html_e( 'fields' );?></th>
90
+ <th><?php esc_html_e( 'File columns' );?></th>
91
+ <th><?php esc_html_e( 'Transform' );?></th>
92
  </tr>
93
  </thead>
94
  <tbody>
admin/modules/import/views/_import_mapping_tr_html.php CHANGED
@@ -14,4 +14,7 @@ if (!defined('ABSPATH')) {
14
  <input type="hidden" name="columns_val[]" class="columns_val" value="<?php echo $val;?>" data-type="<?php echo $type;?>">
15
  <span data-wt_iew_popover="1" data-title="" data-content-container=".wt_iew_mapping_field_editor_container" class="wt_iew_mapping_field_val"><?php echo $val;?></span>
16
  </td>
 
 
 
17
  </tr>
14
  <input type="hidden" name="columns_val[]" class="columns_val" value="<?php echo $val;?>" data-type="<?php echo $type;?>">
15
  <span data-wt_iew_popover="1" data-title="" data-content-container=".wt_iew_mapping_field_editor_container" class="wt_iew_mapping_field_val"><?php echo $val;?></span>
16
  </td>
17
+ <td>
18
+ <span style="margin-left:20px;cursor:pointer" data-wt_iew_popover="1" data-title="" data-content-container=".wt_iew_mapping_field_editor_container" class="dashicons dashicons-edit wt-iew-tips" data-wt-iew-tip="<span class='wt_iew_tooltip_span'><?php _e('Use expression');?></span>"></span>
19
+ </td>
20
  </tr>
admin/modules/import/views/_import_meta_step_page.php CHANGED
@@ -3,8 +3,7 @@ if (!defined('ABSPATH')) {
3
  exit;
4
  }
5
  ?>
6
- <table class="wt-iew-mapping-tb wt-iew-importer-meta-mapping-tb" data-field-type="<?php echo $meta_mapping_screen_field_key; ?>">
7
- <thead>
8
  <tr>
9
  <th>
10
  <?php
@@ -13,8 +12,9 @@ if (!defined('ABSPATH')) {
13
  ?>
14
  <input type="checkbox" name="" class="wt_iew_mapping_checkbox_main" <?php echo $checked_attr; ?>>
15
  </th>
16
- <th width="35%"><?php _e('Column');?></th>
17
- <th><?php _e('Column name');?></th>
 
18
  </tr>
19
  </thead>
20
  <tbody>
3
  exit;
4
  }
5
  ?>
6
+ <table class="wt-iew-mapping-tb wt-iew-importer-meta-mapping-tb wt-iew-mapping-tb-imp" data-field-type="<?php echo $meta_mapping_screen_field_key; ?>"> <thead>
 
7
  <tr>
8
  <th>
9
  <?php
12
  ?>
13
  <input type="checkbox" name="" class="wt_iew_mapping_checkbox_main" <?php echo $checked_attr; ?>>
14
  </th>
15
+ <th width="35%"><span class="wt_iew_step_head_post_type_name"></span> <?php esc_html_e( 'fields' );?></th>
16
+ <th><?php _e('File columns');?></th>
17
+ <th><?php esc_html_e( 'Transform' );?></th>
18
  </tr>
19
  </thead>
20
  <tbody>
admin/views/market_front.php CHANGED
@@ -12,7 +12,7 @@ if (!defined('ABSPATH')) {
12
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/order-ie.svg" alt="featured img" width="36" height="36">
13
  <h4 class="wt-ier-product-name-small"><?php _e('Order, Coupon, Subscription Import Export for WooCommerce'); ?></h4>
14
  </div>
15
- <p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
16
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
17
  <ul class="ticked-list wt-ierpro-allfeat">
18
  <li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
@@ -36,7 +36,7 @@ if (!defined('ABSPATH')) {
36
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/product-ie.svg" alt="featured img" width="36" height="36">
37
  <h4 class="wt-ier-product-name-small"><?php _e('Product Import Export Plugin For WooCommerce'); ?></h4>
38
  </div>
39
- <p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
40
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
41
  <ul class="ticked-list wt-ierpro-allfeat">
42
  <li><?php _e('Export and import variable products, subscription'); ?></li>
@@ -60,7 +60,7 @@ if (!defined('ABSPATH')) {
60
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/user-ie.svg" alt="featured img" width="36" height="36">
61
  <h4 class="wt-ier-product-name-small"><?php _e('WordPress Users & WooCommerce Customers Import Export'); ?></h4>
62
  </div>
63
- <p style="margin-left:25px;"><b><?php _e('All free version features'); ?> +</b></p>
64
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
65
  <ul class="ticked-list wt-ierpro-allfeat">
66
  <li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
12
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/order-ie.svg" alt="featured img" width="36" height="36">
13
  <h4 class="wt-ier-product-name-small"><?php _e('Order, Coupon, Subscription Import Export for WooCommerce'); ?></h4>
14
  </div>
15
+ <p style="margin-<?php echo (is_rtl()) ? 'right' : 'left'; ?>:25px;"><b><?php _e('All free version features'); ?> +</b></p>
16
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
17
  <ul class="ticked-list wt-ierpro-allfeat">
18
  <li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
36
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/product-ie.svg" alt="featured img" width="36" height="36">
37
  <h4 class="wt-ier-product-name-small"><?php _e('Product Import Export Plugin For WooCommerce'); ?></h4>
38
  </div>
39
+ <p style="margin-<?php echo (is_rtl()) ? 'right' : 'left'; ?>:25px;"><b><?php _e('All free version features'); ?> +</b></p>
40
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
41
  <ul class="ticked-list wt-ierpro-allfeat">
42
  <li><?php _e('Export and import variable products, subscription'); ?></li>
60
  <img src="<?php echo WT_U_IEW_PLUGIN_URL; ?>assets/images/gopro/user-ie.svg" alt="featured img" width="36" height="36">
61
  <h4 class="wt-ier-product-name-small"><?php _e('WordPress Users & WooCommerce Customers Import Export'); ?></h4>
62
  </div>
63
+ <p style="margin-<?php echo (is_rtl()) ? 'right' : 'left'; ?>:25px;"><b><?php _e('All free version features'); ?> +</b></p>
64
  <div class="wt-ier-product-features wt-ier-gopro-cta-small wt-ierpro-features">
65
  <ul class="ticked-list wt-ierpro-allfeat">
66
  <li><?php _e('Import & export in Excel, XML, CSV, and TSV formats'); ?></li>
helpers/class-wt-import-export-helper.php CHANGED
@@ -218,6 +218,13 @@ if(!class_exists('Wt_Iew_IE_Basic_Helper'))
218
  <?php
219
  }
220
  }
 
 
 
 
 
 
 
221
  }
222
 
223
  }
218
  <?php
219
  }
220
  }
221
+
222
+ public static function wt_truncate($text, $length, $dots = "...") {
223
+
224
+ $text = (strlen($text) > $length) ? substr($text, 0, $length - strlen($dots)) . $dots : $text;
225
+ return esc_html($text);
226
+ }
227
+
228
  }
229
 
230
  }
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.3.5';
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.3.6';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
readme.txt CHANGED
@@ -3,9 +3,9 @@ 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: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 2.3.5
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -13,31 +13,31 @@ Import users and export users made simple! Easily export users to CSV, import us
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.
20
- &#128312; Users import - WordPress Import Users from CSV.
21
- &#128312; Customer Export - Export WooCommerce customers to CSV
22
- &#128312; Customer Import - Import WooCommerce customers from CSV
23
- &#128312; Batch Export/Import
24
- &#128312; Export/Import based on user roles, user email, date range
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; Export Guest users - Include data of WooCommerce guest customers(users who bought products from site without creating an account).
29
- &#128312; Export specific users based on username/email - Suggests email addresses and names in export data filter fields while you type in.
30
- &#128312; Tested OK with WordPress 6.0
31
- &#128312; Tested OK with WooCommerce 7.0
32
- &#128312; Tested OK with PHP 8.0
33
 
34
- 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.
35
 
36
  = How does it work? =
37
 
38
- 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.
39
 
40
- 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, Libre office, 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.
41
 
42
  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>
43
 
@@ -49,23 +49,24 @@ Watch the video on getting started with the plugin.
49
 
50
  <blockquote>
51
 
52
- &#9989; Import Export WordPress Users & WooCommerce Customers
53
- &#9989; Export/Import WooCommerce User/Customer details into CSV,XML,Excel(XLS,XLSX) formats.
54
- &#9989; Option to choose All Roles or Multiple Roles while export.
55
- &#9989; Various Filter options (User Roles, User Email, Date Range, Offset/Limit, Guest Users, Ascending/Descending Sort) for exporting Customers/Users.
56
- &#9989; Map and Transform fields while Importing Customers.
57
- &#9989; Map and Transform fields while Exporting Customers.
58
- &#9989; Change values while importing Customers using Evaluation Fields.
59
- &#9989; Export User Meta. (custom fields and hidden metadata supported in addition to other user data)
60
- &#9989; Choice to Update or Skip existing imported Customers.
61
- &#9989; Bulk update existing customers/user data.
62
- &#9989; Choice to Send or Skip emails for newly imported Customers.
63
- &#9989; WPML Supported.
64
- &#9989; Export Import users/customers to/from a remote server via FTP in Scheduled time interval with Cron Job.
65
- &#9989; Supports Import from URL.
66
- &#9989; Third party plugin customization support.</li>
67
- &#9989; Compatible with BuddyPress, Ultimate Member, Ultimate Membership Pro, Better Notifications for WP, Advanced Custom Fields (ACF) etc.</li>
68
- &#9989; Excellent Support for setting it up!
 
69
 
70
 
71
  Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/">Import Export WordPress Users & WooCommerce Customers</a> for more details
@@ -78,33 +79,33 @@ Import Export WordPress Users Plugin is an ideal plugin for exporting and import
78
 
79
  The following use cases are handled by the plugin
80
 
81
- &#9989; User Export - Export WordPress users to CSV.
82
- &#9989; User Import - Import WordPress users from CSV.
83
- &#9989; Customer Export - WooCommerce Export Customers to CSV.
84
- &#9989; Customer Import - WooCommerce Import Customers from CSV.
85
 
86
 
87
  WordPress Export Users to CSV
88
 
89
- 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.
90
 
91
- 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).
92
 
93
  WordPress Import Users from CSV
94
 
95
  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.
96
 
97
- This WordPress import plugin has the option to send an Email to the user email ID whenever the admin imports/updates users' details.
98
 
99
  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.
100
 
101
- 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.
102
 
103
  WooCommerce Export Customers to CSV
104
 
105
  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.
106
 
107
- 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).
108
 
109
  WooCommerce Import Customers from CSV
110
 
@@ -114,14 +115,14 @@ The plugin has the option to send an Email to the user email ID whenever the adm
114
 
115
  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.
116
 
117
- 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.
118
 
119
  = Import/Export/Migration Plugins for WooCommerce from WebToffee =
120
 
121
 
122
- &#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.
123
- &#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.
124
- &#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.
125
 
126
 
127
  = About WebToffee.com =
@@ -173,7 +174,7 @@ This version of the plugin does not support the import or export of user custom
173
 
174
  = Can this plugin update existing user data? =
175
 
176
- Yes, you can update the existing user data by setting the option: <strong>‘If the user exists in the store’</strong> to <strong>‘Update’</strong> in the Advanced options during import.
177
 
178
  = Imported customers are not listed under WooCommerce customers =
179
 
@@ -208,6 +209,10 @@ Please refer the article on how to <a href="https://www.webtoffee.com/refresh-wo
208
 
209
  == Changelog ==
210
 
 
 
 
 
211
  = 2.3.5 2022-10-25 =
212
  * WooCommerce 7.0 Tested OK.
213
  * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
@@ -433,6 +438,7 @@ Please refer the article on how to <a href="https://www.webtoffee.com/refresh-wo
433
 
434
  == Upgrade Notice ==
435
 
436
- = 2.3.5 =
437
- * WooCommerce 7.0 Tested OK.
438
- * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
 
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: 6.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.3.6
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
13
 
14
  == Description ==
15
 
16
+ WordPress User Import Export plugin allows the import and export of WordPress users and WooCommerce customers quickly and easily. You can also import customers and export customers with this plugin. WordPress user export and WordPress user import are much-required features while moving WordPress / WooCommerce sites.
17
 
18
 
19
+ &#128312; WordPress Export User - Export WordPress Users to CSV.
20
+ &#128312; WordPress Import User - WordPress Import Users from CSV.
21
+ &#128312; WooCommerce Customer Export - Export WooCommerce customers to CSV.
22
+ &#128312; WooCommerce Customer Import - Import WooCommerce customers from CSV.
23
+ &#128312; Batch Export/Import
24
+ &#128312; WordPress and WooCommerce Export/Import based on user roles, user email, date range
25
+ &#128312; Retain user passwords (optional)
26
+ &#128312; Map and Transform fields while importing customers/users
27
+ &#128312; Change values (bulk modify) while customer import or user import using Evaluation Fields
28
+ &#128312; Export guest users - Include data of WooCommerce guest customers (users who bought products from the site without creating an account).
29
+ &#128312; Export specific users based on username/email - Suggests email addresses and names in export data filter fields while you type in.
30
+ &#128312; Tested OK with WordPress 6.1
31
+ &#128312; Tested OK with WooCommerce 7.1
32
+ &#128312; Tested OK with PHP 8.0
33
 
34
+ <strong>Highlights</strong>: WordPress Users Export, WordPress Users CSV Import Suite, Export WordPress Users to CSV, WooCommerce Import Customers, WooCommerce Export Customers. Pro Version supports export and import of all additional user meta like WooCommerce details.
35
 
36
  = How does it work? =
37
 
38
+ The Import Export WordPress Users Plugin takes CSV (Comma-Separated Values) files as input. You must create a CSV file and enter the user details in a structured format as explained in the video tutorial. This is to match each field of the user import CSV file to the appropriate user fields in WordPress. Otherwise, the admin needs to manually map the import user CSV fields. For example, the user_email field gets mapped to the User Email. For the plugin to work correctly, you must map the headers of all the column correctly and you must ensure that all of the fields you enter is in the correct format.
39
 
40
+ You can create the CSV from the scratch or you can export user CSV using the same plugin. 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 WordPress. With this plugin, you can also export and download user details as a CSV file.
41
 
42
  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>
43
 
49
 
50
  <blockquote>
51
 
52
+ &#9989; Export WooCommerce Customers and Import WooCommerce Customers
53
+ &#9989; Import WordPress Users and Export WordPress Users
54
+ &#9989; Export/Import WooCommerce User/Customer details into CSV, XML, Excel (XLS, XLSX) formats.
55
+ &#9989; Option to choose All Roles or Multiple Roles while export.
56
+ &#9989; Various Filter options (User Roles, User Email, Date Range, Offset/Limit, Guest Users, Ascending/Descending Sort) for exporting Customers/Users.
57
+ &#9989; Map and Transform fields while Importing WooCommerce Customers.
58
+ &#9989; Map and Transform fields while Exporting WooCommerce Customers.
59
+ &#9989; Change values while importing Customers using Evaluation Fields.
60
+ &#9989; Export User Meta. (custom fields and hidden metadata supported in addition to other user data)
61
+ &#9989; Choice to Update or Skip existing imported Customers.
62
+ &#9989; Bulk update existing customers/user data.
63
+ &#9989; Choice to Send or Skip emails for newly imported Customers.
64
+ &#9989; WPML Supported.
65
+ &#9989; Export Import users/customers to/from a remote server via FTP in Scheduled time interval with Cron Job.
66
+ &#9989; Supports user CSV Import and customer CSV import from URL.
67
+ &#9989; Third party plugin customization support.</li>
68
+ &#9989; Compatible with BuddyPress, Ultimate Member, Ultimate Membership Pro, Better Notifications for WP, Advanced Custom Fields (ACF) etc.</li>
69
+ &#9989; Excellent Support for setting it up!
70
 
71
 
72
  Please visit <a rel="nofollow" href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/">Import Export WordPress Users & WooCommerce Customers</a> for more details
79
 
80
  The following use cases are handled by the plugin
81
 
82
+ &#9989; User Export - Export WordPress users to CSV.
83
+ &#9989; User Import - Import WordPress users from CSV.
84
+ &#9989; Customer Export - WooCommerce Export Customers to CSV.
85
+ &#9989; Customer Import - WooCommerce Import Customers from CSV.
86
 
87
 
88
  WordPress Export Users to CSV
89
 
90
+ 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, the export users option in the plugin helps to save your effort and time of manually adding user information.
91
 
92
+ You can bulk export users' details to a user export CSV file with multiple powerful filters such as user roles, date ranges, etc. Even the WordPress export users plugin automatically uploads your exports via FTP (premium).
93
 
94
  WordPress Import Users from CSV
95
 
96
  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.
97
 
98
+ This WordPress import users plugin has the option to send an Email to the user email ID whenever the admin imports/updates users' details.
99
 
100
  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.
101
 
102
+ 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 users to your website.
103
 
104
  WooCommerce Export Customers to CSV
105
 
106
  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.
107
 
108
+ The Customer export 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).
109
 
110
  WooCommerce Import Customers from CSV
111
 
115
 
116
  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.
117
 
118
+ 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.
119
 
120
  = Import/Export/Migration Plugins for WooCommerce from WebToffee =
121
 
122
 
123
+ &#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.
124
+ &#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.
125
+ &#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.
126
 
127
 
128
  = About WebToffee.com =
174
 
175
  = Can this plugin update existing user data? =
176
 
177
+ Yes, you can update the existing user data by setting the option: <strong>'If the user exists in the store'</strong> to <strong>'Update'</strong> in the Advanced options during import.
178
 
179
  = Imported customers are not listed under WooCommerce customers =
180
 
209
 
210
  == Changelog ==
211
 
212
+ = 2.3.6 2022-11-24 =
213
+ * WooCommerce 7.1 Tested OK.
214
+ * WordPress 6.1 Tested OK.
215
+ * Enhancement: Revised import mapping screen.
216
  = 2.3.5 2022-10-25 =
217
  * WooCommerce 7.0 Tested OK.
218
  * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
438
 
439
  == Upgrade Notice ==
440
 
441
+ = 2.3.6 =
442
+ * WooCommerce 7.1 Tested OK.
443
+ * WordPress 6.1 Tested OK.
444
+ * Enhancement: Revised import mapping screen.
users-customers-import-export-for-wp-woocommerce.php CHANGED
@@ -5,10 +5,10 @@
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.3.5
9
  Text Domain: users-customers-import-export-for-wp-woocommerce
10
  Domain Path: /languages
11
- WC tested up to: 7.0
12
  Requires at least: 3.0
13
  Requires PHP: 5.6
14
  License: GPLv3
@@ -48,7 +48,7 @@ if (!defined('WT_IEW_DEBUG_BASIC_TROUBLESHOOT')) {
48
  * Start at version 1.0.0 and use SemVer - https://semver.org
49
  * Rename this for your plugin and update it as you release new versions.
50
  */
51
- define('WT_U_IEW_VERSION', '2.3.5');
52
 
53
  /**
54
  * 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.3.6
9
  Text Domain: users-customers-import-export-for-wp-woocommerce
10
  Domain Path: /languages
11
+ WC tested up to: 7.1
12
  Requires at least: 3.0
13
  Requires PHP: 5.6
14
  License: GPLv3
48
  * Start at version 1.0.0 and use SemVer - https://semver.org
49
  * Rename this for your plugin and update it as you release new versions.
50
  */
51
+ define('WT_U_IEW_VERSION', '2.3.6');
52
 
53
  /**
54
  * The code that runs during plugin activation.