Product Import Export for WooCommerce - Version 1.7.1

Version Description

  • Tested OK with WC 3.8.1 and WP 5.3
  • provision to export for Super Admin user.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Product Import Export for WooCommerce
Version 1.7.1
Comparing to
See all releases

Code changes from version 1.7.0 to 1.7.1

Files changed (2) hide show
  1. product-import-export-for-woo.php +6 -4
  2. readme.txt +7 -3
product-import-export-for-woo.php CHANGED
@@ -5,8 +5,8 @@
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
- Version: 1.7.0
9
- WC tested up to: 3.8
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: product-import-export-for-woo
@@ -18,7 +18,7 @@ if (!defined('ABSPATH') || !is_admin()) {
18
 
19
 
20
  if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
- define("WF_PIPE_CURRENT_VERSION", "1.7.0");
22
  }
23
  if (!defined('WF_PROD_IMP_EXP_ID')) {
24
  define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
@@ -136,11 +136,13 @@ if (!defined('WF_WOOCOMMERCE_CSV_IM_EX')) {
136
  private function hf_user_permission() {
137
  // Check if user has rights to export
138
  $current_user = wp_get_current_user();
 
 
139
  $user_ok = false;
140
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
141
  if ($current_user instanceof WP_User) {
142
  $can_users = array_intersect($wf_roles, $current_user->roles);
143
- if (!empty($can_users)) {
144
  $user_ok = true;
145
  }
146
  }
5
  Description: Import and Export Products From and To your WooCommerce Store.
6
  Author: WebToffee
7
  Author URI: https://www.webtoffee.com/product/product-import-export-woocommerce/
8
+ Version: 1.7.1
9
+ WC tested up to: 3.8.1
10
  License: GPLv3
11
  License URI: https://www.gnu.org/licenses/gpl-3.0.html
12
  Text Domain: product-import-export-for-woo
18
 
19
 
20
  if (!defined('WF_PIPE_CURRENT_VERSION')) {
21
+ define("WF_PIPE_CURRENT_VERSION", "1.7.1");
22
  }
23
  if (!defined('WF_PROD_IMP_EXP_ID')) {
24
  define("WF_PROD_IMP_EXP_ID", "wf_prod_imp_exp");
136
  private function hf_user_permission() {
137
  // Check if user has rights to export
138
  $current_user = wp_get_current_user();
139
+ $current_user->roles = apply_filters('hf_add_user_roles', $current_user->roles);
140
+ $current_user->roles = array_unique($current_user->roles);
141
  $user_ok = false;
142
  $wf_roles = apply_filters('hf_user_permission_roles', array('administrator', 'shop_manager'));
143
  if ($current_user instanceof WP_User) {
144
  $can_users = array_intersect($wf_roles, $current_user->roles);
145
+ if (!empty($can_users) || is_super_admin($current_user->ID)) {
146
  $user_ok = true;
147
  }
148
  }
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: webtoffee
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce ,product, export, import, woocommerce ,csv
5
  Requires at least: 3.0.1
6
- Tested up to: 5.2.4
7
- Stable tag: 1.7.0
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -20,7 +20,7 @@ Product import export plugin allows you to import or export WooCommerce simple p
20
 
21
  🔸 Export Simple Products in to a CSV file.
22
  🔸 Import Simple Products in CSV format in to WooCommerce Store.
23
- 🔸 Tested OK with WooCommerce 3.8.
24
 
25
 
26
  Highlights: WooCommerce Product Export, WooCommerce Product CSV Import Suite, WooCommerce bulk product upload, WooCommerce import products with images, import amazon products to WooCommerce, Export Products to xls. Pro Version supports both Simple and Variable products.
@@ -153,6 +153,10 @@ By default, admin and store manager are given access to export orders from your
153
 
154
  == Changelog ==
155
 
 
 
 
 
156
  = 1.7.0 =
157
  * Bug Fix: Price issue with scheduled sales imports. (@derickcpt)
158
 
3
  Donate link: https://www.webtoffee.com/plugins/
4
  Tags: woocommerce product import, woocommerce import products, woocommerce export products, export woocommerce products, import products into woocommerce ,product, export, import, woocommerce ,csv
5
  Requires at least: 3.0.1
6
+ Tested up to: 5.3
7
+ Stable tag: 1.7.1
8
  License: GPLv3 or later
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
20
 
21
  🔸 Export Simple Products in to a CSV file.
22
  🔸 Import Simple Products in CSV format in to WooCommerce Store.
23
+ 🔸 Tested OK with WooCommerce 3.8.1
24
 
25
 
26
  Highlights: WooCommerce Product Export, WooCommerce Product CSV Import Suite, WooCommerce bulk product upload, WooCommerce import products with images, import amazon products to WooCommerce, Export Products to xls. Pro Version supports both Simple and Variable products.
153
 
154
  == Changelog ==
155
 
156
+ = 1.7.1 =
157
+ * Tested OK with WC 3.8.1 and WP 5.3
158
+ * provision to export for Super Admin user.
159
+
160
  = 1.7.0 =
161
  * Bug Fix: Price issue with scheduled sales imports. (@derickcpt)
162