Order Export & Order Import for WooCommerce - Version 2.2.1

Version Description

  • Bugfix: Download link in imported orders not working.
Download this release

Release Info

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

Code changes from version 2.2.0 to 2.2.1

admin/class-wt-import-export-for-woo-admin.php CHANGED
@@ -127,37 +127,44 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
127
  'order' => array(
128
  'url' => "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_O_IEW_VERSION,
129
  'name' => __('Order, Coupon, Subscription Export Import for WooCommerce'),
130
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/order-ie.svg'
 
131
  ),
132
  'coupon' => array(
133
  'url' => "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_O_IEW_VERSION,
134
  'name' => __('Order, Coupon, Subscription Export Import for WooCommerce'),
135
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/order-ie.svg'
 
136
  ),
137
  'product' => array(
138
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
139
  'name' => __('Product Import Export Plugin For WooCommerce'),
140
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg'
 
141
  ),
142
  'product_review' => array(
143
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
144
  'name' => __('Product Import Export Plugin For WooCommerce'),
145
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg'
 
146
  ),
147
  'product_categories' => array(
148
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
149
  'name' => __('Product Import Export Plugin For WooCommerce'),
150
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg'
 
151
  ),
152
  'product_tags' => array(
153
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
154
  'name' => __('Product Import Export Plugin For WooCommerce'),
155
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg'
 
156
  ),
157
  'user' => array(
158
  'url' => "https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=User_Import_Export&utm_content=" . WT_O_IEW_VERSION,
159
  'name' => __('WordPress Users & WooCommerce Customers Import Export'),
160
- 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/user-ie.svg'
 
161
  )
162
  )
163
  );
@@ -267,8 +274,7 @@ class Wt_Import_Export_For_Woo_Admin_Basic {
267
  $new_advanced_settings[$field_name]=Wt_Iew_Sh::sanitize_data($_POST[$field_name], $validation_key, $validation_rule);
268
  }
269
  }
270
-
271
- $checkbox_items = array( 'wt_iew_enable_import_log' );
272
  foreach ( $checkbox_items as $checkbox_item ){
273
  $new_advanced_settings[$checkbox_item] = isset( $new_advanced_settings[$checkbox_item] ) ? $new_advanced_settings[$checkbox_item] : 0;
274
  }
127
  'order' => array(
128
  'url' => "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_O_IEW_VERSION,
129
  'name' => __('Order, Coupon, Subscription Export Import for WooCommerce'),
130
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/order-ie.svg',
131
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2021/03/Order_SampleCSV.csv"
132
  ),
133
  'coupon' => array(
134
  'url' => "https://www.webtoffee.com/product/order-import-export-plugin-for-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Order_Import_Export&utm_content=" . WT_O_IEW_VERSION,
135
  'name' => __('Order, Coupon, Subscription Export Import for WooCommerce'),
136
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/order-ie.svg',
137
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2016/09/Coupon_Sample_CSV.csv"
138
  ),
139
  'product' => array(
140
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
141
  'name' => __('Product Import Export Plugin For WooCommerce'),
142
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg',
143
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2021/03/Product_SampleCSV.csv"
144
  ),
145
  'product_review' => array(
146
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
147
  'name' => __('Product Import Export Plugin For WooCommerce'),
148
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg',
149
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2021/04/product_review_SampleCSV.csv"
150
  ),
151
  'product_categories' => array(
152
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
153
  'name' => __('Product Import Export Plugin For WooCommerce'),
154
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg',
155
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2021/09/Sample-CSV-of-product-categories.csv"
156
  ),
157
  'product_tags' => array(
158
  'url' => "https://www.webtoffee.com/product/product-import-export-woocommerce/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=Product_Import_Export&utm_content=" . WT_O_IEW_VERSION,
159
  'name' => __('Product Import Export Plugin For WooCommerce'),
160
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/product-ie.svg',
161
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2021/09/Sample-CSV-with-product-tags.csv"
162
  ),
163
  'user' => array(
164
  'url' => "https://www.webtoffee.com/product/wordpress-users-woocommerce-customers-import-export/?utm_source=free_plugin_revamp&utm_medium=basic_revamp&utm_campaign=User_Import_Export&utm_content=" . WT_O_IEW_VERSION,
165
  'name' => __('WordPress Users & WooCommerce Customers Import Export'),
166
+ 'icon_url' => WT_O_IEW_PLUGIN_URL.'assets/images/gopro/user-ie.svg',
167
+ 'sample_csv_url' => "https://www.webtoffee.com/wp-content/uploads/2020/10/Sample_Users.csv"
168
  )
169
  )
170
  );
274
  $new_advanced_settings[$field_name]=Wt_Iew_Sh::sanitize_data($_POST[$field_name], $validation_key, $validation_rule);
275
  }
276
  }
277
+ $checkbox_items = array( 'wt_iew_enable_import_log', 'wt_iew_enable_history_auto_delete' );
 
278
  foreach ( $checkbox_items as $checkbox_item ){
279
  $new_advanced_settings[$checkbox_item] = isset( $new_advanced_settings[$checkbox_item] ) ? $new_advanced_settings[$checkbox_item] : 0;
280
  }
admin/css/wt-import-export-for-woo-admin.css CHANGED
@@ -153,12 +153,25 @@
153
  .wt-iew_conditional_help_text{ display:none;}
154
  .wt-iew-form-table tr th:first-child{ width:40% !important; padding:10px 15px 10px 0; vertical-align:top; }
155
  .wt-iew-form-table tr th:first-child label{ margin-top:5px; display:inline-block; }
156
- .wt-iew-form-table tr td:nth-child(2){ width:40%; padding:10px 5px 10px 0; }
157
  .wt-iew-form-table tr td:nth-child(3){ width:35%; }
158
  .wt_form_radio_block, .wt_form_checkbox_block{ display:inline-block; margin-top:8px; }
159
  .wt-iew-tab-container .wp-list-table thead th{ font-weight:bold; }
160
  .wt-iew-exporter-step-btn, .wt-iew-exporter-step-export-btn{ float:right; }
161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
162
  .wt-iew-form-table select.wt_iew_delimiter_preset{ width:70% !important; float:left; }
163
  .wt-iew-form-table input[type="text"].wt_iew_custom_delimiter{ width:25% !important; float:right; }
164
 
