Order Export & Order Import for WooCommerce - Version 2.2.9

Version Description

2022-11-23 = * 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 Order Export & Order Import for WooCommerce
Version 2.2.9
Comparing to
See all releases

Code changes from version 2.2.8 to 2.2.9

admin/class-wt-import-export-for-woo-admin.php CHANGED
@@ -129,7 +129,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
129
  'success'=>__('Success.'),
130
  'loading'=>__('Loading...'),
131
  'sure'=>__('Are you sure?'),
132
- 'use_expression'=>__('Use expression as value.'),
133
  'cancel'=>__('Cancel'),
134
  ),
135
  'pro_plugins' => array(
@@ -267,10 +267,8 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
267
 
268
  public function admin_upgrade_premium_settings()
269
  {
270
- ?> <script>
271
- window.location='<?php echo esc_url( "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_O_IEW_VERSION );?>';
272
- </script>
273
- <?php
274
  }
275
 
276
 
129
  'success'=>__('Success.'),
130
  'loading'=>__('Loading...'),
131
  'sure'=>__('Are you sure?'),
132
+ 'use_expression'=>__('Apply'),
133
  'cancel'=>__('Cancel'),
134
  ),
135
  'pro_plugins' => array(
267
 
268
  public function admin_upgrade_premium_settings()
269
  {
270
+ wp_safe_redirect(admin_url('admin.php?page=wt_import_export_for_woo_basic#wt-pro-upgrade'));
271
+ exit();
 
 
272
  }
273
 
274
 
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,16 +229,20 @@ 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;}
243
  .wt_iew_popup{position:fixed; z-index:100000001; background:#fff; border:solid 1px #eee; text-align:center; box-shadow:0px 2px 5px #333; left:50%; display:none;}
@@ -462,14 +467,24 @@ 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 +492,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 +1291,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
 
242
+ .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; }
243
+ .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; }
244
+
245
+
246
  /* popup */
247
  .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;}
248
  .wt_iew_popup{position:fixed; z-index:100000001; background:#fff; border:solid 1px #eee; text-align:center; box-shadow:0px 2px 5px #333; left:50%; display:none;}
467
  }
468
  .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;}
469
  .wt_iew_popover-content input[type="text"]{
470
+ margin:5px;
471
+ border-radius:3px;
472
+ padding: 0.2rem 0.3rem;
473
  font-size: 1rem;
474
  line-height: 1.5;
475
+ text-indent: 25px;
476
  }
477
  .wt_iew_popover-footer .button{
478
  float: right; margin-left: 5px;
479
  }
480
 
481
+ .wt_iew_popover.wt-pop-hidden:before {
482
+ display: none;
483
+ }
484
+ .wt_iew_popover.wt-pop-hidden:after {
485
+ display: none;
486
+ }
487
+
488
  /* mapping field editor */
489
  .wt_iew_mapping_field_editor_container{ display:none; }
490
  .wt_iew_mapping_field_editor{ float:left; width:400px; padding:0px; background:#fff; margin:0px;}
492
  .wt_iew_mapping_field_editor label{ float:left; width:100%; margin-bottom:3px; font-weight:bold; font-size:13px; color:#333; }
493
  .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;}
494
  .wt_iew_mapping_field_editor_box textarea{border:none; float:left; width:100%; height:50px; outline:none; resize:none;}
495
+ .wt_iew_mapping_field_editor_box input[type="text"]{width:98%; font-size:12px;}
496
  .wt_iew_mapping_field_editor_box input[type="text"]::placeholder{ font-size:12px; }
497
  .wt_iew_mapping_field_editor_info{ margin:0px; }
498
  .wt_iew_mapping_field_editor_er{ margin:0px; color:red; }
1291
  margin: 0 0 0 12px;
1292
  color: #5D63D9;
1293
  }
1294
+ .rtl .wt-import-export-upsell-small-wrapper .wt-ierpro-name-small h4{
1295
+ margin: 0 12px 0 0px;
1296
+ }
1297
  .wt-import-export-upsell-small-wrapper .wt-ierpro-mainfeatures ul{
1298
  padding: 0;
1299
  margin: 15px 25px 20px 25px;
admin/js/wt-import-export-for-woo-admin.js CHANGED
@@ -511,6 +511,17 @@ var wt_iew_popover=
511
  }
