Version Description
- bug fix: updating product gallery
- bug fix: import shipping class
Download this release
Release Info
Developer | soflyy |
Plugin | Import Products from any XML or CSV to WooCommerce |
Version | 1.3.2 |
Comparing to | |
See all releases |
Code changes from version 1.3.1 to 1.3.2
- models/import/record.php +4 -4
- plugin.php +2 -2
- readme.txt +6 -2
models/import/record.php
CHANGED
@@ -718,7 +718,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
718 |
}
|
719 |
else
|
720 |
{
|
721 |
-
$t_shipping_class = is_exists_term( (int) $p_shipping_class, 'product_shipping_class'
|
722 |
|
723 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
724 |
{
|
@@ -745,7 +745,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
745 |
}
|
746 |
else{
|
747 |
|
748 |
-
$t_shipping_class = is_exists_term($product_shipping_class[$i], 'product_shipping_class'
|
749 |
|
750 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
751 |
{
|
@@ -753,7 +753,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
753 |
}
|
754 |
else
|
755 |
{
|
756 |
-
$t_shipping_class = is_exists_term(htmlspecialchars(strtolower($product_shipping_class[$i])), 'product_shipping_class'
|
757 |
|
758 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
759 |
{
|
@@ -1278,7 +1278,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1278 |
{
|
1279 |
$gallery = $tmp_gallery;
|
1280 |
}
|
1281 |
-
|
1282 |
// [\update product gallery]
|
1283 |
|
1284 |
wc_delete_product_transients($importData['pid']);
|
718 |
}
|
719 |
else
|
720 |
{
|
721 |
+
$t_shipping_class = is_exists_term( (int) $p_shipping_class, 'product_shipping_class');
|
722 |
|
723 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
724 |
{
|
745 |
}
|
746 |
else{
|
747 |
|
748 |
+
$t_shipping_class = is_exists_term($product_shipping_class[$i], 'product_shipping_class');
|
749 |
|
750 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
751 |
{
|
753 |
}
|
754 |
else
|
755 |
{
|
756 |
+
$t_shipping_class = is_exists_term(htmlspecialchars(strtolower($product_shipping_class[$i])), 'product_shipping_class');
|
757 |
|
758 |
if ( ! empty($t_shipping_class) and ! is_wp_error($t_shipping_class) )
|
759 |
{
|
1278 |
{
|
1279 |
$gallery = $tmp_gallery;
|
1280 |
}
|
1281 |
+
$this->pushmeta( $post_to_update_id, '_product_image_gallery', implode(",", $gallery) );
|
1282 |
// [\update product gallery]
|
1283 |
|
1284 |
wc_delete_product_transients($importData['pid']);
|
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.
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
/**
|
@@ -24,7 +24,7 @@ define('PMWI_ROOT_URL', rtrim(plugin_dir_url(__FILE__), '/'));
|
|
24 |
*/
|
25 |
define('PMWI_PREFIX', 'pmwi_');
|
26 |
|
27 |
-
define('PMWI_FREE_VERSION', '1.3.
|
28 |
|
29 |
define('PMWI_EDITION', 'free');
|
30 |
|
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.2
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
/**
|
24 |
*/
|
25 |
define('PMWI_PREFIX', 'pmwi_');
|
26 |
|
27 |
+
define('PMWI_FREE_VERSION', '1.3.2');
|
28 |
|
29 |
define('PMWI_EDITION', 'free');
|
30 |
|
readme.txt
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
=== Import Products from any XML or CSV to WooCommerce ===
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
-
Tested up to: 4.7
|
5 |
-
Stable tag: 1.3.
|
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,10 @@ The WooCommerce add-on will appear in the Step 4 of WP All Import.
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= 1.3.1 =
|
87 |
* improvement: compatibility with PHP 7.x
|
88 |
|
1 |
=== Import Products from any XML or CSV to WooCommerce ===
|
2 |
Contributors: soflyy, wpallimport
|
3 |
Requires at least: 4.1
|
4 |
+
Tested up to: 4.7.2
|
5 |
+
Stable tag: 1.3.2
|
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.2 =
|
87 |
+
* bug fix: updating product gallery
|
88 |
+
* bug fix: import shipping class
|
89 |
+
|
90 |
= 1.3.1 =
|
91 |
* improvement: compatibility with PHP 7.x
|
92 |
|