Product Import Export for WooCommerce - Version 2.1.4

Version Description

  • WC 6.1 tested OK.
  • Enhancement Export all language products if WPML is active and the language selected is all.
  • Enhancement Inform user when no products to export instead of empty CSV.
  • Add Export products based on stock status.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Product Import Export for WooCommerce
Version 2.1.4
Comparing to
See all releases

Code changes from version 2.1.3 to 2.1.4

admin/css/wt-import-export-for-woo-admin.css CHANGED
@@ -541,7 +541,7 @@ img.tips {
541
  margin: 20px auto 20px;
542
  text-align: center;
543
  }
544
- .wt-ierpro-blue-btn{
545
  background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
546
  box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
547
  border-radius: 5px;
@@ -620,9 +620,9 @@ img.tips {
620
  ul.wt-ierpro-newfeat li {
621
  margin-bottom: 30px;
622
  }
623
- .wt-ierpro-outline-btn{
624
- border: 1px solid #007FFF;
625
- background: #fff;
626
  border-radius: 5px;
627
  padding: 10px 15px 10px 38px;
628
  display: inline-block;
@@ -630,28 +630,29 @@ ul.wt-ierpro-newfeat li {
630
  font-weight: bold;
631
  font-size: 14px;
632
  line-height: 18px;
633
- color: #007FFF;
634
  text-decoration: none;
635
  transition: all .2s ease;
636
  position: relative;
637
- background: transparent;
638
  }
639
  .wt-ierpro-outline-btn:before{
640
  content: '';
641
  position: absolute;
642
  height: 15px;
643
  width: 18px;
644
- background-image: url(../../assets/images/gopro/blue-crown.svg);
645
  background-size: contain;
646
  background-repeat: no-repeat;
647
  background-position: center;
648
  left: 15px;
649
  }
650
  .wt-ierpro-outline-btn:hover{
 
651
  text-decoration: none;
652
  transform: translateY(2px);
653
  transition: all .2s ease;
654
- color: #007FFF;
655
  }
656
 
657
 
541
  margin: 20px auto 20px;
542
  text-align: center;
543
  }
544
+ .wt-ierpro-blue-btn, .wt-ierpro-blue-btn:visited{
545
  background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
546
  box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
547
  border-radius: 5px;
620
  ul.wt-ierpro-newfeat li {
621
  margin-bottom: 30px;
622
  }
623
+ .wt-ierpro-outline-btn, .wt-ierpro-outline-btn:visited{
624
+ background: linear-gradient(90.67deg, #2608DF -34.86%, #3284FF 115.74%);
625
+ box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.39);
626
  border-radius: 5px;
627
  padding: 10px 15px 10px 38px;
628
  display: inline-block;
630
  font-weight: bold;
631
  font-size: 14px;
632
  line-height: 18px;
633
+ color: #FFFFFF;
634
  text-decoration: none;
635
  transition: all .2s ease;
636
  position: relative;
637
+ border: none;
638
  }
639
  .wt-ierpro-outline-btn:before{
640
  content: '';
641
  position: absolute;
642
  height: 15px;
643
  width: 18px;
644
+ background-image: url(../../assets/images/gopro/white-crown.svg);
645
  background-size: contain;
646
  background-repeat: no-repeat;
647
  background-position: center;
648
  left: 15px;
649
  }
650
  .wt-ierpro-outline-btn:hover{
651
+ box-shadow: 0px 4px 13px rgba(46, 80, 242, 0.5);
652
  text-decoration: none;
653
  transform: translateY(2px);
654
  transition: all .2s ease;
655
+ color: #FFFFFF;
656
  }
657
 
658
 
admin/modules/export/assets/js/main.js CHANGED
@@ -268,8 +268,12 @@ var wt_iew_basic_export=(function( $ ) {
268
  {
269
  if(data.finished==1)
270
  {
 
 
 
271
  wt_iew_basic_export.set_export_progress_info(data.msg);
272
  wt_iew_notify_msg.success(wt_iew_basic_params.msgs.success);
 
273
 
274
  }
275
  else if(data.finished==2) /* Remote export */
268
  {
269
  if(data.finished==1)
270
  {
271
+ if(data.no_post==1){
272
+ alert(data.msg);
273
+ }else{
274
  wt_iew_basic_export.set_export_progress_info(data.msg);
275
  wt_iew_notify_msg.success(wt_iew_basic_params.msgs.success);
276
+ }
277
 
278
  }
279
  else if(data.finished==2) /* Remote export */
admin/modules/export/export.php CHANGED
@@ -48,7 +48,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
48
  (
49
  'post_type'=>array(
50
  'title'=>__('Select a post type'),
51
- 'description'=>__('Export and download the respective post type into a CSV. This file can also be used to import data related to the specific post type back into your WordPress/WooCommerce site. As a first step you need to choose the post type to start the export.'),
52
  ),
53
  'method_export'=>array(
54
  'title'=>__('Select an export method'),
@@ -82,7 +82,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
82
  $this->export_methods=array(
83
  'quick'=>array('title'=>__('Quick export'), 'description'=> __('Exports all the basic fields.')),
84
  'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Exports data as per the specifications(filters,selective column,mapping etc) from the previously saved file.')),
85
- 'new'=>array('title'=>__('Advanced export'), 'description'=> __('Exports data after a detailed process of data filtering/column selection/advanced options that may be required for your export. You can also save this selection for future use.')),
86
  );
87
 
88
  /* advanced plugin settings */
@@ -676,7 +676,11 @@ class Wt_Import_Export_For_Woo_Basic_Export
676
  }
677
 
678
  $msg.='<a class="button button-secondary" style="margin-top:10px;" onclick="wt_iew_basic_export.hide_export_info_box();" target="_blank" href="'.$out['file_url'].'" >'.__('Download file').'</a></span>';
679
-
 
 
 
 
680
  $out['msg']=$msg;
681
 
682
  /* updating finished status */
48
  (
49
  'post_type'=>array(
50
  'title'=>__('Select a post type'),
51
+ 'description'=>__('Export and download the data for the respective post type into a CSV file. As per the selected post type, we can use this exported CSV file to import data to your site.'),
52
  ),
53
  'method_export'=>array(
54
  'title'=>__('Select an export method'),
82
  $this->export_methods=array(
83
  'quick'=>array('title'=>__('Quick export'), 'description'=> __('Exports all the basic fields.')),
84
  'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Exports data as per the specifications(filters,selective column,mapping etc) from the previously saved file.')),
85
+ 'new'=>array('title'=>__('Advanced export'), 'description'=> __('Exports data after a detailed process of filtration, column selection and advanced options. The configured settings can be saved as a template for future exports.')),
86
  );
87
 
88
  /* advanced plugin settings */
676
  }
677
 
678
  $msg.='<a class="button button-secondary" style="margin-top:10px;" onclick="wt_iew_basic_export.hide_export_info_box();" target="_blank" href="'.$out['file_url'].'" >'.__('Download file').'</a></span>';
679
+ if( 0 == $total_records && isset( $export_data['no_post'] ) ){
680
+
681
+ $out['no_post'] = true;
682
+ $msg = $export_data['no_post'];
683
+ }
684
  $out['msg']=$msg;
685
 
686
  /* updating finished status */
admin/modules/import/import.php CHANGED
@@ -55,7 +55,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
55
  $this->steps=array(
56
  'post_type'=>array(
57
  'title'=>__('Select a post type'),
58
- 'description'=>__('Import the respective post type from a CSV. As a first step you need to choose the post type to start the import.'),
59
  ),
60
  'method_import'=>array(
61
  'title'=>__('Select import method'),
@@ -72,9 +72,9 @@ class Wt_Import_Export_For_Woo_Basic_Import
72
  );
73
 
74
  $this->import_methods=array(
75
- 'quick'=>array('title'=>__('Quick import'), 'description'=> __('Use this option primarily when your input file was exported using the same plugin.')),
76
- 'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Using a pre-saved template retains the previous filter criteria and other column specifications as per the chosen file and imports data accordingly.')),
77
- 'new'=>array('title'=>__('Advanced Import'), 'description'=> __('This option will take you through the entire process of filtering/column selection/advanced options that may be required for your import. You can also save your selections as a template for future use.')),
78
  );
79
 
80
  $this->step_need_validation_filter=array('method_import', 'mapping', 'advanced');
@@ -125,7 +125,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
125
  'value' =>1,
126
  'field_name'=>'enable_import_log',
127
  'field_group'=>'advanced_field',
128
- 'help_text'=>__('Generate import log as text file and make it available in the history section.'),
129
  'validation_rule'=>array('type'=>'absint'),
130
  );
131
  $import_methods=array_map(function($vl){ return $vl['title']; }, $this->import_methods);
55
  $this->steps=array(
56
  'post_type'=>array(
57
  'title'=>__('Select a post type'),
58
+ 'description'=>__('Use a CSV file to import data. As a first step, select the post type.'),
59
  ),
60
  'method_import'=>array(
61
  'title'=>__('Select import method'),
72
  );
73
 
74
  $this->import_methods=array(
75
+ 'quick'=>array('title'=>__('Quick import'), 'description'=> __('Use this option primarily if you exported the input file using the same plugin.')),
76
+ 'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Retains the filter parameters and column specifications as per the chosen template and imports data accordingly.')),
77
+ 'new'=>array('title'=>__('Advanced Import'), 'description'=> __('Imports data after a detailed process of filtration, column selection and advanced options. The configured settings can be saved as a template for future imports.')),
78
  );
79
 
80
  $this->step_need_validation_filter=array('method_import', 'mapping', 'advanced');
125
  'value' =>1,
126
  'field_name'=>'enable_import_log',
127
  'field_group'=>'advanced_field',
128
+ 'help_text'=>__("You can view the logs in the <a href=" . admin_url('admin.php?page=wt_import_export_for_woo_basic_history_log') . "><b>Logs</b></a> section or in History >View logs."),
129
  'validation_rule'=>array('type'=>'absint'),
130
  );
131
  $import_methods=array_map(function($vl){ return $vl['title']; }, $this->import_methods);
admin/modules/product/export/export.php CHANGED
@@ -28,7 +28,8 @@ class Wt_Import_Export_For_Woo_Basic_Product_Export {
28
 
29
  $include_products = !empty($form_data['filter_form_data']['wt_iew_product']) ? $form_data['filter_form_data']['wt_iew_product'] : '';
30
  $exclude_products = !empty($form_data['filter_form_data']['wt_iew_exclude_product']) ? $form_data['filter_form_data']['wt_iew_exclude_product'] : '';
31
-
 
32
  $prod_categories = !empty($form_data['filter_form_data']['wt_iew_product_categories']) ? $form_data['filter_form_data']['wt_iew_product_categories'] : array();
33
  $prod_tags = !empty($form_data['filter_form_data']['wt_iew_product_tags']) ? $form_data['filter_form_data']['wt_iew_product_tags'] : array();
34
  $prod_types = !empty($form_data['filter_form_data']['wt_iew_product_types']) ? $form_data['filter_form_data']['wt_iew_product_types'] : array();
@@ -66,6 +67,7 @@ class Wt_Import_Export_For_Woo_Basic_Product_Export {
66
  }
67
 
68
  $product_array = array();
 
69
  if ($batch_offset < $export_limit)
70
  {
71
  $args = array(
@@ -106,7 +108,16 @@ class Wt_Import_Export_For_Woo_Basic_Product_Export {
106
  if (!empty($exclude_products)) {
107
  $args['exclude'] = $exclude_products;
108
  }
109
-
 
 
 
 
 
 
 
 
 
110
  $args = apply_filters("woocommerce_csv_product_export_args", $args);
111
  $products = wc_get_products($args);
112
 
@@ -139,10 +150,14 @@ class Wt_Import_Export_For_Woo_Basic_Product_Export {
139
 
140
  }
141
 
142
- return array(
143
  'total' => $total_products,
144
  'data' => $product_array,
145
  );
 
 
 
 
146
 
147
  }
148
 
28
 
29
  $include_products = !empty($form_data['filter_form_data']['wt_iew_product']) ? $form_data['filter_form_data']['wt_iew_product'] : '';
30
  $exclude_products = !empty($form_data['filter_form_data']['wt_iew_exclude_product']) ? $form_data['filter_form_data']['wt_iew_exclude_product'] : '';
31
+ $exp_stock_status = !empty($form_data['filter_form_data']['wt_iew_stock_status']) ? $form_data['filter_form_data']['wt_iew_stock_status'] : '';
32
+
33
  $prod_categories = !empty($form_data['filter_form_data']['wt_iew_product_categories']) ? $form_data['filter_form_data']['wt_iew_product_categories'] : array();
34
  $prod_tags = !empty($form_data['filter_form_data']['wt_iew_product_tags']) ? $form_data['filter_form_data']['wt_iew_product_tags'] : array();
35
  $prod_types = !empty($form_data['filter_form_data']['wt_iew_product_types']) ? $form_data['filter_form_data']['wt_iew_product_types'] : array();
67
  }
68
 
69
  $product_array = array();
70
+ $total_products = 0;
71
  if ($batch_offset < $export_limit)
72
  {
73
  $args = array(
108
  if (!empty($exclude_products)) {
109
  $args['exclude'] = $exclude_products;
110
  }
111
+
112
+ if (!empty($exp_stock_status)) {
113
+ $args['stock_status'] = $exp_stock_status;
114
+ }
115
+
116
+ // Export all language products if WPML is active and the language selected is all.
117
+ if ( function_exists('icl_object_id') && isset( $_SERVER["HTTP_REFERER"] ) && strpos($_SERVER["HTTP_REFERER"], 'lang=all') !== false ) {
118
+ $args['suppress_filters'] = true;
119
+ }
120
+
121
  $args = apply_filters("woocommerce_csv_product_export_args", $args);
122
  $products = wc_get_products($args);
123
 
150
 
151
  }
152
 
153
+ $return_products = array(
154
  'total' => $total_products,
155
  'data' => $product_array,
156
  );
157
+ if( 0 == $batch_offset && 0 == $total_products ){
158
+ $return_products['no_post'] = __( 'Nothing to export under the selected criteria. Please check if any supported product type ( simple, grouped or external ) is available in the shop or try adjusting the filters.' );
159
+ }
160
+ return $return_products;
161
 
162
  }
163
 
admin/modules/product/product.php CHANGED
@@ -136,12 +136,15 @@ class Wt_Import_Export_For_Woo_Basic_Product {
136
 
137
  $data_row = $export->prepare_data_to_export($form_data, $batch_offset,$step);
138
 
139
-
140
- $export_data = array(
141
- 'head_data' => $header_row,
142
- 'body_data' => $data_row['data'],
143
- 'total' => $data_row['total'],
144
- );
 
 
 
145
 
146
 
147
  return $export_data;
@@ -692,62 +695,70 @@ class Wt_Import_Export_For_Woo_Basic_Product {
692
  /* altering help text of default fields */
693
  $fields['limit']['label']=__('Total number of products to export');
694
  $fields['limit']['help_text']=__('Exports specified number of products. e.g. Entering 500 with a skip count of 10 will export products from 11th to 510th position.');
695
- $fields['offset']['label']=__('Skip first <i>n</i> orders');
696
  $fields['offset']['help_text']=__('Skips specified number of products from the beginning. e.g. Enter 10 to skip first 10 products from export.');
697
 
698
 
699
  $fields['product'] = array(
700
- 'label' => __('Products', 'wt-import-export-for-woo'),
701
- 'placeholder' => __('All products', 'wt-import-export-for-woo'),
702
  'attr' => array('data-exclude_type' => 'variable,variation'),
703
  'field_name' => 'product',
704
  'sele_vals' => array(),
705
- 'help_text' => __('Export specific products. Keyin the product names to export multiple products.', 'wt-import-export-for-woo'),
706
  'type' => 'multi_select',
707
  'css_class' => 'wc-product-search',
708
  'validation_rule' => array('type'=>'text_arr')
709
  );
710
-
 
 
 
 
 
 
 
 
711
  $fields['exclude_product'] = array(
712
- 'label' => __('Exclude products', 'wt-import-export-for-woo'),
713
- 'placeholder' => __('Exclude products', 'wt-import-export-for-woo'),
714
  'attr' => array('data-exclude_type' => 'variable,variation'),
715
  'field_name' => 'exclude_product',
716
  'sele_vals' => array(),
717
- 'help_text' => __('Use this if you need to exclude a specific or multiple products from your export list.', 'wt-import-export-for-woo'),
718
  'type' => 'multi_select',
719
  'css_class' => 'wc-product-search',
720
  'validation_rule' => array('type'=>'text_arr')
721
  );
722
 
723
  $fields['product_categories'] = array(
724
- 'label' => __('Product categories', 'wt-import-export-for-woo'),
725
- 'placeholder' => __('Any category', 'wt-import-export-for-woo'),
726
  'field_name' => 'product_categories',
727
  'sele_vals' => $this->get_product_categories(),
728
- 'help_text' => __('Export products belonging to a particular or from multiple categories. Just select the respective categories.', 'wt-import-export-for-woo'),
729
  'type' => 'multi_select',
730
  'css_class' => 'wc-enhanced-select',
731
  'validation_rule' => array('type'=>'skip')
732
  );
733
 
734
  $fields['product_tags'] = array(
735
- 'label' => __('Product tags', 'wt-import-export-for-woo'),
736
- 'placeholder' => __('Any tag', 'wt-import-export-for-woo'),
737
  'field_name' => 'product_tags',
738
  'sele_vals' => $this->get_product_tags(),
739
- 'help_text' => __('Enter the product tags to export only the respective products that have been tagged accordingly.', 'wt-import-export-for-woo'),
740
  'type' => 'multi_select',
741
  'css_class' => 'wc-enhanced-select',
742
  'validation_rule' => array('type'=>'text_arr')
743
  );
744
 
745
  $fields['product_status'] = array(
746
- 'label' => __('Product status', 'wt-import-export-for-woo'),
747
- 'placeholder' => __('Any status', 'wt-import-export-for-woo'),
748
  'field_name' => 'product_status',
749
  'sele_vals' => self::get_product_statuses(),
750
- 'help_text' => __('Filter products by their status.', 'wt-import-export-for-woo'),
751
  'type' => 'multi_select',
752
  'css_class' => 'wc-enhanced-select',
753
  'validation_rule' => array('type'=>'text_arr')
136
 
137
  $data_row = $export->prepare_data_to_export($form_data, $batch_offset,$step);
138
 
139
+ $export_data = array(
140
+ 'head_data' => $header_row,
141
+ 'body_data' => $data_row['data'],
142
+ 'total' => $data_row['total'],
143
+ );
144
+
145
+ if(isset($data_row['no_post'])){
146
+ $export_data['no_post'] = $data_row['no_post'];
147
+ }
148
 
149
 
150
  return $export_data;
695
  /* altering help text of default fields */
696
  $fields['limit']['label']=__('Total number of products to export');
697
  $fields['limit']['help_text']=__('Exports specified number of products. e.g. Entering 500 with a skip count of 10 will export products from 11th to 510th position.');
698
+ $fields['offset']['label']=__('Skip first <i>n</i> products');
699
  $fields['offset']['help_text']=__('Skips specified number of products from the beginning. e.g. Enter 10 to skip first 10 products from export.');
700
 
701
 
702
  $fields['product'] = array(
703
+ 'label' => __( 'Products' ),
704
+ 'placeholder' => __( 'All products' ),
705
  'attr' => array('data-exclude_type' => 'variable,variation'),
706
  'field_name' => 'product',
707
  'sele_vals' => array(),
708
+ 'help_text' => __( 'Export specific products. Keyin the product names to export multiple products.' ),
709
  'type' => 'multi_select',
710
  'css_class' => 'wc-product-search',
711
  'validation_rule' => array('type'=>'text_arr')
712
  );
713
+ $fields['stock_status'] = array(
714
+ 'label' => __('Stock status'),
715
+ 'placeholder' => __('All status'),
716
+ 'field_name' => 'stock_status',
717
+ 'sele_vals' => array( '' => __( 'All status' ), 'instock' => __( 'In Stock' ), 'outofstock' => __( 'Out of Stock' ), 'onbackorder' => __( 'On backorder' ) ),
718
+ 'help_text' => __( 'Export products based on stock status.' ),
719
+ 'type' => 'select',
720
+ 'validation_rule' => array('type'=>'text_arr')
721
+ );
722
  $fields['exclude_product'] = array(
723
+ 'label' => __( 'Exclude products' ),
724
+ 'placeholder' => __( 'Exclude products' ),
725
  'attr' => array('data-exclude_type' => 'variable,variation'),
726
  'field_name' => 'exclude_product',
727
  'sele_vals' => array(),
728
+ 'help_text' => __( 'Use this if you need to exclude a specific or multiple products from your export list.' ),
729
  'type' => 'multi_select',
730
  'css_class' => 'wc-product-search',
731
  'validation_rule' => array('type'=>'text_arr')
732
  );
733
 
734
  $fields['product_categories'] = array(
735
+ 'label' => __( 'Product categories' ),
736
+ 'placeholder' => __( 'Any category' ),
737
  'field_name' => 'product_categories',
738
  'sele_vals' => $this->get_product_categories(),
739
+ 'help_text' => __( 'Export products belonging to a particular or from multiple categories. Just select the respective categories.' ),
740
  'type' => 'multi_select',
741
  'css_class' => 'wc-enhanced-select',
742
  'validation_rule' => array('type'=>'skip')
743
  );
744
 
745
  $fields['product_tags'] = array(
746
+ 'label' => __( 'Product tags' ),
747
+ 'placeholder' => __( 'Any tag' ),
748
  'field_name' => 'product_tags',
749
  'sele_vals' => $this->get_product_tags(),
750
+ 'help_text' => __( 'Enter the product tags to export only the respective products that have been tagged accordingly.' ),
751
  'type' => 'multi_select',
752
  'css_class' => 'wc-enhanced-select',
753
  'validation_rule' => array('type'=>'text_arr')
754
  );
755
 
756
  $fields['product_status'] = array(
757
+ 'label' => __( 'Product status' ),
758
+ 'placeholder' => __( 'Any status' ),
759
  'field_name' => 'product_status',
760
  'sele_vals' => self::get_product_statuses(),
761
+ 'help_text' => __( 'Filter products by their status.' ),
762
  'type' => 'multi_select',
763
  'css_class' => 'wc-enhanced-select',
764
  'validation_rule' => array('type'=>'text_arr')
admin/partials/_form_field_generator.php CHANGED
@@ -356,7 +356,9 @@ foreach($form_fields as $key=>$value)
356
 
357
  <div id="<?php echo $dropzone_id;?>" class="wt_iew_dropzone" wt_iew_dropzone_target="#<?php echo $field_id; ?>">
358
  <div class="dz-message">
359
- <?php _e('Drop files here or click to upload');?>
 
 
360
  <br /><br /><div class="wt_iew_dz_file_success"></div> <br />
361
  <div class="wt_iew_dz_file_name"></div> <br />
362
  <div class="wt_iew_dz_remove_link"></div> <br />
356
 
357
  <div id="<?php echo $dropzone_id;?>" class="wt_iew_dropzone" wt_iew_dropzone_target="#<?php echo $field_id; ?>">
358
  <div class="dz-message">
359
+ <?php _e('Drop and Drop'); ?>
360
+ <?php _e('or'); ?>
361
+ <?php _e(' Click and Upload');?>
362
  <br /><br /><div class="wt_iew_dz_file_success"></div> <br />
363
  <div class="wt_iew_dz_file_name"></div> <br />
364
  <div class="wt_iew_dz_remove_link"></div> <br />
admin/views/admin-settings-marketing.php CHANGED
@@ -5,14 +5,14 @@ if ( ! defined( 'WPINC' ) ) {
5
  ?>
6
  <div class="wt-iew-tab-content" data-id="<?php echo $target_id;?>">
7
  <div class="wt-ier-wrapper">
8
- <h2 class="wt-ier-page-title"><?php _e('Make a complete import and export for your store\'s valuable data, all in one place.');?></h2>
9
- <p class="wt-ier-subp"><?php _e('Get access to advanced features and premium support. Upgrade to the premium version.');?></p>
10
  <div class="wt-ier-row">
11
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
12
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
13
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/product-ie.svg" class="wt-ier-thumbnails">
14
- <h3 class="wt-ier-plugin-name"><?php _e('Product import export plugin for wooCommerce');?></h3>
15
- <p class="wt-ier-p"><?php _e('Easily export and import all types of products and product information.');?></p>
16
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
17
  <a href="https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=<?php echo WT_P_IEW_VERSION; ?>" target="_blank" class="wt-ier-primary-btn wt-ier-btn"><?php _e('Get Premium');?></a>
18
  <a href="" class="wt-ier-secondary-btn wt-ier-btn" data-toggle="modal" data-target="#wt-ier-comparison-modal-product"><?php _e('Compare with basic');?></a>
@@ -22,8 +22,8 @@ if ( ! defined( 'WPINC' ) ) {
22
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
23
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
24
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/customer-ie.svg" class="wt-ier-thumbnails">
25
- <h3 class="wt-ier-plugin-name"><?php _e('Customer Import Export for WooCommerce');?></h3>
26
- <p class="wt-ier-p"><?php _e('Easily import or export WordPress User and WooCommerce Customer data from/to a CSV file!');?></p>
27
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
28
  <a href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=User_Import_Export&utm_content=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn wt-ier-btn" target="_blank"><?php _e('Get Premium');?></a>
29
  <a href="" class="wt-ier-secondary-btn wt-ier-btn" data-toggle="modal" data-target="#wt-ier-comparison-modal-customer"><?php _e('Compare with basic');?></a>
@@ -33,7 +33,7 @@ if ( ! defined( 'WPINC' ) ) {
33
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
34
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
35
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/order-ie.svg" class="wt-ier-thumbnails">
36
- <h3 class="wt-ier-plugin-name"><?php _e('Order, Coupon, Subscription Export Import for WooCommerce');?></h3>
37
  <p class="wt-ier-p"><?php _e('Export or Import WooCommerce orders, Coupons and Subscriptions.');?></p>
38
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
39
  <a href="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=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn wt-ier-btn" target="_blank"><?php _e('Get Premium');?></a>
@@ -503,7 +503,7 @@ if ( ! defined( 'WPINC' ) ) {
503
  <div class="wt-ier-col-12 wt-ier-col-lg-6">
504
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/suite.svg" class="wt-ier-thumbnails">
505
  <h2 class="wt-ier-page-title"><?php _e('Import Export Suite for WooCommerce');?></h2>
506
- <p class="wt-ier-p"><?php _e('WooCommerce Import Export Suite is an all-in-one bundle of plugins that will enable you to import and export WooCommerce products, product reviews, orders, customers, coupons, and subscriptions.');?></p>
507
  <a href="https://www.webtoffee.com/product/woocommerce-import-export-suite/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Import_Export_Suite&utm_content=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn" target="_blank"><?php _e('Get Premium');?></a>
508
  </div>
509
  </div>
5
  ?>
6
  <div class="wt-iew-tab-content" data-id="<?php echo $target_id;?>">
7
  <div class="wt-ier-wrapper">
8
+ <h2 class="wt-ier-page-title"><?php _e('One stop solution for all your import-export needs.');?></h2>
9
+ <p class="wt-ier-subp"><?php _e('Upgrade to the premium version and get access to the advanced features with premium support.');?></p>
10
  <div class="wt-ier-row">
11
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
12
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
13
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/product-ie.svg" class="wt-ier-thumbnails">
14
+ <h3 class="wt-ier-plugin-name"><?php _e('PRODUCT IMPORT EXPORT PLUGIN FOR WOOCOMMERCE');?></h3>
15
+ <p class="wt-ier-p"><?php _e('Imports and exports all product types and reviews. Supports both CSV and XML file formats.');?></p>
16
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
17
  <a href="https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=<?php echo WT_P_IEW_VERSION; ?>" target="_blank" class="wt-ier-primary-btn wt-ier-btn"><?php _e('Get Premium');?></a>
18
  <a href="" class="wt-ier-secondary-btn wt-ier-btn" data-toggle="modal" data-target="#wt-ier-comparison-modal-product"><?php _e('Compare with basic');?></a>
22
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
23
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
24
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/customer-ie.svg" class="wt-ier-thumbnails">
25
+ <h3 class="wt-ier-plugin-name"><?php _e('WORDPRESS USERS & WOOCOMMERCE CUSTOMERS IMPORT EXPORT');?></h3>
26
+ <p class="wt-ier-p"><?php _e('Import and export all your WordPress User and WooCommerce Customer data in CSV/XML file formats.');?></p>
27
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
28
  <a href="https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=User_Import_Export&utm_content=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn wt-ier-btn" target="_blank"><?php _e('Get Premium');?></a>
29
  <a href="" class="wt-ier-secondary-btn wt-ier-btn" data-toggle="modal" data-target="#wt-ier-comparison-modal-customer"><?php _e('Compare with basic');?></a>
33
  <div class="wt-ier-col-12 wt-ier-col-lg-4 wt-ier-lg-4 wt-ier-mb-lg-0">
34
  <div class="wt-ier-p-5 wt-ier-box-wrapper wt-ier-box-highlight">
35
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/order-ie.svg" class="wt-ier-thumbnails">
36
+ <h3 class="wt-ier-plugin-name"><?php _e('ORDER, COUPON, SUBSCRIPTION EXPORT IMPORT FOR WOOCOMMERCE');?></h3>
37
  <p class="wt-ier-p"><?php _e('Export or Import WooCommerce orders, Coupons and Subscriptions.');?></p>
38
  <div class="wt-ier-d-sm-flex wt-ier-btn-group">
39
  <a href="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=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn wt-ier-btn" target="_blank"><?php _e('Get Premium');?></a>
503
  <div class="wt-ier-col-12 wt-ier-col-lg-6">
504
  <img src="<?php echo WT_P_IEW_PLUGIN_URL; ?>assets/images/upgrade/suite.svg" class="wt-ier-thumbnails">
505
  <h2 class="wt-ier-page-title"><?php _e('Import Export Suite for WooCommerce');?></h2>
506
+ <p class="wt-ier-p"><?php _e('WooCommerce Import Export Suite is an all-in-one bundle of plugins with which you can import and export WooCommerce products, product reviews, orders, customers, coupons and subscriptions.');?></p>
507
  <a href="https://www.webtoffee.com/product/woocommerce-import-export-suite/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Import_Export_Suite&utm_content=<?php echo WT_P_IEW_VERSION; ?>" class="wt-ier-primary-btn" target="_blank"><?php _e('Get Premium');?></a>
508
  </div>
509
  </div>
includes/class-wt-import-export-for-woo.php CHANGED
@@ -80,7 +80,7 @@ class Wt_Import_Export_For_Woo_Basic {
80
  if ( defined( 'WT_P_IEW_VERSION' ) ) {
81
  $this->version = WT_P_IEW_VERSION;
82
  } else {
83
- $this->version = '2.1.3';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
80
  if ( defined( 'WT_P_IEW_VERSION' ) ) {
81
  $this->version = WT_P_IEW_VERSION;
82
  } else {
83
+ $this->version = '2.1.4';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
product-import-export-for-woo.php CHANGED
@@ -5,8 +5,8 @@
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
- Version: 2.1.3
9
- WC tested up to: 6.0
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: product-import-export-for-woo
@@ -43,7 +43,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
43
  * Start at version 1.0.0 and use SemVer - https://semver.org
44
  * Rename this for your plugin and update it as you release new versions.
45
  */
46
- define( 'WT_P_IEW_VERSION', '2.1.3' );
47
 
48
  /**
49
  * The code that runs during plugin activation.
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
+ Version: 2.1.4
9
+ WC tested up to: 6.1
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: product-import-export-for-woo
43
  * Start at version 1.0.0 and use SemVer - https://semver.org
44
  * Rename this for your plugin and update it as you release new versions.
45
  */
46
+ define( 'WT_P_IEW_VERSION', '2.1.4' );
47
 
48
  /**
49
  * The code that runs during plugin activation.
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: product export, product import, CSV import export, woocommerce, CSV, produ
5
  Requires at least: 3.0.1
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.3
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -41,7 +41,7 @@ The Product Import Export for WooCommerce plugin exports and imports WooCommerce
41
  * Easy recurring import/exports using <strong>pre-saved configurations</strong>.
42
  * <strong>List of all past imports and exports</strong> with option to re-run them.
43
  * View <strong>import log</strong> for easy debugging.
44
- * Tested OK with WooCommerce 6.0
45
 
46
  ###Compatible Plugins###
47
 
@@ -187,6 +187,12 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
187
 
188
  == Changelog ==
189
 
 
 
 
 
 
 
190
  = 2.1.3 =
191
  * WC 6.0 tested OK.
192
 
@@ -523,5 +529,8 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
523
 
524
  == Upgrade Notice ==
525
 
526
- = 2.1.3 =
527
- * WC 6.0 tested OK.
 
 
 
5
  Requires at least: 3.0.1
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.4
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
41
  * Easy recurring import/exports using <strong>pre-saved configurations</strong>.
42
  * <strong>List of all past imports and exports</strong> with option to re-run them.
43
  * View <strong>import log</strong> for easy debugging.
44
+ * Tested OK with WooCommerce 6.1
45
 
46
  ###Compatible Plugins###
47
 
187
 
188
  == Changelog ==
189
 
190
+ = 2.1.4 =
191
+ * WC 6.1 tested OK.
192
+ * Enhancement – Export all language products if WPML is active and the language selected is all.
193
+ * Enhancement – Inform user when no products to export instead of empty CSV.
194
+ * Add – Export products based on stock status.
195
+
196
  = 2.1.3 =
197
  * WC 6.0 tested OK.
198
 
529
 
530
  == Upgrade Notice ==
531
 
532
+ = 2.1.4 =
533
+ * WC 6.1 tested OK.
534
+ * Enhancement – Export all language products if WPML is active and the language selected is all.
535
+ * Enhancement – Inform user when no products to export instead of empty CSV.
536
+ * Add – Export products based on stock status.