512
 
513
  var cr_elm=jQuery(this);
 
 
 
 
 
 
 
 
 
 
 
514
  if(cr_elm.attr('data-popup-opened')==1)
515
  {
516
  jQuery('[data-wt_iew_popover="1"]').attr('data-popup-opened',0);
@@ -548,7 +559,7 @@ var wt_iew_popover=
548
  pp_html=cr_elm.attr('data-content');
549
  }
550
  pp_elm.css({'display':'block'}).find('.wt_iew_popover-content').html(pp_html);
551
- pp_elm.find('.wt_iew_popover-footer').show();
552
  var cr_elm_w=cr_elm.width();
553
  var cr_elm_h=cr_elm.height();
554
  var pp_elm_w=pp_elm.width();
@@ -557,6 +568,35 @@ var wt_iew_popover=
557
  var cr_elm_pos_t=cr_elm_pos.top-((pp_elm_h-cr_elm_h)/4);
558
  var cr_elm_pos_l=cr_elm_pos.left+cr_elm_w;
559
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
560
  cr_elm_pos_t=cr_elm_pos_t+10; /* 10 px buffer for input span element padding */
561
 
562
  pp_elm.find('.wt_iew_popover-title-text').html(ttle);
@@ -564,6 +604,16 @@ var wt_iew_popover=
564
  jQuery('.wt_iew_target_column').html(target_elm_label);
565
  jQuery('.wt_iew_popover-content').find('.wt_iew_mapping_field_editor_expression').val(cr_elm.siblings('.columns_val').val());
566
 
 
 
 
 
 
 
 
 
 
 
567
  wt_iew_popover.set_active_row(cr_elm);
568
  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(){
569
  jQuery('.wt_iew_mapping_field_editor_column_search').focus();
@@ -606,6 +656,37 @@ var wt_iew_popover=
606
  wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
607
  }
608
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
609
  },
610
  regclosePop:function()
611
  {
511
  }
512
 
513
  var cr_elm=jQuery(this);
514
+
515
+ if(!cr_elm.hasClass('dashicons')){
516
+ jQuery('.wt_iew_mapping_field_editor_top').hide();
517
+ jQuery('.wt_iew_mapping_field_editor_bottom').hide();
518
+
519
+ }else{
520
+ jQuery('.wt_iew_mapping_field_editor_top').show();
521
+ jQuery('.wt_iew_mapping_field_editor_bottom').show();
522
+ var cr_elm = jQuery(this).closest('td').prev('td').find('span:first');
523
+ }
524
+
525
  if(cr_elm.attr('data-popup-opened')==1)
526
  {
527
  jQuery('[data-wt_iew_popover="1"]').attr('data-popup-opened',0);
559
  pp_html=cr_elm.attr('data-content');
560
  }
561
  pp_elm.css({'display':'block'}).find('.wt_iew_popover-content').html(pp_html);
562
+ //pp_elm.find('.wt_iew_popover-footer').show();
563
  var cr_elm_w=cr_elm.width();
564
  var cr_elm_h=cr_elm.height();
565
  var pp_elm_w=pp_elm.width();
568
  var cr_elm_pos_t=cr_elm_pos.top-((pp_elm_h-cr_elm_h)/4);
569
  var cr_elm_pos_l=cr_elm_pos.left+cr_elm_w;
570
 
