Version Description
- Bug Fix:- Access denied message when importing orders.
- Tested OK with WC 4.5.0 and WP 5.5.1
Download this release
Release Info
Developer | webtoffee |
Plugin | Order Export & Order Import for WooCommerce |
Version | 1.6.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.6 to 1.6.7
- Sample_Coupon.csv +0 -0
- Sample_Order.csv +0 -0
- Sample_Subscription.csv +0 -0
- images/Order-Import-Export-for-WooCommerce-Image.png +0 -0
- images/calendar.png +0 -0
- images/csv.png +0 -0
- images/documentation.png +0 -0
- images/storefrog.png +0 -0
- images/wf-ajax-loader.gif +0 -0
- images/wf-failed.png +0 -0
- images/wf-import.png +0 -0
- images/wf-notice.png +0 -0
- images/wf-success.png +0 -0
- includes/class-wf-cpnimpexpcsv-admin-screen.php +0 -0
- includes/class-wf-cpnimpexpcsv-ajax-handler.php +0 -0
- includes/class-wf-cpnimpexpcsv-system-status-tools.php +0 -0
- includes/class-wf-orderimpexp-plugin-uninstall-feedback.php +0 -0
- includes/class-wf-orderimpexpcsv-admin-screen.php +0 -0
- includes/class-wf-orderimpexpcsv-ajax-handler.php +0 -0
- includes/class-wf-orderimpexpcsv-system-status-tools.php +0 -0
- includes/exporter/class-wf-cpnimpexpcsv-exporter.php +0 -0
- includes/exporter/class-wf-orderimpexpcsv-exporter.php +1 -1
- includes/exporter/data/data-wf-post-columns-coupon.php +0 -0
- includes/exporter/data/data-wf-post-columns.php +0 -0
- includes/importer/class-wf-cpnimpexpcsv-importer.php +0 -0
- includes/importer/class-wf-csv-parser-coupon.php +0 -0
- includes/importer/class-wf-csv-parser.php +0 -0
- includes/importer/class-wf-orderimpexpcsv-importer.php +0 -0
- includes/importer/class-wf-orderimpexpcsv-order-import.php +4 -1
- includes/importer/data-coupon/data-wf-post-defaults.php +0 -0
- includes/importer/data-coupon/data-wf-postmeta-allowed.php +0 -0
- includes/importer/data-coupon/data-wf-postmeta-defaults.php +0 -0
- includes/importer/data-coupon/data-wf-reserved-fields-pair.php +0 -0
- includes/importer/data-coupon/data-wf-reserved-fields.php +0 -0
- includes/importer/data/data-wf-reserved-fields-pair.php +0 -0
- includes/importer/views-coupon/html-wf-import-greeting.php +0 -0
- includes/importer/views-coupon/html-wf-import-options.php +0 -0
- includes/importer/views/html-wf-import-greeting.php +0 -0
- includes/importer/views/html-wf-import-options.php +0 -0
- includes/views/export/html-wf-export-coupons.php +0 -0
- includes/views/export/html-wf-export-orders.php +0 -0
- includes/views/html-wf-admin-screen.php +0 -0
- includes/views/html-wf-getting-started-subscription.php +0 -0
- includes/views/html-wf-help-guide.php +0 -0
- includes/views/import/html-wf-import-coupons.php +0 -0
- includes/views/import/html-wf-import-orders.php +0 -0
- includes/views/market.php +0 -0
- languages/wf_order_import_export-de_DE.mo +0 -0
- languages/wf_order_import_export-de_DE.po +0 -0
- languages/wf_order_import_export-fr_FR.mo +0 -0
- languages/wf_order_import_export-fr_FR.po +0 -0
- license.txt +0 -0
- order-import-export-for-woocommerce.php +3 -3
- readme.txt +9 -6
- styles/wf-style.css +0 -0
Sample_Coupon.csv
CHANGED
File without changes
|
Sample_Order.csv
CHANGED
File without changes
|
Sample_Subscription.csv
CHANGED
File without changes
|
images/Order-Import-Export-for-WooCommerce-Image.png
CHANGED
File without changes
|
images/calendar.png
CHANGED
File without changes
|
images/csv.png
CHANGED
File without changes
|
images/documentation.png
CHANGED
File without changes
|
images/storefrog.png
CHANGED
File without changes
|
images/wf-ajax-loader.gif
CHANGED
File without changes
|
images/wf-failed.png
CHANGED
File without changes
|
images/wf-import.png
CHANGED
File without changes
|
images/wf-notice.png
CHANGED
File without changes
|
images/wf-success.png
CHANGED
File without changes
|
includes/class-wf-cpnimpexpcsv-admin-screen.php
CHANGED
File without changes
|
includes/class-wf-cpnimpexpcsv-ajax-handler.php
CHANGED
File without changes
|
includes/class-wf-cpnimpexpcsv-system-status-tools.php
CHANGED
File without changes
|
includes/class-wf-orderimpexp-plugin-uninstall-feedback.php
CHANGED
File without changes
|
includes/class-wf-orderimpexpcsv-admin-screen.php
CHANGED
File without changes
|
includes/class-wf-orderimpexpcsv-ajax-handler.php
CHANGED
File without changes
|
includes/class-wf-orderimpexpcsv-system-status-tools.php
CHANGED
File without changes
|
includes/exporter/class-wf-cpnimpexpcsv-exporter.php
CHANGED
File without changes
|
includes/exporter/class-wf-orderimpexpcsv-exporter.php
CHANGED
@@ -113,7 +113,7 @@ class WF_OrderImpExpCsv_Exporter {
|
|
113 |
|
114 |
// get line items
|
115 |
foreach ($order->get_items() as $item_id => $item) {
|
116 |
-
$product = $order->get_product_from_item($item);
|
117 |
if (!is_object($product)) {
|
118 |
$product = new WC_Product(0);
|
119 |
}
|
113 |
|
114 |
// get line items
|
115 |
foreach ($order->get_items() as $item_id => $item) {
|
116 |
+
$product = (WC()->version < '4.4.0') ? $order->get_product_from_item($item) : $item->get_product(); // get_product_from_item() deprecated since version 4.4.0
|
117 |
if (!is_object($product)) {
|
118 |
$product = new WC_Product(0);
|
119 |
}
|
includes/exporter/data/data-wf-post-columns-coupon.php
CHANGED
File without changes
|
includes/exporter/data/data-wf-post-columns.php
CHANGED
File without changes
|
includes/importer/class-wf-cpnimpexpcsv-importer.php
CHANGED
File without changes
|
includes/importer/class-wf-csv-parser-coupon.php
CHANGED
File without changes
|
includes/importer/class-wf-csv-parser.php
CHANGED
File without changes
|
includes/importer/class-wf-orderimpexpcsv-importer.php
CHANGED
File without changes
|
includes/importer/class-wf-orderimpexpcsv-order-import.php
CHANGED
@@ -232,7 +232,7 @@ class WF_OrderImpExpCsv_Order_Import extends WP_Importer {
|
|
232 |
action: 'woocommerce_csv_order_import_request',
|
233 |
file: '<?php echo $file; ?>',
|
234 |
processed_terms: processed_terms,
|
235 |
-
processed_posts: processed_posts,
|
236 |
wt_nonce : '<?php echo wp_create_nonce( WF_ORDER_IMP_EXP_ID )?>',
|
237 |
};
|
238 |
$.ajax({
|
@@ -287,6 +287,9 @@ class WF_OrderImpExpCsv_Order_Import extends WP_Importer {
|
|
287 |
if (!wp_verify_nonce($nonce, WF_ORDER_IMP_EXP_ID) || !WF_Order_Import_Export_CSV::hf_user_permission()) {
|
288 |
wp_die(__('Access Denied', 'order-import-export-for-woocommerce'));
|
289 |
}
|
|
|
|
|
|
|
290 |
add_filter('http_request_timeout', array($this, 'bump_request_timeout'));
|
291 |
if (function_exists('gc_enable'))
|
292 |
gc_enable();
|
232 |
action: 'woocommerce_csv_order_import_request',
|
233 |
file: '<?php echo $file; ?>',
|
234 |
processed_terms: processed_terms,
|
235 |
+
processed_posts: processed_posts.toString(),
|
236 |
wt_nonce : '<?php echo wp_create_nonce( WF_ORDER_IMP_EXP_ID )?>',
|
237 |
};
|
238 |
$.ajax({
|
287 |
if (!wp_verify_nonce($nonce, WF_ORDER_IMP_EXP_ID) || !WF_Order_Import_Export_CSV::hf_user_permission()) {
|
288 |
wp_die(__('Access Denied', 'order-import-export-for-woocommerce'));
|
289 |
}
|
290 |
+
if(isset($_POST['processed_posts']) && !empty($_POST['processed_posts'])){
|
291 |
+
$_POST['processed_posts']= explode(',', $_POST['processed_posts']);
|
292 |
+
}
|
293 |
add_filter('http_request_timeout', array($this, 'bump_request_timeout'));
|
294 |
if (function_exists('gc_enable'))
|
295 |
gc_enable();
|
includes/importer/data-coupon/data-wf-post-defaults.php
CHANGED
File without changes
|
includes/importer/data-coupon/data-wf-postmeta-allowed.php
CHANGED
File without changes
|
includes/importer/data-coupon/data-wf-postmeta-defaults.php
CHANGED
File without changes
|
includes/importer/data-coupon/data-wf-reserved-fields-pair.php
CHANGED
File without changes
|
includes/importer/data-coupon/data-wf-reserved-fields.php
CHANGED
File without changes
|
includes/importer/data/data-wf-reserved-fields-pair.php
CHANGED
File without changes
|
includes/importer/views-coupon/html-wf-import-greeting.php
CHANGED
File without changes
|
includes/importer/views-coupon/html-wf-import-options.php
CHANGED
File without changes
|
includes/importer/views/html-wf-import-greeting.php
CHANGED
File without changes
|
includes/importer/views/html-wf-import-options.php
CHANGED
File without changes
|
includes/views/export/html-wf-export-coupons.php
CHANGED
File without changes
|
includes/views/export/html-wf-export-orders.php
CHANGED
File without changes
|
includes/views/html-wf-admin-screen.php
CHANGED
File without changes
|
includes/views/html-wf-getting-started-subscription.php
CHANGED
File without changes
|
includes/views/html-wf-help-guide.php
CHANGED
File without changes
|
includes/views/import/html-wf-import-coupons.php
CHANGED
File without changes
|
includes/views/import/html-wf-import-orders.php
CHANGED
File without changes
|
includes/views/market.php
CHANGED
File without changes
|
languages/wf_order_import_export-de_DE.mo
CHANGED
File without changes
|
languages/wf_order_import_export-de_DE.po
CHANGED
File without changes
|
languages/wf_order_import_export-fr_FR.mo
CHANGED
File without changes
|
languages/wf_order_import_export-fr_FR.po
CHANGED
File without changes
|
license.txt
CHANGED
File without changes
|
order-import-export-for-woocommerce.php
CHANGED
@@ -6,9 +6,9 @@ Plugin URI: https://wordpress.org/plugins/order-import-export-for-woocommerce/
|
|
6 |
Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
|
7 |
Author: WebToffee
|
8 |
Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
|
9 |
-
Version: 1.6.
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
-
WC tested up to: 4.
|
12 |
License: GPLv3
|
13 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
14 |
*/
|
@@ -24,7 +24,7 @@ define("WF_CPN_IMP_EXP_ID", "wf_cpn_imp_exp");
|
|
24 |
define("wf_coupon_csv_im_ex", "wf_coupon_csv_im_ex");
|
25 |
|
26 |
if (!defined('WF_ORDERIMPEXP_CURRENT_VERSION')) {
|
27 |
-
define("WF_ORDERIMPEXP_CURRENT_VERSION", "1.6.
|
28 |
}
|
29 |
|
30 |
/**
|
6 |
Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
|
7 |
Author: WebToffee
|
8 |
Author URI: https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/
|
9 |
+
Version: 1.6.7
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
+
WC tested up to: 4.5.0
|
12 |
License: GPLv3
|
13 |
License URI: https://www.gnu.org/licenses/gpl-3.0.html
|
14 |
*/
|
24 |
define("wf_coupon_csv_im_ex", "wf_coupon_csv_im_ex");
|
25 |
|
26 |
if (!defined('WF_ORDERIMPEXP_CURRENT_VERSION')) {
|
27 |
+
define("WF_ORDERIMPEXP_CURRENT_VERSION", "1.6.7");
|
28 |
}
|
29 |
|
30 |
/**
|
readme.txt
CHANGED
@@ -3,9 +3,9 @@ Contributors: webtoffee
|
|
3 |
Donate link: https://www.webtoffee.com/plugins/
|
4 |
Tags: order export, order import, woocommerce export orders, woocommerce import orders, export orders, import orders, order, export, import, woocommerce, csv, coupon, coupon export, coupon import, woocommerce export coupon , woocommerce import coupon , export coupons, import coupons, woocommerce coupon generator
|
5 |
Requires at least: 3.0.1
|
6 |
-
Tested up to: 5.
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 1.6.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -22,7 +22,7 @@ This is a perfect tool if you are migrating an existing shop on a different eCom
|
|
22 |
🔸 Import Coupons from CSV file.
|
23 |
🔸 Export Subscription Orders to CSV file(Premium Feature).
|
24 |
🔸 Import Subscription Orders from CSV file(Premium Feature).
|
25 |
-
🔸 Tested OK with WooCommerce 4.
|
26 |
🔸 Tested OK with PHP 7.3.5
|
27 |
|
28 |
<blockquote>
|
@@ -118,6 +118,9 @@ By default, admin and store manager are given access to export orders from your
|
|
118 |
|
119 |
== Changelog ==
|
120 |
|
|
|
|
|
|
|
121 |
= 1.6.6 =
|
122 |
* [Improvement] import date format.
|
123 |
* Tested OK with WC 4.2.0 and WP 5.4.2
|
@@ -296,6 +299,6 @@ By default, admin and store manager are given access to export orders from your
|
|
296 |
|
297 |
== Upgrade Notice ==
|
298 |
|
299 |
-
= 1.6.
|
300 |
-
*
|
301 |
-
* Tested OK with WC 4.
|
3 |
Donate link: https://www.webtoffee.com/plugins/
|
4 |
Tags: order export, order import, woocommerce export orders, woocommerce import orders, export orders, import orders, order, export, import, woocommerce, csv, coupon, coupon export, coupon import, woocommerce export coupon , woocommerce import coupon , export coupons, import coupons, woocommerce coupon generator
|
5 |
Requires at least: 3.0.1
|
6 |
+
Tested up to: 5.5
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 1.6.7
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
22 |
🔸 Import Coupons from CSV file.
|
23 |
🔸 Export Subscription Orders to CSV file(Premium Feature).
|
24 |
🔸 Import Subscription Orders from CSV file(Premium Feature).
|
25 |
+
🔸 Tested OK with WooCommerce 4.5.0
|
26 |
🔸 Tested OK with PHP 7.3.5
|
27 |
|
28 |
<blockquote>
|
118 |
|
119 |
== Changelog ==
|
120 |
|
121 |
+
= 1.6.7 =
|
122 |
+
* Bug Fix:- Access denied message when importing orders.
|
123 |
+
* Tested OK with WC 4.5.0 and WP 5.5.1
|
124 |
= 1.6.6 =
|
125 |
* [Improvement] import date format.
|
126 |
* Tested OK with WC 4.2.0 and WP 5.4.2
|
299 |
|
300 |
== Upgrade Notice ==
|
301 |
|
302 |
+
= 1.6.7 =
|
303 |
+
* Bug Fix:- Access denied message when importing orders.
|
304 |
+
* Tested OK with WC 4.5.0 and WP 5.5.1
|
styles/wf-style.css
CHANGED
File without changes
|