Order Export & Order Import for WooCommerce - Version 1.5.3

Version Description

  • Bug fix:Error on fetching Refund amount.
Download this release

Release Info

Developer webtoffee
Plugin Icon 128x128 Order Export & Order Import for WooCommerce
Version 1.5.3
Comparing to
See all releases

Code changes from version 1.5.2 to 1.5.3

Files changed (57) hide show
  1. Sample_Coupon.csv +0 -0
  2. Sample_Order.csv +0 -0
  3. Sample_Subscription.csv +0 -0
  4. images/Order-Import-Export-for-WooCommerce-Image.png +0 -0
  5. images/calendar.png +0 -0
  6. images/csv.png +0 -0
  7. images/documentation.png +0 -0
  8. images/storefrog.png +0 -0
  9. images/wf-ajax-loader.gif +0 -0
  10. images/wf-failed.png +0 -0
  11. images/wf-import.png +0 -0
  12. images/wf-notice.png +0 -0
  13. images/wf-success.png +0 -0
  14. includes/class-wf-cpnimpexpcsv-admin-screen.php +0 -0
  15. includes/class-wf-cpnimpexpcsv-ajax-handler.php +0 -0
  16. includes/class-wf-cpnimpexpcsv-system-status-tools.php +0 -0
  17. includes/class-wf-orderimpexp-plugin-uninstall-feedback.php +0 -0
  18. includes/class-wf-orderimpexpcsv-admin-screen.php +0 -0
  19. includes/class-wf-orderimpexpcsv-ajax-handler.php +0 -0
  20. includes/class-wf-orderimpexpcsv-system-status-tools.php +0 -0
  21. includes/exporter/class-wf-cpnimpexpcsv-exporter.php +0 -0
  22. includes/exporter/class-wf-orderimpexpcsv-exporter.php +16 -6
  23. includes/exporter/data/data-wf-post-columns-coupon.php +0 -0
  24. includes/exporter/data/data-wf-post-columns.php +0 -0
  25. includes/importer/class-wf-cpnimpexpcsv-coupon-import.php +0 -0
  26. includes/importer/class-wf-cpnimpexpcsv-importer.php +0 -0
  27. includes/importer/class-wf-csv-parser-coupon.php +0 -0
  28. includes/importer/class-wf-csv-parser.php +0 -0
  29. includes/importer/class-wf-orderimpexpcsv-importer.php +0 -0
  30. includes/importer/class-wf-orderimpexpcsv-order-import.php +0 -0
  31. includes/importer/data-coupon/data-wf-post-defaults.php +0 -0
  32. includes/importer/data-coupon/data-wf-postmeta-allowed.php +0 -0
  33. includes/importer/data-coupon/data-wf-postmeta-defaults.php +0 -0
  34. includes/importer/data-coupon/data-wf-reserved-fields-pair.php +0 -0
  35. includes/importer/data-coupon/data-wf-reserved-fields.php +0 -0
  36. includes/importer/data/data-wf-reserved-fields-pair.php +0 -0
  37. includes/importer/views-coupon/html-wf-import-greeting.php +0 -0
  38. includes/importer/views-coupon/html-wf-import-options.php +0 -0
  39. includes/importer/views/html-wf-import-greeting.php +0 -0
  40. includes/importer/views/html-wf-import-options.php +0 -0
  41. includes/settings/class-wf-orderimpexpcsv-settings.php +0 -0
  42. includes/views/export/html-wf-export-coupons.php +0 -0
  43. includes/views/export/html-wf-export-orders.php +0 -0
  44. includes/views/html-wf-admin-screen.php +0 -0
  45. includes/views/html-wf-getting-started-subscription.php +0 -0
  46. includes/views/html-wf-help-guide.php +0 -0
  47. includes/views/import/html-wf-import-coupons.php +0 -0
  48. includes/views/import/html-wf-import-orders.php +0 -0
  49. includes/views/market.php +0 -0
  50. languages/wf_order_import_export-de_DE.mo +0 -0
  51. languages/wf_order_import_export-de_DE.po +0 -0
  52. languages/wf_order_import_export-fr_FR.mo +0 -0
  53. languages/wf_order_import_export-fr_FR.po +0 -0
  54. license.txt +0 -0
  55. order-import-export-for-woocommerce.php +2 -2
  56. readme.txt +3 -1
  57. 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
@@ -180,12 +180,22 @@ class WF_OrderImpExpCsv_Exporter {
180
  }
181
 
182
  foreach ($order->get_refunds() as $refunded_items){
183
- $refund_items[] = implode('|', array(
184
- 'amount:' . $refunded_items->get_amount(),
185
- 'reason:' . $refunded_items->get_reason(),
186
- 'date:'. date('Y-m-d H:i:s',strtotime((WC()->version < '2.7.0') ? $refunded_items->date_created : $refunded_items->get_date_created())),
187
- ));
188
- }
 
 
 
 
 
 
 
 
 
 
189
 
190
  if (version_compare(WC_VERSION, '2.7', '<')) {
191
  $order_data = array(
180
  }
181
 
182
  foreach ($order->get_refunds() as $refunded_items){
183
+
184
+ if ((WC()->version < '2.7.0')) {
185
+ $refund_items[] = implode('|', array(
186
+ 'amount:' . $refunded_items->get_refund_amount(),
187
+ 'reason:' . $refunded_items->reason,
188
+ 'date:' . date('Y-m-d H:i:s', strtotime( $refunded_items->date_created )),
189
+ ));
190
+ } else {
191
+ $refund_items[] = implode('|', array(
192
+ 'amount:' . $refunded_items->get_amount(),
193
+ 'reason:' . $refunded_items->get_reason(),
194
+ 'date:' . date('Y-m-d H:i:s', strtotime( $refunded_items->get_date_created())),
195
+ ));
196
+ }
197
+
198
+ }
199
 
200
  if (version_compare(WC_VERSION, '2.7', '<')) {
201
  $order_data = array(
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-coupon-import.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
File without changes
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/settings/class-wf-orderimpexpcsv-settings.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,7 +6,7 @@ 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.5.2
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 3.7.0
12
  License: GPLv3
@@ -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.5.2");
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.5.3
10
  Text Domain: order-import-export-for-woocommerce
11
  WC tested up to: 3.7.0
12
  License: GPLv3
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.5.3");
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 , order, export, import, woocommerce, csv, coupon, coupon export, coupon import, woocommerce export coupon , woocommerce import coupon , export coupons, import coupons,
5
  Requires at least: 3.0.1
6
  Tested up to: 5.2.3
7
- Stable tag: 1.5.2
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
@@ -115,6 +115,8 @@ By default, admin and store manager are given access to export orders from your
115
 
116
  == Changelog ==
117
 
 
 
118
  = 1.5.2 =
119
  * WP 5.2.3 Tested OK.
120
  * Bug fix:'Cannot insert order without order status'.
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,
5
  Requires at least: 3.0.1
6
  Tested up to: 5.2.3
7
+ Stable tag: 1.5.3
8
  License: GPLv3
9
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
10
 
115
 
116
  == Changelog ==
117
 
118
+ = 1.5.3 =
119
+ * Bug fix:Error on fetching Refund amount.
120
  = 1.5.2 =
121
  * WP 5.2.3 Tested OK.
122
  * Bug fix:'Cannot insert order without order status'.
styles/wf-style.css CHANGED
File without changes