Product Import Export for WooCommerce - Version 2.1.2

Version Description

  • WC 5.9 tested OK.
  • Bug Fix: Category import and Tag import - name update issue fix.
Download this release

Release Info

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

Code changes from version 2.1.1 to 2.1.2

admin/css/wt-import-export-for-woo-admin.css CHANGED
@@ -93,7 +93,7 @@
93
  width:100%;
94
  padding: 0.35rem 0.75rem;
95
  font-size: 1rem;
96
- line-height: 1.5;
97
  color: #495057;
98
  background-color: #fff;
99
  background-clip: padding-box;
@@ -159,11 +159,11 @@
159
  .wt-iew-tab-container .wp-list-table thead th{ font-weight:bold; }
160
  .wt-iew-exporter-step-btn, .wt-iew-exporter-step-export-btn{ float:right; }
161
 
162
- .wt-iew-form-table select.wt_iew_delimiter_preset{ width:70%; float:left; }
163
- .wt-iew-form-table input[type="text"].wt_iew_custom_delimiter{ width:25%; float:right; }
164
 
165
- .wt-iew-form-table select.wt_iew_date_format_preset{ width:70%; float:left; }
166
- .wt-iew-form-table input[type="text"].wt_iew_custom_date_format{ width:25%; float:right; }
167
 
168
 
169
  .wt_iew_warn_box{padding:20px; padding-bottom:0px;}
@@ -815,7 +815,7 @@ ul.wt-ierpro-newfeat li {
815
  margin-bottom: 20px;
816
  }
817
  .wt-ier-mt-5{
818
- margin-top: 30px;
819
  }
820
  .wt-ier-v-center{
821
  -ms-flex-align: center;
93
  width:100%;
94
  padding: 0.35rem 0.75rem;
95
  font-size: 1rem;
96
+ line-height: 1.5 !important;
97
  color: #495057;
98
  background-color: #fff;
99
  background-clip: padding-box;
159
  .wt-iew-tab-container .wp-list-table thead th{ font-weight:bold; }
160
  .wt-iew-exporter-step-btn, .wt-iew-exporter-step-export-btn{ float:right; }
161
 
162
+ .wt-iew-form-table select.wt_iew_delimiter_preset{ width:70% !important; float:left; }
163
+ .wt-iew-form-table input[type="text"].wt_iew_custom_delimiter{ width:25% !important; float:right; }
164
 
165
+ .wt-iew-form-table select.wt_iew_date_format_preset{ width:70% !important; float:left; }
166
+ .wt-iew-form-table input[type="text"].wt_iew_custom_date_format{ width:25% !important; float:right; }
167
 
168
 
169
  .wt_iew_warn_box{padding:20px; padding-bottom:0px;}
815
  margin-bottom: 20px;
816
  }
817
  .wt-ier-mt-5{
818
+ margin-top: 75px;
819
  }
