Version Description
- Text corrections and batch count defaulted to 10
Download this release
Release Info
Developer | webtoffee |
Plugin | Order Export & Order Import for WooCommerce |
Version | 2.0.4 |
Comparing to | |
See all releases |
Code changes from version 2.0.3 to 2.0.4
- admin/modules/coupon/coupon.php +13 -13
- admin/modules/coupon/import/import.php +14 -1
- admin/modules/export/export.php +31 -28
- admin/modules/import/import.php +3 -3
- admin/modules/order/order.php +11 -12
- admin/views/market.php +1 -1
- includes/class-wf-orderimpexp-plugin-uninstall-feedback.php +1 -1
- includes/class-wt-import-export-for-woo.php +1 -1
- order-import-export-for-woocommerce.php +3 -3
- readme.txt +7 -9
admin/modules/coupon/coupon.php
CHANGED
@@ -404,14 +404,14 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
404 |
if ($base == $this->module_base)
|
405 |
{
|
406 |
/* altering help text of default fields */
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
|
412 |
$fields['statuses'] = array(
|
413 |
-
'label' => __('Coupon
|
414 |
-
'placeholder' => __('
|
415 |
'field_name' => 'statuses',
|
416 |
'sele_vals' => self::get_coupon_statuses(),
|
417 |
'help_text' => __('Export coupons by their status. You can specify more than one status if required.'),
|
@@ -420,8 +420,8 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
420 |
'validation_rule' => array('type'=>'text_arr')
|
421 |
);
|
422 |
$fields['types'] = array(
|
423 |
-
'label' => __('Coupon
|
424 |
-
'placeholder' => __('
|
425 |
'field_name' => 'types',
|
426 |
'sele_vals' => self::get_coupon_types(),
|
427 |
'help_text' => __('Select the coupon type e.g, fixed cart, recurring etc to export only coupon of a specific type.'),
|
@@ -432,7 +432,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
432 |
|
433 |
|
434 |
$fields['coupon_amount_from'] = array(
|
435 |
-
'label'=>__("Coupon amount:
|
436 |
'placeholder' => __('From amount'),
|
437 |
'type'=>'number',
|
438 |
'value' =>'',
|
@@ -447,7 +447,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
447 |
|
448 |
|
449 |
$fields['coupon_amount_to'] = array(
|
450 |
-
'label'=>__("Coupon amount:
|
451 |
'placeholder' => __('To amount'),
|
452 |
'type'=>'number',
|
453 |
'value' =>'',
|
@@ -463,7 +463,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
463 |
|
464 |
|
465 |
$fields['coupon_exp_date_from'] = array(
|
466 |
-
'label' => __('Coupon
|
467 |
'placeholder' => __('From date'),
|
468 |
'field_name' => 'coupon_exp_date_from',
|
469 |
'sele_vals' => '',
|
@@ -473,7 +473,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
473 |
);
|
474 |
|
475 |
$fields['coupon_exp_date_to'] = array(
|
476 |
-
'label' => __('Coupon
|
477 |
'placeholder' => __('To date'),
|
478 |
'field_name' => 'coupon_exp_date_to',
|
479 |
'sele_vals' => '',
|
@@ -494,7 +494,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon {
|
|
494 |
);
|
495 |
|
496 |
$fields['order_by'] = array(
|
497 |
-
'label' => __('Sort
|
498 |
'placeholder' => __('ASC'),
|
499 |
'field_name' => 'order_by',
|
500 |
'sele_vals' => array('ASC' => 'Ascending', 'DESC' => 'Descending'),
|
404 |
if ($base == $this->module_base)
|
405 |
{
|
406 |
/* altering help text of default fields */
|
407 |
+
$fields['limit']['label']=__('Total number of coupons to export');
|
408 |
+
$fields['limit']['help_text']=__('Exports specified number of coupons. 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'),
|
414 |
+
'placeholder' => __('Any status'),
|
415 |
'field_name' => 'statuses',
|
416 |
'sele_vals' => self::get_coupon_statuses(),
|
417 |
'help_text' => __('Export coupons by their status. You can specify more than one status if required.'),
|
420 |
'validation_rule' => array('type'=>'text_arr')
|
421 |
);
|
422 |
$fields['types'] = array(
|
423 |
+
'label' => __('Coupon type'),
|
424 |
+
'placeholder' => __('Any type'),
|
425 |
'field_name' => 'types',
|
426 |
'sele_vals' => self::get_coupon_types(),
|
427 |
'help_text' => __('Select the coupon type e.g, fixed cart, recurring etc to export only coupon of a specific type.'),
|
432 |
|
433 |
|
434 |
$fields['coupon_amount_from'] = array(
|
435 |
+
'label'=>__("Coupon amount: from"),
|
436 |
'placeholder' => __('From amount'),
|
437 |
'type'=>'number',
|
438 |
'value' =>'',
|
447 |
|
448 |
|
449 |
$fields['coupon_amount_to'] = array(
|
450 |
+
'label'=>__("Coupon amount: to"),
|
451 |
'placeholder' => __('To amount'),
|
452 |
'type'=>'number',
|
453 |
'value' =>'',
|
463 |
|
464 |
|
465 |
$fields['coupon_exp_date_from'] = array(
|
466 |
+
'label' => __('Coupon expiry date: from'),
|
467 |
'placeholder' => __('From date'),
|
468 |
'field_name' => 'coupon_exp_date_from',
|
469 |
'sele_vals' => '',
|
473 |
);
|
474 |
|
475 |
$fields['coupon_exp_date_to'] = array(
|
476 |
+
'label' => __('Coupon expiry date: to'),
|
477 |
'placeholder' => __('To date'),
|
478 |
'field_name' => 'coupon_exp_date_to',
|
479 |
'sele_vals' => '',
|
494 |
);
|
495 |
|
496 |
$fields['order_by'] = array(
|
497 |
+
'label' => __('Sort by'),
|
498 |
'placeholder' => __('ASC'),
|
499 |
'field_name' => 'order_by',
|
500 |
'sele_vals' => array('ASC' => 'Ascending', 'DESC' => 'Descending'),
|
admin/modules/coupon/import/import.php
CHANGED
@@ -203,7 +203,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon_Import {
|
|
203 |
continue;
|
204 |
}
|
205 |
if ('individual_use' == $column ) {
|
206 |
-
$item_data['individual_use'] = $value;
|
207 |
continue;
|
208 |
}
|
209 |
if ('product_ids' == $column || 'product_SKUs' == $column) {
|
@@ -783,6 +783,7 @@ class Wt_Import_Export_For_Woo_Basic_Coupon_Import {
|
|
783 |
}
|
784 |
|
785 |
public function process_item($data) {
|
|
|
786 |
try {
|
787 |
do_action('wt_woocommerce_coupon_import_before_process_item', $data);
|
788 |
$data = apply_filters('wt_woocommerce_coupon_import_process_item', $data);
|
@@ -798,7 +799,19 @@ class Wt_Import_Export_For_Woo_Basic_Coupon_Import {
|
|
798 |
|
799 |
Wt_Import_Export_For_Woo_Basic_Logwriter::write_log($this->parent_module->module_base, 'import', "Found coupon object. ID:".$object->get_id());
|
800 |
|
|
|
|
|
801 |
foreach ($data as $key => $value) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
802 |
if(!empty($value)){
|
803 |
$fn ='set_'.$key;
|
804 |
if(method_exists($object,'set_'.$key)){
|
203 |
continue;
|
204 |
}
|
205 |
if ('individual_use' == $column ) {
|
206 |
+
$item_data['individual_use'] = wc_string_to_bool($value);
|
207 |
continue;
|
208 |
}
|
209 |
if ('product_ids' == $column || 'product_SKUs' == $column) {
|
783 |
}
|
784 |
|
785 |
public function process_item($data) {
|
786 |
+
|
787 |
try {
|
788 |
do_action('wt_woocommerce_coupon_import_before_process_item', $data);
|
789 |
$data = apply_filters('wt_woocommerce_coupon_import_process_item', $data);
|
799 |
|
800 |
Wt_Import_Export_For_Woo_Basic_Logwriter::write_log($this->parent_module->module_base, 'import', "Found coupon object. ID:".$object->get_id());
|
801 |
|
802 |
+
$boolean_keys = apply_filters('wt_ier_coupon_boolean_keys', array('exclude_sale_items', 'individual_use'));
|
803 |
+
|
804 |
foreach ($data as $key => $value) {
|
805 |
+
|
806 |
+
if(in_array($key, $boolean_keys)){
|
807 |
+
$fn ='set_'.$key;
|
808 |
+
if(method_exists($object,'set_'.$key)){
|
809 |
+
$object->$fn($value);
|
810 |
+
// unset($data[$key]);
|
811 |
+
}
|
812 |
+
continue;
|
813 |
+
}
|
814 |
+
|
815 |
if(!empty($value)){
|
816 |
$fn ='set_'.$key;
|
817 |
if(method_exists($object,'set_'.$key)){
|
admin/modules/export/export.php
CHANGED
@@ -48,7 +48,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
48 |
(
|
49 |
'post_type'=>array(
|
50 |
'title'=>__('Select a post type'),
|
51 |
-
'description'=>__('Export and download the respective post type into a CSV. This file can also be used to import data related to the specific post type back into your WooCommerce
|
52 |
),
|
53 |
'method_export'=>array(
|
54 |
'title'=>__('Select an export method'),
|
@@ -82,7 +82,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
82 |
$this->export_methods=array(
|
83 |
'quick'=>array('title'=>__('Quick export'), 'description'=> __('Exports all the basic fields.')),
|
84 |
'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Exports data as per the specifications(filters,selective column,mapping etc) from the previously saved file.')),
|
85 |
-
'new'=>array('title'=>__('Advanced export'), 'description'=> __('Exports data after a detailed process of data filtering/column selection/advanced options that may be required for your export. You can also save this
|
86 |
);
|
87 |
|
88 |
/* advanced plugin settings */
|
@@ -118,7 +118,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
118 |
'label'=>__("Default Export method"),
|
119 |
'type'=>'select',
|
120 |
'sele_vals'=>$export_methods,
|
121 |
-
|
122 |
'field_name'=>'default_export_method',
|
123 |
'field_group'=>'advanced_field',
|
124 |
'help_text'=>__('Select the default method of export.'),
|
@@ -126,7 +126,7 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
126 |
$fields['default_export_batch']=array(
|
127 |
'label'=>__("Default Export batch count"),
|
128 |
'type'=>'number',
|
129 |
-
|
130 |
'field_name'=>'default_export_batch',
|
131 |
'help_text'=>__('Provide the default count for the records to be exported in a batch.'),
|
132 |
'validation_rule'=>array('type'=>'absint'),
|
@@ -226,31 +226,34 @@ class Wt_Import_Export_For_Woo_Basic_Export
|
|
226 |
exit();
|
227 |
}
|
228 |
|
229 |
-
public function get_filter_screen_fields($filter_form_data)
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
|
|
|
|
|
|
252 |
|
253 |
-
|
254 |
{
|
255 |
$file_into_arr=array('local'=>__('Local'));
|
256 |
|
48 |
(
|
49 |
'post_type'=>array(
|
50 |
'title'=>__('Select a post type'),
|
51 |
+
'description'=>__('Export and download the respective post type into a CSV. This file can also be used to import data related to the specific post type back into your WordPress/WooCommerce site. As a first step you need to choose the post type to start the export.'),
|
52 |
),
|
53 |
'method_export'=>array(
|
54 |
'title'=>__('Select an export method'),
|
82 |
$this->export_methods=array(
|
83 |
'quick'=>array('title'=>__('Quick export'), 'description'=> __('Exports all the basic fields.')),
|
84 |
'template'=>array('title'=>__('Pre-saved template'), 'description'=> __('Exports data as per the specifications(filters,selective column,mapping etc) from the previously saved file.')),
|
85 |
+
'new'=>array('title'=>__('Advanced export'), 'description'=> __('Exports data after a detailed process of data filtering/column selection/advanced options that may be required for your export. You can also save this selection for future use.')),
|
86 |
);
|
87 |
|
88 |
/* advanced plugin settings */
|
118 |
'label'=>__("Default Export method"),
|
119 |
'type'=>'select',
|
120 |
'sele_vals'=>$export_methods,
|
121 |
+
'value' =>'quick',
|
122 |
'field_name'=>'default_export_method',
|
123 |
'field_group'=>'advanced_field',
|
124 |
'help_text'=>__('Select the default method of export.'),
|
126 |
$fields['default_export_batch']=array(
|
127 |
'label'=>__("Default Export batch count"),
|
128 |
'type'=>'number',
|
129 |
+
'value' =>10,
|
130 |
'field_name'=>'default_export_batch',
|
131 |
'help_text'=>__('Provide the default count for the records to be exported in a batch.'),
|
132 |
'validation_rule'=>array('type'=>'absint'),
|
226 |
exit();
|
227 |
}
|
228 |
|
229 |
+
public function get_filter_screen_fields($filter_form_data) {
|
230 |
+
$filter_screen_fields = array(
|
231 |
+
'limit' => array(
|
232 |
+
'label' => __("Limit"),
|
233 |
+
'value' => '',
|
234 |
+
'type' => 'number',
|
235 |
+
'field_name' => 'limit',
|
236 |
+
'placeholder' => 'Unlimited',
|
237 |
+
'help_text' => __('The actual number of records you want to export. e.g. A limit of 500 with an offset 10 will export records from 11th to 510th position.'),
|
238 |
+
'attr' => array('step' => 1, 'min' => 0),
|
239 |
+
'validation_rule' => array('type' => 'absint')
|
240 |
+
),
|
241 |
+
'offset' => array(
|
242 |
+
'label' => __("Offset"),
|
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')
|
250 |
+
),
|
251 |
+
);
|
252 |
+
$filter_screen_fields = apply_filters('wt_iew_exporter_alter_filter_fields_basic', $filter_screen_fields, $this->to_export, $filter_form_data);
|
253 |
+
return $filter_screen_fields;
|
254 |
+
}
|
255 |
|
256 |
+
public function get_advanced_screen_fields($advanced_form_data)
|
257 |
{
|
258 |
$file_into_arr=array('local'=>__('Local'));
|
259 |
|
admin/modules/import/import.php
CHANGED
@@ -112,7 +112,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
|
|
112 |
1=>__('Yes'),
|
113 |
0=>__('No')
|
114 |
),
|
115 |
-
|
116 |
'field_name'=>'enable_import_log',
|
117 |
'field_group'=>'advanced_field',
|
118 |
'help_text'=>__('Save import log as text file and make it available in the history section.'),
|
@@ -123,7 +123,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
|
|
123 |
'label'=>__("Default Import method"),
|
124 |
'type'=>'select',
|
125 |
'sele_vals'=>$import_methods,
|
126 |
-
|
127 |
'field_name'=>'default_import_method',
|
128 |
'field_group'=>'advanced_field',
|
129 |
'help_text'=>__('Select the default method of import.'),
|
@@ -131,7 +131,7 @@ class Wt_Import_Export_For_Woo_Basic_Import
|
|
131 |
$fields['default_import_batch']=array(
|
132 |
'label'=>__("Default Import batch count"),
|
133 |
'type'=>'number',
|
134 |
-
|
135 |
'field_name'=>'default_import_batch',
|
136 |
'help_text'=>__('Provide the default count for the records to be imported in a batch.'),
|
137 |
'validation_rule'=>array('type'=>'absint'),
|
112 |
1=>__('Yes'),
|
113 |
0=>__('No')
|
114 |
),
|
115 |
+
'value' =>1,
|
116 |
'field_name'=>'enable_import_log',
|
117 |
'field_group'=>'advanced_field',
|
118 |
'help_text'=>__('Save import log as text file and make it available in the history section.'),
|
123 |
'label'=>__("Default Import method"),
|
124 |
'type'=>'select',
|
125 |
'sele_vals'=>$import_methods,
|
126 |
+
'value' =>'quick',
|
127 |
'field_name'=>'default_import_method',
|
128 |
'field_group'=>'advanced_field',
|
129 |
'help_text'=>__('Select the default method of import.'),
|
131 |
$fields['default_import_batch']=array(
|
132 |
'label'=>__("Default Import batch count"),
|
133 |
'type'=>'number',
|
134 |
+
'value' =>10, /* If altering then please also change batch count field help text section */
|
135 |
'field_name'=>'default_import_batch',
|
136 |
'help_text'=>__('Provide the default count for the records to be imported in a batch.'),
|
137 |
'validation_rule'=>array('type'=>'absint'),
|
admin/modules/order/order.php
CHANGED
@@ -479,15 +479,14 @@ class Wt_Import_Export_For_Woo_Basic_Order {
|
|
479 |
if ($base == $this->module_base)
|
480 |
{
|
481 |
/* altering help text of default fields */
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
$fields['offset']['help_text']=__('Skips specified number of orders from the beginning. e.g. Enter 10 to skip first 10 orders from export.');
|
487 |
|
488 |
$fields['order_status'] = array(
|
489 |
-
'label' => __('Order
|
490 |
-
'placeholder' => __('
|
491 |
'field_name' => 'order_status',
|
492 |
'sele_vals' => self::get_order_statuses(),
|
493 |
'help_text' => __(' Filter orders by their status type. You can specify more than one type for export.'),
|
@@ -507,7 +506,7 @@ class Wt_Import_Export_For_Woo_Basic_Order {
|
|
507 |
);
|
508 |
$fields['email'] = array(
|
509 |
'label' => __('Email'),
|
510 |
-
'placeholder' => __('Search for a
|
511 |
'field_name' => 'email',
|
512 |
'sele_vals' => array(),
|
513 |
'help_text' => __('Input the customer email to export orders pertaining to only these customers.'),
|
@@ -526,8 +525,8 @@ class Wt_Import_Export_For_Woo_Basic_Order {
|
|
526 |
);
|
527 |
|
528 |
$fields['date_from'] = array(
|
529 |
-
'label' => __('Date
|
530 |
-
'placeholder' => __('Date'),
|
531 |
'field_name' => 'date_from',
|
532 |
'sele_vals' => '',
|
533 |
'help_text' => __('Date on which the order was placed. Export orders placed on and after the specified date.'),
|
@@ -538,8 +537,8 @@ class Wt_Import_Export_For_Woo_Basic_Order {
|
|
538 |
);
|
539 |
|
540 |
$fields['date_to'] = array(
|
541 |
-
'label' => __('Date
|
542 |
-
'placeholder' => __('Date'),
|
543 |
'field_name' => 'date_to',
|
544 |
'sele_vals' => '',
|
545 |
'help_text' => __('Date on which the order was placed. Export orders placed upto the specified date.'),
|
479 |
if ($base == $this->module_base)
|
480 |
{
|
481 |
/* altering help text of default fields */
|
482 |
+
$fields['limit']['label']=__('Total number of orders to export');
|
483 |
+
$fields['limit']['help_text']=__('Exports specified number of orders. e.g. Entering 500 with a skip count of 10 will export orders from 11th to 510th position.');
|
484 |
+
$fields['offset']['label']=__('Skip first <i>n</i> orders');
|
485 |
+
$fields['offset']['help_text']=__('Skips specified number of orders from the beginning. e.g. Enter 10 to skip first 10 orders from export.');
|
|
|
486 |
|
487 |
$fields['order_status'] = array(
|
488 |
+
'label' => __('Order status'),
|
489 |
+
'placeholder' => __('Any status'),
|
490 |
'field_name' => 'order_status',
|
491 |
'sele_vals' => self::get_order_statuses(),
|
492 |
'help_text' => __(' Filter orders by their status type. You can specify more than one type for export.'),
|
506 |
);
|
507 |
$fields['email'] = array(
|
508 |
'label' => __('Email'),
|
509 |
+
'placeholder' => __('Search for a customer…'),
|
510 |
'field_name' => 'email',
|
511 |
'sele_vals' => array(),
|
512 |
'help_text' => __('Input the customer email to export orders pertaining to only these customers.'),
|
525 |
);
|
526 |
|
527 |
$fields['date_from'] = array(
|
528 |
+
'label' => __('Date from'),
|
529 |
+
'placeholder' => __('Date from'),
|
530 |
'field_name' => 'date_from',
|
531 |
'sele_vals' => '',
|
532 |
'help_text' => __('Date on which the order was placed. Export orders placed on and after the specified date.'),
|
537 |
);
|
538 |
|
539 |
$fields['date_to'] = array(
|
540 |
+
'label' => __('Date to'),
|
541 |
+
'placeholder' => __('Date to'),
|
542 |
'field_name' => 'date_to',
|
543 |
'sele_vals' => '',
|
544 |
'help_text' => __('Date on which the order was placed. Export orders placed upto the specified date.'),
|
admin/views/market.php
CHANGED
@@ -24,7 +24,7 @@ if (!defined('ABSPATH')) {
|
|
24 |
</div>
|
25 |
</div>
|
26 |
<div class="wt-ier-center wt-ier-pt-4">
|
27 |
-
<a href="
|
28 |
</div>
|
29 |
</div>
|
30 |
</div>
|
24 |
</div>
|
25 |
</div>
|
26 |
<div class="wt-ier-center wt-ier-pt-4">
|
27 |
+
<a href="<?php echo admin_url( 'admin.php?page=wt_import_export_for_woo_basic#wt-pro-upgrade' );?>" target="_blank" class="wt-ier-green-btn"><?php _e('Upgrade to Premium');?></a>
|
28 |
</div>
|
29 |
</div>
|
30 |
</div>
|
includes/class-wf-orderimpexp-plugin-uninstall-feedback.php
CHANGED
@@ -97,7 +97,7 @@ if (!class_exists('WF_OrderImpExp_Uninstall_Feedback')) :
|
|
97 |
<a href="#" class="dont-bother-me"><?php _e('I rather wouldn\'t say', 'order-import-export-for-woocommerce'); ?></a>
|
98 |
<a class="button-primary" href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">
|
99 |
<span class="dashicons dashicons-external" style="margin-top:3px;"></span>
|
100 |
-
<?php _e('
|
101 |
<button class="button-primary wforderimpexp-model-submit"><?php _e('Submit & Deactivate', 'order-import-export-for-woocommerce'); ?></button>
|
102 |
<button class="button-secondary wforderimpexp-model-cancel"><?php _e('Cancel', 'order-import-export-for-woocommerce'); ?></button>
|
103 |
</div>
|
97 |
<a href="#" class="dont-bother-me"><?php _e('I rather wouldn\'t say', 'order-import-export-for-woocommerce'); ?></a>
|
98 |
<a class="button-primary" href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">
|
99 |
<span class="dashicons dashicons-external" style="margin-top:3px;"></span>
|
100 |
+
<?php _e('Get support', 'order-import-export-for-woocommerce'); ?></a>
|
101 |
<button class="button-primary wforderimpexp-model-submit"><?php _e('Submit & Deactivate', 'order-import-export-for-woocommerce'); ?></button>
|
102 |
<button class="button-secondary wforderimpexp-model-cancel"><?php _e('Cancel', 'order-import-export-for-woocommerce'); ?></button>
|
103 |
</div>
|
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.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.0.4';
|
84 |
}
|
85 |
$this->plugin_name = 'wt-import-export-for-woo-basic';
|
86 |
|
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.0.
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
WC tested up to: 5.3.0
|
12 |
License: GPLv3
|
@@ -45,7 +45,7 @@ if ( !defined( 'WT_IEW_DEBUG_BASIC_TROUBLESHOOT' ) ) {
|
|
45 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
46 |
* Rename this for your plugin and update it as you release new versions.
|
47 |
*/
|
48 |
-
define( 'WT_O_IEW_VERSION', '2.0.
|
49 |
|
50 |
/**
|
51 |
* The code that runs during plugin activation.
|
@@ -153,7 +153,7 @@ function wt_oiew_plugin_action_links_basic_order( $links ) {
|
|
153 |
|
154 |
$plugin_links = array(
|
155 |
'<a href="' . admin_url( 'admin.php?page=wt_import_export_for_woo_basic' ) . '">' . __( 'Settings' ) . '</a>',
|
156 |
-
'<a href="https://www.webtoffee.com/
|
157 |
'<a href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">' . __( 'Support' ) . '</a>',
|
158 |
'<a href="https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/" target="_blank" style="color:#3db634;">' . __( 'Premium Upgrade' ) . '</a>',
|
159 |
);
|
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.0.4
|
10 |
Text Domain: order-import-export-for-woocommerce
|
11 |
WC tested up to: 5.3.0
|
12 |
License: GPLv3
|
45 |
* Start at version 1.0.0 and use SemVer - https://semver.org
|
46 |
* Rename this for your plugin and update it as you release new versions.
|
47 |
*/
|
48 |
+
define( 'WT_O_IEW_VERSION', '2.0.4' );
|
49 |
|
50 |
/**
|
51 |
* The code that runs during plugin activation.
|
153 |
|
154 |
$plugin_links = array(
|
155 |
'<a href="' . admin_url( 'admin.php?page=wt_import_export_for_woo_basic' ) . '">' . __( 'Settings' ) . '</a>',
|
156 |
+
'<a href="https://www.webtoffee.com/order-coupon-subscription-export-import-plugin-woocommerce-user-guide/" target="_blank">' . __( 'Documentation' ) . '</a>',
|
157 |
'<a href="https://wordpress.org/support/plugin/order-import-export-for-woocommerce/" target="_blank">' . __( 'Support' ) . '</a>',
|
158 |
'<a href="https://www.webtoffee.com/product/woocommerce-order-coupon-subscription-export-import/" target="_blank" style="color:#3db634;">' . __( 'Premium Upgrade' ) . '</a>',
|
159 |
);
|
readme.txt
CHANGED
@@ -1,11 +1,11 @@
|
|
1 |
=== Order Export & Order Import for WooCommerce ===
|
2 |
Contributors: webtoffee
|
3 |
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, woocommerce coupon generator
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
-
Stable tag: 2.0.
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
@@ -111,7 +111,7 @@ Other useful plugins from WebToffee for migrating WooCommerce data:
|
|
111 |
|
112 |
= About WebToffee.com =
|
113 |
|
114 |
-
<a rel="nofollow" href="https://www.webtoffee.com/">WebToffee</a> creates quality WordPress/WooCommerce plugins that are easy to use and customize. We are proud to have
|
115 |
|
116 |
|
117 |
== Installation ==
|
@@ -144,10 +144,6 @@ For every update of the plugin, you will be notified of the installed plugins pa
|
|
144 |
|
145 |
Yes. You can import or export order line item details.
|
146 |
|
147 |
-
= Are you redirected to the dashboard or login page while exporting? =
|
148 |
-
|
149 |
-
By default, admin and store manager are given access to export orders from your store. Please visit <a rel="nofollow" href="https://www.webtoffee.com/how-to-export-woocommerce-items-without-user-role-restriction/">How to export WooCommerce items without user role restriction</a> for more details
|
150 |
-
|
151 |
= Can I update existing orders using this plugin? =
|
152 |
|
153 |
Yes, you can update the existing order details while importing.
|
@@ -217,6 +213,8 @@ Yes.
|
|
217 |
|
218 |
== Changelog ==
|
219 |
|
|
|
|
|
220 |
= 2.0.3 =
|
221 |
* Menu access capability update
|
222 |
= 2.0.2 =
|
@@ -434,5 +432,5 @@ Yes.
|
|
434 |
|
435 |
== Upgrade Notice ==
|
436 |
|
437 |
-
= 2.0.
|
438 |
-
*
|
1 |
=== Order Export & Order Import for WooCommerce ===
|
2 |
Contributors: webtoffee
|
3 |
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, woocommerce coupon generator, advanced order export
|
5 |
Requires at least: 3.0.1
|
6 |
Tested up to: 5.7
|
7 |
Requires PHP: 5.6
|
8 |
+
Stable tag: 2.0.4
|
9 |
License: GPLv3
|
10 |
License URI: http://www.gnu.org/licenses/gpl-3.0.html
|
11 |
|
111 |
|
112 |
= About WebToffee.com =
|
113 |
|
114 |
+
<a rel="nofollow" href="https://www.webtoffee.com/">WebToffee</a> creates quality WordPress/WooCommerce plugins that are easy to use and customize. We are proud to have millions of customers actively using our plugins across the globe.
|
115 |
|
116 |
|
117 |
== Installation ==
|
144 |
|
145 |
Yes. You can import or export order line item details.
|
146 |
|
|
|
|
|
|
|
|
|
147 |
= Can I update existing orders using this plugin? =
|
148 |
|
149 |
Yes, you can update the existing order details while importing.
|
213 |
|
214 |
== Changelog ==
|
215 |
|
216 |
+
= 2.0.4 =
|
217 |
+
* Text corrections and batch count defaulted to 10
|
218 |
= 2.0.3 =
|
219 |
* Menu access capability update
|
220 |
= 2.0.2 =
|
432 |
|
433 |
== Upgrade Notice ==
|
434 |
|
435 |
+
= 2.0.4 =
|
436 |
+
* Text corrections and batch count defaulted to 10
|