Version Description
- Updated customer linking with order details.
Download this release
Release Info
Developer | hikeforce |
Plugin | Order Export & Order Import for WooCommerce |
Version | 1.0.7 |
Comparing to | |
See all releases |
Code changes from version 1.0.6 to 1.0.7
- includes/class-wf-orderimpexpcsv-admin-screen.php +0 -3
- includes/exporter/class-wf-orderimpexpcsv-exporter.php +1 -0
- includes/exporter/data/data-wf-post-columns.php +1 -0
- includes/importer/class-wf-csv-parser.php +1 -0
- includes/importer/data/data-wf-reserved-fields-pair.php +1 -0
- order-import-export.php +1 -20
- readme.txt +5 -1
includes/class-wf-orderimpexpcsv-admin-screen.php
CHANGED
@@ -50,9 +50,6 @@ class WF_OrderImpExpCsv_Admin_Screen {
|
|
50 |
$tab = 'export';
|
51 |
}
|
52 |
}
|
53 |
-
if (!empty($_POST['dismiss'])) {
|
54 |
-
update_option("dismiss_rateus", 1);
|
55 |
-
}
|
56 |
include( 'views/html-wf-admin-screen.php' );
|
57 |
}
|
58 |
|
50 |
$tab = 'export';
|
51 |
}
|
52 |
}
|
|
|
|
|
|
|
53 |
include( 'views/html-wf-admin-screen.php' );
|
54 |
}
|
55 |
|
includes/exporter/class-wf-orderimpexpcsv-exporter.php
CHANGED
@@ -232,6 +232,7 @@ class WF_OrderImpExpCsv_Exporter {
|
|
232 |
'payment_method' => $order->payment_method,
|
233 |
'shipping_method' => $order->get_shipping_method(),
|
234 |
'customer_id' => $order->get_user_id(),
|
|
|
235 |
'billing_first_name' => $order->billing_first_name,
|
236 |
'billing_last_name' => $order->billing_last_name,
|
237 |
'billing_company' => $order->billing_company,
|
232 |
'payment_method' => $order->payment_method,
|
233 |
'shipping_method' => $order->get_shipping_method(),
|
234 |
'customer_id' => $order->get_user_id(),
|
235 |
+
'customer_user' => $order->get_user_id(),
|
236 |
'billing_first_name' => $order->billing_first_name,
|
237 |
'billing_last_name' => $order->billing_last_name,
|
238 |
'billing_company' => $order->billing_company,
|
includes/exporter/data/data-wf-post-columns.php
CHANGED
@@ -23,6 +23,7 @@ return apply_filters('woocommerce_csv_order_post_columns', array(
|
|
23 |
'payment_method' => 'payment_method',
|
24 |
'shipping_method' => 'shipping_method',
|
25 |
'customer_id' => 'customer_id',
|
|
|
26 |
'billing_first_name' => 'billing_first_name',
|
27 |
'billing_last_name' => 'billing_last_name',
|
28 |
'billing_company' => 'billing_company',
|
23 |
'payment_method' => 'payment_method',
|
24 |
'shipping_method' => 'shipping_method',
|
25 |
'customer_id' => 'customer_id',
|
26 |
+
'customer_user' => 'customer_user',
|
27 |
'billing_first_name' => 'billing_first_name',
|
28 |
'billing_last_name' => 'billing_last_name',
|
29 |
'billing_company' => 'billing_company',
|
includes/importer/class-wf-csv-parser.php
CHANGED
@@ -37,6 +37,7 @@ class WF_CSV_Parser {
|
|
37 |
"discount_total",
|
38 |
"refunded_total",
|
39 |
|
|
|
40 |
"cart_discount",
|
41 |
"order_discount",
|
42 |
"order_total",
|
37 |
"discount_total",
|
38 |
"refunded_total",
|
39 |
|
40 |
+
"customer_user",
|
41 |
"cart_discount",
|
42 |
"order_discount",
|
43 |
"order_total",
|
includes/importer/data/data-wf-reserved-fields-pair.php
CHANGED
@@ -22,6 +22,7 @@ return array(
|
|
22 |
'payment_method' => 'payment_method | payment_method',
|
23 |
'shipping_method' => 'shipping_method | shipping_method',
|
24 |
'customer_id' => 'customer_id | customer_id',
|
|
|
25 |
'billing_first_name' => 'billing_first_name | billing_first_name',
|
26 |
'billing_last_name' => 'billing_last_name | billing_last_name',
|
27 |
'billing_company' => 'billing_company | billing_company',
|
22 |
'payment_method' => 'payment_method | payment_method',
|
23 |
'shipping_method' => 'shipping_method | shipping_method',
|
24 |
'customer_id' => 'customer_id | customer_id',
|
25 |
+
'customer_user' => 'customer_user | Customer id ( if not provided order will be created as Guest)',
|
26 |
'billing_first_name' => 'billing_first_name | billing_first_name',
|
27 |
'billing_last_name' => 'billing_last_name | billing_last_name',
|
28 |
'billing_company' => 'billing_company | billing_company',
|
order-import-export.php
CHANGED
@@ -6,7 +6,7 @@ Plugin URI: http://www.xadapter.com/product/order-import-export-plugin-for-wooco
|
|
6 |
Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
|
7 |
Author: HikeForce
|
8 |
Author URI: http://www.xadapter.com/vendor/hikeforce/
|
9 |
-
Version: 1.0.
|
10 |
Text Domain: wf_order_import_export
|
11 |
*/
|
12 |
|
@@ -35,9 +35,6 @@ if (in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', ge
|
|
35 |
public function __construct() {
|
36 |
define( 'WF_OrderImpExpCsv_FILE', __FILE__ );
|
37 |
|
38 |
-
if ( is_admin() ) {
|
39 |
-
add_action( 'admin_notices', array( $this, 'wf_rate_admin_notice'), 16);
|
40 |
-
}
|
41 |
|
42 |
add_filter( 'woocommerce_screen_ids', array( $this, 'woocommerce_screen_ids' ) );
|
43 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'wf_plugin_action_links' ) );
|
@@ -64,22 +61,6 @@ if (in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', ge
|
|
64 |
return array_merge( $plugin_links, $links );
|
65 |
}
|
66 |
|
67 |
-
function wf_rate_admin_notice() {
|
68 |
-
global $pagenow;
|
69 |
-
if(isset($_GET['page']) && $_GET['page'] === 'wf_woocommerce_order_im_ex' && 'admin.php' === $pagenow){
|
70 |
-
if (!get_option('dismiss_rateus')){
|
71 |
-
?>
|
72 |
-
<div id="dismiss_rateus" class="updated settings-error notice is-dismissible">
|
73 |
-
<p><a target="_blank" href="https://wordpress.org/support/view/plugin-reviews/order-import-export-for-woocommerce#postform">
|
74 |
-
<?php _e('Did this plugin work for you? Please rate and contact us at <i>info@xadapter.com</i> to get $10 off on your next purchase.', 'wf_order_import_export'); ?></a>
|
75 |
-
<a target="_blank" class="button-primary" href="https://wordpress.org/support/view/plugin-reviews/order-import-export-for-woocommerce#postform" ><?php _e('Review Now!' , 'wf_order_import_export'); ?></a>
|
76 |
-
<a target="_blank" class="rate-star" href="https://wordpress.org/support/view/plugin-reviews/order-import-export-for-woocommerce#postform"></a>
|
77 |
-
</p>
|
78 |
-
</div>
|
79 |
-
<?php
|
80 |
-
}
|
81 |
-
}
|
82 |
-
}
|
83 |
/**
|
84 |
* Add screen ID
|
85 |
*/
|
6 |
Description: Export and Import Order detail including line items, From and To your WooCommerce Store.
|
7 |
Author: HikeForce
|
8 |
Author URI: http://www.xadapter.com/vendor/hikeforce/
|
9 |
+
Version: 1.0.7
|
10 |
Text Domain: wf_order_import_export
|
11 |
*/
|
12 |
|
35 |
public function __construct() {
|
36 |
define( 'WF_OrderImpExpCsv_FILE', __FILE__ );
|
37 |
|
|
|
|
|
|
|
38 |
|
39 |
add_filter( 'woocommerce_screen_ids', array( $this, 'woocommerce_screen_ids' ) );
|
40 |
add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), array( $this, 'wf_plugin_action_links' ) );
|
61 |
return array_merge( $plugin_links, $links );
|
62 |
}
|
63 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64 |
/**
|
65 |
* Add screen ID
|
66 |
*/
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: woocommerce export orders, woocommerce import orders, woocommerce export import orders, export woocommerce orders with line item details
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.6
|
7 |
-
Stable tag: 1.0.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -71,6 +71,8 @@ Yes. You can import or export order line item details.
|
|
71 |
3. Exported sample order Screen
|
72 |
|
73 |
== Changelog ==
|
|
|
|
|
74 |
= 1.0.6 =
|
75 |
* CSV Parsing improvements.
|
76 |
= 1.0.5 =
|
@@ -87,6 +89,8 @@ Yes. You can import or export order line item details.
|
|
87 |
* Export /Import WooCommerce Orders.
|
88 |
|
89 |
== Upgrade Notice ==
|
|
|
|
|
90 |
= 1.0.6 =
|
91 |
* CSV Parsing improvements.
|
92 |
= 1.0.5 =
|
4 |
Tags: woocommerce export orders, woocommerce import orders, woocommerce export import orders, export woocommerce orders with line item details
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 4.6
|
7 |
+
Stable tag: 1.0.7
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
71 |
3. Exported sample order Screen
|
72 |
|
73 |
== Changelog ==
|
74 |
+
= 1.0.7 =
|
75 |
+
* Updated customer linking with order details.
|
76 |
= 1.0.6 =
|
77 |
* CSV Parsing improvements.
|
78 |
= 1.0.5 =
|
89 |
* Export /Import WooCommerce Orders.
|
90 |
|
91 |
== Upgrade Notice ==
|
92 |
+
= 1.0.7 =
|
93 |
+
* Updated customer linking with order details.
|
94 |
= 1.0.6 =
|
95 |
* CSV Parsing improvements.
|
96 |
= 1.0.5 =
|