571
+
572
+ jQuery('.wt_iew_popover').removeClass('wt-pop-hidden');
573
+ if(!jQuery(this).hasClass('dashicons')){
574
+ var cr_elm_pos_l=cr_elm_pos.left-20;
575
+ var cr_elm_pos_t=cr_elm_pos.top+cr_elm_h+3;
576
+ jQuery('.wt_iew_popover').addClass('wt-pop-hidden');
577
+ jQuery('.wt_iew_popover-content').css('padding', '0');
578
+ jQuery( '.wt_iew_mapping_popup_label' ).hide();
579
+ jQuery('.wt_iew_mapping_field_editor_box').css('margin-bottom', '0');
580
+ jQuery('.wt_iew_mapping_field_editor_box').css('margin-top', '0');
581
+ jQuery('.wt_iew_mapping_field_editor_box').css({'border-radius': 0});
582
+ var quick_map_w = jQuery('.wt_iew_mapping_field_val').width()+10;
583
+ if(quick_map_w < 250){
584
+ quick_map_w = 250;
585
+ }
586
+ jQuery('.wt_iew_mapping_field_editor').css('width', quick_map_w);
587
+ jQuery('.wt_iew_mapping_field_selector_box').css('height', '320');
588
+ jQuery('.wt-input-column-search').css({'top':15, 'left': 15});
589
+ }else{
590
+ jQuery('.wt_iew_popover-content').css('padding', '15');
591
+ jQuery( '.wt_iew_mapping_popup_label' ).show();
592
+ jQuery('.wt_iew_mapping_field_editor_box').css({'margin-bottom':10, 'margin-top':5});
593
+ jQuery('.wt_iew_mapping_field_editor').css('width', '400');
594
+ jQuery('.wt_iew_mapping_field_selector_box').css('height', '200');
595
+ jQuery('.wt-input-column-search').css({'top':272, 'left': 30});
596
+ jQuery('.wt_iew_mapping_field_editor_box').css({'border-radius': 5});
597
+ }
598
+
599
+
600
  cr_elm_pos_t=cr_elm_pos_t+10; /* 10 px buffer for input span element padding */
601
 
602
  pp_elm.find('.wt_iew_popover-title-text').html(ttle);
604
  jQuery('.wt_iew_target_column').html(target_elm_label);
605
  jQuery('.wt_iew_popover-content').find('.wt_iew_mapping_field_editor_expression').val(cr_elm.siblings('.columns_val').val());
606
 
607
+ var animation_speed = 500;
608
+ if(!jQuery(this).hasClass('dashicons')){
609
+ jQuery('.wt_iew_popover-footer').hide();
610
+ jQuery('.wt_iew_popover-title').hide();
611
+ animation_speed = 0;
612
+ }else{
613
+ jQuery('.wt_iew_popover-footer').show();
614
+ jQuery('.wt_iew_popover-title').show();
615
+ }
616
+
617
  wt_iew_popover.set_active_row(cr_elm);
618
  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(){
619
  jQuery('.wt_iew_mapping_field_editor_column_search').focus();
656
  wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
657
  }
658
  });
659
+
660
+ jQuery(document).on('click', '.wt_iew_mapping_field_selector>li' ,function (e) {
661
+ if(!jQuery('.wt_iew_popover-footer').is(':visible')){
662
+ var click_elm = jQuery('[name="wt_iew_popover_do_action"]').data('click-elm');
663
+ var vl= jQuery(this).attr('data-val');
664
+ var html_vl=vl;
665
+ if(wt_iew_popover.action_module=='import')
666
+ {
667
+ var html_vl='{'+vl+'}';
668
+ }
669
+
670
+ click_elm.html(html_vl);
671
+ click_elm.siblings('.columns_val').val(html_vl);
672
+ wt_iew_popover.closePop();
673
+
674
+ if(wt_iew_popover.action_module=='import')
675
+ {
676
+ if(vl=="")
677
+ {
678
+ click_elm.parents('tr').find('.wt_iew_mapping_checkbox_sub').prop('checked', false);
679
+ }else
680
+ {
681
+ click_elm.parents('tr').find('.wt_iew_mapping_checkbox_sub').prop('checked', true);
682
+
683
+ }
684
+ wt_iew_basic_import.mapping_fields_selected_count(click_elm.parents('table'));
685
+ }
686
+ }
687
+ });
688
+
689
+
690
  },
691
  regclosePop:function()
692
  {
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,14 @@ 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
+
1031
  wt_iew_basic_import.warn_on_refresh();
1032
  }
1033
  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,7 +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>
@@ -13,8 +13,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; ?>">
7
  <thead>
8
  <tr>
9
  <th>
13
  ?>
14
  <input type="checkbox" name="" class="wt_iew_mapping_checkbox_main" <?php echo $checked_attr; ?>>
15
  </th>
16
+ <th width="35%"><span class="wt_iew_step_head_post_type_name"></span> <?php esc_html_e( 'fields' );?></th>
17
+ <th><?php _e('File columns');?></th>
18
+ <th><?php esc_html_e( 'Transform' );?></th>
19
  </tr>