820
  .wt-ier-v-center{
821
  -ms-flex-align: center;
admin/modules/export/export.php CHANGED
@@ -274,6 +274,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
274
  'batch_count'=>array(
275
  'label'=>__("Export in batches of"),
276
  'type'=>'text',
 
277
  'value'=>$this->default_batch_count,
278
  'field_name'=>'batch_count',
279
  'help_text'=>sprintf(__('The number of records that the server will process for every iteration within the configured timeout interval. If the export fails due to timeout you can lower this number accordingly and try again. Defaulted to %d records.'), 30),
274
  'batch_count'=>array(
275
  'label'=>__("Export in batches of"),
276
  'type'=>'text',
277
+ 'merge_right'=>true,
278
  'value'=>$this->default_batch_count,
279
  'field_name'=>'batch_count',
280
  'help_text'=>sprintf(__('The number of records that the server will process for every iteration within the configured timeout interval. If the export fails due to timeout you can lower this number accordingly and try again. Defaulted to %d records.'), 30),
admin/modules/export/views/main.php CHANGED
@@ -27,6 +27,11 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
27
  ?>
28
  <?php include WT_P_IEW_PLUGIN_PATH."/admin/views/_save_template_popup.php"; ?>
29
  <h2 class="wt_iew_page_hd"><?php _e('Export'); ?><span class="wt_iew_post_type_name"></span></h2>
 
 
 
 
 
30
 
31
  <?php
32
  if($requested_rerun_id>0 && $this->rerun_id==0)
27
  ?>
28
  <?php include WT_P_IEW_PLUGIN_PATH."/admin/views/_save_template_popup.php"; ?>
29
  <h2 class="wt_iew_page_hd"><?php _e('Export'); ?><span class="wt_iew_post_type_name"></span></h2>
30
+ <span class="wt-webtoffee-icon" style="float: <?php echo (!is_rtl()) ? 'right' : 'left'; ?>; padding-<?php echo (!is_rtl()) ? 'right' : 'left'; ?>:30px; margin-top: -25px;">
31
+ <?php _e('Developed by'); ?> <a target="_blank" href="https://www.webtoffee.com">
32
+ <img src="<?php echo WT_P_IEW_PLUGIN_URL.'/assets/images/webtoffee-logo_small.png';?>" style="max-width:100px;">
33
+ </a>
34
+ </span>
35
 
36
  <?php
37
  if($requested_rerun_id>0 && $this->rerun_id==0)
admin/modules/import/views/main.php CHANGED
@@ -37,6 +37,11 @@ Wt_Iew_IE_Basic_Helper::debug_panel($this->module_base);
37
  <?php include WT_P_IEW_PLUGIN_PATH."/admin/views/_save_template_popup.php"; ?>
38
 
39
  <h2 class="wt_iew_page_hd"><?php _e('Import'); ?><span class="wt_iew_post_type_name"></span></h2>
 
 
 
 
 
40
 
41
  <?php
42
  if($requested_rerun_id>0 && $this->rerun_id==0)
37
  <?php include WT_P_IEW_PLUGIN_PATH."/admin/views/_save_template_popup.php"; ?>
38
 
39
  <h2 class="wt_iew_page_hd"><?php _e('Import'); ?><span class="wt_iew_post_type_name"></span></h2>
40
+ <span class="wt-webtoffee-icon" style="float: <?php echo (!is_rtl()) ? 'right' : 'left'; ?>; padding-<?php echo (!is_rtl()) ? 'right' : 'left'; ?>:30px; margin-top: -25px;">
41
+ <?php _e('Developed by'); ?> <a target="_blank" href="https://www.webtoffee.com">
42
+ <img src="<?php echo WT_P_IEW_PLUGIN_URL.'/assets/images/webtoffee-logo_small.png';?>" style="max-width:100px;">
43
+ </a>
44
+ </span>
45
 
46
  <?php
47
  if($requested_rerun_id>0 && $this->rerun_id==0)
admin/modules/product_categories/import/import.php CHANGED
@@ -150,7 +150,7 @@ class Wt_Import_Export_For_Woo_Basic_Categories_Import {
150
  if ($pid) {
151
  $related_data['parent'] = $pid;
152
  }
153
- $chk = $wpdb->get_row($wpdb->prepare("SELECT t.term_id, t.name, t.slug FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_id = t.term_id WHERE t.name = %s and t.slug = %s and tt.taxonomy = %s ORDER BY t.term_id", $name, rawurlencode($slug), $tax_type), ARRAY_A);
154
 
155
  $tid = '';
156
  $status = '';
150
  if ($pid) {
151
  $related_data['parent'] = $pid;
152
  }
153
+ $chk = $wpdb->get_row($wpdb->prepare("SELECT t.term_id, t.slug FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_id = t.term_id WHERE t.slug = %s and tt.taxonomy = %s ORDER BY t.term_id", rawurlencode($slug), $tax_type), ARRAY_A);
154
 
155
  $tid = '';
156
  $status = '';
admin/modules/product_tags/import/import.php CHANGED
@@ -150,7 +150,7 @@ class Wt_Import_Export_For_Woo_Basic_Tags_Import {
150
  if ($pid) {
151
  $related_data['parent'] = $pid;
152
  }
153
- $chk = $wpdb->get_row($wpdb->prepare("SELECT t.term_id, t.name, t.slug FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_id = t.term_id WHERE t.name = %s and t.slug = %s and tt.taxonomy = %s ORDER BY t.term_id", $name, rawurlencode($slug), $tax_type), ARRAY_A);
154
 
155
  $tid = '';
156
  $status = '';
150
  if ($pid) {
151
  $related_data['parent'] = $pid;
152
  }
153
+ $chk = $wpdb->get_row($wpdb->prepare("SELECT t.term_id, t.slug FROM $wpdb->terms AS t INNER JOIN $wpdb->term_taxonomy as tt ON tt.term_id = t.term_id WHERE t.slug = %s and tt.taxonomy = %s ORDER BY t.term_id", rawurlencode($slug), $tax_type), ARRAY_A);
154
 
155
  $tid = '';
156
  $status = '';
includes/class-wf-prodimpexp-plugin-uninstall-feedback.php CHANGED
@@ -134,11 +134,17 @@ if (!class_exists('WT_ProdImpExp_Uninstall_Feedback')) :
134
  var parent = $(this).parents('li:first');
135
  modal.find('.reason-input').remove();
136
  var inputType = parent.data('type'),
137
- inputPlaceholder = parent.data('placeholder');
 
138
  if ('reviewhtml' === inputType) {
139
- var reasonInputHtml = '<div class="reviewlink"><a href="#" target="_blank" class="review-and-deactivate"><?php _e('Deactivate and leave a review', 'product-import-export-for-woo'); ?> <span class="xa-pipe-rating-link"> &#9733;&#9733;&#9733;&#9733;&#9733; </span></a></div>';
 
 
140
  } else {
141
- var reasonInputHtml = '<div class="reason-input">' + (('text' === inputType) ? '<input type="text" class="input-text" size="40" />' : '<textarea rows="5" cols="45"></textarea>') + '</div>';
 
 
 
142
  }
143
  if (inputType !== '') {
144
  parent.append($(reasonInputHtml));
134
  var parent = $(this).parents('li:first');
135
  modal.find('.reason-input').remove();
136
  var inputType = parent.data('type'),
137
+ inputPlaceholder = parent.data('placeholder');
138
+ var reasonInputHtml = '';
139
  if ('reviewhtml' === inputType) {
140
+ if($('.reviewlink').length == 0){
141
+ reasonInputHtml = '<div class="reviewlink"><a href="#" target="_blank" class="review-and-deactivate"><?php _e('Deactivate and leave a review', 'product-import-export-for-woo'); ?> <span class="xa-pipe-rating-link"> &#9733;&#9733;&#9733;&#9733;&#9733; </span></a></div>';
142
+ }
143
  } else {
144
+ if($('.reviewlink').length){
145
+ $('.reviewlink'). remove();
146
+ }
147
+ reasonInputHtml = '<div class="reason-input">' + (('text' === inputType) ? '<input type="text" class="input-text" size="40" />' : '<textarea rows="5" cols="45"></textarea>') + '</div>';
148
  }
149
  if (inputType !== '') {
150
  parent.append($(reasonInputHtml));
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.1';
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.2';
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.1
9
- WC tested up to: 5.8
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.1' );
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.2
9
+ WC tested up to: 5.9
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.2' );
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.1
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 5.8
45
 
46
  ###Compatible Plugins###
47
 
@@ -187,6 +187,10 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
187
 
188
  == Changelog ==
189
 
 
 
 
 
190
  = 2.1.1 =
191
  * FAQ updates
192
  * Bug Fix: Upload timeout issue.
@@ -516,6 +520,6 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
516
 
517
  == Upgrade Notice ==
518
 
519
- = 2.1.1 =
520
- * FAQ updates
521
- * Bug Fix: Upload timeout issue.
5
  Requires at least: 3.0.1
6
  Tested up to: 5.8
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.2
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 5.9
45
 
46
  ###Compatible Plugins###
47
 
187
 
188
  == Changelog ==
189
 
190
+ = 2.1.2 =
191
+ * WC 5.9 tested OK.
192
+ * Bug Fix: Category import and Tag import - name update issue fix.
193
+
194
  = 2.1.1 =
195
  * FAQ updates
196
  * Bug Fix: Upload timeout issue.
520
 
521
  == Upgrade Notice ==
522
 
523
+ = 2.1.2 =
524
+ * WC 5.9 tested OK.
525
+ * Bug Fix: Category import and Tag import - name update issue fix.