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

Version Description

  • improvement: updated post types dropdown
Download this release

Release Info

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

Code changes from version 1.2.9 to 1.3.0

filters/pmxi_custom_types.php CHANGED
@@ -4,9 +4,9 @@ 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 = __('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
 
4
  {
5
  if (class_exists('WooCommerce'))
6
  {
7
+ if ( ! empty($custom_types['product']) ) $custom_types['product']->labels->name = __('WooCommerce Products','wpai_woocommerce_addon_plugin');
8
+ if ( ! empty($custom_types['shop_order']) ) $custom_types['shop_order']->labels->name = __('WooCommerce Orders','wpai_woocommerce_addon_plugin');
9
+ if ( ! empty($custom_types['shop_coupon'])) $custom_types['shop_coupon']->labels->name = __('WooCommerce 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
 
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.9
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.9');
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.0
7
  Author: Soflyy
8
  */
9
  /**
24
  */
25
  define('PMWI_PREFIX', 'pmwi_');
26
 
27
+ define('PMWI_FREE_VERSION', '1.3.0');
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.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
@@ -83,6 +83,9 @@ The WooCommerce add-on will appear in the Step 4 of WP All Import.
83
 
84
  == Changelog ==
85
 
 
 
 
86
  = 1.2.9 =
87
  * fixed ucwords attributes names
88
  * fixed tooltips & css for woo 2.6 compatibility
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.0
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.0 =
87
+ * improvement: updated post types dropdown
88
+
89
  = 1.2.9 =
90
  * fixed ucwords attributes names
91
  * fixed tooltips & css for woo 2.6 compatibility
static/css/admin.css CHANGED
@@ -342,7 +342,7 @@
342
  width:100%;
343
  height:25px;
344
  color:#21759B;
345
- font-family: "Open Sans",​sans-serif;
346
  padding-top: 2px;
347
  text-decoration: underline;
348
  /*margin: 0 auto; */
342
  width:100%;
343
  height:25px;
344
  color:#21759B;
345
+ /*font-family: "Open Sans",​sans-serif;*/
346
  padding-top: 2px;
347
  text-decoration: underline;
348
  /*margin: 0 auto; */
views/admin/import/_tabs/_advanced.php CHANGED
@@ -1,7 +1,7 @@
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
 
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="https://www.wpallimport.com/checkout/?edd_action=add_to_cart&download_id=1748&edd_options%5Bprice_id%5D=0&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
 
views/admin/import/_tabs/_attributes.php CHANGED
@@ -1,7 +1,7 @@
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>
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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>
views/admin/import/_tabs/_general.php CHANGED
@@ -1,6 +1,6 @@
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">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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">
views/admin/import/_tabs/_inventory.php CHANGED
@@ -1,6 +1,6 @@
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">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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">
views/admin/import/_tabs/_linked_product.php CHANGED
@@ -1,6 +1,6 @@
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">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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">
views/admin/import/_tabs/_options.php CHANGED
@@ -1,6 +1,6 @@
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">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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">
views/admin/import/_tabs/_shipping.php CHANGED
@@ -1,6 +1,6 @@
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">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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">
views/admin/import/_tabs/_variations.php CHANGED
@@ -1,6 +1,6 @@
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;">
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="https://www.wpallimport.com/checkout/?edd_action=purchase_collection&taxonomy=download_category&terms=14&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;">