20
  </thead>
21
  <tbody>
admin/views/market_front.php CHANGED
@@ -12,7 +12,7 @@ if (!defined('ABSPATH')) {
12
  <img src="<?php echo WT_O_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_O_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_O_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_O_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_O_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_O_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_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
- $this->version = '2.2.8';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
80
  if ( defined( 'WT_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
+ $this->version = '2.2.9';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
order-import-export-for-woocommerce.php CHANGED
@@ -6,12 +6,12 @@ Plugin URI: https://wordpress.org/plugins/order-import-export-for-woocommerce/
6
  Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
9
- Version: 2.2.8
10
  Text Domain: order-import-export-for-woocommerce
11
  Domain Path: /languages
12
  Requires at least: 3.0
13
  Requires PHP: 5.6
14
- WC tested up to: 7.0
15
  License: GPLv3
16
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
17
  */
@@ -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_O_IEW_VERSION', '2.2.8' );
52
 
53
  /**
54
  * The code that runs during plugin activation.
6
  Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
7
  Author: WebToffee
8
  Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
9
+ Version: 2.2.9
10
  Text Domain: order-import-export-for-woocommerce
11
  Domain Path: /languages
12
  Requires at least: 3.0
13
  Requires PHP: 5.6
14
+ WC tested up to: 7.1
15
  License: GPLv3
16
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
17
  */
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_O_IEW_VERSION', '2.2.9' );
52
 
53
  /**
54
  * The code that runs during plugin activation.
readme.txt CHANGED
@@ -3,9 +3,9 @@ Contributors: webtoffee
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: order export, woocommerce, order, export, csv, order import, woocommerce export orders, woocommerce import orders, import, coupon export, coupon import, coupon
5
  Requires at least: 3.0.1
6
- Tested up to: 6.0
7
  Requires PHP: 5.6
8
- Stable tag: 2.2.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -15,26 +15,28 @@ The best order export import plugin for WooCommerce. Easily import and export Wo
15
 
16
  = Introduction - Order/Coupon Export Import Plugin =
17
 
18
- Order Export Import Plugin for WooCommerce is a perfect tool for migrating order data seamlessly from one WooCommerce store to another while allowing you to maintain your order history including subscription orders (available in premium). Using the WooCommerce order export plugin you can also migrate an existing shop on a different eCommerce platform to WooCommerce.
19
 
20
- The plugin will also allow you to migrate thousands of coupons from your old eCommerce platform or campaigns.
21
 
22
- The following are functionalities offered by the basic version of the plugin.
23
 
24
- &#128312; Export orders to CSV.
25
  &#128312; Import orders from CSV to WooCommerce.
26
  &#128312; Export coupons to CSV.
27
  &#128312; Import coupons from CSV to WooCommerce.
 
28
  &#128312; Bulk update WooCommerce orders and coupons.
29
  &#128312; Compatible with YITH WooCommerce Order Tracking plugin.
30
- &#128312; Supports various export filters (order status, product, coupon, customer, date range)
31
- &#128312; Tested OK with WooCommerce 7.0
32
- &#128312; Tested OK with WordPress 6.0
33
  &#128312; Tested OK with PHP 8.0
34
 
35
- Additional features that will help you in the CSV export and import process:
36
 
37
- &#128312; Import and Export WooCommerce orders & coupons in batches
 
38
  &#128312; Create a pre-saved template for quick and easy export of orders and coupons
39
  &#128312; Mapping and re-ordering of export columns
40
  &#128312; Export orders starting after an offset value
@@ -80,20 +82,19 @@ Note: Please note that the below section applies to our free version and premium
80
 
81
  = How to export orders from WooCommerce? =
82
 
83
- The Order Export & Order Import for WooCommerce Plugin's simple interface makes it extremely easy to map the data in your CSV file to the appropriate fields in WooCommerce. The plugin supports Custom Fields, dates, and pretty much every other WooCommerce Order / WooCommerce Subscription / WooCommerce Coupon field.
84
 
85
  Our order export plugin helps you to export WooCommerce bulk order data in XML format prescribed by other Service Providers. Using exported XML, you can import the orders to the Service Provider. It also provides an option to export XML using WooCommerce format, using which you will be able to import the orders to another WooCommerce website.
86
 
87
  **WooCommerce Export Orders**
88
 
89
- To Export WooCommerce Orders to CSV just click the Export Orders button from the plugin page. You can select the order or subscription statuses and coupon types that you want to export. Configure other settings and select the columns you want to export.
90
-
91
 
92
  = How to import orders to WooCommerce? =
93
 
94
- The Order Export & Order Import for WooCommerce Plugin's simple interface makes it extremely easy to map the data in your CSV file to the appropriate fields in WooCommerce. The plugin supports Custom Fields, dates, and pretty much every other WooCommerce Order / WooCommerce Subscription / WooCommerce Coupon field.
95
 
96
- Our Plugin is designed to be efficient with large imports as it splits large import files into smaller chunks, making it possible to import large files with thousands of data and records, even on slow hosting providers.
97
 
98
  **WooCommerce Import Orders**
99
 
@@ -114,7 +115,7 @@ Other useful plugins from WebToffee for migrating WooCommerce data:
114
 
115
  <a rel="nofollow" href="https://wordpress.org/plugins/users-customers-import-export-for-wp-woocommerce/">Import Export WordPress Users</a>: Import and export the users in your WordPress store using a CSV file with the help of this plugin.
116
 
117
- <a rel="nofollow" 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.
118
 
119
 
120
 
@@ -135,13 +136,13 @@ Other useful plugins from WebToffee for migrating WooCommerce data:
135
 
136
  The automatic installation of the plugin is the easiest way to install the plugin. You can install the plugin without even leaving your browser window and from within your WordPress dashboard.
137
 
138
- From your admin dashboard, go to Plugins > Add New. From the search box, type "WooCommerce order import" or "WooCommerce order export" and then search plugins. Click the install button on the Order Import Export Plugin for WooCommerce by WebToffee and then activate the plugin.
139
 
140
  Now you are ready to start importing and exporting orders and coupons to and from your store.
141
 
142
  **Manual Installation**
143
 
144
- In the manual installation, you will need to download the zip file of the plugin from the plugin page in WordPress.org. You can upload the file directly from your WordPress dashboard, or using an FTP application.
145
 
146
  **Plugin Updates**
147
 
@@ -222,6 +223,10 @@ Yes.
222
 
223
  == Changelog ==
224
 
 
 
 
 
225
  = 2.2.8 2022-10-20 =
226
  * WooCommerce 7.0 Tested OK.
227
  * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
@@ -514,6 +519,7 @@ Yes.
514
 
515
  == Upgrade Notice ==
516
 
517
- = 2.2.8 =
518
- * WooCommerce 7.0 Tested OK.
519
- * 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: order export, woocommerce, order, export, csv, order import, woocommerce export orders, woocommerce import orders, import, coupon export, coupon import, coupon
5
  Requires at least: 3.0.1
6
+ Tested up to: 6.1
7
  Requires PHP: 5.6
8
+ Stable tag: 2.2.9
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
15
 
16
  = Introduction - Order/Coupon Export Import Plugin =
17
 
18
+ Order Export Import Plugin for WooCommerce is a perfect tool for migrating order data seamlessly from one WooCommerce store to another while allowing you to maintain your order history including subscription orders (available in premium). Using the WooCommerce order export plugin you can also migrate (export orders and import orders) an existing shop on a different eCommerce platform to WooCommerce.
19
 
20
+ The plugin will also allow you to migrate thousands of coupons from your old eCommerce platform or campaigns. Coupon CSV import and coupon export are essential features if you have a store with a large number of coupons.
21
 
22
+ The following are functionalities offered by the basic version of the order import and order export plugin.
23
 
24
+ &#128312; WooCommerce Export orders to CSV.
25
  &#128312; Import orders from CSV to WooCommerce.
26
  &#128312; Export coupons to CSV.
27
  &#128312; Import coupons from CSV to WooCommerce.
28
+ &#128312; Supports importing selected columns from the order import CSV file.
29
  &#128312; Bulk update WooCommerce orders and coupons.
30
  &#128312; Compatible with YITH WooCommerce Order Tracking plugin.
31
+ &#128312; Supports various export filters (order status, product, coupon, customer, date range) for order export to CSV.
32
+ &#128312; Tested OK with WooCommerce 7.1
33
+ &#128312; Tested OK with WordPress 6.1
34
  &#128312; Tested OK with PHP 8.0
35
 
36
+ Additional features of the order import and order export plugin that will help you in the CSV export and import process:
37
 
38
+ &#128312; Import and Export WooCommerce orders in batches
39
+ &#128312; Import coupons from CSV and Export coupons to CSV
40
  &#128312; Create a pre-saved template for quick and easy export of orders and coupons
41
  &#128312; Mapping and re-ordering of export columns
42
  &#128312; Export orders starting after an offset value
82
 
83
  = How to export orders from WooCommerce? =
84
 
85
+ The Order Export & Order Import for WooCommerce Plugin's simple interface makes it extremely easy to map the data in your CSV file to the appropriate fields in WooCommerce. The order import export plugin supports custom fields, dates, and pretty much every other WooCommerce Order / WooCommerce Subscription / WooCommerce coupon field.
86
 
87
  Our order export plugin helps you to export WooCommerce bulk order data in XML format prescribed by other Service Providers. Using exported XML, you can import the orders to the Service Provider. It also provides an option to export XML using WooCommerce format, using which you will be able to import the orders to another WooCommerce website.
88
 
89
  **WooCommerce Export Orders**
90
 
91
+ You can select the order or subscription statuses and coupon types that you want to export. The ‘export order CSV file’ will contain the order-related data that you have configured to export via the plugin. So ensure to configure all required export settings for a smooth WooCommerce order export. To Export WooCommerce Orders to CSV just click the Export Orders button from the plugin page.
 
92
 
93
  = How to import orders to WooCommerce? =
94
 
95
+ The Order Export & Order Import for WooCommerce Plugin's simple interface makes it extremely easy to map the data in your CSV file to the appropriate fields in WooCommerce. The WooCommerce order import plugin supports custom fields, dates, and pretty much every other WooCommerce Order / WooCommerce Subscription / WooCommerce Coupon field.
96
 
97
+ Our Plugin is designed to be efficient with large imports as it splits large import files into smaller chunks, making it possible to import large files with thousands of data and records, even on slow hosting providers. All the data in the import file CSV will be automatically added to your WooCommerce store upon successful import.
98
 
99
  **WooCommerce Import Orders**
100
 
115
 
116
  <a rel="nofollow" href="https://wordpress.org/plugins/users-customers-import-export-for-wp-woocommerce/">Import Export WordPress Users</a>: Import and export the users in your WordPress store using a CSV file with the help of this plugin.
117
 
118
+ <a rel="nofollow" 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.
119
 
120
 
121
 
136
 
137
  The automatic installation of the plugin is the easiest way to install the plugin. You can install the plugin without even leaving your browser window and from within your WordPress dashboard.
138
 
139
+ From your admin dashboard, go to Plugins > Add New. From the search box, type "WooCommerce order import" or "WooCommerce order export" and then search plugins. Click the install button on the Order Import Export Plugin for WooCommerce by WebToffee and then activate the plugin.
140
 
141
  Now you are ready to start importing and exporting orders and coupons to and from your store.
142
 
143
  **Manual Installation**
144
 
145
+ In the manual installation, you will need to download the zip file of the plugin from the plugin page on WordPress.org. You can upload the file directly from your WordPress dashboard, or using an FTP application.
146
 
147
  **Plugin Updates**
148
 
223
 
224
  == Changelog ==
225
 
226
+ = 2.2.9 2022-11-23 =
227
+ * WooCommerce 7.1 Tested OK.
228
+ * WordPress 6.1 Tested OK.
229
+ * Enhancement: Revised import mapping screen.
230
  = 2.2.8 2022-10-20 =
231
  * WooCommerce 7.0 Tested OK.
232
  * Enhancement: Set Min and Max limit for import and export default batch count in General setting page.
519
 
520
  == Upgrade Notice ==
521
 
522
+ = 2.2.9 =
523
+ * WooCommerce 7.1 Tested OK.
524
+ * WordPress 6.1 Tested OK.
525
+ * Enhancement: Revised import mapping screen.