@@ -198,7 +211,17 @@
198
  .wt_iew_sort_handle img{ margin-top:5px; color:#ccc; height:15px; opacity:.8; }
199
  .wt_iew_checkbox{ display:inline-block; padding:0px 15px; }
200
  .wt_iew_mapping_field_val{ width:100%; min-height:32px; display:inline-block; background:#fff; padding:5px 5px; box-sizing:border-box; border:solid 1px #ced4da; border-radius:0.25rem; cursor:text; }
201
-
 
 
 
 
 
 
 
 
 
 
202
  .wt-iew-sortable-placeholder td{ height:30px; background:#fff; border-top:dashed 1px #ccc; border-bottom:dashed 1px #ccc; }
203
  .wt-iew-sortable-placeholder td:first-child{ border:dashed 1px #ccc; border-right:none; }
204
  .wt-iew-sortable-placeholder td:last-child{ border:dashed 1px #ccc; border-left:none; }
153
  .wt-iew_conditional_help_text{ display:none;}
154
  .wt-iew-form-table tr th:first-child{ width:40% !important; padding:10px 15px 10px 0; vertical-align:top; }
155
  .wt-iew-form-table tr th:first-child label{ margin-top:5px; display:inline-block; }
156
+ .wt-iew-form-table tr td:nth-child(2){ width:42%; padding:10px 5px 10px 0; }
157
  .wt-iew-form-table tr td:nth-child(3){ width:35%; }
158
  .wt_form_radio_block, .wt_form_checkbox_block{ display:inline-block; margin-top:8px; }
159
  .wt-iew-tab-container .wp-list-table thead th{ font-weight:bold; }
160
  .wt-iew-exporter-step-btn, .wt-iew-exporter-step-export-btn{ float:right; }
161
 
162
+ .wt_iew_export_main .wt-iew-mapping-tb tr td{position: relative;}
163
+ .wt_iew_export_main .wt-iew-mapping-tb tr td:last-child:after {
164
+ content: "\f464";
165
+ font-family: 'dashicons';
166
+ font-size: 18px;
167
+ width: 20px;
168
+ height: 20px;
169
+ color: gray;
170
+ position: absolute;
171
+ top: 10px;
172
+ right: 10px;
173
+ }
174
+
175
  .wt-iew-form-table select.wt_iew_delimiter_preset{ width:70% !important; float:left; }
176
  .wt-iew-form-table input[type="text"].wt_iew_custom_delimiter{ width:25% !important; float:right; }
177
 
211
  .wt_iew_sort_handle img{ margin-top:5px; color:#ccc; height:15px; opacity:.8; }
212
  .wt_iew_checkbox{ display:inline-block; padding:0px 15px; }
213
  .wt_iew_mapping_field_val{ width:100%; min-height:32px; display:inline-block; background:#fff; padding:5px 5px; box-sizing:border-box; border:solid 1px #ced4da; border-radius:0.25rem; cursor:text; }
214
+ span.wt_iew_mapping_field_val::after {
215
+ content: "\f464";
216
+ font-family: 'dashicons';
217
+ font-size: 18px;
218
+ width: 20px;
219
+ height: 20px;
220
+ color: gray;
221
+ float: right;
222
+ top: 10px;
223
+ right: 10px;
224
+ }
225
  .wt-iew-sortable-placeholder td{ height:30px; background:#fff; border-top:dashed 1px #ccc; border-bottom:dashed 1px #ccc; }
226
  .wt-iew-sortable-placeholder td:first-child{ border:dashed 1px #ccc; border-right:none; }
227
  .wt-iew-sortable-placeholder td:last-child{ border:dashed 1px #ccc; border-left:none; }
admin/modules/coupon/coupon.php CHANGED
@@ -407,7 +407,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
407
  $fields['limit']['label']=__('Total number of coupons to export');
408
  $fields['limit']['help_text']=__('Provide the number of coupons you want to export. e.g. Entering 500 with a skip count of 10 will export coupons from 11th to 510th position.');
409
  $fields['offset']['label']=__('Skip first <i>n</i> coupons');
410
- $fields['offset']['help_text']=__('Skips specified number of coupons from the beginning. e.g. Enter 10 to skip first 10 coupons from export.');
411
 
412
  $fields['statuses'] = array(
413
  'label' => __('Coupon status'),
407
  $fields['limit']['label']=__('Total number of coupons to export');
408
  $fields['limit']['help_text']=__('Provide the number of coupons you want to export. e.g. Entering 500 with a skip count of 10 will export coupons from 11th to 510th position.');
409
  $fields['offset']['label']=__('Skip first <i>n</i> coupons');
410
+ $fields['offset']['help_text']=__('Skips specified number of coupons from the beginning of the database. e.g. Enter 10 to skip first 10 coupons from export.');
411
 
412
  $fields['statuses'] = array(
413
  'label' => __('Coupon status'),
admin/modules/export/export.php CHANGED
@@ -243,7 +243,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
243
  'value' => '',
244
  'field_name' => 'offset',
245
  'placeholder' => __('0'),
246
- 'help_text' => __('Specify the number of records that should be skipped from the beginning. e.g. An offset of 10 skips the first 10 records.'),
247
  'type' => 'number',
248
  'attr' => array('step' => 1, 'min' => 0),
249
  'validation_rule' => array('type' => 'absint')
243
  'value' => '',
244
  'field_name' => 'offset',
245
  'placeholder' => __('0'),
246
+ 'help_text' => __('Specify the number of records that should be skipped from the beginning of the database. e.g. An offset of 10 skips the first 10 records.'),
247
  'type' => 'number',
248
  'attr' => array('step' => 1, 'min' => 0),
249
  'validation_rule' => array('type' => 'absint')
admin/modules/history/history.php CHANGED
@@ -208,11 +208,8 @@ class Wt_Import_Export_For_Woo_Basic_History
208
  );
209
  $fields['enable_history_auto_delete']=array(
210
  'label'=>__("Auto delete history"),
211
- 'type'=>'radio',
212
- 'radio_fields'=>array(
213
- 1=>__('Yes'),
214
- 0=>__('No')
215
- ),
216
  'value' =>1,
217
  'field_name'=>'enable_history_auto_delete',
218
  'field_group'=>'advanced_field',
@@ -239,6 +236,7 @@ class Wt_Import_Export_For_Woo_Basic_History
239
  'type'=>'child',
240
  'id'=>'wt_iew_enable_history_auto_delete',
241
  'val'=>1,
 
242
  ),
243
  );
244
 
208
  );
209
  $fields['enable_history_auto_delete']=array(
210
  'label'=>__("Auto delete history"),
211
+ 'type'=>'checkbox',
212
+ 'checkbox_fields' => array( 1 => __( 'Enable' ) ),
 
 
 
213
  'value' =>1,
214
  'field_name'=>'enable_history_auto_delete',
215
  'field_group'=>'advanced_field',
236
  'type'=>'child',
237
  'id'=>'wt_iew_enable_history_auto_delete',
238
  'val'=>1,
239
+ 'chk' => 'true'
240
  ),
241
  );
242
 
admin/modules/import/assets/js/main.js CHANGED
@@ -781,7 +781,8 @@ var wt_iew_basic_import=(function( $ ) {
781
  $('.wt_iew_step_head_post_type_name').html(this.to_import_title);
782
  $('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['url']);
783
  $('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_import]['name']);
784
- $('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_import]['icon_url']);
 
785
  if(this.to_import_title.includes('User'))
786
  $('#user-required-field-message').show();
787
 
781
  $('.wt_iew_step_head_post_type_name').html(this.to_import_title);
782
  $('.wt-ierpro-blue-btn').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['url']);
783
  $('.wt-ier-product-name').html(wt_iew_basic_params.pro_plugins[this.to_import]['name']);
784
+ $('.wt-ierpro-name>img').attr("src", wt_iew_basic_params.pro_plugins[this.to_import]['icon_url']);
785
+ $('#sample-csv-file').attr("href", wt_iew_basic_params.pro_plugins[this.to_import]['sample_csv_url']);
786
  if(this.to_import_title.includes('User'))
787
  $('#user-required-field-message').show();
788
 
admin/modules/import/import.php CHANGED
@@ -118,7 +118,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
118
  $fields['enable_import_log'] = array(
119
  'label' => __("Generate Import log"),
120
  'type' => 'checkbox',
121
- 'checkbox_fields' => array( 1 => __( 'Enable', 'wt-import-export-for-woo' ) ),
122
  'value' => 1,
123
  'field_name' => 'enable_import_log',
124
  'field_group' => 'advanced_field',
@@ -192,7 +192,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
192
 
193
  //prepare file from field type based on remote type adapters
194
  $file_from_field_arr=array(
195
- 'label'=>__("Choose file for Import"),
196
  'type'=>'select',
197
  'tr_class'=>'wt-iew-import-method-options wt-iew-import-method-options-quick wt-iew-import-method-options-new wt-iew-import-method-options-template',
198
  'sele_vals'=>$file_from_arr,
118
  $fields['enable_import_log'] = array(
119
  'label' => __("Generate Import log"),
120
  'type' => 'checkbox',
121
+ 'checkbox_fields' => array( 1 => __( 'Enable' ) ),
122
  'value' => 1,
123
  'field_name' => 'enable_import_log',
124
  'field_group' => 'advanced_field',
192
 
193
  //prepare file from field type based on remote type adapters
194
  $file_from_field_arr=array(
195
+ 'label'=>__("Choose file for Import").' [<a href"#" target="_blank" id="sample-csv-file">'. __('Sample CSV').'</a>]',
196
  'type'=>'select',
197
  'tr_class'=>'wt-iew-import-method-options wt-iew-import-method-options-quick wt-iew-import-method-options-new wt-iew-import-method-options-template',
198
  'sele_vals'=>$file_from_arr,
admin/modules/order/data/data-order-post-columns.php CHANGED
@@ -20,6 +20,7 @@ $base_columns = array(
20
  'discount_total' => 'Discount total',
21
  'order_total' => 'Order total',
22
  //'refunded_total' => 'refunded_total',
 
23
  'order_currency' => 'Order currency',
24
  'payment_method' => 'Payment method',
25
  'payment_method_title' => 'Payment method title',
20
  'discount_total' => 'Discount total',
21
  'order_total' => 'Order total',
22
  //'refunded_total' => 'refunded_total',
23
+ 'order_key' => 'Order key',
24
  'order_currency' => 'Order currency',
25
  'payment_method' => 'Payment method',
26
  'payment_method_title' => 'Payment method title',
admin/modules/order/data/data/data-wf-reserved-fields-pair.php CHANGED
@@ -20,6 +20,7 @@ $base_reserved_columns = array(
20
  'discount_total' => array('title' => 'Discount total', 'description' => 'Discount Total'),
21
  'order_total' => array('title' => 'Order total', 'description' => 'Order Total'),
22
  //'refunded_total' => array('title'=>'refunded_total','description'=>'refunded_total'),
 
23
  'order_currency' => array('title' => 'Order currency', 'description' => 'Order Currency'),
24
  'payment_method' => array('title' => 'Payment method', 'description' => 'Payment Method'),
25
  'payment_method_title' => array('title' => 'Payment method title', 'description' => 'Payment Method Title'),
20
  'discount_total' => array('title' => 'Discount total', 'description' => 'Discount Total'),
21
  'order_total' => array('title' => 'Order total', 'description' => 'Order Total'),
22
  //'refunded_total' => array('title'=>'refunded_total','description'=>'refunded_total'),
23
+ 'order_key' => array('title' => 'order_key', 'description' => 'Order key'),
24
  'order_currency' => array('title' => 'Order currency', 'description' => 'Order Currency'),
25
  'payment_method' => array('title' => 'Payment method', 'description' => 'Payment Method'),
26
  'payment_method_title' => array('title' => 'Payment method title', 'description' => 'Payment Method Title'),
admin/modules/order/export/export.php CHANGED
@@ -159,10 +159,10 @@ class Wt_Import_Export_For_Woo_Basic_Order_Export {
159
  $export_offset = $current_offset;
160
  $batch_count = !empty($form_data['advanced_form_data']['wt_iew_batch_count']) ? $form_data['advanced_form_data']['wt_iew_batch_count'] : Wt_Import_Export_For_Woo_Basic_Common_Helper::get_advanced_settings('default_export_batch');
161
 
162
- $exclude_already_exported = (!empty($form_data['advanced_form_data']['wt_iew_exclude_already_exported']) && $form_data['advanced_form_data']['wt_iew_exclude_already_exported'] == 'Yes') ? true : false;
163
-
164
- $this->export_to_separate_columns = (!empty($form_data['advanced_form_data']['wt_iew_export_to_separate']) && $form_data['advanced_form_data']['wt_iew_export_to_separate'] == 'column') ? true : false;
165
- $this->export_to_separate_rows = (!empty($form_data['advanced_form_data']['wt_iew_export_to_separate']) && $form_data['advanced_form_data']['wt_iew_export_to_separate'] == 'row') ? true : false;
166
 
167
 
168
  $real_offset = ($current_offset + $batch_offset);
@@ -644,6 +644,7 @@ class Wt_Import_Export_For_Woo_Basic_Order_Export {
644
  'order_discount' => (defined('WC_VERSION') && (WC_VERSION >= 2.3)) ? wc_format_decimal($order->get_total_discount(), 2) : wc_format_decimal($order->get_order_discount(), 2),
645
  'discount_total' => wc_format_decimal($order->get_discount_total(), 2),
646
  'order_total' => wc_format_decimal($order->get_total(), 2),
 
647
  'order_currency' => $order->get_order_currency(),
648
  'payment_method' => $order->payment_method,
649
  'payment_method_title' => $order->payment_method_title,
@@ -702,6 +703,7 @@ class Wt_Import_Export_For_Woo_Basic_Order_Export {
702
  'order_discount' => (defined('WC_VERSION') && (WC_VERSION >= 2.3)) ? wc_format_decimal($order->get_total_discount(), 2) : wc_format_decimal($order->get_order_discount(), 2),
703
  'discount_total' => wc_format_decimal($order->get_total_discount(), 2),
704
  'order_total' => wc_format_decimal($order->get_total(), 2),
 
705
  'order_currency' => $order->get_currency(),
706
  'payment_method' => $order->get_payment_method(),
707
  'payment_method_title' => $order->get_payment_method_title(),
@@ -818,6 +820,7 @@ class Wt_Import_Export_For_Woo_Basic_Order_Export {
818
 
819
  public static function hf_get_orders_of_products($products, $export_order_statuses, $export_limit, $export_offset, $end_date, $start_date, $exclude_already_exported, $retun_count = false) {
820
  global $wpdb;
 
821
  $query .= "SELECT DISTINCT po.ID FROM {$wpdb->posts} AS po
822
  LEFT JOIN {$wpdb->postmeta} AS pm ON pm.post_id = po.ID
823
  LEFT JOIN {$wpdb->prefix}woocommerce_order_items AS oi ON oi.order_id = po.ID
@@ -1027,7 +1030,11 @@ class Wt_Import_Export_For_Woo_Basic_Order_Export {
1027
  public static function highest_line_item_count($line_item_keys) {
1028
 
1029
  $all_items = array_count_values(array_column($line_item_keys, 'order_id'));
1030
- return max($all_items);
 
 
 
 
1031
 
1032
  }
1033
 
159
  $export_offset = $current_offset;
160
  $batch_count = !empty($form_data['advanced_form_data']['wt_iew_batch_count']) ? $form_data['advanced_form_data']['wt_iew_batch_count'] : Wt_Import_Export_For_Woo_Basic_Common_Helper::get_advanced_settings('default_export_batch');
161
 
162
+ $exclude_already_exported = (!empty($form_data['advanced_form_data']['wt_iew_exclude_already_exported']) && ( $form_data['advanced_form_data']['wt_iew_exclude_already_exported'] === 'Yes' || $form_data['advanced_form_data']['wt_iew_exclude_already_exported'] == 1 )) ? true : false;
163
+
164
+ $this->export_to_separate_columns = (!empty($form_data['advanced_form_data']['wt_iew_export_to_separate']) && $form_data['advanced_form_data']['wt_iew_export_to_separate'] === 'column') ? true : false;
165
+ $this->export_to_separate_rows = (!empty($form_data['advanced_form_data']['wt_iew_export_to_separate']) && $form_data['advanced_form_data']['wt_iew_export_to_separate'] === 'row') ? true : false;
166
 
167
 
168
  $real_offset = ($current_offset + $batch_offset);
644
  'order_discount' => (defined('WC_VERSION') && (WC_VERSION >= 2.3)) ? wc_format_decimal($order->get_total_discount(), 2) : wc_format_decimal($order->get_order_discount(), 2),
645
  'discount_total' => wc_format_decimal($order->get_discount_total(), 2),
646
  'order_total' => wc_format_decimal($order->get_total(), 2),
647
+ 'order_key' => $order->order_key,
648
  'order_currency' => $order->get_order_currency(),
649
  'payment_method' => $order->payment_method,
650
  'payment_method_title' => $order->payment_method_title,
703
  'order_discount' => (defined('WC_VERSION') && (WC_VERSION >= 2.3)) ? wc_format_decimal($order->get_total_discount(), 2) : wc_format_decimal($order->get_order_discount(), 2),
704
  'discount_total' => wc_format_decimal($order->get_total_discount(), 2),
705
  'order_total' => wc_format_decimal($order->get_total(), 2),
706
+ 'order_key' => $order->get_order_key(),
707
  'order_currency' => $order->get_currency(),
708
  'payment_method' => $order->get_payment_method(),
709
  'payment_method_title' => $order->get_payment_method_title(),
820
 
821
  public static function hf_get_orders_of_products($products, $export_order_statuses, $export_limit, $export_offset, $end_date, $start_date, $exclude_already_exported, $retun_count = false) {
822
  global $wpdb;
823
+ $query = '';
824
  $query .= "SELECT DISTINCT po.ID FROM {$wpdb->posts} AS po
825
  LEFT JOIN {$wpdb->postmeta} AS pm ON pm.post_id = po.ID
826
  LEFT JOIN {$wpdb->prefix}woocommerce_order_items AS oi ON oi.order_id = po.ID
1030
  public static function highest_line_item_count($line_item_keys) {
1031
 
1032
  $all_items = array_count_values(array_column($line_item_keys, 'order_id'));
1033
+ $max_count = 0;
1034
+ if(count($all_items) > 0){
1035
+ $max_count = max($all_items);
1036
+ }
1037
+ return $max_count;
1038
 
1039
  }
1040
 
admin/modules/order/import/import.php CHANGED
@@ -270,6 +270,10 @@ class Wt_Import_Export_For_Woo_Basic_Order_Import {
270
  $this->item_data['total_tax'] = wc_format_decimal($value);
271
  continue;
272
  }
 
 
 
 
273
  if ('order_currency' == $column ) {
274
  $this->item_data['currency'] = ($value) ? $value : get_woocommerce_currency();
275
  continue;
270
  $this->item_data['total_tax'] = wc_format_decimal($value);
271
  continue;
272
  }
273
+ if ('order_key' == $column ) {
274
+ $this->item_data['order_key'] = ($value);
275
+ continue;
276
+ }
277
  if ('order_currency' == $column ) {
278
  $this->item_data['currency'] = ($value) ? $value : get_woocommerce_currency();
279
  continue;
admin/modules/order/order.php CHANGED
@@ -372,16 +372,17 @@ class Wt_Import_Export_For_Woo_Basic_Order {
372
  unset($fields['export_shortcode_tohtml']);
373
 
374
  $out = array();
 
 
 
 
375
  $out['exclude_already_exported'] = array(
376
  'label' => __("Exclude already exported"),
377
- 'type' => 'radio',
378
- 'radio_fields' => array(
379
- 'Yes' => __('Yes'),
380
- 'No' => __('No')
381
- ),
382
- 'value' => 'No',
383
  'field_name' => 'exclude_already_exported',
384
- 'help_text' => __("Option 'Yes' excludes the previously exported orders."),
385
  );
386
 
387
  $out['export_to_separate'] = array(
@@ -431,7 +432,9 @@ class Wt_Import_Export_For_Woo_Basic_Order {
431
  $out = array();
432
 
433
 
434
-
 
 
435
  $out['found_action_merge'] = array(
436
  'label' => __("If order exists in the store"),
437
  'type' => 'radio',
@@ -463,14 +466,15 @@ class Wt_Import_Export_For_Woo_Basic_Order {
463
  );
464
 
465
  $out['ord_link_using_sku'] = array(
466
- 'label' => __("Link products using SKU instead of Product ID"),
467
  'type' => 'radio',
468
  'radio_fields' => array(
469
- '1' => __('Yes'),
470
- '0' => __('No')
471
  ),
472
  'value' => '0',
473
  'field_name' => 'ord_link_using_sku',
 
474
  'help_text_conditional'=>array(
475
  array(
476
  'help_text'=> __('Links the products of the imported orders by SKU.'),
@@ -486,6 +490,13 @@ class Wt_Import_Export_For_Woo_Basic_Order {
486
  )
487
  ),
488
  );
 
 
 
 
 
 
 
489
 
490
 
491
  foreach ($fields as $fieldk => $fieldv) {
@@ -505,7 +516,7 @@ class Wt_Import_Export_For_Woo_Basic_Order {
505
  $fields['limit']['label']=__('Total number of orders to export');
506
  $fields['limit']['help_text']=__( 'Provide the number of orders you want to export. e.g. Entering 500 with a skip count of 10 will export orders from 11th to 510th position.' );
507
  $fields['offset']['label']=__('Skip first <i>n</i> orders');
508
- $fields['offset']['help_text']=__('Skips specified number of orders from the beginning. e.g. Enter 10 to skip first 10 orders from export.');
509
 
510
  $fields['orders'] = array(
511
  'label' => __('Order IDs'),
372
  unset($fields['export_shortcode_tohtml']);
373
 
374
  $out = array();
375
+
376
+ $out['header_empty_row'] = array(
377
+ 'tr_html' => '<tr id="header_empty_row"><th></th><td></td></tr>'
378
+ );
379
  $out['exclude_already_exported'] = array(
380
  'label' => __("Exclude already exported"),
381
+ 'type' => 'checkbox',
382
+ 'checkbox_fields' => array( 1 => __( 'Enable' ) ),
383
+ 'value' => 0,
 
 
 
384
  'field_name' => 'exclude_already_exported',
385
+ 'help_text' => __('Enable this to exclude the previously exported orders.'),
386
  );
387
 
388
  $out['export_to_separate'] = array(
432
  $out = array();
433
 
434
 
435
+ $out['header_empty_row'] = array(
436
+ 'tr_html' => '<tr id="header_empty_row"><th></th><td></td></tr>'
437
+ );
438
  $out['found_action_merge'] = array(
439
  'label' => __("If order exists in the store"),
440
  'type' => 'radio',
466
  );
467
 
468
  $out['ord_link_using_sku'] = array(
469
+ 'label' => __('Link order items using'),
470
  'type' => 'radio',
471
  'radio_fields' => array(
472
+ '0' => __('Product ID'),
473
+ '1' => __('Product SKU')
474
  ),
475
  'value' => '0',
476
  'field_name' => 'ord_link_using_sku',
477
+ 'merge_right' => true,
478
  'help_text_conditional'=>array(
479
  array(
480
  'help_text'=> __('Links the products of the imported orders by SKU.'),
490
  )
491
  ),
492
  );
493
+ if( !is_plugin_active( 'product-import-export-for-woo/product-import-export-for-woo.php' ) ){
494
+ $out['ord_link_using_sku']['help_text'] = sprintf(
495
+ /* translators: %s: Product Import Export for WooCommerce plugin URL */
496
+ __( 'If you do not already have corresponding products added in your store, we recommend that you import them first using <a href="%s" target="_blank">Product Import Export for WooCommerce</a>.' ),
497
+ admin_url('plugin-install.php?s=product import export for woocommerce by webtoffee&tab=search&type=term')
498
+ );
499
+ }
500
 
501
 
502
  foreach ($fields as $fieldk => $fieldv) {
516
  $fields['limit']['label']=__('Total number of orders to export');
517
  $fields['limit']['help_text']=__( 'Provide the number of orders you want to export. e.g. Entering 500 with a skip count of 10 will export orders from 11th to 510th position.' );
518
  $fields['offset']['label']=__('Skip first <i>n</i> orders');
519
+ $fields['offset']['help_text']=__('Skips specified number of orders from the beginning of the database. e.g. Enter 10 to skip first 10 orders from export.');
520
 
521
  $fields['orders'] = array(
522
  'label' => __('Order IDs'),
admin/partials/_form_field_generator.php CHANGED
@@ -2,6 +2,7 @@
2
  if (!defined('ABSPATH')) {
3
  exit;
4
  }
 
5
  foreach($form_fields as $key=>$value)
6
  {
7
  /* setting default value form fields list array */
@@ -340,6 +341,12 @@ foreach($form_fields as $key=>$value)
340
  $checkbox_fields=isset($value['checkbox_fields']) ? $value['checkbox_fields'] : array();
341
  foreach ($checkbox_fields as $chk_vl=>$chk_label)
342
  {
 
 
 
 
 
 
343
  ?>
344
  <input <?php echo $css_attr;?> type="checkbox" id="<?php echo $form_data_key.'_'.$chk_vl;?>" name="<?php echo $form_data_key;?>" value="<?php echo $chk_vl;?>" <?php echo ($vl==$chk_vl) ? ' checked="checked"' : ''; ?> <?php echo $attr;?> <?php echo $form_toggler_register;?> /> <?php echo $chk_label; ?>
345
  &nbsp;&nbsp;
@@ -380,13 +387,13 @@ foreach($form_fields as $key=>$value)
380
  {
381
  echo $field_html;
382
  }
 
383
  if($help_text!="")
384
  {
385
  ?>
386
  <span class="wt-iew_form_help"><?php echo $help_text;?></span>
387
  <?php
388
  }
389
- echo $conditional_help_html;
390
  ?>
391
  </td>
392
  <?php
2
  if (!defined('ABSPATH')) {
3
  exit;
4
  }
5
+
6
  foreach($form_fields as $key=>$value)
7
  {
8
  /* setting default value form fields list array */
341
  $checkbox_fields=isset($value['checkbox_fields']) ? $value['checkbox_fields'] : array();
342
  foreach ($checkbox_fields as $chk_vl=>$chk_label)
343
  {
344
+ if( 'Yes' === $vl){
345
+ $vl = 1;
346
+ }
347
+ if( 'No' === $vl){
348
+ $vl = 0;
349
+ }
350
  ?>
351
  <input <?php echo $css_attr;?> type="checkbox" id="<?php echo $form_data_key.'_'.$chk_vl;?>" name="<?php echo $form_data_key;?>" value="<?php echo $chk_vl;?>" <?php echo ($vl==$chk_vl) ? ' checked="checked"' : ''; ?> <?php echo $attr;?> <?php echo $form_toggler_register;?> /> <?php echo $chk_label; ?>
352
  &nbsp;&nbsp;
387
  {
388
  echo $field_html;
389
  }
390
+ echo $conditional_help_html;
391
  if($help_text!="")
392
  {
393
  ?>
394
  <span class="wt-iew_form_help"><?php echo $help_text;?></span>
395
  <?php
396
  }
 
397
  ?>
398
  </td>
399
  <?php
includes/class-wt-import-export-for-woo-activator.php CHANGED
@@ -57,7 +57,12 @@ class Wt_Import_Export_For_Woo_Basic_Activator_Order {
57
  public static function install_tables()
58
  {
59
  global $wpdb;
60
- $charset_collate = $wpdb->get_charset_collate();
 
 
 
 
 
61
  //install necessary tables
62
 
63
  //creating table for saving template data================
@@ -74,7 +79,7 @@ class Wt_Import_Export_For_Woo_Basic_Activator_Order {
74
  `name` VARCHAR(255) NOT NULL,
75
  `data` LONGTEXT NOT NULL,
76
  PRIMARY KEY (`id`)
77
- ) DEFAULT CHARSET=utf8;";
78
  dbDelta($sql_settings);
79
  }
80
  //creating table for saving template data================
@@ -98,7 +103,7 @@ class Wt_Import_Export_For_Woo_Basic_Activator_Order {
98
  `total` INT NOT NULL DEFAULT '0',
99
  `data` LONGTEXT NOT NULL,
100
  PRIMARY KEY (`id`)
101
- ) DEFAULT CHARSET=utf8;";
102
  dbDelta($sql_settings);
103
  }
104
  //creating table for saving export/import history================
57
  public static function install_tables()
58
  {
59
  global $wpdb;
60
+
61
+ $charset_collate = '';
62
+
63
+ if ( $wpdb->has_cap( 'collation' ) ) {
64
+ $charset_collate = $wpdb->get_charset_collate();
65
+ }
66
  //install necessary tables
67
 
68
  //creating table for saving template data================
79
  `name` VARCHAR(255) NOT NULL,
80
  `data` LONGTEXT NOT NULL,
81
  PRIMARY KEY (`id`)
82
+ ) $charset_collate;";
83
  dbDelta($sql_settings);
84
  }
85
  //creating table for saving template data================
103
  `total` INT NOT NULL DEFAULT '0',
104
  `data` LONGTEXT NOT NULL,
105
  PRIMARY KEY (`id`)
106
+ ) $charset_collate;";
107
  dbDelta($sql_settings);
108
  }
109
  //creating table for saving export/import history================
includes/class-wt-import-export-for-woo.php CHANGED
@@ -80,7 +80,7 @@ class Wt_Import_Export_For_Woo_Basic {
80
  if ( defined( 'WT_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
- $this->version = '2.2.0';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
80
  if ( defined( 'WT_O_IEW_VERSION' ) ) {
81
  $this->version = WT_O_IEW_VERSION;
82
  } else {
83
+ $this->version = '2.2.1';
84
  }
85
  $this->plugin_name = 'wt-import-export-for-woo-basic';
86
 
includes/class-wt-order-legacy-menu-moved.php DELETED
@@ -1,162 +0,0 @@
1
- <?php
2
- if (!defined('ABSPATH')) {
3
- exit;
4
- }
5
- if (!class_exists('wt_order_legacy_menu_moved')) {
6
-
7
- class wt_order_legacy_menu_moved {
8
-
9
- /**
10
- * config options
11
- */
12
- public $plugin = "";
13
- public $prefix = "";
14
- public $menu_title = "";
15
- public $plugin_title = "";
16
- public $banner_message = "";
17
- public $old_menu = '';
18
- public $sholud_show_legacy_menu = '';
19
- public $old_menu_params = array();
20
-
21
- public function __construct($plugin) {
22
- $this->plugin = $plugin;
23
- $this->sholud_show_legacy_menu = 'wt_' . $this->plugin . '_show_legacy_menu';
24
- add_action('upgrader_process_complete', array($this, 'wt_upgrade_completed'), 10, 2);
25
- if ($this->wt_should_display_legacy_menu()) {
26
- add_action('admin_menu', array($this, 'wt_maybe_add_legacy_menu_redirect'));
27
- if (Wt_Import_Export_For_Woo_Basic_Common_Helper::wt_is_screen_allowed()) {
28
- $this->banner_css_class = 'wt_' . $this->plugin . '_show_legacy_menu';
29
- add_action('admin_notices', array($this, 'show_banner'));
30
- add_action('admin_print_footer_scripts', array($this, 'add_banner_scripts')); /* add banner scripts */
31
- }
32
- }
33
- $this->ajax_action_name = $this->plugin . '_process_show_legacy_menu_action';
34
- add_action('wp_ajax_' . $this->ajax_action_name, array($this, 'process_user_action')); /* process banner user action */
35
- add_action('admin_init',array($this,'wt_import_export_menu_old_moved'));
36
- }
37
-
38
- public function wt_upgrade_completed($upgrader_object, $options) {
39
- // The path to our plugin's main file
40
- $our_plugin = plugin_basename(__FILE__);
41
- // If an update has taken place and the updated type is plugins and the plugins element exists
42
- if ($options['action'] == 'update' && $options['type'] == 'plugin' && isset($options['plugins'])) {
43
- // Iterate through the plugins being updated and check if ours is there
44
- foreach ($options['plugins'] as $plugin) {
45
- if ($plugin == $our_plugin) {
46
- $this->display_legacy_menu(1);
47
- }
48
- }
49
- }
50
- }
51
-
52
- /**
53
- * Prints the banner
54
- */
55
- public function show_banner() {
56
- ?>
57
- <div class="<?php echo $this->banner_css_class; ?> notice-info notice is-dismissible">
58
-
59
- <p>
60
- <?php echo $this->banner_message; ?>
61
- </p>
62
- <p>
63
-
64
- <a class="button button-primary" data-type="remove_legacy_menu_banner"><?php _e('Remove order legacy menu');?></a>
65
- </p>
66
- </div>
67
- <?php
68
- }
69
-
70
- /**
71
- * Ajax hook to process user action on the banner
72
- */
73
- public function process_user_action() {
74
- check_ajax_referer($this->plugin);
75
- if (isset($_POST['wt_action_type']) && 'dismiss' == $_POST['wt_action_type']) {
76
- $this->display_legacy_menu(0);
77
- }
78
- exit();
79
- }
80
-
81
- /**
82
- * Add banner JS to admin footer
83
- */
84
- public function add_banner_scripts() {
85
- $ajax_url = admin_url('admin-ajax.php');
86
- $nonce = wp_create_nonce($this->plugin);
87
- ?>
88
- <script type="text/javascript">
89
- (function ($) {
90
- "use strict";
91
-
92
- /* prepare data object */
93
- var data_obj = {
94
- _wpnonce: '<?php echo $nonce; ?>',
95
- action: '<?php echo $this->ajax_action_name; ?>',
96
- wt_action_type: 'dismiss',
97
- };
98
-
99
- $(document).on('click', '.<?php echo $this->banner_css_class; ?> a.button', function (e)
100
- {
101
- e.preventDefault();
102
- var elm = $(this);
103
- elm.parents('.<?php echo $this->banner_css_class; ?>').hide();
104
-
105
- $.ajax({
106
- url: '<?php echo $ajax_url; ?>',
107
- data: data_obj,
108
- type: 'POST'
109
- });
110
-
111
- }).on('click', '.<?php echo $this->banner_css_class; ?> .notice-dismiss', function (e)
112
- {
113
- e.preventDefault();
114
- $.ajax({
115
- url: '<?php echo $ajax_url; ?>',
116
- data: data_obj,
117
- type: 'POST',
118
- });
119
-
120
- });
121
-
122
- })(jQuery)
123
- </script>
124
- <?php
125
- }
126
-
127
- /**
128
- * Maybe add menu item back in original spot to help people transition
129
- */
130
- public function wt_maybe_add_legacy_menu_redirect() {
131
- if(isset($this->old_menu_params) && !empty($this->old_menu_params) && is_array($this->old_menu_params)){
132
- foreach ($this->old_menu_params as $menu) {
133
- add_submenu_page($menu['parent_slug'],__($menu['menu_title']), __($menu['menu_title']), $menu['capability'], 'import-export-menu-old', array($this, 'wt_import_export_menu_old_moved_old'));
134
- }
135
- }
136
- }
137
-
138
- public function wt_import_export_menu_old_moved_old(){
139
- // this mooved wt_import_export_menu_old_moved
140
- }
141
-
142
- /**
143
- * Call back for transition menu item
144
- */
145
- public function wt_import_export_menu_old_moved() {
146
- if(isset($_GET['page']) && $_GET['page']=='import-export-menu-old'){
147
- wp_safe_redirect(admin_url('/admin.php?page=wt_import_export_for_woo_basic_export'), 301);
148
- exit();
149
- }
150
- }
151
-
152
- public function wt_should_display_legacy_menu() {
153
- return (bool) get_option($this->sholud_show_legacy_menu);
154
- }
155
-
156
- public function display_legacy_menu($display = false) {
157
- update_option($this->sholud_show_legacy_menu, $display ? 1 : 0 );
158
- }
159
-
160
- }
161
-
162
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/order-import-export-for-woocommerce.pot CHANGED
@@ -4,7 +4,7 @@ msgstr ""
4
  "Project-Id-Version: Order / Coupon / Subscription Export Import Plugin for "
5
  "WooCommerce (BASIC)\n"
6
  "Report-Msgid-Bugs-To: \n"
7
- "POT-Creation-Date: 2022-02-17 17:04+0530\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
  "Language-Team: \n"
@@ -63,7 +63,7 @@ msgid "Loading..."
63
  msgstr ""
64
 
65
  #: admin/class-wt-import-export-for-woo-admin.php:122
66
- #: admin/modules/history/history.php:519
67
  msgid "Are you sure?"
68
  msgstr ""
69
 
@@ -116,7 +116,6 @@ msgid "Template deleted successfully"
116
  msgstr ""
117
 
118
  #: admin/class-wt-import-export-for-woo-admin.php:433
119
- #: order-import-export-for-woocommerce.php:165
120
  msgid "Settings"
121
  msgstr ""
122
 
@@ -145,11 +144,11 @@ msgstr ""
145
  msgid "If the coupon exists in the store"
146
  msgstr ""
147
 
148
- #: admin/modules/coupon/coupon.php:367 admin/modules/order/order.php:439
149
  msgid "Skip"
150
  msgstr ""
151
 
152
- #: admin/modules/coupon/coupon.php:368 admin/modules/order/order.php:440
153
  msgid "Update"
154
  msgstr ""
155
 
@@ -188,7 +187,7 @@ msgstr ""
188
  msgid "Coupon status"
189
  msgstr ""
190
 
191
- #: admin/modules/coupon/coupon.php:414 admin/modules/order/order.php:522
192
  msgid "Any status"
193
  msgstr ""
194
 
@@ -373,6 +372,7 @@ msgstr ""
373
  #: admin/modules/export/export.php:157
374
  #: admin/modules/export/views/_export_header.php:8
375
  #: admin/modules/export/views/main.php:29 admin/modules/history/history.php:41
 
376
  msgid "Export"
377
  msgstr ""
378
 
@@ -659,6 +659,7 @@ msgstr ""
659
  #: admin/modules/import/import.php:263 admin/modules/import/import.php:264
660
  #: admin/modules/import/views/_import_header.php:8
661
  #: admin/modules/import/views/main.php:39
 
662
  msgid "Import"
663
  msgstr ""
664
 
@@ -690,27 +691,22 @@ msgstr ""
690
  msgid "Auto delete history"
691
  msgstr ""
692
 
693
- #: admin/modules/history/history.php:213 admin/modules/order/order.php:379
694
- #: admin/modules/order/order.php:469 admin/partials/_form_field_generator.php:321
695
- msgid "Yes"
696
- msgstr ""
697
-
698
- #: admin/modules/history/history.php:214 admin/modules/order/order.php:380
699
- #: admin/modules/order/order.php:470 admin/partials/_form_field_generator.php:322
700
- msgid "No"
701
  msgstr ""
702
 
703
- #: admin/modules/history/history.php:219
704
  msgid ""
705
  "Enabling this option will delete records from the history section upon "
706
  "reaching the count mentioned in Maximum entries."
707
  msgstr ""
708
 
709
- #: admin/modules/history/history.php:228
710
  msgid "Maximum entries"
711
  msgstr ""
712
 
713
- #: admin/modules/history/history.php:236
714
  msgid ""
715
  "Indicates the maximum records to retain in history. Limit the number of "
716
  "records with status ‘Finished’. E.g On giving an input of 50, the system will "
@@ -718,31 +714,31 @@ msgid ""
718
  "record with a different status will not be retained."
719
  msgstr ""
720
 
721
- #: admin/modules/history/history.php:356
722
  #: admin/modules/history/views/_history_list.php:110
723
  msgid "Post type"
724
  msgstr ""
725
 
726
- #: admin/modules/history/history.php:363
727
  #: admin/modules/history/views/_history_list.php:109
728
  msgid "Action type"
729
  msgstr ""
730
 
731
- #: admin/modules/history/history.php:370
732
  #: admin/modules/history/views/_history_list.php:113
733
  #: admin/modules/history/views/_log_table.php:44
734
  msgid "Status"
735
  msgstr ""
736
 
737
- #: admin/modules/history/history.php:390
738
  msgid "Date descending"
739
  msgstr ""
740
 
741
- #: admin/modules/history/history.php:391
742
  msgid "Date ascending"
743
  msgstr ""
744
 
745
- #: admin/modules/history/history.php:822
746
  msgid " record(s)"
747
  msgstr ""
748
 
@@ -1037,10 +1033,6 @@ msgstr ""
1037
  msgid "Generate Import log"
1038
  msgstr ""
1039
 
1040
- #: admin/modules/import/import.php:121
1041
- msgid "Enable"
1042
- msgstr ""
1043
-
1044
  #: admin/modules/import/import.php:125
1045
  msgid "You can view the logs in the <a href="
1046
  msgstr ""
@@ -1317,204 +1309,228 @@ msgstr ""
1317
  msgid "Order"
1318
  msgstr ""
1319
 
1320
- #: admin/modules/order/order.php:376
1321
  msgid "Exclude already exported"
1322
  msgstr ""
1323
 
1324
- #: admin/modules/order/order.php:384
1325
- msgid "Option 'Yes' excludes the previously exported orders."
1326
  msgstr ""
1327
 
1328
- #: admin/modules/order/order.php:388
1329
  msgid "Export line items in"
1330
  msgstr ""
1331
 
1332
- #: admin/modules/order/order.php:391
1333
  msgid "Default mode"
1334
  msgstr ""
1335
 
1336
- #: admin/modules/order/order.php:392
1337
  msgid "Separate columns"
1338
  msgstr ""
1339
 
1340
- #: admin/modules/order/order.php:393
1341
  msgid "Separate rows"
1342
  msgstr ""
1343
 
1344
- #: admin/modules/order/order.php:401
1345
  msgid ""
1346
  "The default option will export each line item details into a single column. "
1347
  "This option is mainly used for the order migration purpose."
1348
  msgstr ""
1349
 
1350
- #: admin/modules/order/order.php:407
1351
  msgid "This option will export each line item details into a separate column."
1352
  msgstr ""
1353
 
1354
- #: admin/modules/order/order.php:413
1355
  msgid "This option will export each line item details into a separate row."
1356
  msgstr ""
1357
 
1358
- #: admin/modules/order/order.php:436
1359
  msgid "If order exists in the store"
1360
  msgstr ""
1361
 
1362
- #: admin/modules/order/order.php:444
1363
  msgid "Orders are matched by their order IDs."
1364
  msgstr ""
1365
 
1366
- #: admin/modules/order/order.php:447
1367
  msgid ""
1368
  "This option will not update the existing orders and keeps the order as is."
1369
  msgstr ""
1370
 
1371
- #: admin/modules/order/order.php:453
1372
  msgid ""
1373
  "This option will update the existing orders as per the data from the input "
1374
  "file."
1375
  msgstr ""
1376
 
1377
- #: admin/modules/order/order.php:466
1378
- msgid "Link products using SKU instead of Product ID"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1379
  msgstr ""
1380
 
1381
- #: admin/modules/order/order.php:476
1382
  msgid "Links the products of the imported orders by SKU."
1383
  msgstr ""
1384
 
1385
- #: admin/modules/order/order.php:482
1386
  msgid ""
1387
  "Links the products of the imported orders by Product ID. However, the products "
1388
  "will not get linked if the Product ID conflicts with the IDs of an existing "
1389
  "post type."
1390
  msgstr ""
1391
 
1392
- #: admin/modules/order/order.php:505
1393
  msgid "Total number of orders to export"
1394
  msgstr ""
1395
 
1396
- #: admin/modules/order/order.php:506
1397
  msgid ""
1398
  "Provide the number of orders you want to export. e.g. Entering 500 with a skip "
1399
  "count of 10 will export orders from 11th to 510th position."
1400
  msgstr ""
1401
 
1402
- #: admin/modules/order/order.php:507
1403
  msgid "Skip first <i>n</i> orders"
1404
  msgstr ""
1405
 
1406
- #: admin/modules/order/order.php:508
1407
  msgid ""
1408
  "Skips specified number of orders from the beginning. e.g. Enter 10 to skip "
1409
  "first 10 orders from export."
1410
  msgstr ""
1411
 
1412
- #: admin/modules/order/order.php:511
1413
  msgid "Order IDs"
1414
  msgstr ""
1415
 
1416
- #: admin/modules/order/order.php:512
1417
  msgid "Enter order IDs separated by ,"
1418
  msgstr ""
1419
 
1420
- #: admin/modules/order/order.php:515
1421
  msgid "Enter order IDs separated by comma to export specific orders."
1422
  msgstr ""
1423
 
1424
- #: admin/modules/order/order.php:521
1425
  msgid "Order status"
1426
  msgstr ""
1427
 
1428
- #: admin/modules/order/order.php:525
1429
  msgid "Filter orders on the basis of status. Multiple statuses can be selected."
1430
  msgstr ""
1431
 
1432
- #: admin/modules/order/order.php:531
1433
  msgid "Product"
1434
  msgstr ""
1435
 
1436
- #: admin/modules/order/order.php:532
1437
  msgid "Search for a product&hellip;"
1438
  msgstr ""
1439
 
1440
- #: admin/modules/order/order.php:535
1441
  msgid ""
1442
  "Export orders containing specific products. Input name, ID or SKU of the "
1443
  "products contained in the orders you want to export."
1444
  msgstr ""
1445
 
1446
- #: admin/modules/order/order.php:541
1447
  msgid "Customer"
1448
  msgstr ""
1449
 
1450
- #: admin/modules/order/order.php:542
1451
  msgid "Search for a customer&hellip;"
1452
  msgstr ""
1453
 
1454
- #: admin/modules/order/order.php:545
1455
  msgid ""
1456
  "Export orders of specific customers. Input the customer name or email to "
1457
  "specify the customers."
1458
  msgstr ""
1459
 
1460
- #: admin/modules/order/order.php:551 admin/views/admin-settings-marketing.php:73
1461
  #: admin/views/admin-settings-marketing.php:239
1462
  #: admin/views/admin-settings-marketing.php:381
1463
  msgid "Coupons"
1464
  msgstr ""
1465
 
1466
- #: admin/modules/order/order.php:552
1467
  msgid "Search for a coupon&hellip;"
1468
  msgstr ""
1469
 
1470
- #: admin/modules/order/order.php:555
1471
  msgid ""
1472
  "Exports orders redeemed with specific coupon codes. Multiple coupon codes can "
1473
  "be selected."
1474
  msgstr ""
1475
 
1476
- #: admin/modules/order/order.php:562 admin/modules/order/order.php:563
1477
  msgid "Date from"
1478
  msgstr ""
1479
 
1480
- #: admin/modules/order/order.php:566
1481
  msgid "Export orders placed on and after the specified date."
1482
  msgstr ""
1483
 
1484
- #: admin/modules/order/order.php:574 admin/modules/order/order.php:575
1485
  msgid "Date to"
1486
  msgstr ""
1487
 
1488
- #: admin/modules/order/order.php:578
1489
  msgid "Export orders placed upto the specified date."
1490
  msgstr ""
1491
 
1492
- #: admin/partials/_form_field_generator.php:244
1493
  #, php-format
1494
  msgid "%1$s (#%2$s &ndash; %3$s)"
1495
  msgstr ""
1496
 
1497
- #: admin/partials/_form_field_generator.php:356
 
 
 
 
 
 
 
 
1498
  msgid "Choose a file."
1499
  msgstr ""
1500
 
1501
- #: admin/partials/_form_field_generator.php:356
1502
  msgid "Select"
1503
  msgstr ""
1504
 
1505
- #: admin/partials/_form_field_generator.php:356
1506
  msgid "Upload"
1507
  msgstr ""
1508
 
1509
- #: admin/partials/_form_field_generator.php:368
1510
  msgid "Drag and Drop"
1511
  msgstr ""
1512
 
1513
- #: admin/partials/_form_field_generator.php:369
1514
  msgid "or"
1515
  msgstr ""
1516
 
1517
- #: admin/partials/_form_field_generator.php:370
1518
  msgid " Click and Upload"
1519
  msgstr ""
1520
 
@@ -1930,7 +1946,7 @@ msgstr ""
1930
  msgid "Fast and Superior Support"
1931
  msgstr ""
1932
 
1933
- #: admin/views/market.php:21 order-import-export-for-woocommerce.php:283
1934
  msgid "UPGRADE TO PREMIUM"
1935
  msgstr ""
1936
 
@@ -2090,10 +2106,6 @@ msgid ""
2090
  "assist accordingly."
2091
  msgstr ""
2092
 
2093
- #: includes/class-wt-order-legacy-menu-moved.php:64
2094
- msgid "Remove order legacy menu"
2095
- msgstr ""
2096
-
2097
  #: order-import-export-for-woocommerce.php:97
2098
  #, php-format
2099
  msgid ""
@@ -2106,15 +2118,7 @@ msgstr ""
2106
  msgid "Premium Upgrade"
2107
  msgstr ""
2108
 
2109
- #: order-import-export-for-woocommerce.php:220
2110
- #, php-format
2111
- msgid ""
2112
- "We have introduced a new main menu %sWebToffee Import Export(basic)%s for the "
2113
- "%s plugin. Click the button below or dismiss this banner to remove the old "
2114
- "menu from %s."
2115
- msgstr ""
2116
-
2117
- #: order-import-export-for-woocommerce.php:231
2118
  #, php-format
2119
  msgid ""
2120
  "The <b>%s</b> plugin uploads the imported file into <b>wp-content/"
@@ -2122,51 +2126,51 @@ msgid ""
2122
  "set in your server for this folder."
2123
  msgstr ""
2124
 
2125
- #: order-import-export-for-woocommerce.php:241
2126
  msgid "Sample Order CSV"
2127
  msgstr ""
2128
 
2129
- #: order-import-export-for-woocommerce.php:242
2130
- #: order-import-export-for-woocommerce.php:259
2131
  msgid "Familiarize yourself with the sample CSV."
2132
  msgstr ""
2133
 
2134
- #: order-import-export-for-woocommerce.php:244
2135
  msgid "Get Order CSV"
2136
  msgstr ""
2137
 
2138
- #: order-import-export-for-woocommerce.php:258
2139
  msgid "Sample Coupon CSV"
2140
  msgstr ""
2141
 
2142
- #: order-import-export-for-woocommerce.php:261
2143
  msgid "Get Coupon CSV"
2144
  msgstr ""
2145
 
2146
- #: order-import-export-for-woocommerce.php:275
2147
  msgid "Supports CSV/XML file formats."
2148
  msgstr ""
2149
 
2150
- #: order-import-export-for-woocommerce.php:276
2151
  msgid "Export and import subscription orders"
2152
  msgstr ""
2153
 
2154
- #: order-import-export-for-woocommerce.php:277
2155
  msgid "Import and export custom fields and hidden metadata."
2156
  msgstr ""
2157
 
2158
- #: order-import-export-for-woocommerce.php:278
2159
  msgid "Run scheduled exports via FTP/SFTP."
2160
  msgstr ""
2161
 
2162
- #: order-import-export-for-woocommerce.php:279
2163
  msgid "Run scheduled imports via URL/FTP/SFTP."
2164
  msgstr ""
2165
 
2166
- #: order-import-export-for-woocommerce.php:280
2167
  msgid "Tested compatibility with various third-party plugins."
2168
  msgstr ""
2169
 
2170
- #: order-import-export-for-woocommerce.php:285
2171
  msgid "Get more import export addons >>"
2172
  msgstr ""
4
  "Project-Id-Version: Order / Coupon / Subscription Export Import Plugin for "
5
  "WooCommerce (BASIC)\n"
6
  "Report-Msgid-Bugs-To: \n"
7
+ "POT-Creation-Date: 2022-02-19 21:39+0530\n"
8
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
9
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
10
  "Language-Team: \n"
63
  msgstr ""
64
 
65
  #: admin/class-wt-import-export-for-woo-admin.php:122
66
+ #: admin/modules/history/history.php:517
67
  msgid "Are you sure?"
68
  msgstr ""
69
 
116
  msgstr ""
117
 
118
  #: admin/class-wt-import-export-for-woo-admin.php:433
 
119
  msgid "Settings"
120
  msgstr ""
121
 
144
  msgid "If the coupon exists in the store"
145
  msgstr ""
146
 
147
+ #: admin/modules/coupon/coupon.php:367 admin/modules/order/order.php:442
148
  msgid "Skip"
149
  msgstr ""
150
 
151
+ #: admin/modules/coupon/coupon.php:368 admin/modules/order/order.php:443
152
  msgid "Update"
153
  msgstr ""
154
 
187
  msgid "Coupon status"
188
  msgstr ""
189
 
190
+ #: admin/modules/coupon/coupon.php:414 admin/modules/order/order.php:531
191
  msgid "Any status"
192
  msgstr ""
193
 
372
  #: admin/modules/export/export.php:157
373
  #: admin/modules/export/views/_export_header.php:8
374
  #: admin/modules/export/views/main.php:29 admin/modules/history/history.php:41
375
+ #: order-import-export-for-woocommerce.php:164
376
  msgid "Export"
377
  msgstr ""
378
 
659
  #: admin/modules/import/import.php:263 admin/modules/import/import.php:264
660
  #: admin/modules/import/views/_import_header.php:8
661
  #: admin/modules/import/views/main.php:39
662
+ #: order-import-export-for-woocommerce.php:165
663
  msgid "Import"
664
  msgstr ""
665
 
691
  msgid "Auto delete history"
692
  msgstr ""
693
 
694
+ #: admin/modules/history/history.php:212 admin/modules/import/import.php:121
695
+ #: admin/modules/order/order.php:382
696
+ msgid "Enable"
 
 
 
 
 
697
  msgstr ""
698
 
699
+ #: admin/modules/history/history.php:216
700
  msgid ""
701
  "Enabling this option will delete records from the history section upon "
702
  "reaching the count mentioned in Maximum entries."
703
  msgstr ""
704
 
705
+ #: admin/modules/history/history.php:225
706
  msgid "Maximum entries"
707
  msgstr ""
708
 
709
+ #: admin/modules/history/history.php:233
710
  msgid ""
711
  "Indicates the maximum records to retain in history. Limit the number of "
712
  "records with status ‘Finished’. E.g On giving an input of 50, the system will "
714
  "record with a different status will not be retained."
715
  msgstr ""
716
 
717
+ #: admin/modules/history/history.php:354
718
  #: admin/modules/history/views/_history_list.php:110
719
  msgid "Post type"
720
  msgstr ""
721
 
722
+ #: admin/modules/history/history.php:361
723
  #: admin/modules/history/views/_history_list.php:109
724
  msgid "Action type"
725
  msgstr ""
726
 
727
+ #: admin/modules/history/history.php:368
728
  #: admin/modules/history/views/_history_list.php:113
729
  #: admin/modules/history/views/_log_table.php:44
730
  msgid "Status"
731
  msgstr ""
732
 
733
+ #: admin/modules/history/history.php:388
734
  msgid "Date descending"
735
  msgstr ""
736
 
737
+ #: admin/modules/history/history.php:389
738
  msgid "Date ascending"
739
  msgstr ""
740
 
741
+ #: admin/modules/history/history.php:820
742
  msgid " record(s)"
743
  msgstr ""
744
 
1033
  msgid "Generate Import log"
1034
  msgstr ""
1035
 
 
 
 
 
1036
  #: admin/modules/import/import.php:125
1037
  msgid "You can view the logs in the <a href="
1038
  msgstr ""
1309
  msgid "Order"
1310
  msgstr ""
1311
 
1312
+ #: admin/modules/order/order.php:380
1313
  msgid "Exclude already exported"
1314
  msgstr ""
1315
 
1316
+ #: admin/modules/order/order.php:385
1317
+ msgid "Enable this to excludes the previously exported orders."
1318
  msgstr ""
1319
 
1320
+ #: admin/modules/order/order.php:389
1321
  msgid "Export line items in"
1322
  msgstr ""
1323
 
1324
+ #: admin/modules/order/order.php:392
1325
  msgid "Default mode"
1326
  msgstr ""
1327
 
1328
+ #: admin/modules/order/order.php:393
1329
  msgid "Separate columns"
1330
  msgstr ""
1331
 
1332
+ #: admin/modules/order/order.php:394
1333
  msgid "Separate rows"
1334
  msgstr ""
1335
 
1336
+ #: admin/modules/order/order.php:402
1337
  msgid ""
1338
  "The default option will export each line item details into a single column. "
1339
  "This option is mainly used for the order migration purpose."
1340
  msgstr ""
1341
 
1342
+ #: admin/modules/order/order.php:408
1343
  msgid "This option will export each line item details into a separate column."
1344
  msgstr ""
1345
 
1346
+ #: admin/modules/order/order.php:414
1347
  msgid "This option will export each line item details into a separate row."
1348
  msgstr ""
1349
 
1350
+ #: admin/modules/order/order.php:439
1351
  msgid "If order exists in the store"
1352
  msgstr ""
1353
 
1354
+ #: admin/modules/order/order.php:447
1355
  msgid "Orders are matched by their order IDs."
1356
  msgstr ""
1357
 
1358
+ #: admin/modules/order/order.php:450
1359
  msgid ""
1360
  "This option will not update the existing orders and keeps the order as is."
1361
  msgstr ""
1362
 
1363
+ #: admin/modules/order/order.php:456
1364
  msgid ""
1365
  "This option will update the existing orders as per the data from the input "
1366
  "file."
1367
  msgstr ""
1368
 
1369
+ #: admin/modules/order/order.php:469
1370
+ msgid "Link order items using"
1371
+ msgstr ""
1372
+
1373
+ #: admin/modules/order/order.php:472
1374
+ msgid "Product ID"
1375
+ msgstr ""
1376
+
1377
+ #: admin/modules/order/order.php:473
1378
+ msgid "Product SKU"
1379
+ msgstr ""
1380
+
1381
+ #: admin/modules/order/order.php:480
1382
+ #, php-format
1383
+ msgid ""
1384
+ "If you do not already have corresponding products added in your store, we "
1385
+ "recommend that you import them first using <a href=\"%s\" target=\"_blank"
1386
+ "\">Product Import Export for WooCommerce</a>."
1387
  msgstr ""
1388
 
1389
+ #: admin/modules/order/order.php:485
1390
  msgid "Links the products of the imported orders by SKU."
1391
  msgstr ""
1392
 
1393
+ #: admin/modules/order/order.php:491
1394
  msgid ""
1395
  "Links the products of the imported orders by Product ID. However, the products "
1396
  "will not get linked if the Product ID conflicts with the IDs of an existing "
1397
  "post type."
1398
  msgstr ""
1399
 
1400
+ #: admin/modules/order/order.php:514
1401
  msgid "Total number of orders to export"
1402
  msgstr ""
1403
 
1404
+ #: admin/modules/order/order.php:515
1405
  msgid ""
1406
  "Provide the number of orders you want to export. e.g. Entering 500 with a skip "
1407
  "count of 10 will export orders from 11th to 510th position."
1408
  msgstr ""
1409
 
1410
+ #: admin/modules/order/order.php:516
1411
  msgid "Skip first <i>n</i> orders"
1412
  msgstr ""
1413
 
1414
+ #: admin/modules/order/order.php:517
1415
  msgid ""
1416
  "Skips specified number of orders from the beginning. e.g. Enter 10 to skip "
1417
  "first 10 orders from export."
1418
  msgstr ""
1419
 
1420
+ #: admin/modules/order/order.php:520
1421
  msgid "Order IDs"
1422
  msgstr ""
1423
 
1424
+ #: admin/modules/order/order.php:521
1425
  msgid "Enter order IDs separated by ,"
1426
  msgstr ""
1427
 
1428
+ #: admin/modules/order/order.php:524
1429
  msgid "Enter order IDs separated by comma to export specific orders."
1430
  msgstr ""
1431
 
1432
+ #: admin/modules/order/order.php:530
1433
  msgid "Order status"
1434
  msgstr ""
1435
 
1436
+ #: admin/modules/order/order.php:534
1437
  msgid "Filter orders on the basis of status. Multiple statuses can be selected."
1438
  msgstr ""
1439
 
1440
+ #: admin/modules/order/order.php:540
1441
  msgid "Product"
1442
  msgstr ""
1443
 
1444
+ #: admin/modules/order/order.php:541
1445
  msgid "Search for a product&hellip;"
1446
  msgstr ""
1447
 
1448
+ #: admin/modules/order/order.php:544
1449
  msgid ""
1450
  "Export orders containing specific products. Input name, ID or SKU of the "
1451
  "products contained in the orders you want to export."
1452
  msgstr ""
1453
 
1454
+ #: admin/modules/order/order.php:550
1455
  msgid "Customer"
1456
  msgstr ""
1457
 
1458
+ #: admin/modules/order/order.php:551
1459
  msgid "Search for a customer&hellip;"
1460
  msgstr ""
1461
 
1462
+ #: admin/modules/order/order.php:554
1463
  msgid ""
1464
  "Export orders of specific customers. Input the customer name or email to "
1465
  "specify the customers."
1466
  msgstr ""
1467
 
1468
+ #: admin/modules/order/order.php:560 admin/views/admin-settings-marketing.php:73
1469
  #: admin/views/admin-settings-marketing.php:239
1470
  #: admin/views/admin-settings-marketing.php:381
1471
  msgid "Coupons"
1472
  msgstr ""
1473
 
1474
+ #: admin/modules/order/order.php:561
1475
  msgid "Search for a coupon&hellip;"
1476
  msgstr ""
1477
 
1478
+ #: admin/modules/order/order.php:564
1479
  msgid ""
1480
  "Exports orders redeemed with specific coupon codes. Multiple coupon codes can "
1481
  "be selected."
1482
  msgstr ""
1483
 
1484
+ #: admin/modules/order/order.php:571 admin/modules/order/order.php:572
1485
  msgid "Date from"
1486
  msgstr ""
1487
 
1488
+ #: admin/modules/order/order.php:575
1489
  msgid "Export orders placed on and after the specified date."
1490
  msgstr ""
1491
 
1492
+ #: admin/modules/order/order.php:583 admin/modules/order/order.php:584
1493
  msgid "Date to"
1494
  msgstr ""
1495
 
1496
+ #: admin/modules/order/order.php:587
1497
  msgid "Export orders placed upto the specified date."
1498
  msgstr ""
1499
 
1500
+ #: admin/partials/_form_field_generator.php:245
1501
  #, php-format
1502
  msgid "%1$s (#%2$s &ndash; %3$s)"
1503
  msgstr ""
1504
 
1505
+ #: admin/partials/_form_field_generator.php:322
1506
+ msgid "Yes"
1507
+ msgstr ""
1508
+
1509
+ #: admin/partials/_form_field_generator.php:323
1510
+ msgid "No"
1511
+ msgstr ""
1512
+
1513
+ #: admin/partials/_form_field_generator.php:363
1514
  msgid "Choose a file."
1515
  msgstr ""
1516
 
1517
+ #: admin/partials/_form_field_generator.php:363
1518
  msgid "Select"
1519
  msgstr ""
1520
 
1521
+ #: admin/partials/_form_field_generator.php:363
1522
  msgid "Upload"
1523
  msgstr ""
1524
 
1525
+ #: admin/partials/_form_field_generator.php:375
1526
  msgid "Drag and Drop"
1527
  msgstr ""
1528
 
1529
+ #: admin/partials/_form_field_generator.php:376
1530
  msgid "or"
1531
  msgstr ""
1532
 
1533
+ #: admin/partials/_form_field_generator.php:377
1534
  msgid " Click and Upload"
1535
  msgstr ""
1536
 
1946
  msgid "Fast and Superior Support"
1947
  msgstr ""
1948
 
1949
+ #: admin/views/market.php:21 order-import-export-for-woocommerce.php:273
1950
  msgid "UPGRADE TO PREMIUM"
1951
  msgstr ""
1952
 
2106
  "assist accordingly."
2107
  msgstr ""
2108
 
 
 
 
 
2109
  #: order-import-export-for-woocommerce.php:97
2110
  #, php-format
2111
  msgid ""
2118
  msgid "Premium Upgrade"
2119
  msgstr ""
2120
 
2121
+ #: order-import-export-for-woocommerce.php:221
 
 
 
 
 
 
 
 
2122
  #, php-format
2123
  msgid ""
2124
  "The <b>%s</b> plugin uploads the imported file into <b>wp-content/"
2126
  "set in your server for this folder."
2127
  msgstr ""
2128
 
2129
+ #: order-import-export-for-woocommerce.php:231
2130
  msgid "Sample Order CSV"
2131
  msgstr ""
2132
 
2133
+ #: order-import-export-for-woocommerce.php:232
2134
+ #: order-import-export-for-woocommerce.php:249
2135
  msgid "Familiarize yourself with the sample CSV."
2136
  msgstr ""
2137
 
2138
+ #: order-import-export-for-woocommerce.php:234
2139
  msgid "Get Order CSV"
2140
  msgstr ""
2141
 
2142
+ #: order-import-export-for-woocommerce.php:248
2143
  msgid "Sample Coupon CSV"
2144
  msgstr ""
2145
 
2146
+ #: order-import-export-for-woocommerce.php:251
2147
  msgid "Get Coupon CSV"
2148
  msgstr ""
2149
 
2150
+ #: order-import-export-for-woocommerce.php:265
2151
  msgid "Supports CSV/XML file formats."
2152
  msgstr ""
2153
 
2154
+ #: order-import-export-for-woocommerce.php:266
2155
  msgid "Export and import subscription orders"
2156
  msgstr ""
2157
 
2158
+ #: order-import-export-for-woocommerce.php:267
2159
  msgid "Import and export custom fields and hidden metadata."
2160
  msgstr ""
2161
 
2162
+ #: order-import-export-for-woocommerce.php:268
2163
  msgid "Run scheduled exports via FTP/SFTP."
2164
  msgstr ""
2165
 
2166
+ #: order-import-export-for-woocommerce.php:269
2167
  msgid "Run scheduled imports via URL/FTP/SFTP."
2168
  msgstr ""
2169
 
2170
+ #: order-import-export-for-woocommerce.php:270
2171
  msgid "Tested compatibility with various third-party plugins."
2172
  msgstr ""
2173
 
2174
+ #: order-import-export-for-woocommerce.php:275
2175
  msgid "Get more import export addons >>"
2176
  msgstr ""
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: 2.2.0
10
  Text Domain: order-import-export-for-woocommerce
11
  Domain Path: /languages
12
  Requires at least: 3.0
@@ -48,7 +48,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
48
  * Start at version 1.0.0 and use SemVer - https://semver.org
49
  * Rename this for your plugin and update it as you release new versions.
50
  */
51
- define( 'WT_O_IEW_VERSION', '2.2.0' );
52
 
53
  /**
54
  * The code that runs during plugin activation.
@@ -148,7 +148,6 @@ function run_wt_import_export_for_woo_basic_order() {
148
  }
149
  /** this added for a temporary when a plugin update with the option upload zip file. need to remove this after some version release */
150
  if ( !get_option( 'wt_o_iew_is_active' ) ) {
151
- update_option( 'wt_order_show_legacy_menu', 1 );
152
  activate_wt_import_export_for_woo_basic_order();
153
  }
154
 
@@ -162,7 +161,8 @@ add_filter( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'wt_oiew_plugi
162
  function wt_oiew_plugin_action_links_basic_order( $links ) {
163
 
164
  $plugin_links = array(
165
- '<a href="' . admin_url( 'admin.php?page=wt_import_export_for_woo_basic' ) . '">' . __( 'Settings' ) . '</a>',
 
166
  '<a href="https://www.webtoffee.com/order-coupon-subscription-export-import-plugin-woocommerce-user-guide/" target="_blank">' . __( 'Documentation' ) . '</a>',
167
  '<a href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">' . __( 'Support' ) . '</a>',
168
  '<a href="https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/?utm_source=free_plugin_listing&utm_medium=order_imp_exp_basic&utm_campaign=Order_Import_Export&utm_content=' . WT_O_IEW_VERSION . '" style="color:#3db634;">' . __('Premium Upgrade') . '</a>'
@@ -212,16 +212,6 @@ if(!function_exists('wt_order_imex_basic_plugin_screen_update_js'))
212
  include_once plugin_dir_path( __FILE__ ) . 'includes/class-wf-orderimpexp-plugin-uninstall-feedback.php';
213
 
214
 
215
- // Add dismissble banner for legacy menu
216
- include_once plugin_dir_path( __FILE__ ) . 'includes/class-wt-order-legacy-menu-moved.php';
217
- $order_legacy_menu = new wt_order_legacy_menu_moved( 'order' );
218
- $order_legacy_menu->plugin_title = "Order Import Export";
219
- $order_legacy_menu->old_menu = "WooCommerce > Order Im-EX";
220
- $order_legacy_menu->banner_message = sprintf( __( "We have introduced a new main menu %sWebToffee Import Export(basic)%s for the %s plugin. Click the button below or dismiss this banner to remove the old menu from %s." ), '<b>', '</b>', $order_legacy_menu->plugin_title, $order_legacy_menu->old_menu );
221
- $order_legacy_menu->old_menu_params = array(
222
- array( 'parent_slug' => 'woocommerce', 'menu_title' => 'Order Im-EX', 'capability' => 'import' )
223
- );
224
-
225
  include_once 'class-wt-order-review-request.php';
226
 
227
  // Add dismissible server info for file restrictions
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: 2.2.1
10
  Text Domain: order-import-export-for-woocommerce
11
  Domain Path: /languages
12
  Requires at least: 3.0
48
  * Start at version 1.0.0 and use SemVer - https://semver.org
49
  * Rename this for your plugin and update it as you release new versions.
50
  */
51
+ define( 'WT_O_IEW_VERSION', '2.2.1' );
52
 
53
  /**
54
  * The code that runs during plugin activation.
148
  }
149
  /** this added for a temporary when a plugin update with the option upload zip file. need to remove this after some version release */
150
  if ( !get_option( 'wt_o_iew_is_active' ) ) {
 
151
  activate_wt_import_export_for_woo_basic_order();
152
  }
153
 
161
  function wt_oiew_plugin_action_links_basic_order( $links ) {
162
 
163
  $plugin_links = array(
164
+ '<a href="' . admin_url('admin.php?page=wt_import_export_for_woo_basic_export') . '">' . __('Export') . '</a>',
165
+ '<a href="' . admin_url('admin.php?page=wt_import_export_for_woo_basic_import') . '">' . __('Import') . '</a>',
166
  '<a href="https://www.webtoffee.com/order-coupon-subscription-export-import-plugin-woocommerce-user-guide/" target="_blank">' . __( 'Documentation' ) . '</a>',
167
  '<a href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">' . __( 'Support' ) . '</a>',
168
  '<a href="https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/?utm_source=free_plugin_listing&utm_medium=order_imp_exp_basic&utm_campaign=Order_Import_Export&utm_content=' . WT_O_IEW_VERSION . '" style="color:#3db634;">' . __('Premium Upgrade') . '</a>'
212
  include_once plugin_dir_path( __FILE__ ) . 'includes/class-wf-orderimpexp-plugin-uninstall-feedback.php';
213
 
214
 
 
 
 
 
 
 
 
 
 
 
215
  include_once 'class-wt-order-review-request.php';
216
 
217
  // Add dismissible server info for file restrictions
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: order export, woocommerce, order, export, csv, order import, woocommerce e
5
  Requires at least: 3.0.1
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
8
- Stable tag: 2.2.0
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
@@ -226,6 +226,8 @@ Yes.
226
 
227
  == Changelog ==
228
 
 
 
229
  = 2.2.0 =
230
  * Bugfix: Coupon import without status.
231
  * Enhancement: Performance and UI improvements, text corrections.
@@ -492,6 +494,5 @@ Yes.
492
 
493
  == Upgrade Notice ==
494
 
495
- = 2.2.0 =
496
- * Bugfix: Coupon import without status.
497
- * Enhancement: Performance and UI improvements, text corrections.
5
  Requires at least: 3.0.1
6
  Tested up to: 5.9
7
  Requires PHP: 5.6
8
+ Stable tag: 2.2.1
9
  License: GPLv3
10
  License URI: http://www.gnu.org/licenses/gpl-3.0.html
11
 
226
 
227
  == Changelog ==
228
 
229
+ = 2.2.1 =
230
+ * Bugfix: Download link in imported orders not working.
231
  = 2.2.0 =
232
  * Bugfix: Coupon import without status.
233
  * Enhancement: Performance and UI improvements, text corrections.
494
 
495
  == Upgrade Notice ==
496
 
497
+ = 2.2.1 =
498
+ * Bugfix: Download link in imported orders not working.