Import Products from any XML or CSV to WooCommerce - Version 1.3.9

Version Description

bug fix: do not execute product import code when importing other post types

Download this release

Release Info

Developer soflyy
Plugin Icon 128x128 Import Products from any XML or CSV to WooCommerce
Version 1.3.9
Comparing to
See all releases

Code changes from version 1.3.8 to 1.3.9

Files changed (3) hide show
  1. models/import/record.php +2 -0
  2. plugin.php +2 -2
  3. readme.txt +4 -1
models/import/record.php CHANGED
@@ -627,6 +627,8 @@ class PMWI_Import_Record extends PMWI_Model_Record {
627
 
628
  public function import( $importData = array() ){
629
 
 
 
630
  global $wpdb;
631
 
632
  $this->wpdb = $wpdb;
627
 
628
  public function import( $importData = array() ){
629
 
630
+ if ($importData['import']->options['custom_type'] != 'product') return;
631
+
632
  global $wpdb;
633
 
634
  $this->wpdb = $wpdb;
plugin.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: WP All Import - WooCommerce Add-On
4
  Plugin URI: http://www.wpallimport.com/
5
  Description: An extremely easy, drag & drop importer to import WooCommerce simple products. A paid upgrade is available for premium support and support for Variable, Grouped, and External/Affiliate products
6
- Version: 1.3.8
7
  Author: Soflyy
8
  WC tested up to: 3.4.0
9
  */
@@ -25,7 +25,7 @@ define('PMWI_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
25
  */
26
  define('PMWI_PREFIX', 'pmwi_');
27
 
28
- define('PMWI_FREE_VERSION', '1.3.8');
29
 
30
  define('PMWI_EDITION', 'free');
31
 
3
  Plugin Name: WP All Import - WooCommerce Add-On
4
  Plugin URI: http://www.wpallimport.com/
5
  Description: An extremely easy, drag & drop importer to import WooCommerce simple products. A paid upgrade is available for premium support and support for Variable, Grouped, and External/Affiliate products
6
+ Version: 1.3.9
7
  Author: Soflyy
8
  WC tested up to: 3.4.0
9
  */
25
  */
26
  define('PMWI_PREFIX', 'pmwi_');
27
 
28
+ define('PMWI_FREE_VERSION', '1.3.9');
29
 
30
  define('PMWI_EDITION', 'free');
31
 
readme.txt CHANGED
@@ -2,7 +2,7 @@
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
  Tested up to: 4.9.6
5
- Stable tag: 1.3.8
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Tags: woocommerce xml import, woocommerce csv import, woocommerce, import, xml, csv, wp all import, csv import, import csv, xml import, import xml, woocommerce csv importer, woocommerce xml importer, csv importer, csv import suite
@@ -83,6 +83,9 @@ The WooCommerce add-on will appear in the Step 4 of WP All Import.
83
 
84
  == Changelog ==
85
 
 
 
 
86
  = 1.3.8 =
87
  bug fix: stock status not importing properly when _backorders custom field is not set
88
  bug fix: product dimensions won't import if 'Virtual' field is not set
2
  Contributors: soflyy, wpallimport
3
  Requires at least: 4.1
4
  Tested up to: 4.9.6
5
+ Stable tag: 1.3.9
6
  License: GPLv2 or later
7
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
8
  Tags: woocommerce xml import, woocommerce csv import, woocommerce, import, xml, csv, wp all import, csv import, import csv, xml import, import xml, woocommerce csv importer, woocommerce xml importer, csv importer, csv import suite
83
 
84
  == Changelog ==
85
 
86
+ = 1.3.9 =
87
+ bug fix: do not execute product import code when importing other post types
88
+
89
  = 1.3.8 =
90
  bug fix: stock status not importing properly when _backorders custom field is not set
91
  bug fix: product dimensions won't import if 'Virtual' field is not set