Product Import Export for WooCommerce - Version 2.1.7

Version Description

  • Bugfix: CSV mapping issues.
Download this release

Release Info

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

Code changes from version 2.1.6 to 2.1.7

admin/modules/import/views/_import_mapping_page.php CHANGED
@@ -174,7 +174,8 @@ if (!defined('ABSPATH')) {
174
 
175
  $field_type=(isset($val_arr['field_type']) ? $val_arr['field_type'] : '');
176
  if($field_type!="" && in_array($field_type, $allowed_field_types)) // it may be a different field type
177
- {
 
178
  foreach ($file_heading_default_fields as $def_key => $def_val)
179
  {
180
  $matched=false;
@@ -198,12 +199,14 @@ if (!defined('ABSPATH')) {
198
  }
199
  if($matched && $alternate_set)
200
  {
 
201
  $checked=1; // import this column?
202
  $val='{'.$def_key.'}';
203
  unset($file_heading_default_fields[$def_key]); //remove the field from file heading list
204
  include "_import_mapping_tr_html.php";
205
  $tr_count++;
206
  }elseif($matched){
 
207
  $checked=1; // import this column?
208
  $val='{'.$def_key.'}';
209
  $label=$def_key;
@@ -215,6 +218,12 @@ if (!defined('ABSPATH')) {
215
  $key=$key_backup;
216
  }
217
  }
 
 
 
 
 
 
218
  }else /* unmatched keys */
219
  {
220
  $checked=0; /* import this column? */
174
 
175
  $field_type=(isset($val_arr['field_type']) ? $val_arr['field_type'] : '');
176
  if($field_type!="" && in_array($field_type, $allowed_field_types)) // it may be a different field type
177
+ {
178
+ $is_checked_inside = 0;
179
  foreach ($file_heading_default_fields as $def_key => $def_val)
180
  {
181
  $matched=false;
199
  }
200
  if($matched && $alternate_set)
201
  {
202
+ $is_checked_inside = 1;
203
  $checked=1; // import this column?
204
  $val='{'.$def_key.'}';
205
  unset($file_heading_default_fields[$def_key]); //remove the field from file heading list
206
  include "_import_mapping_tr_html.php";
207
  $tr_count++;
208
  }elseif($matched){
209
+ $is_checked_inside = 1;
210
  $checked=1; // import this column?
211
  $val='{'.$def_key.'}';
212
  $label=$def_key;
218
  $key=$key_backup;
219
  }
220
  }
221
+ if(!$is_checked_inside){
222
+ $checked=0; /* import this column? */
223
+ $val='';
224
+ include "_import_mapping_tr_html.php";
225
+ $tr_count++;
226
+ }
227
  }else /* unmatched keys */
228
  {
229
  $checked=0; /* import this column? */
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.6';
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.7';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
product-import-export-for-woo.php CHANGED
@@ -5,7 +5,7 @@
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.6
9
  WC tested up to: 6.1
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
@@ -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.6' );
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.7
9
  WC tested up to: 6.1
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
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.7' );
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.9
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.6
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -194,6 +194,8 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
194
 
195
  == Changelog ==
196
 
 
 
197
  = 2.1.6 =
198
  * WP 5.9 Tested OK.
199
  * Bug Fix: Issue with exporting SKU with + symbol.
@@ -542,6 +544,5 @@ Yes. You can import grouped, affiliate/external products in addition to simple p
542
 
543
  == Upgrade Notice ==
544
 
545
- = 2.1.6 =
546
- * WP 5.9 Tested OK.
547
- * Bug Fix: Issue with exporting SKU with + symbol.
5
  Requires at least: 3.0.1
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.7
9
  License: GPLv3 or later
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
194
 
195
  == Changelog ==
196
 
197
+ = 2.1.7 =
198
+ * Bugfix: CSV mapping issues.
199
  = 2.1.6 =
200
  * WP 5.9 Tested OK.
201
  * Bug Fix: Issue with exporting SKU with + symbol.
544
 
545
  == Upgrade Notice ==
546
 
547
+ = 2.1.7 =
548
+ * Bugfix: CSV mapping issues.