Version Description
- 2020-03-16 =
- Added filter by order IDs (not order numbers!)
- Added checkbox "Export only matched product items" to section "Filter by item and metadata"
- Added checkbox "Shipping fields use billing details (if shipping address is empty)" to section "Misc Settings"
- Added fields "Item Cost Before Discount", "Item Discount Tax" to section "Product order items"
- Renamed field "Product Variation" to "Order Item Metadata"
- Added some tooltips to sections inside "Set up fields"
- Support tag {order_number} in filename
- Fixed UI bugs for Firefox
- Fixed bug - Preview was wrong if CSV format used non-UTF8 codepage
- Fixed bug - some warnings in JS console
- Fixed bug - Safari added .csv to any filename when we use TSV format
- Fixed bug - wrong filters applied when user selected orders and exported them via bulk action
- New hooks for product custom fields
Download this release
Release Info
Developer | algol.plus |
Plugin | Advanced Order Export For WooCommerce |
Version | 3.1.2 |
Comparing to | |
See all releases |
Code changes from version 3.1.1 to 3.1.2
- assets/css/export.css +136 -15
- assets/css/orders_style.css +19 -0
- assets/js/buttons.js +7 -4
- assets/js/export-fields.js +18 -15
- assets/js/settings-form.js +20 -1
- classes/FPDF/class-woe-pdf-mc-table.php +51 -7
- classes/admin/class-wc-order-export-manage.php +29 -21
- classes/admin/class-wc-order-export-settings.php +2 -0
- classes/admin/tabs/ajax/class-wc-order-export-ajax.php +27 -3
- classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php +10 -6
- classes/admin/tabs/ajax/trait-wc-order-export-ajax-helpers.php +12 -5
- classes/admin/tabs/class-wc-order-export-admin-tab-abstract.php +9 -0
- classes/admin/tabs/class-wc-order-export-admin-tab-profiles.php +2 -1
- classes/admin/tabs/class-wc-order-export-admin-tab-schedule-jobs.php +2 -1
- classes/admin/tabs/class-wc-order-export-admin-tab-status-change-jobs.php +1 -1
- classes/class-wc-order-export-admin.php +16 -3
- classes/core/class-wc-order-export-data-extractor-ui.php +45 -23
- classes/core/class-wc-order-export-data-extractor.php +76 -11
- classes/core/class-wc-order-export-engine.php +38 -21
- classes/core/class-wc-order-export-order-fields.php +54 -17
- classes/core/class-wc-order-export-order-product-fields.php +28 -6
- classes/formats/abstract-class-woe-formatter-plain-format.php +3 -1
- classes/formats/abstract-class-woe-formatter-sv.php +2 -2
- classes/formats/class-woe-formatter-html.php +0 -20
- classes/formats/class-woe-formatter-pdf.php +3 -4
- i18n/languages/woo-order-export-lite.pot +501 -459
- readme.txt +20 -5
- view/settings-form.php +444 -381
- woo-order-export-lite.php +3 -3
assets/css/export.css
CHANGED
@@ -84,12 +84,8 @@ input.date {
|
|
84 |
list-style-type: none;
|
85 |
}
|
86 |
|
87 |
-
.btn-edit {
|
88 |
-
padding:
|
89 |
-
}
|
90 |
-
|
91 |
-
.btn-trash {
|
92 |
-
padding: 2px 3px !important;
|
93 |
}
|
94 |
|
95 |
.padding-10 {
|
@@ -148,7 +144,6 @@ input.date {
|
|
148 |
float: left;
|
149 |
width: 100%;
|
150 |
}
|
151 |
-
|
152 |
.all-input-100pr input[type="text"] {
|
153 |
width: 100%;
|
154 |
}
|
@@ -284,10 +279,12 @@ input.date {
|
|
284 |
width: 48%;
|
285 |
vertical-align: top;
|
286 |
}
|
287 |
-
|
|
|
|
|
288 |
#custom_date_format_block input, #custom_time_format_block input {
|
289 |
-
width: 70%;
|
290 |
-
margin-left:
|
291 |
}
|
292 |
|
293 |
#date_format_block select, #time_format_block select {
|
@@ -337,6 +334,7 @@ input.date {
|
|
337 |
|
338 |
#woe-admin .tools-textarea {
|
339 |
width: 66.66667%;
|
|
|
340 |
}
|
341 |
|
342 |
#woe-admin .woe-input-simple input, #woe-admin .woe-select input, #woe-admin .woe-input-simple textarea, #woe-admin .woe-select textarea, .woe-calendar-wrapper .woe-input-simple input, .woe-calendar-wrapper .woe-select input, .woe-calendar-wrapper .woe-input-simple textarea, .woe-calendar-wrapper .woe-select textarea, #woe-admin .woe-checkbox label, #woe-admin .woe-radiobox label, #woe-admin .woe-switch label, #woe-admin .woe-select.woe-select-info-label .woe-label-big label, .woe-calendar-wrapper .woe-select.woe-select-info-label #woe-admin .woe-label-big label, .woe-calendar-wrapper .woe-checkbox label, .woe-calendar-wrapper .woe-radiobox label, .woe-calendar-wrapper .woe-switch label, .woe-calendar-wrapper .woe-select.woe-select-info-label .woe-label-big label, #woe-admin .woe-checkbutton input + label, .woe-calendar-wrapper .woe-checkbutton input + label, #woe-admin .col-time, .woe-calendar-wrapper .col-time, #woe-admin .woe-box-title, .woe-calendar-wrapper .woe-box-title, .select2-container.select2-container-woe .select2-selection-single, .select2-container.select2-container-woe .select2-selection-multiple {
|
@@ -421,7 +419,7 @@ input.date {
|
|
421 |
font-weight: normal;
|
422 |
}
|
423 |
|
424 |
-
#my-sort {
|
425 |
font-weight: bold;
|
426 |
}
|
427 |
|
@@ -485,7 +483,17 @@ input.date {
|
|
485 |
font-weight: bold;
|
486 |
color: #000;
|
487 |
}
|
488 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
.settings-segment:not(.active) {
|
490 |
display: none;
|
491 |
}
|
@@ -632,7 +640,13 @@ input.date {
|
|
632 |
margin-bottom: 5px;
|
633 |
display: inline-block;
|
634 |
}
|
635 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
636 |
.fields-control-block .segment-header select {
|
637 |
width: auto;
|
638 |
}
|
@@ -653,7 +667,7 @@ input.date {
|
|
653 |
|
654 |
#manage_fields.summary-products-report #unselected_fields .subsubsub .block-segment-choice[data-segment="products"] {
|
655 |
display: inline;
|
656 |
-
}
|
657 |
|
658 |
#manage_fields.summary-products-report #unselected_fields .tab-actions-buttons {
|
659 |
margin-top: 0;
|
@@ -724,6 +738,7 @@ input.date {
|
|
724 |
{
|
725 |
display: inline-block;
|
726 |
max-width: 45px;
|
|
|
727 |
}
|
728 |
|
729 |
.datetime-picker-control .delimiter {
|
@@ -771,4 +786,110 @@ input.date {
|
|
771 |
#manage_fields.summary-customers-report #unselected_fields .subsubsub .block-segment-choice[data-segment="billing"],
|
772 |
#manage_fields.summary-customers-report #unselected_fields .subsubsub .block-segment-choice[data-segment="shipping"] {
|
773 |
display: inline;
|
774 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
84 |
list-style-type: none;
|
85 |
}
|
86 |
|
87 |
+
.btn-edit, .btn-trash {
|
88 |
+
padding: 0 3px !important;
|
|
|
|
|
|
|
|
|
89 |
}
|
90 |
|
91 |
.padding-10 {
|
144 |
float: left;
|
145 |
width: 100%;
|
146 |
}
|
|
|
147 |
.all-input-100pr input[type="text"] {
|
148 |
width: 100%;
|
149 |
}
|
279 |
width: 48%;
|
280 |
vertical-align: top;
|
281 |
}
|
282 |
+
#custom_date_format_block {
|
283 |
+
margin-top: .3rem;
|
284 |
+
}
|
285 |
#custom_date_format_block input, #custom_time_format_block input {
|
286 |
+
width: 70.5%;
|
287 |
+
margin-left: 38px;
|
288 |
}
|
289 |
|
290 |
#date_format_block select, #time_format_block select {
|
334 |
|
335 |
#woe-admin .tools-textarea {
|
336 |
width: 66.66667%;
|
337 |
+
margin-top: 1rem;
|
338 |
}
|
339 |
|
340 |
#woe-admin .woe-input-simple input, #woe-admin .woe-select input, #woe-admin .woe-input-simple textarea, #woe-admin .woe-select textarea, .woe-calendar-wrapper .woe-input-simple input, .woe-calendar-wrapper .woe-select input, .woe-calendar-wrapper .woe-input-simple textarea, .woe-calendar-wrapper .woe-select textarea, #woe-admin .woe-checkbox label, #woe-admin .woe-radiobox label, #woe-admin .woe-switch label, #woe-admin .woe-select.woe-select-info-label .woe-label-big label, .woe-calendar-wrapper .woe-select.woe-select-info-label #woe-admin .woe-label-big label, .woe-calendar-wrapper .woe-checkbox label, .woe-calendar-wrapper .woe-radiobox label, .woe-calendar-wrapper .woe-switch label, .woe-calendar-wrapper .woe-select.woe-select-info-label .woe-label-big label, #woe-admin .woe-checkbutton input + label, .woe-calendar-wrapper .woe-checkbutton input + label, #woe-admin .col-time, .woe-calendar-wrapper .col-time, #woe-admin .woe-box-title, .woe-calendar-wrapper .woe-box-title, .select2-container.select2-container-woe .select2-selection-single, .select2-container.select2-container-woe .select2-selection-multiple {
|
419 |
font-weight: normal;
|
420 |
}
|
421 |
|
422 |
+
#my-sort,#my-change-status {
|
423 |
font-weight: bold;
|
424 |
}
|
425 |
|
483 |
font-weight: bold;
|
484 |
color: #000;
|
485 |
}
|
486 |
+
#woe_hints_block {
|
487 |
+
margin-top: 10px;
|
488 |
+
}
|
489 |
+
.woe_segment_tips {
|
490 |
+
display: none;
|
491 |
+
}
|
492 |
+
.woe_segment_tips.active {
|
493 |
+
color: #5b841b;
|
494 |
+
font-size: .85rem;
|
495 |
+
display: block;
|
496 |
+
}
|
497 |
.settings-segment:not(.active) {
|
498 |
display: none;
|
499 |
}
|
640 |
margin-bottom: 5px;
|
641 |
display: inline-block;
|
642 |
}
|
643 |
+
.fields-control-block .segment-header_flex-styles {
|
644 |
+
display: inline-flex;
|
645 |
+
justify-content: space-around;
|
646 |
+
align-items: center;
|
647 |
+
max-width: 185px;
|
648 |
+
width: 100%;
|
649 |
+
}
|
650 |
.fields-control-block .segment-header select {
|
651 |
width: auto;
|
652 |
}
|
667 |
|
668 |
#manage_fields.summary-products-report #unselected_fields .subsubsub .block-segment-choice[data-segment="products"] {
|
669 |
display: inline;
|
670 |
+
}
|
671 |
|
672 |
#manage_fields.summary-products-report #unselected_fields .tab-actions-buttons {
|
673 |
margin-top: 0;
|
738 |
{
|
739 |
display: inline-block;
|
740 |
max-width: 45px;
|
741 |
+
padding: 0 .4rem;
|
742 |
}
|
743 |
|
744 |
.datetime-picker-control .delimiter {
|
786 |
#manage_fields.summary-customers-report #unselected_fields .subsubsub .block-segment-choice[data-segment="billing"],
|
787 |
#manage_fields.summary-customers-report #unselected_fields .subsubsub .block-segment-choice[data-segment="shipping"] {
|
788 |
display: inline;
|
789 |
+
}
|
790 |
+
.mb-0 {
|
791 |
+
margin-bottom: 0;
|
792 |
+
}
|
793 |
+
.mb-2 {
|
794 |
+
margin-bottom: 2rem;
|
795 |
+
}
|
796 |
+
.mt-sm {
|
797 |
+
margin-top: .5rem;
|
798 |
+
}
|
799 |
+
.line-height__3 {
|
800 |
+
line-height: 3;
|
801 |
+
}
|
802 |
+
.line-height__2 {
|
803 |
+
line-height: 2;
|
804 |
+
}
|
805 |
+
.output_destination__position {
|
806 |
+
margin: 0 .2rem .3rem 0 !important;
|
807 |
+
}
|
808 |
+
.custom-fields__condotion-wrapper {
|
809 |
+
display: flex;
|
810 |
+
flex-wrap: wrap;
|
811 |
+
justify-content: space-between;
|
812 |
+
width: 85%;
|
813 |
+
}
|
814 |
+
.custom-fields__condotion-wrapper_position {
|
815 |
+
margin-bottom: .5rem;
|
816 |
+
}
|
817 |
+
.custom-fields__condotion-wrapper > * {
|
818 |
+
height: 30px !important;
|
819 |
+
max-width: 170px !important;
|
820 |
+
margin: 0 !important;
|
821 |
+
}
|
822 |
+
input[type=number] {
|
823 |
+
min-height: 35px;
|
824 |
+
}
|
825 |
+
#d-schedule-1 {
|
826 |
+
margin: 15px 0;
|
827 |
+
}
|
828 |
+
.weekday {
|
829 |
+
margin-top: -5px;
|
830 |
+
}
|
831 |
+
|
832 |
+
.custom-fields__condotion-wrapper > .select2.select2-container {
|
833 |
+
height: 30px !important;
|
834 |
+
}
|
835 |
+
.select2-container .select2-selection--single {
|
836 |
+
height: 100%!important;
|
837 |
+
}
|
838 |
+
.select2-container .select2-selection--single .select2-selection__rendered {
|
839 |
+
height: 100%;
|
840 |
+
line-height: initial !important;
|
841 |
+
}
|
842 |
+
.select2-container,
|
843 |
+
.select2-container .select2-selection--single .select2-selection__arrow {
|
844 |
+
height: 100%!important;
|
845 |
+
}
|
846 |
+
.custom-fields__condotion-wrapper .selection .select2-selection__rendered,
|
847 |
+
.custom-fields__condotion-wrapper .selection .select2-selection__arrow {
|
848 |
+
display: flex !important ;
|
849 |
+
align-items: center;
|
850 |
+
}
|
851 |
+
.select2-container .select2-search__field {
|
852 |
+
min-width: initial !important;
|
853 |
+
}
|
854 |
+
@media( max-width: 1024px ) {
|
855 |
+
.custom-fields__condotion-wrapper {
|
856 |
+
justify-content: start;
|
857 |
+
}
|
858 |
+
.custom-fields__condotion-wrapper > * {
|
859 |
+
margin: 0 .3rem 0 0 !important;
|
860 |
+
}
|
861 |
+
}
|
862 |
+
.tab-actions-forms .segment-form .set-up__selects {
|
863 |
+
width: 54%;
|
864 |
+
max-width: 100%;
|
865 |
+
}
|
866 |
+
.tab-actions-forms .segment-form .set-up__selects_sm {
|
867 |
+
width: 221px;
|
868 |
+
max-width: 100%;
|
869 |
+
}
|
870 |
+
.div_custom.segment-form.all-segments > div,
|
871 |
+
.div_custom.products-segment > div,
|
872 |
+
.div_custom.product_items-segment > div,
|
873 |
+
.div_custom.coupons-segment > div {
|
874 |
+
margin-top: .2rem;
|
875 |
+
}
|
876 |
+
#my-export-date-field input[type="radio"] {
|
877 |
+
margin-right: 0;
|
878 |
+
}
|
879 |
+
#my-export-date-field label {
|
880 |
+
padding-right: .5rem;
|
881 |
+
}
|
882 |
+
.wp-core-ui .button, .wp-core-ui .button-secondary {
|
883 |
+
margin-right: .2rem;
|
884 |
+
margin-bottom: .2rem;
|
885 |
+
}
|
886 |
+
@media( max-width: 1440px ) {
|
887 |
+
.widefat .column-from_date,
|
888 |
+
.widefat .column-to_date {
|
889 |
+
width: 4.5rem;
|
890 |
+
}
|
891 |
+
.widefat .column-actions .button-secondary {
|
892 |
+
padding: 0 3px !important;
|
893 |
+
}
|
894 |
+
}
|
895 |
+
|
assets/css/orders_style.css
ADDED
@@ -0,0 +1,19 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
@media (min-width: 576px) and (max-width: 782px) {
|
2 |
+
th#woe_export_status {
|
3 |
+
display: table-cell !important;
|
4 |
+
}
|
5 |
+
th.manage-column.column-woe_export_status {
|
6 |
+
display: table-cell !important;
|
7 |
+
}
|
8 |
+
td.woe_export_status.column-woe_export_status {
|
9 |
+
display: table-cell !important;
|
10 |
+
padding: 1em;
|
11 |
+
line-height: 26px;
|
12 |
+
}
|
13 |
+
.wp-list-table tr:not(.inline-edit-row):not(.no-items) td:not(.column-primary)::before {
|
14 |
+
content: none;
|
15 |
+
}
|
16 |
+
.post-type-shop_order .wp-list-table tbody td {
|
17 |
+
padding: 1em !important;
|
18 |
+
}
|
19 |
+
}
|
assets/js/buttons.js
CHANGED
@@ -72,11 +72,14 @@ function woe_get_data() {
|
|
72 |
}
|
73 |
|
74 |
function woe_validate_export() {
|
75 |
-
|
76 |
if ( (
|
77 |
-
|
|
|
|
|
|
|
|
|
78 |
) && (
|
79 |
-
! jQuery( "[name='settings[title]']" ).val()
|
80 |
) ) {
|
81 |
alert( export_messages.empty_title );
|
82 |
jQuery( "[name='settings[title]']" ).focus();
|
@@ -232,7 +235,7 @@ function woe_get_all( start, percent, method ) {
|
|
232 |
|
233 |
if ( woe_is_ipad_or_iphone() || ( output_format == 'HTML' && settings_form.settings.display_html_report_in_browser ) ) {
|
234 |
|
235 |
-
|
236 |
ajaxurl.indexOf( '?' ) === - 1 ? '?' : '&'
|
237 |
) + 'action=order_exporter&method=export_download&format=' + download_format + '&file_id=' + window.file_id + '&tab=' + settings_form.woe_active_tab );
|
238 |
jQuery( '#progress_div .title-download' ).show();
|
72 |
}
|
73 |
|
74 |
function woe_validate_export() {
|
|
|
75 |
if ( (
|
76 |
+
mode == settings_form.EXPORT_PROFILE
|
77 |
+
||
|
78 |
+
mode == settings_form.EXPORT_ORDER_ACTION
|
79 |
+
||
|
80 |
+
mode == settings_form.EXPORT_SCHEDULE
|
81 |
) && (
|
82 |
+
! jQuery( "[name='settings[title]']" ).val().trim()
|
83 |
) ) {
|
84 |
alert( export_messages.empty_title );
|
85 |
jQuery( "[name='settings[title]']" ).focus();
|
235 |
|
236 |
if ( woe_is_ipad_or_iphone() || ( output_format == 'HTML' && settings_form.settings.display_html_report_in_browser ) ) {
|
237 |
|
238 |
+
jQuery( '#progress_div .title-download a' ).attr( 'href', ajaxurl + (
|
239 |
ajaxurl.indexOf( '?' ) === - 1 ? '?' : '&'
|
240 |
) + 'action=order_exporter&method=export_download&format=' + download_format + '&file_id=' + window.file_id + '&tab=' + settings_form.woe_active_tab );
|
241 |
jQuery( '#progress_div .title-download' ).show();
|
assets/js/export-fields.js
CHANGED
@@ -350,22 +350,22 @@ function woe_create_unselected_fields( old_output_format, format, format_changed
|
|
350 |
}
|
351 |
|
352 |
jQuery.each( window['all_fields'], function ( segment, fields ) {
|
|
|
|
|
353 |
|
354 |
-
|
|
|
355 |
|
356 |
-
|
357 |
-
|
|
|
358 |
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
segment,
|
366 |
-
format
|
367 |
-
);
|
368 |
-
} )
|
369 |
|
370 |
} );
|
371 |
}
|
@@ -664,7 +664,7 @@ function woe_make_repeat_options( index ) {
|
|
664 |
repeat_options_html['inside_one_cell'].push( line_delimiter_html );
|
665 |
|
666 |
var popup_options = jQuery( '<div class=""></div>' );
|
667 |
-
popup_options.append( jQuery( '<div class="segment-header">' + '<label>' + localize_settings_form.js_tpl_popup.add + ' ' + index + ' ' + localize_settings_form.js_tpl_popup.as + '</label>' + '</div>' ).append( repeat_select ) );
|
668 |
|
669 |
jQuery.each( repeat_options_html, function ( key, currentValue ) {
|
670 |
popup_options.append( jQuery( '<div class="display_as duplicate_' + key + '_options"></div>' ).append( currentValue ) );
|
@@ -1023,7 +1023,7 @@ jQuery( document ).ready( function ( $ ) {
|
|
1023 |
$( '.segment_choice' ).click( function () {
|
1024 |
|
1025 |
var segment = $( this ).data( 'segment' );
|
1026 |
-
|
1027 |
$('.tab-actions-buttons').hide();
|
1028 |
|
1029 |
if ($('.tab-actions-buttons.' + segment + '-actions-buttons').length) {
|
@@ -1038,6 +1038,9 @@ jQuery( document ).ready( function ( $ ) {
|
|
1038 |
$( '.settings-segment' ).removeClass( 'active' );
|
1039 |
$( '#' + $( this ).data( 'segment' ) + '_unselected_segment' ).addClass( 'active' );
|
1040 |
|
|
|
|
|
|
|
1041 |
window.location.href = $( this ).attr( 'href' );
|
1042 |
|
1043 |
woe_reset_field_contorls();
|
350 |
}
|
351 |
|
352 |
jQuery.each( window['all_fields'], function ( segment, fields ) {
|
353 |
+
|
354 |
+
fields.forEach( function ( value ) {
|
355 |
|
356 |
+
var $unselected_field_segment = jQuery( '#' + woe_sprintf( $unselected_segment_id, segment ) );
|
357 |
+
var index = value.key;
|
358 |
|
359 |
+
$unselected_field_segment.append(
|
360 |
+
woe_make_unselected_field( index, value, format, format_changed, segment )
|
361 |
+
);
|
362 |
|
363 |
+
woe_activate_draggable_field(
|
364 |
+
$unselected_field_segment.find( '.segment_field' ),
|
365 |
+
segment,
|
366 |
+
format
|
367 |
+
);
|
368 |
+
} )
|
|
|
|
|
|
|
|
|
369 |
|
370 |
} );
|
371 |
}
|
664 |
repeat_options_html['inside_one_cell'].push( line_delimiter_html );
|
665 |
|
666 |
var popup_options = jQuery( '<div class=""></div>' );
|
667 |
+
popup_options.append( jQuery( '<div class="segment-header segment-header_flex-styles">' + '<label>' + localize_settings_form.js_tpl_popup.add + ' ' + index + ' ' + localize_settings_form.js_tpl_popup.as + '</label>' + '</div>' ).append( repeat_select ) );
|
668 |
|
669 |
jQuery.each( repeat_options_html, function ( key, currentValue ) {
|
670 |
popup_options.append( jQuery( '<div class="display_as duplicate_' + key + '_options"></div>' ).append( currentValue ) );
|
1023 |
$( '.segment_choice' ).click( function () {
|
1024 |
|
1025 |
var segment = $( this ).data( 'segment' );
|
1026 |
+
|
1027 |
$('.tab-actions-buttons').hide();
|
1028 |
|
1029 |
if ($('.tab-actions-buttons.' + segment + '-actions-buttons').length) {
|
1038 |
$( '.settings-segment' ).removeClass( 'active' );
|
1039 |
$( '#' + $( this ).data( 'segment' ) + '_unselected_segment' ).addClass( 'active' );
|
1040 |
|
1041 |
+
$( '.woe_segment_tips' ).removeClass( 'active' );
|
1042 |
+
$( '#woe_tips_' + $( this ).data( 'segment' ) ).addClass( 'active' );
|
1043 |
+
|
1044 |
window.location.href = $( this ).attr( 'href' );
|
1045 |
|
1046 |
woe_reset_field_contorls();
|
assets/js/settings-form.js
CHANGED
@@ -143,7 +143,6 @@ var woe_form_submitting = false;
|
|
143 |
function woe_set_form_submitting() {
|
144 |
woe_form_submitting = true;
|
145 |
}
|
146 |
-
|
147 |
window.onload = function () {
|
148 |
|
149 |
var form = jQuery( '#export_job_settings' );
|
@@ -158,7 +157,12 @@ window.onload = function () {
|
|
158 |
};
|
159 |
|
160 |
window.addEventListener( "beforeunload", function ( e ) {
|
|
|
161 |
|
|
|
|
|
|
|
|
|
162 |
if ( woe_is_dirty( on_load_form_data ) && ! woe_form_submitting ) {
|
163 |
(
|
164 |
e || window.event
|
@@ -172,6 +176,13 @@ window.onload = function () {
|
|
172 |
|
173 |
jQuery( document ).ready( function ( $ ) {
|
174 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
175 |
$( '.my-hide-next' ).click( function () {
|
176 |
|
177 |
$( this ).next().toggle();
|
@@ -207,6 +218,14 @@ jQuery( document ).ready( function ( $ ) {
|
|
207 |
$( 'div#custom_php_code_textarea' ).toggle( $( this ).is( ':checked' ) );
|
208 |
} );
|
209 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
210 |
if (typeof settings_form.settings.show_date_time_picker_for_date_range !== 'undefined' && settings_form.settings.show_date_time_picker_for_date_range) {
|
211 |
if ( typeof woe_init_datetime_picker !== 'undefined' ) {
|
212 |
woe_init_datetime_picker($("#from_date"), {'hours': "00", 'minutes': "00", 'seconds': "00"});
|
143 |
function woe_set_form_submitting() {
|
144 |
woe_form_submitting = true;
|
145 |
}
|
|
|
146 |
window.onload = function () {
|
147 |
|
148 |
var form = jQuery( '#export_job_settings' );
|
157 |
};
|
158 |
|
159 |
window.addEventListener( "beforeunload", function ( e ) {
|
160 |
+
var clicked_el = e.target.activeElement;
|
161 |
|
162 |
+
if ( clicked_el.id === 'copy-to-profiles' ) {
|
163 |
+
woe_set_form_submitting();
|
164 |
+
}
|
165 |
+
|
166 |
if ( woe_is_dirty( on_load_form_data ) && ! woe_form_submitting ) {
|
167 |
(
|
168 |
e || window.event
|
176 |
|
177 |
jQuery( document ).ready( function ( $ ) {
|
178 |
|
179 |
+
function woe_disable_input_by_id( current_elem, element_id ) {
|
180 |
+
var $disabled = $( '#' + element_id );
|
181 |
+
( current_elem.checked === true )
|
182 |
+
? $disabled.attr( 'disabled', true )
|
183 |
+
: $disabled.removeAttr( 'disabled' );
|
184 |
+
}
|
185 |
+
|
186 |
$( '.my-hide-next' ).click( function () {
|
187 |
|
188 |
$( this ).next().toggle();
|
218 |
$( 'div#custom_php_code_textarea' ).toggle( $( this ).is( ':checked' ) );
|
219 |
} );
|
220 |
|
221 |
+
$( '#woe_format_disabler' ).on( 'change', function() {
|
222 |
+
woe_disable_input_by_id( this, 'woe_format_disabled' );
|
223 |
+
} ).trigger( 'change' );
|
224 |
+
|
225 |
+
$( '#woe_format_tsv_disabler').on( 'change', function() {
|
226 |
+
woe_disable_input_by_id( this, 'woe_format_tsv_disabled' );
|
227 |
+
} ).trigger( 'change' );
|
228 |
+
|
229 |
if (typeof settings_form.settings.show_date_time_picker_for_date_range !== 'undefined' && settings_form.settings.show_date_time_picker_for_date_range) {
|
230 |
if ( typeof woe_init_datetime_picker !== 'undefined' ) {
|
231 |
woe_init_datetime_picker($("#from_date"), {'hours': "00", 'minutes': "00", 'seconds': "00"});
|
classes/FPDF/class-woe-pdf-mc-table.php
CHANGED
@@ -50,6 +50,7 @@ class WOE_PDF_MC_Table extends WOE_FPDF {
|
|
50 |
'size' => 5,
|
51 |
'text_color' => array( 0, 0, 0 ),
|
52 |
'background_color' => array( 255, 255, 255 ),
|
|
|
53 |
),
|
54 |
'footer' => array(
|
55 |
'title' => '',
|
@@ -180,8 +181,21 @@ class WOE_PDF_MC_Table extends WOE_FPDF {
|
|
180 |
if ( ! $data ) {
|
181 |
return;
|
182 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
$widths = ! $widths ? $this->getRowWidths( $data ) : $widths;
|
184 |
$h = ! $h ? $this->getRowHeight( $widths, $data ) : $h;
|
|
|
|
|
|
|
|
|
|
|
|
|
185 |
//Issue a page break first if needed
|
186 |
$this->CheckPageBreak( $h );
|
187 |
|
@@ -195,11 +209,7 @@ class WOE_PDF_MC_Table extends WOE_FPDF {
|
|
195 |
);
|
196 |
}
|
197 |
$data = array_slice( $data, 0, $columns_count );
|
198 |
-
|
199 |
-
$this->SetFillColor($style['background_color'][0], $style['background_color'][1], $style['background_color'][2]);
|
200 |
-
$this->SetTextColor($style['text_color'][0], $style['text_color'][1], $style['text_color'][2]);
|
201 |
-
$this->SetFontSize($style['size']);
|
202 |
-
}
|
203 |
//Draw the cells of the row
|
204 |
for ( $i = 0; $i < count( $data ); $i ++ ) {
|
205 |
$w = $widths[ $i ];
|
@@ -211,10 +221,20 @@ class WOE_PDF_MC_Table extends WOE_FPDF {
|
|
211 |
//Draw the border
|
212 |
$this->Rect( $x, $y, $w, $h, $this->table_props['border_style'] );
|
213 |
|
214 |
-
if (
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
$source = $data[ $i ]['value'];
|
216 |
$type = strtoupper( pathinfo( $source, PATHINFO_EXTENSION ) );
|
217 |
-
$this->Image( $source, $x +
|
218 |
} elseif ( ! is_array( $data[ $i ] ) ) {
|
219 |
//Print the text
|
220 |
$this->MultiCell( $w, $h, $data[ $i ], 0, $horizontal_align, $vertical_align );
|
@@ -227,6 +247,30 @@ class WOE_PDF_MC_Table extends WOE_FPDF {
|
|
227 |
$this->Ln( $h );
|
228 |
}
|
229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
230 |
protected function getColumnCountInPage( $widths ) {
|
231 |
$count = count( $widths );
|
232 |
if ( $this->table_props['stretch'] ) {
|
50 |
'size' => 5,
|
51 |
'text_color' => array( 0, 0, 0 ),
|
52 |
'background_color' => array( 255, 255, 255 ),
|
53 |
+
'image_height' => null,
|
54 |
),
|
55 |
'footer' => array(
|
56 |
'title' => '',
|
181 |
if ( ! $data ) {
|
182 |
return;
|
183 |
}
|
184 |
+
|
185 |
+
if ( $style ) {
|
186 |
+
$this->SetFillColor( $style['background_color'][0], $style['background_color'][1], $style['background_color'][2] );
|
187 |
+
$this->SetTextColor( $style['text_color'][0], $style['text_color'][1], $style['text_color'][2] );
|
188 |
+
$this->SetFontSize( $style['size'] );
|
189 |
+
}
|
190 |
+
|
191 |
$widths = ! $widths ? $this->getRowWidths( $data ) : $widths;
|
192 |
$h = ! $h ? $this->getRowHeight( $widths, $data ) : $h;
|
193 |
+
|
194 |
+
$image_height = floatval( $this->table_row_props['image_height'] );
|
195 |
+
if ( $image_height && $this->isRowWithImage( $data ) && $h < $image_height ) {
|
196 |
+
$h = $image_height;
|
197 |
+
}
|
198 |
+
|
199 |
//Issue a page break first if needed
|
200 |
$this->CheckPageBreak( $h );
|
201 |
|
209 |
);
|
210 |
}
|
211 |
$data = array_slice( $data, 0, $columns_count );
|
212 |
+
|
|
|
|
|
|
|
|
|
213 |
//Draw the cells of the row
|
214 |
for ( $i = 0; $i < count( $data ); $i ++ ) {
|
215 |
$w = $widths[ $i ];
|
221 |
//Draw the border
|
222 |
$this->Rect( $x, $y, $w, $h, $this->table_props['border_style'] );
|
223 |
|
224 |
+
if ( $this->isImageCell($data[ $i ]) ) {
|
225 |
+
$margin = 1 / 2;
|
226 |
+
|
227 |
+
/** move image to center if cell height larger than image height */
|
228 |
+
$y_offset = floatval( 0 );
|
229 |
+
if ( $image_height && $image_height < $h ) {
|
230 |
+
$y_offset += ( $h - $image_height ) / 2;
|
231 |
+
} else {
|
232 |
+
$image_height = $h;
|
233 |
+
}
|
234 |
+
|
235 |
$source = $data[ $i ]['value'];
|
236 |
$type = strtoupper( pathinfo( $source, PATHINFO_EXTENSION ) );
|
237 |
+
$this->Image( $source, $x + $margin, $y + $margin + $y_offset, $w - 2 * $margin, $image_height - 2 * $margin, $type );
|
238 |
} elseif ( ! is_array( $data[ $i ] ) ) {
|
239 |
//Print the text
|
240 |
$this->MultiCell( $w, $h, $data[ $i ], 0, $horizontal_align, $vertical_align );
|
247 |
$this->Ln( $h );
|
248 |
}
|
249 |
|
250 |
+
/**
|
251 |
+
* @param array $data
|
252 |
+
*
|
253 |
+
* @return bool
|
254 |
+
*/
|
255 |
+
protected function isRowWithImage( $data ) {
|
256 |
+
foreach ( $data as $value ) {
|
257 |
+
if ( $this->isImageCell( $value ) ) {
|
258 |
+
return true;
|
259 |
+
}
|
260 |
+
}
|
261 |
+
|
262 |
+
return false;
|
263 |
+
}
|
264 |
+
|
265 |
+
/**
|
266 |
+
* @param mixed $value
|
267 |
+
*
|
268 |
+
* @return bool
|
269 |
+
*/
|
270 |
+
protected function isImageCell( $value ) {
|
271 |
+
return isset( $value['type'], $value['value'] ) && 'image' === $value['type'] && file_exists( $value['value'] );
|
272 |
+
}
|
273 |
+
|
274 |
protected function getColumnCountInPage( $widths ) {
|
275 |
$count = count( $widths );
|
276 |
if ( $this->table_props['stretch'] ) {
|
classes/admin/class-wc-order-export-manage.php
CHANGED
@@ -46,7 +46,7 @@ class WC_Order_Export_Manage {
|
|
46 |
// arrays
|
47 |
static function get_export_settings_collection( $mode ) {
|
48 |
$name = self::get_settings_name_for_mode( $mode );
|
49 |
-
|
50 |
return get_option( $name, array() );
|
51 |
}
|
52 |
|
@@ -165,7 +165,7 @@ class WC_Order_Export_Manage {
|
|
165 |
if ( ! isset( $settings['version'] ) ) {
|
166 |
$settings = self::convert_settings_to_version_2( $mode, $settings );
|
167 |
}
|
168 |
-
|
169 |
return self::apply_defaults( $mode, $settings );
|
170 |
}
|
171 |
|
@@ -176,6 +176,8 @@ class WC_Order_Export_Manage {
|
|
176 |
'statuses' => array(),
|
177 |
'from_date' => '',
|
178 |
'to_date' => '',
|
|
|
|
|
179 |
'shipping_locations' => array(),
|
180 |
'shipping_methods' => array(),
|
181 |
'item_names' => array(),
|
@@ -213,6 +215,8 @@ class WC_Order_Export_Manage {
|
|
213 |
'statuses' => ($mode == "now" OR $mode == "profiles") ? array("wc-pending","wc-processing","wc-on-hold","wc-completed") : array(),
|
214 |
'from_date' => '',
|
215 |
'to_date' => '',
|
|
|
|
|
216 |
'shipping_locations' => array(),
|
217 |
'shipping_methods' => array(),
|
218 |
'item_names' => array(),
|
@@ -228,6 +232,7 @@ class WC_Order_Export_Manage {
|
|
228 |
'product_categories' => array(),
|
229 |
'product_vendors' => array(),
|
230 |
'products' => array(),
|
|
|
231 |
'exclude_products' => array(),
|
232 |
'product_taxonomies' => array(),
|
233 |
'product_custom_fields' => array(),
|
@@ -314,24 +319,26 @@ class WC_Order_Export_Manage {
|
|
314 |
'format_html_row_images_height' => 100,
|
315 |
'format_html_custom_css' => $settings['default_html_css'],
|
316 |
|
317 |
-
'all_products_from_order'
|
318 |
-
'skip_refunded_items'
|
319 |
-
'skip_suborders'
|
320 |
-
'export_refunds'
|
321 |
-
'
|
322 |
-
'
|
323 |
-
'
|
324 |
-
'
|
325 |
-
'
|
326 |
-
'
|
327 |
-
'
|
328 |
-
'
|
329 |
-
'
|
330 |
-
'
|
331 |
-
'
|
332 |
-
'
|
333 |
-
'
|
334 |
-
'
|
|
|
|
|
335 |
|
336 |
'summary_report_by_products' => 0,
|
337 |
'duplicated_fields_settings' => array(
|
@@ -367,6 +374,7 @@ class WC_Order_Export_Manage {
|
|
367 |
if ( ! isset( $settings['export_rule_field'] ) AND $mode == WC_Order_Export_Manage::EXPORT_SCHEDULE ) {
|
368 |
$settings['export_rule_field'] = 'modified';
|
369 |
}
|
|
|
370 |
|
371 |
foreach ( array( 'order_fields', 'order_product_fields', 'order_coupon_fields' ) as $index ) {
|
372 |
if ( ! isset( $settings[ $index ] ) ) {
|
@@ -378,7 +386,6 @@ class WC_Order_Export_Manage {
|
|
378 |
'order_product_fields' => 'products',
|
379 |
'order_coupon_fields' => 'coupons',
|
380 |
);
|
381 |
-
|
382 |
$settings['order_fields'] = array_merge(
|
383 |
$settings['order_fields'],
|
384 |
array_map( function ( $value ) use ( $map_segment, $index ) {
|
@@ -394,6 +401,7 @@ class WC_Order_Export_Manage {
|
|
394 |
|
395 |
// add parent fields if not exists
|
396 |
foreach ( array( 'products', 'coupons' ) as $main_field ) {
|
|
|
397 |
if ( in_array( $main_field, wp_list_pluck( $settings['order_fields'], 'key' ) ) ) {
|
398 |
continue;
|
399 |
}
|
46 |
// arrays
|
47 |
static function get_export_settings_collection( $mode ) {
|
48 |
$name = self::get_settings_name_for_mode( $mode );
|
49 |
+
|
50 |
return get_option( $name, array() );
|
51 |
}
|
52 |
|
165 |
if ( ! isset( $settings['version'] ) ) {
|
166 |
$settings = self::convert_settings_to_version_2( $mode, $settings );
|
167 |
}
|
168 |
+
|
169 |
return self::apply_defaults( $mode, $settings );
|
170 |
}
|
171 |
|
176 |
'statuses' => array(),
|
177 |
'from_date' => '',
|
178 |
'to_date' => '',
|
179 |
+
'from_order_id' => '',
|
180 |
+
'to_order_id' => '',
|
181 |
'shipping_locations' => array(),
|
182 |
'shipping_methods' => array(),
|
183 |
'item_names' => array(),
|
215 |
'statuses' => ($mode == "now" OR $mode == "profiles") ? array("wc-pending","wc-processing","wc-on-hold","wc-completed") : array(),
|
216 |
'from_date' => '',
|
217 |
'to_date' => '',
|
218 |
+
'from_order_id' => '',
|
219 |
+
'to_order_id' => '',
|
220 |
'shipping_locations' => array(),
|
221 |
'shipping_methods' => array(),
|
222 |
'item_names' => array(),
|
232 |
'product_categories' => array(),
|
233 |
'product_vendors' => array(),
|
234 |
'products' => array(),
|
235 |
+
'product_sku' => '',
|
236 |
'exclude_products' => array(),
|
237 |
'product_taxonomies' => array(),
|
238 |
'product_custom_fields' => array(),
|
319 |
'format_html_row_images_height' => 100,
|
320 |
'format_html_custom_css' => $settings['default_html_css'],
|
321 |
|
322 |
+
'all_products_from_order' => 1,
|
323 |
+
'skip_refunded_items' => 1,
|
324 |
+
'skip_suborders' => 0,
|
325 |
+
'export_refunds' => 0,
|
326 |
+
'export_matched_items' => 0,
|
327 |
+
'date_format' => 'Y-m-d',
|
328 |
+
'time_format' => 'H:i',
|
329 |
+
'sort_direction' => 'DESC',
|
330 |
+
'sort' => 'order_id',
|
331 |
+
'format_number_fields' => 0,
|
332 |
+
'export_all_comments' => 0,
|
333 |
+
'export_refund_notes' => 0,
|
334 |
+
'strip_tags_product_fields' => 0,
|
335 |
+
'cleanup_phone' => 0,
|
336 |
+
'enable_debug' => 0,
|
337 |
+
'billing_details_for_shipping' => 0,
|
338 |
+
'custom_php' => 0,
|
339 |
+
'custom_php_code' => '',
|
340 |
+
'mark_exported_orders' => 0,
|
341 |
+
'export_unmarked_orders' => 0,
|
342 |
|
343 |
'summary_report_by_products' => 0,
|
344 |
'duplicated_fields_settings' => array(
|
374 |
if ( ! isset( $settings['export_rule_field'] ) AND $mode == WC_Order_Export_Manage::EXPORT_SCHEDULE ) {
|
375 |
$settings['export_rule_field'] = 'modified';
|
376 |
}
|
377 |
+
|
378 |
|
379 |
foreach ( array( 'order_fields', 'order_product_fields', 'order_coupon_fields' ) as $index ) {
|
380 |
if ( ! isset( $settings[ $index ] ) ) {
|
386 |
'order_product_fields' => 'products',
|
387 |
'order_coupon_fields' => 'coupons',
|
388 |
);
|
|
|
389 |
$settings['order_fields'] = array_merge(
|
390 |
$settings['order_fields'],
|
391 |
array_map( function ( $value ) use ( $map_segment, $index ) {
|
401 |
|
402 |
// add parent fields if not exists
|
403 |
foreach ( array( 'products', 'coupons' ) as $main_field ) {
|
404 |
+
|
405 |
if ( in_array( $main_field, wp_list_pluck( $settings['order_fields'], 'key' ) ) ) {
|
406 |
continue;
|
407 |
}
|
classes/admin/class-wc-order-export-settings.php
CHANGED
@@ -26,6 +26,8 @@ class WC_Order_Export_Main_Settings {
|
|
26 |
'zapier_api_key' => '12345678',
|
27 |
'zapier_file_timeout' => 60,
|
28 |
'show_date_time_picker_for_date_range' => false,
|
|
|
|
|
29 |
'display_html_report_in_browser' => false,
|
30 |
'default_date_range_for_export_now' => '',
|
31 |
'default_html_css' => '',
|
26 |
'zapier_api_key' => '12345678',
|
27 |
'zapier_file_timeout' => 60,
|
28 |
'show_date_time_picker_for_date_range' => false,
|
29 |
+
'display_profiles_export_date_range' => false,
|
30 |
+
'show_destination_in_profile' => false,
|
31 |
'display_html_report_in_browser' => false,
|
32 |
'default_date_range_for_export_now' => '',
|
33 |
'default_html_css' => '',
|
classes/admin/tabs/ajax/class-wc-order-export-ajax.php
CHANGED
@@ -29,10 +29,33 @@ class WC_Order_Export_Ajax {
|
|
29 |
|
30 |
|
31 |
public function ajax_export_download_bulk_file() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
|
34 |
-
|
35 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
}
|
37 |
|
38 |
protected function get_settings_from_bulk_request() {
|
@@ -43,4 +66,5 @@ class WC_Order_Export_Ajax {
|
|
43 |
|
44 |
return $settings;
|
45 |
}
|
|
|
46 |
}
|
29 |
|
30 |
|
31 |
public function ajax_export_download_bulk_file() {
|
32 |
+
|
33 |
+
$main_settings = WC_Order_Export_Main_Settings::get_settings();
|
34 |
+
$destination_flag = $main_settings['show_destination_in_profile'];
|
35 |
+
$settings = array_merge( WC_Order_Export_Manage::get_defaults_filters(), $this->get_settings_from_bulk_request() );
|
36 |
+
$browser_output = empty($settings['destination']['not_download_browser']);
|
37 |
+
$result = $this->build_and_send_file( $settings, $destination_flag, $browser_output );
|
38 |
+
|
39 |
+
$output = sprintf( __( 'Export as profile "%s".', 'woo-order-export-lite' ) . "<br>\n" . __( 'Result: %s', 'woo-order-export-lite' ),
|
40 |
+
$settings['title'], implode("<br>\n\r", array_map(function ($v) { return $v['text']; }, $result)) );
|
41 |
+
|
42 |
+
$logger = function_exists( "wc_get_logger" ) ? wc_get_logger() : false; //new logger in 3.0+
|
43 |
+
$logger_context = array( 'source' => 'woo-order-export-lite' );
|
44 |
+
if ( $logger && ! empty( $result ) ) {
|
45 |
+
$logger->info( $output, $logger_context );
|
46 |
+
}
|
47 |
|
48 |
+
//admin will see this message in any case , later
|
49 |
+
if ( !empty( $result ) AND $settings['title'] )
|
50 |
+
set_transient( WC_Order_Export_Admin::last_bulk_export_results, $output );
|
51 |
+
if ( !$browser_output ) { // we don't send file to user, so we must redirect to previous page!
|
52 |
+
if( isset( $_SERVER['HTTP_REFERER'] ) ) {
|
53 |
+
wp_redirect( $_SERVER['HTTP_REFERER'] );
|
54 |
+
exit();
|
55 |
+
} else { // if we don't know the referer - just show the message
|
56 |
+
die($output);
|
57 |
+
}
|
58 |
+
}
|
59 |
}
|
60 |
|
61 |
protected function get_settings_from_bulk_request() {
|
66 |
|
67 |
return $settings;
|
68 |
}
|
69 |
+
|
70 |
}
|
classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php
CHANGED
@@ -7,18 +7,26 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
7 |
use WC_Order_Export_Ajax_Helpers;
|
8 |
|
9 |
public function ajax_preview() {
|
10 |
-
|
|
|
11 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
12 |
// use unsaved settings
|
13 |
|
14 |
do_action( 'woe_start_preview_job', $_POST['id'], $settings );
|
15 |
|
16 |
WC_Order_Export_Engine::kill_buffers();
|
|
|
17 |
ob_start(); // we need html for preview , even empty!
|
|
|
|
|
18 |
$total = WC_Order_Export_Engine::build_file( $settings, 'estimate_preview', 'file', 0, 0, 'test');
|
|
|
|
|
19 |
WC_Order_Export_Engine::build_file( $settings, 'preview', 'browser', 0, $_POST['limit'] );
|
|
|
20 |
$html = ob_get_contents();
|
21 |
ob_end_clean();
|
|
|
22 |
echo json_encode( array( 'total' => $total, 'html' => $html ) );
|
23 |
}
|
24 |
|
@@ -33,7 +41,6 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
33 |
}
|
34 |
|
35 |
public function ajax_export_start() {
|
36 |
-
|
37 |
$this->start_prevent_object_cache();
|
38 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
39 |
|
@@ -41,7 +48,6 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
41 |
if ( ! $filename ) {
|
42 |
die( __( 'Can\'t create temporary file', 'woo-order-export-lite' ) );
|
43 |
}
|
44 |
-
|
45 |
//no free space or other file system errors?
|
46 |
try {
|
47 |
file_put_contents( $filename, '' );
|
@@ -82,7 +88,7 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
82 |
}
|
83 |
|
84 |
$file = WC_Order_Export_Engine::build_file_full( $settings );
|
85 |
-
|
86 |
if ( $file !== false ) {
|
87 |
$file_id = current_time( 'timestamp' );
|
88 |
$this->start_prevent_object_cache();
|
@@ -93,7 +99,6 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
93 |
|
94 |
$_GET['format'] = $settings['format'];
|
95 |
$_GET['file_id'] = $_REQUEST['file_id'] = $file_id;
|
96 |
-
|
97 |
$filename = WC_Order_Export_Engine::make_filename( $settings['export_filename'] );
|
98 |
$this->start_prevent_object_cache();
|
99 |
set_transient( $this->tempfile_prefix . 'download_filename', $filename, 60 );
|
@@ -120,7 +125,6 @@ trait WC_Order_Export_Admin_Tab_Abstract_Ajax_Export {
|
|
120 |
}
|
121 |
|
122 |
public function ajax_export_finish() {
|
123 |
-
|
124 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
125 |
WC_Order_Export_Engine::build_file( $settings, 'finish', 'file', 0, 0, $this->get_temp_file_name() );
|
126 |
|
7 |
use WC_Order_Export_Ajax_Helpers;
|
8 |
|
9 |
public function ajax_preview() {
|
10 |
+
global $wp_filter;
|
11 |
+
|
12 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
13 |
// use unsaved settings
|
14 |
|
15 |
do_action( 'woe_start_preview_job', $_POST['id'], $settings );
|
16 |
|
17 |
WC_Order_Export_Engine::kill_buffers();
|
18 |
+
|
19 |
ob_start(); // we need html for preview , even empty!
|
20 |
+
|
21 |
+
$currrent_wp_filter = $wp_filter;
|
22 |
$total = WC_Order_Export_Engine::build_file( $settings, 'estimate_preview', 'file', 0, 0, 'test');
|
23 |
+
$wp_filter = $currrent_wp_filter;//revert all hooks/fiilters added by build_file
|
24 |
+
|
25 |
WC_Order_Export_Engine::build_file( $settings, 'preview', 'browser', 0, $_POST['limit'] );
|
26 |
+
|
27 |
$html = ob_get_contents();
|
28 |
ob_end_clean();
|
29 |
+
|
30 |
echo json_encode( array( 'total' => $total, 'html' => $html ) );
|
31 |
}
|
32 |
|
41 |
}
|
42 |
|
43 |
public function ajax_export_start() {
|
|
|
44 |
$this->start_prevent_object_cache();
|
45 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
46 |
|
48 |
if ( ! $filename ) {
|
49 |
die( __( 'Can\'t create temporary file', 'woo-order-export-lite' ) );
|
50 |
}
|
|
|
51 |
//no free space or other file system errors?
|
52 |
try {
|
53 |
file_put_contents( $filename, '' );
|
88 |
}
|
89 |
|
90 |
$file = WC_Order_Export_Engine::build_file_full( $settings );
|
91 |
+
//$order_id = WC_Order_Export_Engine::$orders_for_export;
|
92 |
if ( $file !== false ) {
|
93 |
$file_id = current_time( 'timestamp' );
|
94 |
$this->start_prevent_object_cache();
|
99 |
|
100 |
$_GET['format'] = $settings['format'];
|
101 |
$_GET['file_id'] = $_REQUEST['file_id'] = $file_id;
|
|
|
102 |
$filename = WC_Order_Export_Engine::make_filename( $settings['export_filename'] );
|
103 |
$this->start_prevent_object_cache();
|
104 |
set_transient( $this->tempfile_prefix . 'download_filename', $filename, 60 );
|
125 |
}
|
126 |
|
127 |
public function ajax_export_finish() {
|
|
|
128 |
$settings = WC_Order_Export_Manage::make_new_settings( $_POST );
|
129 |
WC_Order_Export_Engine::build_file( $settings, 'finish', 'file', 0, 0, $this->get_temp_file_name() );
|
130 |
|
classes/admin/tabs/ajax/trait-wc-order-export-ajax-helpers.php
CHANGED
@@ -35,7 +35,7 @@ trait WC_Order_Export_Ajax_Helpers {
|
|
35 |
if ( empty( $download_name ) ) {
|
36 |
$download_name = "orders.tsv";
|
37 |
}
|
38 |
-
header( 'Content-type: text/
|
39 |
break;
|
40 |
case 'JSON':
|
41 |
if ( empty( $download_name ) ) {
|
@@ -135,12 +135,19 @@ trait WC_Order_Export_Ajax_Helpers {
|
|
135 |
$this->stop_prevent_object_cache();
|
136 |
}
|
137 |
|
138 |
-
protected function build_and_send_file( $settings ) {
|
|
|
139 |
$filename = WC_Order_Export_Engine::build_file_full( $settings, '', 0, explode( ",", $_REQUEST['ids'] ) );
|
|
|
140 |
WC_Order_Export_Manage::set_correct_file_ext( $settings );
|
141 |
-
|
142 |
-
|
143 |
-
|
|
|
|
|
|
|
|
|
|
|
144 |
}
|
145 |
|
146 |
}
|
35 |
if ( empty( $download_name ) ) {
|
36 |
$download_name = "orders.tsv";
|
37 |
}
|
38 |
+
header( 'Content-type: text/tsv' );
|
39 |
break;
|
40 |
case 'JSON':
|
41 |
if ( empty( $download_name ) ) {
|
135 |
$this->stop_prevent_object_cache();
|
136 |
}
|
137 |
|
138 |
+
protected function build_and_send_file( $settings, $export = false, $browser_output = true ) {
|
139 |
+
$result = [];
|
140 |
$filename = WC_Order_Export_Engine::build_file_full( $settings, '', 0, explode( ",", $_REQUEST['ids'] ) );
|
141 |
+
$download_name = WC_Order_Export_Engine::make_filename( $settings['export_filename'] );
|
142 |
WC_Order_Export_Manage::set_correct_file_ext( $settings );
|
143 |
+
if ( $export ) {
|
144 |
+
$result = WC_Order_Export_Pro_Engine::export( $settings, $filename );
|
145 |
+
}
|
146 |
+
if ( $browser_output ) {
|
147 |
+
$this->send_headers( $settings['format'], $download_name );
|
148 |
+
$this->send_contents_delete_file( $filename );
|
149 |
+
}
|
150 |
+
return $result;
|
151 |
}
|
152 |
|
153 |
}
|
classes/admin/tabs/class-wc-order-export-admin-tab-abstract.php
CHANGED
@@ -10,6 +10,12 @@ class WC_Order_Export_Admin_Tab_Abstract {
|
|
10 |
|
11 |
protected $title;
|
12 |
|
|
|
|
|
|
|
|
|
|
|
|
|
13 |
public static function get_key() {
|
14 |
return static::KEY;
|
15 |
}
|
@@ -18,6 +24,9 @@ class WC_Order_Export_Admin_Tab_Abstract {
|
|
18 |
return $this->title;
|
19 |
}
|
20 |
|
|
|
|
|
|
|
21 |
public function process() {
|
22 |
}
|
23 |
|
10 |
|
11 |
protected $title;
|
12 |
|
13 |
+
protected $settings;
|
14 |
+
|
15 |
+
public function __construct() {
|
16 |
+
$this->settings = WC_Order_Export_Main_Settings::get_settings();
|
17 |
+
}
|
18 |
+
|
19 |
public static function get_key() {
|
20 |
return static::KEY;
|
21 |
}
|
24 |
return $this->title;
|
25 |
}
|
26 |
|
27 |
+
public function get_settings() {
|
28 |
+
return $this->settings;
|
29 |
+
}
|
30 |
public function process() {
|
31 |
}
|
32 |
|
classes/admin/tabs/class-wc-order-export-admin-tab-profiles.php
CHANGED
@@ -7,7 +7,8 @@ class WC_Order_Export_Admin_Tab_Profiles extends WC_Order_Export_Admin_Tab_Abstr
|
|
7 |
const KEY = 'profiles';
|
8 |
|
9 |
public function __construct() {
|
10 |
-
$this->title = __( 'Profiles', 'woo-order-export-lite' );
|
|
|
11 |
}
|
12 |
|
13 |
public function render() {
|
7 |
const KEY = 'profiles';
|
8 |
|
9 |
public function __construct() {
|
10 |
+
$this->title = "🔒 " . __( 'Profiles', 'woo-order-export-lite' ) ;
|
11 |
+
parent::__construct();
|
12 |
}
|
13 |
|
14 |
public function render() {
|
classes/admin/tabs/class-wc-order-export-admin-tab-schedule-jobs.php
CHANGED
@@ -7,7 +7,8 @@ class WC_Order_Export_Admin_Tab_Schedule_Jobs extends WC_Order_Export_Admin_Tab_
|
|
7 |
const KEY = 'schedules';
|
8 |
|
9 |
public function __construct() {
|
10 |
-
|
|
|
11 |
}
|
12 |
|
13 |
public function render() {
|
7 |
const KEY = 'schedules';
|
8 |
|
9 |
public function __construct() {
|
10 |
+
parent::__construct();
|
11 |
+
$this->title = "🔒 " . __( 'Scheduled jobs', 'woo-order-export-lite' );
|
12 |
}
|
13 |
|
14 |
public function render() {
|
classes/admin/tabs/class-wc-order-export-admin-tab-status-change-jobs.php
CHANGED
@@ -7,7 +7,7 @@ class WC_Order_Export_Admin_Tab_Status_Change_Jobs extends WC_Order_Export_Admin
|
|
7 |
const KEY = 'order_actions';
|
8 |
|
9 |
public function __construct() {
|
10 |
-
$this->title = __( 'Status change jobs', 'woo-order-export-lite' );
|
11 |
}
|
12 |
|
13 |
public function render() {
|
7 |
const KEY = 'order_actions';
|
8 |
|
9 |
public function __construct() {
|
10 |
+
$this->title = "🔒 " . __( 'Status change jobs', 'woo-order-export-lite' );
|
11 |
}
|
12 |
|
13 |
public function render() {
|
classes/class-wc-order-export-admin.php
CHANGED
@@ -13,6 +13,8 @@ class WC_Order_Export_Admin {
|
|
13 |
public $path_plugin;
|
14 |
|
15 |
protected $tabs;
|
|
|
|
|
16 |
|
17 |
public function __construct() {
|
18 |
$this->url_plugin = dirname( plugin_dir_url( __FILE__ ) ) . '/';
|
@@ -31,6 +33,7 @@ class WC_Order_Export_Admin {
|
|
31 |
add_action( 'wp_loaded' , function() { //init tabs after loading text domains!
|
32 |
$this->tabs = $this->get_tabs();
|
33 |
});
|
|
|
34 |
|
35 |
add_action( 'wp_ajax_order_exporter', array( $this, 'ajax_gate' ) );
|
36 |
|
@@ -59,6 +62,7 @@ class WC_Order_Export_Admin {
|
|
59 |
// Style for 'Export Status' column
|
60 |
if ( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'shop_order' ) {
|
61 |
add_action( 'admin_print_styles', array( $this, 'add_order_status_column_style' ) );
|
|
|
62 |
}
|
63 |
}
|
64 |
|
@@ -121,6 +125,9 @@ class WC_Order_Export_Admin {
|
|
121 |
$css = '.widefat .column-woe_export_status { width: 45px; text-align: center; }';
|
122 |
wp_add_inline_style( 'woocommerce_admin_styles', $css );
|
123 |
}
|
|
|
|
|
|
|
124 |
|
125 |
public function display_plugin_activated_message() {
|
126 |
?>
|
@@ -167,7 +174,6 @@ class WC_Order_Export_Admin {
|
|
167 |
public function render_menu() {
|
168 |
|
169 |
$active_tab = isset( $_REQUEST['tab'] ) ? $_REQUEST['tab'] : $this->settings['default_tab'];
|
170 |
-
|
171 |
$this->render( 'main', array(
|
172 |
'WC_Order_Export' => $this,
|
173 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
@@ -202,7 +208,7 @@ class WC_Order_Export_Admin {
|
|
202 |
add_action( 'learn-press/admin/after-enqueue-scripts', function () {
|
203 |
wp_scripts()->dequeue( array('learn-press-utils', 'lp-admin-learnpress', 'lp-admin') );
|
204 |
},PHP_INT_MAX );
|
205 |
-
|
206 |
wp_enqueue_style( 'export', $this->url_plugin . 'assets/css/export.css', array(), WOE_VERSION );
|
207 |
|
208 |
wp_enqueue_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array() );
|
@@ -292,7 +298,7 @@ class WC_Order_Export_Admin {
|
|
292 |
'woo-order-export-lite' ),
|
293 |
'empty_item_field' => __( 'select item field', 'woo-order-export-lite' ),
|
294 |
'empty_value' => __( 'empty value', 'woo-order-export-lite' ),
|
295 |
-
'empty_title' => __( '
|
296 |
'wrong_date_range' => __( 'Date From is greater than Date To', 'woo-order-export-lite' ),
|
297 |
'no_fields' => __( 'Please, set up fields to export', 'woo-order-export-lite' ),
|
298 |
'no_results' => __( 'Nothing to export. Please, adjust your filters',
|
@@ -515,7 +521,14 @@ class WC_Order_Export_Admin {
|
|
515 |
. '</div>',
|
516 |
$count
|
517 |
);
|
|
|
|
|
|
|
|
|
|
|
|
|
518 |
}
|
|
|
519 |
}
|
520 |
|
521 |
function must_run_ajax_methods() {
|
13 |
public $path_plugin;
|
14 |
|
15 |
protected $tabs;
|
16 |
+
|
17 |
+
const last_bulk_export_results = 'woe-last-bulk-export-results';
|
18 |
|
19 |
public function __construct() {
|
20 |
$this->url_plugin = dirname( plugin_dir_url( __FILE__ ) ) . '/';
|
33 |
add_action( 'wp_loaded' , function() { //init tabs after loading text domains!
|
34 |
$this->tabs = $this->get_tabs();
|
35 |
});
|
36 |
+
|
37 |
|
38 |
add_action( 'wp_ajax_order_exporter', array( $this, 'ajax_gate' ) );
|
39 |
|
62 |
// Style for 'Export Status' column
|
63 |
if ( isset( $_GET['post_type'] ) && $_GET['post_type'] == 'shop_order' ) {
|
64 |
add_action( 'admin_print_styles', array( $this, 'add_order_status_column_style' ) );
|
65 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'woe_add_orders_style' ) );
|
66 |
}
|
67 |
}
|
68 |
|
125 |
$css = '.widefat .column-woe_export_status { width: 45px; text-align: center; }';
|
126 |
wp_add_inline_style( 'woocommerce_admin_styles', $css );
|
127 |
}
|
128 |
+
function woe_add_orders_style() {
|
129 |
+
wp_enqueue_style( 'woe_orders_style', $this->url_plugin . 'assets/css/orders_style.css', array(), WOE_VERSION );
|
130 |
+
}
|
131 |
|
132 |
public function display_plugin_activated_message() {
|
133 |
?>
|
174 |
public function render_menu() {
|
175 |
|
176 |
$active_tab = isset( $_REQUEST['tab'] ) ? $_REQUEST['tab'] : $this->settings['default_tab'];
|
|
|
177 |
$this->render( 'main', array(
|
178 |
'WC_Order_Export' => $this,
|
179 |
'ajaxurl' => admin_url( 'admin-ajax.php' ),
|
208 |
add_action( 'learn-press/admin/after-enqueue-scripts', function () {
|
209 |
wp_scripts()->dequeue( array('learn-press-utils', 'lp-admin-learnpress', 'lp-admin') );
|
210 |
},PHP_INT_MAX );
|
211 |
+
|
212 |
wp_enqueue_style( 'export', $this->url_plugin . 'assets/css/export.css', array(), WOE_VERSION );
|
213 |
|
214 |
wp_enqueue_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array() );
|
298 |
'woo-order-export-lite' ),
|
299 |
'empty_item_field' => __( 'select item field', 'woo-order-export-lite' ),
|
300 |
'empty_value' => __( 'empty value', 'woo-order-export-lite' ),
|
301 |
+
'empty_title' => __( 'Title is empty', 'woo-order-export-lite' ),
|
302 |
'wrong_date_range' => __( 'Date From is greater than Date To', 'woo-order-export-lite' ),
|
303 |
'no_fields' => __( 'Please, set up fields to export', 'woo-order-export-lite' ),
|
304 |
'no_results' => __( 'Nothing to export. Please, adjust your filters',
|
521 |
. '</div>',
|
522 |
$count
|
523 |
);
|
524 |
+
} else {
|
525 |
+
$logs = get_transient( WC_Order_Export_Admin::last_bulk_export_results );
|
526 |
+
if ( $logs ) {
|
527 |
+
delete_transient( WC_Order_Export_Admin::last_bulk_export_results );
|
528 |
+
echo "<div id=\"notice-orders\" class=\"notice notice-info is-dismissible\" style=\"padding: 15px\">{$logs}</div>";
|
529 |
+
}
|
530 |
}
|
531 |
+
|
532 |
}
|
533 |
|
534 |
function must_run_ajax_methods() {
|
classes/core/class-wc-order-export-data-extractor-ui.php
CHANGED
@@ -5,7 +5,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
5 |
|
6 |
class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
7 |
static $object_type = 'shop_order';
|
8 |
-
const HUGE_SHOP_CUSTOMERS = 1000;// more than 1000 customers
|
9 |
|
10 |
// ADD custom fields for export
|
11 |
public static function get_all_order_custom_meta_fields( $sql_order_ids = '' ) {
|
@@ -81,7 +80,7 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
81 |
$sql_products = "SELECT DISTINCT meta_value FROM {$wpdb->prefix}woocommerce_order_itemmeta WHERE meta_key ='_product_id' AND order_item_id IN
|
82 |
(SELECT DISTINCT order_item_id FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'line_item' AND order_id IN ($sql_order_ids))";
|
83 |
|
84 |
-
$product_ids = $wpdb->get_col( "SELECT DISTINCT ID FROM {$wpdb->posts} WHERE post_type IN ('product','product_variation') AND ID IN ($sql_products) ORDER BY ID DESC LIMIT
|
85 |
|
86 |
$wp_fields = array();
|
87 |
if($product_ids ) {
|
@@ -199,16 +198,16 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
199 |
|
200 |
public static function get_order_custom_fields_values( $key ) {
|
201 |
global $wpdb;
|
202 |
-
|
203 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY ID DESC LIMIT
|
204 |
if( empty($order_ids) )
|
205 |
return array();
|
206 |
-
|
207 |
$order_ids = join( ",", $order_ids );
|
208 |
$values = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->postmeta} WHERE meta_key = %s AND post_id IN ($order_ids)", $key ) );
|
209 |
sort( $values );
|
210 |
|
211 |
-
return $values;
|
212 |
}
|
213 |
|
214 |
public static function get_user_custom_fields_values( $key ) {
|
@@ -222,14 +221,14 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
222 |
|
223 |
public static function get_product_custom_fields_values( $key ) {
|
224 |
global $wpdb;
|
225 |
-
|
226 |
-
$product_ids = $wpdb->get_col( "SELECT DISTINCT ID FROM {$wpdb->posts} WHERE post_type = 'product_variation' OR post_type = 'product' ORDER BY ID DESC LIMIT
|
227 |
if( empty($product_ids) )
|
228 |
return array();
|
229 |
-
|
230 |
$product_ids = join( ",", $product_ids );
|
231 |
|
232 |
-
|
233 |
$values = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->postmeta} WHERE meta_key = %s AND post_id IN ($product_ids)",
|
234 |
$key ) );
|
235 |
sort( $values );
|
@@ -286,13 +285,13 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
286 |
|
287 |
public static function get_order_meta_values( $type, $key ) {
|
288 |
global $wpdb;
|
289 |
-
|
290 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY ID DESC LIMIT
|
291 |
if( empty($order_ids) )
|
292 |
return array();
|
293 |
-
|
294 |
$order_ids = join( ",", $order_ids );
|
295 |
-
|
296 |
$query = $wpdb->prepare( 'SELECT DISTINCT meta_value FROM ' . $wpdb->postmeta . " WHERE meta_key = %s AND post_id IN($order_ids)",
|
297 |
array( $type . strtolower( $key ) ) );
|
298 |
$results = $wpdb->get_col( $query );
|
@@ -316,7 +315,7 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
316 |
global $wpdb;
|
317 |
|
318 |
$names = $wpdb->get_results( "SELECT distinct order_item_type,meta_key FROM {$wpdb->prefix}woocommerce_order_items AS items
|
319 |
-
INNER JOIN (SELECT ID AS order_id FROM {$wpdb->prefix}posts WHERE post_type='shop_order' ORDER BY ID DESC LIMIT
|
320 |
JOIN {$wpdb->prefix}woocommerce_order_itemmeta AS meta ON meta.order_item_id = items.order_item_id
|
321 |
ORDER BY order_item_type,meta_key" );
|
322 |
|
@@ -376,11 +375,6 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
376 |
'checked' => 0,
|
377 |
'format' => 'number',
|
378 |
),
|
379 |
-
'product_variation' => array(
|
380 |
-
'label' => __( 'Product Variation', 'woo-order-export-lite' ),
|
381 |
-
'checked' => 0,
|
382 |
-
'format' => 'string',
|
383 |
-
),
|
384 |
'seller' => array(
|
385 |
'label' => __( 'Product Seller', 'woo-order-export-lite' ),
|
386 |
'checked' => 0,
|
@@ -954,6 +948,11 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
954 |
'checked' => 1,
|
955 |
'format' => 'money',
|
956 |
),
|
|
|
|
|
|
|
|
|
|
|
957 |
'line_no_tax' => array(
|
958 |
'label' => __( 'Order Line (w/o tax)', 'woo-order-export-lite' ),
|
959 |
'checked' => 0,
|
@@ -1014,11 +1013,26 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
1014 |
'checked' => 0,
|
1015 |
'format' => 'number',
|
1016 |
),
|
1017 |
-
'item_download_url'
|
1018 |
'label' => __( 'Item download URL', 'woo-order-export-lite' ),
|
1019 |
'checked' => 0,
|
1020 |
'format' => 'string',
|
1021 |
),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1022 |
);
|
1023 |
|
1024 |
foreach ( $map as $key => &$value ) {
|
@@ -1258,6 +1272,7 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
1258 |
));
|
1259 |
}
|
1260 |
|
|
|
1261 |
/**
|
1262 |
* Same as get_order_segments() but with "product_items"
|
1263 |
*
|
@@ -1271,7 +1286,7 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
1271 |
'billing' => __( 'Billing Address', 'woo-order-export-lite' ),
|
1272 |
'shipping' => __( 'Shipping Address', 'woo-order-export-lite' ),
|
1273 |
'products' => __( 'Products', 'woo-order-export-lite' ),
|
1274 |
-
'product_items' => __( 'Product items', 'woo-order-export-lite' ),
|
1275 |
'product_totals' => __( 'Product totals', 'woo-order-export-lite' ),
|
1276 |
'coupons' => __( 'Coupons', 'woo-order-export-lite' ),
|
1277 |
'other_items' => __( 'Other items', 'woo-order-export-lite' ),
|
@@ -1281,6 +1296,13 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
1281 |
'misc' => __( 'Others', 'woo-order-export-lite' ),
|
1282 |
);
|
1283 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1284 |
|
1285 |
public static function get_format_fields() {
|
1286 |
return array(
|
@@ -1293,4 +1315,4 @@ class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
|
1293 |
}
|
1294 |
|
1295 |
|
1296 |
-
}
|
5 |
|
6 |
class WC_Order_Export_Data_Extractor_UI extends WC_Order_Export_Data_Extractor {
|
7 |
static $object_type = 'shop_order';
|
|
|
8 |
|
9 |
// ADD custom fields for export
|
10 |
public static function get_all_order_custom_meta_fields( $sql_order_ids = '' ) {
|
80 |
$sql_products = "SELECT DISTINCT meta_value FROM {$wpdb->prefix}woocommerce_order_itemmeta WHERE meta_key ='_product_id' AND order_item_id IN
|
81 |
(SELECT DISTINCT order_item_id FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'line_item' AND order_id IN ($sql_order_ids))";
|
82 |
|
83 |
+
$product_ids = $wpdb->get_col( "SELECT DISTINCT ID FROM {$wpdb->posts} WHERE post_type IN ('product','product_variation') AND ID IN ($sql_products) ORDER BY ID DESC LIMIT " . self::HUGE_SHOP_PRODUCTS );
|
84 |
|
85 |
$wp_fields = array();
|
86 |
if($product_ids ) {
|
198 |
|
199 |
public static function get_order_custom_fields_values( $key ) {
|
200 |
global $wpdb;
|
201 |
+
|
202 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY ID DESC LIMIT " . self::HUGE_SHOP_ORDERS );
|
203 |
if( empty($order_ids) )
|
204 |
return array();
|
205 |
+
|
206 |
$order_ids = join( ",", $order_ids );
|
207 |
$values = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->postmeta} WHERE meta_key = %s AND post_id IN ($order_ids)", $key ) );
|
208 |
sort( $values );
|
209 |
|
210 |
+
return apply_filters( 'woe_get_order_custom_fields_values', $values, $key);
|
211 |
}
|
212 |
|
213 |
public static function get_user_custom_fields_values( $key ) {
|
221 |
|
222 |
public static function get_product_custom_fields_values( $key ) {
|
223 |
global $wpdb;
|
224 |
+
|
225 |
+
$product_ids = $wpdb->get_col( "SELECT DISTINCT ID FROM {$wpdb->posts} WHERE post_type = 'product_variation' OR post_type = 'product' ORDER BY ID DESC LIMIT " . self::HUGE_SHOP_PRODUCTS );
|
226 |
if( empty($product_ids) )
|
227 |
return array();
|
228 |
+
|
229 |
$product_ids = join( ",", $product_ids );
|
230 |
|
231 |
+
|
232 |
$values = $wpdb->get_col( $wpdb->prepare( "SELECT DISTINCT meta_value FROM {$wpdb->postmeta} WHERE meta_key = %s AND post_id IN ($product_ids)",
|
233 |
$key ) );
|
234 |
sort( $values );
|
285 |
|
286 |
public static function get_order_meta_values( $type, $key ) {
|
287 |
global $wpdb;
|
288 |
+
|
289 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY ID DESC LIMIT " . self::HUGE_SHOP_ORDERS );
|
290 |
if( empty($order_ids) )
|
291 |
return array();
|
292 |
+
|
293 |
$order_ids = join( ",", $order_ids );
|
294 |
+
|
295 |
$query = $wpdb->prepare( 'SELECT DISTINCT meta_value FROM ' . $wpdb->postmeta . " WHERE meta_key = %s AND post_id IN($order_ids)",
|
296 |
array( $type . strtolower( $key ) ) );
|
297 |
$results = $wpdb->get_col( $query );
|
315 |
global $wpdb;
|
316 |
|
317 |
$names = $wpdb->get_results( "SELECT distinct order_item_type,meta_key FROM {$wpdb->prefix}woocommerce_order_items AS items
|
318 |
+
INNER JOIN (SELECT ID AS order_id FROM {$wpdb->prefix}posts WHERE post_type='shop_order' ORDER BY ID DESC LIMIT " . self::HUGE_SHOP_ORDERS . " ) AS orders ON orders.order_id = items.order_id
|
319 |
JOIN {$wpdb->prefix}woocommerce_order_itemmeta AS meta ON meta.order_item_id = items.order_item_id
|
320 |
ORDER BY order_item_type,meta_key" );
|
321 |
|
375 |
'checked' => 0,
|
376 |
'format' => 'number',
|
377 |
),
|
|
|
|
|
|
|
|
|
|
|
378 |
'seller' => array(
|
379 |
'label' => __( 'Product Seller', 'woo-order-export-lite' ),
|
380 |
'checked' => 0,
|
948 |
'checked' => 1,
|
949 |
'format' => 'money',
|
950 |
),
|
951 |
+
'item_price_before_discount' => array(
|
952 |
+
'label' => __( 'Item Cost Before Discount', 'woo-order-export-lite' ),
|
953 |
+
'checked' => 0,
|
954 |
+
'format' => 'money',
|
955 |
+
),
|
956 |
'line_no_tax' => array(
|
957 |
'label' => __( 'Order Line (w/o tax)', 'woo-order-export-lite' ),
|
958 |
'checked' => 0,
|
1013 |
'checked' => 0,
|
1014 |
'format' => 'number',
|
1015 |
),
|
1016 |
+
'item_download_url' => array(
|
1017 |
'label' => __( 'Item download URL', 'woo-order-export-lite' ),
|
1018 |
'checked' => 0,
|
1019 |
'format' => 'string',
|
1020 |
),
|
1021 |
+
'product_variation' => array(
|
1022 |
+
'label' => __( 'Order Item Metadata', 'woo-order-export-lite' ),
|
1023 |
+
'checked' => 0,
|
1024 |
+
'format' => 'string',
|
1025 |
+
),
|
1026 |
+
'item_discount_tax' => array(
|
1027 |
+
'label' => __( 'Item Discount Tax', 'woo-order-export-lite' ),
|
1028 |
+
'checked' => 0,
|
1029 |
+
'format' => 'number',
|
1030 |
+
),
|
1031 |
+
'item_discount_amount_and_tax'=> array(
|
1032 |
+
'label' => __( 'Item Discount Amount + Tax', 'woo-order-export-lite' ),
|
1033 |
+
'checked' => 0,
|
1034 |
+
'format' => 'number',
|
1035 |
+
),
|
1036 |
);
|
1037 |
|
1038 |
foreach ( $map as $key => &$value ) {
|
1272 |
));
|
1273 |
}
|
1274 |
|
1275 |
+
|
1276 |
/**
|
1277 |
* Same as get_order_segments() but with "product_items"
|
1278 |
*
|
1286 |
'billing' => __( 'Billing Address', 'woo-order-export-lite' ),
|
1287 |
'shipping' => __( 'Shipping Address', 'woo-order-export-lite' ),
|
1288 |
'products' => __( 'Products', 'woo-order-export-lite' ),
|
1289 |
+
'product_items' => __( 'Product order items', 'woo-order-export-lite' ),
|
1290 |
'product_totals' => __( 'Product totals', 'woo-order-export-lite' ),
|
1291 |
'coupons' => __( 'Coupons', 'woo-order-export-lite' ),
|
1292 |
'other_items' => __( 'Other items', 'woo-order-export-lite' ),
|
1296 |
'misc' => __( 'Others', 'woo-order-export-lite' ),
|
1297 |
);
|
1298 |
}
|
1299 |
+
|
1300 |
+
public static function get_segment_hints() {
|
1301 |
+
return array(
|
1302 |
+
'products' => __( 'Use section "Product order items" to add attributes', 'woo-order-export-lite' ),
|
1303 |
+
'product_items' => __( 'Use "Add field" to export specific product attribute', 'woo-order-export-lite' ),
|
1304 |
+
);
|
1305 |
+
}
|
1306 |
|
1307 |
public static function get_format_fields() {
|
1308 |
return array(
|
1315 |
}
|
1316 |
|
1317 |
|
1318 |
+
}
|
classes/core/class-wc-order-export-data-extractor.php
CHANGED
@@ -45,7 +45,8 @@ class WC_Order_Export_Data_Extractor {
|
|
45 |
if ( $total_orders < self::HUGE_SHOP_ORDERS ) {
|
46 |
$fields = $wpdb->get_col( "SELECT DISTINCT meta_key FROM {$wpdb->posts} INNER JOIN {$wpdb->postmeta} ON {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id WHERE post_type = '" . self::$object_type . "'" );
|
47 |
} else { // we have a lot of orders, take last good orders, upto 1000
|
48 |
-
$
|
|
|
49 |
$order_ids[] = 0; // add fake zero
|
50 |
$order_ids = join( ",", $order_ids );
|
51 |
$fields = $wpdb->get_col( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} WHERE post_id IN ($order_ids)" );
|
@@ -122,7 +123,7 @@ class WC_Order_Export_Data_Extractor {
|
|
122 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
123 |
} else {
|
124 |
$limit = self::HUGE_SHOP_ORDERS;
|
125 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "'
|
126 |
$order_ids = join( ",", $order_ids );
|
127 |
$metas = $wpdb->get_col( "SELECT DISTINCT meta.meta_key FROM {$wpdb->prefix}woocommerce_order_itemmeta meta inner join {$wpdb->prefix}woocommerce_order_items item on item.order_item_id=meta.order_item_id and item.order_item_type = 'line_item' WHERE item.order_id IN ($order_ids)" );
|
128 |
sort( $metas );
|
@@ -148,7 +149,7 @@ class WC_Order_Export_Data_Extractor {
|
|
148 |
|
149 |
} else {
|
150 |
$limit = self::HUGE_SHOP_ORDERS;
|
151 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "'
|
152 |
$order_ids = join( ",", $order_ids );
|
153 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'shipping' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
154 |
sort( $metas );
|
@@ -173,7 +174,7 @@ class WC_Order_Export_Data_Extractor {
|
|
173 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
174 |
} else {
|
175 |
$limit = self::HUGE_SHOP_ORDERS;
|
176 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "'
|
177 |
$order_ids = join( ",", $order_ids );
|
178 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'fee' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
179 |
sort( $metas );
|
@@ -198,7 +199,7 @@ class WC_Order_Export_Data_Extractor {
|
|
198 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
199 |
} else {
|
200 |
$limit = self::HUGE_SHOP_ORDERS;
|
201 |
-
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "'
|
202 |
$order_ids = join( ",", $order_ids );
|
203 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'tax' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
204 |
sort( $metas );
|
@@ -277,7 +278,7 @@ class WC_Order_Export_Data_Extractor {
|
|
277 |
return $pair_types;
|
278 |
}
|
279 |
|
280 |
-
|
281 |
$pair_types = array();
|
282 |
$delimiters = array(
|
283 |
'NOT SET' => 'NOT SET',
|
@@ -1093,9 +1094,16 @@ class WC_Order_Export_Data_Extractor {
|
|
1093 |
if ( is_array( $settings['order_ids'] ) && count( array_filter( array_map( 'is_numeric', $order_ids ) ) ) === count( $order_ids ) ) {
|
1094 |
$order_ids_str = self::sql_subset( $order_ids );
|
1095 |
if ( $order_ids_str ) {
|
1096 |
-
$where[] = "orders.
|
1097 |
}
|
1098 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1099 |
}
|
1100 |
|
1101 |
//default filter by date
|
@@ -1134,7 +1142,7 @@ class WC_Order_Export_Data_Extractor {
|
|
1134 |
//for date_paid or date_completed
|
1135 |
if ( $where_meta ) {
|
1136 |
$where_meta = join( " AND ", $where_meta );
|
1137 |
-
$where[] = "orders.
|
1138 |
}
|
1139 |
|
1140 |
// skip child orders?
|
@@ -1415,6 +1423,7 @@ class WC_Order_Export_Data_Extractor {
|
|
1415 |
$woe_order
|
1416 |
) {
|
1417 |
$export_only_products = $options['include_products'];
|
|
|
1418 |
$products = array();
|
1419 |
$i = 0;
|
1420 |
|
@@ -1432,6 +1441,62 @@ class WC_Order_Export_Data_Extractor {
|
|
1432 |
) {
|
1433 |
continue;
|
1434 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1435 |
|
1436 |
$product = $item->get_product();
|
1437 |
$product = apply_filters( "woe_get_order_product", $product );
|
@@ -1587,8 +1652,8 @@ class WC_Order_Export_Data_Extractor {
|
|
1587 |
$woe_order->set_data($data);
|
1588 |
// fill as it must
|
1589 |
foreach ( $labels['order']->get_fetch_fields() as $field ) {
|
1590 |
-
|
1591 |
-
|
1592 |
if ( $field != 'products' AND $field != 'coupons' ) {
|
1593 |
if ( ! isset( $row[ $field ] ) ) {
|
1594 |
$row[ $field ] = '';
|
@@ -1801,4 +1866,4 @@ class WC_Order_Export_Data_Extractor {
|
|
1801 |
return wc_get_order( absint( $order ) );
|
1802 |
}
|
1803 |
|
1804 |
-
}
|
45 |
if ( $total_orders < self::HUGE_SHOP_ORDERS ) {
|
46 |
$fields = $wpdb->get_col( "SELECT DISTINCT meta_key FROM {$wpdb->posts} INNER JOIN {$wpdb->postmeta} ON {$wpdb->posts}.ID = {$wpdb->postmeta}.post_id WHERE post_type = '" . self::$object_type . "'" );
|
47 |
} else { // we have a lot of orders, take last good orders, upto 1000
|
48 |
+
$limit = self::HUGE_SHOP_ORDERS;
|
49 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY post_date DESC LIMIT {$limit}" );
|
50 |
$order_ids[] = 0; // add fake zero
|
51 |
$order_ids = join( ",", $order_ids );
|
52 |
$fields = $wpdb->get_col( "SELECT DISTINCT meta_key FROM {$wpdb->postmeta} WHERE post_id IN ($order_ids)" );
|
123 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
124 |
} else {
|
125 |
$limit = self::HUGE_SHOP_ORDERS;
|
126 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY post_date DESC LIMIT {$limit}" );
|
127 |
$order_ids = join( ",", $order_ids );
|
128 |
$metas = $wpdb->get_col( "SELECT DISTINCT meta.meta_key FROM {$wpdb->prefix}woocommerce_order_itemmeta meta inner join {$wpdb->prefix}woocommerce_order_items item on item.order_item_id=meta.order_item_id and item.order_item_type = 'line_item' WHERE item.order_id IN ($order_ids)" );
|
129 |
sort( $metas );
|
149 |
|
150 |
} else {
|
151 |
$limit = self::HUGE_SHOP_ORDERS;
|
152 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY post_date DESC LIMIT {$limit}" );
|
153 |
$order_ids = join( ",", $order_ids );
|
154 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'shipping' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
155 |
sort( $metas );
|
174 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
175 |
} else {
|
176 |
$limit = self::HUGE_SHOP_ORDERS;
|
177 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY post_date DESC LIMIT {$limit}" );
|
178 |
$order_ids = join( ",", $order_ids );
|
179 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'fee' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
180 |
sort( $metas );
|
199 |
set_transient( $transient_key, $metas, 60 ); //valid for a minute
|
200 |
} else {
|
201 |
$limit = self::HUGE_SHOP_ORDERS;
|
202 |
+
$order_ids = $wpdb->get_col( "SELECT ID FROM {$wpdb->posts} WHERE post_type = '" . self::$object_type . "' ORDER BY post_date DESC LIMIT {$limit}" );
|
203 |
$order_ids = join( ",", $order_ids );
|
204 |
$metas = $wpdb->get_col( "SELECT DISTINCT order_item_name FROM {$wpdb->prefix}woocommerce_order_items WHERE order_item_type = 'tax' AND order_id IN ($order_ids) AND order_item_name <> '' " );
|
205 |
sort( $metas );
|
278 |
return $pair_types;
|
279 |
}
|
280 |
|
281 |
+
public static function parse_complex_pairs( $pairs, $valid_types = false, $mode = '' ) {
|
282 |
$pair_types = array();
|
283 |
$delimiters = array(
|
284 |
'NOT SET' => 'NOT SET',
|
1094 |
if ( is_array( $settings['order_ids'] ) && count( array_filter( array_map( 'is_numeric', $order_ids ) ) ) === count( $order_ids ) ) {
|
1095 |
$order_ids_str = self::sql_subset( $order_ids );
|
1096 |
if ( $order_ids_str ) {
|
1097 |
+
$where[] = "orders.ID IN ($order_ids_str)";
|
1098 |
}
|
1099 |
}
|
1100 |
+
} else {
|
1101 |
+
if ( ! empty( $settings['from_order_id'] ) ) {
|
1102 |
+
$where[] = "orders.ID >= " . intval($settings['from_order_id']);
|
1103 |
+
}
|
1104 |
+
if ( ! empty( $settings['to_order_id'] ) ) {
|
1105 |
+
$where[] = "orders.ID <= " . intval($settings['to_order_id']);
|
1106 |
+
}
|
1107 |
}
|
1108 |
|
1109 |
//default filter by date
|
1142 |
//for date_paid or date_completed
|
1143 |
if ( $where_meta ) {
|
1144 |
$where_meta = join( " AND ", $where_meta );
|
1145 |
+
$where[] = "orders.ID IN ( SELECT post_id FROM {$wpdb->postmeta} AS order_$date_field WHERE order_$date_field.meta_key ='_$date_field' AND $where_meta)";
|
1146 |
}
|
1147 |
|
1148 |
// skip child orders?
|
1423 |
$woe_order
|
1424 |
) {
|
1425 |
$export_only_products = $options['include_products'];
|
1426 |
+
$export_matched_products = $options['export_matched_items'];
|
1427 |
$products = array();
|
1428 |
$i = 0;
|
1429 |
|
1441 |
) {
|
1442 |
continue;
|
1443 |
}
|
1444 |
+
|
1445 |
+
if( $export_matched_products ) {
|
1446 |
+
foreach ( $export_matched_products['item_metadata'] as $operator => $fields ) {
|
1447 |
+
foreach ( $fields as $field => $values ) {
|
1448 |
+
if ( $values ) {
|
1449 |
+
self::extract_item_type_and_key( $field, $type, $key );
|
1450 |
+
if($type != 'line_item') {
|
1451 |
+
continue;
|
1452 |
+
}
|
1453 |
+
$meta = wc_get_order_item_meta( $item_id, $key );
|
1454 |
+
if(($operator == 'IN' AND !in_array($meta, $values)) OR
|
1455 |
+
($operator == 'NOT IN' AND in_array($meta, $values))) {
|
1456 |
+
continue 3;
|
1457 |
+
}
|
1458 |
+
else if($operator == 'LIKE') {
|
1459 |
+
$matched_like = false;
|
1460 |
+
foreach ($values as $value) {
|
1461 |
+
if(strpos($meta, $value) !== false) {
|
1462 |
+
$matched_like = true;
|
1463 |
+
continue;
|
1464 |
+
}
|
1465 |
+
}
|
1466 |
+
if(!$matched_like) {
|
1467 |
+
continue 3;
|
1468 |
+
}
|
1469 |
+
}
|
1470 |
+
}
|
1471 |
+
}
|
1472 |
+
}
|
1473 |
+
foreach ( $export_matched_products['item_names'] as $operator => $fields ) {
|
1474 |
+
foreach ( $fields as $field => $values ) {
|
1475 |
+
if ( $values ) {
|
1476 |
+
if($field != 'line_item') {
|
1477 |
+
continue;
|
1478 |
+
}
|
1479 |
+
$item_name = $item->get_name();
|
1480 |
+
if(($operator == 'IN' AND !in_array($item_name, $values)) OR
|
1481 |
+
($operator == 'NOT IN' AND in_array($item_name, $values))) {
|
1482 |
+
continue 3;
|
1483 |
+
}
|
1484 |
+
else if($operator == 'LIKE') {
|
1485 |
+
$matched_like = false;
|
1486 |
+
foreach ($values as $value) {
|
1487 |
+
if(strpos($item_name, $value) !== false) {
|
1488 |
+
$matched_like = true;
|
1489 |
+
continue;
|
1490 |
+
}
|
1491 |
+
}
|
1492 |
+
if(!$matched_like) {
|
1493 |
+
continue 3;
|
1494 |
+
}
|
1495 |
+
}
|
1496 |
+
}
|
1497 |
+
}
|
1498 |
+
}
|
1499 |
+
}
|
1500 |
|
1501 |
$product = $item->get_product();
|
1502 |
$product = apply_filters( "woe_get_order_product", $product );
|
1652 |
$woe_order->set_data($data);
|
1653 |
// fill as it must
|
1654 |
foreach ( $labels['order']->get_fetch_fields() as $field ) {
|
1655 |
+
$row = $woe_order->get($row, $field);
|
1656 |
+
//use empty value for missed field
|
1657 |
if ( $field != 'products' AND $field != 'coupons' ) {
|
1658 |
if ( ! isset( $row[ $field ] ) ) {
|
1659 |
$row[ $field ] = '';
|
1866 |
return wc_get_order( absint( $order ) );
|
1867 |
}
|
1868 |
|
1869 |
+
}
|
classes/core/class-wc-order-export-engine.php
CHANGED
@@ -15,29 +15,36 @@ class WC_Order_Export_Engine {
|
|
15 |
public static $make_separate_orders = false;
|
16 |
|
17 |
public static function make_filename( $mask ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
18 |
if ( self::$make_separate_orders && strpos( $mask, '%order_id' ) === false ) {
|
19 |
$mask_parts = explode( '.', $mask );
|
20 |
$before_prefix = count( $mask_parts ) > 1 ? 2 : 1;
|
21 |
$mask_parts[ count( $mask_parts ) - $before_prefix ] .= '-%order_id';
|
22 |
$mask = implode( '.', $mask_parts );
|
23 |
}
|
24 |
-
$time = apply_filters( 'woe_make_filename_current_time', current_time( 'timestamp' ) );
|
25 |
|
26 |
-
$
|
|
|
|
|
|
|
|
|
27 |
|
28 |
-
$subst = apply_filters( 'woe_make_filename_replacements',
|
29 |
-
'%d' => date( 'd', $time ),
|
30 |
-
'%m' => date( 'm', $time ),
|
31 |
-
'%y' => date( 'Y', $time ),
|
32 |
-
'%h' => date( 'H', $time ),
|
33 |
-
'%i' => date( 'i', $time ),
|
34 |
-
'%s' => date( 's', $time ),
|
35 |
-
'%order_id' => self::$order_id,
|
36 |
-
'%orderid' => self::$order_id,
|
37 |
-
'%id' => self::$order_id,
|
38 |
-
'{from_date}' => isset( $date['from_date'] ) ? date( "Y-m-d", strtotime( $date['from_date'] ) ) : '',
|
39 |
-
'{to_date}' => isset( $date['to_date'] ) ? date( "Y-m-d", strtotime( $date['to_date'] ) ) : '',
|
40 |
-
) );
|
41 |
|
42 |
return apply_filters( 'woe_make_filename', strtr( $mask, $subst ) );
|
43 |
}
|
@@ -257,13 +264,20 @@ class WC_Order_Export_Engine {
|
|
257 |
$options['item_rows_start_from_new_line'] = ( $format == 'csv' AND @$settings['format_csv_item_rows_start_from_new_line'] OR $format == 'tsv' AND @$settings['format_tsv_item_rows_start_from_new_line'] ) ;
|
258 |
$options['products_mode'] = isset( $settings['duplicated_fields_settings']['products']['repeat'] ) ? $settings['duplicated_fields_settings']['products']['repeat'] : "";
|
259 |
$options['coupons_mode'] = isset( $settings['duplicated_fields_settings']['coupons']['repeat'] ) ? $settings['duplicated_fields_settings']['coupons']['repeat'] : "";
|
260 |
-
|
261 |
if ( ! empty( $settings['all_products_from_order'] ) ) {
|
262 |
$options['include_products'] = false;
|
263 |
} else {
|
264 |
$options['include_products'] = $wpdb->get_col( WC_Order_Export_Data_Extractor::sql_get_product_ids( $settings ) );
|
265 |
}
|
266 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
267 |
if ( isset( $settings['date_format'] ) ) {
|
268 |
$options['date_format'] = $settings['date_format'];
|
269 |
} else {
|
@@ -317,8 +331,8 @@ class WC_Order_Export_Engine {
|
|
317 |
if ( ! isset( $settings['skip_empty_file'] ) ) {
|
318 |
$settings['skip_empty_file'] = true;
|
319 |
}
|
320 |
-
//
|
321 |
-
if (
|
322 |
ob_start( array( 'WC_Order_Export_Engine', 'code_error_callback' ) );
|
323 |
$result = eval( $settings['custom_php_code'] );
|
324 |
ob_end_clean();
|
@@ -410,7 +424,7 @@ class WC_Order_Export_Engine {
|
|
410 |
|
411 |
|
412 |
//get IDs
|
413 |
-
$sql = WC_Order_Export_Data_Extractor::sql_get_order_ids( $settings )
|
414 |
$settings = self::replace_sort_field( $settings );
|
415 |
if ( $make_mode == 'estimate' OR $make_mode =='estimate_preview' ) { //if estimate return total count
|
416 |
return $wpdb->get_var( str_replace( 'ID AS order_id', 'COUNT(ID) AS order_count', $sql ) );
|
@@ -486,7 +500,8 @@ class WC_Order_Export_Engine {
|
|
486 |
echo join( "\n\n", $s );
|
487 |
echo '</textarea>';
|
488 |
}
|
489 |
-
|
|
|
490 |
}
|
491 |
|
492 |
// no action woe_export_finished here!
|
@@ -524,7 +539,9 @@ class WC_Order_Export_Engine {
|
|
524 |
$sql .= " LIMIT " . intval( $limit );
|
525 |
}
|
526 |
|
527 |
-
|
|
|
|
|
528 |
self::$orders_for_export = $order_ids;
|
529 |
|
530 |
if ( empty( $order_ids ) AND apply_filters( 'woe_schedule_job_skip_empty_file',
|
15 |
public static $make_separate_orders = false;
|
16 |
|
17 |
public static function make_filename( $mask ) {
|
18 |
+
$time = apply_filters( 'woe_make_filename_current_time', current_time( 'timestamp' ) );
|
19 |
+
$date = WC_Order_Export_Data_Extractor::get_date_range( self::$current_job_settings, false );
|
20 |
+
$args = array(
|
21 |
+
'%d' => date( 'd', $time ),
|
22 |
+
'%m' => date( 'm', $time ),
|
23 |
+
'%y' => date( 'Y', $time ),
|
24 |
+
'%h' => date( 'H', $time ),
|
25 |
+
'%i' => date( 'i', $time ),
|
26 |
+
'%s' => date( 's', $time ),
|
27 |
+
'%order_id' => self::$order_id,
|
28 |
+
'%orderid' => self::$order_id,
|
29 |
+
'%id' => self::$order_id,
|
30 |
+
'{from_date}' => isset( $date['from_date'] ) ? date( "Y-m-d", strtotime( $date['from_date'] ) ) : '',
|
31 |
+
'{to_date}' => isset( $date['to_date'] ) ? date( "Y-m-d", strtotime( $date['to_date'] ) ) : '',
|
32 |
+
);
|
33 |
+
|
34 |
if ( self::$make_separate_orders && strpos( $mask, '%order_id' ) === false ) {
|
35 |
$mask_parts = explode( '.', $mask );
|
36 |
$before_prefix = count( $mask_parts ) > 1 ? 2 : 1;
|
37 |
$mask_parts[ count( $mask_parts ) - $before_prefix ] .= '-%order_id';
|
38 |
$mask = implode( '.', $mask_parts );
|
39 |
}
|
|
|
40 |
|
41 |
+
if ( strpos( $mask, '{order_number}' ) !== false && ( self::$current_job_build_mode === 'full' ) ) {
|
42 |
+
$wc_order = new WC_Order( self::$order_id );
|
43 |
+
$order_number = $wc_order->get_order_number();
|
44 |
+
$args['{order_number}'] = $order_number;
|
45 |
+
}
|
46 |
|
47 |
+
$subst = apply_filters( 'woe_make_filename_replacements', $args );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
return apply_filters( 'woe_make_filename', strtr( $mask, $subst ) );
|
50 |
}
|
264 |
$options['item_rows_start_from_new_line'] = ( $format == 'csv' AND @$settings['format_csv_item_rows_start_from_new_line'] OR $format == 'tsv' AND @$settings['format_tsv_item_rows_start_from_new_line'] ) ;
|
265 |
$options['products_mode'] = isset( $settings['duplicated_fields_settings']['products']['repeat'] ) ? $settings['duplicated_fields_settings']['products']['repeat'] : "";
|
266 |
$options['coupons_mode'] = isset( $settings['duplicated_fields_settings']['coupons']['repeat'] ) ? $settings['duplicated_fields_settings']['coupons']['repeat'] : "";
|
267 |
+
$options['billing_details_for_shipping'] = '1' === $settings['billing_details_for_shipping'];
|
268 |
if ( ! empty( $settings['all_products_from_order'] ) ) {
|
269 |
$options['include_products'] = false;
|
270 |
} else {
|
271 |
$options['include_products'] = $wpdb->get_col( WC_Order_Export_Data_Extractor::sql_get_product_ids( $settings ) );
|
272 |
}
|
273 |
|
274 |
+
if ( empty( $settings['export_matched_items'] ) ) {
|
275 |
+
$options['export_matched_items'] = false;
|
276 |
+
} else {
|
277 |
+
$options['export_matched_items']['item_metadata'] = WC_Order_Export_Data_Extractor::parse_complex_pairs($settings['item_metadata']);
|
278 |
+
$options['export_matched_items']['item_names'] = WC_Order_Export_Data_Extractor::parse_complex_pairs($settings['item_names']);
|
279 |
+
}
|
280 |
+
|
281 |
if ( isset( $settings['date_format'] ) ) {
|
282 |
$options['date_format'] = $settings['date_format'];
|
283 |
} else {
|
331 |
if ( ! isset( $settings['skip_empty_file'] ) ) {
|
332 |
$settings['skip_empty_file'] = true;
|
333 |
}
|
334 |
+
//
|
335 |
+
if ( $settings['custom_php'] ) {
|
336 |
ob_start( array( 'WC_Order_Export_Engine', 'code_error_callback' ) );
|
337 |
$result = eval( $settings['custom_php_code'] );
|
338 |
ob_end_clean();
|
424 |
|
425 |
|
426 |
//get IDs
|
427 |
+
$sql = WC_Order_Export_Data_Extractor::sql_get_order_ids( $settings );//backtrace
|
428 |
$settings = self::replace_sort_field( $settings );
|
429 |
if ( $make_mode == 'estimate' OR $make_mode =='estimate_preview' ) { //if estimate return total count
|
430 |
return $wpdb->get_var( str_replace( 'ID AS order_id', 'COUNT(ID) AS order_count', $sql ) );
|
500 |
echo join( "\n\n", $s );
|
501 |
echo '</textarea>';
|
502 |
}
|
503 |
+
|
504 |
+
$formater->finish(); //backtrace
|
505 |
}
|
506 |
|
507 |
// no action woe_export_finished here!
|
539 |
$sql .= " LIMIT " . intval( $limit );
|
540 |
}
|
541 |
|
542 |
+
if ( !$order_ids OR apply_filters("woe_filter_bulk_action_export",false) ) {
|
543 |
+
$order_ids = apply_filters( "woe_get_order_ids", $wpdb->get_col( $sql ) );
|
544 |
+
}
|
545 |
self::$orders_for_export = $order_ids;
|
546 |
|
547 |
if ( empty( $order_ids ) AND apply_filters( 'woe_schedule_job_skip_empty_file',
|
classes/core/class-wc-order-export-order-fields.php
CHANGED
@@ -22,23 +22,30 @@ class WC_Order_Export_Order_Fields {
|
|
22 |
$this->options = $options;
|
23 |
$this->export = $export;
|
24 |
$this->order = $order;
|
25 |
-
$this->order_id = $order->get_id();
|
26 |
-
|
27 |
|
28 |
// get order meta
|
29 |
$this->order_meta = array();
|
30 |
if ( $order_post_meta = get_post_meta( $this->order_id ) ) {
|
31 |
foreach ( $order_post_meta as $meta_key => $meta_values ) {
|
32 |
-
|
|
|
|
|
|
|
33 |
}
|
34 |
}
|
35 |
|
36 |
|
37 |
|
38 |
// add fields for WC 3.0
|
39 |
-
|
|
|
|
|
|
|
40 |
$this->$field_30 = method_exists( $this->order,
|
41 |
'get_' . $field_30 ) ? $this->order->{'get_' . $field_30}() : $this->order->$field_30;
|
|
|
42 |
}
|
43 |
|
44 |
$parent_order_id = method_exists( $this->order,
|
@@ -62,14 +69,7 @@ class WC_Order_Export_Order_Fields {
|
|
62 |
|
63 |
//refund rewrites it
|
64 |
if ( $overwrite_child_order_meta ) {
|
65 |
-
foreach (
|
66 |
-
array(
|
67 |
-
"billing_country",
|
68 |
-
"billing_state",
|
69 |
-
"shipping_country",
|
70 |
-
"shipping_state",
|
71 |
-
) as $field_30
|
72 |
-
) {
|
73 |
$this->$field_30 = method_exists( $this->parent_order,
|
74 |
'get_' . $field_30 ) ? $this->parent_order->{'get_' . $field_30}() : $this->parent_order->$field_30;
|
75 |
}
|
@@ -83,14 +83,51 @@ class WC_Order_Export_Order_Fields {
|
|
83 |
// extra WP_User
|
84 |
$this->user = ! empty( $this->order_meta['_customer_user'] ) ? get_userdata( $this->order_meta['_customer_user'] ) : false;
|
85 |
// setup missed fields for full addresses
|
86 |
-
$
|
87 |
-
|
|
|
|
|
|
|
88 |
if ( ! isset( $this->order_meta[ $optional_field ] ) ) {
|
89 |
$this->order_meta[ $optional_field ] = '';
|
90 |
}
|
91 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
92 |
|
93 |
$this->order_meta = apply_filters( 'woe_fetch_order_meta', $this->order_meta, $this->order_id );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
94 |
}
|
95 |
|
96 |
public function set_data($data) {
|
@@ -378,9 +415,9 @@ class WC_Order_Export_Order_Fields {
|
|
378 |
} elseif ( isset( $this->order_meta[ "_" . $field ] ) ) { // or hidden field
|
379 |
$row[$field] = $this->order_meta[ "_" . $field ];
|
380 |
} else { // order_date...
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
}
|
385 |
return $row;
|
386 |
|
22 |
$this->options = $options;
|
23 |
$this->export = $export;
|
24 |
$this->order = $order;
|
25 |
+
$this->order_id = method_exists( $this->order, 'get_id' ) ? $order->get_id() : $order->id;
|
26 |
+
|
27 |
|
28 |
// get order meta
|
29 |
$this->order_meta = array();
|
30 |
if ( $order_post_meta = get_post_meta( $this->order_id ) ) {
|
31 |
foreach ( $order_post_meta as $meta_key => $meta_values ) {
|
32 |
+
if( apply_filters('woe_use_first_order_meta', false) )
|
33 |
+
$this->order_meta[ $meta_key ] = array_shift( $meta_values );
|
34 |
+
else
|
35 |
+
$this->order_meta[ $meta_key ] = join( WC_Order_Export_Data_Extractor::$export_custom_fields_separator, $meta_values );
|
36 |
}
|
37 |
}
|
38 |
|
39 |
|
40 |
|
41 |
// add fields for WC 3.0
|
42 |
+
$billing_fields = array( "billing_country", "billing_state" );
|
43 |
+
$shipping_fields = array( "shipping_country", "shipping_state" );
|
44 |
+
$fields_30 = array_merge( $billing_fields, $shipping_fields );
|
45 |
+
foreach ( $fields_30 as $field_30 ) {
|
46 |
$this->$field_30 = method_exists( $this->order,
|
47 |
'get_' . $field_30 ) ? $this->order->{'get_' . $field_30}() : $this->order->$field_30;
|
48 |
+
|
49 |
}
|
50 |
|
51 |
$parent_order_id = method_exists( $this->order,
|
69 |
|
70 |
//refund rewrites it
|
71 |
if ( $overwrite_child_order_meta ) {
|
72 |
+
foreach ( $fields_30 as $field_30 ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
73 |
$this->$field_30 = method_exists( $this->parent_order,
|
74 |
'get_' . $field_30 ) ? $this->parent_order->{'get_' . $field_30}() : $this->parent_order->$field_30;
|
75 |
}
|
83 |
// extra WP_User
|
84 |
$this->user = ! empty( $this->order_meta['_customer_user'] ) ? get_userdata( $this->order_meta['_customer_user'] ) : false;
|
85 |
// setup missed fields for full addresses
|
86 |
+
$optional_billing_fields = array( '_billing_address_1', '_billing_address_2', '_billing_first_name', '_billing_last_name', '_billing_city', '_billing_postcode', '_billing_country', '_billing_state' );
|
87 |
+
$optional_shipping_fields = array( '_shipping_address_1', '_shipping_address_2', '_shipping_first_name', '_shipping_last_name', '_shipping_city', '_shipping_postcode', '_shipping_country', '_shipping_state' );
|
88 |
+
$optional_fields = array_merge( $optional_billing_fields, $optional_shipping_fields );
|
89 |
+
foreach ( $optional_fields as $optional_field ) {
|
90 |
+
|
91 |
if ( ! isset( $this->order_meta[ $optional_field ] ) ) {
|
92 |
$this->order_meta[ $optional_field ] = '';
|
93 |
}
|
94 |
}
|
95 |
+
|
96 |
+
//method WC_Order::has_shipping_address checks only these 2 fields, so we have to add filter
|
97 |
+
$has_shipping_address = false;
|
98 |
+
$has_shipping_validate_keys = apply_filters( "woe_has_shipping_validate_keys", array( "_shipping_address_1", "_shipping_address_2" ) );
|
99 |
+
foreach($has_shipping_validate_keys as $shippping_key ) {
|
100 |
+
if( !empty($this->order_meta[$shippping_key]) )
|
101 |
+
$has_shipping_address = true;
|
102 |
+
}
|
103 |
+
|
104 |
+
if ( $this->options['billing_details_for_shipping'] && !$has_shipping_address ) {
|
105 |
+
$this->set_shipping_fields( $optional_shipping_fields );
|
106 |
+
}
|
107 |
|
108 |
$this->order_meta = apply_filters( 'woe_fetch_order_meta', $this->order_meta, $this->order_id );
|
109 |
+
//$optional_billing_fields = array( 'billing_country', 'billing_state', '_billing_address_1', '_billing_address_2', '_billing_first_name', '_billing_last_name', '_billing_city', '_billing_postcode', '_billing_country', '_billing_state' );
|
110 |
+
}
|
111 |
+
|
112 |
+
public function set_shipping_fields( $shippings_fields ) {
|
113 |
+
|
114 |
+
foreach ( $shippings_fields as $shipping_field ) {
|
115 |
+
|
116 |
+
$billing_field = str_replace( "shipping_", "billing_", $shipping_field );
|
117 |
+
|
118 |
+
$this->order_meta[ $shipping_field ] = $this->order_meta[ $billing_field ];
|
119 |
+
|
120 |
+
$_shipping_field = substr($shipping_field, 1);
|
121 |
+
|
122 |
+
if (method_exists( $this->order, 'set_' . $_shipping_field )) {
|
123 |
+
$this->order->{ 'set_' . $_shipping_field }( $this->order_meta[ $billing_field ] );
|
124 |
+
} else {
|
125 |
+
$this->order->$_shipping_field = $this->order_meta[ $billing_field ];
|
126 |
+
}
|
127 |
+
}
|
128 |
+
|
129 |
+
$this->shipping_country = $this->billing_country;
|
130 |
+
$this->shipping_state = $this->billing_state;
|
131 |
}
|
132 |
|
133 |
public function set_data($data) {
|
415 |
} elseif ( isset( $this->order_meta[ "_" . $field ] ) ) { // or hidden field
|
416 |
$row[$field] = $this->order_meta[ "_" . $field ];
|
417 |
} else { // order_date...
|
418 |
+
$row[$field] = method_exists( $this->order,
|
419 |
+
'get_' . $field ) ? $this->order->{'get_' . $field}() : get_post_meta( $this->order_id, '_' . $field, true );
|
420 |
+
//print_r($field."=".$label); echo "debug static!\n\n";
|
421 |
}
|
422 |
return $row;
|
423 |
|
classes/core/class-wc-order-export-order-product-fields.php
CHANGED
@@ -159,13 +159,10 @@ class WC_Order_Export_Order_Product_Fields {
|
|
159 |
$field_value = $this->item_id;
|
160 |
} elseif ( $field == 'item_price' ) {
|
161 |
$field_value = $this->order->get_item_total( $this->item, false, true ); // YES we have to calc item price
|
|
|
|
|
162 |
} elseif ( $field == 'discount_amount' ) {
|
163 |
-
|
164 |
-
$field_value = $this->item->get_subtotal() - $this->item->get_total();
|
165 |
-
} else //2.6
|
166 |
-
{
|
167 |
-
$field_value = $this->item['line_subtotal'] - $this->item['line_total'];
|
168 |
-
}
|
169 |
} elseif ( $field == 'tax_rate' ) {
|
170 |
if ( method_exists( $this->item, "get_subtotal" ) ) {
|
171 |
$subtotal_amount = $this->item->get_subtotal();
|
@@ -204,6 +201,12 @@ class WC_Order_Export_Order_Product_Fields {
|
|
204 |
}
|
205 |
$field_value = implode( "\n", $links );
|
206 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
207 |
} elseif ( $field == 'item_download_url' ) {
|
208 |
$field_value = '';
|
209 |
if ( $this->product AND $this->product->is_downloadable() ) {
|
@@ -268,4 +271,23 @@ class WC_Order_Export_Order_Product_Fields {
|
|
268 |
}
|
269 |
return $field_value;
|
270 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
271 |
}
|
159 |
$field_value = $this->item_id;
|
160 |
} elseif ( $field == 'item_price' ) {
|
161 |
$field_value = $this->order->get_item_total( $this->item, false, true ); // YES we have to calc item price
|
162 |
+
} elseif ( $field == 'item_price_before_discount' ) {
|
163 |
+
$field_value = $this->order->get_item_subtotal( $this->item );
|
164 |
} elseif ( $field == 'discount_amount' ) {
|
165 |
+
$field_value = $this->get_item_discount();
|
|
|
|
|
|
|
|
|
|
|
166 |
} elseif ( $field == 'tax_rate' ) {
|
167 |
if ( method_exists( $this->item, "get_subtotal" ) ) {
|
168 |
$subtotal_amount = $this->item->get_subtotal();
|
201 |
}
|
202 |
$field_value = implode( "\n", $links );
|
203 |
}
|
204 |
+
} elseif ( $field == 'item_discount_tax' ) {
|
205 |
+
$field_value = $this->get_item_discount() * $this->get_item_tax_rate()/100;
|
206 |
+
} elseif ( $field == 'item_discount_amount_and_tax' ) {
|
207 |
+
$item_discount = $this->get_item_discount();
|
208 |
+
$item_tax_rate = $this->get_item_tax_rate();
|
209 |
+
$field_value = $item_discount * ( 1 + $item_tax_rate / 100 );
|
210 |
} elseif ( $field == 'item_download_url' ) {
|
211 |
$field_value = '';
|
212 |
if ( $this->product AND $this->product->is_downloadable() ) {
|
271 |
}
|
272 |
return $field_value;
|
273 |
}
|
274 |
+
|
275 |
+
private function get_item_discount() {
|
276 |
+
if ( method_exists( $this->item, "get_subtotal" ) ) {
|
277 |
+
$item_discount = wc_format_decimal( $this->item->get_subtotal() - $this->item->get_total(), '');
|
278 |
+
} else {
|
279 |
+
$item_discount = $this->item['line_subtotal'] - $this->item['line_total'];
|
280 |
+
}
|
281 |
+
return $item_discount;
|
282 |
+
}
|
283 |
+
private function get_item_tax_rate() {
|
284 |
+
if ( method_exists( $this->item, "get_subtotal" ) ) {
|
285 |
+
$subtotal_amount = $this->item->get_subtotal();
|
286 |
+
$subtotal_tax = $this->item->get_subtotal_tax();
|
287 |
+
} else {
|
288 |
+
$subtotal_amount = $this->item['line_subtotal'];
|
289 |
+
$subtotal_tax = $this->item['line_subtotal_tax'];
|
290 |
+
}
|
291 |
+
return ( $subtotal_amount <> 0 ) ? round( 100 * $subtotal_tax / $subtotal_amount, apply_filters('woe_tax_rate_rounding_precision', 2) ) : 0;
|
292 |
+
}
|
293 |
}
|
classes/formats/abstract-class-woe-formatter-plain-format.php
CHANGED
@@ -39,8 +39,10 @@ abstract class WOE_Formatter_Plain_Format extends WOE_Formatter {
|
|
39 |
}
|
40 |
|
41 |
$this->summary_processing = false; //true only when we finish order scan
|
42 |
-
|
43 |
$this->encoding = isset( $this->settings['encoding'] ) ? $this->settings['encoding'] : '';
|
|
|
|
|
|
|
44 |
}
|
45 |
|
46 |
// calculate max columns based on order items
|
39 |
}
|
40 |
|
41 |
$this->summary_processing = false; //true only when we finish order scan
|
|
|
42 |
$this->encoding = isset( $this->settings['encoding'] ) ? $this->settings['encoding'] : '';
|
43 |
+
if ( isset( $this->settings['add_utf8_bom'] ) && $this->settings['add_utf8_bom'] ) {
|
44 |
+
$this->encoding = "UTF-8";
|
45 |
+
}
|
46 |
}
|
47 |
|
48 |
// calculate max columns based on order items
|
classes/formats/abstract-class-woe-formatter-sv.php
CHANGED
@@ -41,7 +41,7 @@ abstract class WOE_Formatter_sv extends WOE_Formatter_Plain_Format {
|
|
41 |
$data = apply_filters( "woe_{$this->format}_header_filter", $data );
|
42 |
$this->prepare_array( $data );
|
43 |
parent::start( $data );
|
44 |
-
|
45 |
if ( ! empty( $this->settings['add_utf8_bom'] ) ) {
|
46 |
fwrite( $this->handle, chr( 239 ) . chr( 187 ) . chr( 191 ) );
|
47 |
}
|
@@ -121,7 +121,7 @@ abstract class WOE_Formatter_sv extends WOE_Formatter_Plain_Format {
|
|
121 |
$arr = array_map( array( $this, 'stop_csv_injection' ), $arr );
|
122 |
}
|
123 |
|
124 |
-
if ( ! in_array( $this->encoding, array( '', 'utf-8', 'UTF-8' ) ) ) {
|
125 |
$arr = array_map( array( $this, 'encode_value' ), $arr );
|
126 |
}
|
127 |
}
|
41 |
$data = apply_filters( "woe_{$this->format}_header_filter", $data );
|
42 |
$this->prepare_array( $data );
|
43 |
parent::start( $data );
|
44 |
+
|
45 |
if ( ! empty( $this->settings['add_utf8_bom'] ) ) {
|
46 |
fwrite( $this->handle, chr( 239 ) . chr( 187 ) . chr( 191 ) );
|
47 |
}
|
121 |
$arr = array_map( array( $this, 'stop_csv_injection' ), $arr );
|
122 |
}
|
123 |
|
124 |
+
if ( $this->mode !== 'preview' AND ! in_array( $this->encoding, array( '', 'utf-8', 'UTF-8' ) ) ) {
|
125 |
$arr = array_map( array( $this, 'encode_value' ), $arr );
|
126 |
}
|
127 |
}
|
classes/formats/class-woe-formatter-html.php
CHANGED
@@ -180,26 +180,6 @@ class WOE_Formatter_Html extends WOE_Formatter_Plain_Format {
|
|
180 |
}
|
181 |
|
182 |
protected function prepare_array( &$arr ) {
|
183 |
-
if ( apply_filters( "woe_stop_csv_injection", true ) ) {
|
184 |
-
$arr = array_map( array( $this, 'stop_csv_injection' ), $arr );
|
185 |
-
}
|
186 |
-
|
187 |
-
if ( ! in_array( $this->encoding, array( '', 'utf-8', 'UTF-8' ) ) ) {
|
188 |
-
$arr = array_map( array( $this, 'encode_value' ), $arr );
|
189 |
-
}
|
190 |
-
}
|
191 |
-
|
192 |
-
protected function stop_csv_injection( $value ) {
|
193 |
-
$formula_chars = array( "=", "+", "-", "@" );
|
194 |
-
if ( in_array( substr( $value, 0, 1 ), $formula_chars ) ) {
|
195 |
-
$value = " " . $value;
|
196 |
-
}
|
197 |
-
|
198 |
-
return $value;
|
199 |
-
}
|
200 |
-
|
201 |
-
protected function encode_value( $value ) {
|
202 |
-
return iconv( 'UTF-8', $this->encoding, $value );
|
203 |
}
|
204 |
|
205 |
protected function get_prepared_css() {
|
180 |
}
|
181 |
|
182 |
protected function prepare_array( &$arr ) {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
}
|
184 |
|
185 |
protected function get_prepared_css() {
|
classes/formats/class-woe-formatter-pdf.php
CHANGED
@@ -173,6 +173,7 @@ class WOE_Formatter_PDF extends WOE_Formatter_Csv {
|
|
173 |
'size' => $this->font_size,
|
174 |
'text_color' => $this->hex2RGB( $this->settings['table_row_text_color'] ),
|
175 |
'background_color' => $this->hex2RGB( $this->settings['table_row_background_color'] ),
|
|
|
176 |
),
|
177 |
'footer' => array(
|
178 |
'title' => $this->settings['footer_text'],
|
@@ -210,13 +211,11 @@ class WOE_Formatter_PDF extends WOE_Formatter_Csv {
|
|
210 |
'value' => $source,
|
211 |
);
|
212 |
}
|
213 |
-
$row_height = $this->settings['row_images_height'] ? $this->settings['row_images_height']: null;
|
214 |
-
} else {
|
215 |
-
$row_height = null;
|
216 |
}
|
|
|
217 |
$row = apply_filters( 'woe_pdf_prepare_row', $row );
|
218 |
$row_style = apply_filters("woe_pdf_before_print_row", null, $row, $this->pdf, $this);
|
219 |
-
$this->pdf->addRow( $row, null,
|
220 |
$row = fgetcsv( $this->handle, 0, $this->delimiter, $this->enclosure );
|
221 |
}
|
222 |
|
173 |
'size' => $this->font_size,
|
174 |
'text_color' => $this->hex2RGB( $this->settings['table_row_text_color'] ),
|
175 |
'background_color' => $this->hex2RGB( $this->settings['table_row_background_color'] ),
|
176 |
+
'image_height' => $this->settings['row_images_height'],
|
177 |
),
|
178 |
'footer' => array(
|
179 |
'title' => $this->settings['footer_text'],
|
211 |
'value' => $source,
|
212 |
);
|
213 |
}
|
|
|
|
|
|
|
214 |
}
|
215 |
+
|
216 |
$row = apply_filters( 'woe_pdf_prepare_row', $row );
|
217 |
$row_style = apply_filters("woe_pdf_before_print_row", null, $row, $this->pdf, $this);
|
218 |
+
$this->pdf->addRow( $row, null, null, $row_style );
|
219 |
$row = fgetcsv( $this->handle, 0, $this->delimiter, $this->enclosure );
|
220 |
}
|
221 |
|
i18n/languages/woo-order-export-lite.pot
CHANGED
@@ -3,7 +3,7 @@ msgid ""
|
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Order Export For WooCommerce\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
-
"POT-Creation-Date:
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
@@ -13,97 +13,97 @@ msgstr ""
|
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
-
"X-Loco-Version: 2.3.1; wp-5.3"
|
17 |
|
18 |
-
#: classes/class-wc-order-export-admin.php:
|
19 |
#, php-format
|
20 |
msgid "%s order marked."
|
21 |
msgid_plural "%s orders marked."
|
22 |
msgstr[0] ""
|
23 |
msgstr[1] ""
|
24 |
|
25 |
-
#: classes/class-wc-order-export-admin.php:
|
26 |
#, php-format
|
27 |
msgid "%s order unmarked."
|
28 |
msgid_plural "%s orders unmarked."
|
29 |
msgstr[0] ""
|
30 |
msgstr[1] ""
|
31 |
|
32 |
-
#: view/settings-form.php:46 view/settings-form.php:
|
33 |
-
#: view/settings-form.php:
|
34 |
msgid "-"
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: view/settings-form.php:
|
38 |
msgid "- don't modify -"
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: view/settings-form.php:
|
42 |
msgid "0 - auto scale"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: classes/class-wc-order-export-admin.php:
|
46 |
msgid "1st row only"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: classes/core/class-wc-order-export-data-extractor.php:
|
50 |
msgid "[Rest of the World]"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: view/settings-form.php:
|
54 |
msgid "Actions"
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: classes/class-wc-order-export-admin.php:
|
58 |
msgid "Add"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: classes/class-wc-order-export-admin.php:
|
62 |
#, php-format
|
63 |
msgid "Add %s fields"
|
64 |
msgstr ""
|
65 |
|
66 |
-
#: view/settings-form.php:
|
67 |
msgid "Add fee"
|
68 |
msgstr ""
|
69 |
|
70 |
-
#: view/settings-form.php:
|
71 |
msgid "Add field"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: view/settings-form.php:
|
75 |
msgid "Add shipping"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: view/settings-form.php:
|
79 |
msgid "Add static field"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: view/settings-form.php:
|
83 |
msgid "Add tax"
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
87 |
msgid "Address 1 (Billing)"
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
91 |
msgid "Address 1 (Shipping)"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
95 |
msgid "Address 1&2 (Billing)"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
99 |
msgid "Address 1&2 (Shipping)"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
103 |
msgid "Address 2 (Billing)"
|
104 |
msgstr ""
|
105 |
|
106 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
107 |
msgid "Address 2 (Shipping)"
|
108 |
msgstr ""
|
109 |
|
@@ -111,7 +111,7 @@ msgstr ""
|
|
111 |
msgid "Advanced Order Export For WooCommerce"
|
112 |
msgstr ""
|
113 |
|
114 |
-
#: classes/class-wc-order-export-admin.php:
|
115 |
msgid ""
|
116 |
"Advanced Order Export For WooCommerce is available <a href=\"admin.php?"
|
117 |
"page=wc-order-export\">on this page</a>."
|
@@ -125,15 +125,15 @@ msgstr ""
|
|
125 |
msgid "All"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#: classes/class-wc-order-export-admin.php:
|
129 |
msgid "all rows"
|
130 |
msgstr ""
|
131 |
|
132 |
-
#: view/settings-form.php:
|
133 |
msgid "Any coupon used"
|
134 |
msgstr ""
|
135 |
|
136 |
-
#: view/settings-form.php:
|
137 |
msgid "Append XML"
|
138 |
msgstr ""
|
139 |
|
@@ -141,24 +141,24 @@ msgstr ""
|
|
141 |
msgid "Are you sure to continue?"
|
142 |
msgstr ""
|
143 |
|
144 |
-
#: classes/class-wc-order-export-admin.php:
|
145 |
msgid "as"
|
146 |
msgstr ""
|
147 |
|
148 |
-
#: view/settings-form.php:
|
149 |
msgid "Ascending"
|
150 |
msgstr ""
|
151 |
|
152 |
-
#: view/settings-form.php:
|
153 |
msgid "Auto column width"
|
154 |
msgstr ""
|
155 |
|
156 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
157 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
158 |
msgid "Billing Address"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: view/settings-form.php:
|
162 |
msgid "Billing locations"
|
163 |
msgstr ""
|
164 |
|
@@ -181,7 +181,7 @@ msgstr ""
|
|
181 |
msgid "can not open for output"
|
182 |
msgstr ""
|
183 |
|
184 |
-
#: classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php:
|
185 |
msgid "Can't create temporary file"
|
186 |
msgstr ""
|
187 |
|
@@ -189,73 +189,73 @@ msgstr ""
|
|
189 |
msgid "Can't find exported file"
|
190 |
msgstr ""
|
191 |
|
192 |
-
#: view/settings-form.php:
|
193 |
-
#: view/settings-form.php:
|
194 |
-
#: view/settings-form.php:
|
195 |
-
#: view/settings-form.php:
|
196 |
-
#: view/settings-form.php:
|
197 |
-
#: view/settings-form.php:
|
198 |
msgid "Cancel"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
202 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
203 |
msgid "Cart"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
207 |
msgid "Cart Discount Amount"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
211 |
msgid "Cart Discount Amount Tax"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
215 |
msgid "Category"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: view/settings-form.php:
|
219 |
msgid "Center align"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: view/settings-form.php:
|
223 |
msgid "Change order status to"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: view/settings-form.php:
|
227 |
msgid "Character encoding"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
231 |
msgid "City (Billing)"
|
232 |
msgstr ""
|
233 |
|
234 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
235 |
msgid "City (Shipping)"
|
236 |
msgstr ""
|
237 |
|
238 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
239 |
msgid "City, State Zip (Billing)"
|
240 |
msgstr ""
|
241 |
|
242 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
243 |
msgid "City, State Zip (Shipping)"
|
244 |
msgstr ""
|
245 |
|
246 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
247 |
msgid "City, State, Zip (Billing)"
|
248 |
msgstr ""
|
249 |
|
250 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
251 |
msgid "City, State, Zip (Shipping)"
|
252 |
msgstr ""
|
253 |
|
254 |
-
#: view/settings-form.php:
|
255 |
msgid "Cleanup phone (export only digits)"
|
256 |
msgstr ""
|
257 |
|
258 |
-
#: view/settings-form.php:
|
259 |
msgid "Click here to download"
|
260 |
msgstr ""
|
261 |
|
@@ -263,67 +263,67 @@ msgstr ""
|
|
263 |
msgid "code snippets"
|
264 |
msgstr ""
|
265 |
|
266 |
-
#: view/settings-form.php:
|
267 |
-
#: view/settings-form.php:
|
268 |
-
#: view/settings-form.php:
|
269 |
-
#: view/settings-form.php:
|
270 |
-
#: view/settings-form.php:
|
271 |
-
#: view/settings-form.php:
|
272 |
msgid "Column name"
|
273 |
msgstr ""
|
274 |
|
275 |
-
#: classes/class-wc-order-export-admin.php:
|
276 |
msgid "columns"
|
277 |
msgstr ""
|
278 |
|
279 |
-
#: view/settings-form.php:
|
280 |
msgid "Columns align"
|
281 |
msgstr ""
|
282 |
|
283 |
-
#: view/settings-form.php:
|
284 |
msgid "Columns horizontal align"
|
285 |
msgstr ""
|
286 |
|
287 |
-
#: view/settings-form.php:
|
288 |
msgid "Columns vertical align"
|
289 |
msgstr ""
|
290 |
|
291 |
-
#: view/settings-form.php:
|
292 |
msgid "Columns width"
|
293 |
msgstr ""
|
294 |
|
295 |
-
#: view/settings-form.php:
|
296 |
msgid "comma separated list"
|
297 |
msgstr ""
|
298 |
|
299 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
300 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
301 |
msgid "Common"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
305 |
msgid "Company (Billing)"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
309 |
msgid "Company (Shipping)"
|
310 |
msgstr ""
|
311 |
|
312 |
#: view/settings-form.php:167
|
313 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
314 |
msgid "Completed Date"
|
315 |
msgstr ""
|
316 |
|
317 |
-
#: view/settings-form.php:
|
318 |
-
#: view/settings-form.php:
|
319 |
-
#: view/settings-form.php:
|
320 |
-
#: view/settings-form.php:
|
321 |
-
#: view/settings-form.php:
|
322 |
-
#: view/settings-form.php:
|
323 |
msgid "Confirm"
|
324 |
msgstr ""
|
325 |
|
326 |
-
#: view/settings-form.php:
|
327 |
msgid "Convert line breaks to literals"
|
328 |
msgstr ""
|
329 |
|
@@ -333,128 +333,128 @@ msgid ""
|
|
333 |
"install."
|
334 |
msgstr ""
|
335 |
|
336 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
337 |
msgid "Country Code (Billing)"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
341 |
msgid "Country Code (Shipping)"
|
342 |
msgstr ""
|
343 |
|
344 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
345 |
msgid "Country Name (Billing)"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
349 |
msgid "Country Name (Shipping)"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
353 |
msgid "Coupon Amount"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
357 |
msgid "Coupon Code"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
361 |
msgid "Coupon Description"
|
362 |
msgstr ""
|
363 |
|
364 |
-
#: view/settings-form.php:
|
365 |
msgid "Coupon tag"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
369 |
msgid "Coupon Type"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#: view/settings-form.php:
|
373 |
-
#: classes/admin/class-wc-order-export-manage.php:
|
374 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
375 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
376 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
377 |
msgid "Coupons"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#: classes/class-wc-order-export-admin.php:
|
381 |
msgid "coupons"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
385 |
msgid "Coupons Used"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#: view/settings-form.php:
|
389 |
msgid "CSV options"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
393 |
msgid "Currency"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#: view/settings-form.php:
|
397 |
msgid "custom"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#: view/settings-form.php:
|
401 |
msgid "Custom css"
|
402 |
msgstr ""
|
403 |
|
404 |
-
#: view/settings-form.php:
|
405 |
msgid "Custom fields"
|
406 |
msgstr ""
|
407 |
|
408 |
-
#: view/settings-form.php:
|
409 |
msgid "Custom PHP code to modify output"
|
410 |
msgstr ""
|
411 |
|
412 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
413 |
msgid "Customer first order date"
|
414 |
msgstr ""
|
415 |
|
416 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
417 |
msgid "Customer IP address"
|
418 |
msgstr ""
|
419 |
|
420 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
421 |
msgid "Customer last order date"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
425 |
msgid "Customer Note"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
429 |
msgid "Customer Role"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
433 |
msgid "Customer Total Orders"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
437 |
msgid "Customer User Email"
|
438 |
msgstr ""
|
439 |
|
440 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
441 |
msgid "Customer User ID"
|
442 |
msgstr ""
|
443 |
|
444 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
445 |
msgid "Customer Username"
|
446 |
msgstr ""
|
447 |
|
448 |
-
#: view/settings-form.php:
|
449 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
450 |
msgid "Date"
|
451 |
msgstr ""
|
452 |
|
453 |
-
#: classes/class-wc-order-export-admin.php:
|
454 |
msgid "Date From is greater than Date To"
|
455 |
msgstr ""
|
456 |
|
457 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
458 |
msgid "Date of first refund"
|
459 |
msgstr ""
|
460 |
|
@@ -462,35 +462,35 @@ msgstr ""
|
|
462 |
msgid "Date range"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#: view/settings-form.php:
|
466 |
msgid "Descending"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
470 |
msgid "Description"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
474 |
msgid "Discount Amount"
|
475 |
msgstr ""
|
476 |
|
477 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
478 |
msgid "Discount Amount + Tax"
|
479 |
msgstr ""
|
480 |
|
481 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
482 |
msgid "Discount Amount Tax"
|
483 |
msgstr ""
|
484 |
|
485 |
-
#: classes/class-wc-order-export-admin.php:
|
486 |
msgid "Docs"
|
487 |
msgstr ""
|
488 |
|
489 |
-
#: view/settings-form.php:
|
490 |
msgid "Don't escape /"
|
491 |
msgstr ""
|
492 |
|
493 |
-
#: view/settings-form.php:
|
494 |
msgid "Don't export child orders"
|
495 |
msgstr ""
|
496 |
|
@@ -501,97 +501,102 @@ msgid ""
|
|
501 |
"reduce reply time :)"
|
502 |
msgstr ""
|
503 |
|
504 |
-
#: classes/core/class-wc-order-export-engine.php:
|
505 |
msgid "Don't Panic"
|
506 |
msgstr ""
|
507 |
|
508 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
509 |
msgid "Download URL"
|
510 |
msgstr ""
|
511 |
|
512 |
-
#: view/settings-form.php:
|
513 |
msgid "Drag rows to reorder exported fields"
|
514 |
msgstr ""
|
515 |
|
516 |
-
#: classes/core/class-wc-order-export-order-fields.php:
|
517 |
msgid "Edit order"
|
518 |
msgstr ""
|
519 |
|
520 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
521 |
msgid "Email (Billing)"
|
522 |
msgstr ""
|
523 |
|
524 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
525 |
msgid "Embedded Product Image"
|
526 |
msgstr ""
|
527 |
|
528 |
-
#: classes/class-wc-order-export-admin.php:
|
529 |
#: classes/core/class-wc-order-export-data-extractor.php:315
|
530 |
msgid "empty"
|
531 |
msgstr ""
|
532 |
|
533 |
-
#: classes/class-wc-order-export-admin.php:
|
534 |
msgid "empty column name"
|
535 |
msgstr ""
|
536 |
|
537 |
-
#: classes/class-wc-order-export-admin.php:
|
538 |
msgid "empty meta key"
|
539 |
msgstr ""
|
540 |
|
541 |
-
#: classes/class-wc-order-export-admin.php:
|
542 |
msgid "Empty method"
|
543 |
msgstr ""
|
544 |
|
545 |
-
#: classes/class-wc-order-export-admin.php:
|
546 |
msgid "empty value"
|
547 |
msgstr ""
|
548 |
|
549 |
-
#: view/settings-form.php:
|
550 |
msgid "Enable debug output"
|
551 |
msgstr ""
|
552 |
|
553 |
-
#: view/settings-form.php:
|
554 |
msgid "Enclosure"
|
555 |
msgstr ""
|
556 |
|
557 |
-
#: view/settings-form.php:
|
558 |
msgid "Encode numeric strings as numbers"
|
559 |
msgstr ""
|
560 |
|
561 |
-
#: view/settings-form.php:
|
562 |
msgid "End tag"
|
563 |
msgstr ""
|
564 |
|
565 |
-
#: view/settings-form.php:
|
566 |
msgid "Exclude products"
|
567 |
msgstr ""
|
568 |
|
569 |
-
#: view/settings-form.php:
|
570 |
msgid "Export"
|
571 |
msgstr ""
|
572 |
|
573 |
-
#: view/settings-form.php:
|
574 |
msgid "Export [w/o progressbar]"
|
575 |
msgstr ""
|
576 |
|
577 |
-
#: view/settings-form.php:
|
578 |
msgid "Export all order notes"
|
579 |
msgstr ""
|
580 |
|
581 |
-
#: view/settings-form.php:
|
582 |
msgid "Export all products from the order"
|
583 |
msgstr ""
|
584 |
|
585 |
-
#: classes/class-wc-order-export-admin.php:
|
586 |
#, php-format
|
587 |
msgid "Export as %s"
|
588 |
msgstr ""
|
589 |
|
590 |
-
#: view/settings-form.php:
|
591 |
msgid "Export as .xls (Binary File Format)"
|
592 |
msgstr ""
|
593 |
|
594 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
595 |
msgid "Export filename"
|
596 |
msgstr ""
|
597 |
|
@@ -600,10 +605,14 @@ msgstr ""
|
|
600 |
msgid "Export now"
|
601 |
msgstr ""
|
602 |
|
603 |
-
#:
|
604 |
-
|
605 |
-
|
606 |
-
|
|
|
|
|
|
|
|
|
607 |
msgid "Export Orders"
|
608 |
msgstr ""
|
609 |
|
@@ -611,11 +620,11 @@ msgstr ""
|
|
611 |
msgid "Export orders from WooCommerce with ease (Excel/CSV/XML/JSON supported)"
|
612 |
msgstr ""
|
613 |
|
614 |
-
#: view/settings-form.php:
|
615 |
msgid "Export refund notes as Customer Note"
|
616 |
msgstr ""
|
617 |
|
618 |
-
#: view/settings-form.php:
|
619 |
msgid "Export refunds"
|
620 |
msgstr ""
|
621 |
|
@@ -623,32 +632,32 @@ msgstr ""
|
|
623 |
msgid "Export settings"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#: classes/class-wc-order-export-admin.php:
|
627 |
msgid "Export Status"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#: view/settings-form.php:
|
631 |
#, php-format
|
632 |
msgid "Export total: %s orders"
|
633 |
msgstr ""
|
634 |
|
635 |
-
#: view/settings-form.php:
|
636 |
msgid "Export unmarked orders only"
|
637 |
msgstr ""
|
638 |
|
639 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
640 |
msgid "Exported items"
|
641 |
msgstr ""
|
642 |
|
643 |
-
#: view/settings-form.php:
|
644 |
msgid "Express export"
|
645 |
msgstr ""
|
646 |
|
647 |
-
#: view/settings-form.php:
|
648 |
msgid "Fee name"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#: view/settings-form.php:
|
652 |
msgid "Field Delimiter"
|
653 |
msgstr ""
|
654 |
|
@@ -656,35 +665,35 @@ msgstr ""
|
|
656 |
msgid "Field format"
|
657 |
msgstr ""
|
658 |
|
659 |
-
#: classes/class-wc-order-export-admin.php:
|
660 |
msgid "Fill order columns for"
|
661 |
msgstr ""
|
662 |
|
663 |
-
#: view/settings-form.php:
|
664 |
msgid "Filter by billing"
|
665 |
msgstr ""
|
666 |
|
667 |
-
#: view/settings-form.php:
|
668 |
msgid "Filter by coupon"
|
669 |
msgstr ""
|
670 |
|
671 |
-
#: view/settings-form.php:
|
672 |
msgid "Filter by customer"
|
673 |
msgstr ""
|
674 |
|
675 |
-
#: view/settings-form.php:
|
676 |
msgid "Filter by item and metadata"
|
677 |
msgstr ""
|
678 |
|
679 |
-
#: view/settings-form.php:
|
680 |
msgid "Filter by order"
|
681 |
msgstr ""
|
682 |
|
683 |
-
#: view/settings-form.php:
|
684 |
msgid "Filter by product"
|
685 |
msgstr ""
|
686 |
|
687 |
-
#: view/settings-form.php:
|
688 |
msgid "Filter by shipping"
|
689 |
msgstr ""
|
690 |
|
@@ -692,39 +701,39 @@ msgstr ""
|
|
692 |
msgid "Filter orders by"
|
693 |
msgstr ""
|
694 |
|
695 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
696 |
msgid "First Name (Billing)"
|
697 |
msgstr ""
|
698 |
|
699 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
700 |
msgid "First Name (Shipping)"
|
701 |
msgstr ""
|
702 |
|
703 |
-
#: view/settings-form.php:
|
704 |
msgid "Fit table to page width"
|
705 |
msgstr ""
|
706 |
|
707 |
-
#: view/settings-form.php:
|
708 |
msgid "Font size"
|
709 |
msgstr ""
|
710 |
|
711 |
-
#: view/settings-form.php:
|
712 |
msgid "Footer text"
|
713 |
msgstr ""
|
714 |
|
715 |
-
#: view/settings-form.php:
|
716 |
msgid "Footer text color"
|
717 |
msgstr ""
|
718 |
|
719 |
-
#: view/settings-form.php:
|
720 |
msgid "Force general format for all cells"
|
721 |
msgstr ""
|
722 |
|
723 |
-
#: view/settings-form.php:
|
724 |
msgid "Format"
|
725 |
msgstr ""
|
726 |
|
727 |
-
#: view/settings-form.php:
|
728 |
msgid "Format numbers (use WC decimal separator)"
|
729 |
msgstr ""
|
730 |
|
@@ -732,35 +741,35 @@ msgstr ""
|
|
732 |
msgid "Fri"
|
733 |
msgstr ""
|
734 |
|
735 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
736 |
msgid "Full Name (Billing)"
|
737 |
msgstr ""
|
738 |
|
739 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
740 |
msgid "Full Name (Shipping)"
|
741 |
msgstr ""
|
742 |
|
743 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
744 |
msgid "Full names for categories"
|
745 |
msgstr ""
|
746 |
|
747 |
-
#: classes/class-wc-order-export-admin.php:
|
748 |
msgid "Grouping by coupon"
|
749 |
msgstr ""
|
750 |
|
751 |
-
#: classes/class-wc-order-export-admin.php:
|
752 |
msgid "Grouping by product"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#: view/settings-form.php:
|
756 |
msgid "Header text"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#: view/settings-form.php:
|
760 |
msgid "Header text color"
|
761 |
msgstr ""
|
762 |
|
763 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
764 |
msgid "Height"
|
765 |
msgstr ""
|
766 |
|
@@ -772,13 +781,13 @@ msgstr ""
|
|
772 |
msgid "helpdesk system"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#: view/settings-form.php:
|
776 |
-
#: view/settings-form.php:
|
777 |
-
#: view/settings-form.php:
|
778 |
msgid "Hide unused fields"
|
779 |
msgstr ""
|
780 |
|
781 |
-
#: view/settings-form.php:
|
782 |
msgid "Html options"
|
783 |
msgstr ""
|
784 |
|
@@ -786,7 +795,7 @@ msgstr ""
|
|
786 |
msgid "https://algolplus.com/"
|
787 |
msgstr ""
|
788 |
|
789 |
-
#: view/settings-form.php:
|
790 |
#, php-format
|
791 |
msgid ""
|
792 |
"If you see this message after page load, user interface won't work correctly!"
|
@@ -794,21 +803,21 @@ msgid ""
|
|
794 |
"it). Probably, it's a conflict with another plugin or active theme."
|
795 |
msgstr ""
|
796 |
|
797 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
798 |
msgid "Image"
|
799 |
msgstr ""
|
800 |
|
801 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
802 |
msgid "Image URL"
|
803 |
msgstr ""
|
804 |
|
805 |
-
#: view/settings-form.php:
|
806 |
-
#: view/settings-form.php:
|
807 |
msgid "Images height"
|
808 |
msgstr ""
|
809 |
|
810 |
-
#: view/settings-form.php:
|
811 |
-
#: view/settings-form.php:
|
812 |
msgid "Images width"
|
813 |
msgstr ""
|
814 |
|
@@ -820,51 +829,63 @@ msgstr ""
|
|
820 |
msgid "Import settings"
|
821 |
msgstr ""
|
822 |
|
823 |
-
#: view/settings-form.php:
|
824 |
msgid "It might not work for huge datasets!"
|
825 |
msgstr ""
|
826 |
|
827 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
828 |
msgid "Item #"
|
829 |
msgstr ""
|
830 |
|
831 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
832 |
msgid "Item Cost"
|
833 |
msgstr ""
|
834 |
|
835 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
|
|
|
|
|
|
|
|
836 |
msgid "Item Discount Amount"
|
837 |
msgstr ""
|
838 |
|
839 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
840 |
msgid "Item download URL"
|
841 |
msgstr ""
|
842 |
|
843 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
844 |
msgid "Item ID"
|
845 |
msgstr ""
|
846 |
|
847 |
-
#: view/settings-form.php:
|
848 |
msgid "Item meta data"
|
849 |
msgstr ""
|
850 |
|
851 |
-
#: view/settings-form.php:
|
852 |
msgid "Item metadata"
|
853 |
msgstr ""
|
854 |
|
855 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
856 |
msgid "Item Name"
|
857 |
msgstr ""
|
858 |
|
859 |
-
#: view/settings-form.php:
|
860 |
msgid "Item names"
|
861 |
msgstr ""
|
862 |
|
863 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
864 |
msgid "Item Tax Rate"
|
865 |
msgstr ""
|
866 |
|
867 |
-
#: view/settings-form.php:
|
868 |
msgid "JSON options"
|
869 |
msgstr ""
|
870 |
|
@@ -872,47 +893,47 @@ msgstr ""
|
|
872 |
msgid "Just click inside the textarea and copy (Ctrl+C)"
|
873 |
msgstr ""
|
874 |
|
875 |
-
#: view/settings-form.php:
|
876 |
msgid "L,C or R. Comma separated list"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
880 |
msgid "Last Name (Billing)"
|
881 |
msgstr ""
|
882 |
|
883 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
884 |
msgid "Last Name (Shipping)"
|
885 |
msgstr ""
|
886 |
|
887 |
-
#: view/settings-form.php:
|
888 |
msgid "Left align"
|
889 |
msgstr ""
|
890 |
|
891 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
892 |
msgid "Length"
|
893 |
msgstr ""
|
894 |
|
895 |
-
#: view/settings-form.php:
|
896 |
msgid "Line Break"
|
897 |
msgstr ""
|
898 |
|
899 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
900 |
msgid "Line number"
|
901 |
msgstr ""
|
902 |
|
903 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
904 |
msgid "Link to edit order"
|
905 |
msgstr ""
|
906 |
|
907 |
-
#: view/settings-form.php:
|
908 |
msgid "Logo align"
|
909 |
msgstr ""
|
910 |
|
911 |
-
#: view/settings-form.php:
|
912 |
msgid "Logo height"
|
913 |
msgstr ""
|
914 |
|
915 |
-
#: view/settings-form.php:
|
916 |
msgid "Logo width"
|
917 |
msgstr ""
|
918 |
|
@@ -922,33 +943,33 @@ msgid ""
|
|
922 |
"Look at %s for popular plugins or check %s to study how to extend the plugin."
|
923 |
msgstr ""
|
924 |
|
925 |
-
#: classes/core/class-wc-order-export-engine.php:
|
926 |
msgid "Main SQL queries are listed below"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#: classes/class-wc-order-export-admin.php:
|
930 |
msgid "Mark exported"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#: view/settings-form.php:
|
934 |
msgid "Mark exported orders"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#: view/settings-form.php:
|
938 |
-
#: view/settings-form.php:
|
939 |
msgid "Meta key"
|
940 |
msgstr ""
|
941 |
|
942 |
-
#: view/settings-form.php:
|
943 |
msgid "Might be different from actual export!"
|
944 |
msgstr ""
|
945 |
|
946 |
-
#: view/settings-form.php:
|
947 |
msgid "Misc settings"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#: view/settings-form.php:153 view/settings-form.php:
|
951 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
952 |
msgid "Modification Date"
|
953 |
msgstr ""
|
954 |
|
@@ -956,7 +977,7 @@ msgstr ""
|
|
956 |
msgid "Mon"
|
957 |
msgstr ""
|
958 |
|
959 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
960 |
msgid "Money"
|
961 |
msgstr ""
|
962 |
|
@@ -964,102 +985,106 @@ msgstr ""
|
|
964 |
msgid "Need help? Create ticket in"
|
965 |
msgstr ""
|
966 |
|
967 |
-
#: view/settings-form.php:
|
968 |
msgid "No"
|
969 |
msgstr ""
|
970 |
|
971 |
-
#: view/settings-form.php:
|
972 |
msgid "No page numbers"
|
973 |
msgstr ""
|
974 |
|
975 |
-
#: classes/formats/abstract-class-woe-formatter-sv.php:102
|
976 |
#: classes/formats/class-woe-formatter-html.php:137
|
|
|
977 |
#: classes/formats/class-woe-formatter-xls.php:241
|
978 |
msgid "No results"
|
979 |
msgstr ""
|
980 |
|
981 |
-
#: classes/class-wc-order-export-admin.php:
|
982 |
-
#: classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php:
|
983 |
msgid "Nothing to export. Please, adjust your filters"
|
984 |
msgstr ""
|
985 |
|
986 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
987 |
msgid "Number"
|
988 |
msgstr ""
|
989 |
|
990 |
-
#: classes/class-wc-order-export-admin.php:
|
991 |
msgid "one row"
|
992 |
msgstr ""
|
993 |
|
994 |
-
#: view/settings-form.php:
|
995 |
msgid "OR"
|
996 |
msgstr ""
|
997 |
|
998 |
-
#: view/settings-form.php:
|
999 |
-
#: view/settings-form.php:
|
1000 |
-
#: view/settings-form.php:
|
1001 |
msgid "or type meta key here"
|
1002 |
msgstr ""
|
1003 |
|
1004 |
-
#: view/settings-form.php:146 view/settings-form.php:
|
1005 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1006 |
msgid "Order Date"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
-
#: view/settings-form.php:
|
1010 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1011 |
msgid "Order ID"
|
1012 |
msgstr ""
|
1013 |
|
1014 |
-
#: view/settings-form.php:
|
1015 |
msgid "Order item fields"
|
1016 |
msgstr ""
|
1017 |
|
1018 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
|
|
|
|
|
|
|
|
1019 |
msgid "Order Line (w/o tax)"
|
1020 |
msgstr ""
|
1021 |
|
1022 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1023 |
msgid "Order Line Subtotal"
|
1024 |
msgstr ""
|
1025 |
|
1026 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1027 |
msgid "Order Line Subtotal Tax"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1031 |
msgid "Order Line Tax"
|
1032 |
msgstr ""
|
1033 |
|
1034 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1035 |
msgid "Order Line Tax (- Refund)"
|
1036 |
msgstr ""
|
1037 |
|
1038 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1039 |
msgid "Order Line Tax Refunded"
|
1040 |
msgstr ""
|
1041 |
|
1042 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1043 |
msgid "Order Line Total"
|
1044 |
msgstr ""
|
1045 |
|
1046 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1047 |
msgid "Order Line Total (- Refund)"
|
1048 |
msgstr ""
|
1049 |
|
1050 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1051 |
msgid "Order Line Total (include tax)"
|
1052 |
msgstr ""
|
1053 |
|
1054 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1055 |
msgid "Order Line Total Refunded"
|
1056 |
msgstr ""
|
1057 |
|
1058 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1059 |
msgid "Order Notes"
|
1060 |
msgstr ""
|
1061 |
|
1062 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1063 |
msgid "Order Number"
|
1064 |
msgstr ""
|
1065 |
|
@@ -1067,47 +1092,47 @@ msgstr ""
|
|
1067 |
msgid "Order Refund"
|
1068 |
msgstr ""
|
1069 |
|
1070 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1071 |
msgid "Order Refund Amount"
|
1072 |
msgstr ""
|
1073 |
|
1074 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1075 |
msgid "Order Shipping + Tax Amount"
|
1076 |
msgstr ""
|
1077 |
|
1078 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1079 |
msgid "Order Shipping Amount"
|
1080 |
msgstr ""
|
1081 |
|
1082 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1083 |
msgid "Order Shipping Amount (- Refund)"
|
1084 |
msgstr ""
|
1085 |
|
1086 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1087 |
msgid "Order Shipping Amount Refunded"
|
1088 |
msgstr ""
|
1089 |
|
1090 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1091 |
msgid "Order Shipping Tax Amount"
|
1092 |
msgstr ""
|
1093 |
|
1094 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1095 |
msgid "Order Shipping Tax Amount (- Refund)"
|
1096 |
msgstr ""
|
1097 |
|
1098 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1099 |
msgid "Order Shipping Tax Refunded"
|
1100 |
msgstr ""
|
1101 |
|
1102 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1103 |
msgid "Order Status"
|
1104 |
msgstr ""
|
1105 |
|
1106 |
-
#: view/settings-form.php:
|
1107 |
msgid "Order status"
|
1108 |
msgstr ""
|
1109 |
|
1110 |
-
#: view/settings-form.php:
|
1111 |
msgid "Order statuses"
|
1112 |
msgstr ""
|
1113 |
|
@@ -1115,55 +1140,55 @@ msgstr ""
|
|
1115 |
msgid "Order Subscription"
|
1116 |
msgstr ""
|
1117 |
|
1118 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1119 |
msgid "Order Subtotal - Cart Discount"
|
1120 |
msgstr ""
|
1121 |
|
1122 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1123 |
msgid "Order Subtotal Amount"
|
1124 |
msgstr ""
|
1125 |
|
1126 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1127 |
msgid "Order Subtotal Amount (- Refund)"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1131 |
msgid "Order Subtotal Amount Refunded"
|
1132 |
msgstr ""
|
1133 |
|
1134 |
-
#: view/settings-form.php:
|
1135 |
msgid "Order tag"
|
1136 |
msgstr ""
|
1137 |
|
1138 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1139 |
msgid "Order Tax Amount"
|
1140 |
msgstr ""
|
1141 |
|
1142 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1143 |
msgid "Order Total Amount"
|
1144 |
msgstr ""
|
1145 |
|
1146 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1147 |
msgid "Order Total Amount (- Refund)"
|
1148 |
msgstr ""
|
1149 |
|
1150 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1151 |
msgid "Order Total Amount without Tax"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1155 |
msgid "Order Total Fee"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1159 |
msgid "Order Total Tax Amount"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1163 |
msgid "Order Total Tax Amount (- Refund)"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1167 |
msgid "Order Total Tax Amount Refunded"
|
1168 |
msgstr ""
|
1169 |
|
@@ -1171,66 +1196,70 @@ msgstr ""
|
|
1171 |
msgid "Order Type"
|
1172 |
msgstr ""
|
1173 |
|
|
|
1174 |
#: classes/formats/class-woe-formatter-xls.php:132
|
1175 |
-
#: classes/admin/class-wc-order-export-manage.php:239
|
1176 |
msgid "Orders"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
-
#: view/settings-form.php:
|
|
|
|
|
|
|
|
|
1180 |
msgid "Orientation"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1184 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1185 |
msgid "Other items"
|
1186 |
msgstr ""
|
1187 |
|
1188 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1189 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1190 |
msgid "Others"
|
1191 |
msgstr ""
|
1192 |
|
1193 |
-
#: view/settings-form.php:
|
1194 |
-
#: view/settings-form.php:
|
1195 |
-
#: view/settings-form.php:
|
1196 |
msgid "Output column titles as first line"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
-
#: view/settings-form.php:
|
1200 |
msgid "Output UTF-8 BOM"
|
1201 |
msgstr ""
|
1202 |
|
1203 |
-
#: classes/FPDF/class-woe-pdf-mc-table.php:
|
1204 |
#, php-format
|
1205 |
msgid "Page %s / %s"
|
1206 |
msgstr ""
|
1207 |
|
1208 |
-
#: view/settings-form.php:
|
1209 |
msgid "Page footer text"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
-
#: view/settings-form.php:
|
1213 |
msgid "Page footer text color"
|
1214 |
msgstr ""
|
1215 |
|
1216 |
-
#: view/settings-form.php:
|
1217 |
msgid "Page header text"
|
1218 |
msgstr ""
|
1219 |
|
1220 |
-
#: view/settings-form.php:
|
1221 |
msgid "Page header text color"
|
1222 |
msgstr ""
|
1223 |
|
1224 |
-
#: view/settings-form.php:
|
1225 |
msgid "Page numbers"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
-
#: view/settings-form.php:
|
1229 |
msgid "Page size"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
#: view/settings-form.php:160
|
1233 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1234 |
msgid "Paid Date"
|
1235 |
msgstr ""
|
1236 |
|
@@ -1240,27 +1269,27 @@ msgid ""
|
|
1240 |
"install."
|
1241 |
msgstr ""
|
1242 |
|
1243 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1244 |
msgid "Payment Method"
|
1245 |
msgstr ""
|
1246 |
|
1247 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1248 |
msgid "Payment Method Title"
|
1249 |
msgstr ""
|
1250 |
|
1251 |
-
#: view/settings-form.php:
|
1252 |
msgid "Payment methods"
|
1253 |
msgstr ""
|
1254 |
|
1255 |
-
#: view/settings-form.php:
|
1256 |
msgid "PDF options"
|
1257 |
msgstr ""
|
1258 |
|
1259 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1260 |
msgid "Phone (Billing)"
|
1261 |
msgstr ""
|
1262 |
|
1263 |
-
#: view/settings-form.php:
|
1264 |
msgid ""
|
1265 |
"Please check permissions for your role. You must have capability "
|
1266 |
"“edit_themes” to use this box."
|
@@ -1272,125 +1301,121 @@ msgid ""
|
|
1272 |
"Order Export For WooCommerce!"
|
1273 |
msgstr ""
|
1274 |
|
1275 |
-
#: view/settings-form.php:
|
1276 |
msgid "Please, install/enable PHP mbstring extension!"
|
1277 |
msgstr ""
|
1278 |
|
1279 |
-
#: view/settings-form.php:
|
1280 |
msgid "Please, install/enable PHP XML extension!"
|
1281 |
msgstr ""
|
1282 |
|
1283 |
-
#: classes/class-wc-order-export-admin.php:
|
1284 |
msgid "Please, set up fields to export"
|
1285 |
msgstr ""
|
1286 |
|
1287 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1288 |
msgid "Postcode (Billing)"
|
1289 |
msgstr ""
|
1290 |
|
1291 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1292 |
msgid "Postcode (Shipping)"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#: view/settings-form.php:
|
1296 |
msgid "Prepend XML"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#: view/settings-form.php:
|
1300 |
msgid "Press 'Esc' to cancel the export"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#: view/settings-form.php:
|
1304 |
msgid "Preview"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#: view/settings-form.php:
|
1308 |
msgid "Preview size"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#: view/tab/order-actions.php:5 view/tab/
|
1312 |
-
#: view/tab/
|
1313 |
msgid "Pro version"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
-
#: view/settings-form.php:
|
1317 |
msgid "Product categories"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1321 |
msgid "Product Current Price"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
-
#: view/settings-form.php:
|
1325 |
msgid "Product custom fields"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
-
#: view/settings-form.php:
|
1329 |
msgid "Product fields"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1333 |
msgid "Product Id"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1337 |
-
msgid "Product items"
|
1338 |
-
msgstr ""
|
1339 |
-
|
1340 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:365
|
1341 |
msgid "Product Name"
|
1342 |
msgstr ""
|
1343 |
|
1344 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1345 |
msgid "Product Name (main)"
|
1346 |
msgstr ""
|
1347 |
|
1348 |
-
#:
|
|
|
|
|
|
|
|
|
1349 |
msgid "Product rows start with a new line"
|
1350 |
msgstr ""
|
1351 |
|
1352 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1353 |
msgid "Product Seller"
|
1354 |
msgstr ""
|
1355 |
|
1356 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1357 |
msgid "Product Shipping Class"
|
1358 |
msgstr ""
|
1359 |
|
1360 |
-
#: view/settings-form.php:
|
1361 |
msgid "Product SKU"
|
1362 |
msgstr ""
|
1363 |
|
1364 |
-
#: view/settings-form.php:
|
1365 |
msgid "Product tag"
|
1366 |
msgstr ""
|
1367 |
|
1368 |
-
#: view/settings-form.php:
|
1369 |
msgid "Product taxonomies"
|
1370 |
msgstr ""
|
1371 |
|
1372 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1373 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1374 |
msgid "Product totals"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1378 |
msgid "Product URL"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
-
#:
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
1385 |
-
#:
|
1386 |
-
#: classes/admin/class-wc-order-export-manage.php:661
|
1387 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:917
|
1388 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:1250
|
1389 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:1273
|
1390 |
msgid "Products"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
-
#: classes/class-wc-order-export-admin.php:
|
1394 |
msgid "products"
|
1395 |
msgstr ""
|
1396 |
|
@@ -1402,55 +1427,60 @@ msgstr ""
|
|
1402 |
msgid "Profiles"
|
1403 |
msgstr ""
|
1404 |
|
1405 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1406 |
msgid "Quantity"
|
1407 |
msgstr ""
|
1408 |
|
1409 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1410 |
msgid "Quantity (- Refund)"
|
1411 |
msgstr ""
|
1412 |
|
1413 |
-
#: view/settings-form.php:
|
1414 |
msgid "Read how to fix it"
|
1415 |
msgstr ""
|
1416 |
|
1417 |
-
#: view/settings-form.php:
|
1418 |
msgid "Remove all fields"
|
1419 |
msgstr ""
|
1420 |
|
1421 |
-
#: classes/class-wc-order-export-admin.php:
|
1422 |
msgid "Remove all fields?"
|
1423 |
msgstr ""
|
1424 |
|
1425 |
-
#: view/settings-form.php:
|
1426 |
msgid "Remove logo"
|
1427 |
msgstr ""
|
1428 |
|
1429 |
-
#: view/settings-form.php:
|
1430 |
msgid "repeat at each page"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
-
#: view/settings-form.php:
|
1434 |
msgid "repeat header as last line"
|
1435 |
msgstr ""
|
1436 |
|
1437 |
-
#: view/settings-form.php:
|
1438 |
msgid "Reset settings"
|
1439 |
msgstr ""
|
1440 |
|
1441 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
1442 |
msgid "Right align"
|
1443 |
msgstr ""
|
1444 |
|
1445 |
-
#: view/settings-form.php:
|
1446 |
msgid "Right-to-Left direction"
|
1447 |
msgstr ""
|
1448 |
|
1449 |
-
#: view/settings-form.php:
|
1450 |
msgid "Root tag"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#: classes/class-wc-order-export-admin.php:
|
1454 |
msgid "rows"
|
1455 |
msgstr ""
|
1456 |
|
@@ -1458,47 +1488,47 @@ msgstr ""
|
|
1458 |
msgid "Sat"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#: view/settings-form.php:
|
1462 |
msgid "Save & Exit"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
-
#: view/settings-form.php:
|
1466 |
msgid "Save settings"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
-
#: classes/admin/tabs/class-wc-order-export-admin-tab-schedule-jobs.php:
|
1470 |
msgid "Scheduled jobs"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
-
#: classes/class-wc-order-export-admin.php:
|
1474 |
msgid "select item field"
|
1475 |
msgstr ""
|
1476 |
|
1477 |
-
#: view/settings-form.php:
|
1478 |
msgid "Select logo"
|
1479 |
msgstr ""
|
1480 |
|
1481 |
-
#: classes/class-wc-order-export-admin.php:
|
1482 |
msgid "select product field or taxonomy"
|
1483 |
msgstr ""
|
1484 |
|
1485 |
-
#: view/settings-form.php:
|
1486 |
msgid "Self closing tags"
|
1487 |
msgstr ""
|
1488 |
|
1489 |
-
#: classes/class-wc-order-export-admin.php:
|
1490 |
msgid "Set up coupon fields"
|
1491 |
msgstr ""
|
1492 |
|
1493 |
-
#: view/settings-form.php:
|
1494 |
msgid "Set up fields to export"
|
1495 |
msgstr ""
|
1496 |
|
1497 |
-
#: classes/class-wc-order-export-admin.php:
|
1498 |
msgid "Set up product fields"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
-
#: classes/class-wc-order-export-admin.php:
|
1502 |
msgid "Settings"
|
1503 |
msgstr ""
|
1504 |
|
@@ -1510,86 +1540,90 @@ msgstr ""
|
|
1510 |
msgid "Settings saved"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#: view/settings-form.php:
|
1514 |
msgid "Settings were successfully updated!"
|
1515 |
msgstr ""
|
1516 |
|
1517 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1518 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1519 |
msgid "Shipping"
|
1520 |
msgstr ""
|
1521 |
|
1522 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1523 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1524 |
msgid "Shipping Address"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#: view/settings-form.php:
|
|
|
|
|
|
|
|
|
1528 |
msgid "Shipping locations"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1532 |
msgid "Shipping Method"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1536 |
msgid "Shipping Method (no id)"
|
1537 |
msgstr ""
|
1538 |
|
1539 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1540 |
msgid "Shipping Method Title"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
-
#: view/settings-form.php:
|
1544 |
msgid "Shipping methods"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
-
#: view/settings-form.php:
|
1548 |
msgid "Shipping name"
|
1549 |
msgstr ""
|
1550 |
|
1551 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1552 |
msgid "Short Description"
|
1553 |
msgstr ""
|
1554 |
|
1555 |
-
#: view/settings-form.php:
|
1556 |
msgid "Skip fully refunded items"
|
1557 |
msgstr ""
|
1558 |
|
1559 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1560 |
msgid "SKU"
|
1561 |
msgstr ""
|
1562 |
|
1563 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1564 |
msgid "SKU (parent)"
|
1565 |
msgstr ""
|
1566 |
|
1567 |
-
#: view/settings-form.php:
|
1568 |
#, php-format
|
1569 |
msgid "Sort orders by %s in %s order"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#: classes/class-wc-order-export-admin.php:
|
1573 |
msgid "Split values by"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#: view/settings-form.php:
|
1577 |
msgid "Start tag"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1581 |
msgid "State Code (Billing)"
|
1582 |
msgstr ""
|
1583 |
|
1584 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1585 |
msgid "State Code (Shipping)"
|
1586 |
msgstr ""
|
1587 |
|
1588 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1589 |
msgid "State Name (Billing)"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1593 |
msgid "State Name (Shipping)"
|
1594 |
msgstr ""
|
1595 |
|
@@ -1597,63 +1631,63 @@ msgstr ""
|
|
1597 |
msgid "Status change jobs"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1601 |
msgid "String"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#: view/settings-form.php:
|
1605 |
msgid "Strip tags from Product Description/Variation"
|
1606 |
msgstr ""
|
1607 |
|
1608 |
-
#: view/settings-form.php:
|
1609 |
msgid "Summary Report By Customers"
|
1610 |
msgstr ""
|
1611 |
|
1612 |
-
#: view/settings-form.php:
|
1613 |
msgid "Summary Report By Products"
|
1614 |
msgstr ""
|
1615 |
|
1616 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1617 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1618 |
msgid "Summary Report Total Amount"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1622 |
msgid "Summary Report Total Amount Paid"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1626 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1627 |
msgid "Summary Report Total Discount"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1631 |
msgid "Summary Report Total Items"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1635 |
msgid "Summary Report Total Items (Exported)"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1639 |
msgid "Summary Report Total Orders"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1643 |
msgid "Summary Report Total Quantity"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1647 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1648 |
msgid "Summary Report Total Refund Amount"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1652 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1653 |
msgid "Summary Report Total Refunds"
|
1654 |
msgstr ""
|
1655 |
|
1656 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1657 |
msgid "Summary Report Total Shipping"
|
1658 |
msgstr ""
|
1659 |
|
@@ -1661,60 +1695,60 @@ msgstr ""
|
|
1661 |
msgid "Sun"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
-
#: classes/class-wc-order-export-admin.php:
|
1665 |
msgid "Support"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
-
#: view/settings-form.php:
|
1669 |
msgid "T,C or B. Comma separated list"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
-
#: view/settings-form.php:
|
1673 |
msgid "Table header background color"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
-
#: view/settings-form.php:
|
1677 |
msgid "Table header text color"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
-
#: view/settings-form.php:
|
1681 |
msgid "Table row background color"
|
1682 |
msgstr ""
|
1683 |
|
1684 |
-
#: view/settings-form.php:
|
1685 |
msgid "Table row text color"
|
1686 |
msgstr ""
|
1687 |
|
1688 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1689 |
msgid "Tags"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
-
#: view/settings-form.php:
|
1693 |
msgid "Tax name"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
-
#: view/settings-form.php:
|
1697 |
msgid "Taxonomy"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#: classes/core/class-wc-order-export-engine.php:
|
1701 |
#, php-format
|
1702 |
msgid "The code you are trying to save produced a fatal error on line %d:"
|
1703 |
msgstr ""
|
1704 |
|
1705 |
-
#: view/settings-form.php:
|
1706 |
msgid ""
|
1707 |
"The filters won't work correctly.<br>Another plugin(or theme) has loaded "
|
1708 |
"outdated Select2.js"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
-
#: view/settings-form.php:
|
1712 |
msgid ""
|
1713 |
"The plugin fetches meta keys from the existing orders. So you should create "
|
1714 |
"fake order if you've added new field just now."
|
1715 |
msgstr ""
|
1716 |
|
1717 |
-
#: classes/class-wc-order-export-admin.php:
|
1718 |
msgid ""
|
1719 |
"This action will reset filters, settings and fields to default state. Are "
|
1720 |
"you sure?"
|
@@ -1724,7 +1758,7 @@ msgstr ""
|
|
1724 |
msgid "This date range should not be saved in the scheduled task"
|
1725 |
msgstr ""
|
1726 |
|
1727 |
-
#: view/settings-form.php:
|
1728 |
msgid "This option cancels UI settings(above) and don't applied to Preview"
|
1729 |
msgstr ""
|
1730 |
|
@@ -1742,15 +1776,15 @@ msgstr ""
|
|
1742 |
msgid "Thu"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
-
#: view/settings-form.php:
|
1746 |
msgid "Time"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
-
#: classes/class-wc-order-export-admin.php:
|
1750 |
-
msgid "
|
1751 |
msgstr ""
|
1752 |
|
1753 |
-
#: view/settings-form.php:178
|
1754 |
msgid "to"
|
1755 |
msgstr ""
|
1756 |
|
@@ -1758,28 +1792,28 @@ msgstr ""
|
|
1758 |
msgid "Tools"
|
1759 |
msgstr ""
|
1760 |
|
1761 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1762 |
msgid "Total items"
|
1763 |
msgstr ""
|
1764 |
|
1765 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1766 |
msgid "Total products"
|
1767 |
msgstr ""
|
1768 |
|
1769 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1770 |
msgid "Total weight"
|
1771 |
msgstr ""
|
1772 |
|
1773 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1774 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1775 |
msgid "Totals"
|
1776 |
msgstr ""
|
1777 |
|
1778 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1779 |
msgid "Transaction ID"
|
1780 |
msgstr ""
|
1781 |
|
1782 |
-
#: view/settings-form.php:
|
1783 |
msgid "TSV options"
|
1784 |
msgstr ""
|
1785 |
|
@@ -1787,67 +1821,75 @@ msgstr ""
|
|
1787 |
msgid "Tue"
|
1788 |
msgstr ""
|
1789 |
|
1790 |
-
#: view/settings-form.php:
|
1791 |
msgid "Turn off mode Summary report to export order fields"
|
1792 |
msgstr ""
|
1793 |
|
1794 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1795 |
msgid "Type"
|
1796 |
msgstr ""
|
1797 |
|
1798 |
-
#: classes/class-wc-order-export-admin.php:
|
1799 |
#, php-format
|
1800 |
msgid "Unknown AJAX method %s"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
-
#: classes/class-wc-order-export-admin.php:
|
1804 |
#, php-format
|
1805 |
msgid "Unknown tab method %s"
|
1806 |
msgstr ""
|
1807 |
|
1808 |
-
#: classes/class-wc-order-export-admin.php:
|
1809 |
msgid "Unmark exported"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
-
#:
|
|
|
|
|
|
|
|
|
1813 |
msgid "Use only unnamed functions!"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
-
#:
|
|
|
|
|
|
|
|
|
1817 |
msgid "Use sheet name"
|
1818 |
msgstr ""
|
1819 |
|
1820 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1821 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1822 |
msgid "User"
|
1823 |
msgstr ""
|
1824 |
|
1825 |
-
#: view/settings-form.php:
|
1826 |
msgid "User roles"
|
1827 |
msgstr ""
|
1828 |
|
1829 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1830 |
msgid "User Website"
|
1831 |
msgstr ""
|
1832 |
|
1833 |
-
#: view/settings-form.php:
|
1834 |
msgid "Usernames"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
-
#: view/settings-form.php:
|
1838 |
-
#: view/settings-form.php:
|
1839 |
msgid "Value"
|
1840 |
msgstr ""
|
1841 |
|
1842 |
-
#: view/settings-form.php:
|
1843 |
msgid "Variable product attributes"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1847 |
msgid "Variation Id"
|
1848 |
msgstr ""
|
1849 |
|
1850 |
-
#: view/settings-form.php:
|
1851 |
msgid "Vendors/creators"
|
1852 |
msgstr ""
|
1853 |
|
@@ -1855,31 +1897,31 @@ msgstr ""
|
|
1855 |
msgid "Wed"
|
1856 |
msgstr ""
|
1857 |
|
1858 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1859 |
msgid "Weight"
|
1860 |
msgstr ""
|
1861 |
|
1862 |
-
#: classes/core/class-wc-order-export-data-extractor-ui.php:
|
1863 |
msgid "Width"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
-
#: classes/class-wc-order-export-admin.php:
|
1867 |
msgid "Wrong nonce"
|
1868 |
msgstr ""
|
1869 |
|
1870 |
-
#: view/settings-form.php:
|
1871 |
msgid "XLS options"
|
1872 |
msgstr ""
|
1873 |
|
1874 |
-
#: view/settings-form.php:
|
1875 |
msgid "XML options"
|
1876 |
msgstr ""
|
1877 |
|
1878 |
-
#: view/settings-form.php:
|
1879 |
msgid "Yes"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#: classes/class-wc-order-export-admin.php:
|
1883 |
msgid "You can not do it"
|
1884 |
msgstr ""
|
1885 |
|
3 |
msgstr ""
|
4 |
"Project-Id-Version: Advanced Order Export For WooCommerce\n"
|
5 |
"Report-Msgid-Bugs-To: \n"
|
6 |
+
"POT-Creation-Date: 2020-03-05 10:09+0000\n"
|
7 |
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
|
8 |
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
9 |
"Language-Team: \n"
|
13 |
"Content-Type: text/plain; charset=UTF-8\n"
|
14 |
"Content-Transfer-Encoding: 8bit\n"
|
15 |
"X-Generator: Loco https://localise.biz/\n"
|
16 |
+
"X-Loco-Version: 2.3.1; wp-5.3.2"
|
17 |
|
18 |
+
#: classes/class-wc-order-export-admin.php:511
|
19 |
#, php-format
|
20 |
msgid "%s order marked."
|
21 |
msgid_plural "%s orders marked."
|
22 |
msgstr[0] ""
|
23 |
msgstr[1] ""
|
24 |
|
25 |
+
#: classes/class-wc-order-export-admin.php:520
|
26 |
#, php-format
|
27 |
msgid "%s order unmarked."
|
28 |
msgid_plural "%s orders unmarked."
|
29 |
msgstr[0] ""
|
30 |
msgstr[1] ""
|
31 |
|
32 |
+
#: view/settings-form.php:46 view/settings-form.php:703
|
33 |
+
#: view/settings-form.php:729
|
34 |
msgid "-"
|
35 |
msgstr ""
|
36 |
|
37 |
+
#: view/settings-form.php:791
|
38 |
msgid "- don't modify -"
|
39 |
msgstr ""
|
40 |
|
41 |
+
#: view/settings-form.php:569
|
42 |
msgid "0 - auto scale"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: classes/class-wc-order-export-admin.php:234
|
46 |
msgid "1st row only"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: classes/core/class-wc-order-export-data-extractor.php:1819
|
50 |
msgid "[Rest of the World]"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: view/settings-form.php:1526 view/settings-form.php:1537
|
54 |
msgid "Actions"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: classes/class-wc-order-export-admin.php:229
|
58 |
msgid "Add"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: classes/class-wc-order-export-admin.php:222
|
62 |
#, php-format
|
63 |
msgid "Add %s fields"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: view/settings-form.php:1540
|
67 |
msgid "Add fee"
|
68 |
msgstr ""
|
69 |
|
70 |
+
#: view/settings-form.php:1529
|
71 |
msgid "Add field"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: view/settings-form.php:1543
|
75 |
msgid "Add shipping"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: view/settings-form.php:1532
|
79 |
msgid "Add static field"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: view/settings-form.php:1546
|
83 |
msgid "Add tax"
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:765
|
87 |
msgid "Address 1 (Billing)"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:855
|
91 |
msgid "Address 1 (Shipping)"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:760
|
95 |
msgid "Address 1&2 (Billing)"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:850
|
99 |
msgid "Address 1&2 (Shipping)"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:770
|
103 |
msgid "Address 2 (Billing)"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:860
|
107 |
msgid "Address 2 (Shipping)"
|
108 |
msgstr ""
|
109 |
|
111 |
msgid "Advanced Order Export For WooCommerce"
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: classes/class-wc-order-export-admin.php:135
|
115 |
msgid ""
|
116 |
"Advanced Order Export For WooCommerce is available <a href=\"admin.php?"
|
117 |
"page=wc-order-export\">on this page</a>."
|
125 |
msgid "All"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: classes/class-wc-order-export-admin.php:233
|
129 |
msgid "all rows"
|
130 |
msgstr ""
|
131 |
|
132 |
+
#: view/settings-form.php:1269
|
133 |
msgid "Any coupon used"
|
134 |
msgstr ""
|
135 |
|
136 |
+
#: view/settings-form.php:355
|
137 |
msgid "Append XML"
|
138 |
msgstr ""
|
139 |
|
141 |
msgid "Are you sure to continue?"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: classes/class-wc-order-export-admin.php:230
|
145 |
msgid "as"
|
146 |
msgstr ""
|
147 |
|
148 |
+
#: view/settings-form.php:773
|
149 |
msgid "Ascending"
|
150 |
msgstr ""
|
151 |
|
152 |
+
#: view/settings-form.php:265
|
153 |
msgid "Auto column width"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1262
|
157 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1286
|
158 |
msgid "Billing Address"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: view/settings-form.php:1295
|
162 |
msgid "Billing locations"
|
163 |
msgstr ""
|
164 |
|
181 |
msgid "can not open for output"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php:49
|
185 |
msgid "Can't create temporary file"
|
186 |
msgstr ""
|
187 |
|
189 |
msgid "Can't find exported file"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: view/settings-form.php:1583 view/settings-form.php:1604
|
193 |
+
#: view/settings-form.php:1640 view/settings-form.php:1680
|
194 |
+
#: view/settings-form.php:1702 view/settings-form.php:1733
|
195 |
+
#: view/settings-form.php:1755 view/settings-form.php:1781
|
196 |
+
#: view/settings-form.php:1804 view/settings-form.php:1826
|
197 |
+
#: view/settings-form.php:1848 view/settings-form.php:1870
|
198 |
msgid "Cancel"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1268
|
202 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1293
|
203 |
msgid "Cart"
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1101
|
207 |
msgid "Cart Discount Amount"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1106
|
211 |
msgid "Cart Discount Amount Tax"
|
212 |
msgstr ""
|
213 |
|
214 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:394
|
215 |
msgid "Category"
|
216 |
msgstr ""
|
217 |
|
218 |
+
#: view/settings-form.php:456
|
219 |
msgid "Center align"
|
220 |
msgstr ""
|
221 |
|
222 |
+
#: view/settings-form.php:786
|
223 |
msgid "Change order status to"
|
224 |
msgstr ""
|
225 |
|
226 |
+
#: view/settings-form.php:325 view/settings-form.php:403
|
227 |
msgid "Character encoding"
|
228 |
msgstr ""
|
229 |
|
230 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:775
|
231 |
msgid "City (Billing)"
|
232 |
msgstr ""
|
233 |
|
234 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:865
|
235 |
msgid "City (Shipping)"
|
236 |
msgstr ""
|
237 |
|
238 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:790
|
239 |
msgid "City, State Zip (Billing)"
|
240 |
msgstr ""
|
241 |
|
242 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:880
|
243 |
msgid "City, State Zip (Shipping)"
|
244 |
msgstr ""
|
245 |
|
246 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:785
|
247 |
msgid "City, State, Zip (Billing)"
|
248 |
msgstr ""
|
249 |
|
250 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:875
|
251 |
msgid "City, State, Zip (Shipping)"
|
252 |
msgstr ""
|
253 |
|
254 |
+
#: view/settings-form.php:833
|
255 |
msgid "Cleanup phone (export only digits)"
|
256 |
msgstr ""
|
257 |
|
258 |
+
#: view/settings-form.php:1955
|
259 |
msgid "Click here to download"
|
260 |
msgstr ""
|
261 |
|
263 |
msgid "code snippets"
|
264 |
msgstr ""
|
265 |
|
266 |
+
#: view/settings-form.php:1573 view/settings-form.php:1589
|
267 |
+
#: view/settings-form.php:1630 view/settings-form.php:1672
|
268 |
+
#: view/settings-form.php:1686 view/settings-form.php:1725
|
269 |
+
#: view/settings-form.php:1739 view/settings-form.php:1772
|
270 |
+
#: view/settings-form.php:1787 view/settings-form.php:1816
|
271 |
+
#: view/settings-form.php:1838 view/settings-form.php:1860
|
272 |
msgid "Column name"
|
273 |
msgstr ""
|
274 |
|
275 |
+
#: classes/class-wc-order-export-admin.php:225
|
276 |
msgid "columns"
|
277 |
msgstr ""
|
278 |
|
279 |
+
#: view/settings-form.php:613
|
280 |
msgid "Columns align"
|
281 |
msgstr ""
|
282 |
|
283 |
+
#: view/settings-form.php:485
|
284 |
msgid "Columns horizontal align"
|
285 |
msgstr ""
|
286 |
|
287 |
+
#: view/settings-form.php:496
|
288 |
msgid "Columns vertical align"
|
289 |
msgstr ""
|
290 |
|
291 |
+
#: view/settings-form.php:475
|
292 |
msgid "Columns width"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: view/settings-form.php:476 view/settings-form.php:614
|
296 |
msgid "comma separated list"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1260
|
300 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1284
|
301 |
msgid "Common"
|
302 |
msgstr ""
|
303 |
|
304 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:755
|
305 |
msgid "Company (Billing)"
|
306 |
msgstr ""
|
307 |
|
308 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:845
|
309 |
msgid "Company (Shipping)"
|
310 |
msgstr ""
|
311 |
|
312 |
#: view/settings-form.php:167
|
313 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:610
|
314 |
msgid "Completed Date"
|
315 |
msgstr ""
|
316 |
|
317 |
+
#: view/settings-form.php:1581 view/settings-form.php:1602
|
318 |
+
#: view/settings-form.php:1638 view/settings-form.php:1678
|
319 |
+
#: view/settings-form.php:1700 view/settings-form.php:1731
|
320 |
+
#: view/settings-form.php:1753 view/settings-form.php:1779
|
321 |
+
#: view/settings-form.php:1801 view/settings-form.php:1823
|
322 |
+
#: view/settings-form.php:1845 view/settings-form.php:1867
|
323 |
msgid "Confirm"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: view/settings-form.php:306
|
327 |
msgid "Convert line breaks to literals"
|
328 |
msgstr ""
|
329 |
|
333 |
"install."
|
334 |
msgstr ""
|
335 |
|
336 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:805
|
337 |
msgid "Country Code (Billing)"
|
338 |
msgstr ""
|
339 |
|
340 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:895
|
341 |
msgid "Country Code (Shipping)"
|
342 |
msgstr ""
|
343 |
|
344 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:810
|
345 |
msgid "Country Name (Billing)"
|
346 |
msgstr ""
|
347 |
|
348 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:900
|
349 |
msgid "Country Name (Shipping)"
|
350 |
msgstr ""
|
351 |
|
352 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:530
|
353 |
msgid "Coupon Amount"
|
354 |
msgstr ""
|
355 |
|
356 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:501
|
357 |
msgid "Coupon Code"
|
358 |
msgstr ""
|
359 |
|
360 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:521
|
361 |
msgid "Coupon Description"
|
362 |
msgstr ""
|
363 |
|
364 |
+
#: view/settings-form.php:352
|
365 |
msgid "Coupon tag"
|
366 |
msgstr ""
|
367 |
|
368 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:525
|
369 |
msgid "Coupon Type"
|
370 |
msgstr ""
|
371 |
|
372 |
+
#: view/settings-form.php:1272
|
373 |
+
#: classes/admin/class-wc-order-export-manage.php:712
|
374 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1075
|
375 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1266
|
376 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1291
|
377 |
msgid "Coupons"
|
378 |
msgstr ""
|
379 |
|
380 |
+
#: classes/class-wc-order-export-admin.php:244
|
381 |
msgid "coupons"
|
382 |
msgstr ""
|
383 |
|
384 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1096
|
385 |
msgid "Coupons Used"
|
386 |
msgstr ""
|
387 |
|
388 |
+
#: view/settings-form.php:289
|
389 |
msgid "CSV options"
|
390 |
msgstr ""
|
391 |
|
392 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:605
|
393 |
msgid "Currency"
|
394 |
msgstr ""
|
395 |
|
396 |
+
#: view/settings-form.php:707 view/settings-form.php:733
|
397 |
msgid "custom"
|
398 |
msgstr ""
|
399 |
|
400 |
+
#: view/settings-form.php:679
|
401 |
msgid "Custom css"
|
402 |
msgstr ""
|
403 |
|
404 |
+
#: view/settings-form.php:910 view/settings-form.php:1220
|
405 |
msgid "Custom fields"
|
406 |
msgstr ""
|
407 |
|
408 |
+
#: view/settings-form.php:851
|
409 |
msgid "Custom PHP code to modify output"
|
410 |
msgstr ""
|
411 |
|
412 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:680
|
413 |
msgid "Customer first order date"
|
414 |
msgstr ""
|
415 |
|
416 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:645
|
417 |
msgid "Customer IP address"
|
418 |
msgstr ""
|
419 |
|
420 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:685
|
421 |
msgid "Customer last order date"
|
422 |
msgstr ""
|
423 |
|
424 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:625
|
425 |
msgid "Customer Note"
|
426 |
msgstr ""
|
427 |
|
428 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:670
|
429 |
msgid "Customer Role"
|
430 |
msgstr ""
|
431 |
|
432 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:675
|
433 |
msgid "Customer Total Orders"
|
434 |
msgstr ""
|
435 |
|
436 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:665
|
437 |
msgid "Customer User Email"
|
438 |
msgstr ""
|
439 |
|
440 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:650
|
441 |
msgid "Customer User ID"
|
442 |
msgstr ""
|
443 |
|
444 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:655
|
445 |
msgid "Customer Username"
|
446 |
msgstr ""
|
447 |
|
448 |
+
#: view/settings-form.php:689
|
449 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1312
|
450 |
msgid "Date"
|
451 |
msgstr ""
|
452 |
|
453 |
+
#: classes/class-wc-order-export-admin.php:302
|
454 |
msgid "Date From is greater than Date To"
|
455 |
msgstr ""
|
456 |
|
457 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:620
|
458 |
msgid "Date of first refund"
|
459 |
msgstr ""
|
460 |
|
462 |
msgid "Date range"
|
463 |
msgstr ""
|
464 |
|
465 |
+
#: view/settings-form.php:771
|
466 |
msgid "Descending"
|
467 |
msgstr ""
|
468 |
|
469 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:444
|
470 |
msgid "Description"
|
471 |
msgstr ""
|
472 |
|
473 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:506
|
474 |
msgid "Discount Amount"
|
475 |
msgstr ""
|
476 |
|
477 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:516
|
478 |
msgid "Discount Amount + Tax"
|
479 |
msgstr ""
|
480 |
|
481 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:511
|
482 |
msgid "Discount Amount Tax"
|
483 |
msgstr ""
|
484 |
|
485 |
+
#: classes/class-wc-order-export-admin.php:145
|
486 |
msgid "Docs"
|
487 |
msgstr ""
|
488 |
|
489 |
+
#: view/settings-form.php:374
|
490 |
msgid "Don't escape /"
|
491 |
msgstr ""
|
492 |
|
493 |
+
#: view/settings-form.php:882
|
494 |
msgid "Don't export child orders"
|
495 |
msgstr ""
|
496 |
|
501 |
"reduce reply time :)"
|
502 |
msgstr ""
|
503 |
|
504 |
+
#: classes/core/class-wc-order-export-engine.php:362
|
505 |
msgid "Don't Panic"
|
506 |
msgstr ""
|
507 |
|
508 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:429
|
509 |
msgid "Download URL"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: view/settings-form.php:1493
|
513 |
msgid "Drag rows to reorder exported fields"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: classes/core/class-wc-order-export-order-fields.php:406
|
517 |
msgid "Edit order"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:815
|
521 |
msgid "Email (Billing)"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:469
|
525 |
msgid "Embedded Product Image"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: classes/class-wc-order-export-admin.php:306
|
529 |
#: classes/core/class-wc-order-export-data-extractor.php:315
|
530 |
msgid "empty"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: classes/class-wc-order-export-admin.php:295
|
534 |
msgid "empty column name"
|
535 |
msgstr ""
|
536 |
|
537 |
+
#: classes/class-wc-order-export-admin.php:296
|
538 |
msgid "empty meta key"
|
539 |
msgstr ""
|
540 |
|
541 |
+
#: classes/class-wc-order-export-admin.php:406
|
542 |
msgid "Empty method"
|
543 |
msgstr ""
|
544 |
|
545 |
+
#: classes/class-wc-order-export-admin.php:300
|
546 |
msgid "empty value"
|
547 |
msgstr ""
|
548 |
|
549 |
+
#: view/settings-form.php:845
|
550 |
msgid "Enable debug output"
|
551 |
msgstr ""
|
552 |
|
553 |
+
#: view/settings-form.php:312
|
554 |
msgid "Enclosure"
|
555 |
msgstr ""
|
556 |
|
557 |
+
#: view/settings-form.php:379
|
558 |
msgid "Encode numeric strings as numbers"
|
559 |
msgstr ""
|
560 |
|
561 |
+
#: view/settings-form.php:369
|
562 |
msgid "End tag"
|
563 |
msgstr ""
|
564 |
|
565 |
+
#: view/settings-form.php:1169
|
566 |
msgid "Exclude products"
|
567 |
msgstr ""
|
568 |
|
569 |
+
#: view/settings-form.php:1924
|
570 |
msgid "Export"
|
571 |
msgstr ""
|
572 |
|
573 |
+
#: view/settings-form.php:1928
|
574 |
msgid "Export [w/o progressbar]"
|
575 |
msgstr ""
|
576 |
|
577 |
+
#: view/settings-form.php:815
|
578 |
msgid "Export all order notes"
|
579 |
msgstr ""
|
580 |
|
581 |
+
#: view/settings-form.php:961
|
582 |
msgid "Export all products from the order"
|
583 |
msgstr ""
|
584 |
|
585 |
+
#: classes/class-wc-order-export-admin.php:456
|
586 |
#, php-format
|
587 |
msgid "Export as %s"
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: view/settings-form.php:253
|
591 |
msgid "Export as .xls (Binary File Format)"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: classes/admin/tabs/ajax/class-wc-order-export-ajax.php:39
|
595 |
+
#, php-format
|
596 |
+
msgid "Export as profile \"%s\"."
|
597 |
+
msgstr ""
|
598 |
+
|
599 |
+
#: view/settings-form.php:216
|
600 |
msgid "Export filename"
|
601 |
msgstr ""
|
602 |
|
605 |
msgid "Export now"
|
606 |
msgstr ""
|
607 |
|
608 |
+
#: view/settings-form.php:1395
|
609 |
+
msgid "Export only matched product items"
|
610 |
+
msgstr ""
|
611 |
+
|
612 |
+
#: classes/class-wc-order-export-admin.php:162
|
613 |
+
#: classes/class-wc-order-export-admin.php:163
|
614 |
+
#: classes/class-wc-order-export-admin.php:167
|
615 |
+
#: classes/class-wc-order-export-admin.php:168
|
616 |
msgid "Export Orders"
|
617 |
msgstr ""
|
618 |
|
620 |
msgid "Export orders from WooCommerce with ease (Excel/CSV/XML/JSON supported)"
|
621 |
msgstr ""
|
622 |
|
623 |
+
#: view/settings-form.php:821
|
624 |
msgid "Export refund notes as Customer Note"
|
625 |
msgstr ""
|
626 |
|
627 |
+
#: view/settings-form.php:886
|
628 |
msgid "Export refunds"
|
629 |
msgstr ""
|
630 |
|
632 |
msgid "Export settings"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: classes/class-wc-order-export-admin.php:97
|
636 |
msgid "Export Status"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: view/settings-form.php:1940
|
640 |
#, php-format
|
641 |
msgid "Export total: %s orders"
|
642 |
msgstr ""
|
643 |
|
644 |
+
#: view/settings-form.php:894
|
645 |
msgid "Export unmarked orders only"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1059
|
649 |
msgid "Exported items"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: view/settings-form.php:189
|
653 |
msgid "Express export"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: view/settings-form.php:1810
|
657 |
msgid "Fee name"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: view/settings-form.php:316
|
661 |
msgid "Field Delimiter"
|
662 |
msgstr ""
|
663 |
|
665 |
msgid "Field format"
|
666 |
msgstr ""
|
667 |
|
668 |
+
#: classes/class-wc-order-export-admin.php:232
|
669 |
msgid "Fill order columns for"
|
670 |
msgstr ""
|
671 |
|
672 |
+
#: view/settings-form.php:1290
|
673 |
msgid "Filter by billing"
|
674 |
msgstr ""
|
675 |
|
676 |
+
#: view/settings-form.php:1263
|
677 |
msgid "Filter by coupon"
|
678 |
msgstr ""
|
679 |
|
680 |
+
#: view/settings-form.php:1190
|
681 |
msgid "Filter by customer"
|
682 |
msgstr ""
|
683 |
|
684 |
+
#: view/settings-form.php:1390
|
685 |
msgid "Filter by item and metadata"
|
686 |
msgstr ""
|
687 |
|
688 |
+
#: view/settings-form.php:877
|
689 |
msgid "Filter by order"
|
690 |
msgstr ""
|
691 |
|
692 |
+
#: view/settings-form.php:956
|
693 |
msgid "Filter by product"
|
694 |
msgstr ""
|
695 |
|
696 |
+
#: view/settings-form.php:1340
|
697 |
msgid "Filter by shipping"
|
698 |
msgstr ""
|
699 |
|
701 |
msgid "Filter orders by"
|
702 |
msgstr ""
|
703 |
|
704 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:740
|
705 |
msgid "First Name (Billing)"
|
706 |
msgstr ""
|
707 |
|
708 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:830
|
709 |
msgid "First Name (Shipping)"
|
710 |
msgstr ""
|
711 |
|
712 |
+
#: view/settings-form.php:490
|
713 |
msgid "Fit table to page width"
|
714 |
msgstr ""
|
715 |
|
716 |
+
#: view/settings-form.php:446 view/settings-form.php:607
|
717 |
msgid "Font size"
|
718 |
msgstr ""
|
719 |
|
720 |
+
#: view/settings-form.php:623
|
721 |
msgid "Footer text"
|
722 |
msgstr ""
|
723 |
|
724 |
+
#: view/settings-form.php:655
|
725 |
msgid "Footer text color"
|
726 |
msgstr ""
|
727 |
|
728 |
+
#: view/settings-form.php:273
|
729 |
msgid "Force general format for all cells"
|
730 |
msgstr ""
|
731 |
|
732 |
+
#: view/settings-form.php:227
|
733 |
msgid "Format"
|
734 |
msgstr ""
|
735 |
|
736 |
+
#: view/settings-form.php:809
|
737 |
msgid "Format numbers (use WC decimal separator)"
|
738 |
msgstr ""
|
739 |
|
741 |
msgid "Fri"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:750
|
745 |
msgid "Full Name (Billing)"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:840
|
749 |
msgid "Full Name (Shipping)"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:454
|
753 |
msgid "Full names for categories"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: classes/class-wc-order-export-admin.php:237
|
757 |
msgid "Grouping by coupon"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: classes/class-wc-order-export-admin.php:236
|
761 |
msgid "Grouping by product"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: view/settings-form.php:618
|
765 |
msgid "Header text"
|
766 |
msgstr ""
|
767 |
|
768 |
+
#: view/settings-form.php:650
|
769 |
msgid "Header text color"
|
770 |
msgstr ""
|
771 |
|
772 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:414
|
773 |
msgid "Height"
|
774 |
msgstr ""
|
775 |
|
781 |
msgid "helpdesk system"
|
782 |
msgstr ""
|
783 |
|
784 |
+
#: view/settings-form.php:1569 view/settings-form.php:1626
|
785 |
+
#: view/settings-form.php:1656 view/settings-form.php:1720
|
786 |
+
#: view/settings-form.php:1763
|
787 |
msgid "Hide unused fields"
|
788 |
msgstr ""
|
789 |
|
790 |
+
#: view/settings-form.php:591
|
791 |
msgid "Html options"
|
792 |
msgstr ""
|
793 |
|
795 |
msgid "https://algolplus.com/"
|
796 |
msgstr ""
|
797 |
|
798 |
+
#: view/settings-form.php:1904
|
799 |
#, php-format
|
800 |
msgid ""
|
801 |
"If you see this message after page load, user interface won't work correctly!"
|
803 |
"it). Probably, it's a conflict with another plugin or active theme."
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1313
|
807 |
msgid "Image"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:434
|
811 |
msgid "Image URL"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: view/settings-form.php:283 view/settings-form.php:583
|
815 |
+
#: view/settings-form.php:668
|
816 |
msgid "Images height"
|
817 |
msgstr ""
|
818 |
|
819 |
+
#: view/settings-form.php:276 view/settings-form.php:576
|
820 |
+
#: view/settings-form.php:661
|
821 |
msgid "Images width"
|
822 |
msgstr ""
|
823 |
|
829 |
msgid "Import settings"
|
830 |
msgstr ""
|
831 |
|
832 |
+
#: view/settings-form.php:1929
|
833 |
msgid "It might not work for huge datasets!"
|
834 |
msgstr ""
|
835 |
|
836 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:927
|
837 |
msgid "Item #"
|
838 |
msgstr ""
|
839 |
|
840 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:947
|
841 |
msgid "Item Cost"
|
842 |
msgstr ""
|
843 |
|
844 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:952
|
845 |
+
msgid "Item Cost Before Discount"
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1007
|
849 |
msgid "Item Discount Amount"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1032
|
853 |
+
msgid "Item Discount Amount + Tax"
|
854 |
+
msgstr ""
|
855 |
+
|
856 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1027
|
857 |
+
msgid "Item Discount Tax"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1017
|
861 |
msgid "Item download URL"
|
862 |
msgstr ""
|
863 |
|
864 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:922
|
865 |
msgid "Item ID"
|
866 |
msgstr ""
|
867 |
|
868 |
+
#: view/settings-form.php:1133
|
869 |
msgid "Item meta data"
|
870 |
msgstr ""
|
871 |
|
872 |
+
#: view/settings-form.php:1432
|
873 |
msgid "Item metadata"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:932
|
877 |
msgid "Item Name"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: view/settings-form.php:1399
|
881 |
msgid "Item names"
|
882 |
msgstr ""
|
883 |
|
884 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1012
|
885 |
msgid "Item Tax Rate"
|
886 |
msgstr ""
|
887 |
|
888 |
+
#: view/settings-form.php:364
|
889 |
msgid "JSON options"
|
890 |
msgstr ""
|
891 |
|
893 |
msgid "Just click inside the textarea and copy (Ctrl+C)"
|
894 |
msgstr ""
|
895 |
|
896 |
+
#: view/settings-form.php:486
|
897 |
msgid "L,C or R. Comma separated list"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:745
|
901 |
msgid "Last Name (Billing)"
|
902 |
msgstr ""
|
903 |
|
904 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:835
|
905 |
msgid "Last Name (Shipping)"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: view/settings-form.php:455
|
909 |
msgid "Left align"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:409
|
913 |
msgid "Length"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: view/settings-form.php:320 view/settings-form.php:398
|
917 |
msgid "Line Break"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:570
|
921 |
msgid "Line number"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:635
|
925 |
msgid "Link to edit order"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: view/settings-form.php:554
|
929 |
msgid "Logo align"
|
930 |
msgstr ""
|
931 |
|
932 |
+
#: view/settings-form.php:562
|
933 |
msgid "Logo height"
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: view/settings-form.php:568
|
937 |
msgid "Logo width"
|
938 |
msgstr ""
|
939 |
|
943 |
"Look at %s for popular plugins or check %s to study how to extend the plugin."
|
944 |
msgstr ""
|
945 |
|
946 |
+
#: classes/core/class-wc-order-export-engine.php:494
|
947 |
msgid "Main SQL queries are listed below"
|
948 |
msgstr ""
|
949 |
|
950 |
+
#: classes/class-wc-order-export-admin.php:462
|
951 |
msgid "Mark exported"
|
952 |
msgstr ""
|
953 |
|
954 |
+
#: view/settings-form.php:890
|
955 |
msgid "Mark exported orders"
|
956 |
msgstr ""
|
957 |
|
958 |
+
#: view/settings-form.php:1553 view/settings-form.php:1610
|
959 |
+
#: view/settings-form.php:1760
|
960 |
msgid "Meta key"
|
961 |
msgstr ""
|
962 |
|
963 |
+
#: view/settings-form.php:1911
|
964 |
msgid "Might be different from actual export!"
|
965 |
msgstr ""
|
966 |
|
967 |
+
#: view/settings-form.php:803
|
968 |
msgid "Misc settings"
|
969 |
msgstr ""
|
970 |
|
971 |
+
#: view/settings-form.php:153 view/settings-form.php:749
|
972 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:595
|
973 |
msgid "Modification Date"
|
974 |
msgstr ""
|
975 |
|
977 |
msgid "Mon"
|
978 |
msgstr ""
|
979 |
|
980 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1310
|
981 |
msgid "Money"
|
982 |
msgstr ""
|
983 |
|
985 |
msgid "Need help? Create ticket in"
|
986 |
msgstr ""
|
987 |
|
988 |
+
#: view/settings-form.php:492
|
989 |
msgid "No"
|
990 |
msgstr ""
|
991 |
|
992 |
+
#: view/settings-form.php:462
|
993 |
msgid "No page numbers"
|
994 |
msgstr ""
|
995 |
|
|
|
996 |
#: classes/formats/class-woe-formatter-html.php:137
|
997 |
+
#: classes/formats/abstract-class-woe-formatter-sv.php:102
|
998 |
#: classes/formats/class-woe-formatter-xls.php:241
|
999 |
msgid "No results"
|
1000 |
msgstr ""
|
1001 |
|
1002 |
+
#: classes/class-wc-order-export-admin.php:304
|
1003 |
+
#: classes/admin/tabs/ajax/trait-wc-order-export-admin-tab-abstract-ajax-export.php:109
|
1004 |
msgid "Nothing to export. Please, adjust your filters"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1311
|
1008 |
msgid "Number"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
+
#: classes/class-wc-order-export-admin.php:226
|
1012 |
msgid "one row"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
+
#: view/settings-form.php:1659
|
1016 |
msgid "OR"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
+
#: view/settings-form.php:1564 view/settings-form.php:1621
|
1020 |
+
#: view/settings-form.php:1651 view/settings-form.php:1715
|
1021 |
+
#: view/settings-form.php:1769
|
1022 |
msgid "or type meta key here"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: view/settings-form.php:146 view/settings-form.php:748
|
1026 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:590
|
1027 |
msgid "Order Date"
|
1028 |
msgstr ""
|
1029 |
|
1030 |
+
#: view/settings-form.php:747
|
1031 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:575
|
1032 |
msgid "Order ID"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
+
#: view/settings-form.php:1709
|
1036 |
msgid "Order item fields"
|
1037 |
msgstr ""
|
1038 |
|
1039 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1022
|
1040 |
+
msgid "Order Item Metadata"
|
1041 |
+
msgstr ""
|
1042 |
+
|
1043 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:957
|
1044 |
msgid "Order Line (w/o tax)"
|
1045 |
msgstr ""
|
1046 |
|
1047 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:977
|
1048 |
msgid "Order Line Subtotal"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:982
|
1052 |
msgid "Order Line Subtotal Tax"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:962
|
1056 |
msgid "Order Line Tax"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:972
|
1060 |
msgid "Order Line Tax (- Refund)"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:967
|
1064 |
msgid "Order Line Tax Refunded"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:987
|
1068 |
msgid "Order Line Total"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1002
|
1072 |
msgid "Order Line Total (- Refund)"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:992
|
1076 |
msgid "Order Line Total (include tax)"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:997
|
1080 |
msgid "Order Line Total Refunded"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:630
|
1084 |
msgid "Order Notes"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:580
|
1088 |
msgid "Order Number"
|
1089 |
msgstr ""
|
1090 |
|
1092 |
msgid "Order Refund"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1201
|
1096 |
msgid "Order Refund Amount"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1161
|
1100 |
msgid "Order Shipping + Tax Amount"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1156
|
1104 |
msgid "Order Shipping Amount"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1171
|
1108 |
msgid "Order Shipping Amount (- Refund)"
|
1109 |
msgstr ""
|
1110 |
|
1111 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1166
|
1112 |
msgid "Order Shipping Amount Refunded"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1176
|
1116 |
msgid "Order Shipping Tax Amount"
|
1117 |
msgstr ""
|
1118 |
|
1119 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1186
|
1120 |
msgid "Order Shipping Tax Amount (- Refund)"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1181
|
1124 |
msgid "Order Shipping Tax Refunded"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:585
|
1128 |
msgid "Order Status"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
+
#: view/settings-form.php:750
|
1132 |
msgid "Order status"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
+
#: view/settings-form.php:896
|
1136 |
msgid "Order statuses"
|
1137 |
msgstr ""
|
1138 |
|
1140 |
msgid "Order Subscription"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1116
|
1144 |
msgid "Order Subtotal - Cart Discount"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1111
|
1148 |
msgid "Order Subtotal Amount"
|
1149 |
msgstr ""
|
1150 |
|
1151 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1126
|
1152 |
msgid "Order Subtotal Amount (- Refund)"
|
1153 |
msgstr ""
|
1154 |
|
1155 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1121
|
1156 |
msgid "Order Subtotal Amount Refunded"
|
1157 |
msgstr ""
|
1158 |
|
1159 |
+
#: view/settings-form.php:346
|
1160 |
msgid "Order tag"
|
1161 |
msgstr ""
|
1162 |
|
1163 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1131
|
1164 |
msgid "Order Tax Amount"
|
1165 |
msgstr ""
|
1166 |
|
1167 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1211
|
1168 |
msgid "Order Total Amount"
|
1169 |
msgstr ""
|
1170 |
|
1171 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1206
|
1172 |
msgid "Order Total Amount (- Refund)"
|
1173 |
msgstr ""
|
1174 |
|
1175 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1216
|
1176 |
msgid "Order Total Amount without Tax"
|
1177 |
msgstr ""
|
1178 |
|
1179 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1196
|
1180 |
msgid "Order Total Fee"
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1221
|
1184 |
msgid "Order Total Tax Amount"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1231
|
1188 |
msgid "Order Total Tax Amount (- Refund)"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1226
|
1192 |
msgid "Order Total Tax Amount Refunded"
|
1193 |
msgstr ""
|
1194 |
|
1196 |
msgid "Order Type"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: classes/admin/class-wc-order-export-manage.php:244
|
1200 |
#: classes/formats/class-woe-formatter-xls.php:132
|
|
|
1201 |
msgid "Orders"
|
1202 |
msgstr ""
|
1203 |
|
1204 |
+
#: view/settings-form.php:185
|
1205 |
+
msgid "Orders range"
|
1206 |
+
msgstr ""
|
1207 |
+
|
1208 |
+
#: view/settings-form.php:428
|
1209 |
msgid "Orientation"
|
1210 |
msgstr ""
|
1211 |
|
1212 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1267
|
1213 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1292
|
1214 |
msgid "Other items"
|
1215 |
msgstr ""
|
1216 |
|
1217 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1271
|
1218 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1296
|
1219 |
msgid "Others"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
+
#: view/settings-form.php:261 view/settings-form.php:302
|
1223 |
+
#: view/settings-form.php:393 view/settings-form.php:417
|
1224 |
+
#: view/settings-form.php:597
|
1225 |
msgid "Output column titles as first line"
|
1226 |
msgstr ""
|
1227 |
|
1228 |
+
#: view/settings-form.php:298 view/settings-form.php:389
|
1229 |
msgid "Output UTF-8 BOM"
|
1230 |
msgstr ""
|
1231 |
|
1232 |
+
#: classes/FPDF/class-woe-pdf-mc-table.php:169
|
1233 |
#, php-format
|
1234 |
msgid "Page %s / %s"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: view/settings-form.php:480
|
1238 |
msgid "Page footer text"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: view/settings-form.php:530
|
1242 |
msgid "Page footer text color"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: view/settings-form.php:470
|
1246 |
msgid "Page header text"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
+
#: view/settings-form.php:525
|
1250 |
msgid "Page header text color"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
+
#: view/settings-form.php:452
|
1254 |
msgid "Page numbers"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: view/settings-form.php:437
|
1258 |
msgid "Page size"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
#: view/settings-form.php:160
|
1262 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:615
|
1263 |
msgid "Paid Date"
|
1264 |
msgstr ""
|
1265 |
|
1269 |
"install."
|
1270 |
msgstr ""
|
1271 |
|
1272 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1091
|
1273 |
msgid "Payment Method"
|
1274 |
msgstr ""
|
1275 |
|
1276 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1086
|
1277 |
msgid "Payment Method Title"
|
1278 |
msgstr ""
|
1279 |
|
1280 |
+
#: view/settings-form.php:1324
|
1281 |
msgid "Payment methods"
|
1282 |
msgstr ""
|
1283 |
|
1284 |
+
#: view/settings-form.php:411
|
1285 |
msgid "PDF options"
|
1286 |
msgstr ""
|
1287 |
|
1288 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:820
|
1289 |
msgid "Phone (Billing)"
|
1290 |
msgstr ""
|
1291 |
|
1292 |
+
#: view/settings-form.php:856
|
1293 |
msgid ""
|
1294 |
"Please check permissions for your role. You must have capability "
|
1295 |
"“edit_themes” to use this box."
|
1301 |
"Order Export For WooCommerce!"
|
1302 |
msgstr ""
|
1303 |
|
1304 |
+
#: view/settings-form.php:243
|
1305 |
msgid "Please, install/enable PHP mbstring extension!"
|
1306 |
msgstr ""
|
1307 |
|
1308 |
+
#: view/settings-form.php:337
|
1309 |
msgid "Please, install/enable PHP XML extension!"
|
1310 |
msgstr ""
|
1311 |
|
1312 |
+
#: classes/class-wc-order-export-admin.php:303
|
1313 |
msgid "Please, set up fields to export"
|
1314 |
msgstr ""
|
1315 |
|
1316 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:800
|
1317 |
msgid "Postcode (Billing)"
|
1318 |
msgstr ""
|
1319 |
|
1320 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:890
|
1321 |
msgid "Postcode (Shipping)"
|
1322 |
msgstr ""
|
1323 |
|
1324 |
+
#: view/settings-form.php:340
|
1325 |
msgid "Prepend XML"
|
1326 |
msgstr ""
|
1327 |
|
1328 |
+
#: view/settings-form.php:1954
|
1329 |
msgid "Press 'Esc' to cancel the export"
|
1330 |
msgstr ""
|
1331 |
|
1332 |
+
#: view/settings-form.php:1910
|
1333 |
msgid "Preview"
|
1334 |
msgstr ""
|
1335 |
|
1336 |
+
#: view/settings-form.php:1942
|
1337 |
msgid "Preview size"
|
1338 |
msgstr ""
|
1339 |
|
1340 |
+
#: view/tab/order-actions.php:5 view/tab/schedules.php:5
|
1341 |
+
#: view/tab/profiles.php:5
|
1342 |
msgid "Pro version"
|
1343 |
msgstr ""
|
1344 |
|
1345 |
+
#: view/settings-form.php:967
|
1346 |
msgid "Product categories"
|
1347 |
msgstr ""
|
1348 |
|
1349 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:384
|
1350 |
msgid "Product Current Price"
|
1351 |
msgstr ""
|
1352 |
|
1353 |
+
#: view/settings-form.php:1057
|
1354 |
msgid "Product custom fields"
|
1355 |
msgstr ""
|
1356 |
|
1357 |
+
#: view/settings-form.php:1645
|
1358 |
msgid "Product fields"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:359
|
1362 |
msgid "Product Id"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:364
|
|
|
|
|
|
|
|
|
1366 |
msgid "Product Name"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:369
|
1370 |
msgid "Product Name (main)"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1289
|
1374 |
+
msgid "Product order items"
|
1375 |
+
msgstr ""
|
1376 |
+
|
1377 |
+
#: view/settings-form.php:310 view/settings-form.php:397
|
1378 |
msgid "Product rows start with a new line"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:379
|
1382 |
msgid "Product Seller"
|
1383 |
msgstr ""
|
1384 |
|
1385 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:439
|
1386 |
msgid "Product Shipping Class"
|
1387 |
msgstr ""
|
1388 |
|
1389 |
+
#: view/settings-form.php:1016
|
1390 |
msgid "Product SKU"
|
1391 |
msgstr ""
|
1392 |
|
1393 |
+
#: view/settings-form.php:349
|
1394 |
msgid "Product tag"
|
1395 |
msgstr ""
|
1396 |
|
1397 |
+
#: view/settings-form.php:1022
|
1398 |
msgid "Product taxonomies"
|
1399 |
msgstr ""
|
1400 |
|
1401 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1265
|
1402 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1290
|
1403 |
msgid "Product totals"
|
1404 |
msgstr ""
|
1405 |
|
1406 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:424
|
1407 |
msgid "Product URL"
|
1408 |
msgstr ""
|
1409 |
|
1410 |
+
#: view/settings-form.php:1001
|
1411 |
+
#: classes/admin/class-wc-order-export-manage.php:669
|
1412 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:911
|
1413 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1264
|
1414 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1288
|
|
|
|
|
|
|
|
|
1415 |
msgid "Products"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
+
#: classes/class-wc-order-export-admin.php:243
|
1419 |
msgid "products"
|
1420 |
msgstr ""
|
1421 |
|
1427 |
msgid "Profiles"
|
1428 |
msgstr ""
|
1429 |
|
1430 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:937
|
1431 |
msgid "Quantity"
|
1432 |
msgstr ""
|
1433 |
|
1434 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:942
|
1435 |
msgid "Quantity (- Refund)"
|
1436 |
msgstr ""
|
1437 |
|
1438 |
+
#: view/settings-form.php:861
|
1439 |
msgid "Read how to fix it"
|
1440 |
msgstr ""
|
1441 |
|
1442 |
+
#: view/settings-form.php:1499
|
1443 |
msgid "Remove all fields"
|
1444 |
msgstr ""
|
1445 |
|
1446 |
+
#: classes/class-wc-order-export-admin.php:246
|
1447 |
msgid "Remove all fields?"
|
1448 |
msgstr ""
|
1449 |
|
1450 |
+
#: view/settings-form.php:551
|
1451 |
msgid "Remove logo"
|
1452 |
msgstr ""
|
1453 |
|
1454 |
+
#: view/settings-form.php:424
|
1455 |
msgid "repeat at each page"
|
1456 |
msgstr ""
|
1457 |
|
1458 |
+
#: view/settings-form.php:603
|
1459 |
msgid "repeat header as last line"
|
1460 |
msgstr ""
|
1461 |
|
1462 |
+
#: view/settings-form.php:1936
|
1463 |
msgid "Reset settings"
|
1464 |
msgstr ""
|
1465 |
|
1466 |
+
#: classes/admin/tabs/ajax/class-wc-order-export-ajax.php:39
|
1467 |
+
#, php-format
|
1468 |
+
msgid "Result: %s"
|
1469 |
+
msgstr ""
|
1470 |
+
|
1471 |
+
#: view/settings-form.php:457
|
1472 |
msgid "Right align"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
+
#: view/settings-form.php:269
|
1476 |
msgid "Right-to-Left direction"
|
1477 |
msgstr ""
|
1478 |
|
1479 |
+
#: view/settings-form.php:343
|
1480 |
msgid "Root tag"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: classes/class-wc-order-export-admin.php:224
|
1484 |
msgid "rows"
|
1485 |
msgstr ""
|
1486 |
|
1488 |
msgid "Sat"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
+
#: view/settings-form.php:1917
|
1492 |
msgid "Save & Exit"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: view/settings-form.php:1914 view/settings-form.php:1919
|
1496 |
msgid "Save settings"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
+
#: classes/admin/tabs/class-wc-order-export-admin-tab-schedule-jobs.php:11
|
1500 |
msgid "Scheduled jobs"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
+
#: classes/class-wc-order-export-admin.php:299
|
1504 |
msgid "select item field"
|
1505 |
msgstr ""
|
1506 |
|
1507 |
+
#: view/settings-form.php:539
|
1508 |
msgid "Select logo"
|
1509 |
msgstr ""
|
1510 |
|
1511 |
+
#: classes/class-wc-order-export-admin.php:297
|
1512 |
msgid "select product field or taxonomy"
|
1513 |
msgstr ""
|
1514 |
|
1515 |
+
#: view/settings-form.php:358
|
1516 |
msgid "Self closing tags"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
+
#: classes/class-wc-order-export-admin.php:242
|
1520 |
msgid "Set up coupon fields"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: view/settings-form.php:1473
|
1524 |
msgid "Set up fields to export"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: classes/class-wc-order-export-admin.php:241
|
1528 |
msgid "Set up product fields"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: classes/class-wc-order-export-admin.php:144
|
1532 |
msgid "Settings"
|
1533 |
msgstr ""
|
1534 |
|
1540 |
msgid "Settings saved"
|
1541 |
msgstr ""
|
1542 |
|
1543 |
+
#: view/settings-form.php:1949 view/tab/tools.php:86
|
1544 |
msgid "Settings were successfully updated!"
|
1545 |
msgstr ""
|
1546 |
|
1547 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1269
|
1548 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1294
|
1549 |
msgid "Shipping"
|
1550 |
msgstr ""
|
1551 |
|
1552 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1263
|
1553 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1287
|
1554 |
msgid "Shipping Address"
|
1555 |
msgstr ""
|
1556 |
|
1557 |
+
#: view/settings-form.php:839
|
1558 |
+
msgid "Shipping fields use billing details (if shipping address is empty)"
|
1559 |
+
msgstr ""
|
1560 |
+
|
1561 |
+
#: view/settings-form.php:1345
|
1562 |
msgid "Shipping locations"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1146
|
1566 |
msgid "Shipping Method"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1151
|
1570 |
msgid "Shipping Method (no id)"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1141
|
1574 |
msgid "Shipping Method Title"
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: view/settings-form.php:1374
|
1578 |
msgid "Shipping methods"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: view/settings-form.php:1832
|
1582 |
msgid "Shipping name"
|
1583 |
msgstr ""
|
1584 |
|
1585 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:449
|
1586 |
msgid "Short Description"
|
1587 |
msgstr ""
|
1588 |
|
1589 |
+
#: view/settings-form.php:965
|
1590 |
msgid "Skip fully refunded items"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:349
|
1594 |
msgid "SKU"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:354
|
1598 |
msgid "SKU (parent)"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: view/settings-form.php:778
|
1602 |
#, php-format
|
1603 |
msgid "Sort orders by %s in %s order"
|
1604 |
msgstr ""
|
1605 |
|
1606 |
+
#: classes/class-wc-order-export-admin.php:231
|
1607 |
msgid "Split values by"
|
1608 |
msgstr ""
|
1609 |
|
1610 |
+
#: view/settings-form.php:366
|
1611 |
msgid "Start tag"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:780
|
1615 |
msgid "State Code (Billing)"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:870
|
1619 |
msgid "State Code (Shipping)"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:795
|
1623 |
msgid "State Name (Billing)"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:885
|
1627 |
msgid "State Name (Shipping)"
|
1628 |
msgstr ""
|
1629 |
|
1631 |
msgid "Status change jobs"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1309
|
1635 |
msgid "String"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
+
#: view/settings-form.php:827
|
1639 |
msgid "Strip tags from Product Description/Variation"
|
1640 |
msgstr ""
|
1641 |
|
1642 |
+
#: view/settings-form.php:207
|
1643 |
msgid "Summary Report By Customers"
|
1644 |
msgstr ""
|
1645 |
|
1646 |
+
#: view/settings-form.php:199
|
1647 |
msgid "Summary Report By Products"
|
1648 |
msgstr ""
|
1649 |
|
1650 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:464
|
1651 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:705
|
1652 |
msgid "Summary Report Total Amount"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:710
|
1656 |
msgid "Summary Report Total Amount Paid"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:474
|
1660 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:720
|
1661 |
msgid "Summary Report Total Discount"
|
1662 |
msgstr ""
|
1663 |
|
1664 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:695
|
1665 |
msgid "Summary Report Total Items"
|
1666 |
msgstr ""
|
1667 |
|
1668 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:700
|
1669 |
msgid "Summary Report Total Items (Exported)"
|
1670 |
msgstr ""
|
1671 |
|
1672 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:690
|
1673 |
msgid "Summary Report Total Orders"
|
1674 |
msgstr ""
|
1675 |
|
1676 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:459
|
1677 |
msgid "Summary Report Total Quantity"
|
1678 |
msgstr ""
|
1679 |
|
1680 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:484
|
1681 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:730
|
1682 |
msgid "Summary Report Total Refund Amount"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:479
|
1686 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:725
|
1687 |
msgid "Summary Report Total Refunds"
|
1688 |
msgstr ""
|
1689 |
|
1690 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:715
|
1691 |
msgid "Summary Report Total Shipping"
|
1692 |
msgstr ""
|
1693 |
|
1695 |
msgid "Sun"
|
1696 |
msgstr ""
|
1697 |
|
1698 |
+
#: classes/class-wc-order-export-admin.php:147
|
1699 |
msgid "Support"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: view/settings-form.php:497
|
1703 |
msgid "T,C or B. Comma separated list"
|
1704 |
msgstr ""
|
1705 |
|
1706 |
+
#: view/settings-form.php:508 view/settings-form.php:633
|
1707 |
msgid "Table header background color"
|
1708 |
msgstr ""
|
1709 |
|
1710 |
+
#: view/settings-form.php:503 view/settings-form.php:628
|
1711 |
msgid "Table header text color"
|
1712 |
msgstr ""
|
1713 |
|
1714 |
+
#: view/settings-form.php:519 view/settings-form.php:644
|
1715 |
msgid "Table row background color"
|
1716 |
msgstr ""
|
1717 |
|
1718 |
+
#: view/settings-form.php:514 view/settings-form.php:639
|
1719 |
msgid "Table row text color"
|
1720 |
msgstr ""
|
1721 |
|
1722 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:399
|
1723 |
msgid "Tags"
|
1724 |
msgstr ""
|
1725 |
|
1726 |
+
#: view/settings-form.php:1854
|
1727 |
msgid "Tax name"
|
1728 |
msgstr ""
|
1729 |
|
1730 |
+
#: view/settings-form.php:1661
|
1731 |
msgid "Taxonomy"
|
1732 |
msgstr ""
|
1733 |
|
1734 |
+
#: classes/core/class-wc-order-export-engine.php:363
|
1735 |
#, php-format
|
1736 |
msgid "The code you are trying to save produced a fatal error on line %d:"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: view/settings-form.php:954
|
1740 |
msgid ""
|
1741 |
"The filters won't work correctly.<br>Another plugin(or theme) has loaded "
|
1742 |
"outdated Select2.js"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
+
#: view/settings-form.php:1551 view/settings-form.php:1707
|
1746 |
msgid ""
|
1747 |
"The plugin fetches meta keys from the existing orders. So you should create "
|
1748 |
"fake order if you've added new field just now."
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: classes/class-wc-order-export-admin.php:247
|
1752 |
msgid ""
|
1753 |
"This action will reset filters, settings and fields to default state. Are "
|
1754 |
"you sure?"
|
1758 |
msgid "This date range should not be saved in the scheduled task"
|
1759 |
msgstr ""
|
1760 |
|
1761 |
+
#: view/settings-form.php:681
|
1762 |
msgid "This option cancels UI settings(above) and don't applied to Preview"
|
1763 |
msgstr ""
|
1764 |
|
1776 |
msgid "Thu"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: view/settings-form.php:716
|
1780 |
msgid "Time"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: classes/class-wc-order-export-admin.php:301
|
1784 |
+
msgid "Title is empty"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: view/settings-form.php:178 view/settings-form.php:187
|
1788 |
msgid "to"
|
1789 |
msgstr ""
|
1790 |
|
1792 |
msgid "Tools"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1054
|
1796 |
msgid "Total items"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1064
|
1800 |
msgid "Total products"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1049
|
1804 |
msgid "Total weight"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1270
|
1808 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1295
|
1809 |
msgid "Totals"
|
1810 |
msgstr ""
|
1811 |
|
1812 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:600
|
1813 |
msgid "Transaction ID"
|
1814 |
msgstr ""
|
1815 |
|
1816 |
+
#: view/settings-form.php:381
|
1817 |
msgid "TSV options"
|
1818 |
msgstr ""
|
1819 |
|
1821 |
msgid "Tue"
|
1822 |
msgstr ""
|
1823 |
|
1824 |
+
#: view/settings-form.php:1486
|
1825 |
msgid "Turn off mode Summary report to export order fields"
|
1826 |
msgstr ""
|
1827 |
|
1828 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:389
|
1829 |
msgid "Type"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
+
#: classes/class-wc-order-export-admin.php:417
|
1833 |
#, php-format
|
1834 |
msgid "Unknown AJAX method %s"
|
1835 |
msgstr ""
|
1836 |
|
1837 |
+
#: classes/class-wc-order-export-admin.php:425
|
1838 |
#, php-format
|
1839 |
msgid "Unknown tab method %s"
|
1840 |
msgstr ""
|
1841 |
|
1842 |
+
#: classes/class-wc-order-export-admin.php:463
|
1843 |
msgid "Unmark exported"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1303
|
1847 |
+
msgid "Use \"Add field\" to export specific product attribute"
|
1848 |
+
msgstr ""
|
1849 |
+
|
1850 |
+
#: view/settings-form.php:865
|
1851 |
msgid "Use only unnamed functions!"
|
1852 |
msgstr ""
|
1853 |
|
1854 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1302
|
1855 |
+
msgid "Use section \"Product order items\" to add attributes"
|
1856 |
+
msgstr ""
|
1857 |
+
|
1858 |
+
#: view/settings-form.php:255
|
1859 |
msgid "Use sheet name"
|
1860 |
msgstr ""
|
1861 |
|
1862 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1261
|
1863 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:1285
|
1864 |
msgid "User"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: view/settings-form.php:1208
|
1868 |
msgid "User roles"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:660
|
1872 |
msgid "User Website"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
+
#: view/settings-form.php:1194
|
1876 |
msgid "Usernames"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
+
#: view/settings-form.php:1594 view/settings-form.php:1691
|
1880 |
+
#: view/settings-form.php:1744 view/settings-form.php:1792
|
1881 |
msgid "Value"
|
1882 |
msgstr ""
|
1883 |
|
1884 |
+
#: view/settings-form.php:1098
|
1885 |
msgid "Variable product attributes"
|
1886 |
msgstr ""
|
1887 |
|
1888 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:374
|
1889 |
msgid "Variation Id"
|
1890 |
msgstr ""
|
1891 |
|
1892 |
+
#: view/settings-form.php:985
|
1893 |
msgid "Vendors/creators"
|
1894 |
msgstr ""
|
1895 |
|
1897 |
msgid "Wed"
|
1898 |
msgstr ""
|
1899 |
|
1900 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:419
|
1901 |
msgid "Weight"
|
1902 |
msgstr ""
|
1903 |
|
1904 |
+
#: classes/core/class-wc-order-export-data-extractor-ui.php:404
|
1905 |
msgid "Width"
|
1906 |
msgstr ""
|
1907 |
|
1908 |
+
#: classes/class-wc-order-export-admin.php:429
|
1909 |
msgid "Wrong nonce"
|
1910 |
msgstr ""
|
1911 |
|
1912 |
+
#: view/settings-form.php:240
|
1913 |
msgid "XLS options"
|
1914 |
msgstr ""
|
1915 |
|
1916 |
+
#: view/settings-form.php:334
|
1917 |
msgid "XML options"
|
1918 |
msgstr ""
|
1919 |
|
1920 |
+
#: view/settings-form.php:491
|
1921 |
msgid "Yes"
|
1922 |
msgstr ""
|
1923 |
|
1924 |
+
#: classes/class-wc-order-export-admin.php:402
|
1925 |
msgid "You can not do it"
|
1926 |
msgstr ""
|
1927 |
|
readme.txt
CHANGED
@@ -4,8 +4,8 @@ Donate link: https://algolplus.com/plugins/
|
|
4 |
Tags: woocommerce,export,order,xls,csv,xml,woo export lite,export orders,orders export,csv export,xml export,xls export,tsv
|
5 |
Requires PHP: 5.4.0
|
6 |
Requires at least: 4.7
|
7 |
-
Tested up to: 5.
|
8 |
-
Stable tag: 3.1.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
@@ -66,7 +66,7 @@ Need help? Create ticket in [helpdesk system](https://algolplus.freshdesk.com).
|
|
66 |
Check [some snippets](https://algolplus.com/plugins/snippets-plugins/) for popular plugins or review [this page](https://algolplus.com/plugins/code-samples/) to study how to extend the plugin.
|
67 |
|
68 |
= I want to add a product attribute to the export =
|
69 |
-
Check screenshot #5! You should open section "Set up fields", open section "Product items"(right column), click button "Add field", select field in 1st dropdown, type column title and press button "Confirm".
|
70 |
|
71 |
= Same order was exported many times =
|
72 |
You should open section "Set up fields to export" and set "Fill order columns for" to "1st row only". The plugin repeats common information for each order item (by default).
|
@@ -83,7 +83,7 @@ I'm sorry, but it's impossible. You should add this attribute to Products>Attrib
|
|
83 |
= How can I add a Gravity Forms field to export? =
|
84 |
Open order, look at items and remember meta name.
|
85 |
Visit WooCommerce>Export Orders,
|
86 |
-
open section "Set up fields", open section "
|
87 |
select SAME name in second dropdown (screenshot #5)
|
88 |
|
89 |
= Plugin produces unreadable XLS file =
|
@@ -112,12 +112,27 @@ Yes, you can email a request to aprokaev@gmail.com. We intensively develop this
|
|
112 |
|
113 |
== Changelog ==
|
114 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
115 |
= 3.1.1 - 2019-11-18 =
|
116 |
* Field "Embedded product image" is exported by "Summary by product" mode (XLS/PDF/HTML formats)
|
117 |
* Added checkbox to export item rows with a new line (TAB format)
|
118 |
* Fixed incompatibility with "Advanced Custom Fields" plugin
|
119 |
* Fixed bug - product static fields were empty sometimes
|
120 |
-
* Fixed bug - adding fields worked
|
121 |
* Fixed bug - fields "Categories" and "Full names for categories" were empty for variable products
|
122 |
|
123 |
= 3.1.0 - 2019-11-11 =
|
4 |
Tags: woocommerce,export,order,xls,csv,xml,woo export lite,export orders,orders export,csv export,xml export,xls export,tsv
|
5 |
Requires PHP: 5.4.0
|
6 |
Requires at least: 4.7
|
7 |
+
Tested up to: 5.4
|
8 |
+
Stable tag: 3.1.2
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
11 |
|
66 |
Check [some snippets](https://algolplus.com/plugins/snippets-plugins/) for popular plugins or review [this page](https://algolplus.com/plugins/code-samples/) to study how to extend the plugin.
|
67 |
|
68 |
= I want to add a product attribute to the export =
|
69 |
+
Check screenshot #5! You should open section "Set up fields", open section "Product order items"(right column), click button "Add field", select field in 1st dropdown, type column title and press button "Confirm".
|
70 |
|
71 |
= Same order was exported many times =
|
72 |
You should open section "Set up fields to export" and set "Fill order columns for" to "1st row only". The plugin repeats common information for each order item (by default).
|
83 |
= How can I add a Gravity Forms field to export? =
|
84 |
Open order, look at items and remember meta name.
|
85 |
Visit WooCommerce>Export Orders,
|
86 |
+
open section "Set up fields", open section "Product order items"(at right), click button "Add field",
|
87 |
select SAME name in second dropdown (screenshot #5)
|
88 |
|
89 |
= Plugin produces unreadable XLS file =
|
112 |
|
113 |
== Changelog ==
|
114 |
|
115 |
+
= 3.1.2 - 2020-03-16 =
|
116 |
+
* Added filter by order IDs (not order numbers!)
|
117 |
+
* Added checkbox "Export only matched product items" to section "Filter by item and metadata"
|
118 |
+
* Added checkbox "Shipping fields use billing details (if shipping address is empty)" to section "Misc Settings"
|
119 |
+
* Added fields "Item Cost Before Discount", "Item Discount Tax" to section "Product order items"
|
120 |
+
* Renamed field "Product Variation" to "Order Item Metadata"
|
121 |
+
* Added some tooltips to sections inside "Set up fields"
|
122 |
+
* Support tag {order_number} in filename
|
123 |
+
* Fixed UI bugs for Firefox
|
124 |
+
* Fixed bug - Preview was wrong if CSV format used non-UTF8 codepage
|
125 |
+
* Fixed bug - some warnings in JS console
|
126 |
+
* Fixed bug - Safari added .csv to any filename when we use TSV format
|
127 |
+
* Fixed bug - wrong filters applied when user selected orders and exported them via bulk action
|
128 |
+
* New hooks for product custom fields
|
129 |
+
|
130 |
= 3.1.1 - 2019-11-18 =
|
131 |
* Field "Embedded product image" is exported by "Summary by product" mode (XLS/PDF/HTML formats)
|
132 |
* Added checkbox to export item rows with a new line (TAB format)
|
133 |
* Fixed incompatibility with "Advanced Custom Fields" plugin
|
134 |
* Fixed bug - product static fields were empty sometimes
|
135 |
+
* Fixed bug - adding fields worked incorrectly at tab "Product items"
|
136 |
* Fixed bug - fields "Categories" and "Full names for categories" were empty for variable products
|
137 |
|
138 |
= 3.1.0 - 2019-11-11 =
|
view/settings-form.php
CHANGED
@@ -42,7 +42,7 @@ function print_formats_field( $type, $segment = "", $selected = "", $custom_key
|
|
42 |
'<label for="' . $id . '">' .
|
43 |
__( 'Field format', 'woo-order-export-lite' ) . ':' .
|
44 |
'</label>' .
|
45 |
-
'<select id="' . $id . '" style="max-width:
|
46 |
'<option value="" >' . __( '-', 'woo-order-export-lite' ) . '</option>';
|
47 |
|
48 |
foreach ( WC_Order_Export_Data_Extractor_UI::get_format_fields() as $format_id => $format_label ) {
|
@@ -179,9 +179,17 @@ function remove_time_from_date( $datetime ) {
|
|
179 |
<input type=text class='date' name="settings[to_date]" id="to_date"
|
180 |
value='<?php echo ! empty($options['show_date_time_picker_for_date_range']) ? $settings['to_date']: remove_time_from_date($settings['to_date']) ?>'>
|
181 |
</div>
|
182 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
183 |
<button id="my-quick-export-btn" class="button-primary"><?php _e( 'Express export',
|
184 |
'woo-order-export-lite' ) ?></button>
|
|
|
|
|
185 |
<br>
|
186 |
<div id="summary_report_by_products" style="display:block"><input type="hidden"
|
187 |
name="settings[summary_report_by_products]"
|
@@ -217,7 +225,7 @@ function remove_time_from_date( $datetime ) {
|
|
217 |
|
218 |
<div id="my-format" class="my-block">
|
219 |
<span class="wc-oe-header"><?php _e( 'Format', 'woo-order-export-lite' ) ?></span><br>
|
220 |
-
<p>
|
221 |
<?php foreach ( WC_Order_Export_Admin::$formats as $format ) { ?>
|
222 |
<label class="button-secondary">
|
223 |
<input type=radio name="settings[format]" class="output_format" value="<?php echo $format ?>"
|
@@ -287,7 +295,7 @@ function remove_time_from_date( $datetime ) {
|
|
287 |
<input type=checkbox name="settings[format_csv_add_utf8_bom]"
|
288 |
value=1 <?php if ( @$settings['format_csv_add_utf8_bom'] ) {
|
289 |
echo 'checked';
|
290 |
-
} ?> > <?php _e( 'Output UTF-8 BOM', 'woo-order-export-lite' ) ?><br>
|
291 |
<input type=checkbox name="settings[format_csv_display_column_names]"
|
292 |
value=1 <?php if ( @$settings['format_csv_display_column_names'] ) {
|
293 |
echo 'checked';
|
@@ -299,62 +307,66 @@ function remove_time_from_date( $datetime ) {
|
|
299 |
<input type=checkbox name="settings[format_csv_item_rows_start_from_new_line]"
|
300 |
value=1 <?php if ( @$settings['format_csv_item_rows_start_from_new_line'] ) {
|
301 |
echo 'checked';
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
|
|
|
|
|
|
|
|
321 |
</div>
|
322 |
<div id='XML_options' style='display:none'><strong><?php _e( 'XML options',
|
323 |
-
'woo-order-export-lite' ) ?></strong><br>
|
324 |
<?php if ( ! class_exists( "XMLWriter" ) ): ?>
|
325 |
<div style="color:red"><?php _e( 'Please, install/enable PHP XML extension!', 'woo-order-export-lite' ) ?></div>
|
326 |
<?php endif ?>
|
327 |
<input type=hidden name="settings[format_xml_self_closing_tags]" value=0>
|
328 |
<span class="xml-title"><?php _e( 'Prepend XML', 'woo-order-export-lite' ) ?></span><input type=text
|
329 |
name="settings[format_xml_prepend_raw_xml]"
|
330 |
-
value='<?php echo $settings['format_xml_prepend_raw_xml'] ?>'><br>
|
331 |
<span class="xml-title"><?php _e( 'Root tag', 'woo-order-export-lite' ) ?></span><input type=text
|
332 |
name="settings[format_xml_root_tag]"
|
333 |
-
value='<?php echo $settings['format_xml_root_tag'] ?>'><br>
|
334 |
<span class="xml-title"><?php _e( 'Order tag', 'woo-order-export-lite' ) ?></span><input type=text
|
335 |
name="settings[format_xml_order_tag]"
|
336 |
-
value='<?php echo $settings['format_xml_order_tag'] ?>'><br>
|
337 |
<span class="xml-title"><?php _e( 'Product tag', 'woo-order-export-lite' ) ?></span><input type=text
|
338 |
name="settings[format_xml_product_tag]"
|
339 |
-
value='<?php echo $settings['format_xml_product_tag'] ?>'><br>
|
340 |
<span class="xml-title"><?php _e( 'Coupon tag', 'woo-order-export-lite' ) ?></span><input type=text
|
341 |
name="settings[format_xml_coupon_tag]"
|
342 |
-
value='<?php echo $settings['format_xml_coupon_tag'] ?>'><br>
|
343 |
<span class="xml-title"><?php _e( 'Append XML', 'woo-order-export-lite' ) ?></span><input type=text
|
344 |
name="settings[format_xml_append_raw_xml]"
|
345 |
-
value='<?php echo $settings['format_xml_append_raw_xml'] ?>'><br>
|
346 |
<span class="xml-title"><?php _e( 'Self closing tags', 'woo-order-export-lite' ) ?></span><input
|
347 |
type=checkbox name="settings[format_xml_self_closing_tags]"
|
348 |
value=1 <?php if ( @$settings['format_xml_self_closing_tags'] ) {
|
349 |
echo 'checked';
|
350 |
-
} ?> ><br>
|
351 |
</div>
|
352 |
<div id='JSON_options' style='display:none'><strong><?php _e( 'JSON options',
|
353 |
'woo-order-export-lite' ) ?></strong><br>
|
354 |
<span class="xml-title"><?php _e( 'Start tag', 'woo-order-export-lite' ) ?></span><input type=text
|
355 |
name="settings[format_json_start_tag]"
|
356 |
value='<?php echo @$settings['format_json_start_tag'] ?>'><br>
|
357 |
-
<span class="xml-title"><?php _e( 'End tag', 'woo-order-export-lite' ) ?></span><input type=text
|
358 |
name="settings[format_json_end_tag]"
|
359 |
value='<?php echo @$settings['format_json_end_tag'] ?>'><br>
|
360 |
<label><input type=checkbox name="settings[format_json_unescaped_slashes]" value=1 <?php if(@$settings['format_json_unescaped_slashes']){
|
@@ -363,8 +375,8 @@ function remove_time_from_date( $datetime ) {
|
|
363 |
<label><input type=checkbox
|
364 |
name="settings[format_json_numeric_check]"
|
365 |
value='1 <?php if ( @$settings['format_json_numeric_check'] ) {
|
366 |
-
echo 'checked';
|
367 |
-
}?>'><?php _e("Encode numeric strings as numbers",'woo-order-export-lite')?></label>
|
368 |
</div>
|
369 |
<div id='TSV_options' style='display:none'><strong><?php _e( 'TSV options',
|
370 |
'woo-order-export-lite' ) ?></strong><br>
|
@@ -374,7 +386,7 @@ function remove_time_from_date( $datetime ) {
|
|
374 |
<input type=checkbox name="settings[format_tsv_add_utf8_bom]"
|
375 |
value=1 <?php if ( @$settings['format_tsv_add_utf8_bom'] ) {
|
376 |
echo 'checked';
|
377 |
-
} ?> > <?php _e( 'Output UTF-8 BOM', 'woo-order-export-lite' ) ?><br>
|
378 |
<input type=checkbox name="settings[format_tsv_display_column_names]"
|
379 |
value=1 <?php if ( @$settings['format_tsv_display_column_names'] ) {
|
380 |
echo 'checked';
|
@@ -390,7 +402,8 @@ function remove_time_from_date( $datetime ) {
|
|
390 |
<?php if ( function_exists( 'iconv' ) ): ?>
|
391 |
<?php _e( 'Character encoding', 'woo-order-export-lite' ) ?><input type=text
|
392 |
name="settings[format_tsv_encoding]"
|
393 |
-
value="<?php echo $settings['format_tsv_encoding'] ?>"
|
|
|
394 |
<br>
|
395 |
<?php endif ?>
|
396 |
</div>
|
@@ -478,7 +491,7 @@ function remove_time_from_date( $datetime ) {
|
|
478 |
<input type="radio" name="settings[format_pdf_fit_page_width]" value=1 <?php checked( @$settings['format_pdf_fit_page_width'] ); ?> ><?php _e( 'Yes', 'woo-order-export-lite' ); ?>
|
479 |
<input type="radio" name="settings[format_pdf_fit_page_width]" value=0 <?php checked( !@$settings['format_pdf_fit_page_width'] ); ?> ><?php _e( 'No', 'woo-order-export-lite' ); ?>
|
480 |
</div>
|
481 |
-
|
482 |
<div class="pdf_two_col_block">
|
483 |
<?php _e( 'Columns vertical align', 'woo-order-export-lite' ) ?>
|
484 |
<input title="<?php _e( 'T,C or B. Comma separated list', 'woo-order-export-lite' ) ?>" type=text name="settings[format_pdf_cols_vertical_align]" value='<?php echo $settings['format_pdf_cols_vertical_align'] ?>'>
|
@@ -643,7 +656,7 @@ function remove_time_from_date( $datetime ) {
|
|
643 |
<input type=text class="color_pick" name="settings[format_html_footer_text_color]"
|
644 |
value='<?php echo $settings['format_html_footer_text_color'] ?>'>
|
645 |
</div>
|
646 |
-
|
647 |
<div class="pdf_two_col_block">
|
648 |
<?php _e( 'Images width', 'woo-order-export-lite' ) ?>
|
649 |
<br>
|
@@ -657,13 +670,13 @@ function remove_time_from_date( $datetime ) {
|
|
657 |
<input type="number" name="settings[format_html_row_images_height]"
|
658 |
value='<?php echo $settings['format_html_row_images_height'] ?>' min="0">
|
659 |
</div>
|
660 |
-
|
661 |
<br/>
|
662 |
<div>
|
663 |
|
664 |
</div>
|
665 |
<div>
|
666 |
-
|
667 |
<textarea style="width: 100%" type=text name="settings[format_html_custom_css]" rows=5><?php echo $settings['format_html_custom_css'] ?></textarea>
|
668 |
<div><i><?php _e( "This option cancels UI settings(above) and don't applied to Preview", 'woo-order-export-lite' ) ?></i></div>
|
669 |
</div>
|
@@ -728,7 +741,7 @@ function remove_time_from_date( $datetime ) {
|
|
728 |
|
729 |
</div>
|
730 |
<br/>
|
731 |
-
<div id="my-sort" class="my-block">
|
732 |
<?php
|
733 |
$sort = array(
|
734 |
'order_id' => __( 'Order ID', 'woo-order-export-lite' ),
|
@@ -765,9 +778,11 @@ function remove_time_from_date( $datetime ) {
|
|
765 |
echo sprintf( __( 'Sort orders by %s in %s order', 'woo-order-export-lite' ), $sort_html,
|
766 |
$sort_direction_html );
|
767 |
?>
|
768 |
-
|
769 |
-
|
770 |
-
|
|
|
|
|
771 |
<label for="change_order_status_to"><?php _e( 'Change order status to',
|
772 |
'woo-order-export-lite' ) ?></label>
|
773 |
<select id="change_order_status_to" name="settings[change_order_status_to]">
|
@@ -780,10 +795,10 @@ function remove_time_from_date( $datetime ) {
|
|
780 |
} ?>><?php echo $status ?></option>
|
781 |
<?php } ?>
|
782 |
</select>
|
783 |
-
</div>
|
784 |
-
<?php endif; ?>
|
785 |
</div>
|
786 |
<br>
|
|
|
|
|
787 |
<div class="my-block">
|
788 |
<span class="my-hide-next "><?php _e( 'Misc settings', 'woo-order-export-lite' ) ?>
|
789 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
@@ -818,6 +833,12 @@ function remove_time_from_date( $datetime ) {
|
|
818 |
value="1" <?php checked( $settings['cleanup_phone'] ) ?>/><?php _e( 'Cleanup phone (export only digits)',
|
819 |
'woo-order-export-lite' ) ?></label>
|
820 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
821 |
<div>
|
822 |
<input type="hidden" name="settings[enable_debug]" value="0"/>
|
823 |
<label><input type="checkbox" name="settings[enable_debug]"
|
@@ -883,43 +904,46 @@ function remove_time_from_date( $datetime ) {
|
|
883 |
} ?>><?php echo $status ?></option>
|
884 |
<?php } ?>
|
885 |
</select>
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
-
|
890 |
-
|
891 |
-
<
|
892 |
-
|
893 |
-
|
894 |
-
|
895 |
-
|
896 |
-
|
897 |
-
|
898 |
-
|
899 |
-
|
900 |
-
|
901 |
-
|
902 |
-
|
903 |
-
|
904 |
-
|
905 |
-
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
class="
|
911 |
-
|
912 |
-
|
913 |
-
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
-
|
918 |
-
|
919 |
-
|
920 |
-
|
921 |
-
|
922 |
-
|
|
|
|
|
|
|
923 |
</div>
|
924 |
</div>
|
925 |
|
@@ -988,149 +1012,160 @@ function remove_time_from_date( $datetime ) {
|
|
988 |
<?php }
|
989 |
} ?>
|
990 |
</select>
|
991 |
-
|
992 |
-
<span class="wc-oe-header"><?php _e( 'Product SKU', 'woo-order-export-lite' ) ?></span>
|
993 |
-
<br>
|
994 |
-
<textarea id="product_sku" name="settings[product_sku]" rows="4" class="width-100" style="resize: none;"></textarea>
|
995 |
-
<br>
|
996 |
|
997 |
-
<span class="wc-oe-header"><?php _e( 'Product
|
998 |
-
<br>
|
999 |
-
<select id="taxonomies" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
1000 |
-
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_taxonomies() as $attr_id => $attr_name ) { ?>
|
1001 |
-
<option><?php echo $attr_name; ?></option>
|
1002 |
-
<?php } ?>
|
1003 |
-
</select>
|
1004 |
-
|
1005 |
-
<select id="taxonomies_compare" class="select_compare">
|
1006 |
-
<option>=</option>
|
1007 |
-
<option><></option>
|
1008 |
-
<option>NOT SET</option>
|
1009 |
-
<option>IS SET</option>
|
1010 |
-
</select>
|
1011 |
-
|
1012 |
-
<input type="text" id="text_taxonomies" disabled style="display: none;">
|
1013 |
-
|
1014 |
-
<button id="add_taxonomies" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1015 |
-
</button>
|
1016 |
-
<br>
|
1017 |
-
<select id="taxonomies_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1018 |
-
name="settings[product_taxonomies][]"
|
1019 |
-
style="width: 100%; max-width: 25%;">
|
1020 |
-
<?php
|
1021 |
-
if ( $settings['product_taxonomies'] ) {
|
1022 |
-
foreach ( $settings['product_taxonomies'] as $prod ) {
|
1023 |
-
?>
|
1024 |
-
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1025 |
-
<?php }
|
1026 |
-
} ?>
|
1027 |
-
</select>
|
1028 |
-
|
1029 |
-
<span class="wc-oe-header"><?php _e( 'Product custom fields', 'woo-order-export-lite' ) ?></span>
|
1030 |
-
<br>
|
1031 |
-
<select id="product_custom_fields" class="select2-i18n" data-select2-i18n-width="150"
|
1032 |
-
style="width: auto;">
|
1033 |
-
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_custom_fields() as $cf_name ) { ?>
|
1034 |
-
<option><?php echo $cf_name; ?></option>
|
1035 |
-
<?php } ?>
|
1036 |
-
</select>
|
1037 |
-
|
1038 |
-
<select id="product_custom_fields_compare" class="select_compare">
|
1039 |
-
<option>=</option>
|
1040 |
-
<option><></option>
|
1041 |
-
<option>LIKE</option>
|
1042 |
-
<option>></option>
|
1043 |
-
<option>>=</option>
|
1044 |
-
<option><</option>
|
1045 |
-
<option><=</option>
|
1046 |
-
<option>NOT SET</option>
|
1047 |
-
<option>IS SET</option>
|
1048 |
-
</select>
|
1049 |
-
|
1050 |
-
<input type="text" id="text_product_custom_fields" disabled class="like-input" style="display: none;">
|
1051 |
-
|
1052 |
-
<button id="add_product_custom_fields" class="button-secondary"><span
|
1053 |
-
class="dashicons dashicons-plus-alt"></span></button>
|
1054 |
-
<br>
|
1055 |
-
<select id="product_custom_fields_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1056 |
-
name="settings[product_custom_fields][]"
|
1057 |
-
style="width: 100%; max-width: 25%;">
|
1058 |
-
<?php
|
1059 |
-
if ( $settings['product_custom_fields'] ) {
|
1060 |
-
foreach ( $settings['product_custom_fields'] as $prod ) {
|
1061 |
-
?>
|
1062 |
-
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1063 |
-
<?php }
|
1064 |
-
} ?>
|
1065 |
-
</select>
|
1066 |
-
|
1067 |
-
<span class="wc-oe-header"><?php _e( 'Variable product attributes',
|
1068 |
-
'woo-order-export-lite' ) ?></span>
|
1069 |
-
<br>
|
1070 |
-
<select id="attributes" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
1071 |
-
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_attributes() as $attr_id => $attr_name ) { ?>
|
1072 |
-
<option><?php echo $attr_name; ?></option>
|
1073 |
-
<?php } ?>
|
1074 |
-
</select>
|
1075 |
-
|
1076 |
-
<select id="attributes_compare" class="select_compare">
|
1077 |
-
<option>=</option>
|
1078 |
-
<option><></option>
|
1079 |
-
<option>LIKE</option>
|
1080 |
-
</select>
|
1081 |
-
|
1082 |
-
<input type="text" id="text_attributes" disabled class="like-input" style="display: none;">
|
1083 |
-
|
1084 |
-
<button id="add_attributes" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1085 |
-
</button>
|
1086 |
-
<br>
|
1087 |
-
<select id="attributes_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1088 |
-
name="settings[product_attributes][]"
|
1089 |
-
style="width: 100%; max-width: 25%;">
|
1090 |
-
<?php
|
1091 |
-
if ( $settings['product_attributes'] ) {
|
1092 |
-
foreach ( $settings['product_attributes'] as $prod ) {
|
1093 |
-
?>
|
1094 |
-
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1095 |
-
<?php }
|
1096 |
-
} ?>
|
1097 |
-
</select>
|
1098 |
-
|
1099 |
-
<span class="wc-oe-header"><?php _e( 'Item meta data', 'woo-order-export-lite' ) ?></span>
|
1100 |
<br>
|
1101 |
-
<
|
1102 |
-
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_itemmeta() as $attr_name ) { ?>
|
1103 |
-
<option data-base64="<?php echo base64_encode( $attr_name ); ?>"><?php echo $attr_name; ?></option>
|
1104 |
-
<?php } ?>
|
1105 |
-
</select>
|
1106 |
-
|
1107 |
-
<select id="itemmeta_compare" class="select_compare">
|
1108 |
-
<option>=</option>
|
1109 |
-
<option><></option>
|
1110 |
-
<option>LIKE</option>
|
1111 |
-
<option>></option>
|
1112 |
-
<option>>=</option>
|
1113 |
-
<option><</option>
|
1114 |
-
<option><=</option>
|
1115 |
-
</select>
|
1116 |
-
|
1117 |
-
<input type="text" id="text_itemmeta" disabled class="like-input" style="display: none;">
|
1118 |
-
|
1119 |
-
<button id="add_itemmeta" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1120 |
-
</button>
|
1121 |
<br>
|
1122 |
-
<
|
1123 |
-
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
-
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1134 |
<span class="wc-oe-header"><?php _e( 'Exclude products', 'woo-order-export-lite' ) ?></span>
|
1135 |
|
1136 |
<select id="exclude_products" class="select2-i18n" data-select2-i18n-ajax-method="get_products"
|
@@ -1180,42 +1215,45 @@ function remove_time_from_date( $datetime ) {
|
|
1180 |
$settings['user_roles'] ) ? selected( true ) : '' ) ?>> <?php echo $v ?></option>
|
1181 |
<?php } ?>
|
1182 |
</select>
|
1183 |
-
|
1184 |
-
|
1185 |
-
|
1186 |
-
|
1187 |
-
|
1188 |
-
<
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
|
1195 |
-
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
1200 |
-
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
|
1205 |
-
|
1206 |
-
|
1207 |
-
|
1208 |
-
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
1214 |
-
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
|
|
|
|
|
|
|
1219 |
</div>
|
1220 |
</div>
|
1221 |
|
@@ -1252,22 +1290,25 @@ function remove_time_from_date( $datetime ) {
|
|
1252 |
<span class="my-hide-next "><?php _e( 'Filter by billing', 'woo-order-export-lite' ) ?>
|
1253 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1254 |
<div id="my-billing" hidden="hidden">
|
1255 |
-
<
|
1256 |
-
|
1257 |
-
|
1258 |
-
|
1259 |
-
<
|
1260 |
-
|
1261 |
-
|
1262 |
-
|
1263 |
-
|
1264 |
-
|
1265 |
-
|
1266 |
-
|
1267 |
-
|
1268 |
-
|
1269 |
-
|
1270 |
-
|
|
|
|
|
|
|
1271 |
<select id="billing_locations_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1272 |
name="settings[billing_locations][]"
|
1273 |
style="width: 100%; max-width: 25%;">
|
@@ -1299,34 +1340,37 @@ function remove_time_from_date( $datetime ) {
|
|
1299 |
<span class="my-hide-next "><?php _e( 'Filter by shipping', 'woo-order-export-lite' ) ?>
|
1300 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1301 |
<div id="my-shipping" hidden="hidden">
|
1302 |
-
<
|
1303 |
-
|
1304 |
-
|
1305 |
-
|
1306 |
-
<
|
1307 |
-
|
1308 |
-
|
1309 |
-
|
1310 |
-
|
1311 |
-
|
1312 |
-
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
|
1317 |
-
|
1318 |
-
|
1319 |
-
|
1320 |
-
|
1321 |
-
|
1322 |
-
|
1323 |
-
|
1324 |
-
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
|
1329 |
-
|
|
|
|
|
|
|
1330 |
<span class="wc-oe-header"><?php _e( 'Shipping methods', 'woo-order-export-lite' ) ?></span>
|
1331 |
<select id="shipping_methods" class="select2-i18n" name="settings[shipping_methods][]"
|
1332 |
multiple="multiple"
|
@@ -1346,24 +1390,32 @@ function remove_time_from_date( $datetime ) {
|
|
1346 |
<span class="my-hide-next "><?php _e( 'Filter by item and metadata', 'woo-order-export-lite' ) ?>
|
1347 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1348 |
<div id="my-items-meta" hidden="hidden">
|
1349 |
-
<
|
1350 |
-
|
1351 |
-
|
1352 |
-
|
1353 |
-
|
1354 |
-
<
|
1355 |
-
|
1356 |
-
|
1357 |
-
|
1358 |
-
|
1359 |
-
|
1360 |
-
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1367 |
<select id="item_names_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1368 |
name="settings[item_names][]"
|
1369 |
style="width: 100%; max-width: 25%;">
|
@@ -1375,39 +1427,41 @@ function remove_time_from_date( $datetime ) {
|
|
1375 |
<?php }
|
1376 |
} ?>
|
1377 |
</select>
|
1378 |
-
|
1379 |
-
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
<
|
1384 |
-
|
1385 |
-
<
|
1386 |
-
|
1387 |
-
|
1388 |
-
|
1389 |
-
|
1390 |
-
|
1391 |
-
|
1392 |
-
|
1393 |
-
|
1394 |
-
|
1395 |
-
|
1396 |
-
|
1397 |
-
|
1398 |
-
|
1399 |
-
|
1400 |
-
|
1401 |
-
|
1402 |
-
|
1403 |
-
|
1404 |
-
|
1405 |
-
|
1406 |
-
|
1407 |
-
|
1408 |
-
|
1409 |
-
|
1410 |
-
|
|
|
|
|
1411 |
</div>
|
1412 |
</div>
|
1413 |
|
@@ -1454,7 +1508,8 @@ function remove_time_from_date( $datetime ) {
|
|
1454 |
<div></div>
|
1455 |
<div id='unselected_fields'>
|
1456 |
<ul class="subsubsub" style="float: none">
|
1457 |
-
|
|
|
1458 |
<?php foreach ( $segments as $id => $segment_title ): ?>
|
1459 |
<li class="block-segment-choice" data-segment="<?php echo $id; ?>">
|
1460 |
<a class="segment_choice"
|
@@ -1497,7 +1552,7 @@ function remove_time_from_date( $datetime ) {
|
|
1497 |
<label for="select_custom_meta_order">
|
1498 |
<?php _e( 'Meta key', 'woo-order-export-lite' ) ?>:
|
1499 |
</label><br/>
|
1500 |
-
<select id='select_custom_meta_order'>
|
1501 |
<?php
|
1502 |
foreach ( $order_custom_meta_fields['order'] as $meta_id => $meta_name ) {
|
1503 |
echo "<option value='" . esc_html($meta_name) . "' >$meta_name</option>";
|
@@ -1505,7 +1560,7 @@ function remove_time_from_date( $datetime ) {
|
|
1505 |
?>
|
1506 |
</select>
|
1507 |
<div id="custom_meta_order_mode" style="margin-bottom: 10px;">
|
1508 |
-
<input
|
1509 |
placeholder="<?php _e( 'or type meta key here',
|
1510 |
'woo-order-export-lite' ) ?>"/><br>
|
1511 |
</div>
|
@@ -1533,12 +1588,12 @@ function remove_time_from_date( $datetime ) {
|
|
1533 |
<div>
|
1534 |
<label for="colname_custom_field"><?php _e( 'Column name',
|
1535 |
'woo-order-export-lite' ) ?>:</label>
|
1536 |
-
<input type='text' id='colname_custom_field'/>
|
1537 |
</div>
|
1538 |
<div>
|
1539 |
<label for="value_custom_field"><?php _e( 'Value', 'woo-order-export-lite' ) ?>
|
1540 |
:</label>
|
1541 |
-
<input type='text' id='value_custom_field'/>
|
1542 |
</div>
|
1543 |
<div>
|
1544 |
<?php echo print_formats_field( 'field' ); ?>
|
@@ -1554,7 +1609,7 @@ function remove_time_from_date( $datetime ) {
|
|
1554 |
<label for="select_custom_meta_user">
|
1555 |
<?php _e( 'Meta key', 'woo-order-export-lite' ) ?>:
|
1556 |
</label><br/>
|
1557 |
-
<select id='select_custom_meta_user'>
|
1558 |
<?php
|
1559 |
foreach ( $order_custom_meta_fields['user'] as $meta_id => $meta_name ) {
|
1560 |
echo "<option value='" . esc_html($meta_name) . "' >$meta_name</option>";
|
@@ -1562,7 +1617,7 @@ function remove_time_from_date( $datetime ) {
|
|
1562 |
?>
|
1563 |
</select>
|
1564 |
<div id="custom_meta_user_mode" style="margin-bottom: 10px;">
|
1565 |
-
<input
|
1566 |
placeholder="<?php _e( 'or type meta key here',
|
1567 |
'woo-order-export-lite' ) ?>"/><br>
|
1568 |
</div>
|
@@ -1577,7 +1632,7 @@ function remove_time_from_date( $datetime ) {
|
|
1577 |
id='colname_custom_meta_user'/>
|
1578 |
</div>
|
1579 |
<div style="margin-top: 20px;">
|
1580 |
-
<?php echo print_formats_field( 'meta' ); ?>
|
1581 |
</div>
|
1582 |
<div style="text-align: right;">
|
1583 |
<button id='button_custom_meta_users' class='button-secondary'><?php _e( 'Confirm',
|
@@ -1588,10 +1643,11 @@ function remove_time_from_date( $datetime ) {
|
|
1588 |
</div>
|
1589 |
<div class='div_meta products-segment segment-form products-add-field'>
|
1590 |
<label for="select_custom_meta_products"><?php _e( 'Product fields',
|
1591 |
-
'woo-order-export-lite' ) ?>:</label><select
|
1592 |
id='select_custom_meta_products'></select>
|
1593 |
-
|
1594 |
-
|
|
|
1595 |
placeholder="<?php _e( 'or type meta key here',
|
1596 |
'woo-order-export-lite' ) ?>"/>
|
1597 |
<div id="custom_meta_products_mode">
|
@@ -1602,7 +1658,7 @@ function remove_time_from_date( $datetime ) {
|
|
1602 |
</div>
|
1603 |
<div style="width: 80%; text-align: center;"><?php _e( 'OR',
|
1604 |
'woo-order-export-lite' ) ?></div>
|
1605 |
-
<label><?php _e( 'Taxonomy', 'woo-order-export-lite' ) ?>:</label><select
|
1606 |
id='select_custom_taxonomies_products'>
|
1607 |
<option></option>
|
1608 |
<?php
|
@@ -1629,12 +1685,12 @@ function remove_time_from_date( $datetime ) {
|
|
1629 |
<div>
|
1630 |
<label for="colname_custom_field_products"><?php _e( 'Column name',
|
1631 |
'woo-order-export-lite' ) ?>:</label>
|
1632 |
-
<input type='text' id='colname_custom_field_products'/>
|
1633 |
</div>
|
1634 |
<div>
|
1635 |
<label for="value_custom_field_products"><?php _e( 'Value',
|
1636 |
'woo-order-export-lite' ) ?>:</label>
|
1637 |
-
<input type='text' id='value_custom_field_products'/>
|
1638 |
</div>
|
1639 |
<div>
|
1640 |
<?php echo print_formats_field( 'field', 'products' ); ?>
|
@@ -1652,8 +1708,9 @@ function remove_time_from_date( $datetime ) {
|
|
1652 |
|
1653 |
<label for="select_custom_meta_order_items"><?php _e( 'Order item fields',
|
1654 |
'woo-order-export-lite' ) ?>:</label><select
|
1655 |
-
id='select_custom_meta_order_items'></select>
|
1656 |
-
|
|
|
1657 |
id='text_custom_meta_order_items'
|
1658 |
placeholder="<?php _e( 'or type meta key here',
|
1659 |
'woo-order-export-lite' ) ?>"/>
|
@@ -1668,7 +1725,7 @@ function remove_time_from_date( $datetime ) {
|
|
1668 |
<label><?php _e( 'Column name', 'woo-order-export-lite' ) ?>:</label><input
|
1669 |
type='text' id='colname_custom_meta_product_items'/>
|
1670 |
<div style="margin-top: 15px;"></div>
|
1671 |
-
<?php echo print_formats_field( 'meta', '
|
1672 |
<div style="text-align: right;">
|
1673 |
<button id='button_custom_meta_product_items'
|
1674 |
class='button-secondary'><?php _e( 'Confirm',
|
@@ -1681,15 +1738,15 @@ function remove_time_from_date( $datetime ) {
|
|
1681 |
<div>
|
1682 |
<label for="colname_custom_field_product_items"><?php _e( 'Column name',
|
1683 |
'woo-order-export-lite' ) ?>:</label>
|
1684 |
-
<input type='text' id='colname_custom_field_product_items'/>
|
1685 |
</div>
|
1686 |
<div>
|
1687 |
<label for="value_custom_field_product_items"><?php _e( 'Value',
|
1688 |
'woo-order-export-lite' ) ?>:</label>
|
1689 |
-
<input type='text' id='value_custom_field_product_items'/>
|
1690 |
</div>
|
1691 |
<div>
|
1692 |
-
<?php echo print_formats_field( 'field', '
|
1693 |
</div>
|
1694 |
<div style="text-align: right;">
|
1695 |
<button id='button_custom_field_product_items'
|
@@ -1707,8 +1764,8 @@ function remove_time_from_date( $datetime ) {
|
|
1707 |
'woo-order-export-lite' ) ?>
|
1708 |
</div>
|
1709 |
<br>
|
1710 |
-
<select id='select_custom_meta_coupons'></select>
|
1711 |
-
<input
|
1712 |
placeholder="<?php _e( 'or type meta key here',
|
1713 |
'woo-order-export-lite' ) ?>"/><br/>
|
1714 |
<hr>
|
@@ -1729,12 +1786,12 @@ function remove_time_from_date( $datetime ) {
|
|
1729 |
<div>
|
1730 |
<label for="colname_custom_field_coupons"><?php _e( 'Column name',
|
1731 |
'woo-order-export-lite' ) ?>:</label>
|
1732 |
-
<input type='text' id='colname_custom_field_coupons'/>
|
1733 |
</div>
|
1734 |
<div>
|
1735 |
<label for="value_custom_field_coupons"><?php _e( 'Value',
|
1736 |
'woo-order-export-lite' ) ?>:</label>
|
1737 |
-
<input type='text' id='value_custom_field_coupons'/>
|
1738 |
</div>
|
1739 |
<div>
|
1740 |
<?php echo print_formats_field( 'field', 'coupons' ); ?>
|
@@ -1774,7 +1831,7 @@ function remove_time_from_date( $datetime ) {
|
|
1774 |
<label>
|
1775 |
<?php _e( 'Shipping name', 'woo-order-export-lite' ) ?>:
|
1776 |
</label>
|
1777 |
-
|
1778 |
<select id='select_shipping_items'></select>
|
1779 |
<br/>
|
1780 |
<br/>
|
@@ -1816,7 +1873,13 @@ function remove_time_from_date( $datetime ) {
|
|
1816 |
</div>
|
1817 |
</div>
|
1818 |
</div>
|
1819 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1820 |
<div id="unselected_fields_list"></div>
|
1821 |
|
1822 |
|
@@ -1913,4 +1976,4 @@ function remove_time_from_date( $datetime ) {
|
|
1913 |
<input name="id" type="hidden" value="<?php echo $id ?>">
|
1914 |
<input name="json" type="hidden">
|
1915 |
<input name="woe_order_post_type" type="hidden" value="<?php echo $woe_order_post_type ?>">
|
1916 |
-
</form>
|
42 |
'<label for="' . $id . '">' .
|
43 |
__( 'Field format', 'woo-order-export-lite' ) . ':' .
|
44 |
'</label>' .
|
45 |
+
'<select id="' . $id . '" style="max-width: 221px; margin-left: ' . $margin_left . '">' .
|
46 |
'<option value="" >' . __( '-', 'woo-order-export-lite' ) . '</option>';
|
47 |
|
48 |
foreach ( WC_Order_Export_Data_Extractor_UI::get_format_fields() as $format_id => $format_label ) {
|
179 |
<input type=text class='date' name="settings[to_date]" id="to_date"
|
180 |
value='<?php echo ! empty($options['show_date_time_picker_for_date_range']) ? $settings['to_date']: remove_time_from_date($settings['to_date']) ?>'>
|
181 |
</div>
|
182 |
+
<br>
|
183 |
+
<br>
|
184 |
+
<div style="display: inline;">
|
185 |
+
<span class="wc-oe-header"><?php _e( 'Orders range', 'woo-order-export-lite' ) ?></span>
|
186 |
+
<input class='width-15' type=text name="settings[from_order_id]" id="from_order_id" value='<?php echo $settings['from_order_id']?>'>
|
187 |
+
<?php _e( 'to', 'woo-order-export-lite' ) ?>
|
188 |
+
<input class='width-15' type=text name="settings[to_order_id]" id="to_order_id" value='<?php echo $settings['to_order_id']?>'>
|
189 |
<button id="my-quick-export-btn" class="button-primary"><?php _e( 'Express export',
|
190 |
'woo-order-export-lite' ) ?></button>
|
191 |
+
</div>
|
192 |
+
|
193 |
<br>
|
194 |
<div id="summary_report_by_products" style="display:block"><input type="hidden"
|
195 |
name="settings[summary_report_by_products]"
|
225 |
|
226 |
<div id="my-format" class="my-block">
|
227 |
<span class="wc-oe-header"><?php _e( 'Format', 'woo-order-export-lite' ) ?></span><br>
|
228 |
+
<p class="line-height__3 mb-0">
|
229 |
<?php foreach ( WC_Order_Export_Admin::$formats as $format ) { ?>
|
230 |
<label class="button-secondary">
|
231 |
<input type=radio name="settings[format]" class="output_format" value="<?php echo $format ?>"
|
295 |
<input type=checkbox name="settings[format_csv_add_utf8_bom]"
|
296 |
value=1 <?php if ( @$settings['format_csv_add_utf8_bom'] ) {
|
297 |
echo 'checked';
|
298 |
+
} ?> id="woe_format_disabler"> <?php _e( 'Output UTF-8 BOM', 'woo-order-export-lite' ) ?><br>
|
299 |
<input type=checkbox name="settings[format_csv_display_column_names]"
|
300 |
value=1 <?php if ( @$settings['format_csv_display_column_names'] ) {
|
301 |
echo 'checked';
|
307 |
<input type=checkbox name="settings[format_csv_item_rows_start_from_new_line]"
|
308 |
value=1 <?php if ( @$settings['format_csv_item_rows_start_from_new_line'] ) {
|
309 |
echo 'checked';
|
310 |
+
} ?> > <?php _e( 'Product rows start with a new line', 'woo-order-export-lite' ) ?><br>
|
311 |
+
<div class="line-height__3">
|
312 |
+
<?php _e( 'Enclosure', 'woo-order-export-lite' ) ?> <input type=text
|
313 |
+
name="settings[format_csv_enclosure]"
|
314 |
+
value='<?php echo $settings['format_csv_enclosure'] ?>'
|
315 |
+
size=1>
|
316 |
+
<?php _e( 'Field Delimiter', 'woo-order-export-lite' ) ?> <input type=text
|
317 |
+
name="settings[format_csv_delimiter]"
|
318 |
+
value='<?php echo $settings['format_csv_delimiter'] ?>'
|
319 |
+
size=1>
|
320 |
+
<?php _e( 'Line Break', 'woo-order-export-lite' ) ?><input type=text
|
321 |
+
name="settings[format_csv_linebreak]"
|
322 |
+
value='<?php echo $settings['format_csv_linebreak'] ?>'
|
323 |
+
size=4><br>
|
324 |
+
<?php if ( function_exists( 'iconv' ) ): ?>
|
325 |
+
<?php _e( 'Character encoding', 'woo-order-export-lite' ) ?><input type=text
|
326 |
+
name="settings[format_csv_encoding]"
|
327 |
+
value="<?php echo $settings['format_csv_encoding'] ?>"
|
328 |
+
id="woe_format_disabled"
|
329 |
+
>
|
330 |
+
<br>
|
331 |
+
<?php endif ?>
|
332 |
+
</div>
|
333 |
</div>
|
334 |
<div id='XML_options' style='display:none'><strong><?php _e( 'XML options',
|
335 |
+
'woo-order-export-lite' ) ?></strong><br><br>
|
336 |
<?php if ( ! class_exists( "XMLWriter" ) ): ?>
|
337 |
<div style="color:red"><?php _e( 'Please, install/enable PHP XML extension!', 'woo-order-export-lite' ) ?></div>
|
338 |
<?php endif ?>
|
339 |
<input type=hidden name="settings[format_xml_self_closing_tags]" value=0>
|
340 |
<span class="xml-title"><?php _e( 'Prepend XML', 'woo-order-export-lite' ) ?></span><input type=text
|
341 |
name="settings[format_xml_prepend_raw_xml]"
|
342 |
+
value='<?php echo $settings['format_xml_prepend_raw_xml'] ?>'><br><br>
|
343 |
<span class="xml-title"><?php _e( 'Root tag', 'woo-order-export-lite' ) ?></span><input type=text
|
344 |
name="settings[format_xml_root_tag]"
|
345 |
+
value='<?php echo $settings['format_xml_root_tag'] ?>'><br><br>
|
346 |
<span class="xml-title"><?php _e( 'Order tag', 'woo-order-export-lite' ) ?></span><input type=text
|
347 |
name="settings[format_xml_order_tag]"
|
348 |
+
value='<?php echo $settings['format_xml_order_tag'] ?>'><br><br>
|
349 |
<span class="xml-title"><?php _e( 'Product tag', 'woo-order-export-lite' ) ?></span><input type=text
|
350 |
name="settings[format_xml_product_tag]"
|
351 |
+
value='<?php echo $settings['format_xml_product_tag'] ?>'><br><br>
|
352 |
<span class="xml-title"><?php _e( 'Coupon tag', 'woo-order-export-lite' ) ?></span><input type=text
|
353 |
name="settings[format_xml_coupon_tag]"
|
354 |
+
value='<?php echo $settings['format_xml_coupon_tag'] ?>'><br><br>
|
355 |
<span class="xml-title"><?php _e( 'Append XML', 'woo-order-export-lite' ) ?></span><input type=text
|
356 |
name="settings[format_xml_append_raw_xml]"
|
357 |
+
value='<?php echo $settings['format_xml_append_raw_xml'] ?>'><br><br>
|
358 |
<span class="xml-title"><?php _e( 'Self closing tags', 'woo-order-export-lite' ) ?></span><input
|
359 |
type=checkbox name="settings[format_xml_self_closing_tags]"
|
360 |
value=1 <?php if ( @$settings['format_xml_self_closing_tags'] ) {
|
361 |
echo 'checked';
|
362 |
+
} ?> ><br><br>
|
363 |
</div>
|
364 |
<div id='JSON_options' style='display:none'><strong><?php _e( 'JSON options',
|
365 |
'woo-order-export-lite' ) ?></strong><br>
|
366 |
<span class="xml-title"><?php _e( 'Start tag', 'woo-order-export-lite' ) ?></span><input type=text
|
367 |
name="settings[format_json_start_tag]"
|
368 |
value='<?php echo @$settings['format_json_start_tag'] ?>'><br>
|
369 |
+
<span class="xml-title"><?php _e( 'End tag', 'woo-order-export-lite' ) ?></span><input class="mt-sm" type=text
|
370 |
name="settings[format_json_end_tag]"
|
371 |
value='<?php echo @$settings['format_json_end_tag'] ?>'><br>
|
372 |
<label><input type=checkbox name="settings[format_json_unescaped_slashes]" value=1 <?php if(@$settings['format_json_unescaped_slashes']){
|
375 |
<label><input type=checkbox
|
376 |
name="settings[format_json_numeric_check]"
|
377 |
value='1 <?php if ( @$settings['format_json_numeric_check'] ) {
|
378 |
+
echo 'checked';
|
379 |
+
}?>'><?php _e("Encode numeric strings as numbers",'woo-order-export-lite')?></label>
|
380 |
</div>
|
381 |
<div id='TSV_options' style='display:none'><strong><?php _e( 'TSV options',
|
382 |
'woo-order-export-lite' ) ?></strong><br>
|
386 |
<input type=checkbox name="settings[format_tsv_add_utf8_bom]"
|
387 |
value=1 <?php if ( @$settings['format_tsv_add_utf8_bom'] ) {
|
388 |
echo 'checked';
|
389 |
+
} ?> id="woe_format_tsv_disabler" > <?php _e( 'Output UTF-8 BOM', 'woo-order-export-lite' ) ?><br>
|
390 |
<input type=checkbox name="settings[format_tsv_display_column_names]"
|
391 |
value=1 <?php if ( @$settings['format_tsv_display_column_names'] ) {
|
392 |
echo 'checked';
|
402 |
<?php if ( function_exists( 'iconv' ) ): ?>
|
403 |
<?php _e( 'Character encoding', 'woo-order-export-lite' ) ?><input type=text
|
404 |
name="settings[format_tsv_encoding]"
|
405 |
+
value="<?php echo $settings['format_tsv_encoding'] ?>"
|
406 |
+
id="woe_format_tsv_disabled" >
|
407 |
<br>
|
408 |
<?php endif ?>
|
409 |
</div>
|
491 |
<input type="radio" name="settings[format_pdf_fit_page_width]" value=1 <?php checked( @$settings['format_pdf_fit_page_width'] ); ?> ><?php _e( 'Yes', 'woo-order-export-lite' ); ?>
|
492 |
<input type="radio" name="settings[format_pdf_fit_page_width]" value=0 <?php checked( !@$settings['format_pdf_fit_page_width'] ); ?> ><?php _e( 'No', 'woo-order-export-lite' ); ?>
|
493 |
</div>
|
494 |
+
|
495 |
<div class="pdf_two_col_block">
|
496 |
<?php _e( 'Columns vertical align', 'woo-order-export-lite' ) ?>
|
497 |
<input title="<?php _e( 'T,C or B. Comma separated list', 'woo-order-export-lite' ) ?>" type=text name="settings[format_pdf_cols_vertical_align]" value='<?php echo $settings['format_pdf_cols_vertical_align'] ?>'>
|
656 |
<input type=text class="color_pick" name="settings[format_html_footer_text_color]"
|
657 |
value='<?php echo $settings['format_html_footer_text_color'] ?>'>
|
658 |
</div>
|
659 |
+
|
660 |
<div class="pdf_two_col_block">
|
661 |
<?php _e( 'Images width', 'woo-order-export-lite' ) ?>
|
662 |
<br>
|
670 |
<input type="number" name="settings[format_html_row_images_height]"
|
671 |
value='<?php echo $settings['format_html_row_images_height'] ?>' min="0">
|
672 |
</div>
|
673 |
+
|
674 |
<br/>
|
675 |
<div>
|
676 |
|
677 |
</div>
|
678 |
<div>
|
679 |
+
<?php _e( 'Custom css', 'woo-order-export-lite' ) ?><br>
|
680 |
<textarea style="width: 100%" type=text name="settings[format_html_custom_css]" rows=5><?php echo $settings['format_html_custom_css'] ?></textarea>
|
681 |
<div><i><?php _e( "This option cancels UI settings(above) and don't applied to Preview", 'woo-order-export-lite' ) ?></i></div>
|
682 |
</div>
|
741 |
|
742 |
</div>
|
743 |
<br/>
|
744 |
+
<div id="my-sort" class="my-block line-height__3">
|
745 |
<?php
|
746 |
$sort = array(
|
747 |
'order_id' => __( 'Order ID', 'woo-order-export-lite' ),
|
778 |
echo sprintf( __( 'Sort orders by %s in %s order', 'woo-order-export-lite' ), $sort_html,
|
779 |
$sort_direction_html );
|
780 |
?>
|
781 |
+
</div>
|
782 |
+
<br>
|
783 |
+
|
784 |
+
<?php if ( $mode === WC_Order_Export_Manage::EXPORT_SCHEDULE || $mode === WC_Order_Export_Manage::EXPORT_PROFILE ): ?>
|
785 |
+
<div id="my-change-status" class="my-block">
|
786 |
<label for="change_order_status_to"><?php _e( 'Change order status to',
|
787 |
'woo-order-export-lite' ) ?></label>
|
788 |
<select id="change_order_status_to" name="settings[change_order_status_to]">
|
795 |
} ?>><?php echo $status ?></option>
|
796 |
<?php } ?>
|
797 |
</select>
|
|
|
|
|
798 |
</div>
|
799 |
<br>
|
800 |
+
<?php endif; ?>
|
801 |
+
|
802 |
<div class="my-block">
|
803 |
<span class="my-hide-next "><?php _e( 'Misc settings', 'woo-order-export-lite' ) ?>
|
804 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
833 |
value="1" <?php checked( $settings['cleanup_phone'] ) ?>/><?php _e( 'Cleanup phone (export only digits)',
|
834 |
'woo-order-export-lite' ) ?></label>
|
835 |
</div>
|
836 |
+
<div>
|
837 |
+
<input type="hidden" name="settings[billing_details_for_shipping]" value="0"/>
|
838 |
+
<label><input type="checkbox" name="settings[billing_details_for_shipping]"
|
839 |
+
value="1" <?php checked( $settings['billing_details_for_shipping'] ) ?>/><?php _e( 'Shipping fields use billing details (if shipping address is empty)',
|
840 |
+
'woo-order-export-lite' ) ?></label>
|
841 |
+
</div>
|
842 |
<div>
|
843 |
<input type="hidden" name="settings[enable_debug]" value="0"/>
|
844 |
<label><input type="checkbox" name="settings[enable_debug]"
|
904 |
} ?>><?php echo $status ?></option>
|
905 |
<?php } ?>
|
906 |
</select>
|
907 |
+
<div>
|
908 |
+
<div class="custom-fields__wrapper">
|
909 |
+
<div>
|
910 |
+
<span class="wc-oe-header"><?php _e( 'Custom fields', 'woo-order-export-lite' ) ?></span>
|
911 |
+
</div>
|
912 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
913 |
+
<select id="custom_fields" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
914 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_order_custom_fields() as $cf_name ) { ?>
|
915 |
+
<option><?php echo $cf_name; ?></option>
|
916 |
+
<?php } ?>
|
917 |
+
</select>
|
918 |
+
|
919 |
+
<select id="custom_fields_compare" class="select_compare">
|
920 |
+
<option>=</option>
|
921 |
+
<option><></option>
|
922 |
+
<option>LIKE</option>
|
923 |
+
<option>></option>
|
924 |
+
<option>>=</option>
|
925 |
+
<option><</option>
|
926 |
+
<option><=</option>
|
927 |
+
<option>NOT SET</option>
|
928 |
+
<option>IS SET</option>
|
929 |
+
</select>
|
930 |
+
|
931 |
+
<input type="text" id="text_custom_fields" disabled class="like-input" style="display: none;">
|
932 |
+
<button id="add_custom_fields" class="button-secondary"><span
|
933 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
934 |
+
</div>
|
935 |
+
</div>
|
936 |
+
<select id="custom_fields_check" class="select2-i18n" multiple name="settings[order_custom_fields][]"
|
937 |
+
style="width: 100%; max-width: 25%;">
|
938 |
+
<?php
|
939 |
+
if ( $settings['order_custom_fields'] ) {
|
940 |
+
foreach ( $settings['order_custom_fields'] as $prod ) {
|
941 |
+
?>
|
942 |
+
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
943 |
+
<?php }
|
944 |
+
} ?>
|
945 |
+
</select>
|
946 |
+
</div>
|
947 |
</div>
|
948 |
</div>
|
949 |
|
1012 |
<?php }
|
1013 |
} ?>
|
1014 |
</select>
|
|
|
|
|
|
|
|
|
|
|
1015 |
|
1016 |
+
<span class="wc-oe-header"><?php _e( 'Product SKU', 'woo-order-export-lite' ) ?></span>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1017 |
<br>
|
1018 |
+
<textarea id="product_sku" name="settings[product_sku]" rows="4" class="width-100" style="resize: none;"><?php echo $settings['product_sku'] ?></textarea>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1019 |
<br>
|
1020 |
+
<div class="custom-fields__wrapper">
|
1021 |
+
<div>
|
1022 |
+
<span class="wc-oe-header"><?php _e( 'Product taxonomies', 'woo-order-export-lite' ) ?></span>
|
1023 |
+
</div>
|
1024 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1025 |
+
<select id="taxonomies" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
1026 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_taxonomies() as $attr_id => $attr_name ) { ?>
|
1027 |
+
<option><?php echo $attr_name; ?></option>
|
1028 |
+
<?php } ?>
|
1029 |
+
</select>
|
1030 |
+
|
1031 |
+
<select id="taxonomies_compare" class="select_compare">
|
1032 |
+
<option>=</option>
|
1033 |
+
<option><></option>
|
1034 |
+
<option>NOT SET</option>
|
1035 |
+
<option>IS SET</option>
|
1036 |
+
</select>
|
1037 |
+
|
1038 |
+
<input type="text" id="text_taxonomies" disabled style="display: none;">
|
1039 |
+
|
1040 |
+
<button id="add_taxonomies" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1041 |
+
</button>
|
1042 |
+
</div>
|
1043 |
+
<select id="taxonomies_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1044 |
+
name="settings[product_taxonomies][]"
|
1045 |
+
style="width: 100%; max-width: 25%;">
|
1046 |
+
<?php
|
1047 |
+
if ( $settings['product_taxonomies'] ) {
|
1048 |
+
foreach ( $settings['product_taxonomies'] as $prod ) {
|
1049 |
+
?>
|
1050 |
+
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1051 |
+
<?php }
|
1052 |
+
} ?>
|
1053 |
+
</select>
|
1054 |
+
</div>
|
1055 |
+
<div class="custom-fields__wrapper">
|
1056 |
+
<div>
|
1057 |
+
<span class="wc-oe-header"><?php _e( 'Product custom fields', 'woo-order-export-lite' ) ?></span>
|
1058 |
+
</div>
|
1059 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1060 |
+
<select id="product_custom_fields" class="select2-i18n" data-select2-i18n-width="150"
|
1061 |
+
style="width: auto;">
|
1062 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_custom_fields() as $cf_name ) { ?>
|
1063 |
+
<option><?php echo $cf_name; ?></option>
|
1064 |
+
<?php } ?>
|
1065 |
+
</select>
|
1066 |
+
|
1067 |
+
<select id="product_custom_fields_compare" class="select_compare">
|
1068 |
+
<option>=</option>
|
1069 |
+
<option><></option>
|
1070 |
+
<option>LIKE</option>
|
1071 |
+
<option>></option>
|
1072 |
+
<option>>=</option>
|
1073 |
+
<option><</option>
|
1074 |
+
<option><=</option>
|
1075 |
+
<option>NOT SET</option>
|
1076 |
+
<option>IS SET</option>
|
1077 |
+
</select>
|
1078 |
+
|
1079 |
+
<input type="text" id="text_product_custom_fields" disabled class="like-input" style="display: none;">
|
1080 |
+
|
1081 |
+
<button id="add_product_custom_fields" class="button-secondary"><span
|
1082 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
1083 |
+
</div>
|
1084 |
+
<select id="product_custom_fields_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1085 |
+
name="settings[product_custom_fields][]"
|
1086 |
+
style="width: 100%; max-width: 25%;">
|
1087 |
+
<?php
|
1088 |
+
if ( $settings['product_custom_fields'] ) {
|
1089 |
+
foreach ( $settings['product_custom_fields'] as $prod ) {
|
1090 |
+
?>
|
1091 |
+
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1092 |
+
<?php }
|
1093 |
+
} ?>
|
1094 |
+
</select>
|
1095 |
+
</div>
|
1096 |
+
<div class="custom-fields__wrapper">
|
1097 |
+
<div>
|
1098 |
+
<span class="wc-oe-header"><?php _e( 'Variable product attributes',
|
1099 |
+
'woo-order-export-lite' ) ?></span>
|
1100 |
+
</div>
|
1101 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1102 |
+
<select id="attributes" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
1103 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_attributes() as $attr_id => $attr_name ) { ?>
|
1104 |
+
<option><?php echo $attr_name; ?></option>
|
1105 |
+
<?php } ?>
|
1106 |
+
</select>
|
1107 |
+
|
1108 |
+
<select id="attributes_compare" class="select_compare">
|
1109 |
+
<option>=</option>
|
1110 |
+
<option><></option>
|
1111 |
+
<option>LIKE</option>
|
1112 |
+
</select>
|
1113 |
+
|
1114 |
+
<input type="text" id="text_attributes" disabled class="like-input" style="display: none;">
|
1115 |
+
|
1116 |
+
<button id="add_attributes" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1117 |
+
</button>
|
1118 |
+
</div>
|
1119 |
+
<select id="attributes_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1120 |
+
name="settings[product_attributes][]"
|
1121 |
+
style="width: 100%; max-width: 25%;">
|
1122 |
+
<?php
|
1123 |
+
if ( $settings['product_attributes'] ) {
|
1124 |
+
foreach ( $settings['product_attributes'] as $prod ) {
|
1125 |
+
?>
|
1126 |
+
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1127 |
+
<?php }
|
1128 |
+
} ?>
|
1129 |
+
</select>
|
1130 |
+
</div>
|
1131 |
+
<div class="custom-fields__wrapper">
|
1132 |
+
<div>
|
1133 |
+
<span class="wc-oe-header"><?php _e( 'Item meta data', 'woo-order-export-lite' ) ?></span>
|
1134 |
+
</div>
|
1135 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1136 |
+
<select id="itemmeta" class="select2-i18n" data-select2-i18n-width="220" style="width: auto;">
|
1137 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_product_itemmeta() as $attr_name ) { ?>
|
1138 |
+
<option data-base64="<?php echo base64_encode( $attr_name ); ?>"><?php echo $attr_name; ?></option>
|
1139 |
+
<?php } ?>
|
1140 |
+
</select>
|
1141 |
+
|
1142 |
+
<select id="itemmeta_compare" class="select_compare">
|
1143 |
+
<option>=</option>
|
1144 |
+
<option><></option>
|
1145 |
+
<option>LIKE</option>
|
1146 |
+
<option>></option>
|
1147 |
+
<option>>=</option>
|
1148 |
+
<option><</option>
|
1149 |
+
<option><=</option>
|
1150 |
+
</select>
|
1151 |
+
|
1152 |
+
<input type="text" id="text_itemmeta" disabled class="like-input" style="display: none;">
|
1153 |
+
|
1154 |
+
<button id="add_itemmeta" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1155 |
+
</button>
|
1156 |
+
</div>
|
1157 |
+
<select id="itemmeta_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1158 |
+
name="settings[product_itemmeta][]"
|
1159 |
+
style="width: 100%; max-width: 25%;">
|
1160 |
+
<?php
|
1161 |
+
if ( $settings['product_itemmeta'] ) {
|
1162 |
+
foreach ( $settings['product_itemmeta'] as $prod ) {
|
1163 |
+
?>
|
1164 |
+
<option selected value="<?php echo $prod; ?>"> <?php echo $prod; ?></option>
|
1165 |
+
<?php }
|
1166 |
+
} ?>
|
1167 |
+
</select>
|
1168 |
+
</div>
|
1169 |
<span class="wc-oe-header"><?php _e( 'Exclude products', 'woo-order-export-lite' ) ?></span>
|
1170 |
|
1171 |
<select id="exclude_products" class="select2-i18n" data-select2-i18n-ajax-method="get_products"
|
1215 |
$settings['user_roles'] ) ? selected( true ) : '' ) ?>> <?php echo $v ?></option>
|
1216 |
<?php } ?>
|
1217 |
</select>
|
1218 |
+
<div class="custom-fields__wrapper">
|
1219 |
+
<div>
|
1220 |
+
<span class="wc-oe-header"><?php _e( 'Custom fields', 'woo-order-export-lite' ) ?></span>
|
1221 |
+
</div>
|
1222 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1223 |
+
<select id="user_custom_fields" class="select2-i18n" data-select2-i18n-width="150" style="width: auto;">
|
1224 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_user_custom_fields() as $cf_name ) { ?>
|
1225 |
+
<option><?php echo $cf_name; ?></option>
|
1226 |
+
<?php } ?>
|
1227 |
+
</select>
|
1228 |
+
<select id="user_custom_fields_compare" class="select_compare">
|
1229 |
+
<option>=</option>
|
1230 |
+
<option><></option>
|
1231 |
+
<option>LIKE</option>
|
1232 |
+
<option>></option>
|
1233 |
+
<option>>=</option>
|
1234 |
+
<option><</option>
|
1235 |
+
<option><=</option>
|
1236 |
+
<option>NOT SET</option>
|
1237 |
+
<option>IS SET</option>
|
1238 |
+
</select>
|
1239 |
+
|
1240 |
+
<input type="text" id="text_user_custom_fields" disabled class="like-input" style="display: none;">
|
1241 |
+
|
1242 |
+
<button id="add_user_custom_fields" class="button-secondary"><span
|
1243 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
1244 |
+
</div>
|
1245 |
+
<select id="user_custom_fields_check" class="select2-i18n" multiple
|
1246 |
+
name="settings[user_custom_fields][]"
|
1247 |
+
style="width: 100%; max-width: 25%;">
|
1248 |
+
<?php
|
1249 |
+
if ( ! empty( $settings['user_custom_fields'] ) ) {
|
1250 |
+
foreach ( $settings['user_custom_fields'] as $value ) {
|
1251 |
+
?>
|
1252 |
+
<option selected value="<?php echo $value; ?>"> <?php echo $value; ?></option>
|
1253 |
+
<?php }
|
1254 |
+
} ?>
|
1255 |
+
</select>
|
1256 |
+
</div>
|
1257 |
</div>
|
1258 |
</div>
|
1259 |
|
1290 |
<span class="my-hide-next "><?php _e( 'Filter by billing', 'woo-order-export-lite' ) ?>
|
1291 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1292 |
<div id="my-billing" hidden="hidden">
|
1293 |
+
<div class="custom-fields__wrapper">
|
1294 |
+
<div>
|
1295 |
+
<span class="wc-oe-header"><?php _e( 'Billing locations', 'woo-order-export-lite' ) ?></span>
|
1296 |
+
</div>
|
1297 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1298 |
+
<select id="billing_locations" class="select2-i18n" data-select2-i18n-width="150">
|
1299 |
+
<option>City</option>
|
1300 |
+
<option>State</option>
|
1301 |
+
<option>Postcode</option>
|
1302 |
+
<option>Country</option>
|
1303 |
+
</select>
|
1304 |
+
<select id="billing_compare" class="select_compare">
|
1305 |
+
<option>=</option>
|
1306 |
+
<option><></option>
|
1307 |
+
</select>
|
1308 |
+
<button id="add_billing_locations" class="button-secondary"><span
|
1309 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
1310 |
+
</div>
|
1311 |
+
</div>
|
1312 |
<select id="billing_locations_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1313 |
name="settings[billing_locations][]"
|
1314 |
style="width: 100%; max-width: 25%;">
|
1340 |
<span class="my-hide-next "><?php _e( 'Filter by shipping', 'woo-order-export-lite' ) ?>
|
1341 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1342 |
<div id="my-shipping" hidden="hidden">
|
1343 |
+
<div class="custom-fields__wrapper">
|
1344 |
+
<div>
|
1345 |
+
<span class="wc-oe-header"><?php _e( 'Shipping locations', 'woo-order-export-lite' ) ?></span>
|
1346 |
+
</div>
|
1347 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1348 |
+
<select id="shipping_locations" class="select2-i18n" data-select2-i18n-width="150">
|
1349 |
+
<option>City</option>
|
1350 |
+
<option>State</option>
|
1351 |
+
<option>Postcode</option>
|
1352 |
+
<option>Country</option>
|
1353 |
+
</select>
|
1354 |
+
<select id="shipping_compare" class="select_compare">
|
1355 |
+
<option>=</option>
|
1356 |
+
<option><></option>
|
1357 |
+
</select>
|
1358 |
+
|
1359 |
+
<button id="add_shipping_locations" class="button-secondary"><span
|
1360 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
1361 |
+
</div>
|
1362 |
+
<select id="shipping_locations_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1363 |
+
name="settings[shipping_locations][]"
|
1364 |
+
style="width: 100%; max-width: 25%;">
|
1365 |
+
<?php
|
1366 |
+
if ( $settings['shipping_locations'] ) {
|
1367 |
+
foreach ( $settings['shipping_locations'] as $location ) {
|
1368 |
+
?>
|
1369 |
+
<option selected value="<?php echo $location; ?>"> <?php echo $location; ?></option>
|
1370 |
+
<?php }
|
1371 |
+
} ?>
|
1372 |
+
</select>
|
1373 |
+
</div>
|
1374 |
<span class="wc-oe-header"><?php _e( 'Shipping methods', 'woo-order-export-lite' ) ?></span>
|
1375 |
<select id="shipping_methods" class="select2-i18n" name="settings[shipping_methods][]"
|
1376 |
multiple="multiple"
|
1390 |
<span class="my-hide-next "><?php _e( 'Filter by item and metadata', 'woo-order-export-lite' ) ?>
|
1391 |
<span class="ui-icon ui-icon-triangle-1-s my-icon-triangle"></span></span>
|
1392 |
<div id="my-items-meta" hidden="hidden">
|
1393 |
+
<div><input type="hidden" name="settings[export_matched_items]" value="0"/><label><input
|
1394 |
+
type="checkbox" name="settings[export_matched_items]"
|
1395 |
+
value="1" <?php checked( $settings['export_matched_items'] ) ?> /> <?php _e( 'Export only matched product items',
|
1396 |
+
'woo-order-export-lite' ) ?></label></div>
|
1397 |
+
<div class="custom-fields__wrapper">
|
1398 |
+
<div>
|
1399 |
+
<span class="wc-oe-header"><?php _e( 'Item names', 'woo-order-export-lite' ) ?></span>
|
1400 |
+
</div>
|
1401 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1402 |
+
<select id="item_names" class="select2-i18n" data-select2-i18n-width="150">
|
1403 |
+
<option>coupon</option>
|
1404 |
+
<option>fee</option>
|
1405 |
+
<option>line_item</option>
|
1406 |
+
<option>shipping</option>
|
1407 |
+
<option>tax</option>
|
1408 |
+
</select>
|
1409 |
+
<select id="item_name_compare" class="select_compare">
|
1410 |
+
<option>=</option>
|
1411 |
+
<option><></option>
|
1412 |
+
<option>LIKE</option>
|
1413 |
+
</select>
|
1414 |
+
<input type="text" id="text_order_item_name" disabled class="like-input" style="display: none;">
|
1415 |
+
<button id="add_item_names" class="button-secondary"><span class="dashicons dashicons-plus-alt"></span>
|
1416 |
+
</button>
|
1417 |
+
</div>
|
1418 |
+
</div>
|
1419 |
<select id="item_names_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1420 |
name="settings[item_names][]"
|
1421 |
style="width: 100%; max-width: 25%;">
|
1427 |
<?php }
|
1428 |
} ?>
|
1429 |
</select>
|
1430 |
+
<div class="custom-fields__wrapper">
|
1431 |
+
<div>
|
1432 |
+
<span class="wc-oe-header"><?php _e( 'Item metadata', 'woo-order-export-lite' ) ?></span>
|
1433 |
+
</div>
|
1434 |
+
<div class="custom-fields__condotion-wrapper custom-fields__condotion-wrapper_position">
|
1435 |
+
<select id="item_metadata" class="select2-i18n" data-select2-i18n-width="150">
|
1436 |
+
<?php foreach ( WC_Order_Export_Data_Extractor_UI::get_item_meta_keys() as $type => $meta_keys ) { ?>
|
1437 |
+
<optgroup label="<?php echo ucwords( $type ); ?>">
|
1438 |
+
<?php foreach ( $meta_keys as $item_meta_key ) { ?>
|
1439 |
+
<option value="<?php echo $type . ":" . $item_meta_key; ?>"><?php echo $item_meta_key; ?></option>
|
1440 |
+
<?php } ?>
|
1441 |
+
</optgroup>
|
1442 |
+
<?php } ?>
|
1443 |
+
</select>
|
1444 |
+
<select id="item_metadata_compare" class="select_compare">
|
1445 |
+
<option>=</option>
|
1446 |
+
<option><></option>
|
1447 |
+
<option>LIKE</option>
|
1448 |
+
</select>
|
1449 |
+
<input type="text" id="text_order_itemmetadata" disabled class="like-input" style="display: none;">
|
1450 |
+
<button id="add_item_metadata" class="button-secondary"><span
|
1451 |
+
class="dashicons dashicons-plus-alt"></span></button>
|
1452 |
+
</div>
|
1453 |
+
<select id="item_metadata_check" class="select2-i18n" data-select2-i18n-default="1" multiple
|
1454 |
+
name="settings[item_metadata][]"
|
1455 |
+
style="width: 100%; max-width: 25%;">
|
1456 |
+
<?php
|
1457 |
+
if ( $settings['item_metadata'] ) {
|
1458 |
+
foreach ( $settings['item_metadata'] as $meta ) {
|
1459 |
+
?>
|
1460 |
+
<option selected value="<?php echo $meta; ?>"> <?php echo $meta; ?></option>
|
1461 |
+
<?php }
|
1462 |
+
} ?>
|
1463 |
+
</select>
|
1464 |
+
</div>
|
1465 |
</div>
|
1466 |
</div>
|
1467 |
|
1508 |
<div></div>
|
1509 |
<div id='unselected_fields'>
|
1510 |
<ul class="subsubsub" style="float: none">
|
1511 |
+
<?php $segments = WC_Order_Export_Data_Extractor_UI::get_unselected_fields_segments(); ?>
|
1512 |
+
<?php $segment_hints = WC_Order_Export_Data_Extractor_UI::get_segment_hints(); ?>
|
1513 |
<?php foreach ( $segments as $id => $segment_title ): ?>
|
1514 |
<li class="block-segment-choice" data-segment="<?php echo $id; ?>">
|
1515 |
<a class="segment_choice"
|
1552 |
<label for="select_custom_meta_order">
|
1553 |
<?php _e( 'Meta key', 'woo-order-export-lite' ) ?>:
|
1554 |
</label><br/>
|
1555 |
+
<select class="set-up__selects" id='select_custom_meta_order'>
|
1556 |
<?php
|
1557 |
foreach ( $order_custom_meta_fields['order'] as $meta_id => $meta_name ) {
|
1558 |
echo "<option value='" . esc_html($meta_name) . "' >$meta_name</option>";
|
1560 |
?>
|
1561 |
</select>
|
1562 |
<div id="custom_meta_order_mode" style="margin-bottom: 10px;">
|
1563 |
+
<input class="set-up__selects mt-sm" type='text' id='text_custom_meta_order'
|
1564 |
placeholder="<?php _e( 'or type meta key here',
|
1565 |
'woo-order-export-lite' ) ?>"/><br>
|
1566 |
</div>
|
1588 |
<div>
|
1589 |
<label for="colname_custom_field"><?php _e( 'Column name',
|
1590 |
'woo-order-export-lite' ) ?>:</label>
|
1591 |
+
<input class="set-up__selects_sm" type='text' id='colname_custom_field'/>
|
1592 |
</div>
|
1593 |
<div>
|
1594 |
<label for="value_custom_field"><?php _e( 'Value', 'woo-order-export-lite' ) ?>
|
1595 |
:</label>
|
1596 |
+
<input class="set-up__selects_sm" type='text' id='value_custom_field'/>
|
1597 |
</div>
|
1598 |
<div>
|
1599 |
<?php echo print_formats_field( 'field' ); ?>
|
1609 |
<label for="select_custom_meta_user">
|
1610 |
<?php _e( 'Meta key', 'woo-order-export-lite' ) ?>:
|
1611 |
</label><br/>
|
1612 |
+
<select class="set-up__selects" id='select_custom_meta_user'>
|
1613 |
<?php
|
1614 |
foreach ( $order_custom_meta_fields['user'] as $meta_id => $meta_name ) {
|
1615 |
echo "<option value='" . esc_html($meta_name) . "' >$meta_name</option>";
|
1617 |
?>
|
1618 |
</select>
|
1619 |
<div id="custom_meta_user_mode" style="margin-bottom: 10px;">
|
1620 |
+
<input class="set-up__selects mt-sm" type='text' id='text_custom_meta_user'
|
1621 |
placeholder="<?php _e( 'or type meta key here',
|
1622 |
'woo-order-export-lite' ) ?>"/><br>
|
1623 |
</div>
|
1632 |
id='colname_custom_meta_user'/>
|
1633 |
</div>
|
1634 |
<div style="margin-top: 20px;">
|
1635 |
+
<?php echo print_formats_field( 'meta', 'user' ); ?>
|
1636 |
</div>
|
1637 |
<div style="text-align: right;">
|
1638 |
<button id='button_custom_meta_users' class='button-secondary'><?php _e( 'Confirm',
|
1643 |
</div>
|
1644 |
<div class='div_meta products-segment segment-form products-add-field'>
|
1645 |
<label for="select_custom_meta_products"><?php _e( 'Product fields',
|
1646 |
+
'woo-order-export-lite' ) ?>:</label><select class="set-up__selects"
|
1647 |
id='select_custom_meta_products'></select>
|
1648 |
+
<br>
|
1649 |
+
<label> </label><input class="set-up__selects mt-sm" type='text'
|
1650 |
+
id='text_custom_meta_products'
|
1651 |
placeholder="<?php _e( 'or type meta key here',
|
1652 |
'woo-order-export-lite' ) ?>"/>
|
1653 |
<div id="custom_meta_products_mode">
|
1658 |
</div>
|
1659 |
<div style="width: 80%; text-align: center;"><?php _e( 'OR',
|
1660 |
'woo-order-export-lite' ) ?></div>
|
1661 |
+
<label><?php _e( 'Taxonomy', 'woo-order-export-lite' ) ?>:</label><select class="set-up__selects"
|
1662 |
id='select_custom_taxonomies_products'>
|
1663 |
<option></option>
|
1664 |
<?php
|
1685 |
<div>
|
1686 |
<label for="colname_custom_field_products"><?php _e( 'Column name',
|
1687 |
'woo-order-export-lite' ) ?>:</label>
|
1688 |
+
<input type='text' id='colname_custom_field_products' class="set-up__selects_sm"/>
|
1689 |
</div>
|
1690 |
<div>
|
1691 |
<label for="value_custom_field_products"><?php _e( 'Value',
|
1692 |
'woo-order-export-lite' ) ?>:</label>
|
1693 |
+
<input type='text' id='value_custom_field_products' class="set-up__selects_sm"/>
|
1694 |
</div>
|
1695 |
<div>
|
1696 |
<?php echo print_formats_field( 'field', 'products' ); ?>
|
1708 |
|
1709 |
<label for="select_custom_meta_order_items"><?php _e( 'Order item fields',
|
1710 |
'woo-order-export-lite' ) ?>:</label><select
|
1711 |
+
id='select_custom_meta_order_items' style="width: 53.5%; max-width: 100%;"></select>
|
1712 |
+
<br>
|
1713 |
+
<label> </label><input style="width: 53.5%; margin-top: .5rem;" type='text'
|
1714 |
id='text_custom_meta_order_items'
|
1715 |
placeholder="<?php _e( 'or type meta key here',
|
1716 |
'woo-order-export-lite' ) ?>"/>
|
1725 |
<label><?php _e( 'Column name', 'woo-order-export-lite' ) ?>:</label><input
|
1726 |
type='text' id='colname_custom_meta_product_items'/>
|
1727 |
<div style="margin-top: 15px;"></div>
|
1728 |
+
<?php echo print_formats_field( 'meta', 'products_items' ); ?>
|
1729 |
<div style="text-align: right;">
|
1730 |
<button id='button_custom_meta_product_items'
|
1731 |
class='button-secondary'><?php _e( 'Confirm',
|
1738 |
<div>
|
1739 |
<label for="colname_custom_field_product_items"><?php _e( 'Column name',
|
1740 |
'woo-order-export-lite' ) ?>:</label>
|
1741 |
+
<input type='text' class="set-up__selects_sm" id='colname_custom_field_product_items'/>
|
1742 |
</div>
|
1743 |
<div>
|
1744 |
<label for="value_custom_field_product_items"><?php _e( 'Value',
|
1745 |
'woo-order-export-lite' ) ?>:</label>
|
1746 |
+
<input type='text' class="set-up__selects_sm" id='value_custom_field_product_items'/>
|
1747 |
</div>
|
1748 |
<div>
|
1749 |
+
<?php echo print_formats_field( 'field', 'products_items' ); ?>
|
1750 |
</div>
|
1751 |
<div style="text-align: right;">
|
1752 |
<button id='button_custom_field_product_items'
|
1764 |
'woo-order-export-lite' ) ?>
|
1765 |
</div>
|
1766 |
<br>
|
1767 |
+
<select class="set-up__selects" id='select_custom_meta_coupons'></select>
|
1768 |
+
<input class="set-up__selects mb-2 mt-sm" type='text' id='text_custom_meta_coupons'
|
1769 |
placeholder="<?php _e( 'or type meta key here',
|
1770 |
'woo-order-export-lite' ) ?>"/><br/>
|
1771 |
<hr>
|
1786 |
<div>
|
1787 |
<label for="colname_custom_field_coupons"><?php _e( 'Column name',
|
1788 |
'woo-order-export-lite' ) ?>:</label>
|
1789 |
+
<input class="set-up__selects_sm" type='text' id='colname_custom_field_coupons'/>
|
1790 |
</div>
|
1791 |
<div>
|
1792 |
<label for="value_custom_field_coupons"><?php _e( 'Value',
|
1793 |
'woo-order-export-lite' ) ?>:</label>
|
1794 |
+
<input class="set-up__selects_sm" type='text' id='value_custom_field_coupons'/>
|
1795 |
</div>
|
1796 |
<div>
|
1797 |
<?php echo print_formats_field( 'field', 'coupons' ); ?>
|
1831 |
<label>
|
1832 |
<?php _e( 'Shipping name', 'woo-order-export-lite' ) ?>:
|
1833 |
</label>
|
1834 |
+
<br/>
|
1835 |
<select id='select_shipping_items'></select>
|
1836 |
<br/>
|
1837 |
<br/>
|
1873 |
</div>
|
1874 |
</div>
|
1875 |
</div>
|
1876 |
+
<div id="woe_hints_block">
|
1877 |
+
<?php foreach ( $segment_hints as $key => $hint ): ?>
|
1878 |
+
<div class="woe_segment_tips" id="woe_tips_<?php echo $key ?>">
|
1879 |
+
<?php echo $hint; ?>
|
1880 |
+
</div>
|
1881 |
+
<?php endforeach; ?>
|
1882 |
+
</div>
|
1883 |
<div id="unselected_fields_list"></div>
|
1884 |
|
1885 |
|
1976 |
<input name="id" type="hidden" value="<?php echo $id ?>">
|
1977 |
<input name="json" type="hidden">
|
1978 |
<input name="woe_order_post_type" type="hidden" value="<?php echo $woe_order_post_type ?>">
|
1979 |
+
</form>
|
woo-order-export-lite.php
CHANGED
@@ -5,11 +5,11 @@
|
|
5 |
* Description: Export orders from WooCommerce with ease (Excel/CSV/XML/JSON supported)
|
6 |
* Author: AlgolPlus
|
7 |
* Author URI: https://algolplus.com/
|
8 |
-
* Version: 3.1.
|
9 |
* Text Domain: woo-order-export-lite
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* WC requires at least: 2.6.0
|
12 |
-
* WC tested up to:
|
13 |
*
|
14 |
* Copyright: (c) 2015 AlgolPlus LLC. (algol.plus@gmail.com)
|
15 |
*
|
@@ -39,7 +39,7 @@ if ( class_exists( 'WC_Order_Export_Admin' ) ) {
|
|
39 |
return;
|
40 |
}
|
41 |
|
42 |
-
define( 'WOE_VERSION', '3.1.
|
43 |
define( 'WOE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
44 |
define( 'WOE_PLUGIN_BASEPATH', dirname( __FILE__ ) );
|
45 |
|
5 |
* Description: Export orders from WooCommerce with ease (Excel/CSV/XML/JSON supported)
|
6 |
* Author: AlgolPlus
|
7 |
* Author URI: https://algolplus.com/
|
8 |
+
* Version: 3.1.2
|
9 |
* Text Domain: woo-order-export-lite
|
10 |
* Domain Path: /i18n/languages/
|
11 |
* WC requires at least: 2.6.0
|
12 |
+
* WC tested up to: 4.0
|
13 |
*
|
14 |
* Copyright: (c) 2015 AlgolPlus LLC. (algol.plus@gmail.com)
|
15 |
*
|
39 |
return;
|
40 |
}
|
41 |
|
42 |
+
define( 'WOE_VERSION', '3.1.2' );
|
43 |
define( 'WOE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
|
44 |
define( 'WOE_PLUGIN_BASEPATH', dirname( __FILE__ ) );
|
45 |
|