Order Export & Order Import for WooCommerce - Version 1.6.8

Version Description

  • Tested OK with WC 4.5.2
  • [Improvement] import date format.
Download this release

Release Info

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

Code changes from version 1.6.7 to 1.6.8

Files changed (55) 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/data/data-wf-post-columns-coupon.php +0 -0
  23. includes/exporter/data/data-wf-post-columns.php +0 -0
  24. includes/importer/class-wf-cpnimpexpcsv-coupon-import.php +3 -3
  25. includes/importer/class-wf-cpnimpexpcsv-importer.php +0 -0
  26. includes/importer/class-wf-csv-parser-coupon.php +0 -0
  27. includes/importer/class-wf-csv-parser.php +2 -1
  28. includes/importer/class-wf-orderimpexpcsv-importer.php +0 -0
  29. includes/importer/class-wf-orderimpexpcsv-order-import.php +3 -3
  30. includes/importer/data-coupon/data-wf-post-defaults.php +0 -0
  31. includes/importer/data-coupon/data-wf-postmeta-allowed.php +0 -0
  32. includes/importer/data-coupon/data-wf-postmeta-defaults.php +0 -0
  33. includes/importer/data-coupon/data-wf-reserved-fields-pair.php +0 -0
  34. includes/importer/data-coupon/data-wf-reserved-fields.php +0 -0
  35. includes/importer/data/data-wf-reserved-fields-pair.php +0 -0
  36. includes/importer/views-coupon/html-wf-import-greeting.php +0 -0
  37. includes/importer/views-coupon/html-wf-import-options.php +0 -0
  38. includes/importer/views/html-wf-import-greeting.php +0 -0
  39. includes/importer/views/html-wf-import-options.php +0 -0
  40. includes/views/export/html-wf-export-coupons.php +0 -0
  41. includes/views/export/html-wf-export-orders.php +0 -0
  42. includes/views/html-wf-admin-screen.php +0 -0
  43. includes/views/html-wf-getting-started-subscription.php +0 -0
  44. includes/views/html-wf-help-guide.php +0 -0
  45. includes/views/import/html-wf-import-coupons.php +0 -0
  46. includes/views/import/html-wf-import-orders.php +0 -0
  47. includes/views/market.php +0 -0
  48. languages/wf_order_import_export-de_DE.mo +0 -0
  49. languages/wf_order_import_export-de_DE.po +0 -0
  50. languages/wf_order_import_export-fr_FR.mo +0 -0
  51. languages/wf_order_import_export-fr_FR.po +0 -0
  52. license.txt +0 -0
  53. order-import-export-for-woocommerce.php +3 -3
  54. readme.txt +8 -5
  55. 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/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
@@ -677,9 +677,9 @@ class WF_CpnImpExpCsv_Coupon_Import extends WP_Importer {
677
  "|" => 0
678
  );
679
 
680
- $handle = fopen($csvFile, "r");
681
- $firstLine = fgets($handle);
682
- fclose($handle);
683
  foreach ($delimiters as $delimiter => &$count) {
684
  $count = count(str_getcsv($firstLine, $delimiter));
685
  }
677
  "|" => 0
678
  );
679
 
680
+ $handle = @fopen($csvFile, "r");
681
+ $firstLine = @fgets($handle);
682
+ @fclose($handle);
683
  foreach ($delimiters as $delimiter => &$count) {
684
  $count = count(str_getcsv($firstLine, $delimiter));
685
  }
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
@@ -267,7 +267,8 @@ class WF_CSV_Parser {
267
  $item['order_date'] = $item['order_date'].' 00:00:00';
268
  }
269
  $date = DateTime::createFromFormat('d/m/Y H:i:s', $item['order_date']);
270
- $item['order_date'] = $date->format('Y-m-d H:i:s');
 
271
  }
272
  $item['date'] = $item['order_date'];
273
  } elseif (isset($item['order_date'])) {
267
  $item['order_date'] = $item['order_date'].' 00:00:00';
268
  }
269
  $date = DateTime::createFromFormat('d/m/Y H:i:s', $item['order_date']);
270
+ if(!empty($date))
271
+ $item['order_date'] = $date->format('Y-m-d H:i:s');
272
  }
273
  $item['date'] = $item['order_date'];
274
  } elseif (isset($item['order_date'])) {
includes/importer/class-wf-orderimpexpcsv-importer.php CHANGED
File without changes
includes/importer/class-wf-orderimpexpcsv-order-import.php CHANGED
@@ -950,9 +950,9 @@ class WF_OrderImpExpCsv_Order_Import extends WP_Importer {
950
  "|" => 0
951
  );
952
 
953
- $handle = fopen($csvFile, "r");
954
- $firstLine = fgets($handle);
955
- fclose($handle);
956
  foreach ($delimiters as $delimiter => &$count) {
957
  $count = count(str_getcsv($firstLine, $delimiter));
958
  }
950
  "|" => 0
951
  );
952
 
953
+ $handle = @fopen($csvFile, "r");
954
+ $firstLine = @fgets($handle);
955
+ @fclose($handle);
956
  foreach ($delimiters as $delimiter => &$count) {
957
  $count = count(str_getcsv($firstLine, $delimiter));
958
  }
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.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,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.7");
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.8
10
  Text Domain: order-import-export-for-woocommerce
11
+ WC tested up to: 4.5.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.6.8");
28
  }
29
 
30
  /**
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: order export, order import, woocommerce export orders, woocommerce import
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,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.5.0
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.7 =
122
  * Bug Fix:- Access denied message when importing orders.
123
  * Tested OK with WC 4.5.0 and WP 5.5.1
@@ -299,6 +302,6 @@ By default, admin and store manager are given access to export orders from your
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
5
  Requires at least: 3.0.1
6
  Tested up to: 5.5
7
  Requires PHP: 5.6
8
+ Stable tag: 1.6.8
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
22
  &#128312; Import Coupons from CSV file.
23
  &#128312; Export Subscription Orders to CSV file(Premium Feature).
24
  &#128312; Import Subscription Orders from CSV file(Premium Feature).
25
+ &#128312; Tested OK with WooCommerce 4.5.2
26
  &#128312; Tested OK with PHP 7.3.5
27
 
28
  <blockquote>
118
 
119
  == Changelog ==
120
 
121
+ = 1.6.8 =
122
+ * Tested OK with WC 4.5.2
123
+ * [Improvement] import date format.
124
  = 1.6.7 =
125
  * Bug Fix:- Access denied message when importing orders.
126
  * Tested OK with WC 4.5.0 and WP 5.5.1
302
 
303
  == Upgrade Notice ==
304
 
305
+ = 1.6.8 =
306
+ * Tested OK with WC 4.5.2
307
+ * [Improvement] import date format.
styles/wf-style.css CHANGED
File without changes