Version Description
- fixed ucwords attributes names
- fixed tooltips & css for woo 2.6 compatibility
Download this release
Release Info
Developer | soflyy |
Plugin | Import Products from any XML or CSV to WooCommerce |
Version | 1.2.9 |
Comparing to | |
See all releases |
Code changes from version 1.2.8 to 1.2.9
- filters/pmxi_article_data.php +1 -1
- filters/pmxi_custom_types.php +4 -4
- models/import/record.php +1 -1
- plugin.php +2 -2
- readme.txt +8 -4
- views/admin/import/_tabs/_advanced.php +2 -2
- views/admin/import/_tabs/_attributes.php +2 -2
- views/admin/import/_tabs/_general.php +2 -2
- views/admin/import/_tabs/_inventory.php +2 -2
- views/admin/import/_tabs/_linked_product.php +2 -2
- views/admin/import/_tabs/_options.php +2 -2
- views/admin/import/_tabs/_shipping.php +2 -2
- views/admin/import/_tabs/_variations.php +2 -2
filters/pmxi_article_data.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
<?php
|
2 |
function pmwi_pmxi_article_data($articleData, $import, $post_to_update){
|
3 |
-
if ( ! empty($articleData['post_type']) and $articleData['post_type'] == 'product' and $import->options['update_all_data'] == 'no' and ! $import->options['is_update_product_type']){
|
4 |
$articleData['post_type'] = $post_to_update->post_type;
|
5 |
}
|
6 |
return $articleData;
|
1 |
<?php
|
2 |
function pmwi_pmxi_article_data($articleData, $import, $post_to_update){
|
3 |
+
if ( ! empty($articleData['post_type']) and $articleData['post_type'] == 'product' and $import->options['update_all_data'] == 'no' and ! $import->options['is_update_product_type'] and !empty($post_to_update)){
|
4 |
$articleData['post_type'] = $post_to_update->post_type;
|
5 |
}
|
6 |
return $articleData;
|
filters/pmxi_custom_types.php
CHANGED
@@ -4,13 +4,13 @@ function pmwi_pmxi_custom_types($custom_types)
|
|
4 |
{
|
5 |
if (class_exists('WooCommerce'))
|
6 |
{
|
7 |
-
if ( ! empty($custom_types['product']) ) $custom_types['product']->labels->name = __('
|
8 |
-
if ( ! empty($custom_types['shop_order']) ) $custom_types['shop_order']->labels->name = __('
|
9 |
-
if ( ! empty($custom_types['shop_coupon']))
|
10 |
if ( ! empty($custom_types['product_variation'])) unset($custom_types['product_variation']);
|
11 |
if ( ! empty($custom_types['shop_order_refund'])) unset($custom_types['shop_order_refund']);
|
12 |
|
13 |
-
$order = array('shop_order', 'product');
|
14 |
|
15 |
$ordered_custom_types = array();
|
16 |
|
4 |
{
|
5 |
if (class_exists('WooCommerce'))
|
6 |
{
|
7 |
+
if ( ! empty($custom_types['product']) ) $custom_types['product']->labels->name = __('Products','wpai_woocommerce_addon_plugin');
|
8 |
+
if ( ! empty($custom_types['shop_order']) ) $custom_types['shop_order']->labels->name = __('Orders','wpai_woocommerce_addon_plugin');
|
9 |
+
if ( ! empty($custom_types['shop_coupon'])) $custom_types['shop_coupon']->labels->name = __('Coupons','wpai_woocommerce_addon_plugin');
|
10 |
if ( ! empty($custom_types['product_variation'])) unset($custom_types['product_variation']);
|
11 |
if ( ! empty($custom_types['shop_order_refund'])) unset($custom_types['shop_order_refund']);
|
12 |
|
13 |
+
$order = array('shop_order', 'shop_coupon', 'product');
|
14 |
|
15 |
$ordered_custom_types = array();
|
16 |
|
models/import/record.php
CHANGED
@@ -1399,7 +1399,7 @@ class PMWI_Import_Record extends PMWI_Model_Record {
|
|
1399 |
|
1400 |
// Grab the submitted data
|
1401 |
$attribute_name = ( isset( $attr_name ) ) ? wc_sanitize_taxonomy_name( stripslashes( (string) $attr_name ) ) : '';
|
1402 |
-
$attribute_label =
|
1403 |
$attribute_type = 'select';
|
1404 |
$attribute_orderby = 'menu_order';
|
1405 |
|
1399 |
|
1400 |
// Grab the submitted data
|
1401 |
$attribute_name = ( isset( $attr_name ) ) ? wc_sanitize_taxonomy_name( stripslashes( (string) $attr_name ) ) : '';
|
1402 |
+
$attribute_label = stripslashes( (string) $attr_name );
|
1403 |
$attribute_type = 'select';
|
1404 |
$attribute_orderby = 'menu_order';
|
1405 |
|
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.2.
|
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.2.
|
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.2.9
|
7 |
Author: Soflyy
|
8 |
*/
|
9 |
/**
|
24 |
*/
|
25 |
define('PMWI_PREFIX', 'pmwi_');
|
26 |
|
27 |
+
define('PMWI_FREE_VERSION', '1.2.9');
|
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.
|
5 |
-
Stable tag: 1.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
|
@@ -32,7 +32,7 @@ Here's why you should use the WooCommerce add-on for WP All Import:
|
|
32 |
= WooCommerce Add-On Professional Edition =
|
33 |
[youtube http://www.youtube.com/watch?v=7kCmESmKGro]
|
34 |
|
35 |
-
The
|
36 |
|
37 |
* [In-depth support for Variable products](http://www.wpallimport.com/documentation/woocommerce/variable-products/?utm_source=free-plugin&utm_medium=dot-org&utm_campaign=woocommerce) - example CSV files, ability to import variations from properly formatted XML, and much more.
|
38 |
|
@@ -48,7 +48,7 @@ The professional edition of *WP All Import + the WooCommerce add-on* is a paid u
|
|
48 |
|
49 |
* Get access to our customer portal with documentation and tutorials, and e-mail technical support.
|
50 |
|
51 |
-
[Upgrade to the
|
52 |
|
53 |
You need the WooCommerce add-on if you need to:
|
54 |
|
@@ -83,6 +83,10 @@ The WooCommerce add-on will appear in the Step 4 of WP All Import.
|
|
83 |
|
84 |
== Changelog ==
|
85 |
|
|
|
|
|
|
|
|
|
86 |
= 1.2.8 =
|
87 |
* fixed updating stock qty with disabled manage_stock import
|
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.6
|
5 |
+
Stable tag: 1.2.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
|
32 |
= WooCommerce Add-On Professional Edition =
|
33 |
[youtube http://www.youtube.com/watch?v=7kCmESmKGro]
|
34 |
|
35 |
+
The Pro edition of *WP All Import + the WooCommerce add-on* is a paid upgrade that includes premium support and adds the following features:
|
36 |
|
37 |
* [In-depth support for Variable products](http://www.wpallimport.com/documentation/woocommerce/variable-products/?utm_source=free-plugin&utm_medium=dot-org&utm_campaign=woocommerce) - example CSV files, ability to import variations from properly formatted XML, and much more.
|
38 |
|
48 |
|
49 |
* Get access to our customer portal with documentation and tutorials, and e-mail technical support.
|
50 |
|
51 |
+
[Upgrade to the Pro edition of WP All Import + the WooCommerce add-on now.](http://www.wpallimport.com/woocommerce-product-import?utm_source=free-plugin&utm_medium=dot-org&utm_campaign=woocommerce "WooCommerce XML & CSV Import")
|
52 |
|
53 |
You need the WooCommerce add-on if you need to:
|
54 |
|
83 |
|
84 |
== Changelog ==
|
85 |
|
86 |
+
= 1.2.9 =
|
87 |
+
* fixed ucwords attributes names
|
88 |
+
* fixed tooltips & css for woo 2.6 compatibility
|
89 |
+
|
90 |
= 1.2.8 =
|
91 |
* fixed updating stock qty with disabled manage_stock import
|
92 |
|
views/admin/import/_tabs/_advanced.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="advanced_product_data" style="display:none;">
|
2 |
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
4 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
5 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
6 |
</div>
|
7 |
|
8 |
<div class="options_group hide_if_external">
|
1 |
<div class="panel woocommerce_options_panel" id="advanced_product_data" style="display:none;">
|
2 |
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
4 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
5 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
6 |
</div>
|
7 |
|
8 |
<div class="options_group hide_if_external">
|
views/admin/import/_tabs/_attributes.php
CHANGED
@@ -1,8 +1,8 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="woocommerce_attributes" style="display:none;">
|
2 |
<div style="margin-left:-2%;">
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template" style="margin-top:0;">
|
4 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
5 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
6 |
</div>
|
7 |
</div>
|
8 |
<div class="input">
|
1 |
<div class="panel woocommerce_options_panel" id="woocommerce_attributes" style="display:none;">
|
2 |
<div style="margin-left:-2%;">
|
3 |
<div class="woo-add-on-free-edition-notice upgrade_template" style="margin-top:0;">
|
4 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
5 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
6 |
</div>
|
7 |
</div>
|
8 |
<div class="input">
|
views/admin/import/_tabs/_general.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="general_product_data">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group hide_if_grouped">
|
7 |
<p class="form-field">
|
1 |
<div class="panel woocommerce_options_panel" id="general_product_data">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group hide_if_grouped">
|
7 |
<p class="form-field">
|
views/admin/import/_tabs/_inventory.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="inventory_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group show_if_simple show_if_variable">
|
7 |
|
1 |
<div class="panel woocommerce_options_panel" id="inventory_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group show_if_simple show_if_variable">
|
7 |
|
views/admin/import/_tabs/_linked_product.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="linked_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
1 |
<div class="panel woocommerce_options_panel" id="linked_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
views/admin/import/_tabs/_options.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="add_on_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
|
1 |
<div class="panel woocommerce_options_panel" id="add_on_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
|
views/admin/import/_tabs/_shipping.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="shipping_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
1 |
<div class="panel woocommerce_options_panel" id="shipping_product_data" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group">
|
7 |
<p class="form-field">
|
views/admin/import/_tabs/_variations.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<div class="panel woocommerce_options_panel" id="variable_product_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
-
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the
|
4 |
-
<p><?php _e('If you already own it, remove the free edition and install the
|
5 |
</div>
|
6 |
<div class="options_group" style="padding-bottom:0px;">
|
7 |
|
1 |
<div class="panel woocommerce_options_panel" id="variable_product_options" style="display:none;">
|
2 |
<div class="woo-add-on-free-edition-notice upgrade_template">
|
3 |
+
<a href="http://www.wpallimport.com/upgrade-to-pro/?utm_source=free-plugin&utm_medium=in-plugin&utm_campaign=woocommerce" target="_blank" class="upgrade_woo_link"><?php _e('Upgrade to the Pro edition of WP All Import and the WooCommerce add-on to import to Variable, Affiliate, and Grouped products.', 'wpai_woocommerce_addon_plugin');?></a>
|
4 |
+
<p><?php _e('If you already own it, remove the free edition and install the Pro edition.', 'wp_all_import_plugin'); ?></p>
|
5 |
</div>
|
6 |
<div class="options_group" style="padding-bottom:0px;">
|
7 |
|