Version Description
- Function modified for Woocommerce 3.0 Compatibility.
Download this release
Release Info
Developer | hikeforce |
Plugin | Product Import Export for WooCommerce |
Version | 1.3.1 |
Comparing to | |
See all releases |
Code changes from version 1.3.0 to 1.3.1
- includes/importer/class-wf-csv-parser.php +21 -3
- product-csv-import-export.php +1 -1
- readme.txt +6 -2
includes/importer/class-wf-csv-parser.php
CHANGED
@@ -468,10 +468,19 @@ class WF_CSV_Parser {
|
|
468 |
$raw_term = explode( '>', $raw_term );
|
469 |
$raw_term = array_map( 'trim', $raw_term );
|
470 |
|
471 |
-
|
|
|
472 |
$raw_term = array_map( 'wp_specialchars', $raw_term );
|
473 |
$raw_term = array_filter( $raw_term );
|
474 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
475 |
$parent = 0;
|
476 |
$loop = 0;
|
477 |
|
@@ -628,9 +637,18 @@ class WF_CSV_Parser {
|
|
628 |
// Get terms
|
629 |
$terms = array();
|
630 |
$raw_terms = explode( '|', $value );
|
631 |
-
|
632 |
-
|
|
|
|
|
633 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
634 |
if ( sizeof( $raw_terms ) > 0 ) {
|
635 |
|
636 |
foreach ( $raw_terms as $raw_term ) {
|
468 |
$raw_term = explode( '>', $raw_term );
|
469 |
$raw_term = array_map( 'trim', $raw_term );
|
470 |
|
471 |
+
if(WC()->version < '2.7.0')
|
472 |
+
{
|
473 |
$raw_term = array_map( 'wp_specialchars', $raw_term );
|
474 |
$raw_term = array_filter( $raw_term );
|
475 |
|
476 |
+
}
|
477 |
+
else
|
478 |
+
{
|
479 |
+
$raw_term = array_map( 'esc_html', $raw_term );
|
480 |
+
$raw_term = array_filter( $raw_term );
|
481 |
+
|
482 |
+
}
|
483 |
+
|
484 |
$parent = 0;
|
485 |
$loop = 0;
|
486 |
|
637 |
// Get terms
|
638 |
$terms = array();
|
639 |
$raw_terms = explode( '|', $value );
|
640 |
+
if(WC()->version < '2.7.0')
|
641 |
+
{
|
642 |
+
$raw_terms = array_map( 'wp_specialchars', $raw_terms );
|
643 |
+
$raw_terms = array_map( 'trim', $raw_terms );
|
644 |
|
645 |
+
}else{
|
646 |
+
|
647 |
+
$raw_terms = array_map( 'esc_html', $raw_terms );
|
648 |
+
$raw_terms = array_map( 'trim', $raw_terms );
|
649 |
+
|
650 |
+
}
|
651 |
+
|
652 |
if ( sizeof( $raw_terms ) > 0 ) {
|
653 |
|
654 |
foreach ( $raw_terms as $raw_term ) {
|
product-csv-import-export.php
CHANGED
@@ -5,7 +5,7 @@ Plugin URI: http://www.xadapter.com/product/product-import-export-plugin-for-woo
|
|
5 |
Description: Import and Export Products From and To your WooCommerce Store.
|
6 |
Author: HikeForce
|
7 |
Author URI: http://www.xadapter.com/vendor/hikeforce/
|
8 |
-
Version: 1.3.
|
9 |
Text Domain: wf_csv_import_export
|
10 |
*/
|
11 |
|
5 |
Description: Import and Export Products From and To your WooCommerce Store.
|
6 |
Author: HikeForce
|
7 |
Author URI: http://www.xadapter.com/vendor/hikeforce/
|
8 |
+
Version: 1.3.1
|
9 |
Text Domain: wf_csv_import_export
|
10 |
*/
|
11 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7
|
7 |
-
Stable tag: 1.3.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -43,7 +43,7 @@ Product Import Export Plugin for WooCommerce
|
|
43 |
<li>Export Products by Category.</li>
|
44 |
<li>Various Filter options for exporting Products. </li>
|
45 |
<li>Map and Transform fields while Importing Products.</li>
|
46 |
-
<li>Change values while
|
47 |
<li>Choice to Update or Skip existing imported products. </li>
|
48 |
<li>WPML Supported. French and German (Deutschland) language support Out of the Box.</li>
|
49 |
<li>Import/Export file from/to a remote server via FTP.</li>
|
@@ -81,6 +81,8 @@ Yes. You can import or export product images along with other details
|
|
81 |
3. Premium Export Settings Screen
|
82 |
|
83 |
== Changelog ==
|
|
|
|
|
84 |
= 1.3.0 =
|
85 |
* Woocommerce 3.0 Compatibility.
|
86 |
= 1.2.4 =
|
@@ -139,6 +141,8 @@ Yes. You can import or export product images along with other details
|
|
139 |
* Import /Export Woocommerce Products.
|
140 |
|
141 |
== Upgrade Notice ==
|
|
|
|
|
142 |
= 1.3.0 =
|
143 |
* Woocommerce 3.0 Compatibility.
|
144 |
= 1.2.4 =
|
4 |
Tags: woocommerce import products, woocommerce export products, woocommerce export import products, export woocommerce products with images, woocommerce csv import variable products, woocommerce import products with attributes
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.7
|
7 |
+
Stable tag: 1.3.1
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
43 |
<li>Export Products by Category.</li>
|
44 |
<li>Various Filter options for exporting Products. </li>
|
45 |
<li>Map and Transform fields while Importing Products.</li>
|
46 |
+
<li>Change values while importing products using Evaluation Fields.</li>
|
47 |
<li>Choice to Update or Skip existing imported products. </li>
|
48 |
<li>WPML Supported. French and German (Deutschland) language support Out of the Box.</li>
|
49 |
<li>Import/Export file from/to a remote server via FTP.</li>
|
81 |
3. Premium Export Settings Screen
|
82 |
|
83 |
== Changelog ==
|
84 |
+
= 1.3.1 =
|
85 |
+
* Function modified for Woocommerce 3.0 Compatibility.
|
86 |
= 1.3.0 =
|
87 |
* Woocommerce 3.0 Compatibility.
|
88 |
= 1.2.4 =
|
141 |
* Import /Export Woocommerce Products.
|
142 |
|
143 |
== Upgrade Notice ==
|
144 |
+
= 1.3.1 =
|
145 |
+
* Function modified for Woocommerce 3.0 Compatibility.
|
146 |
= 1.3.0 =
|
147 |
* Woocommerce 3.0 Compatibility.
|
148 |
= 1.2.4 =
|