Version Description
- Tested OK with WC 3.6.2
- New Feature:- Filters added in order export(offset & limit).
- Order notes optimisation.
- Compatibility with PHP 7.3.5
Download this release
Release Info
Developer | webtoffee |
Plugin | Order Export & Order Import for WooCommerce |
Version | 1.4.5 |
Comparing to | |
See all releases |
Code changes from version 1.4.4 to 1.4.5
- Sample_Coupon.csv +0 -0
- Sample_Order.csv +0 -0
- Sample_Subscription.csv +0 -0
- images/calendar.png +0 -0
- images/storefrog.png +0 -0
- images/wf-ajax-loader.gif +0 -0
- images/wf-import.png +0 -0
- images/wf-notice.png +0 -0
- images/wf-success.png +0 -0
- includes/class-wf-cpnimpexpcsv-ajax-handler.php +0 -0
- includes/class-wf-orderimpexp-plugin-uninstall-feedback.php +0 -0
- includes/class-wf-orderimpexpcsv-ajax-handler.php +0 -0
- includes/exporter/class-wf-cpnimpexpcsv-exporter.php +0 -0
- includes/exporter/class-wf-orderimpexpcsv-exporter.php +14 -1
- 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.php +0 -0
- includes/importer/class-wf-orderimpexpcsv-order-import.php +0 -0
- includes/importer/data-coupon/data-wf-post-defaults.php +0 -0
- includes/importer/data-coupon/data-wf-postmeta-defaults.php +0 -0
- includes/importer/data-coupon/data-wf-reserved-fields.php +0 -0
- includes/importer/views-coupon/html-wf-import-options.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 +21 -1
- includes/views/html-wf-admin-screen.php +0 -0
- includes/views/import/html-wf-import-coupons.php +0 -0
- includes/views/market.php +0 -0
- languages/wf_order_import_export-de_DE.mo +0 -0
- languages/wf_order_import_export-fr_FR.mo +0 -0
- order-import-export-for-woocommerce.php +3 -3
- readme.txt +13 -5
Sample_Coupon.csv
CHANGED
File without changes
|
Sample_Order.csv
CHANGED
File without changes
|
Sample_Subscription.csv
CHANGED
File without changes
|
images/calendar.png
CHANGED
File without changes
|
images/storefrog.png
CHANGED
File without changes
|
images/wf-ajax-loader.gif
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-ajax-handler.php
CHANGED
File without changes
|
includes/class-wf-orderimpexp-plugin-uninstall-feedback.php
CHANGED
File without changes
|
includes/class-wf-orderimpexpcsv-ajax-handler.php
CHANGED
File without changes
|
includes/exporter/class-wf-cpnimpexpcsv-exporter.php
CHANGED
File without changes
|
includes/exporter/class-wf-orderimpexpcsv-exporter.php
CHANGED
@@ -306,7 +306,7 @@ class WF_OrderImpExpCsv_Exporter {
|
|
306 |
'fee_items' => implode(';', $fee_items),
|
307 |
'tax_items' => implode(';', $tax_items),
|
308 |
'coupon_items' => implode(';', $coupon_items),
|
309 |
-
'order_notes' => implode('||', WF_OrderImpExpCsv_Exporter::get_order_notes($order)),
|
310 |
'download_permissions' => $order->is_download_permitted() ? $order->is_download_permitted() : 0,
|
311 |
);
|
312 |
|
@@ -363,5 +363,18 @@ class WF_OrderImpExpCsv_Exporter {
|
|
363 |
}
|
364 |
return $order_notes;
|
365 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
366 |
|
367 |
}
|
306 |
'fee_items' => implode(';', $fee_items),
|
307 |
'tax_items' => implode(';', $tax_items),
|
308 |
'coupon_items' => implode(';', $coupon_items),
|
309 |
+
'order_notes' => implode('||', (defined('WC_VERSION') && (WC_VERSION >= 3.2)) ? WF_OrderImpExpCsv_Exporter::get_order_notes_new($order) : WF_OrderImpExpCsv_Exporter::get_order_notes($order)),
|
310 |
'download_permissions' => $order->is_download_permitted() ? $order->is_download_permitted() : 0,
|
311 |
);
|
312 |
|
363 |
}
|
364 |
return $order_notes;
|
365 |
}
|
366 |
+
|
367 |
+
public static function get_order_notes_new($order) {
|
368 |
+
$notes = wc_get_order_notes(array('order_id' => $order->get_id(),'order_by' => 'date_created','order' => 'ASC'));
|
369 |
+
$order_notes = array();
|
370 |
+
foreach ($notes as $note) {
|
371 |
+
$order_notes[] = implode('|', array(
|
372 |
+
'content:' .str_replace(array("\r", "\n"), ' ', $note->content),
|
373 |
+
'date:'.$note->date_created->date('Y-m-d H:i:s'),
|
374 |
+
'customer:'.$note->customer_note
|
375 |
+
));
|
376 |
+
}
|
377 |
+
return $order_notes;
|
378 |
+
}
|
379 |
|
380 |
}
|
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.php
CHANGED
File without changes
|
includes/importer/class-wf-orderimpexpcsv-order-import.php
CHANGED
File without changes
|
includes/importer/data-coupon/data-wf-post-defaults.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.php
CHANGED
File without changes
|
includes/importer/views-coupon/html-wf-import-options.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
@@ -1,7 +1,27 @@
|
|
1 |
<div class="tool-box bg-white p-20p">
|
2 |
-
<h3 class="title"><?php _e('Export
|
3 |
<p><?php _e('Export and download your orders in CSV format. This file can be used to import orders back into your Woocommerce shop.', 'order-import-export-for-woocommerce'); ?></p>
|
4 |
<form action="<?php echo admin_url('admin.php?page=wf_woocommerce_order_im_ex&action=export'); ?>" method="post">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5 |
<p class="submit"><input type="submit" class="button button-primary" value="<?php _e('Export Orders', 'order-import-export-for-woocommerce'); ?>" /></p>
|
6 |
</form>
|
7 |
</div>
|
1 |
<div class="tool-box bg-white p-20p">
|
2 |
+
<h3 class="title"><?php _e('Export Settings:', 'order-import-export-for-woocommerce'); ?></h3>
|
3 |
<p><?php _e('Export and download your orders in CSV format. This file can be used to import orders back into your Woocommerce shop.', 'order-import-export-for-woocommerce'); ?></p>
|
4 |
<form action="<?php echo admin_url('admin.php?page=wf_woocommerce_order_im_ex&action=export'); ?>" method="post">
|
5 |
+
<table class="form-table">
|
6 |
+
<tr>
|
7 |
+
<th>
|
8 |
+
<label for="ord_offset"><?php _e('Offset', 'order-import-export-for-woocommerce'); ?></label>
|
9 |
+
</th>
|
10 |
+
<td>
|
11 |
+
<input type="text" name="offset" id="ord_offset" placeholder="0" class="input-text" />
|
12 |
+
<p style="font-size: 12px"><?php _e('Number of orders to skip before exporting. If the value is 0 no orders are skipped. If value is 100, orders from order id 101 will be exported.', 'order-import-export-for-woocommerce'); ?></p>
|
13 |
+
</td>
|
14 |
+
</tr>
|
15 |
+
<tr>
|
16 |
+
<th>
|
17 |
+
<label for="ord_limit"><?php _e('Limit', 'order-import-export-for-woocommerce'); ?></label>
|
18 |
+
</th>
|
19 |
+
<td>
|
20 |
+
<input type="text" name="limit" id="ord_limit" placeholder="<?php _e('Unlimited', 'order-import-export-for-woocommerce'); ?>" class="input-text" />
|
21 |
+
<p style="font-size: 12px"><?php _e('Number of orders to export. If no value is given all orders will be exported. This is useful if you have large number of orders and want to export partial list of orders.', 'order-import-export-for-woocommerce'); ?></p>
|
22 |
+
</td>
|
23 |
+
</tr>
|
24 |
+
</table>
|
25 |
<p class="submit"><input type="submit" class="button button-primary" value="<?php _e('Export Orders', 'order-import-export-for-woocommerce'); ?>" /></p>
|
26 |
</form>
|
27 |
</div>
|
includes/views/html-wf-admin-screen.php
CHANGED
File without changes
|
includes/views/import/html-wf-import-coupons.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-fr_FR.mo
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.4.
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
-
WC tested up to: 3.6.
|
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.4.
|
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.4.5
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
+
WC tested up to: 3.6.2
|
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.4.5");
|
28 |
}
|
29 |
|
30 |
/**
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: https://www.webtoffee.com/plugins/
|
|
4 |
Tags: Order Export, Order Import, WooCommerce Export Orders , WooCommerce Import Orders , Export Orders, Import Orders
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.1.1
|
7 |
-
Stable tag: 1.4.
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
@@ -21,7 +21,8 @@ This is perfect tool if you are migrating an existing shop on a different eComme
|
|
21 |
🔸 Import Coupons from CSV file.
|
22 |
🔸 Export Subscription Orders to CSV file(Premium Feature).
|
23 |
🔸 Import Subscription Orders from CSV file(Premium Feature).
|
24 |
-
🔸 Tested OK with WooCommerce 3.6.
|
|
|
25 |
|
26 |
<blockquote>
|
27 |
|
@@ -110,6 +111,11 @@ Yes. You can import or export order line item details.
|
|
110 |
|
111 |
== Changelog ==
|
112 |
|
|
|
|
|
|
|
|
|
|
|
113 |
= 1.4.4 =
|
114 |
* Tested OK with WC 3.6.1 and WP 5.1.1.
|
115 |
* Bug Fix and Improvements: Tax calculation.
|
@@ -224,6 +230,8 @@ Yes. You can import or export order line item details.
|
|
224 |
* Export /Import WooCommerce Orders.
|
225 |
|
226 |
== Upgrade Notice ==
|
227 |
-
= 1.4.
|
228 |
-
* Tested OK with WC 3.6.
|
229 |
-
*
|
|
|
|
4 |
Tags: Order Export, Order Import, WooCommerce Export Orders , WooCommerce Import Orders , Export Orders, Import Orders
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.1.1
|
7 |
+
Stable tag: 1.4.5
|
8 |
License: GPLv3
|
9 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
10 |
|
21 |
🔸 Import Coupons from CSV file.
|
22 |
🔸 Export Subscription Orders to CSV file(Premium Feature).
|
23 |
🔸 Import Subscription Orders from CSV file(Premium Feature).
|
24 |
+
🔸 Tested OK with WooCommerce 3.6.2
|
25 |
+
🔸 Tested OK with PHP 7.3.5
|
26 |
|
27 |
<blockquote>
|
28 |
|
111 |
|
112 |
== Changelog ==
|
113 |
|
114 |
+
= 1.4.5 =
|
115 |
+
* Tested OK with WC 3.6.2
|
116 |
+
* New Feature:- Filters added in order export(offset & limit).
|
117 |
+
* Order notes optimisation.
|
118 |
+
* Compatibility with PHP 7.3.5
|
119 |
= 1.4.4 =
|
120 |
* Tested OK with WC 3.6.1 and WP 5.1.1.
|
121 |
* Bug Fix and Improvements: Tax calculation.
|
230 |
* Export /Import WooCommerce Orders.
|
231 |
|
232 |
== Upgrade Notice ==
|
233 |
+
= 1.4.5 =
|
234 |
+
* Tested OK with WC 3.6.2
|
235 |
+
* New Feature:- Filters added in order export(offset & limit).
|
236 |
+
* Order notes optimisation.
|
237 |
+
* Compatibility with PHP 7.3.5
|