Order Export & Order Import for WooCommerce - Version 2.1.9

Version Description

  • Bugfix: CSV mapping issues.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Order Export & Order Import for WooCommerce
Version 2.1.9
Comparing to
See all releases

Code changes from version 2.1.8 to 2.1.9

admin/modules/import/views/_import_mapping_page.php CHANGED
@@ -175,6 +175,7 @@ if (!defined('ABSPATH')) {
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,6 +199,7 @@ 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
@@ -205,6 +207,7 @@ if (!defined('ABSPATH')) {
205
  $tr_count++;
206
  }elseif($matched)
207
  {
 
208
  $checked=1; // import this column?
209
  $val='{'.$def_key.'}';
210
  $label=$def_key;
@@ -216,6 +219,12 @@ if (!defined('ABSPATH')) {
216
  $key=$key_backup;
217
  }
218
  }
 
 
 
 
 
 
219
  }else /* unmatched keys */
220
  {
221
  $checked=0; /* import this column? */
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
207
  $tr_count++;
208
  }elseif($matched)
209
  {
210
+ $is_checked_inside = 1;
211
  $checked=1; // import this column?
212
  $val='{'.$def_key.'}';
213
  $label=$def_key;
219
  $key=$key_backup;
220
  }
221
  }
222
+ if(!$is_checked_inside){
223
+ $checked=0; /* import this column? */
224
+ $val='';
225
+ include "_import_mapping_tr_html.php";
226
+ $tr_count++;
227
+ }
228
  }else /* unmatched keys */
229
  {
230
  $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_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
- $this->version = '2.1.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.1.9';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
order-import-export-for-woocommerce.php CHANGED
@@ -6,7 +6,7 @@ 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.1.8
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 6.1
12
  License: GPLv3
@@ -45,7 +45,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
- define( 'WT_O_IEW_VERSION', '2.1.8' );
49
 
50
  /**
51
  * 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.1.9
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 6.1
12
  License: GPLv3
45
  * Start at version 1.0.0 and use SemVer - https://semver.org
46
  * Rename this for your plugin and update it as you release new versions.
47
  */
48
+ define( 'WT_O_IEW_VERSION', '2.1.9' );
49
 
50
  /**
51
  * The code that runs during plugin activation.
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: order export, woocommerce, order, export, csv, order import, woocommerce e
5
  Requires at least: 3.0.1
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
8
- Stable tag: 2.1.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -226,6 +226,8 @@ Yes.
226
 
227
  == Changelog ==
228
 
 
 
229
  = 2.1.8 =
230
  * WP 5.9 Tested OK
231
  * Bugfix: WP custom plugins folder support.
@@ -487,6 +489,5 @@ Yes.
487
 
488
  == Upgrade Notice ==
489
 
490
- = 2.1.8 =
491
- * WP 5.9 Tested OK
492
- * Bugfix: WP custom plugins folder support.
5
  Requires at least: 3.0.1
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 2.1.9
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
226
 
227
  == Changelog ==
228
 
229
+ = 2.1.9 =
230
+ * Bugfix: CSV mapping issues.
231
  = 2.1.8 =
232
  * WP 5.9 Tested OK
233
  * Bugfix: WP custom plugins folder support.
489
 
490
  == Upgrade Notice ==
491
 
492
+ = 2.1.9 =
493
+ * Bugfix: CSV mapping issues.