Advanced Shipment Tracking for WooCommerce - Version 3.3

Version Description

  • Dev - Removed TrackShip functionality
  • Enhancement - Add line break for tracking # - orders list page
  • Enhancement - Change uninstall > deactivate when deactivating the plugin
  • Enhancement - Updated the design of settings page
  • Enhancement - Updated the design of Go Pro page
  • Enhancement - Remove clickable link from shipment tracking column in orders list page
Download this release

Release Info

Developer zorem
Plugin Icon 128x128 Advanced Shipment Tracking for WooCommerce
Version 3.3
Comparing to
See all releases

Code changes from version 3.2.9 to 3.3

Files changed (83) hide show
  1. assets/css/admin.css +442 -877
  2. assets/css/front.css +0 -358
  3. assets/css/icons/Delivered-o.png +0 -0
  4. assets/css/icons/delivered-o.png +0 -0
  5. assets/css/trackship.css +0 -640
  6. assets/images/3plwinner.png +0 -0
  7. assets/images/AOSM-addons-icon.jpg +0 -0
  8. assets/images/alp-icon.png +0 -0
  9. assets/images/alp.png +0 -0
  10. assets/images/aosm.png +0 -0
  11. assets/images/cbr-icon.png +0 -0
  12. assets/images/cbr.png +0 -0
  13. assets/images/eiz.png +0 -0
  14. assets/images/sre-icon.png +0 -0
  15. assets/images/sre.png +0 -0
  16. assets/images/trackship-logo.png +0 -0
  17. assets/images/trackship.png +0 -0
  18. assets/js/admin.js +3 -0
  19. assets/js/customizer-scripts.js +2 -111
  20. assets/js/datatable.jquery.js +0 -104
  21. assets/js/datatable.js +0 -1814
  22. assets/js/front.js +0 -141
  23. assets/js/hip.js +341 -0
  24. assets/js/preview-scripts.js +6 -244
  25. assets/js/settings.js +3 -22
  26. assets/js/shipping_row.js +72 -345
  27. assets/js/trackship.js +0 -337
  28. includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php +4 -184
  29. includes/class-wc-advanced-shipment-tracking-admin-notice.php +51 -15
  30. includes/class-wc-advanced-shipment-tracking-admin.php +145 -356
  31. includes/class-wc-advanced-shipment-tracking-api-call.php +0 -235
  32. includes/class-wc-advanced-shipment-tracking-front.php +0 -528
  33. includes/class-wc-advanced-shipment-tracking-late-shipments.php +0 -319
  34. includes/class-wc-advanced-shipment-tracking-settings.php +22 -86
  35. includes/class-wc-advanced-shipment-tracking-trackship.php +0 -1669
  36. includes/class-wc-advanced-shipment-tracking.php +1 -10
  37. includes/customizer/class-trackship-customizer.php +0 -313
  38. includes/customizer/class-wc-availableforpickup-email-customizer.php +0 -416
  39. includes/customizer/class-wc-delivered-email-customizer.php +0 -437
  40. includes/customizer/class-wc-exception-email-customizer.php +0 -412
  41. includes/customizer/class-wc-failure-email-customizer.php +0 -418
  42. includes/customizer/class-wc-intransit-email-customizer.php +0 -492
  43. includes/customizer/class-wc-late-shipments-email-customizer.php +0 -48
  44. includes/customizer/class-wc-onhold-email-customizer.php +0 -414
  45. includes/customizer/class-wc-outfordelivery-email-customizer.php +0 -409
  46. includes/customizer/class-wc-returntosender-email-customizer.php +0 -413
  47. includes/customizer/class-wc-tracking-page-customizer.php +0 -259
  48. includes/customizer/class-wcast-customizer.php +3 -1
  49. includes/customizer/preview/availableforpickup_preview.php +0 -29
  50. includes/customizer/preview/delivered_status_preview.php +0 -29
  51. includes/customizer/preview/exception_preview.php +0 -29
  52. includes/customizer/preview/failure_preview.php +0 -27
  53. includes/customizer/preview/intransit_preview.php +0 -27
  54. includes/customizer/preview/late_shipments_preview.php +0 -30
  55. includes/customizer/preview/onhold_preview.php +0 -23
  56. includes/customizer/preview/outfordelivery_preview.php +0 -26
  57. includes/customizer/preview/returntosender_preview.php +0 -28
  58. includes/customizer/preview/tracking_page_preview.php +0 -29
  59. includes/trackship-email-manager.php +0 -375
  60. includes/views/activity_panel.php +70 -0
  61. includes/views/admin_options_addons.php +21 -21
  62. includes/views/admin_options_bulk_upload.php +3 -4
  63. includes/views/admin_options_osm.php +15 -4
  64. includes/views/admin_options_settings.php +66 -19
  65. includes/views/admin_options_shipping_provider.php +107 -105
  66. includes/views/admin_options_tools.php +0 -32
  67. includes/views/admin_options_trackship_integration.php +3 -9
  68. includes/views/admin_status_notifications.php +0 -193
  69. includes/views/admin_trackship_dashboard.php +0 -155
  70. includes/views/front/layout1_tracking_details.php +0 -218
  71. includes/views/front/preview_tracking_page.php +0 -136
  72. includes/views/front/tracking_page_header.php +0 -32
  73. includes/views/integrations_admin_options.php +20 -21
  74. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  75. lang/woo-advanced-shipment-tracking-bg_BG.po +493 -1037
  76. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  77. lang/woo-advanced-shipment-tracking-da_DK.po +493 -1031
  78. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  79. lang/woo-advanced-shipment-tracking-de_DE.po +496 -1042
  80. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  81. lang/woo-advanced-shipment-tracking-el.po +496 -1048
  82. lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
  83. lang/woo-advanced-shipment-tracking-es_ES.po +225 -261
assets/css/admin.css CHANGED
@@ -1,10 +1,7 @@
1
  /* fallback */
2
  .zorem-layout__header {
3
- margin: 0;
4
- padding: 0;
5
- }
6
- .zorem-layout__header {
7
- background: #fff;
8
  display: flex;
9
  justify-content: space-between;
10
  flex-direction: row;
@@ -15,25 +12,39 @@
15
  align-items: center;
16
  position: relative;
17
  }
18
- .zorem-layout__header .zorem-layout__header-logo{
19
- padding: 0 0 0 30px;
20
- margin: 0;
21
- width: 120px;
22
- }
23
  .zorem-layout__header * {
24
  box-sizing: border-box;
25
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  .woocommerce-layout__activity-panel-tabs {
27
- width: 100%;
28
- display: flex;
29
- height: 60px;
30
- justify-content: flex-end;
31
  }
32
  .woocommerce-layout__activity-panel-tabs .dashicons{
33
- width: 24px;
34
  height: 24px;
35
  font-size: 24px;
36
- color: #74c1e0;
 
37
  }
38
  .woocommerce-layout__activity-panel-tabs label {
39
  color: #005b9a;
@@ -47,7 +58,7 @@
47
  border: none;
48
  outline: none;
49
  cursor: pointer;
50
- background-color: #fff;
51
  max-width: -webkit-min-content;
52
  max-width: min-content;
53
  min-width: 80px;
@@ -55,32 +66,12 @@
55
  height: 60px;
56
  color: #757575;
57
  white-space: nowrap;
58
- }
59
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:before {
60
- background-color: #005b9a;
61
- bottom: 0;
62
- content: "";
63
- height: 0;
64
- opacity: 0;
65
- transition-property: height,opacity;
66
- transition-duration: .3s;
67
- transition-timing-function: ease-in-out;
68
- left: 0;
69
- position: absolute;
70
- right: 0;
71
- }
72
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab:hover {
73
- background-color: #f0f0f0;
74
- box-shadow: none;
75
  }
76
  .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active{
77
  color: #1e1e1e;
78
  box-shadow: none;
79
  }
80
- .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active:before{
81
- height: 3px;
82
- opacity: 1;
83
- }
84
  .woocommerce-layout__activity-panel-wrapper {
85
  height: calc(100vh - 60px);
86
  background: #f0f0f0;
@@ -90,7 +81,7 @@
90
  transition-timing-function: ease-in-out;
91
  position: absolute;
92
  right: 0;
93
- top: 60px;
94
  z-index: 1000;
95
  overflow-x: hidden;
96
  overflow-y: auto;
@@ -121,12 +112,7 @@
121
  align-items: center;
122
  }
123
  .css-activity-panel-Text {
124
- box-sizing: border-box;
125
- margin: 0px;
126
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
127
- font-weight: 400;
128
  font-size: 20px;
129
- line-height: 28px;
130
  }
131
  .woocommerce-list {
132
  margin: 0;
@@ -160,12 +146,8 @@
160
  color: #005b9a;
161
  }
162
  .woocommerce-list-Text {
163
- box-sizing: border-box;
164
- margin: 0px;
165
- font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
166
  font-weight: 600;
167
  font-size: 14px;
168
- line-height: 20px;
169
  }
170
  .woocommerce-list__item .woocommerce-list__item-after {
171
  margin-left: 16px;
@@ -178,39 +160,6 @@
178
  padding: 16px 24px;
179
  }
180
  }
181
- .zorem-layout__header .zorem-layout__docs-panel{
182
- display: flex;
183
- flex-direction: row;
184
- align-items: center;
185
- right: 0;
186
- height: 56px;
187
- padding: 0 30px 0 0;
188
- }
189
- .wp-core-ui .button-primary.ast-pro-btn {
190
- line-height: 34px;
191
- }
192
- .ast-pro-btn span.dashicons{
193
- margin-left: 2px;
194
- vertical-align: middle;
195
- height: 22px;
196
- }
197
- .nav_doc_section {
198
- float: right;
199
- padding: 11px 0;
200
- margin-right: 15px;
201
- }
202
- .nav_doc_section a {
203
- color: #005b9a;
204
- text-decoration: none;
205
- font-size: 14px;
206
- }
207
- .nav_doc_section a:hover{
208
- color: #212121;
209
- }
210
- .nav_doc_section a:focus{
211
- outline: none;
212
- box-shadow: none;
213
- }
214
  #woocommerce-advanced-shipment-tracking .inside {
215
  padding: 0 12px 12px;
216
  margin: 0
@@ -277,42 +226,35 @@
277
  }
278
  section.tab_section {
279
  display: none;
280
- padding: 25px 30px;
281
- margin-bottom: 20px;
282
- margin-top: -1px;
283
- background: #fff;
284
- border-radius: 5px;
285
- border-top-left-radius: 0;
286
- border: 1px solid #e0e0e0;
287
  }
288
  section.inner_tab_section {
289
  display: none;
290
  padding: 0;
291
  border-top: 1px solid #ddd;
292
  }
 
 
 
 
 
 
 
293
  input.tab_input,input.inner_tab_input {
294
  display: none;
295
  }
296
  label.tab_label {
297
  text-decoration: none;
298
- padding: 15px 20px;
299
  font-size: 14px;
300
- color: #005b9a;
301
  display: inline-block;
302
- margin-left: 0;
303
  line-height: 1;
304
  outline: none;
305
- border-top-right-radius: 5px;
306
- border-top-left-radius: 5px;
307
- background: #fafafa;
308
- border: 1px solid #e0e0e0;
309
- border-bottom: 0;
310
  }
311
  label.inner_tab_label {
312
  text-decoration: none;
313
  padding: 12px 12px 8px;
314
- font-size: 14px;
315
- color: #005b9a;
316
  display: inline-block;
317
  line-height: 1;
318
  outline: none;
@@ -325,34 +267,35 @@ label.inner_tab_label {
325
  border-bottom: 3px solid #005b9a;
326
  padding: 15px 12px 12px;
327
  }
328
- label.inner_tab_label.single_tab_label {
329
- font-size: 17px;
 
 
 
 
 
 
 
330
  }
331
  label.tab_label:hover {
332
- color: #000;
333
  cursor: pointer;
334
  }
335
  input.tab_input:checked + label {
336
- color: #212121;
337
- background: #fff;
 
 
338
  }
339
- input.inner_tab_input:checked + label{
340
- color: #000;
341
  }
342
  input.inner_tab_input:checked + label.ts_tabs_label{
343
- border-bottom: 3px solid #59c889;
344
- }
345
- input.tab_input_1 {
346
- display: none;
347
- }
348
- input.tab_input_1 + label{
349
- color: #0073aa;
350
- vertical-align:top;
351
  }
352
- input.tab_input_1:checked + label{
353
- color: #888;
354
- font-weight: 400;
355
- border: none;
356
  }
357
  .tab_inner_container {
358
  padding: 0;
@@ -374,10 +317,6 @@ input.tab_input_1:checked + label{
374
  margin-left: 5px;
375
  vertical-align: middle;
376
  }
377
- .addons_page_dtable{
378
- max-width: 930px;
379
- margin: 0 auto;
380
- }
381
  .tab_inner_container h4 {
382
  margin-top: 0;
383
  }
@@ -389,20 +328,10 @@ input.tab_input_1:checked + label{
389
  }
390
  .ast_admin_content {
391
  vertical-align: top;
392
- margin: 30px auto 0;
393
- padding: 0 30px;
394
- }
395
- .zorem_admin_layout .settings_ul_submit .spinner{
396
- display: none;
397
- float: none;
398
  }
399
  .spinner.active {
400
  visibility: visible;
401
  }
402
- .zorem_admin_layout .settings_ul_submit .spinner.active{
403
- display: inline-block;
404
- vertical-align: sub;
405
- }
406
  .success_msg{
407
  border-left: 3px solid;
408
  border-color: green;
@@ -445,21 +374,22 @@ input.tab_input_1:checked + label{
445
  #wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
446
  width: 80px;
447
  }
 
448
  .tab_page_heading {
449
  font-size: 22px;
450
  font-weight: 600;
451
- color: #212121;
452
- margin: 0 0 15px;
453
- padding-bottom: 10px;
454
- text-align: left;
455
  }
456
  .tab_section_heading {
457
  font-size: 18px;
458
  font-weight: 600;
459
- color: #212121;
460
  margin: 0 0 10px;
461
- padding-bottom: 10px;
462
- text-align: left;
 
 
463
  }
464
  .tab_section_heading.clear_spacing, .tab_page_heading.clear_spacing {
465
  margin: 0;
@@ -469,9 +399,9 @@ input.tab_input_1:checked + label{
469
  border-bottom: 1px solid #e0e0e0;
470
  }
471
  .wp-core-ui .btn_green2 {
472
- background: #59c889;
473
  text-shadow: none;
474
- border-color: #59c889;
475
  box-shadow: none;
476
  font-size: 14px;
477
  line-height: 32px;
@@ -484,8 +414,7 @@ input.tab_input_1:checked + label{
484
  border-color: #005B9A;
485
  box-shadow: none;
486
  font-size: 14px;
487
- line-height: 32px;
488
- height: 35px;
489
  padding: 0 10px;
490
  }
491
  .wp-core-ui .btn_full{
@@ -498,30 +427,17 @@ input.tab_input_1:checked + label{
498
  border-color: red;
499
  box-shadow: none;
500
  font-size: 14px;
501
- line-height: 30px;
502
- height: 35px;
503
  }
504
  .wp-core-ui .btn_ts_transparent{
505
  background: transparent;
506
  text-shadow: none;
507
- border-color: #59c889;
508
- color: #59c889;
509
- box-shadow: none;
510
- font-size: 14px;
511
- line-height: 32px;
512
- height: 35px;
513
- padding: 0 10px;
514
- }
515
- .wp-core-ui .btn_ast_transparent{
516
- background: transparent;
517
- text-shadow: none;
518
- border-color: #74c2e1;
519
  box-shadow: none;
520
  font-size: 14px;
521
- line-height: 32px;
522
- height: 35px;
523
  padding: 0 10px;
524
- color: #005B9A;
525
  }
526
  .wp-core-ui .btn_large {
527
  line-height: 36px;
@@ -532,12 +448,6 @@ input.tab_input_1:checked + label{
532
  .wp-core-ui .btn_icon {
533
  padding: 0 15px 0 0;
534
  }
535
- .launch_customizer_label{
536
- line-height: 40px;
537
- }
538
- .wp-core-ui .launch_customizer_btn{
539
- float: right;
540
- }
541
  .wp-core-ui .btn_green2 .dashicons{
542
  vertical-align: middle;
543
  line-height: 0.9;
@@ -569,14 +479,8 @@ input.tab_input_1:checked + label{
569
  }
570
  .wp-core-ui .btn_ts_transparent:hover, .wp-core-ui .btn_ts_transparent:focus {
571
  background: transparent;
572
- border-color: #59c889;
573
- color: #59c889;
574
- text-shadow: none;
575
- }
576
- .wp-core-ui .btn_ast_transparent:hover, .wp-core-ui .btn_ast_transparent:focus {
577
- background: transparent;
578
- border-color: #74c2e1;
579
- color: #005B9A;
580
  text-shadow: none;
581
  }
582
  .shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
@@ -606,7 +510,7 @@ input.tab_input_1:checked + label{
606
  }
607
  .csv_upload_status li.success:before {
608
  content: "\f12a";
609
- color: #59c889;
610
  }
611
  .bulk_upload_status_td h2{
612
  color: #005b9a;
@@ -616,93 +520,18 @@ input.tab_input_1:checked + label{
616
  .form-table td p{
617
  margin: 0;
618
  }
619
-
620
- #wc_ast_addons_form .license_div .form-table tr:first-child{
621
- border-top: 0;
622
- }
623
  #wc_ast_trackship_form .trackship_status_section .form-table tr{
624
  border-bottom: 0;
625
  }
626
  #wc_ast_trackship_form .trackship_status_section .form-table tr:nth-last-child(2) {
627
  border-bottom: 1px solid #eee;
628
  }
629
- #wc_ast_settings_form .form-table tr.multiple_checkbox_title_tr{
630
- border-bottom: 0;
631
- }
632
- #wc_ast_settings_form .form-table tr.multiple_checkbox_title_tr th{
633
- padding-bottom: 0;
634
- }
635
 
636
  .tracking-content-div{
637
  margin-bottom: 5px;
638
  }
639
- .ast-shipment-status-div{
640
- margin-top: 10px;
641
- }
642
- .wcast-shipment-status-list .ast-shipment-status{
643
- display: grid;
644
- }
645
- .wcast-shipment-status-list .ast-shipment-status.has_est_delivery_1{
646
- display: block;
647
- }
648
- .ast-shipment-status i {
649
- font-size: 18px;
650
- }
651
- .ast-shipment-status .shipment-icon:before{
652
- content: ' ';
653
- width: 16px;
654
- height: 16px;
655
- background-size: cover;
656
- display: inline-block;
657
- vertical-align: text-bottom;
658
- }
659
- .ast-shipment-status .icon-default:before{
660
- background-image: url(icons/invalid.png);
661
- }
662
- .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
663
- background-image: url(icons/invalid-tracking-number.png);
664
- }
665
- .ast-shipment-status .icon-wrong_shipping_provider:before{
666
- background-image: url(icons/wrong-shipiing-provider.png);
667
- }
668
- .ast-shipment-status .icon-carrier_unsupported:before{
669
- background-image: url(icons/carrier-unsupported.png);
670
- }
671
- .ast-shipment-status .icon-delivered:before{
672
- background-image: url(icons/delivered.png);
673
- }
674
- .ast-shipment-status .icon-in_transit:before{
675
- background-image: url(icons/in-transit.png);
676
- }
677
- .ast-shipment-status .icon-on_hold:before{
678
- background-image: url(icons/on-hold.png);
679
- }
680
- .ast-shipment-status .icon-pre_transit:before{
681
- background-image: url(icons/pre-transit.png);
682
- }
683
- .ast-shipment-status .icon-out_for_delivery:before{
684
- background-image: url(icons/out-for-delivery.png);
685
- }
686
- .ast-shipment-status .icon-available_for_pickup:before{
687
- background-image: url(icons/available-for-picup.png);
688
- }
689
- .ast-shipment-status .icon-return_to_sender:before{
690
- background-image: url(icons/return-to-sender.png);
691
- }
692
- .ast-shipment-status .icon-failure:before{
693
- background-image: url(icons/failure.png);
694
- }
695
- .ast-shipment-status .icon-exception:before{
696
- background-image: url(icons/failure.png);
697
- }
698
- .ast-shipment-status .icon-unknown:before{
699
- background-image: url(icons/unknown.png);
700
- }
701
- .ast-shipment-status .icon-pending_trackship:before{
702
- background-image: url(icons/pending-trackship.png);
703
- }
704
- .ast-shipment-status .icon-invalid_user_key:before{
705
- background-image: url(icons/invalid-user-key.png);
706
  }
707
  .wcast-shipment-status-list .wcast-shipment-est-delivery {
708
  display: block;
@@ -713,15 +542,12 @@ input.tab_input_1:checked + label{
713
  }
714
  .post-type-shop_order .wp-list-table .column-woocommerce-advanced-shipment-tracking {
715
  width: 20ch;
716
- padding: .5em;
717
  }
718
  .post-type-shop_order .wp-list-table .column-shipment_status {
719
  width: 20ch;
720
  padding: .5em;
721
  }
722
- .ast-shipment-tracking-status {
723
- font-weight: 600;
724
- }
725
  .ft11 {
726
  font-size: 11px;
727
  }
@@ -767,10 +593,12 @@ ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
767
  outline:none;
768
  box-shadow:none;
769
  }
770
- .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
771
- padding-left: 0;
772
  background: #f5f7fb;
773
  }
 
 
 
774
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
775
  padding-bottom: 40px;
776
  }
@@ -801,12 +629,6 @@ ul.wcast-tracking-number-list, ul.wcast-shipment-status-list {
801
  box-sizing: border-box;
802
  float: left;
803
  }
804
- .provider_inner {
805
- border: 1px solid #ccc;
806
- background: #eee;
807
- min-height: 105px;
808
- padding: 10px 5px 0px 10px;
809
- }
810
  table.wp-list-table img.provider-thumb{
811
  margin: 1px 0 1px 0;
812
  height: 45px;
@@ -824,20 +646,22 @@ span.provider_name {
824
  }
825
 
826
  #search_provider{
827
- width: 250px;
828
- min-width: 250px;
829
- font-size: 13px;
830
- border: 1px solid #e0e0e0;
831
- padding: 0 0 0 45px;
832
- line-height: 2;
833
- min-height: 35px;
834
- border-radius: 0;
 
835
  }
836
  .search_section .search-icon{
837
  position: absolute;
838
- padding: 8px 8px 8px 12px;
 
839
  color: #005b9a;
840
- border-right: 1px solid #e0e0e0;
841
  }
842
  .provider_top:after{
843
  content:'';
@@ -846,9 +670,11 @@ span.provider_name {
846
  }
847
  .search_section{
848
  float: left;
 
849
  }
850
  .provider_settings{
851
  float: right;
 
852
  }
853
  .popupwrapper {
854
  position: fixed;
@@ -861,12 +687,6 @@ span.provider_name {
861
  height: 100%;
862
  text-align: center;
863
  }
864
- .popupwrapper.add_provider_popup .popuprow,.popupwrapper.custom_provider .popuprow{
865
- max-width: 600px;
866
- }
867
- .popupwrapper.ts_video_popup{
868
- background: rgb(250 250 250 / 0.8);
869
- }
870
  .trackingpopup_wrapper {
871
  position: fixed;
872
  top: 0;
@@ -913,11 +733,7 @@ span.provider_name {
913
  .uninstall_popup .popuprow .popup_body {
914
  padding: 10px 30px 20px;
915
  }
916
- .tracking_details_popup .popuprow{
917
- max-width: 700px;
918
- margin-top: 90px;
919
- max-height: 80%;
920
- }
921
  .zorem_admin_layout .sync_provider_popup h3.popup_title{
922
  margin: 0 0 1em;
923
  }
@@ -1071,12 +887,6 @@ span.provider_name {
1071
  .popupwrapper input[type=text].image_path{
1072
  width: calc(100% - 71px);
1073
  }
1074
- .wp-core-ui .popupwrapper .upload_image_button{
1075
- padding: 3px 10px;
1076
- border-color: #e0e0e0;
1077
- background: #fafafa;
1078
- color: #005b9a;
1079
- }
1080
  p.form-field.form-50 {
1081
  width: 49%;
1082
  display: inline-block;
@@ -1125,12 +935,6 @@ p.form-field.form-50 {
1125
  .custom_provider_instruction p{
1126
  margin: 0 0 1em;
1127
  }
1128
- .popupwrapper #upload_image_button{
1129
- min-height: 30px;
1130
- }
1131
- .edit_provider_msg{
1132
- margin: 0 0 10px;
1133
- }
1134
  a.reset_default_provider {
1135
  margin-left: 10px;
1136
  }
@@ -1165,15 +969,6 @@ a.reset_default_provider {
1165
  .wp-core-ui .button-primary.close_synch_popup{
1166
  display:none;
1167
  }
1168
- .disabled_link{
1169
- pointer-events: none;
1170
- cursor: default;
1171
- }
1172
- .delivered_enabel p.disable_delivered {
1173
- display:block;
1174
- margin:0;
1175
- line-height: 20px;
1176
- }
1177
  .woocommerce.zorem_admin_layout table.form-table{
1178
  border: 0;
1179
  margin-top: 0;
@@ -1211,18 +1006,6 @@ a.reset_default_provider {
1211
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1212
  text-align:right;
1213
  }
1214
- .zorem_admin_layout h3.table-heading{
1215
- background: #fafeff;
1216
- color: #005B9A;
1217
- border-top: 1px solid #eee;
1218
- margin: 25px 0 0;
1219
- padding: 15px;
1220
- font-weight: 400;
1221
- }
1222
- .zorem_admin_layout h3.table-heading:after{
1223
- content:'';
1224
- clear:both;
1225
- }
1226
  .ast_admin_content div.submit{
1227
  padding: 0;
1228
  margin: 10px 0 0;
@@ -1233,43 +1016,12 @@ a.reset_default_provider {
1233
  .woocommerce.zorem_admin_layout table.form-table th{
1234
  padding: 20px;
1235
  }
1236
- .woocommerce.zorem_admin_layout table.form-table.settings-form-table th.titledesc{
1237
- padding: 5px 20px 0 0;
1238
- width: 25%;
1239
- }
1240
- .woocommerce.zorem_admin_layout table.form-table.table-layout-2 th.titledesc{
1241
- padding: 20px 15px 20px 15px;
1242
- }
1243
- .woocommerce.zorem_admin_layout table.form-table.table-single-column td fieldset{
1244
- margin-top: 10px;
1245
- }
1246
  .woocommerce.zorem_admin_layout table.form-table td{
1247
  padding: 15px;
1248
  }
1249
- .woocommerce.zorem_admin_layout .border_0 table.form-table td {
1250
- padding: 15px 15px 15px 0;
1251
- }
1252
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table{
1253
- border-collapse: separate;
1254
- border-spacing: 0 20px;
1255
- }
1256
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table td {
1257
- padding: 15px 23px;
1258
- background: #fff;
1259
- border: 1px solid #e0e0e0;
1260
- }
1261
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table td.status-label-column{
1262
- border-right: 0;
1263
- }
1264
  .woocommerce.zorem_admin_layout table.form-table td.button-column{
1265
  padding: 0px 15px 15px;
1266
  }
1267
- .woocommerce.zorem_admin_layout .border_0 table.form-table td.button-column{
1268
- padding: 5px 0;
1269
- }
1270
- .woocommerce.zorem_admin_layout table.form-table td.multiple_checkbox_td{
1271
- padding: 10px 15px 15px;
1272
- }
1273
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
1274
  padding: 10px 0 10px 15px;
1275
  }
@@ -1290,17 +1042,11 @@ span.multiple_checkbox {
1290
  line-height: 30px;
1291
  width: 49%;
1292
  }
1293
- .woocommerce.zorem_admin_layout table.form-table p.inline_checkbox{
1294
- line-height: 30px;
1295
- }
1296
  .woocommerce.zorem_admin_layout table.form-table p.description{
1297
  font-size: 12px;
1298
  font-weight: 400;
1299
  margin-top: 5px;
1300
  }
1301
- .settings_ul_submit{
1302
- text-align: right;
1303
- }
1304
  .settings_ul{
1305
  margin: 0;
1306
  }
@@ -1341,7 +1087,7 @@ span.ast-tgl-btn-parent {
1341
  vertical-align: middle;
1342
  }
1343
  .setting_ul_tgl_checkbox_label{
1344
- margin-left: 15px;
1345
  display: inline-block;
1346
  vertical-align: middle;
1347
  width: calc(100% - 100px);
@@ -1442,68 +1188,13 @@ span.ast-tgl-btn-parent {
1442
  span.dashicons.dashicons-edit.edit_provider {
1443
  cursor: pointer;
1444
  }
1445
- span.dashicons.dashicons-trash.remove {
1446
- cursor: pointer;
1447
- text-decoration: none;
1448
- height: 17px;
1449
- font-size: 15px;
1450
- vertical-align: middle;
1451
- }
1452
 
1453
  /*** Dashboard Widget CSS ***/
1454
- .ast-dashborad-widget.row{
1455
- width: 100%;
1456
- -js-display: flex;
1457
- display: -ms-flexbox;
1458
- display: flex;
1459
- -ms-flex-flow: row wrap;
1460
- flex-flow: row wrap;
1461
- }
1462
- .ast-dashborad-widget.row .large-6 {
1463
- max-width: 50%;
1464
- -ms-flex-preferred-size: 50%;
1465
- flex-basis: 50%;
1466
- position: relative;
1467
- border-right: 1px solid #ececec;
1468
- border-bottom:1px solid #ececec;
1469
- padding: 8px 12px;
1470
- box-sizing: border-box;
1471
- }
1472
  #trackship_dashboard_widget .widget_footer{
1473
  padding: 8px 12px;
1474
  }
1475
- input.widget_tab_input {
1476
- display: none;
1477
- }
1478
- input.widget_tab_input:checked + label {
1479
- border-bottom-color: #74C2E1;
1480
- color: #74C2E1;
1481
- }
1482
- label.widget_tab_label{
1483
- text-decoration: none;
1484
- padding: 17px 0 15px;
1485
- border-bottom: 2px solid #fff;
1486
- font-size: 14px;
1487
- color: #393f4c;
1488
- display: inline-block;
1489
- margin-right: 12px;
1490
- line-height: 1;
1491
- outline: none;
1492
- }
1493
- label.widget_tab_label.first_label{
1494
- margin-left: 12px;
1495
- }
1496
- #tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status,#tab_t_issues:checked ~ #content_t_issues{
1497
- display: block;
1498
- }
1499
-
1500
- section.widget_tab_section {
1501
- display: none;
1502
- border-top:1px solid #eee;
1503
- height: 301px;
1504
- overflow-y: auto;
1505
- }
1506
  /**** -------- ****/
 
1507
  .woocommerce_page_woocommerce-advanced-shipment-tracking .zorem-layout .woocommerce-help-tip{
1508
  color: #005B9A;
1509
  font-size: 20px;
@@ -1545,6 +1236,7 @@ section.widget_tab_section {
1545
  }
1546
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td.status_shipped_label{
1547
  text-align:left;
 
1548
  }
1549
  .order-status-table .order-label{
1550
  display: -webkit-inline-box;
@@ -1564,10 +1256,6 @@ section.widget_tab_section {
1564
  .order-status-table tr td.status-label-column{
1565
  width:130px;
1566
  }
1567
- .order-status-table .wp-picker-container,.tracking_page_table .wp-picker-container {
1568
- display: inline-block;
1569
- vertical-align: middle;
1570
- }
1571
  .form-table.order-status-table td .send_email_label {
1572
  margin: 0 5px !important;
1573
  }
@@ -1593,28 +1281,10 @@ section.widget_tab_section {
1593
  border-radius: 3px;
1594
  background: #fff;
1595
  }
1596
- .tabs_outer_form_table{
1597
- border: 1px solid #e0e0e0;
1598
- margin-top: 25px;
1599
- border-radius: 3px;
1600
- background: #fff;
1601
- padding: 10px 15px 0;
1602
- position: relative;
1603
- }
1604
- .tabs_inner_section {
1605
- margin: 20px 0 0;
1606
- }
1607
  #tab_general_settings:checked ~ #content_general_settings,#tab_order_status:checked ~ #content_osm_settings{
1608
  display: block !important;
1609
  }
1610
- .tabs_submit {
1611
- position: absolute;
1612
- top: 10px;
1613
- right: 20px;
1614
- }
1615
- .tabs_submit .spinner{
1616
- float:none;
1617
- }
1618
  #wc_ast_upload_csv_form .outer_form_table{
1619
  margin-top: 20px;
1620
  background-color: #fff;
@@ -1623,9 +1293,7 @@ section.widget_tab_section {
1623
  #wc_ast_upload_csv_form .csv_import_done .outer_form_table{
1624
  padding: 50px 0;
1625
  }
1626
- .outer_form_table.border_0{
1627
- border: 0;
1628
- }
1629
  .tab_inner_container hr{
1630
  margin: 0;
1631
  }
@@ -1659,84 +1327,7 @@ section.widget_tab_section {
1659
  cursor: default;
1660
  background-color: transparent;
1661
  }
1662
- table.provder_table{
1663
- border: 0;
1664
- border-bottom: 0;
1665
- box-shadow: none;
1666
- border-collapse: separate;
1667
- border-spacing: 0 8px;
1668
- background: transparent;
1669
- }
1670
- table.provder_table thead{
1671
- display: none;
1672
- }
1673
- table.provder_table tr {
1674
- background: #fff;
1675
- }
1676
- table.provder_table tbody tr:hover{
1677
- background: #f9f9f9;
1678
- }
1679
- table.provder_table th{
1680
- border-bottom: 1px solid #ddd;
1681
- border-right: 1px solid #ddd;
1682
- background: #fafeff;
1683
- font-weight: 500;
1684
- }
1685
- table.provder_table th:last-child{
1686
- border-right: 0;
1687
- }
1688
- table.provder_table td{
1689
- vertical-align: middle;
1690
- padding: 10px;
1691
- border-top: 1px solid #e0e0e0;
1692
- border-bottom: 1px solid #e0e0e0;
1693
- border-radius: 3px;
1694
- }
1695
- table.provder_table tr td:nth-last-child(2) span.dashicons {
1696
- font-size: 17px;
1697
- width: 17px;
1698
- height: 17px;
1699
- margin-right: 5px;
1700
- }
1701
- table.provder_table tr td:nth-last-child(2) span.dashicons.dashicons-yes-alt{
1702
- color: #59c889;
1703
- }
1704
- table td.provider_trackship_td span{
1705
- vertical-align: middle;
1706
- }
1707
- table.provder_table td:first-child{
1708
- width: 30px;
1709
- border-left: 1px solid #e0e0e0;
1710
- }
1711
- table.provder_table td:last-child{
1712
- border-right: 1px solid #e0e0e0;
1713
- width: 40px;
1714
- }
1715
- table.provder_table td:nth-last-child(2){
1716
- width: 90px;
1717
- }
1718
- table.provder_table .provider_actions_btn{
1719
- color: #005b9a;
1720
- font-size: 12px;
1721
- text-decoration: underline;
1722
- cursor: pointer;
1723
- margin: 0 5px;
1724
- }
1725
- .provider_table_hc {
1726
- padding: 10px 0 2px;
1727
- }
1728
- .shipping_provider_counter {
1729
- display: inline-block;
1730
- line-height: 32px;
1731
- }
1732
- .paging.shipping_provider_paging{
1733
- float: right;
1734
- }
1735
- .shipping_provider_paging::after {
1736
- content: "";
1737
- clear: both;
1738
- display: block;
1739
- }
1740
  .csv_import_done .outer_form_table .completed_icon::before{
1741
  font-family: WooCommerce;
1742
  speak: none;
@@ -1758,9 +1349,6 @@ table.provder_table .provider_actions_btn{
1758
  display: block;
1759
  text-align:center;
1760
  }
1761
- .ast_admin_content .border-bottom-0{
1762
- border-bottom:0 !important;
1763
- }
1764
  .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li{
1765
  width: 33.33%;
1766
  }
@@ -1779,7 +1367,7 @@ table.provder_table .provider_actions_btn{
1779
  background: #005b9a;
1780
  }
1781
  .ast_admin_content .woocommerce-progress-form-wrapper{
1782
- margin: 25px 10px;
1783
  max-width: 100%;
1784
  }
1785
  .bulk_upload_documentation_ul{
@@ -1814,7 +1402,7 @@ table.provder_table .provider_actions_btn{
1814
  }
1815
  #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_success_msg span:before{
1816
  content: "\f12a";
1817
- color: #59c889;
1818
  }
1819
  #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_fail_msg span:before{
1820
  content: "\f153";
@@ -1832,22 +1420,10 @@ table.provder_table .provider_actions_btn{
1832
  .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
1833
  font-size: 20px;
1834
  }
1835
-
1836
  .open_tracking_details{
1837
  cursor:pointer;
1838
  }
1839
-
1840
-
1841
-
1842
- img.zorem_logo {
1843
- width: 150px;
1844
- margin-top: 20px;
1845
- }
1846
- p.zorem_description {
1847
- color: #3c4858;
1848
- font-size: 16px;
1849
- }
1850
- .plugins_section.pro_plugin_section,.plugins_section.free_plugin_section {
1851
  display: flex;
1852
  flex-wrap: wrap;
1853
  }
@@ -1862,153 +1438,33 @@ p.zorem_description {
1862
  .single_plugin.as-col-4:nth-child(3n){
1863
  padding-right: 0;
1864
  }
1865
- .plugins_section.pro_plugin_section .plugin_image {
1866
- border: 1px solid #e0e0e0;
1867
- border-radius: 3px;
1868
- }
1869
- .plugins_section.pro_plugin_section .plugin_image img {
1870
- width: 100%;
1871
- border-radius: 3px;
1872
- }
1873
- .plugins_section.free_plugin_section .plugin_image{
1874
- max-width: 128px;
1875
- display: inline-block;
1876
- margin: 0 4% 0 0;
1877
- vertical-align: top;
1878
- }
1879
  .plugins_section.free_plugin_section .paid_plugin_image{
1880
  text-align: center;
1881
  margin: 0 -15px;
1882
- background: #fafafa;
1883
  border-bottom: 1px solid #e0e0e0;
1884
- padding: 15px 0;
1885
- height: 80px;
1886
  display: flex;
1887
- justify-content: center;
1888
  align-items: center;
1889
  }
1890
  .plugins_section.free_plugin_section .paid_plugin_image img{
1891
- height: 80px;
1892
- }
1893
- .plugins_section.free_plugin_section .ast_paid_plugin_image{
1894
- text-align: center;
1895
- margin: 0 -15px;
1896
- border-bottom: 1px solid #e0e0e0;
1897
- padding: 0 0 15px;
1898
- height: 45px;
1899
- display: flex;
1900
- justify-content: center;
1901
- align-items: center;
1902
- }
1903
-
1904
- .plugins_section.free_plugin_section .ast_paid_plugin_image img{
1905
- height: 35px;
1906
- }
1907
- .plugins_section.free_plugin_section .plugin_image img{
1908
- width: 100%;
1909
- }
1910
- .plugins_section.free_plugin_section .plugin_description{
1911
- width: -webkit-calc(95% - 130px);
1912
- width: calc(95% - 130px);
1913
- margin: auto;
1914
- vertical-align: top;
1915
- display: -webkit-inline-box;
1916
- -webkit-box-orient: vertical;
1917
  }
1918
- .plugins_section.free_plugin_section .plugin_description h3{
1919
- margin: 0;
 
 
1920
  }
1921
  .plugins_section.free_plugin_section .paid_plugin_description h3{
1922
  margin: 1em 0 0;
1923
  }
1924
- .plugins_section.free_plugin_section .plugin_description p{
1925
- display: -webkit-inline-box;
1926
- -webkit-line-clamp: 4;
1927
- -webkit-box-orient: vertical;
1928
- overflow: hidden;
1929
- text-overflow: ellipsis;
1930
- }
1931
  .plugins_section.free_plugin_section .single_plugin .free_plugin_inner{
1932
  border: 1px solid #e0e0e0;
1933
  border-radius: 3px;
1934
  background: #fff;
1935
  padding: 0 15px 15px;
1936
  }
1937
- .zorem_plugin_section {
1938
- border: 1px solid #e0e0e0;
1939
- margin-top: 20px;
1940
- background: #fff;
1941
- }
1942
- .addons_page_header{
1943
- padding: 20px;
1944
- border-bottom: 1px solid #e0e0e0;
1945
- }
1946
- .addons_page_header p{
1947
- margin-bottom: 0;
1948
- }
1949
- .addons_page_title{
1950
- color: #333333;
1951
- margin: 0;
1952
- font-size: 20px;
1953
- }
1954
- .zorem_plugin_container {
1955
- display: flex;
1956
- flex-wrap: wrap;
1957
- }
1958
- .zorem_single_plugin {
1959
- width: 50%;
1960
- max-width: 50%;
1961
- flex-grow: 1;
1962
- padding: 20px;
1963
- box-sizing: border-box;
1964
- border-bottom: 1px solid #e0e0e0;
1965
- }
1966
- .zorem_single_plugin:nth-child(odd) {
1967
- border-right: 1px solid #e0e0e0;
1968
- }
1969
- .zorem_single_plugin:nth-last-child(-n+2) {
1970
- border-bottom: 0;
1971
- }
1972
- .zorem_single_plugin .plugin_image {
1973
- max-width: 128px;
1974
- display: inline-block;
1975
- margin: 0 4% 0 0;
1976
- vertical-align: top;
1977
- }
1978
- .zorem_single_plugin .plugin_image img{
1979
- width: 100%;
1980
- }
1981
- .zorem_single_plugin .plugin_description {
1982
- width: -webkit-calc(95% - 130px);
1983
- width: calc(95% - 130px);
1984
- margin: auto;
1985
- vertical-align: top;
1986
- display: -webkit-inline-box;
1987
- -webkit-box-orient: vertical;
1988
- }
1989
- .zorem_single_plugin .plugin_description h3 {
1990
- margin: 0;
1991
- }
1992
- .zorem_single_plugin .plugin_description p {
1993
- display: -webkit-inline-box;
1994
- -webkit-line-clamp: 4;
1995
- -webkit-box-orient: vertical;
1996
- overflow: hidden;
1997
- text-overflow: ellipsis;
1998
- }
1999
- .addons_title_divider{
2000
- background-color: #005B9A;
2001
- height: 3px;
2002
- display: block;
2003
- margin: 0 0 30px;
2004
- width: 100%;
2005
- max-width: 30px;
2006
- }
2007
-
2008
- .zorem_admin_layout .csv_heading_section{
2009
- text-align:left;
2010
- margin-bottom: 25px;
2011
- }
2012
  .border-bottom-1{
2013
  border-bottom:1px solid #eee;
2014
  }
@@ -2058,7 +1514,7 @@ input[type=checkbox].ast-tgl {
2058
  padding: 2px;
2059
  -webkit-transition: all .3s ease;
2060
  transition: all .3s ease;
2061
- background: rgba(0,0,0, 0.26);
2062
  border: 1px solid #ccc;
2063
  border-radius: 2em;
2064
  }
@@ -2068,17 +1524,16 @@ input[type=checkbox].ast-tgl {
2068
  .ast-tgl-flat + .ast-tgl-btn:after {
2069
  -webkit-transition: all .2s ease;
2070
  transition: all .2s ease;
2071
- background: #f2f2f2;
2072
  content: "";
2073
  border-radius: 1em;
2074
  }
2075
  .ast-tgl-flat:checked + .ast-tgl-btn {
2076
  border: 1px solid #ccc;
2077
- background: #74C2E1;
2078
  }
2079
  .ast-tgl-flat:checked + .ast-tgl-btn:after {
2080
  left: 55%;
2081
- background: #005B9A;
2082
  }
2083
 
2084
  /** Snackbar CSS **/
@@ -2125,17 +1580,30 @@ input[type=checkbox].ast-tgl {
2125
  opacity: 1;
2126
  }
2127
  .snackbar-log {
2128
- background: #3c4758;
2129
  padding: 15px;
2130
  border-radius: 4px;
2131
  color: #FFF;
2132
  }
2133
  .snackbar-log-success {
2134
- background: #3c4758;
2135
  }
2136
  .snackbar-log-error {
2137
  background: #FE1A00;
2138
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
2139
 
2140
  /** Progress Bar CSS **/
2141
  .upload_csv_table .progress2 {
@@ -2146,81 +1614,12 @@ input[type=checkbox].ast-tgl {
2146
  transition: 0.4s linear;
2147
  transition-property: width, background-color;
2148
  }
2149
-
2150
  .upload_csv_table .progress-moved .progress-bar2 {
2151
  width: 0%;
2152
  background-color: #005b9a;
2153
  }
 
2154
 
2155
- /** Licensing System CSS **/
2156
- table.ast-license-form{
2157
- border: 1px solid #e0e0e0;
2158
- margin-top: 20px;
2159
- }
2160
- .ast-license-form .wp-list-table__row {
2161
- background-color: rgba(0,0,0,0);
2162
- }
2163
- .ast-license-form .wp-list-table__row td {
2164
- -webkit-box-align: center;
2165
- align-items: center;
2166
- background-color: #fff;
2167
- border: 0;
2168
- padding: 16px 20px 16px 0;
2169
- vertical-align: middle;
2170
- }
2171
- .ast-license-form .wp-list-table__row td.wp-list-table__ext-details {
2172
- padding: 26px 20px;
2173
- }
2174
- .ast-license-form .wp-list-table__ext-actions {
2175
- min-width: 150px;
2176
- position: relative;
2177
- text-align: right;
2178
- position: relative;
2179
- }
2180
- .ast-license-form .wp-list-table__ext-actions .ast_licence_key{
2181
- width: 100%;
2182
- height: 35px;
2183
- vertical-align: middle;
2184
- border: 1px solid #e0e0e0;
2185
- }
2186
- .ast-license-form .wp-list-table__row td .wp-list-table__ext-title {
2187
- color: #005b9a;
2188
- font-size: 15px;
2189
- line-height: 25px;
2190
- font-weight: 600;
2191
- }
2192
- .ast-license-form .wp-list-table__row td .wp-list-table__ext-description {
2193
- color: #333;
2194
- padding-left: 0;
2195
- display: inline-block;
2196
- width: calc(100% - 110px);
2197
- }
2198
- .ast_admin_content .ast-license-form div.submit{
2199
- margin: 0;
2200
- display: inline-block;
2201
- }
2202
- .ast_admin_content .ast-license-form div.submit .pesan{
2203
- display:none;
2204
- margin-bottom: 0;
2205
- position: absolute;
2206
- width: 100%;
2207
- left: 0;
2208
- text-align: left;
2209
- }
2210
- .ast_admin_content .ast-license-form div.submit .button-primary{
2211
- vertical-align: middle;
2212
- }
2213
- .tab_inner_container.center{
2214
- max-width: 930px;
2215
- margin: 0 auto;
2216
- display: block;
2217
- }
2218
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table .order-status-table td{
2219
- border: 0;
2220
- }
2221
- .woocommerce.zorem_admin_layout .border_0 table.form-table.settings-form-table .order-status-table td:first-child{
2222
- border-right: 1px solid #e0e0e0;
2223
- }
2224
  a.view_csv_error_details {
2225
  margin-left: 10px;
2226
  }
@@ -2266,15 +1665,6 @@ ul.csv_error_details_ul li:before{
2266
  height: 25px;
2267
  width: 25px;
2268
  }
2269
- .popupwrapper .remove_more_api_provider {
2270
- vertical-align: middle;
2271
- cursor: pointer;
2272
- margin-left: 3px;
2273
- color: red;
2274
- font-size: 25px;
2275
- height: 25px;
2276
- width: 25px;
2277
- }
2278
 
2279
  .ast-row {
2280
  -js-display: flex;
@@ -2302,26 +1692,21 @@ ul.csv_error_details_ul li:before{
2302
  flex-basis: 66%;
2303
  }
2304
  .ast_pro_landing_header {
2305
- font-size: 20px;
2306
- line-height: 25px;
2307
  margin: 0;
2308
  font-weight: 500;
 
2309
  }
2310
  .trackship_addon_section{
2311
  background: #fff;
2312
  border: 1px solid #e0e0e0;
2313
  padding: 25px 20px;
2314
- margin: 20px 0 0;
2315
- }
2316
- .ast_ts_landing_banner{
2317
- max-width: 400px;
2318
  }
2319
  .ast_ts_landing_banner img{
 
2320
  width: 100%;
2321
  }
2322
- .ts_addon_logo_section img{
2323
- max-width: 150px;
2324
- }
2325
  .paid_plugin_description p{
2326
  display: -webkit-inline-box;
2327
  -webkit-line-clamp: 3;
@@ -2334,9 +1719,10 @@ ul.csv_error_details_ul li:before{
2334
  }
2335
  .ast_pro_features_list li{
2336
  margin: 0 0 10px;
2337
- padding: 0 0 0 30px;
2338
- line-height: 20px;
2339
  position: relative;
 
2340
  }
2341
  .ast_pro_features_list li:before{
2342
  content: "\f147";
@@ -2373,29 +1759,200 @@ ul.csv_error_details_ul li:before{
2373
  z-index: 1000000 !important;
2374
  }
2375
 
2376
- /** Integration Panel CSS ***/
2377
- .integration-grid-row {
2378
- display: flex;
2379
- flex-flow: row wrap;
2380
- justify-content: flex-start;
2381
- border-top: 1px solid #e0e0e0;
2382
- padding-top: 5px;
2383
- }
2384
- .integration-grid-row .grid-item {
2385
- flex-basis: 20%;
2386
- -ms-flex: auto;
2387
- width: 250px;
2388
- position: relative;
2389
- padding: 10px 15px 10px 0;
2390
- box-sizing: border-box;
2391
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2392
  .integration-grid-row .grid-item-wrapper {
2393
  border: 1px solid #e0e0e0;
2394
  text-align:center;
 
2395
  }
2396
  .integration-grid-row .grid-item-wrapper img {
2397
- width: 85%;
2398
- padding: 15px 0;
2399
  }
2400
  .integration-grid-row .grid-img-bottom {
2401
  border-top: 1px solid #e0e0e0;
@@ -2408,28 +1965,59 @@ ul.csv_error_details_ul li:before{
2408
  cursor: pointer;
2409
  text-decoration: none;
2410
  }
2411
- @media(max-width: 1333px) {
2412
- .integration-grid-row .grid-item {
2413
- flex-basis: 33.33%;
2414
- }
2415
  }
 
2416
 
2417
- @media(max-width: 1073px) {
2418
- .integration-grid-row .grid-item {
2419
- flex-basis: 33.33%;
2420
- }
 
 
 
 
2421
  }
2422
-
2423
- @media(max-width: 815px) {
2424
- .integration-grid-row .grid-item {
2425
- flex-basis: 50%;
2426
- }
2427
  }
2428
-
2429
- @media(max-width: 555px) {
2430
- .integration-grid-row .grid-item {
2431
- flex-basis: 100%;
2432
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2433
  }
2434
  /** End CSS ***/
2435
 
@@ -2453,24 +2041,23 @@ ul.csv_error_details_ul li:before{
2453
  }
2454
 
2455
  /*** RTL CSS ***/
2456
- .rtl .tabs_submit{
2457
- left: 20px;
 
 
 
2458
  right: auto;
2459
  }
2460
- .rtl .zorem-layout__header .zorem-layout__header-breadcrumbs{
2461
- padding: 0 30px 0 0;
2462
  }
2463
  .rtl.shipment_tracking_admin_settings #wpcontent {
2464
  padding-right: 0;
2465
  }
2466
  .rtl label.tab_label.first_label{
2467
- margin-right: 30px;
2468
  margin-left: 0;
2469
  }
2470
- .rtl #search_provider{
2471
- padding-left:0;
2472
- padding-right: 30px;
2473
- }
2474
  .rtl .provider_settings{
2475
  margin-left:0;
2476
  margin-right: 11px;
@@ -2520,27 +2107,15 @@ ul.csv_error_details_ul li:before{
2520
  .rtl input.tab_input:checked + label, .rtl input.inner_tab_input:checked + label{
2521
  margin-bottom: 0px;
2522
  }
2523
- .rtl .order-status-table td:last-child{
2524
- text-align: left;
2525
- }
2526
  .rtl #content_tab_addons .single_plugin{
2527
  text-align: left;
2528
  }
2529
- .rtl .zorem_admin_layout .csv_heading_section{
2530
- text-align: right;
2531
- }
2532
- .rtl .select_t_layout_section{
2533
- margin-right: 0;
2534
- margin-left: 10px;
2535
- }
2536
- .rtl .ast-tgl-flat:checked + .rtl .ast-tgl-btn:after {
2537
- left: 55%;
2538
- }
2539
- .rtl .ast-tgl + .ast-tgl-btn:after{
2540
- right:0;
2541
  }
2542
- .rtl .woocommerce.zorem_admin_layout table.form-table.settings-form-table th.titledesc{
2543
- padding: 20px 0 20px 20px;
2544
  }
2545
  .rtl .single_plugin{
2546
  padding: 20px 0 0 20px;
@@ -2551,35 +2126,13 @@ ul.csv_error_details_ul li:before{
2551
  .rtl .single_plugin.as-col-6:nth-child(2n){
2552
  padding-left: 0;
2553
  }
2554
- .rtl .ast-license-form .wp-list-table__row td{
2555
- padding: 16px 0 16px 20px;
2556
- }
2557
- .rtl .ast-license-form .wp-list-table__row td.wp-list-table__ext-details{
2558
- padding: 26px 20px;
2559
- }
2560
- .rtl .ast-license-form .wp-list-table__ext-actions{
2561
- text-align: left;
2562
- }
2563
  .rtl.wp-core-ui .btn_large .dashicons{
2564
  margin-right: 5px;
2565
  margin-left: auto;
2566
  }
2567
- .rtl .ast-license-form .wp-list-table__row td .wp-list-table__ext-description{
2568
- padding-left: 0;
2569
- padding-right: 12px;
2570
- }
2571
- .rtl .settings_ul_submit {
2572
- text-align: left;
2573
- }
2574
- .rtl.wp-core-ui .launch_customizer_btn {
2575
- float: left;
2576
- }
2577
  .rtl .status_shipped_label{
2578
  text-align:right !important;
2579
  }
2580
- .rtl .wp-core-ui .launch_customizer_btn{
2581
- float: left;
2582
- }
2583
  .rtl table.provder_table td:first-child{
2584
  border-right: 1px solid #e0e0e0;
2585
  border-left: 0;
@@ -2588,19 +2141,6 @@ ul.csv_error_details_ul li:before{
2588
  border-right: 0;
2589
  border-left: 1px solid #e0e0e0;
2590
  }
2591
- .rtl .zorem_single_plugin:nth-child(odd) {
2592
- border-right: 0;
2593
- border-left: 1px solid #e0e0e0;
2594
- }
2595
- .rtl .zorem_single_plugin .plugin_image{
2596
- margin: 0 0 0 4%;
2597
- }
2598
- .rtl .zorem-layout__header .zorem-layout__docs-panel{
2599
- padding: 0 0 0 30px;
2600
- }
2601
- .rtl .order-status-table td:last-child{
2602
- text-align:left;
2603
- }
2604
  .rtl .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2605
  padding: 20px 0 20px 15px;
2606
  }
@@ -2608,6 +2148,49 @@ ul.csv_error_details_ul li:before{
2608
  left: 0;
2609
  right: auto;
2610
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2611
 
2612
  @media screen and (min-width: 768px) and (max-width: 1269px) {
2613
  .provider-thumb {
@@ -2642,26 +2225,19 @@ ul.csv_error_details_ul li:before{
2642
  width: 100%;
2643
  margin-top: 10px;
2644
  }
2645
- .wp-core-ui .launch_customizer_btn {
2646
- float: none;
2647
- }
2648
  }
2649
  @media screen and (max-width: 768px) {
2650
  .provider{
2651
  width: 33.3%;
2652
  }
2653
- .search_section .search-icon{
2654
- padding: 8px 5px;
2655
- }
2656
- .status_filter{
2657
- width: auto;
2658
- }
2659
  table.provder_table td:nth-last-child(2) {
2660
  text-align: left;
2661
- }
2662
- ul.trackship_dashboard_ul li{
2663
- width: 100%;
2664
- margin: 0 0 5px;
2665
  }
2666
  .single_plugin{
2667
  width: 100%;
@@ -2671,10 +2247,6 @@ ul.csv_error_details_ul li:before{
2671
  width: 100%;
2672
  max-width: 100%
2673
  }
2674
-
2675
- .zorem-layout__header .zorem-layout__header-breadcrumbs{
2676
- padding: 0 0 0 20px;
2677
- }
2678
  .settings_ul .settings_radio_li .radio_section{
2679
  padding: 0;
2680
  margin-top: 10px;
@@ -2698,13 +2270,6 @@ ul.csv_error_details_ul li:before{
2698
  .ast_admin_content table.form-table.upload_csv_table th{
2699
  width: auto;
2700
  }
2701
- .addons_page_dtable{
2702
- padding: 0 10px;
2703
- }
2704
- .zorem_single_plugin{
2705
- width: 100%;
2706
- max-width: 100%;
2707
- }
2708
  .single_plugin:nth-child(2n){
2709
  padding-right: 20px;
2710
  }
1
  /* fallback */
2
  .zorem-layout__header {
3
+ height: 60px;
4
+ background: #fff;
 
 
 
5
  display: flex;
6
  justify-content: space-between;
7
  flex-direction: row;
12
  align-items: center;
13
  position: relative;
14
  }
 
 
 
 
 
15
  .zorem-layout__header * {
16
  box-sizing: border-box;
17
  }
18
+ .zorem-layout__header .zorem-layout__header-logo{
19
+ width: 100px;
20
+ padding: 0 20px;
21
+ margin: 0;;
22
+ }
23
+ .zorem-layout__header .page_heading {
24
+ font-size: 14px;
25
+ color: #3c4758;
26
+ padding: 0 20px;
27
+ margin: auto 0;
28
+ font-weight: 400;
29
+ }
30
+ .zorem-layout__header .page_heading a {
31
+ text-decoration: none;
32
+ }
33
+ .zorem-layout__header .page_heading .dashicons {
34
+ font-size: 14px;
35
+ vertical-align: middle;
36
+ line-height: 20px;
37
+ }
38
  .woocommerce-layout__activity-panel-tabs {
39
+ right: 0;
40
+ position: absolute;
 
 
41
  }
42
  .woocommerce-layout__activity-panel-tabs .dashicons{
43
+ width: 24px;
44
  height: 24px;
45
  font-size: 24px;
46
+ line-height: 24px;
47
+ color: #6e708c;
48
  }
49
  .woocommerce-layout__activity-panel-tabs label {
50
  color: #005b9a;
58
  border: none;
59
  outline: none;
60
  cursor: pointer;
61
+ background-color: transparent;
62
  max-width: -webkit-min-content;
63
  max-width: min-content;
64
  min-width: 80px;
66
  height: 60px;
67
  color: #757575;
68
  white-space: nowrap;
69
+ height: 44px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
70
  }
71
  .woocommerce-layout__activity-panel-tabs .woocommerce-layout__activity-panel-tab.is-active{
72
  color: #1e1e1e;
73
  box-shadow: none;
74
  }
 
 
 
 
75
  .woocommerce-layout__activity-panel-wrapper {
76
  height: calc(100vh - 60px);
77
  background: #f0f0f0;
81
  transition-timing-function: ease-in-out;
82
  position: absolute;
83
  right: 0;
84
+ top: 105px;
85
  z-index: 1000;
86
  overflow-x: hidden;
87
  overflow-y: auto;
112
  align-items: center;
113
  }
114
  .css-activity-panel-Text {
 
 
 
 
115
  font-size: 20px;
 
116
  }
117
  .woocommerce-list {
118
  margin: 0;
146
  color: #005b9a;
147
  }
148
  .woocommerce-list-Text {
 
 
 
149
  font-weight: 600;
150
  font-size: 14px;
 
151
  }
152
  .woocommerce-list__item .woocommerce-list__item-after {
153
  margin-left: 16px;
160
  padding: 16px 24px;
161
  }
162
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
163
  #woocommerce-advanced-shipment-tracking .inside {
164
  padding: 0 12px 12px;
165
  margin: 0
226
  }
227
  section.tab_section {
228
  display: none;
 
 
 
 
 
 
 
229
  }
230
  section.inner_tab_section {
231
  display: none;
232
  padding: 0;
233
  border-top: 1px solid #ddd;
234
  }
235
+ .tab_container_without_bg_1000{
236
+ max-width: 1000px;
237
+ margin: 25px 20px;
238
+ }
239
+ .tab_container_without_bg{
240
+ margin: 25px 20px;
241
+ }
242
  input.tab_input,input.inner_tab_input {
243
  display: none;
244
  }
245
  label.tab_label {
246
  text-decoration: none;
247
+ padding: 15px;
248
  font-size: 14px;
249
+ color: #013047;
250
  display: inline-block;
 
251
  line-height: 1;
252
  outline: none;
 
 
 
 
 
253
  }
254
  label.inner_tab_label {
255
  text-decoration: none;
256
  padding: 12px 12px 8px;
257
+ font-size: 14px;
 
258
  display: inline-block;
259
  line-height: 1;
260
  outline: none;
267
  border-bottom: 3px solid #005b9a;
268
  padding: 15px 12px 12px;
269
  }
270
+ .menu_link{
271
+ text-decoration: none;
272
+ padding: 15px;
273
+ font-size: 14px;
274
+ color: #3c4c58;
275
+ display: inline-block;
276
+ line-height: 1;
277
+ outline: none;
278
+ vertical-align: middle;
279
  }
280
  label.tab_label:hover {
281
+ color: #005b9a;
282
  cursor: pointer;
283
  }
284
  input.tab_input:checked + label {
285
+ color: #3c4758;
286
+ border-bottom: 3px solid #3bc4e4;
287
+ margin-bottom: -3px;
288
+ font-weight: 600;
289
  }
290
+ label.tab_label.first_label {
291
+ margin-left: 20px;
292
  }
293
  input.inner_tab_input:checked + label.ts_tabs_label{
294
+ border-bottom: 3px solid #09d3ac;
 
 
 
 
 
 
 
295
  }
296
+ .menu_devider {
297
+ border-top: 1px solid #e0e0e0;
298
+ margin-bottom: 15px;
 
299
  }
300
  .tab_inner_container {
301
  padding: 0;
317
  margin-left: 5px;
318
  vertical-align: middle;
319
  }
 
 
 
 
320
  .tab_inner_container h4 {
321
  margin-top: 0;
322
  }
328
  }
329
  .ast_admin_content {
330
  vertical-align: top;
 
 
 
 
 
 
331
  }
332
  .spinner.active {
333
  visibility: visible;
334
  }
 
 
 
 
335
  .success_msg{
336
  border-left: 3px solid;
337
  border-color: green;
374
  #wc_ast_status_label_color,#wc_ast_status_partial_shipped_label_color,#wc_ast_status_updated_tracking_label_color,#wc_ast_select_primary_color,#wc_ast_select_border_color,#wc_ast_shipped_status_label_color {
375
  width: 80px;
376
  }
377
+
378
  .tab_page_heading {
379
  font-size: 22px;
380
  font-weight: 600;
381
+ color: #3c4758;
382
+ margin: 25px 20px;
 
 
383
  }
384
  .tab_section_heading {
385
  font-size: 18px;
386
  font-weight: 600;
387
+ color: #444;
388
  margin: 0 0 10px;
389
+ padding-bottom: 10px;
390
+ }
391
+ .tab_container_without_bg_1000 .tab_page_heading{
392
+ margin: 25px 15px 25px 0;
393
  }
394
  .tab_section_heading.clear_spacing, .tab_page_heading.clear_spacing {
395
  margin: 0;
399
  border-bottom: 1px solid #e0e0e0;
400
  }
401
  .wp-core-ui .btn_green2 {
402
+ background: #09d3ac;
403
  text-shadow: none;
404
+ border-color: #09d3ac;
405
  box-shadow: none;
406
  font-size: 14px;
407
  line-height: 32px;
414
  border-color: #005B9A;
415
  box-shadow: none;
416
  font-size: 14px;
417
+ line-height: 35px;
 
418
  padding: 0 10px;
419
  }
420
  .wp-core-ui .btn_full{
427
  border-color: red;
428
  box-shadow: none;
429
  font-size: 14px;
430
+ line-height: 35px;
 
431
  }
432
  .wp-core-ui .btn_ts_transparent{
433
  background: transparent;
434
  text-shadow: none;
435
+ border-color: #09d3ac;
436
+ color: #09d3ac;
 
 
 
 
 
 
 
 
 
 
437
  box-shadow: none;
438
  font-size: 14px;
439
+ line-height: 35px;
 
440
  padding: 0 10px;
 
441
  }
442
  .wp-core-ui .btn_large {
443
  line-height: 36px;
448
  .wp-core-ui .btn_icon {
449
  padding: 0 15px 0 0;
450
  }
 
 
 
 
 
 
451
  .wp-core-ui .btn_green2 .dashicons{
452
  vertical-align: middle;
453
  line-height: 0.9;
479
  }
480
  .wp-core-ui .btn_ts_transparent:hover, .wp-core-ui .btn_ts_transparent:focus {
481
  background: transparent;
482
+ border-color: #09d3ac;
483
+ color: #09d3ac;
 
 
 
 
 
 
484
  text-shadow: none;
485
  }
486
  .shipment_tracking_admin_settings.wp-core-ui .button-primary:disabled{
510
  }
511
  .csv_upload_status li.success:before {
512
  content: "\f12a";
513
+ color: #09d3ac;
514
  }
515
  .bulk_upload_status_td h2{
516
  color: #005b9a;
520
  .form-table td p{
521
  margin: 0;
522
  }
 
 
 
 
523
  #wc_ast_trackship_form .trackship_status_section .form-table tr{
524
  border-bottom: 0;
525
  }
526
  #wc_ast_trackship_form .trackship_status_section .form-table tr:nth-last-child(2) {
527
  border-bottom: 1px solid #eee;
528
  }
 
 
 
 
 
 
529
 
530
  .tracking-content-div{
531
  margin-bottom: 5px;
532
  }
533
+ .tracking-content-div a{
534
+ word-wrap: break-word;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
535
  }
536
  .wcast-shipment-status-list .wcast-shipment-est-delivery {
537
  display: block;
542
  }
543
  .post-type-shop_order .wp-list-table .column-woocommerce-advanced-shipment-tracking {
544
  width: 20ch;
545
+ padding: .5em;
546
  }
547
  .post-type-shop_order .wp-list-table .column-shipment_status {
548
  width: 20ch;
549
  padding: .5em;
550
  }
 
 
 
551
  .ft11 {
552
  font-size: 11px;
553
  }
593
  outline:none;
594
  box-shadow:none;
595
  }
596
+ .shipment_tracking_admin_settings{
 
597
  background: #f5f7fb;
598
  }
599
+ .woocommerce_page_woocommerce-advanced-shipment-tracking #wpcontent{
600
+ padding-left: 0;
601
+ }
602
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpbody-content{
603
  padding-bottom: 40px;
604
  }
629
  box-sizing: border-box;
630
  float: left;
631
  }
 
 
 
 
 
 
632
  table.wp-list-table img.provider-thumb{
633
  margin: 1px 0 1px 0;
634
  height: 45px;
646
  }
647
 
648
  #search_provider{
649
+ width: 460px;
650
+ min-width: 250px;
651
+ font-size: 13px;
652
+ border: 1px solid #e0e0e0;
653
+ background: #fafafa;
654
+ padding: 0 10px 0;
655
+ line-height: 2;
656
+ min-height: 45px;
657
+ border-radius: 0;
658
  }
659
  .search_section .search-icon{
660
  position: absolute;
661
+ right: 0;
662
+ padding: 12px;
663
  color: #005b9a;
664
+ border-left: 1px solid #e0e0e0;
665
  }
666
  .provider_top:after{
667
  content:'';
670
  }
671
  .search_section{
672
  float: left;
673
+ position: relative;
674
  }
675
  .provider_settings{
676
  float: right;
677
+ margin-top: 7px;
678
  }
679
  .popupwrapper {
680
  position: fixed;
687
  height: 100%;
688
  text-align: center;
689
  }
 
 
 
 
 
 
690
  .trackingpopup_wrapper {
691
  position: fixed;
692
  top: 0;
733
  .uninstall_popup .popuprow .popup_body {
734
  padding: 10px 30px 20px;
735
  }
736
+
 
 
 
 
737
  .zorem_admin_layout .sync_provider_popup h3.popup_title{
738
  margin: 0 0 1em;
739
  }
887
  .popupwrapper input[type=text].image_path{
888
  width: calc(100% - 71px);
889
  }
 
 
 
 
 
 
890
  p.form-field.form-50 {
891
  width: 49%;
892
  display: inline-block;
935
  .custom_provider_instruction p{
936
  margin: 0 0 1em;
937
  }
 
 
 
 
 
 
938
  a.reset_default_provider {
939
  margin-left: 10px;
940
  }
969
  .wp-core-ui .button-primary.close_synch_popup{
970
  display:none;
971
  }
 
 
 
 
 
 
 
 
 
972
  .woocommerce.zorem_admin_layout table.form-table{
973
  border: 0;
974
  margin-top: 0;
1006
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1007
  text-align:right;
1008
  }
 
 
 
 
 
 
 
 
 
 
 
 
1009
  .ast_admin_content div.submit{
1010
  padding: 0;
1011
  margin: 10px 0 0;
1016
  .woocommerce.zorem_admin_layout table.form-table th{
1017
  padding: 20px;
1018
  }
 
 
 
 
 
 
 
 
 
 
1019
  .woocommerce.zorem_admin_layout table.form-table td{
1020
  padding: 15px;
1021
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1022
  .woocommerce.zorem_admin_layout table.form-table td.button-column{
1023
  padding: 0px 15px 15px;
1024
  }
 
 
 
 
 
 
1025
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td{
1026
  padding: 10px 0 10px 15px;
1027
  }
1042
  line-height: 30px;
1043
  width: 49%;
1044
  }
 
 
 
1045
  .woocommerce.zorem_admin_layout table.form-table p.description{
1046
  font-size: 12px;
1047
  font-weight: 400;
1048
  margin-top: 5px;
1049
  }
 
 
 
1050
  .settings_ul{
1051
  margin: 0;
1052
  }
1087
  vertical-align: middle;
1088
  }
1089
  .setting_ul_tgl_checkbox_label{
1090
+ margin: 0 15px;
1091
  display: inline-block;
1092
  vertical-align: middle;
1093
  width: calc(100% - 100px);
1188
  span.dashicons.dashicons-edit.edit_provider {
1189
  cursor: pointer;
1190
  }
 
 
 
 
 
 
 
1191
 
1192
  /*** Dashboard Widget CSS ***/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1193
  #trackship_dashboard_widget .widget_footer{
1194
  padding: 8px 12px;
1195
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1196
  /**** -------- ****/
1197
+
1198
  .woocommerce_page_woocommerce-advanced-shipment-tracking .zorem-layout .woocommerce-help-tip{
1199
  color: #005B9A;
1200
  font-size: 20px;
1236
  }
1237
  .woocommerce.zorem_admin_layout table.form-table.order-status-table td.status_shipped_label{
1238
  text-align:left;
1239
+ line-height: 30px;
1240
  }
1241
  .order-status-table .order-label{
1242
  display: -webkit-inline-box;
1256
  .order-status-table tr td.status-label-column{
1257
  width:130px;
1258
  }
 
 
 
 
1259
  .form-table.order-status-table td .send_email_label {
1260
  margin: 0 5px !important;
1261
  }
1281
  border-radius: 3px;
1282
  background: #fff;
1283
  }
 
 
 
 
 
 
 
 
 
 
 
1284
  #tab_general_settings:checked ~ #content_general_settings,#tab_order_status:checked ~ #content_osm_settings{
1285
  display: block !important;
1286
  }
1287
+
 
 
 
 
 
 
 
1288
  #wc_ast_upload_csv_form .outer_form_table{
1289
  margin-top: 20px;
1290
  background-color: #fff;
1293
  #wc_ast_upload_csv_form .csv_import_done .outer_form_table{
1294
  padding: 50px 0;
1295
  }
1296
+
 
 
1297
  .tab_inner_container hr{
1298
  margin: 0;
1299
  }
1327
  cursor: default;
1328
  background-color: transparent;
1329
  }
1330
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1331
  .csv_import_done .outer_form_table .completed_icon::before{
1332
  font-family: WooCommerce;
1333
  speak: none;
1349
  display: block;
1350
  text-align:center;
1351
  }
 
 
 
1352
  .ast_admin_content .woocommerce-progress-form-wrapper .wc-progress-steps li{
1353
  width: 33.33%;
1354
  }
1367
  background: #005b9a;
1368
  }
1369
  .ast_admin_content .woocommerce-progress-form-wrapper{
1370
+ margin: 25px 0;
1371
  max-width: 100%;
1372
  }
1373
  .bulk_upload_documentation_ul{
1402
  }
1403
  #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_success_msg span:before{
1404
  content: "\f12a";
1405
+ color: #09d3ac;
1406
  }
1407
  #wc_ast_upload_csv_form .form-table tr.bulk_upload_status_overview_tr .bulk_upload_status_overview_td.csv_fail_msg span:before{
1408
  content: "\f153";
1420
  .woocommerce_page_woocommerce-advanced-shipment-tracking .woocommerce-help-tip.dashicons{
1421
  font-size: 20px;
1422
  }
 
1423
  .open_tracking_details{
1424
  cursor:pointer;
1425
  }
1426
+ .plugins_section.free_plugin_section {
 
 
 
 
 
 
 
 
 
 
 
1427
  display: flex;
1428
  flex-wrap: wrap;
1429
  }
1438
  .single_plugin.as-col-4:nth-child(3n){
1439
  padding-right: 0;
1440
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1441
  .plugins_section.free_plugin_section .paid_plugin_image{
1442
  text-align: center;
1443
  margin: 0 -15px;
 
1444
  border-bottom: 1px solid #e0e0e0;
1445
+ padding: 15px;
1446
+ height: 50px;
1447
  display: flex;
1448
+ justify-content: left;
1449
  align-items: center;
1450
  }
1451
  .plugins_section.free_plugin_section .paid_plugin_image img{
1452
+ height: 45px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1453
  }
1454
+ .plugins_section.free_plugin_section .plugin_title {
1455
+ font-size: 16px;
1456
+ font-weight: normal;
1457
+ margin-left: 20px;
1458
  }
1459
  .plugins_section.free_plugin_section .paid_plugin_description h3{
1460
  margin: 1em 0 0;
1461
  }
 
 
 
 
 
 
 
1462
  .plugins_section.free_plugin_section .single_plugin .free_plugin_inner{
1463
  border: 1px solid #e0e0e0;
1464
  border-radius: 3px;
1465
  background: #fff;
1466
  padding: 0 15px 15px;
1467
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1468
  .border-bottom-1{
1469
  border-bottom:1px solid #eee;
1470
  }
1514
  padding: 2px;
1515
  -webkit-transition: all .3s ease;
1516
  transition: all .3s ease;
1517
+ background: #fff;
1518
  border: 1px solid #ccc;
1519
  border-radius: 2em;
1520
  }
1524
  .ast-tgl-flat + .ast-tgl-btn:after {
1525
  -webkit-transition: all .2s ease;
1526
  transition: all .2s ease;
1527
+ background: #bdbdbd;
1528
  content: "";
1529
  border-radius: 1em;
1530
  }
1531
  .ast-tgl-flat:checked + .ast-tgl-btn {
1532
  border: 1px solid #ccc;
 
1533
  }
1534
  .ast-tgl-flat:checked + .ast-tgl-btn:after {
1535
  left: 55%;
1536
+ background: #09d3ac;
1537
  }
1538
 
1539
  /** Snackbar CSS **/
1580
  opacity: 1;
1581
  }
1582
  .snackbar-log {
1583
+ background: #3bc4e4;
1584
  padding: 15px;
1585
  border-radius: 4px;
1586
  color: #FFF;
1587
  }
1588
  .snackbar-log-success {
1589
+ background: #3bc4e4;
1590
  }
1591
  .snackbar-log-error {
1592
  background: #FE1A00;
1593
  }
1594
+ .rtl .snackbar-logs{
1595
+ left: 10px;
1596
+ right: unset;
1597
+ }
1598
+ .rtl .snackbar-log {
1599
+ left: -300px;
1600
+ right: unset;
1601
+ }
1602
+ .rtl .snackbar-log-show{
1603
+ left: 0;
1604
+ right: unset;
1605
+ }
1606
+ /** End Snackbar CSS **/
1607
 
1608
  /** Progress Bar CSS **/
1609
  .upload_csv_table .progress2 {
1614
  transition: 0.4s linear;
1615
  transition-property: width, background-color;
1616
  }
 
1617
  .upload_csv_table .progress-moved .progress-bar2 {
1618
  width: 0%;
1619
  background-color: #005b9a;
1620
  }
1621
+ /** End Progress Bar CSS **/
1622
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1623
  a.view_csv_error_details {
1624
  margin-left: 10px;
1625
  }
1665
  height: 25px;
1666
  width: 25px;
1667
  }
 
 
 
 
 
 
 
 
 
1668
 
1669
  .ast-row {
1670
  -js-display: flex;
1692
  flex-basis: 66%;
1693
  }
1694
  .ast_pro_landing_header {
1695
+ font-size: 30px;
1696
+ line-height: 30px;
1697
  margin: 0;
1698
  font-weight: 500;
1699
+ color: #444;
1700
  }
1701
  .trackship_addon_section{
1702
  background: #fff;
1703
  border: 1px solid #e0e0e0;
1704
  padding: 25px 20px;
 
 
 
 
1705
  }
1706
  .ast_ts_landing_banner img{
1707
+ max-width: 500px;
1708
  width: 100%;
1709
  }
 
 
 
1710
  .paid_plugin_description p{
1711
  display: -webkit-inline-box;
1712
  -webkit-line-clamp: 3;
1719
  }
1720
  .ast_pro_features_list li{
1721
  margin: 0 0 10px;
1722
+ padding: 0 30px 0;
1723
+ line-height: 22px;
1724
  position: relative;
1725
+ font-size: 14px;
1726
  }
1727
  .ast_pro_features_list li:before{
1728
  content: "\f147";
1759
  z-index: 1000000 !important;
1760
  }
1761
 
1762
+ /** Accordion Design **/
1763
+ .accordion_container{
1764
+ margin: 20px;
1765
+ max-width: 1000px;
1766
+ }
1767
+ .tab_section .accordion{
1768
+ padding: 15px;
1769
+ background: #fff;
1770
+ border: 1px solid #e0e0e0;
1771
+ border-radius: 3px;
1772
+ margin-top: 10px;
1773
+ cursor: pointer;
 
 
 
1774
  }
1775
+ .tab_section .accordion.active {
1776
+ border-radius: 3px 3px 0 0;
1777
+ }
1778
+ .tab_section .panel {
1779
+ padding: 15px;
1780
+ display:none;
1781
+ border: 1px solid #e0e0e0;
1782
+ border-top: 0;
1783
+ border-radius: 3px;
1784
+ background: #fff;
1785
+ }
1786
+ .tab_section .panel.active {
1787
+ border-radius: 0 0 3px 3px;
1788
+ }
1789
+ .tab_section .accordion.heading label {
1790
+ font-weight: 600;
1791
+ font-size: 16px;
1792
+ line-height: 38px;
1793
+ pointer-events: none;
1794
+ color: #005B9A;
1795
+ }
1796
+ .tab_section .accordion.heading.active label{
1797
+ color: #3c4758;
1798
+ }
1799
+ .tab_section .accordion span.dashicons {
1800
+ float: right;
1801
+ pointer-events: none;
1802
+ padding: 5px 0;
1803
+ display: inline-table;
1804
+ }
1805
+ .tab_section .accordion.heading .dashicons.dashicons-arrow-right-alt2:before {
1806
+ color: #005b9a;
1807
+ font-size: 30px;
1808
+ }
1809
+ .tab_section .accordion.heading label .ast-accordion-btn {
1810
+ float: right;
1811
+ display: none;
1812
+ pointer-events: all;
1813
+ }
1814
+ /** End Accordion **/
1815
+
1816
+ /** Provider Grid **/
1817
+ .grid-row{
1818
+ display: grid;
1819
+ grid-template-columns: repeat(5, 1fr);
1820
+ }
1821
+ .provider-grid-row{
1822
+ margin-top: 25px;
1823
+ }
1824
+ .provider-grid-row .grid-item{
1825
+ padding: 10px;
1826
+ background: #ffffff;
1827
+ border: 1px solid #e0e0e0;
1828
+ border-radius: 3px;
1829
+ margin: 0 10px 10px 0;
1830
+ }
1831
+ .provider-grid-row .grid-item:hover{
1832
+ background: #f6f6f6;
1833
+ }
1834
+
1835
+ @media(min-width: 1550px) {
1836
+ .provider-grid-row .grid-item:nth-child(5n){
1837
+ margin: 0 0 10px 0;
1838
+ }
1839
+ }
1840
+
1841
+ @media(min-width: 1301px) and (max-width: 1500px){
1842
+ .grid-row{
1843
+ display: grid;
1844
+ grid-template-columns: repeat(4, 1fr);
1845
+ }
1846
+ .provider-grid-row .grid-item:nth-child(4n){
1847
+ margin: 0 0 10px 0;
1848
+ }
1849
+ }
1850
+
1851
+
1852
+
1853
+ @media(min-width: 768px) and (max-width: 1300px) {
1854
+ .grid-row{
1855
+ display: grid;
1856
+ grid-template-columns: repeat(3, 1fr);
1857
+ }
1858
+ .provider-grid-row .grid-item:nth-child(3n){
1859
+ margin: 0 0 10px 0;
1860
+ }
1861
+ }
1862
+ @media (min-width: 1100px) and (max-width: 1300px) {
1863
+ .integration-grid-row.grid-row {
1864
+ display: grid;
1865
+ grid-template-columns: repeat(4, 1fr);
1866
+ }
1867
+ }
1868
+
1869
+ @media(min-width: 500px) and (max-width: 767px) {
1870
+ .grid-row{
1871
+ display: grid;
1872
+ grid-template-columns: repeat(2, 1fr);
1873
+ }
1874
+ .provider-grid-row .grid-item:nth-child(2n){
1875
+ margin: 0 0 10px 0;
1876
+ }
1877
+ }
1878
+
1879
+ @media(max-width: 499px) {
1880
+ .grid-row{
1881
+ display: grid;
1882
+ grid-template-columns: repeat(1, 1fr);
1883
+ }
1884
+ .provider-grid-row .grid-item:nth-child(1n){
1885
+ margin: 0 0 10px 0;
1886
+ }
1887
+ }
1888
+
1889
+ .grid-top {
1890
+ display: flex;
1891
+ margin-bottom: 15px;
1892
+ }
1893
+ .grid-provider-img{
1894
+ display: flex;
1895
+ align-items: baseline;
1896
+ margin-right: 15px;
1897
+ }
1898
+ .grid-provider-img img{
1899
+ width: 40px;
1900
+ border-radius: 5px;
1901
+ }
1902
+ .grid-provider-settings {
1903
+ display: none;
1904
+ margin-left: auto;
1905
+ }
1906
+ .provider-grid-row .grid-item:hover .grid-provider-settings{
1907
+ display: flex;
1908
+ }
1909
+ .grid-provider-settings .provider_actions_btn{
1910
+ cursor: pointer;
1911
+ color: #616161;
1912
+ }
1913
+ span.dashicons.dashicons-trash.remove {
1914
+ cursor: pointer;
1915
+ vertical-align: middle;
1916
+ margin: 0 5px;
1917
+ }
1918
+ .grid-bottom {
1919
+ display: flex;
1920
+ }
1921
+ .grid-bottom .grid-provider-ts .dashicons-yes-alt{
1922
+ color: #09d3ac;
1923
+ }
1924
+
1925
+ .grid-provider-enable {
1926
+ margin-left: auto;
1927
+ }
1928
+ .hip-pagination {
1929
+ margin-top: 10px;
1930
+ }
1931
+ .hip-pagination a{
1932
+ line-height: 35px;
1933
+ padding: 8px 12px;
1934
+ color: #005b9a;
1935
+ text-decoration: none;
1936
+ background-color: #fff;
1937
+ border: 1px solid #e0e0e0;
1938
+ border-radius: 3px;
1939
+ margin-left: 5px;
1940
+ }
1941
+ .hip-pagination a.active{
1942
+ cursor: default;
1943
+ background-color: transparent;
1944
+ font-weight: normal;
1945
+ }
1946
+ /** End Provider CSS **/
1947
+
1948
+ /** Integration Panel CSS ***/
1949
  .integration-grid-row .grid-item-wrapper {
1950
  border: 1px solid #e0e0e0;
1951
  text-align:center;
1952
+ background: #fff;
1953
  }
1954
  .integration-grid-row .grid-item-wrapper img {
1955
+ width: 100%;
 
1956
  }
1957
  .integration-grid-row .grid-img-bottom {
1958
  border-top: 1px solid #e0e0e0;
1965
  cursor: pointer;
1966
  text-decoration: none;
1967
  }
1968
+ .integration-grid-row .grid-item {
1969
+ margin: 0 10px 10px 0;
 
 
1970
  }
1971
+ /** End CSS ***/
1972
 
1973
+ /** TrackShip Landing CSS ***/
1974
+ .trackship_section {
1975
+ border-radius: 3px;
1976
+ padding: 30px;
1977
+ margin-top: 30px;
1978
+ text-align: center;
1979
+ max-width: 930px;
1980
+ margin: 30px auto;
1981
  }
1982
+ .ts_landing_logo{
1983
+ margin: 0 0 20px;
 
 
 
1984
  }
1985
+ .ts_landing_header{
1986
+ font-size: 26px;
1987
+ line-height: 28px;
1988
+ margin: 0;
1989
+ font-weight: 700;
1990
+ }
1991
+ .ts_landing_description{
1992
+ font-size: 15px;
1993
+ max-width: 585px;
1994
+ margin: 1em auto;
1995
+ }
1996
+ .ts_landing_banner{
1997
+ text-align:center;
1998
+ background: #fafafa;
1999
+ border: 1px solid #e0e0e0;
2000
+ padding: 15px;
2001
+ max-width: 400px;
2002
+ margin: 30px auto;
2003
+ position: relative;
2004
+ }
2005
+ .ts_landing_banner img{
2006
+ width: 100%;
2007
+ }
2008
+ .open_ts_video{
2009
+ position: absolute;
2010
+ text-decoration: none;
2011
+ top: 42%;
2012
+ left: 44%;
2013
+ color: #09d3ac;
2014
+ background: #fff;
2015
+ cursor: pointer;
2016
+ }
2017
+ .open_ts_video span{
2018
+ width: 60px;
2019
+ height: 60px;
2020
+ font-size: 60px;
2021
  }
2022
  /** End CSS ***/
2023
 
2041
  }
2042
 
2043
  /*** RTL CSS ***/
2044
+ .rtl .tab_section .accordion span.dashicons {
2045
+ float: left;
2046
+ }
2047
+ .rtl .zorem_admin_settings .woocommerce-layout__activity-panel-tabs{
2048
+ left: 0;
2049
  right: auto;
2050
  }
2051
+ .rtl .tab_section .accordion.heading label .ast-accordion-btn {
2052
+ float: left;
2053
  }
2054
  .rtl.shipment_tracking_admin_settings #wpcontent {
2055
  padding-right: 0;
2056
  }
2057
  .rtl label.tab_label.first_label{
2058
+ margin-right: 20px;
2059
  margin-left: 0;
2060
  }
 
 
 
 
2061
  .rtl .provider_settings{
2062
  margin-left:0;
2063
  margin-right: 11px;
2107
  .rtl input.tab_input:checked + label, .rtl input.inner_tab_input:checked + label{
2108
  margin-bottom: 0px;
2109
  }
2110
+
 
 
2111
  .rtl #content_tab_addons .single_plugin{
2112
  text-align: left;
2113
  }
2114
+ .rtl .ast-tgl + .ast-tgl-btn:after {
2115
+ right: 0;
 
 
 
 
 
 
 
 
 
 
2116
  }
2117
+ .rtl .ast-tgl-flat:checked + .ast-tgl-btn:after {
2118
+ right: 55%;
2119
  }
2120
  .rtl .single_plugin{
2121
  padding: 20px 0 0 20px;
2126
  .rtl .single_plugin.as-col-6:nth-child(2n){
2127
  padding-left: 0;
2128
  }
 
 
 
 
 
 
 
 
 
2129
  .rtl.wp-core-ui .btn_large .dashicons{
2130
  margin-right: 5px;
2131
  margin-left: auto;
2132
  }
 
 
 
 
 
 
 
 
 
 
2133
  .rtl .status_shipped_label{
2134
  text-align:right !important;
2135
  }
 
 
 
2136
  .rtl table.provder_table td:first-child{
2137
  border-right: 1px solid #e0e0e0;
2138
  border-left: 0;
2141
  border-right: 0;
2142
  border-left: 1px solid #e0e0e0;
2143
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
2144
  .rtl .woocommerce.zorem_admin_layout table.form-table.order-status-table td:first-child{
2145
  padding: 20px 0 20px 15px;
2146
  }
2148
  left: 0;
2149
  right: auto;
2150
  }
2151
+ .rtl .search_section {
2152
+ float: right;
2153
+ }
2154
+ .rtl .search_section .search-icon {
2155
+ border-right: 1px solid #e0e0e0;
2156
+ left: 0;
2157
+ right: auto;
2158
+ border-left: 0;
2159
+ }
2160
+ .rtl .grid-provider-enable {
2161
+ margin-right: auto;
2162
+ margin-left: unset;
2163
+ }
2164
+ .rtl .provider_settings {
2165
+ float: left;
2166
+ }
2167
+ .rtl .grid-provider-img {
2168
+ margin-right: 0;
2169
+ margin-left: 15px;
2170
+ }
2171
+ .rtl .grid-provider-settings {
2172
+ margin-right: auto;
2173
+ margin-left: unset;
2174
+ }
2175
+ .rtl .integration-grid-row .grid-img-bottom {
2176
+ text-align: right;
2177
+ }
2178
+ .rtl .integration-grid-row .integration-more-info {
2179
+ float: left;
2180
+ }
2181
+ .rtl .ast_pro_features_list li:before{
2182
+ left: auto;
2183
+ right: 0;
2184
+ padding-right: 0;
2185
+ padding-left: 5px;
2186
+ }
2187
+ .rtl .plugins_section.free_plugin_section .paid_plugin_image {
2188
+ justify-content: right;
2189
+ }
2190
+ .rtl .plugins_section.free_plugin_section .plugin_title {
2191
+ margin-left: 0;
2192
+ margin-right: 20px;
2193
+ }
2194
 
2195
  @media screen and (min-width: 768px) and (max-width: 1269px) {
2196
  .provider-thumb {
2225
  width: 100%;
2226
  margin-top: 10px;
2227
  }
 
 
 
2228
  }
2229
  @media screen and (max-width: 768px) {
2230
  .provider{
2231
  width: 33.3%;
2232
  }
2233
+ .search_section,.provider_settings {
2234
+ float: none;
2235
+ }
2236
+ #search_provider{
2237
+ width: 100%;
2238
+ }
2239
  table.provder_table td:nth-last-child(2) {
2240
  text-align: left;
 
 
 
 
2241
  }
2242
  .single_plugin{
2243
  width: 100%;
2247
  width: 100%;
2248
  max-width: 100%
2249
  }
 
 
 
 
2250
  .settings_ul .settings_radio_li .radio_section{
2251
  padding: 0;
2252
  margin-top: 10px;
2270
  .ast_admin_content table.form-table.upload_csv_table th{
2271
  width: auto;
2272
  }
 
 
 
 
 
 
 
2273
  .single_plugin:nth-child(2n){
2274
  padding-right: 20px;
2275
  }
assets/css/front.css DELETED
@@ -1,358 +0,0 @@
1
- form.order_track_form label {
2
- width: 100%;
3
- display: block;
4
- margin-bottom: 5px;
5
- }
6
- form.order_track_form input {
7
- width: 100%;
8
- margin-bottom: 10px;
9
- }
10
- .progress {
11
- display: -ms-flexbox;
12
- display: flex;
13
- overflow: hidden;
14
- background-color: #C1C1C1;
15
- }
16
- .progress-bar {
17
- display: -ms-flexbox;
18
- display: flex;
19
- -ms-flex-direction: column;
20
- flex-direction: column;
21
- -ms-flex-pack: center;
22
- justify-content: center;
23
- color: #fff;
24
- text-align: center;
25
- white-space: nowrap;
26
- background-color: #C1C1C1;
27
- transition: width 0.6s ease
28
- }
29
- .tracking-detail .text-center {
30
- text-align: center;
31
- }
32
- .tracking-detail .text-right {
33
- text-align: right;
34
- }
35
- .col.tracking-detail {
36
- margin: 15px auto 0;
37
- padding: 0;
38
- border: 1px solid #ccc;
39
- max-width: 600px;
40
- position: relative;
41
- }
42
- .ts_tracking_popup .col.tracking-detail{
43
- margin: 0 auto;
44
- }
45
- .trackship_branding {
46
- text-align: center;
47
- border-top: 1px solid #e0e0e0;
48
- padding: 10px;
49
- }
50
- .trackship_branding p{
51
- margin: 0;
52
- color: #3c4758;
53
- }
54
- .trackship_branding img{
55
- width: 80px;
56
- display: inline-block;
57
- vertical-align: middle;
58
- }
59
- .tracking-header {
60
- margin: 20px 0;
61
- padding: 0 20px;
62
- }
63
- .tracking-detail .tracking-number {
64
- font-weight: 400;
65
- color: #757575;
66
- font-size: 14px;
67
- }
68
- .tracking-detail .h4-heading{
69
- border-bottom: 1px solid #eee;
70
- color: #333333;
71
- font-size: 14px;
72
- font-weight: 100;
73
- }
74
- .track-order-section{
75
- text-align: left;
76
- }
77
- .shipment-header{
78
- border-bottom: 1px solid #e0e0e0;
79
- padding: 10px 20px;
80
- font-weight: 600;
81
- display: flex;
82
- }
83
- .shipment_heading{
84
- margin-bottom: 0;
85
- flex: 1;
86
- }
87
- .shipment_status_heading{
88
- font-weight: 600;
89
- color: #35609a;
90
- font-size: 36px;
91
- margin-bottom: 0;
92
- }
93
- .shipment_status_heading.in_transit{
94
- color: #53c3bd;
95
- }
96
- .shipment_status_heading.out_for_delivery{
97
- color: #90ca5e;
98
- }
99
- .shipment_status_heading.return_to_sender{
100
- color: #a8414a;
101
- }
102
- .shipment_status_heading.available_for_pickup{
103
- color: #f49d1d;
104
- }
105
- .shipment_status_heading.delivered{
106
- color: #0f8042;
107
- }
108
- .shipment_status_heading.on_hold{
109
- color: #ffde00;
110
- }
111
- .shipment_status_heading.failure{
112
- color: #cd2128;
113
- }
114
- .tracker-progress-bar{
115
- padding: 0 20px;
116
- margin-bottom: 2rem;
117
- }
118
- /**** Layout 1 Progressbar CSS ***/
119
- .tracker-progress-bar.tracking_layout_1 .progress{
120
- height: 15px;
121
- border-radius: 10px;
122
- }
123
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar:before{
124
- display: inline-block;
125
- position: absolute;
126
- width: 30px;
127
- height: 30px;
128
- }
129
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.pre_transit:before{
130
- content: url(icons/pre-transit-o.png);
131
- left: 2%;
132
- }
133
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.in_transit:before{
134
- content: url(icons/in-transit-o.png);
135
- left: 33%;
136
- }
137
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.available_for_pickup:before{
138
- content: url(icons/available-for-picup-o.png);
139
- left: 64%;
140
- }
141
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.on_hold:before{
142
- content: url(icons/on-hold-o.png);
143
- left: 33%;
144
- }
145
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.out_for_delivery:before{
146
- content: url(icons/out-for-delivery-o.png);
147
- left: 64%;
148
- }
149
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.delivered:before{
150
- content: url(icons/delivered-o.png);
151
- right: 2.5%;
152
- }
153
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.return_to_sender:before{
154
- content: url(icons/return-to-sender-o.png);
155
- left: 64%;
156
- }
157
- .tracker-progress-bar.tracking_layout_1 .progress .progress-bar.failure:before{
158
- content: url(icons/failure-o.png);
159
- left: 4%;
160
- }
161
-
162
- /**** Layout 2 CSS ***/
163
- .tracker-progress-bar .progress {
164
- display: -ms-flexbox;
165
- display: flex;
166
- height: 40px;
167
- overflow: hidden;
168
- background-color: #f5f5f5;
169
- border-radius: 5px;
170
- border: 1px solid #eee;
171
- }
172
- .progress-bar {
173
- display: -ms-flexbox;
174
- display: flex;
175
- -ms-flex-direction: column;
176
- flex-direction: column;
177
- -ms-flex-pack: center;
178
- justify-content: center;
179
- color: #fff;
180
- text-align: center;
181
- white-space: nowrap;
182
- background-color: #35609a;
183
- transition: width 0.6s ease;
184
- box-shadow: none;
185
- }
186
- .progress-bar.in_transit{
187
- background-color: #53c3bd;
188
- }
189
- .progress-bar.out_for_delivery{
190
- background-color: #90ca5e;
191
- }
192
- .progress-bar.return_to_sender{
193
- background-color: #a8414a;
194
- }
195
- .progress-bar.available_for_pickup{
196
- background-color: #f49d1d;
197
- }
198
- .progress-bar.delivered{
199
- background-color: #0f8042;
200
- }
201
- .progress-bar.on_hold{
202
- background-color: #ffde00;
203
- }
204
- .progress-bar.failure{
205
- background-color: #cd2128;
206
- }
207
- .tracking_destination_details_by_date {
208
- margin-bottom: 10px;
209
- padding-bottom: 15px;
210
- border-bottom: 1px solid #e0e0e0;
211
- }
212
- .tracking-detail .provider_image{
213
- width: 45px;
214
- border-radius: 5px;
215
- }
216
- .tracking-detail .tracking-details {
217
- padding: 0 20px 10px;
218
- font-size: 14px;
219
- }
220
- .tracking_details_by_date {
221
- margin-bottom: 10px;
222
- }
223
- .view_old_details,.hide_old_details{
224
- color: #2196f3;
225
- }
226
- ul.timeline {
227
- list-style: none!important;
228
- position: relative;
229
- padding: 0 0 0 20px !important;
230
- margin: 0;
231
- }
232
- ul.timeline:before {
233
- content: ' ';
234
- background: #ccc;
235
- display: inline-block;
236
- position: absolute;
237
- left: 9px;
238
- width: 2px;
239
- height: 100%;
240
- }
241
- ul.timeline > li {
242
- margin: 0;
243
- padding: 10px 20px 0;
244
- }
245
- ul.timeline.new-details > li:first-child{
246
- padding: 0 20px 10px;
247
- }
248
- ul.timeline > li:first-child{
249
- padding: 0 20px 0;
250
- }
251
- ul.timeline.new-details > li:last-child{
252
- padding: 0 20px 10px;
253
- }
254
- ul.timeline > li:before {
255
- content: url('../images/timeline-round.png');
256
- display: inline-block;
257
- position: absolute;
258
- left: 0px;
259
- width: 20px;
260
- height: 20px;
261
- }
262
- ul.timeline > li > p{
263
- margin-bottom: 0;
264
- font-size: 90%;
265
- }
266
- .provider_image_div {
267
- display: inline-block;
268
- vertical-align: middle;
269
- margin: 0 10px 10px 0;
270
- }
271
- .tracking_number_div {
272
- display: inline-block;
273
- vertical-align: middle;
274
- margin-bottom: 10px;
275
- }
276
- .tracking_number_div ul{
277
- list-style: none !important;
278
- margin: 0;
279
- }
280
- .tracking_number_div ul li{
281
- margin: 0;
282
- }
283
-
284
- /**** Tracking Lightbox CSS ***/
285
- .popupwrapper {
286
- position: fixed;
287
- top: 0;
288
- left: 0;
289
- background: rgb(250 250 250 / 0.8);
290
- border: 1px solid #e0e0e0;
291
- z-index: 100000;
292
- width: 100%;
293
- height: 100%;
294
- text-align: center;
295
- }
296
- .popupwrapper:after {
297
- content: '';
298
- display: inline-block;
299
- vertical-align: middle;
300
- height: 100%;
301
- }
302
- .popuprow {
303
- display: inline-block;
304
- vertical-align: middle;
305
- max-width: 600px;
306
- background: #fff;
307
- padding: 0;
308
- position: relative;
309
- z-index: 10;
310
- border-radius: 3px;
311
- width: 97%;
312
- width: calc(100% - 5px);
313
- max-height: 90%;
314
- overflow-y: overlay;
315
- text-align: left;
316
- border: 1px solid #e0e0e0;
317
- }
318
- .popupclose {
319
- position: absolute;
320
- width: 100%;
321
- height: 100%;
322
- z-index: 9;
323
- top: 0;
324
- left: 0;
325
- }
326
- p.pending_message {
327
- padding: 0 20px;
328
- }
329
-
330
- /*** RTL CSS ***/
331
-
332
- .rtl .track-order-section{
333
- text-align: right;
334
- }
335
- .rtl .col.tracking-detail{
336
- text-align: right;
337
- }
338
- .rtl .tracking-detail .text-right{
339
- text-align: left;
340
- }
341
- .rtl .provider_image_div{
342
- margin: 0 0 20px 10px;
343
- }
344
- .rtl ul.timeline{
345
- padding-left: 0;
346
- padding-right: 20px;
347
- }
348
- .rtl ul.timeline:before{
349
- right: 9px;
350
- }
351
- .rtl ul.timeline > li:before{
352
- right: 0px;
353
- }
354
- .rtl ul.timeline > li{
355
- padding-right: 30px;
356
- padding-left: 0;
357
- }
358
- /*** END OF RTL CSS ***/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/icons/Delivered-o.png DELETED
Binary file
assets/css/icons/delivered-o.png ADDED
Binary file
assets/css/trackship.css DELETED
@@ -1,640 +0,0 @@
1
- .trackship_section {
2
- border-radius: 3px;
3
- padding: 30px;
4
- margin-top: 30px;
5
- text-align: center;
6
- max-width: 930px;
7
- margin: 30px auto;
8
- }
9
- .ts_landing_header{
10
- font-size: 26px;
11
- line-height: 28px;
12
- margin: 0;
13
- font-weight: 700;
14
- }
15
- .ts_landing_description{
16
- font-size: 15px;
17
- max-width: 585px;
18
- margin: 1em auto;
19
- }
20
- .ts_landing_banner{
21
- text-align:center;
22
- background: #fafafa;
23
- border: 1px solid #e0e0e0;
24
- padding: 15px;
25
- max-width: 400px;
26
- margin: 30px auto;
27
- position: relative;
28
- }
29
- .ts_landing_banner img{
30
- width: 100%;
31
- }
32
- .open_ts_video{
33
- position: absolute;
34
- width: 60px;
35
- height: 60px;
36
- font-size: 60px;
37
- top: 42%;
38
- left: 44%;
39
- color: #59c889;
40
- background: #fff;
41
- cursor: pointer;
42
- }
43
- #ts_dashboard:checked ~ #content_trackship_dashboard,#ts_settings:checked ~ #content_trackship_settings, #ts_tracking_page:checked ~ #content_tracking_page, #ts_notifications:checked ~ #content_status_notifications{
44
- display: block !important;
45
- }
46
- .woocommerce_page_trackship-for-woocommerce #wpcontent {
47
- padding-left: 0;
48
- }
49
- .ts_nav_div label.tab_label{
50
- color: #59c889;
51
- }
52
- input.tab_input:checked + label {
53
- color: #3c4758;
54
- }
55
-
56
- .trackship_admin_content section.inner_tab_section {
57
- display: none;
58
- padding: 0;
59
- border-top: 1px solid #ddd;
60
- }
61
- .woocommerce.zorem_admin_layout table.form-table th label {
62
- font-weight: 500;
63
- color: #444;
64
- cursor: auto;
65
- }
66
-
67
- .zorem_admin_layout table.form-table.late-shipments-email-content-table{
68
- background: #fff;
69
- display: none;
70
- }
71
- .zorem_admin_layout h3.table-heading {
72
- background: #fafeff;
73
- color: #005B9A;
74
- margin: 0;
75
- padding: 15px;
76
- font-weight: 400;
77
- }
78
- .zorem_admin_layout h3.table-heading:after {
79
- content: '';
80
- clear: both;
81
- }
82
- ..woocommerce.zorem_admin_layout #trackship_late_shipments_form table.form-table.heading-table td{
83
- padding: 12px 25px;
84
- }
85
- .woocommerce.zorem_admin_layout .border_0 table.form-table.heading-table td{
86
- padding: 0 0 5px;
87
- }
88
- .zorem_admin_layout h3 {
89
- margin: 1em 0;
90
- }
91
- .woocommerce.zorem_admin_layout table.form-table.heading-table td h3 {
92
- margin: 0;
93
- color: #3c4858;
94
- font-weight: 500;
95
- }
96
- .woocommerce.zorem_admin_layout table.form-table td.button-column {
97
- padding: 5px 15px;
98
- }
99
- .woocommerce.zorem_admin_layout .border_0 table.form-table td.button-column {
100
- padding: 5px 15px 5px 0;
101
- }
102
- .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table th{
103
- padding: 0 10px 0px 15px;
104
- border-bottom: 1px solid #e0e0e0;
105
- vertical-align: middle;
106
- }
107
- .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table td{
108
- padding: 10px;
109
- border-bottom: 1px solid #e0e0e0;
110
- text-align: right;
111
- }
112
- .trackship_admin_content div.submit {
113
- padding: 0;
114
- }
115
- .trackship_admin_content div.submit .spinner {
116
- display: none;
117
- float: none;
118
- margin: 0px 10px 0;
119
- }
120
- .trackship_admin_content .late-shipments-email-content-table .spinner {
121
- float: none;
122
- margin: 0px 10px 0;
123
- }
124
- ul.trackship_dashboard_ul {
125
- margin: 25px 0 0;
126
- }
127
- ul.trackship_dashboard_ul li {
128
- width: 32%;
129
- display: inline-block;
130
- margin: 0 5px 0 0;
131
- border: 1px solid #eee;
132
- text-align: left;
133
- padding: 10px 0;
134
- background: #eaf8fb;
135
- min-height: 47px;
136
- vertical-align: top;
137
- -webkit-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
138
- -moz-box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
139
- box-shadow: 0 1px 3px -2px rgba(234,248,251,.12), 0 1px 2px rgba(234,248,251,.24);
140
- }
141
- ul.trackship_dashboard_ul li label {
142
- padding-left: 20px;
143
- }
144
- ul.trackship_dashboard_ul li strong{
145
- font-weight: 800;
146
- font-size: 15px;
147
- display: block;
148
- margin-top: 5px;
149
- padding-left: 20px;
150
- }
151
- .sidebar_subscription_details{
152
- color: #3c4858;
153
- }
154
- .sidebar_subscription_details tr td strong{
155
- font-weight:700;
156
- margin-left: 5px;
157
- }
158
- .select_t_layout_section {
159
- display: inline-block;
160
- width: 150px;
161
- margin-right: 10px;
162
- margin-top: 5px;
163
- }
164
- .trackship-notice{
165
- background: #fff;
166
- border: 1px solid #59c889;
167
- border-radius: 3px;
168
- padding: 15px;
169
- margin: 10px 0 -10px;
170
- }
171
- .trackship-notice p{
172
- margin: 0;
173
- }
174
- .wp-core-ui .button-primary.bulk_shipment_status_button {
175
- margin-top: 10px;
176
- }
177
- .menu_trackship_link{
178
- text-decoration: none;
179
- padding: 15px 20px;
180
- font-size: 14px;
181
- color: #005b9a;
182
- display: inline-block;
183
- line-height: 1;
184
- outline: none;
185
- vertical-align: middle;
186
- border-top-right-radius: 5px;
187
- border-top-left-radius: 5px;
188
- background: #fafafa;
189
- border: 1px solid #e0e0e0;
190
- border-bottom: 0;
191
- }
192
-
193
- .post-type-shop_order .wp-list-table .column-shipment_status {
194
- width: 20ch;
195
- padding: .5em;
196
- }
197
- ul.wcast-shipment-status-list {
198
- margin: 0;
199
- }
200
- .wcast-shipment-status-list li {
201
- position: relative;
202
- padding: 10px;
203
- min-height: 50px;
204
- box-sizing: border-box;
205
- }
206
- .wcast-shipment-status-list li:last-child{
207
- margin-bottom: 0;
208
- }
209
- .wcast-shipment-status-list .ast-shipment-status {
210
- display: grid;
211
- }
212
- .ast-shipment-tracking-status {
213
- font-weight: 600;
214
- }
215
- .ft11 {
216
- font-size: 11px;
217
- }
218
- .has_est_delivery_0 .showif_has_est_delivery_0 {
219
- display: block;
220
- }
221
- .ast-shipment-status .shipment-icon:before {
222
- content: ' ';
223
- width: 16px;
224
- height: 16px;
225
- background-size: cover;
226
- display: inline-block;
227
- vertical-align: text-bottom;
228
- }
229
- .ast-shipment-status .icon-default:before{
230
- background-image: url(icons/invalid-v3.png);
231
- }
232
- .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
233
- background-image: url(icons/invalid-v3.png);
234
- }
235
- .ast-shipment-status .icon-wrong_shipping_provider:before{
236
- background-image: url(icons/failure-v4.png);
237
- }
238
- .ast-shipment-status .icon-carrier_unsupported:before{
239
- background-image: url(icons/Carrier-unsupported-v3.png);
240
- }
241
- .ast-shipment-status .icon-delivered:before{
242
- background-image: url(icons/delivered-v4.png);
243
- }
244
- .ast-shipment-status .icon-in_transit:before{
245
- background-image: url(icons/in-transit-v4.png);
246
- }
247
- .ast-shipment-status .icon-on_hold:before{
248
- background-image: url(icons/On-hold-v3.png);
249
- }
250
- .ast-shipment-status .icon-pre_transit:before{
251
- background-image: url(icons/pre-transit-v4.png);
252
- }
253
- .ast-shipment-status .icon-out_for_delivery:before{
254
- background-image: url(icons/out-for-delivery-v4.png);
255
- }
256
- .ast-shipment-status .icon-available_for_pickup:before{
257
- background-image: url(icons/available-for-picup-v4.png);
258
- }
259
- .ast-shipment-status .icon-return_to_sender:before{
260
- background-image: url(icons/return-to-sender-v4.png);
261
- }
262
- .ast-shipment-status .icon-failure:before{
263
- background-image: url(icons/failure-v4.png);
264
- }
265
- .ast-shipment-status .icon-exception:before{
266
- background-image: url(icons/failure-v4.png);
267
- }
268
- .ast-shipment-status .icon-unknown:before{
269
- background-image: url(icons/unknown-v4.png);
270
- }
271
- .ast-shipment-status .icon-pending_trackship:before{
272
- background-image: url(icons/pending-trackship-v4.png);
273
- }
274
- .ast-shipment-status .icon-invalid_user_key:before{
275
- background-image: url(icons/invalid-user-key-v4.png);
276
- }
277
- .woocommerce.zorem_admin_layout table.form-table.trackship_status_table tr td strong{
278
- vertical-align:middle;
279
- }
280
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td {
281
- padding: 15px;
282
- }
283
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td:first-child {
284
- width: 240px;
285
- padding: 15px 0;
286
- }
287
- span.shipment_status_toggle {
288
- margin-right: 15px;
289
- }
290
- .woocommerce.zorem_admin_layout table.form-table.shipment-status-email-table td {
291
- border-bottom: 1px solid #e0e0e0;
292
- padding: 15px;
293
- }
294
- .shipment-status-email-table tr td.status-label-column {
295
- width: 130px;
296
- }
297
- .shipment-status-email-table .shipment-status-label {
298
- display: -webkit-inline-box;
299
- display: -webkit-inline-flex;
300
- display: inline-flex;
301
- line-height: 2.2em;
302
- color: #fff;
303
- background: #e5e5e5;
304
- border-radius: 4px;
305
- border: 0;
306
- margin: -.25em 0;
307
- cursor: pointer;
308
- white-space: nowrap;
309
- max-width: 100%;
310
- padding: 0 1em;
311
- text-decoration: none;
312
- }
313
- .shipment-status-email-table .shipment-status-label.in-transit{
314
- background: #7ad1cc;
315
- }
316
- .shipment-status-email-table .shipment-status-label.on-hold{
317
- background: #feeb77;
318
- color: #3c4858;
319
- }
320
- .shipment-status-email-table .shipment-status-label.available-for-pickup{
321
- background: #ff9800;
322
- }
323
- .shipment-status-email-table .shipment-status-label.return-to-sender{
324
- background: #A8414A;
325
- }
326
- .shipment-status-email-table .shipment-status-label.failed-attempt{
327
- background: #CD2128;
328
- }
329
- .shipment-status-email-table .shipment-status-label.exception{
330
- background: #CD2128;
331
- }
332
- .shipment-status-email-table .shipment-status-label.out-for-delivery{
333
- background: #95CB65;
334
- }
335
- .shipment-status-email-table .shipment-status-label.delivered-status{
336
- background: #0F8042;
337
- }
338
- .shipment-status-email-table .shipment-status-label.late-shipments{
339
- background: #7ad1cc;
340
- }
341
- .shipment-status-email-table tr.disable{
342
- opacity: 0.7;
343
- }
344
- .shipment-status-email-table tr.disable td:last-child {
345
- pointer-events: none;
346
- }
347
-
348
- .zorem_admin_layout .shipment-status-email-table tr.enable{
349
- background: #fff;
350
- }
351
- .zorem_admin_layout .shipment-status-email-table tr.disable{
352
- background: transparent;
353
- }
354
- .zorem_admin_layout .shipment-status-email-table tr.disable td:last-child{
355
- pointer-events:none;
356
- }
357
- p.delivered_message {
358
- display: inline-block;
359
- max-width: 85%;
360
- }
361
-
362
- .woocommerce table.form-table .shipment-status-label.woocommerce-help-tip{
363
- font-size: 14px;
364
- padding: 0 1em;
365
- line-height: 2.2em;
366
- margin: -.25em 0;
367
- width: auto;
368
- height: auto;
369
- }
370
- .woocommerce table.form-table .shipment-status-label.woocommerce-help-tip:after{
371
- content: "";
372
- }
373
- .woocommerce_page_trackship-for-woocommerce #tiptip_content {
374
- background: #59c889;
375
- padding: 15px;
376
- font-size: 12px;
377
- }
378
- .woocommerce_page_trackship-for-woocommerce #tiptip_holder.tip_top #tiptip_arrow_inner {
379
- border-top-color: #59c889;
380
- }
381
- .woocommerce_page_trackship-for-woocommerce #tiptip_holder.tip_bottom #tiptip_arrow_inner {
382
- border-bottom-color: #59c889;
383
- }
384
- .popup_header{
385
- border-bottom: 1px solid #e0e0e0;
386
- padding: 20px;
387
- }
388
- .popup_header h3{
389
- font-size: 20px;
390
- display: inline-block;
391
- margin: 0;
392
- color: #3c4858;
393
- }
394
-
395
- .popup_header .popup_close_icon{
396
- color: #59c889;
397
- width: 60px;
398
- height: 60px;
399
- font-size: 30px;
400
- border-left: 1px solid #e0e0e0;
401
- position: absolute;
402
- right: 0;
403
- top: 0px;
404
- cursor: pointer;
405
- }
406
- .popup_header .popup_close_icon:before{
407
- vertical-align: middle;
408
- vertical-align: -webkit-baseline-middle;
409
- }
410
-
411
-
412
- .wp-core-ui .btn_ts_outline{
413
- background: transparent;
414
- border: 1px solid #59c889;
415
- color: #59c889;
416
- }
417
- .wp-core-ui .btn_ts_outline:hover,.wp-core-ui .btn_ts_outline:focus{
418
- background: transparent;
419
- border: 1px solid #59c889;
420
- color: #59c889;
421
- }
422
- .zorem_admin_layout table.form-table.late-shipments-email-content-table #wcast_late_shipments_days{
423
- width: 60px;
424
- }
425
- .zorem_admin_layout table.form-table.late-shipments-email-content-table #wcast_late_shipments_email_content{
426
- width: 100%;
427
- height: 80px;
428
- margin-bottom: 10px;
429
- }
430
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr{
431
- border-bottom: 1px solid #e0e0e0;
432
- }
433
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr:last-child{
434
- border-bottom: 0;
435
- }
436
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td,.zorem_admin_layout table.form-table.late-shipments-email-content-table tr th{
437
- padding: 15px 0;
438
- }
439
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr:last-child{
440
- border-top: 1px solid #e0e0e0;
441
- }
442
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td select{
443
- width: 100px;
444
- vertical-align: middle;
445
- }
446
- .zorem_admin_layout table.form-table.late-shipments-email-content-table tr td label{
447
- margin-right: 10px;
448
- }
449
-
450
- .wp-core-ui .ts_launch_customizer_btn{
451
- float: right;
452
- }
453
- .wp-core-ui .btn_ts_transparent {
454
- background: transparent;
455
- text-shadow: none;
456
- border-color: #bdbdbd;
457
- box-shadow: none;
458
- font-size: 14px;
459
- line-height: 32px;
460
- height: 35px;
461
- padding: 0 10px;
462
- color: #59c889;
463
- background: #fafafa;
464
- }
465
- .wp-core-ui .btn_ts_transparent:focus{
466
- outline: 0;
467
- box-shadow: none;
468
- }
469
- .trackship_status_section {
470
- width: 50%;
471
- float: left;
472
- }
473
- .trackship_status_section.first .outer_form_table{
474
- margin-right: 10px;
475
- }
476
- .trackship_status_section.last .outer_form_table{
477
- margin-left: 10px;
478
- }
479
- .clearfix::after {
480
- content: "";
481
- clear: both;
482
- display: table;
483
- }
484
- .wp-core-ui .api_connected .dashicons {
485
- vertical-align: middle;
486
- margin-right: 5px;
487
- }
488
- .trackship_status_table tr td:last-child{
489
- text-align:right;
490
- }
491
- #trackship_dashboard_widget .hndle{
492
- justify-content: left;
493
- }
494
- #trackship_dashboard_widget .hndle small{
495
- font-size: 11px;
496
- color: #3c4758;
497
- margin: 0 0 0 5px;
498
- }
499
- #trackship_dashboard_widget .inside{
500
- padding: 0;
501
- margin: 0;
502
- }
503
- .ts-widget-content{
504
- width: 100%;
505
- }
506
- .ts-widget-row{
507
- display: flex;
508
- }
509
- .ts-widget-content .ts-widget__section{
510
- flex: 1;
511
- padding: 15px;
512
- }
513
- .ts-widget-rborder{
514
- border-right: 1px solid #e0e0e0;
515
- }
516
- .ts-widget-bborder{
517
- border-bottom: 1px solid #e0e0e0;
518
- }
519
- #trackship_dashboard_widget .ts-widget-content h3{
520
- margin: 0 0 5px;
521
- font-weight: 400;
522
- font-size: 14px;
523
- color: #3f4856;
524
- }
525
- .ts-widget-content .ts-widget-analytics-number{
526
- font-size: 18px;
527
- font-weight: 600;
528
- color: #3c4758;
529
- margin: 0 5px 0 0;
530
- line-height: 26px;
531
- }
532
- .ts-widget-content .ts-widget__section span{
533
- vertical-align: middle;
534
- }
535
- .ts-widget-footer{
536
- padding: 15px;
537
- }
538
- .ts-widget-footer:after {
539
- content: '';
540
- display: contents;
541
- clear: both;
542
- }
543
- .ts-widget-footer img{
544
- width: 80px;
545
- margin-top: 3px;
546
- }
547
- .ts-widget-footer a.ts_link{
548
- float: right;
549
- }
550
- .ts-widget-footer a{
551
- color: #2196f3;
552
- }
553
- .tracking_page_desc {
554
- display: inline-block;
555
- margin: 0;
556
- }
557
- .disable_ts_btn{
558
- background: transparent;
559
- opacity: 0.7;
560
- pointer-events:none;
561
- }
562
- .ast-tgl-flat:checked + .ast-tgl-btn.ast-tgl-btn-green{
563
- background: rgb(89 200 137 / 0.4);
564
- }
565
- .ast-tgl-flat:checked + .ast-tgl-btn.ast-tgl-btn-green:after {
566
- background: #59c889;
567
- }
568
- ul.settings_ul li label.left_label{
569
- width: 22%;
570
- display: inline-block;
571
- }
572
- .wp-core-ui .disconnect_ts{
573
- color: #f44336;
574
- margin: 0 20px;
575
- }
576
- .wp-core-ui .disconnect_ts:hover{
577
- color: #f44336;
578
- margin: 0 20px;
579
- border: 1px solid #f44336;
580
- }
581
- .ts_nav_div .settings_ul>li{
582
- padding: 5px 25px;
583
- }
584
- .woocommerce.zorem_admin_layout .ts_nav_div table.form-table.order-status-table td:first-child {
585
- padding: 10px 0 10px 25px;
586
- }
587
- .woocommerce.zorem_admin_layout .ts_nav_div table.form-table.shipment-status-email-table td:first-child {
588
- padding: 15px 25px;
589
- }
590
-
591
- .rtl.trackship_admin_settings #wpcontent {
592
- padding-right: 0;
593
- }
594
- .rtl .woocommerce.zorem_admin_layout table.form-table.heading-table td h3.tracking_page_heading{
595
- margin-right: 25px;
596
- }
597
- .rtl ul.trackship_dashboard_ul li{
598
- text-align: right;
599
- margin: 0 0 0 5px;
600
- }
601
- .rtl ul.trackship_dashboard_ul li label{
602
- padding-left: 0px;
603
- padding-right: 20px;
604
- }
605
- .rtl ul.trackship_dashboard_ul li strong{
606
- padding-left: 0px;
607
- padding-right: 20px;
608
- }
609
- .rtl select#wc_ast_trackship_page_id{
610
- margin-left: 0;
611
- margin-right: 25px;
612
- }
613
- .rtl .tracking_page_desc{
614
- margin-right: 25px;
615
- }
616
- .rtl .shipment-status-email-table td:last-child{
617
- text-align: left;
618
- }
619
- .rtl .woocommerce.zorem_admin_layout .get_shipment_status_tool.border_0 table.form-table td{
620
- text-align: left;
621
- }
622
- .rtl .settings_ul .setting_ul_checkbox_label{
623
- margin-right: 10px;
624
- margin-left: auto;
625
- }
626
- .rtl .trackship_status_table tr td:last-child{
627
- text-align: left;
628
- }
629
- .rtl .ts_customizer_btn{
630
- right: auto;
631
- left: 25px;
632
- }
633
-
634
-
635
- @media screen and (max-width: 782px) {
636
- .trackship_status_section {
637
- width: auto;
638
- float: none;
639
- }
640
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/3plwinner.png ADDED
Binary file
assets/images/AOSM-addons-icon.jpg DELETED
Binary file
assets/images/alp-icon.png DELETED
Binary file
assets/images/alp.png ADDED
Binary file
assets/images/aosm.png ADDED
Binary file
assets/images/cbr-icon.png DELETED
Binary file
assets/images/cbr.png ADDED
Binary file
assets/images/eiz.png ADDED
Binary file
assets/images/sre-icon.png DELETED
Binary file
assets/images/sre.png ADDED
Binary file
assets/images/trackship-logo.png CHANGED
Binary file
assets/images/trackship.png ADDED
Binary file
assets/js/admin.js CHANGED
@@ -467,6 +467,9 @@ jQuery(document).on("change", "#tracking_provider", function(){
467
  });
468
 
469
  jQuery(document).ready(function() {
 
 
 
470
  var selected_provider = jQuery("#tracking_provider").val();
471
  if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
472
  jQuery('.tracking_product_code_field').show();
467
  });
468
 
469
  jQuery(document).ready(function() {
470
+
471
+ jQuery('.column-woocommerce-advanced-shipment-tracking').addClass('no-link');
472
+
473
  var selected_provider = jQuery("#tracking_provider").val();
474
  if(selected_provider == 'nz-couriers' || selected_provider == 'post-haste' || selected_provider == 'castle-parcels' || selected_provider == 'dx-mail' || selected_provider == 'now-couriers'){
475
  jQuery('.tracking_product_code_field').show();
assets/js/customizer-scripts.js CHANGED
@@ -8,9 +8,7 @@ jQuery(document).ready(function() {
8
  /**
9
  * Change description
10
  */
11
- jQuery('#customize-theme-controls #accordion-section-themes').hide();
12
- jQuery( '#sub-accordion-section-trackship_shipment_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
13
- jQuery( '#sub-accordion-section-ast_tracking_page_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
14
  jQuery( '#sub-accordion-section-ast_tracking_general_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
15
  jQuery( '#sub-accordion-section-custom_order_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
16
  jQuery( '.accordion-section .panel-title' ).html(wcast_customizer.customizer_title);
@@ -79,44 +77,6 @@ jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
79
  } );
80
  } ( wp.customize ) );
81
 
82
- (function ( api ) {
83
- api.section( 'trackship_shipment_status_email', function( section ) {
84
- section.expanded.bind( function( isExpanded ) {
85
- var url;
86
- if ( isExpanded ) {
87
- jQuery('#save').trigger('click');
88
- var shipment_status = jQuery(".preview_shipment_status_type option:selected").val();
89
-
90
- if(shipment_status == 'in_transit'){
91
- url = wcast_customizer.customer_intransit_preview_url;
92
- api.previewer.previewUrl.set( url );
93
- } else if(shipment_status == 'on_hold'){
94
- url = wcast_customizer.customer_onhold_preview_url;
95
- api.previewer.previewUrl.set( url );
96
- } else if(shipment_status == 'return_to_sender'){
97
- url = wcast_customizer.customer_returntosender_preview_url;
98
- api.previewer.previewUrl.set( url );
99
- } else if(shipment_status == 'available_for_pickup'){
100
- url = wcast_customizer.customer_availableforpickup_preview_url;
101
- api.previewer.previewUrl.set( url );
102
- } else if(shipment_status == 'out_for_delivery'){
103
- url = wcast_customizer.customer_outfordelivery_preview_url;
104
- api.previewer.previewUrl.set( url );
105
- } else if(shipment_status == 'delivered'){
106
- url = wcast_customizer.customer_delivered_preview_url;
107
- api.previewer.previewUrl.set( url );
108
- } else if(shipment_status == 'failure'){
109
- url = wcast_customizer.customer_failure_preview_url;
110
- api.previewer.previewUrl.set( url );
111
- } else if(shipment_status == 'exception'){
112
- url = wcast_customizer.customer_exception_preview_url;
113
- api.previewer.previewUrl.set( url );
114
- }
115
- }
116
- } );
117
- } );
118
- } ( wp.customize ) );
119
-
120
  (function ( api ) {
121
  api.section( 'ast_tracking_general_section', function( section ) {
122
  section.expanded.bind( function( isExpanded ) {
@@ -130,41 +90,6 @@ jQuery('#customize-footer-actions .preview-tablet').click(function(e) {
130
  } );
131
  } ( wp.customize ) );
132
 
133
- (function ( api ) {
134
- api.section( 'ast_tracking_page_section', function( section ) {
135
- section.expanded.bind( function( isExpanded ) {
136
- var url;
137
- if ( isExpanded ) {
138
- jQuery('#save').trigger('click');
139
- url = wcast_customizer.tracking_page_preview_url;
140
- api.previewer.previewUrl.set( url );
141
- }
142
- } );
143
- } );
144
- } ( wp.customize ) );
145
-
146
-
147
- jQuery(document).on("change", ".preview_order_select", function(){
148
- var wcast_preview_order_id = jQuery(this).val();
149
- var data = {
150
- security: wcast_customizer.customizer_nonce,
151
- action: 'update_email_preview_order',
152
- wcast_preview_order_id: wcast_preview_order_id,
153
- };
154
- console.log(data);
155
- jQuery.ajax({
156
- url: ajaxurl,
157
- data: data,
158
- type: 'POST',
159
- success: function(response) {
160
- jQuery(".preview_order_select option[value="+wcast_preview_order_id+"]").attr('selected', 'selected');
161
- },
162
- error: function(response) {
163
- console.log(response);
164
- }
165
- });
166
- });
167
-
168
  wp.customize( 'wcast_order_status_email_type', function( value ) {
169
  value.bind( function( wcast_order_status_email_type ) {
170
  if(wcast_order_status_email_type == 'partially_shipped'){
@@ -181,39 +106,5 @@ wp.customize( 'wcast_order_status_email_type', function( value ) {
181
  });
182
  jQuery(document).ready(function() {
183
  var email_type = wcast_customizer.email_type;
184
- jQuery(".preview_email_type").val(email_type);
185
-
186
- var shipment_status = wcast_customizer.shipment_status;
187
- jQuery(".preview_shipment_status_type").val(shipment_status);
188
  });
189
-
190
- wp.customize( 'wcast_shipment_status_type', function( value ) {
191
- value.bind( function( wcast_shipment_status_type ) {
192
-
193
- if(wcast_shipment_status_type == 'in_transit'){
194
- wp.customize.previewer.previewUrl(wcast_customizer.customer_intransit_preview_url);
195
- wp.customize.previewer.refresh();
196
- } else if(wcast_shipment_status_type == 'on_hold'){
197
- wp.customize.previewer.previewUrl(wcast_customizer.customer_onhold_preview_url);
198
- wp.customize.previewer.refresh();
199
- } else if(wcast_shipment_status_type == 'return_to_sender'){
200
- wp.customize.previewer.previewUrl(wcast_customizer.customer_returntosender_preview_url);
201
- wp.customize.previewer.refresh();
202
- } else if(wcast_shipment_status_type == 'available_for_pickup'){
203
- wp.customize.previewer.previewUrl(wcast_customizer.customer_availableforpickup_preview_url);
204
- wp.customize.previewer.refresh();
205
- } else if(wcast_shipment_status_type == 'out_for_delivery'){
206
- wp.customize.previewer.previewUrl(wcast_customizer.customer_outfordelivery_preview_url);
207
- wp.customize.previewer.refresh();
208
- } else if(wcast_shipment_status_type == 'delivered'){
209
- wp.customize.previewer.previewUrl(wcast_customizer.customer_delivered_preview_url);
210
- wp.customize.previewer.refresh();
211
- } else if(wcast_shipment_status_type == 'failure'){
212
- wp.customize.previewer.previewUrl(wcast_customizer.customer_failure_preview_url);
213
- wp.customize.previewer.refresh();
214
- } else if(wcast_shipment_status_type == 'exception'){
215
- wp.customize.previewer.previewUrl(wcast_customizer.customer_exception_preview_url);
216
- wp.customize.previewer.refresh();
217
- }
218
- });
219
- });
8
  /**
9
  * Change description
10
  */
11
+ jQuery('#customize-theme-controls #accordion-section-themes').hide();
 
 
12
  jQuery( '#sub-accordion-section-ast_tracking_general_section .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
13
  jQuery( '#sub-accordion-section-custom_order_status_email .customize-section-title > h3 .customize-action' ).append( '<span class="dashicons dashicons-arrow-right" style="padding-top:4px;"></span> '+wcast_customizer.customizer_title );
14
  jQuery( '.accordion-section .panel-title' ).html(wcast_customizer.customizer_title);
77
  } );
78
  } ( wp.customize ) );
79
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  (function ( api ) {
81
  api.section( 'ast_tracking_general_section', function( section ) {
82
  section.expanded.bind( function( isExpanded ) {
90
  } );
91
  } ( wp.customize ) );
92
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
93
  wp.customize( 'wcast_order_status_email_type', function( value ) {
94
  value.bind( function( wcast_order_status_email_type ) {
95
  if(wcast_order_status_email_type == 'partially_shipped'){
106
  });
107
  jQuery(document).ready(function() {
108
  var email_type = wcast_customizer.email_type;
109
+ jQuery(".preview_email_type").val(email_type);
 
 
 
110
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/datatable.jquery.js DELETED
@@ -1,104 +0,0 @@
1
- (function ($) {
2
-
3
- "use strict";
4
-
5
- function _toJqueryFn (fn, singleReturn) {
6
- if (typeof singleReturn === 'undefined') {
7
- singleReturn = false ;
8
- }
9
- return function (_f, _s) {
10
- return function () {
11
- var res = fn.apply(this, arguments) ;
12
- return _s ? res.get(0) : res.toArray();
13
- } ;
14
- } (fn, singleReturn) ;
15
- }
16
-
17
- $.fn.datatable = function () {
18
- var args = arguments;
19
- var ret = -1, each;
20
- if (args.length === 0) { args = [{}]; }
21
- each = this.each(function () {
22
- if ($.isPlainObject(args[0])) {
23
- if (this.datatable === undefined) {
24
- if (args[0].hasOwnProperty('lineFormat')) {
25
- args[0].lineFormat = _toJqueryFn (args[0].lineFormat, true);
26
- }
27
- if (args[0].hasOwnProperty('pagingPages')) {
28
- args[0].pagingPages = _toJqueryFn (args[0].pagingPages);
29
- }
30
- if (args[0].hasOwnProperty('filters')) {
31
- for (var i = 0 ; i < args[0].filters.length ; ++i) {
32
- var filter = args[0].filters[i] ;
33
- if (filter instanceof $) {
34
- filter = filter.get(0) ;
35
- }
36
- else if ((filter instanceof Object) && (filter.element instanceof $)) {
37
- filter.element = filter.element.get(0);
38
- }
39
- args[0].filters[i] = filter;
40
- }
41
- }
42
- this.datatable = new DataTable(this, args[0]);
43
- }
44
- else {
45
- this.datatable.setOptions(args[0]);
46
- }
47
- }
48
- else if (typeof args[0] === 'string') {
49
- switch (args[0]) {
50
- case 'page':
51
- if (1 in args) {
52
- this.datatable.loadPage(parseInt(args[1]));
53
- }
54
- else {
55
- ret = this.datatable.getCurrentPage();
56
- }
57
- break;
58
- case 'reset-filters':
59
- this.datatable.resetFilters();
60
- break;
61
- case 'select':
62
- if (1 in args && !$.isFunction(args[1])) {
63
- ret = this.datatable.row(args[1]);
64
- }
65
- else {
66
- ret = this.datatable.all(args[1]);
67
- }
68
- break;
69
- case 'insert':
70
- if ($.isArray(args[1])) {
71
- this.datatable.addRows(args[1]);
72
- }
73
- else {
74
- this.datatable.addRow(args[1]);
75
- }
76
- break;
77
- case 'update':
78
- this.datatable.updateRow(args[1], args[2]);
79
- break;
80
- case 'delete':
81
- if ($.isFunction(args[1])) {
82
- this.datatable.deleteAll(args[1]);
83
- }
84
- else {
85
- this.datatable.deleteRow(args[1]);
86
- }
87
- break;
88
- case 'option':
89
- this.datatable.setOption(args[1], args[2]);
90
- break;
91
- case 'refresh':
92
- this.datatable.refresh();
93
- break;
94
- case 'destroy':
95
- this.datatable.destroy();
96
- delete this.datatable;
97
- break;
98
- }
99
- }
100
- });
101
- return ret !== -1 ? ret : each;
102
- };
103
-
104
- } (window.jQuery));
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/datatable.js DELETED
@@ -1,1814 +0,0 @@
1
- "use strict";
2
-
3
- var DataTable = function (table, opts) {
4
-
5
- this.options = {};
6
- this.table = table;
7
- this.currentPage = 0;
8
- this.currentStart = 0; // different from currentPage * pageSize because there is a filter
9
- this.filterIndex = [];
10
-
11
- for (var k in DataTable.defaultOptions) {
12
- if (DataTable.defaultOptions.hasOwnProperty(k)) {
13
- if (opts.hasOwnProperty(k)) {
14
- this.options[k] = opts[k] ;
15
- }
16
- else {
17
- this.options[k] = DataTable.defaultOptions[k] ;
18
- }
19
- }
20
- }
21
-
22
- if (opts.hasOwnProperty('data')) {
23
- this.options.data = opts.data ;
24
- }
25
-
26
- /* If nb columns not specified, count the number of column from thead. */
27
- if (this.options.nbColumns < 0) {
28
- this.options.nbColumns = this.table.tHead.rows[0].cells.length;
29
- }
30
-
31
- /* Create the base for pagination. */
32
- this.pagingDivs = document.querySelectorAll(this.options.pagingDivSelector);
33
- for (var i = 0; i < this.pagingDivs.length; ++i) {
34
- var div = this.pagingDivs[i];
35
- this.addClass(div, 'pagination-datatables');
36
- this.addClass(div, this.options.pagingDivClass);
37
- var ul = document.createElement('ul');
38
- this.addClass(ul, this.options.pagingListClass);
39
- div.appendChild(ul);
40
- }
41
- this.pagingLists = document.querySelectorAll(this.options.pagingDivSelector + ' ul');
42
- this.counterDivs = document.querySelectorAll(this.options.counterDivSelector);
43
- this.loadingDiv = document.querySelector(this.options.loadingDivSelector);
44
-
45
- /* DATA ! */
46
-
47
- var dataTable = this;
48
-
49
- if (!this.table.tHead) {
50
- this.table.tHead = document.createElement('thead');
51
- this.table.appendChild(this.table.rows[0]);
52
- }
53
-
54
- /* Compatibility issue (forceStrings => No defined data types). */
55
- if (this.options.forceStrings) {
56
- this.options.dataTypes = false ;
57
- }
58
-
59
- var ths = this.table.tHead.rows[0].cells ;
60
-
61
- if (!this.table.tBodies[0]) {
62
- this.table.tBodies[0] = document.createElement('tbody');
63
- }
64
-
65
- if (this.options.data instanceof Array) {
66
- this.data = this.options.data;
67
- }
68
- else if (this.options.data instanceof Object) {
69
- var ajaxOptions = DataTable.defaultAjaxOptions;
70
- for (var k in this.options.data) {
71
- ajaxOptions[k] = this.options.data[k];
72
- }
73
- this.options.data = ajaxOptions;
74
- var fetchData = true;
75
- if (fetchData) {
76
- if (this.table.dataset.size !== undefined) {
77
- this.options.data.size = parseInt(this.table.dataset.size, 10);
78
- }
79
- this.data = [];
80
- if (this.options.data.size !== undefined) {
81
- this.loadingDiv.innerHTML = '<div class="progress datatable-load-bar">'
82
- + '<div class="progress-bar progress-bar-striped active" style="width: 0%;">'
83
- + '</div></div>';
84
- if (this.options.data.allInOne) {
85
- this.getAjaxDataAsync(true);
86
- }
87
- else {
88
- for (var i = 0; i < this.options.data.size;
89
- i += this.options.pageSize * this.options.pagingNumberOfPages) {
90
- this.getAjaxDataAsync(i);
91
- }
92
- }
93
- }
94
- else {
95
- this.loadingDiv.innerHTML = '<div class="progress datatable-load-bar">'
96
- + '<div class="progress-bar progress-bar-striped active" style="width: 0%;">'
97
- + '</div></div>';
98
- this.getAjaxDataAsync(0, true);
99
- }
100
- }
101
- }
102
- else if (this.table.tBodies[0].rows.length > 0) {
103
- this.data = [];
104
- var rows = this.table.tBodies[0].rows;
105
- var nCols = rows[0].cells.length ;
106
- for (var i = 0; i < rows.length; ++i) {
107
- this.data.push ([]) ;
108
- }
109
- for (var j = 0 ; j < nCols ; ++j) {
110
- var dt = function (x) { return x ; } ;
111
- if (this.options.dataTypes instanceof Array) {
112
- switch (this.options.dataTypes[j]) {
113
- case 'int':
114
- dt = parseInt ;
115
- break ;
116
- case 'float':
117
- case 'double':
118
- dt = parseFloat ;
119
- break ;
120
- case 'date':
121
- case 'datetime':
122
- dt = function (x) { return new Date(x) ; } ;
123
- break ;
124
- case false:
125
- case true:
126
- case 'string':
127
- case 'str':
128
- dt = function (x) { return x ; } ;
129
- break ;
130
- default:
131
- dt = this.options.dataTypes[j] ;
132
- }
133
- }
134
- for (var i = 0; i < rows.length; ++i) {
135
- this.data[i].push(dt(rows[i].cells[j].innerHTML.trim())) ;
136
- }
137
- }
138
- if (this.options.dataTypes === true) {
139
- for (var c = 0; c < this.data[0].length; ++c) {
140
- var isNumeric = true;
141
- for (var i = 0; i < this.data.length; ++i) {
142
- if (this.data[i][c] !== ""
143
- && !((this.data[i][c] - parseFloat(this.data[i][c]) + 1) >= 0)) {
144
- isNumeric = false;
145
- }
146
- }
147
- if (isNumeric) {
148
- for (var i = 0; i < this.data.length; ++i) {
149
- if (this.data[i][c] !== "") {
150
- this.data[i][c] = parseFloat(this.data[i][c]);
151
- }
152
- }
153
- }
154
- }
155
- }
156
- }
157
-
158
- /* Add sorting class to all th and add callback. */
159
- this.createSort();
160
-
161
- /* Add filter where it's needed. */
162
- this.createFilter();
163
-
164
- this.triggerSort();
165
- this.filter();
166
-
167
- };
168
-
169
- DataTable.prototype = {
170
-
171
- constructor: DataTable,
172
-
173
- /**
174
- *
175
- * Add the specified class(es) to the specified DOM Element.
176
- *
177
- * @param node The DOM Element
178
- * @param classes (Array or String)
179
- *
180
- **/
181
- addClass: function (node, classes) {
182
- if (typeof classes === "string") {
183
- classes = classes.split(' ');
184
- }
185
- classes.forEach(function (c) {
186
- if (!c) { return; }
187
- node.classList.add(c);
188
- });
189
- },
190
-
191
- /**
192
- *
193
- * Remove the specified node from the DOM.
194
- *
195
- * @param node The node to removes
196
- *
197
- **/
198
- removeNode: function (node) {
199
- if (node) {
200
- node.parentNode.removeChild(node);
201
- }
202
- },
203
-
204
- /**
205
- *
206
- * Clear size option and set timeout (if specified) for refresh.
207
- *
208
- * Note: This function should be call when a ajax loading is finished.
209
- *
210
- * @update refreshTimeOut The new timeout
211
- *
212
- **/
213
- setRefreshTimeout: function () {
214
- if (this.options.data.refresh) {
215
- clearTimeout(this.refreshTimeOut);
216
- this.refreshTimeOut = setTimeout((function (datatable) {
217
- return function () { datatable.getAjaxDataAsync(0, true); };
218
- })(this), this.options.data.refresh);
219
- }
220
- },
221
-
222
- /**
223
- *
224
- * Hide the loading divs.
225
- *
226
- **/
227
- hideLoadingDivs: function () {
228
- this.removeNode(this.loadingDiv);
229
- },
230
-
231
-
232
- /**
233
- *
234
- * Update the loading divs with the current % of data load (according
235
- * to this.options.data.size).
236
- *
237
- * Note: Call setRefreshTimeout & hideLoadingDivs if all the data have been loaded.
238
- *
239
- **/
240
- updateLoadingDivs: function () {
241
- if (this.data.length >= this.options.data.size) {
242
- this.setRefreshTimeout();
243
- this.hideLoadingDivs();
244
- }
245
- else {
246
- this.loadingDiv.querySelector('div.progress .progress-bar').style.width =
247
- parseInt(100 * this.data.length / this.options.data.size, 10) + '%';
248
- }
249
- },
250
-
251
- /**
252
- *
253
- * Get data according to this.options.data, asynchronously, using recursivity.
254
- *
255
- * @param start The first offset to send to the server
256
- *
257
- * @update data Concat data received from server to old data
258
- *
259
- * Note: Each call increment start by pageSize * pagingNumberOfPages.
260
- *
261
- **/
262
- getAjaxDataAsync: function (start, recursive) {
263
- if (typeof recursive === "undefined") { recursive = false; }
264
- if (recursive && typeof this.syncData === "undefined") {
265
- this.syncData = {
266
- data: [],
267
- toAdd: [],
268
- toUpdate: {},
269
- toDelete: []
270
- };
271
- }
272
- var xhr = new XMLHttpRequest();
273
- xhr.timeout = this.options.data.timeout;
274
- xhr.onreadystatechange = function (datatable, start, recursive) {
275
- return function () {
276
- if (this.readyState == 4) {
277
- switch (this.status) {
278
- case 200:
279
- if (recursive) {
280
- if (this.response.length > 0) {
281
- datatable.syncData.data =
282
- datatable.syncData.data.concat(this.response);
283
- datatable.getAjaxDataAsync(start + datatable.options.pageSize * datatable.options.pagingNumberOfPages, true);
284
- }
285
- else {
286
- var syncData = datatable.syncData;
287
- delete datatable.syncData;
288
- datatable.data = syncData.data;
289
- datatable.addRows(syncData.toAdd);
290
- syncData.toDelete.forEach(function (e) {
291
- if (e instanceof Function) {
292
- datatable.deleteAll(e);
293
- }
294
- else {
295
- datatable.deleteRow(e);
296
- }
297
- });
298
- for (var id in syncData.toUpdate) {
299
- datatable.updateRow(id, syncData.toUpdate[id]);
300
- }
301
-
302
- datatable.sort(true);
303
- datatable.setRefreshTimeout();
304
- }
305
- }
306
- else {
307
- datatable.data = datatable.data.concat(this.response);
308
- datatable.updateLoadingDivs();
309
- datatable.sort(true);
310
- }
311
- break;
312
- case 404:
313
- case 500:
314
- console.log("ERROR: " + this.status + " - " + this.statusText);
315
- console.log(xhr);
316
- break;
317
- default:
318
- datatable.getAjaxDataAsync(start, recursive);
319
- break;
320
- }
321
- }
322
- }
323
- } (this, start, recursive);
324
- var url = this.options.data.url ;
325
- var limit = this.options.pageSize * this.options.pagingNumberOfPages ;
326
- var formdata = new FormData();
327
- if (start !== true) {
328
- if (this.options.data.type.toUpperCase() == 'GET') {
329
- url += '?start=' + start + '&limit=' + limit ;
330
- }
331
- else {
332
- formdata.append('offset', start);
333
- formdata.append('limit', limit);
334
- }
335
- }
336
- xhr.open(this.options.data.type, url, true);
337
- xhr.responseType = 'json';
338
- xhr.send(formdata);
339
- },
340
-
341
- /**
342
- *
343
- * @return The last page number according to options.pageSize and
344
- * current number of filtered elements.
345
- *
346
- **/
347
- getLastPageNumber: function () {
348
- return parseInt(Math.ceil(this.filterIndex.length / this.options.pageSize), 10);
349
- },
350
-
351
- createPagingLink: function (content, page, disabled) {
352
- var link = document.createElement('a');
353
-
354
- // Check options...
355
- if (this.options.pagingLinkClass) {
356
- link.classList.add(this.options.pagingLinkClass);
357
- }
358
-
359
- if (this.options.pagingLinkHref) {
360
- link.href = this.options.pagingLinkHref;
361
- }
362
-
363
- if (this.options.pagingLinkDisabledTabIndex !== false && disabled) {
364
- link.tabIndex = this.options.pagingLinkDisabledTabIndex;
365
- }
366
-
367
- link.dataset.page = page;
368
- link.innerHTML = content;
369
- return link;
370
- },
371
-
372
- /**
373
- *
374
- * Update the paging divs.
375
- *
376
- **/
377
- updatePaging: function () {
378
-
379
- /* Be carefull if you change something here, all this part calculate the first
380
- and last page to display. I choose to center the current page, it's more beautiful... */
381
-
382
- var nbPages = this.options.pagingNumberOfPages;
383
- var dataTable = this;
384
- var cp = parseInt(this.currentStart / this.options.pageSize, 10) + 1;
385
- var lp = this.getLastPageNumber();
386
- var start;
387
- var end;
388
- var first = this.filterIndex.length ? this.currentStart + 1 : 0;
389
- var last = (this.currentStart + this.options.pageSize) > this.filterIndex.length ?
390
- this.filterIndex.length : this.currentStart + this.options.pageSize;
391
-
392
- if (cp < nbPages / 2) {
393
- start = 1;
394
- }
395
- else if (cp >= lp - nbPages / 2) {
396
- start = lp - nbPages + 1;
397
- if (start < 1) {
398
- start = 1;
399
- }
400
- }
401
- else {
402
- start = parseInt(cp - nbPages / 2 + 1, 10);
403
- }
404
-
405
- if (start + nbPages < lp + 1) {
406
- end = start + nbPages - 1;
407
- }
408
- else {
409
- end = lp;
410
- }
411
-
412
- /* Juste iterate over each paging list and append li to ul. */
413
-
414
- for (var i = 0; i < this.pagingLists.length; ++i) {
415
- var childs = [];
416
- if (dataTable.options.firstPage) {
417
- var li = document.createElement('li');
418
- li.appendChild(dataTable.createPagingLink(
419
- dataTable.options.firstPage, "first", cp === 1
420
- ));
421
- if (cp === 1) { li.classList.add('active'); }
422
- childs.push(li);
423
- }
424
- if (dataTable.options.prevPage) {
425
- var li = document.createElement('li');
426
- li.appendChild(dataTable.createPagingLink(
427
- dataTable.options.prevPage, "prev", cp === 1
428
- ));
429
- if (cp === 1) { li.classList.add('active'); }
430
- childs.push(li);
431
- }
432
- if (dataTable.options.pagingPages) {
433
- var _childs = this.options.pagingPages.call(this.table, start,
434
- end, cp, first, last);
435
- if (_childs instanceof Array) {
436
- childs = childs.concat(_childs);
437
- }
438
- else {
439
- childs.push(_childs);
440
- }
441
- }
442
- else {
443
- for (var k = start; k <= end; k++) {
444
- var li = document.createElement('li');
445
- li.appendChild(dataTable.createPagingLink(
446
- k, k, cp === k
447
- ));
448
- if (k === cp) { li.classList.add('active'); }
449
- childs.push(li);
450
- }
451
- }
452
- if (dataTable.options.nextPage) {
453
- var li = document.createElement('li');
454
- li.appendChild(dataTable.createPagingLink(
455
- dataTable.options.nextPage, "next", cp === lp || lp === 0
456
- ));
457
- if (cp === lp || lp === 0) { li.classList.add('active'); }
458
- childs.push(li);
459
- }
460
- if (dataTable.options.lastPage) {
461
- var li = document.createElement('li');
462
- li.appendChild(dataTable.createPagingLink(
463
- dataTable.options.lastPage, "last", cp === lp || lp === 0
464
- ));
465
- if (cp === lp || lp === 0) { li.classList.add('active'); }
466
- childs.push(li);
467
- }
468
- this.pagingLists[i].innerHTML = '';
469
- childs.forEach(function (e) {
470
- if (dataTable.options.pagingItemClass) {
471
- e.classList.add(dataTable.options.pagingItemClass);
472
- }
473
- if (e.childNodes.length > 0) {
474
- e.childNodes[0].addEventListener('click', function (event) {
475
- event.preventDefault();
476
- if (this.parentNode.classList.contains('active') ||
477
- typeof this.dataset.page === 'undefined') {
478
- return;
479
- }
480
- switch (this.dataset.page) {
481
- case 'first':
482
- dataTable.loadPage(1);
483
- break;
484
- case 'prev':
485
- dataTable.loadPage(cp - 1);
486
- break;
487
- case 'next':
488
- dataTable.loadPage(cp + 1);
489
- break;
490
- case 'last':
491
- dataTable.loadPage(lp);
492
- break;
493
- default:
494
- dataTable.loadPage(parseInt(parseInt(this.dataset.page), 10));
495
- }
496
- }, false);
497
- }
498
- this.pagingLists[i].appendChild(e);
499
- }, this);
500
- }
501
-
502
- },
503
-
504
- /**
505
- *
506
- * Update the counter divs.
507
- *
508
- **/
509
- updateCounter: function () {
510
- var cp = this.filterIndex.length ?
511
- parseInt(this.currentStart / this.options.pageSize, 10) + 1 : 0;
512
- var lp = parseInt(Math.ceil(this.filterIndex.length / this.options.pageSize), 10);
513
- var first = this.filterIndex.length ? this.currentStart + 1 : 0;
514
- var last = (this.currentStart + this.options.pageSize) > this.filterIndex.length ?
515
- this.filterIndex.length : this.currentStart + this.options.pageSize;
516
- for (var i = 0; i < this.counterDivs.length; ++i) {
517
- this.counterDivs[i].innerHTML = this.options.counterText.call(this.table, cp, lp,
518
- first, last,
519
- this.filterIndex.length,
520
- this.data.length);
521
- }
522
- },
523
-
524
- /**
525
- *
526
- * @return The sort function according to options.sort, options.sortKey & options.sortDir.
527
- *
528
- * Note: This function could return false if no sort function can be generated.
529
- *
530
- **/
531
- getSortFunction: function () {
532
- if (this.options.sort === false) {
533
- return false;
534
- }
535
- if (this.options.sort instanceof Function) {
536
- return this.options.sort;
537
- }
538
- if (this.data.length === 0 || !(this.options.sortKey in this.data[0])) {
539
- return false;
540
- }
541
- var key = this.options.sortKey;
542
- var asc = this.options.sortDir === 'asc';
543
- if (this.options.sort[key] instanceof Function) {
544
- return function (s) {
545
- return function (a, b) {
546
- var vala = a[key], valb = b[key];
547
- return asc ? s(vala, valb) : -s(vala, valb);
548
- };
549
- } (this.options.sort[key]);
550
- }
551
- return function (a, b) {
552
- var vala = a[key], valb = b[key];
553
- if (vala > valb) { return asc ? 1 : -1; }
554
- if (vala < valb) { return asc ? -1 : 1; }
555
- return 0;
556
- };
557
- },
558
-
559
- /**
560
- *
561
- * Destroy the filters (remove the filter line).
562
- *
563
- **/
564
- destroyFilter: function () {
565
- this.removeNode(this.table.querySelector('.datatable-filter-line'));
566
- },
567
-
568
- /**
569
- *
570
- * Change the text input filter placeholder according to this.options.filterText.
571
- *
572
- **/
573
- changePlaceHolder: function () {
574
- var placeholder = this.options.filterText ? this.options.filterText : '';
575
- var inputTexts = this.table.querySelectorAll('.datatable-filter-line input[type="text"]');
576
- for (var i = 0; i < inputTexts.length; ++i) {
577
- inputTexts[i].placeholder = placeholder;
578
- }
579
- },
580
-
581
- /**
582
- *
583
- * Create a text filter for the specified field.
584
- *
585
- * @param field The field corresponding to the filter
586
- *
587
- * @update filters Add the new filter to the list of filter (calling addFilter)
588
- *
589
- * @return The input filter
590
- *
591
- **/
592
- createTextFilter: function (field) {
593
- var opt = this.options.filters[field];
594
- var input = opt instanceof HTMLInputElement ? opt : document.createElement('input');
595
- input.type = 'text';
596
- if (this.options.filterText) {
597
- input.placeholder = this.options.filterText;
598
- }
599
- this.addClass(input, 'datatable-filter datatable-input-text');
600
- input.dataset.filter = field;
601
- this.filterVals[field] = '';
602
- var typewatch = (function () {
603
- var timer = 0;
604
- return function (callback, ms) {
605
- clearTimeout(timer);
606
- timer = setTimeout(callback, ms);
607
- };
608
- })();
609
- input.onkeyup = function (datatable) {
610
- return function () {
611
- var val = this.value.toUpperCase();
612
- var field = this.dataset.filter;
613
- typewatch(function () {
614
- datatable.filterVals[field] = val;
615
- datatable.filter();
616
- }, 300);
617
- };
618
- } (this);
619
- input.onkeydown = input.onkeyup;
620
- var regexp = opt === 'regexp' || input.dataset.regexp;
621
- if (opt instanceof Function) {
622
- this.addFilter(field, opt);
623
- }
624
- else if (regexp) {
625
- this.addFilter(field, function (data, val) {
626
- return new RegExp(val).test(String(data));
627
- });
628
- }
629
- else {
630
- this.addFilter(field, function (data, val) {
631
- return String(data).toUpperCase().indexOf(val) !== -1;
632
- });
633
- }
634
- this.addClass(input, this.options.filterInputClass);
635
- return input;
636
- },
637
-
638
- /**
639
- * Check if the specified value is in the specified array, without strict type checking.
640
- *
641
- * @param val The val to search
642
- * @param arr The array
643
- *
644
- * @return true if the value was found in the array
645
- **/
646
- _isIn: function (val, arr) {
647
- var found = false;
648
- for (var i = 0; i < arr.length && !found; ++i) {
649
- found = arr[i] == val;
650
- }
651
- return found;
652
- },
653
-
654
- /**
655
- * Return the index of the specified element in the object.
656
- *
657
- * @param v
658
- * @param a
659
- *
660
- * @return The index, or -1
661
- **/
662
- _index: function (v, a) {
663
- if (a === undefined || a === null) {
664
- return -1;
665
- }
666
- var index = -1;
667
- for (var i = 0; i < a.length && index == -1; ++i) {
668
- if (a[i] === v) index = i;
669
- }
670
- return index;
671
- },
672
-
673
- /**
674
- * Return the keys of the specified object.
675
- *
676
- * @param obj
677
- *
678
- * @return The keys of the specified object.
679
- **/
680
- _keys: function (obj) {
681
- if (obj === undefined || obj === null) {
682
- return undefined;
683
- }
684
- var keys = [];
685
- for (var k in obj) {
686
- if (obj.hasOwnProperty(k)) keys.push(k);
687
- }
688
- return keys;
689
- },
690
-
691
- /**
692
- *
693
- * Create a select filter for the specified field.
694
- *
695
- * @param field The field corresponding to the filter
696
- *
697
- * @update filters Add the new filter to the list of filter (calling addFilter)
698
- *
699
- * @return The select filter.
700
- *
701
- **/
702
- createSelectFilter: function (field) {
703
- var opt = this.options.filters[field];
704
- var values = {}, selected = [], multiple = false,
705
- empty = true, emptyValue = this.options.filterEmptySelect;
706
- var tag = false;
707
- if (opt instanceof HTMLSelectElement) {
708
- tag = opt;
709
- }
710
- else if (opt instanceof Object && 'element' in opt && opt.element) {
711
- tag = opt.element;
712
- }
713
- if (opt instanceof HTMLSelectElement || opt === 'select') {
714
- values = this.getFilterOptions(field);
715
- }
716
- else {
717
- multiple = ('multiple' in opt) && (opt.multiple === true);
718
- empty = ('empty' in opt) && opt.empty;
719
- emptyValue = (('empty' in opt) && (typeof opt.empty === 'string')) ?
720
- opt.empty : this.options.filterEmptySelect;
721
- if ('values' in opt) {
722
- if (opt.values === 'auto') {
723
- values = this.getFilterOptions(field);
724
- }
725
- else {
726
- values = opt.values;
727
- }
728
- if ('default' in opt) {
729
- selected = opt['default'];
730
- }
731
- else if (multiple) {
732
- selected = [];
733
- for (var k in values) {
734
- if (values[k] instanceof Object) {
735
- selected = selected.concat(this._keys(values[k]));
736
- }
737
- else {
738
- selected.push(k);
739
- }
740
- }
741
- }
742
- else {
743
- selected = [];
744
- }
745
- if (!(selected instanceof Array)) {
746
- selected = [selected];
747
- }
748
- }
749
- else {
750
- values = opt;
751
- selected = multiple ? this._keys(values) : [];
752
- }
753
- }
754
- var select = tag ? tag : document.createElement('select');
755
- if (multiple) {
756
- select.multiple = true;
757
- }
758
- if (opt['default']) {
759
- select.dataset['default'] = opt['default'];
760
- }
761
- this.addClass(select, 'datatable-filter datatable-select');
762
- select.dataset.filter = field;
763
- if (empty) {
764
- var option = document.createElement('option');
765
- option.dataset.empty = true;
766
- option.value = "";
767
- option.innerHTML = emptyValue;
768
- select.appendChild(option);
769
- }
770
- var allKeys = [];
771
- for (var key in values) {
772
- if (values[key] instanceof Object) {
773
- var optgroup = document.createElement('optgroup');
774
- optgroup.label = key;
775
- for (var skey in values[key]) {
776
- if (values[key].hasOwnProperty(skey)) {
777
- allKeys.push(skey);
778
- var option = document.createElement('option');
779
- option.value = skey;
780
- option.selected = this._isIn(skey, selected);
781
- option.innerHTML = values[key][skey];
782
- optgroup.appendChild(option);
783
- }
784
- }
785
- select.appendChild(optgroup);
786
- }
787
- else {
788
- allKeys.push(key);
789
- var option = document.createElement('option');
790
- option.value = key;
791
- option.selected = this._isIn(key, selected);
792
- option.innerHTML = values[key];
793
- select.appendChild(option);
794
- }
795
- }
796
- var val = select.value;
797
- if (multiple) {
798
- val = [];
799
- for (var i = 0; i < select.options.length; ++i) {
800
- if (select.options[i].selected) { val.push(select.options[i].value); }
801
- }
802
- }
803
- this.filterVals[field] = multiple ? val : ((empty && !val) ? allKeys : [val]);
804
- select.onchange = function (allKeys, multiple, empty, datatable) {
805
- return function () {
806
- var val = this.value;
807
- if (multiple) {
808
- val = [];
809
- for (var i = 0; i < this.options.length; ++i) {
810
- if (this.options[i].selected) { val.push(this.options[i].value); }
811
- }
812
- }
813
- var field = this.dataset.filter;
814
- datatable.filterVals[field] = multiple ? val : ((empty && !val) ? allKeys : [val]);
815
- datatable.filter();
816
- };
817
- } (allKeys, multiple, empty, this);
818
- if (opt instanceof Object && opt.fn instanceof Function) {
819
- this.addFilter(field, opt.fn);
820
- select.dataset.filterType = 'function';
821
- }
822
- else {
823
- this.addFilter(field, function (aKeys, datatable) {
824
- return function (data, val) {
825
- if (!val) { return false; }
826
- if (val == aKeys && !data) { return true; }
827
- return datatable._isIn(data, val);
828
- };
829
- } (allKeys, this));
830
- select.dataset.filterType = 'default';
831
- }
832
- this.addClass(select, this.options.filterSelectClass);
833
- return select;
834
- },
835
-
836
- /**
837
- *
838
- * Create the filter line according to options.filters.
839
- *
840
- **/
841
- createFilter: function () {
842
- this.filters = [];
843
- this.filterTags = [];
844
- this.filterVals = [];
845
- // Speical options if '*'
846
- if (this.options.filters === '*') {
847
- var nThs = this.table.tHead.rows[0].cells.length;
848
- this.options.filters = [];
849
- while (nThs--) {
850
- this.options.filters.push(true);
851
- }
852
- }
853
- if (this.options.filters) {
854
- var filterLine = false;
855
- var tr = document.createElement('tr');
856
- tr.classList.add('datatable-filter-line');
857
- for (var field in this.options.filters) {
858
- if (this.options.filters.hasOwnProperty(field)) {
859
- var td = document.createElement('td');
860
- if (this.options.filters[field] !== false) {
861
- var opt = this.options.filters[field];
862
- var input = opt === true || opt === 'regexp' || opt === 'input' || opt instanceof Function || opt instanceof HTMLInputElement;
863
- var filter = input ? this.createTextFilter(field) : this.createSelectFilter(field);
864
- this.filterTags[field] = filter;
865
- if (!document.body.contains(filter)) {
866
- td.classList.add('datatable-filter-cell');
867
- td.appendChild(filter);
868
- }
869
- }
870
- if (!(this.options.filters[field] instanceof Object) || !this.options.filters[field].noColumn) {
871
- tr.appendChild(td);
872
- }
873
- }
874
- }
875
- if (tr.querySelectorAll('td.datatable-filter-cell').length > 0) {
876
- this.table.tHead.appendChild(tr);
877
- }
878
- }
879
- },
880
-
881
- /**
882
- *
883
- * Filter data and refresh.
884
- *
885
- * @param keepCurrentPage true if the current page should not be changed (on refresh
886
- * for example), if not specified or false, the current page will be set to 0.
887
- *
888
- * @update filterIndex Will contain the new filtered indexes
889
- * @update currentStart The new starting point
890
- *
891
- **/
892
- filter: function (keepCurrentPage) {
893
- if (typeof keepCurrentPage === 'undefined') {
894
- keepCurrentPage = false;
895
- }
896
- var oldCurrentStart = this.currentStart;
897
- this.currentStart = 0;
898
- this.filterIndex = [];
899
- for (var i = 0; i < this.data.length; i++) {
900
- if (this.checkFilter(this.data[i])) { this.filterIndex.push(i); }
901
- }
902
- if (keepCurrentPage) {
903
- this.currentStart = oldCurrentStart;
904
- while (this.currentStart >= this.filterIndex.length) {
905
- this.currentStart -= this.options.pageSize;
906
- }
907
- if (this.currentStart < 0) {
908
- this.currentStart = 0;
909
- }
910
- }
911
- if (this.options.filterSelectOptions && this.filterIndex.length > 0) {
912
- var dtable = this;
913
- var allKeys = [];
914
- for (var j = 0; j < this.data[0].length; ++j) {
915
- allKeys.push({});
916
- }
917
- for (var i = 0; i < this.filterIndex.length; ++i) {
918
- var row = this.data[this.filterIndex[i]];
919
- for (var j = 0; j < row.length; ++j) {
920
- allKeys[j][row[j]] = true;
921
- }
922
- }
923
- for (var k = 0; k < allKeys.length; ++k) {
924
- var keys = this._keys(allKeys[k]);
925
- if (this.filterTags[k]
926
- && this.filterTags[k] instanceof HTMLSelectElement
927
- && this.filterTags[k].dataset.filterType == 'default') {
928
- var options = this.filterTags[k].childNodes;
929
- for (var i = 0; i < options.length; ++i) {
930
- if (!options[i].dataset.empty) {
931
- options[i].style.display = dtable._isIn(options[i].value, keys)
932
- ? 'block' : 'none';
933
- }
934
- }
935
- }
936
- }
937
- }
938
- this.refresh();
939
- },
940
-
941
-
942
- /**
943
- *
944
- * Reset all filters.
945
- *
946
- **/
947
- resetFilters: function () {
948
- var dtable = this;
949
- this.filterTags.forEach(function (e) {
950
- var field = e.dataset.filter;
951
- if (e instanceof HTMLInputElement) {
952
- e.value = '';
953
- dtable.filterVals[field] = '';
954
- }
955
- else {
956
- if (e.multiple) {
957
- var allKeys = [];
958
- for (var i = 0; i < e.childNodes.length; ++i) {
959
- e.childNodes[i].selected = true;
960
- allKeys.push(e.childNodes[i].value);
961
- }
962
- dtable.filterVals[field] = allKeys;
963
- }
964
- else if (e.dataset['default']
965
- && e.querySelector('option[value="' + e.dataset['default'] + '"]').length > 0) {
966
- for (var i = 0; i < e.childNodes.length; ++i) {
967
- e.childNodes[i].selected = e.childNodes[i].value == e.dataset['default'];
968
- }
969
- dtable.filterVals[field] = [e.dataset['default']];
970
- }
971
- else if (e.childNodes.length > 0) {
972
- e.childNodes[0].selected = true;
973
- for (var i = 1; i < e.childNodes.length; ++i) {
974
- e.childNodes[i].selected = false;
975
- }
976
- if (e.childNodes[0].dataset.empty) {
977
- var allKeys = [];
978
- for (var i = 1; i < e.childNodes.length; ++i) {
979
- allKeys.push(e.childNodes[i].value);
980
- }
981
- dtable.filterVals[field] = allKeys;
982
- }
983
- else {
984
- dtable.filterVals[field] = [e.childNodes[0].value];
985
- }
986
- }
987
- }
988
- });
989
- this.filter();
990
- },
991
-
992
- /**
993
- * Strip HTML tags for the specified string.
994
- *
995
- * @param str The string from which tags must be stripped.
996
- *
997
- * @return The string with HTML tags removed.
998
- *
999
- **/
1000
- stripTags: function (str) {
1001
- var e = document.createElement('div');
1002
- e.innerHTML = str;
1003
- return e.textContent || e.innerText;
1004
- },
1005
-
1006
- /**
1007
- *
1008
- * Check if the specified data match the filters according to this.filters
1009
- * and this.filterVals.
1010
- *
1011
- * @param data The data to check
1012
- *
1013
- * @return true if the data match the filters, false otherwise
1014
- *
1015
- **/
1016
- checkFilter: function (data) {
1017
- var ok = true;
1018
- for (var fk in this.filters) {
1019
- var currentData = fk[0] === '_' ? data : data[fk];
1020
- if (typeof currentData === "string") {
1021
- currentData = this.stripTags(currentData);
1022
- }
1023
- if (!this.filters[fk](currentData, this.filterVals[fk])) {
1024
- ok = false;
1025
- break;
1026
- }
1027
- }
1028
- return ok;
1029
- },
1030
-
1031
- /**
1032
- *
1033
- * Add a new filter.
1034
- *
1035
- * @update filters
1036
- *
1037
- **/
1038
- addFilter: function (field, filter) {
1039
- this.filters[field] = filter;
1040
- },
1041
-
1042
- /**
1043
- *
1044
- * Get the filter select options for a specified field according
1045
- * to this.data.
1046
- *
1047
- * @return The options found.
1048
- *
1049
- **/
1050
- getFilterOptions: function (field) {
1051
- var options = {}, values = [];
1052
- for (var key in this.data) {
1053
- if (this.data[key][field] !== '') {
1054
- values.push(this.data[key][field]);
1055
- }
1056
- }
1057
- values.sort();
1058
- for (var i in values) {
1059
- if (values.hasOwnProperty(i)) {
1060
- var txt = this.stripTags(values[i]);
1061
- options[txt] = txt;
1062
- }
1063
- }
1064
- return options;
1065
- },
1066
-
1067
- /**
1068
- *
1069
- * Remove class, data and event on sort headers.
1070
- *
1071
- **/
1072
- destroySort: function () {
1073
- jQuery('thead th').removeClass('sorting sorting-asc sorting-desc')
1074
- .unbind('click.datatable')
1075
- .removeData('sort');
1076
- },
1077
-
1078
- /**
1079
- *
1080
- * Add class, event & data to headers according to this.options.sort or data-sort attribute
1081
- * of headers.
1082
- *
1083
- * @update options.sort Will be set to true if not already and a data-sort attribute is found.
1084
- *
1085
- **/
1086
- createSort: function () {
1087
- var dataTable = this;
1088
- if (!(this.options.sort instanceof Function)) {
1089
-
1090
- var countTH = 0;
1091
- var ths = this.table.tHead.rows[0].cells;
1092
- for (var i = 0; i < ths.length; ++i) {
1093
-
1094
- if (ths[i].dataset.sort) {
1095
- dataTable.options.sort = true;
1096
- }
1097
- else if (dataTable.options.sort === '*') {
1098
- ths[i].dataset.sort = countTH;
1099
- }
1100
- else {
1101
- var key;
1102
- if (dataTable.options.sort instanceof Array) {
1103
- key = countTH;
1104
- }
1105
- else if (dataTable.options.sort instanceof Object) {
1106
- key = dataTable._keys(dataTable.options.sort)[countTH];
1107
- }
1108
- if (key !== undefined && dataTable.options.sort[key]) {
1109
- ths[i].dataset.sort = key;
1110
- }
1111
- }
1112
-
1113
- if (ths[i].dataset.sort !== undefined) {
1114
- ths[i].classList.add('sorting');
1115
- }
1116
-
1117
- countTH++;
1118
-
1119
- ths[i].addEventListener('click', function () {
1120
- if (this.dataset.sort) {
1121
- if (this.classList.contains('sorting-asc')) {
1122
- dataTable.options.sortDir = 'desc';
1123
- this.classList.remove('sorting-asc')
1124
- this.classList.add('sorting-desc');
1125
- }
1126
- else if (this.classList.contains('sorting-desc')) {
1127
- dataTable.options.sortDir = 'asc';
1128
- this.classList.remove('sorting-desc');
1129
- this.classList.add('sorting-asc');
1130
- }
1131
- else {
1132
- var oths = this.parentNode.cells;
1133
- for (var j = 0; j < oths.length; j++) {
1134
- oths[j].classList.remove('sorting-desc');
1135
- oths[j].classList.remove('sorting-asc');
1136
- }
1137
- dataTable.options.sortDir = 'asc';
1138
- dataTable.options.sortKey = this.dataset.sort;
1139
- this.classList.add('sorting-asc');
1140
- }
1141
- dataTable.sort();
1142
- dataTable.refresh();
1143
- }
1144
- }, false);
1145
-
1146
- }
1147
-
1148
- }
1149
- },
1150
-
1151
- /**
1152
- *
1153
- * Trigger sort event on the table: If options.sort is a function,
1154
- * sort the table, otherwize trigger click on the column specifid by options.sortKey.
1155
- *
1156
- **/
1157
- triggerSort: function () {
1158
- if (this.options.sort instanceof Function) {
1159
- this.sort();
1160
- this.refresh();
1161
- }
1162
- else if (this.options.sortKey !== false) {
1163
- var ths = this.table.tHead.rows[0].cells;
1164
- var th;
1165
- for (var j = 0; j < ths.length; j++) {
1166
- ths[j].classList.remove('sorting-desc');
1167
- ths[j].classList.remove('sorting-asc');
1168
- if (ths[j].dataset.sort === this.options.sortKey) {
1169
- th = ths[j];
1170
- }
1171
- }
1172
- if (th !== undefined) {
1173
- th.classList.add('sorting-' + this.options.sortDir);
1174
- this.sort();
1175
- this.refresh();
1176
- }
1177
- }
1178
- },
1179
-
1180
- /**
1181
- *
1182
- * Sort the data.
1183
- *
1184
- * @update data
1185
- *
1186
- **/
1187
- sort: function (keepCurrentPage) {
1188
- var fnSort = this.getSortFunction();
1189
- if (fnSort !== false) {
1190
- this.data.sort(fnSort);
1191
- }
1192
- this.filter(keepCurrentPage);
1193
- },
1194
-
1195
- /**
1196
- *
1197
- * Try to identify the specified data with the specify identifier according
1198
- * to this.options.identify.
1199
- *
1200
- * @return true if the data match, false otherwize
1201
- *
1202
- **/
1203
- identify: function (id, data) {
1204
- if (this.options.identify === false) {
1205
- return false;
1206
- }
1207
- if (this.options.identify instanceof Function) {
1208
- return this.options.identify(id, data);
1209
- }
1210
- return data[this.options.identify] == id;
1211
- },
1212
-
1213
- /**
1214
- *
1215
- * Find the index of the first element matching id in the data array.
1216
- *
1217
- * @param The id to find (will be match according to this.options.identify)
1218
- *
1219
- * @return The index of the first element found, or -1 if no element is found
1220
- *
1221
- **/
1222
- indexOf: function (id) {
1223
- var index = -1;
1224
- for (var i = 0; i < this.data.length && index === -1; i++) {
1225
- if (this.identify(id, this.data[i])) {
1226
- index = i;
1227
- }
1228
- }
1229
- return index;
1230
- },
1231
-
1232
- /**
1233
- *
1234
- * Get an elements from the data array.
1235
- *
1236
- * @param id An identifier for the element (see this.options.identify)
1237
- *
1238
- **/
1239
- row: function (id) {
1240
- if (this.options.identify === true) {
1241
- return this.data[id];
1242
- }
1243
- return this.data[this.indexOf(id)];
1244
- },
1245
-
1246
- /**
1247
- *
1248
- * Retrieve all data.
1249
- *
1250
- *
1251
- **/
1252
- all: function (filter) {
1253
- if (typeof filter === "undefined"
1254
- || filter === true) {
1255
- return this.data;
1256
- }
1257
- var returnData = [];
1258
- for (var i = 0; i < this.data.length; ++i) {
1259
- if (filter(this.data[i])) {
1260
- returnData.push(this.data[i]);
1261
- }
1262
- }
1263
- return returnData;
1264
- },
1265
-
1266
- /**
1267
- *
1268
- * Add an element to the data array.
1269
- *
1270
- * @param data The element to add
1271
- *
1272
- * @update data
1273
- *
1274
- **/
1275
- addRow: function (data) {
1276
- this.data.push(data);
1277
- if (typeof this.syncData !== "undefined") {
1278
- this.syncData.toAdd.push(data);
1279
- }
1280
- this.sort();
1281
- this.filter();
1282
- this.currentStart = parseInt(this._index(this._index(data, this.data),
1283
- this.filterIndex)
1284
- / this.options.pageSize, 10) * this.options.pageSize;
1285
- this.refresh();
1286
- },
1287
-
1288
- /**
1289
- *
1290
- * Add elements to the data array.
1291
- *
1292
- * @param data Array of elements to add
1293
- *
1294
- * @update data
1295
- *
1296
- **/
1297
- addRows: function (data) {
1298
- this.data = this.data.concat(data);
1299
- if (typeof this.syncData !== "undefined") {
1300
- this.syncData.toAdd = this.syncData.toAdd.concat(data);
1301
- }
1302
- this.sort();
1303
- this.filter();
1304
- this.currentStart = parseInt(this._index(this._index(data, this.data),
1305
- this.filterIndex)
1306
- / this.options.pageSize, 10) * this.options.pageSize;
1307
- this.refresh();
1308
- },
1309
-
1310
- /**
1311
- *
1312
- * Remove an element from the data array.
1313
- *
1314
- * @param id An identifier for the element (see this.options.identify)
1315
- *
1316
- **/
1317
- deleteRow: function (id) {
1318
- var oldCurrentStart = this.currentStart;
1319
- var index = this.indexOf(id);
1320
- if (index === -1) {
1321
- console.log('No data found with id: ' + id);
1322
- return;
1323
- }
1324
- this.data.splice(index, 1);
1325
- if (typeof this.syncData !== "undefined") {
1326
- this.syncData.toDelete.push(id);
1327
- }
1328
- this.filter();
1329
- if (oldCurrentStart < this.filterIndex.length) {
1330
- this.currentStart = oldCurrentStart;
1331
- }
1332
- else {
1333
- this.currentStart = oldCurrentStart - this.options.pageSize;
1334
- if (this.currentStart < 0) { this.currentStart = 0; }
1335
- }
1336
- this.refresh();
1337
- },
1338
-
1339
- /**
1340
- *
1341
- * Delete all elements matching the filter arg.
1342
- *
1343
- **/
1344
- deleteAll: function (filter) {
1345
- var oldCurrentStart = this.currentStart
1346
- var newData = [];
1347
- if (typeof this.syncData !== "undefined") {
1348
- this.syncData.toDelete.push(filter);
1349
- }
1350
- for (var i = 0; i < this.data.length; ++i) {
1351
- if (!filter(this.data[i])) {
1352
- newData.push(this.data[i]);
1353
- }
1354
- }
1355
- this.data = newData;
1356
- this.filter();
1357
- if (oldCurrentStart < this.filterIndex.length) {
1358
- this.currentStart = oldCurrentStart;
1359
- }
1360
- else {
1361
- this.currentStart = oldCurrentStart - this.options.pageSize;
1362
- if (this.currentStart < 0) { this.currentStart = 0; }
1363
- }
1364
- this.refresh();
1365
- },
1366
-
1367
- /**
1368
- *
1369
- * Update an element in the data array. Will add the element if it is not found.
1370
- *
1371
- * @param id An identifier for the element (see this.options.identify)
1372
- * @param data The new data (identifier value will be set to id)
1373
- *
1374
- **/
1375
- updateRow: function (id, data) {
1376
- var index = this.indexOf(id);
1377
- if (typeof this.syncData !== "undefined") {
1378
- this.syncData.toUpdate[id] = data;
1379
- }
1380
- if (index !== -1) {
1381
- if (id in data) {
1382
- delete data[id];
1383
- }
1384
- for (var key in this.data[index]) {
1385
- if (key in data) {
1386
- this.data[index][key] = data[key];
1387
- }
1388
- }
1389
- this.sort();
1390
- this.filter();
1391
- this.currentStart = parseInt(this._index(this.indexOf(id),
1392
- this.filterIndex)
1393
- / this.options.pageSize, 10) * this.options.pageSize;
1394
- this.refresh();
1395
- }
1396
- },
1397
-
1398
- /**
1399
- *
1400
- * Change the current page and refresh.
1401
- *
1402
- * @param page The number of the page to load
1403
- *
1404
- * @update currentStart
1405
- *
1406
- **/
1407
- loadPage: function (page) {
1408
- var oldPage = this.currentStart / this.options.pageSize;
1409
- if (page < 1) {
1410
- page = 1;
1411
- }
1412
- else if (page > this.getLastPageNumber()) {
1413
- page = this.getLastPageNumber();
1414
- }
1415
- this.currentStart = (page - 1) * this.options.pageSize;
1416
- this.refresh();
1417
- this.options.onChange.call(this.table, oldPage + 1, page);
1418
- },
1419
-
1420
- /**
1421
- *
1422
- * @return The current page
1423
- *
1424
- **/
1425
- getCurrentPage: function () {
1426
- return this.currentStart / this.options.pageSize + 1;
1427
- },
1428
-
1429
- /**
1430
- *
1431
- * Refresh the page according to current page (DO NOT SORT).
1432
- * This function call options.lineFormat.
1433
- *
1434
- **/
1435
- refresh: function () {
1436
- this.options.beforeRefresh.call(this.table);
1437
- this.updatePaging();
1438
- this.updateCounter();
1439
- this.table.tBodies[0].innerHTML = "";
1440
- if (this.currentStart >= this.currentDataLength) {
1441
- this.table.tBodies[0].innerHTML = '<tr><td colspan="' + this.options.nbColumns + '">'
1442
- + '<div class="progress progress-striped active">'
1443
- + '<div class="bar" style="width: 100%;"></div>'
1444
- + '</div></div></tr>';
1445
- return;
1446
- }
1447
- for (var i = 0;
1448
- i < this.options.pageSize && i + this.currentStart < this.filterIndex.length;
1449
- i++) {
1450
- var index = this.filterIndex[this.currentStart + i];
1451
- var data = this.data[index];
1452
- this.table.tBodies[0].appendChild(this.options.lineFormat.call(this.table,
1453
- index, data));
1454
- }
1455
- this.options.afterRefresh.call(this.table);
1456
- },
1457
-
1458
- /**
1459
- *
1460
- * Set a option and refresh the table if necessary.
1461
- *
1462
- * @param key The name of the option to change
1463
- * @param val The new option value
1464
- *
1465
- * @update options
1466
- *
1467
- **/
1468
- setOption: function (key, val) {
1469
- if (key in this.options) {
1470
- this.options[key] = val;
1471
- if (key === 'sort') {
1472
- this.destroySort();
1473
- this.createSort();
1474
- this.triggerSort();
1475
- }
1476
- if (key === 'sortKey' || key === 'sortDir') {
1477
- this.sort();
1478
- }
1479
- if (key === 'filters') {
1480
- this.destroyFilter();
1481
- this.createFilter();
1482
- }
1483
- if (key === 'filterText') {
1484
- this.changePlaceHolder();
1485
- }
1486
- this.filter();
1487
- }
1488
- },
1489
-
1490
- /**
1491
- *
1492
- * Set a list of options and refresh the table if necessary.
1493
- *
1494
- * @param options A list of options to set (plain object)
1495
- *
1496
- * @update options
1497
- *
1498
- **/
1499
- setOptions: function (options) {
1500
- for (var key in options) {
1501
- if (key in this.options) {
1502
- this.options[key] = options[key];
1503
- }
1504
- }
1505
- if ('sort' in options) {
1506
- this.destroySort();
1507
- this.createSort();
1508
- this.triggerSort();
1509
- }
1510
- else if ('sortKey' in options || 'sortDir' in options) {
1511
- this.sort();
1512
- }
1513
- if ('filters' in options) {
1514
- this.destroyFilter();
1515
- this.createFilter();
1516
- }
1517
- if ('filterText' in options) {
1518
- this.changePlaceHolder();
1519
- }
1520
- this.filter();
1521
- },
1522
-
1523
- /**
1524
- *
1525
- * Remove all the elements added by the datatable.
1526
- *
1527
- **/
1528
- destroy: function () {
1529
- if (this.refreshTimeOut !== undefined) {
1530
- clearTimeout(this.refreshTimeOut);
1531
- }
1532
- this.destroySort();
1533
- for (var i = 0; i < this.pagingDivs.length; ++i) {
1534
- this.pagingDivs[i].classList.remove('pagination-datatable');
1535
- this.pagingDivs[i].classList.remove(this.options.pagingDivClass);
1536
- this.pagingDivs[i].innerHTML = '';
1537
- }
1538
- this.destroyFilter();
1539
- this.table.classList.remove(this.options.tableClass);
1540
- this.removeNode(this.table.tBodies[0]);
1541
- this.table.appendChild(document.createElement('tbody'));
1542
- for (var i = 0; i < this.data.length; i++) {
1543
- var index = this.filterIndex[this.currentStart + i];
1544
- var data = this.data[index];
1545
- this.table.tBodies[0].appendChild(this.options.lineFormat.call(this.table,
1546
- index, data));
1547
- }
1548
-
1549
- }
1550
- };
1551
-
1552
- /**
1553
- * Default option for DataTable.
1554
- *
1555
- */
1556
- DataTable.defaultOptions = {
1557
-
1558
- /**
1559
- * Specify whether the type of the column should be deduced or not. If this option
1560
- * is true, the type is not deduced (mainly here for backward compatibility).
1561
- *
1562
- * @see dataTypes
1563
- */
1564
- forceStrings: false,
1565
-
1566
- /**
1567
- * Specify the class of the table.
1568
- *
1569
- */
1570
- tableClass: 'datatable',
1571
-
1572
- /**
1573
- * Specify the selector for the paging div element.
1574
- *
1575
- */
1576
- pagingDivSelector: '.paging',
1577
-
1578
- /**
1579
- * Specify the class for the paging div element.
1580
- *
1581
- */
1582
- pagingDivClass: 'text-center',
1583
-
1584
- /**
1585
- * Specify the class for the paging list element.
1586
- *
1587
- */
1588
- pagingListClass: 'pagination',
1589
-
1590
- /**
1591
- * Specify the class for the paging list item elements.
1592
- *
1593
- */
1594
- pagingItemClass: '',
1595
-
1596
- /**
1597
- * Specify the class for the paging list link elements.
1598
- *
1599
- */
1600
- pagingLinkClass: '',
1601
-
1602
- /**
1603
- * Specify the href attribute for the paging list link elements.
1604
- *
1605
- */
1606
- pagingLinkHref: '',
1607
-
1608
- /**
1609
- * Specify the tabindex attribute for the paging list link elements when
1610
- * disabled.
1611
- *
1612
- */
1613
- pagingLinkDisabledTabIndex: false,
1614
-
1615
- /**
1616
- * Specify the selector for the counter div element.
1617
- *
1618
- * @see counterText
1619
- */
1620
- counterDivSelector: '.counter',
1621
-
1622
- /**
1623
- * Specify the selector the loading div element.
1624
- *
1625
- * @see data
1626
- */
1627
- loadingDivSelector: '.loading',
1628
-
1629
- /**
1630
- * Sepcify the sort options.
1631
- *
1632
- * @type boolean|string|Array|Object
1633
- */
1634
- sort: false,
1635
-
1636
- /**
1637
- * Specify the default sort key.
1638
- *
1639
- * @type boolean|int|string.
1640
- */
1641
- sortKey: false,
1642
-
1643
- /**
1644
- * Specify the default sort directions, 'asc' or 'desc'.
1645
- *
1646
- */
1647
- sortDir: 'asc',
1648
-
1649
- /**
1650
- * Specify the number of columns, a value of -1 (default) specify
1651
- * the the number of columns should be retrieved for the <thead>
1652
- * elements of the table.
1653
- *
1654
- */
1655
- nbColumns: -1,
1656
-
1657
- /**
1658
- * Specify the number of elements to display per page.
1659
- *
1660
- */
1661
- pageSize: 20,
1662
-
1663
- /**
1664
- * Specify the number of pages to display in the paging list element.
1665
- *
1666
- */
1667
- pagingNumberOfPages: 9,
1668
-
1669
- /**
1670
- * Specify the way of identifying items from the data array:
1671
- *
1672
- * - if this option is false (default), no identification is provided.
1673
- * - if a Function is specified, the function is used to identify:
1674
- * function (id, item) -> boolean
1675
- * - if an int or a string is specified, items are identified by the
1676
- * value corresponding to the key.
1677
- *
1678
- * @type boolean|int|string|Function.
1679
- *
1680
- */
1681
- identify: false,
1682
-
1683
- /**
1684
- * Callback function when the table is updated.
1685
- *
1686
- */
1687
- onChange: function (oldPage, newPage) { },
1688
-
1689
- /**
1690
- * Function used to generate content for the counter div element.
1691
- *
1692
- */
1693
- counterText: function (currentPage, totalPage,
1694
- firstRow, lastRow,
1695
- totalRow, totalRowUnfiltered) {
1696
- var counterText = 'Page ' + currentPage + ' on ' + totalPage
1697
- + '. Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries';
1698
- if (totalRow != totalRowUnfiltered) {
1699
- counterText += ' (filtered from ' + totalRowUnfiltered + ' total entries)';
1700
- }
1701
- counterText += '.';
1702
- return counterText;
1703
- },
1704
-
1705
- /**
1706
- * Content of the paging item pointing to the first page.
1707
- *
1708
- */
1709
- firstPage: '&lt;&lt;',
1710
-
1711
- /**
1712
- * Content of the paging item pointing to the previous page.
1713
- *
1714
- */
1715
- prevPage: '&lt;',
1716
-
1717
- /**
1718
- *
1719
- */
1720
- pagingPages: false,
1721
-
1722
- /**
1723
- * Content of the paging item pointing to the next page.
1724
- *
1725
- */
1726
- nextPage: '&gt;',
1727
-
1728
- /**
1729
- * Content of the paging item pointing to the last page.
1730
- *
1731
- */
1732
- lastPage: '&gt;&gt;',
1733
-
1734
- /**
1735
- * Specify the type of the columns:
1736
- *
1737
- * - if false, the type is not deduced and values are treated as strings.
1738
- * - if true, the type is deduced automatically.
1739
- * - if an Array is specified, the type of each column is retrieve from the
1740
- * array values, possible values are 'int', 'float' <> 'double', 'date' <> 'datetime',
1741
- * false <> true <> 'string' <> 'str'. A function can also be specified to convert
1742
- * the value.
1743
- *
1744
- * @see forceStrings
1745
- *
1746
- */
1747
- dataTypes: true,
1748
-
1749
- /**
1750
- * Specify the filter options.
1751
- *
1752
- */
1753
- filters: {},
1754
-
1755
- /**
1756
- * Specify the placeholder for the textual input filters.
1757
- */
1758
- filterText: 'Search... ',
1759
-
1760
- /**
1761
- * Specify the placeholder for the select input filters.
1762
- */
1763
- filterEmptySelect: '',
1764
-
1765
- /**
1766
- *
1767
- */
1768
- filterSelectOptions: false,
1769
-
1770
- /**
1771
- *
1772
- */
1773
- filterInputClass: 'form-control',
1774
-
1775
- /**
1776
- *
1777
- */
1778
- filterSelectClass: 'form-control',
1779
-
1780
- /**
1781
- * Callback function before the display is reloaded.
1782
- *
1783
- */
1784
- beforeRefresh: function () { },
1785
-
1786
- /**
1787
- * Callback function after the display has been reloaded.
1788
- *
1789
- */
1790
- afterRefresh: function () { },
1791
-
1792
- /**
1793
- * Function used to generate the row of the table.
1794
- *
1795
- */
1796
- lineFormat: function (id, data) {
1797
- var res = document.createElement('tr');
1798
- res.dataset.id = id;
1799
- for (var key in data) {
1800
- if (data.hasOwnProperty(key)) {
1801
- res.innerHTML += '<td>' + data[key] + '</td>';
1802
- }
1803
- }
1804
- return res;
1805
- }
1806
- };
1807
-
1808
- DataTable.defaultAjaxOptions = {
1809
- url: null,
1810
- size: null,
1811
- refresh: false,
1812
- allInOne: false,
1813
- timeout: 2000
1814
- };
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/front.js DELETED
@@ -1,141 +0,0 @@
1
- jQuery(document).on("submit", ".order_track_form", function(){
2
- var form = jQuery(this);
3
- var error;
4
- var order_id = form.find("#order_id");
5
- var order_email = form.find("#order_email");
6
-
7
- if( order_id.val() === '' ){
8
- showerror( order_id );error = true;
9
- } else{
10
- hideerror(order_id);
11
- }
12
- if(order_email.val() == '' ){
13
- showerror(order_email);error = true;
14
- } else {
15
- hideerror(order_email);
16
- }
17
-
18
- if(error == true){
19
- return false;
20
- }
21
-
22
- jQuery(".order_track_form").block({
23
- message: null,
24
- overlayCSS: {
25
- background: "#fff",
26
- opacity: .6
27
- }
28
- });
29
-
30
- jQuery.ajax({
31
- url: zorem_ajax_object.ajax_url,
32
- data: form.serialize(),
33
- type: 'POST',
34
- dataType: "json",
35
- success: function(response) {
36
- if(response.success == 'true'){
37
- jQuery('.track-order-section').replaceWith(response.html);
38
- } else{
39
- jQuery(".track_fail_msg").text(response.message);
40
- jQuery(".track_fail_msg").show();
41
- }
42
- jQuery(".order_track_form").unblock();
43
- },
44
- error: function(jqXHR, exception) {
45
- if(jqXHR.status == 302){
46
- jQuery(".track_fail_msg").show();
47
- jQuery(".track_fail_msg").text('Tracking details not found.');
48
- jQuery(".order_track_form").unblock();
49
- } else{
50
- jQuery(".track_fail_msg").show();
51
- jQuery(".track_fail_msg").text('There are some issue with Trackship.');
52
- jQuery(".order_track_form").unblock();
53
- }
54
-
55
- }
56
- });
57
- return false;
58
- });
59
- jQuery(document).on("click", ".back_to_tracking_form", function(){
60
- jQuery('.tracking-detail').hide();
61
- jQuery('.track-order-section').show();
62
- });
63
- jQuery(document).on("click", ".view_table_rows", function(){
64
- jQuery(this).hide();
65
- jQuery(this).closest('.shipment_progress_div').find('.hide_table_rows').show();
66
- jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').show();
67
- });
68
- jQuery(document).on("click", ".hide_table_rows", function(){
69
- jQuery(this).hide();
70
- jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
71
- jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
72
- });
73
-
74
- jQuery(document).on("click", ".view_old_details", function(){
75
- jQuery(this).hide();
76
- jQuery(this).closest('.tracking-details').find('.hide_old_details').show();
77
- jQuery(this).closest('.tracking-details').find('.old-details').fadeIn();
78
- });
79
- jQuery(document).on("click", ".hide_old_details", function(){
80
- jQuery(this).hide();
81
- jQuery(this).closest('.tracking-details').find('.view_old_details').show();
82
- jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
83
- });
84
-
85
- jQuery(document).on("click", ".view_destination_old_details", function(){
86
- jQuery(this).hide();
87
- jQuery(this).closest('.tracking-details').find('.hide_destination_old_details').show();
88
- jQuery(this).closest('.tracking-details').find('.old-destination-details').fadeIn();
89
- });
90
- jQuery(document).on("click", ".hide_destination_old_details", function(){
91
- jQuery(this).hide();
92
- jQuery(this).closest('.tracking-details').find('.view_destination_old_details').show();
93
- jQuery(this).closest('.tracking-details').find('.old-destination-details').fadeOut();
94
- });
95
-
96
- function showerror(element){
97
- element.css("border-color","red");
98
- }
99
- function hideerror(element){
100
- element.css("border-color","");
101
- }
102
-
103
- jQuery(document).on("click", ".open_tracking_lightbox", function(){
104
-
105
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").block({
106
- message: null,
107
- overlayCSS: {
108
- background: "#fff",
109
- opacity: .6
110
- }
111
- });
112
-
113
- var order_id = jQuery(this).data('order');
114
- var tracking_number = jQuery(this).data('tracking');
115
-
116
- var ajax_data = {
117
- action: 'ts_open_tracking_lightbox',
118
- order_id: order_id,
119
- tracking_number: tracking_number,
120
- security : jQuery(this).attr('wp_nonce'),
121
- };
122
-
123
- jQuery.ajax({
124
- url: zorem_ajax_object.ajax_url,
125
- data: ajax_data,
126
- type: 'POST',
127
- success: function(response) {
128
- jQuery(".ts_tracking_popup .popuprow").html(response);
129
- jQuery('.ts_tracking_popup').show();
130
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").unblock();
131
- },
132
- error: function(response) {
133
- jQuery(".tracking_info,.my_account_tracking,.fluid_section").unblock();
134
- }
135
- });
136
-
137
- });
138
-
139
- jQuery(document).on("click", ".popupclose", function(){
140
- jQuery('.ts_tracking_popup').hide();
141
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/hip.js ADDED
@@ -0,0 +1,341 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*!
2
+ * jQuery HTML ITEM PAGINATION
3
+ * Version : 1.2.0
4
+ * Author: Arifuzzaman Pranto (llxx_lord_xxll)
5
+ * A library to create paginated html elements
6
+ * Copyright:- Backspace Global
7
+ *
8
+ * Date: 2019-11-20
9
+ */
10
+
11
+ jQuery.fn.hip = function(param) {
12
+ var itemsPerRow = 4;
13
+ var itemsPerPage = 12;
14
+ var itemGaps = '7.5px';
15
+ var paginationPos = "center"; //in PX
16
+ var itemHeight = "auto";
17
+ var dynItemsPerRow;
18
+ var itemPerRowString = "";
19
+ var HSitemPerRowString = "";
20
+ var SMitemPerRowString = "";
21
+ var MDitemPerRowString = "";
22
+ var LGitemPerRowString = "";
23
+ var filter = false;
24
+ var filterPos = "center";
25
+ var filterText = "Search";
26
+
27
+ var rowPerPageString = "";
28
+ var HSrowPerPageString = "";
29
+ var SMrowPerPageString = "";
30
+ var MDrowPerPageString = "";
31
+ var LGrowPerPageString = "";
32
+ var objects = jQuery(this);
33
+
34
+ if(objects.length>0){
35
+ if (param != null){
36
+ if (param.hasOwnProperty('itemsPerRow')) itemsPerRow = param.itemsPerRow;
37
+ if (param.hasOwnProperty('itemsPerPage')) itemsPerPage = param.itemsPerPage;
38
+ if (param.hasOwnProperty('itemGaps')) itemGaps = param.itemGaps;
39
+ if (param.hasOwnProperty('paginationPos')) paginationPos = param.paginationPos;
40
+ if (param.hasOwnProperty('itemHeight')) itemHeight = param.itemHeight;
41
+ if (param.hasOwnProperty('filter')) filter = param.filter;
42
+ if (param.hasOwnProperty('filterPos')) filterPos = param.filterPos;
43
+ if (param.hasOwnProperty('filterText')) filterText = param.filterText;
44
+ }
45
+ dynItemsPerRow = {hs:itemsPerRow,sm:itemsPerRow,md:itemsPerRow,lg:itemsPerRow};
46
+ if (param != null) {
47
+ if (param.hasOwnProperty('dynItemsPerRow')) {
48
+ if (param.dynItemsPerRow.hasOwnProperty('hs')) dynItemsPerRow.hs = param.dynItemsPerRow.hs;
49
+ if (param.dynItemsPerRow.hasOwnProperty('sm')) dynItemsPerRow.sm = param.dynItemsPerRow.sm;
50
+ if (param.dynItemsPerRow.hasOwnProperty('md')) dynItemsPerRow.md = param.dynItemsPerRow.md;
51
+ if (param.dynItemsPerRow.hasOwnProperty('lg')) dynItemsPerRow.lg = param.dynItemsPerRow.lg;
52
+ }
53
+ }
54
+
55
+ for(var i = 0; i<itemsPerRow; i++)
56
+ itemPerRowString += 100/itemsPerRow + "% ";
57
+
58
+ for(var i = 0; i<dynItemsPerRow.hs; i++) HSitemPerRowString += 100/dynItemsPerRow.hs + "% ";
59
+ for(var i = 0; i<dynItemsPerRow.sm; i++) SMitemPerRowString += 100/dynItemsPerRow.sm + "% ";
60
+ for(var i = 0; i<dynItemsPerRow.md; i++) MDitemPerRowString += 100/dynItemsPerRow.md + "% ";
61
+ for(var i = 0; i<dynItemsPerRow.lg; i++) LGitemPerRowString += 100/dynItemsPerRow.lg + "% ";
62
+
63
+ for(var i = 0; i<Math.ceil(itemsPerPage/itemsPerRow); i++)
64
+ rowPerPageString += itemHeight + " ";
65
+
66
+ for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.hs); i++) HSrowPerPageString += itemHeight + " ";
67
+ for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.sm); i++) SMrowPerPageString += itemHeight + " ";
68
+ for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.md); i++) MDrowPerPageString += itemHeight + " ";
69
+ for(var i = 0; i<Math.ceil(itemsPerPage/dynItemsPerRow.lg); i++) LGrowPerPageString += itemHeight + " ";
70
+
71
+
72
+ var head = jQuery("head");
73
+ /* head.prepend('<style>'+
74
+ '@media (min-width: 480px) {\n' +
75
+ ' .hip-grid{\n' +
76
+ ' grid-template-columns: '+HSitemPerRowString+';\n' +
77
+ 'grid-template-rows: '+ HSrowPerPageString +
78
+ ' }\n' +
79
+ '}\n' +
80
+ '@media (min-width: 768px) {\n' +
81
+ ' .hip-grid{\n' +
82
+ ' grid-template-columns: '+SMitemPerRowString+';\n' +
83
+ 'grid-template-rows: '+ SMrowPerPageString +
84
+ ' }\n' +
85
+ '}\n' +
86
+ '@media (min-width: 992px) {\n' +
87
+ ' .hip-grid{\n' +
88
+ ' grid-template-columns: '+MDitemPerRowString+';\n' +
89
+ 'grid-template-rows: '+ MDrowPerPageString +
90
+ ' }\n' +
91
+ '}\n' +
92
+ '@media (min-width: 1200px) {\n' +
93
+ ' .hip-grid{\n' +
94
+ ' grid-template-columns: '+LGitemPerRowString+';\n' +
95
+ 'grid-template-rows: '+ LGrowPerPageString +
96
+ ' }\n' +
97
+ '}'
98
+ + '</style>');*/
99
+
100
+ head.prepend('<style>' +
101
+ /*'.hip-grid{\n' +
102
+ ' display: grid;\n' +
103
+ ' grid-gap: '+itemGaps+'px;\n' +
104
+ 'grid-template-columns: '+ itemPerRowString + ";" +
105
+ 'grid-template-rows: '+ rowPerPageString +
106
+ '}\n' +*/
107
+ '.hip-pagination{text-align: '+paginationPos+';}' +
108
+ '.hip-pagination {\n' +
109
+ ' display: block;\n' +
110
+ '}\n' +
111
+ '.hip-pagination a {\n' +
112
+ 'color: black;\n' +
113
+ ' padding: 8px 16px;\n' +
114
+ ' text-decoration: none;\n' +
115
+ '}\n' +
116
+ '.hip-pagination a.active {\n' +
117
+ ' font-weight: bold;\n' +
118
+ '}' +
119
+ '.hip-item{padding: '+itemGaps+';}' +
120
+ '.hip-item-hidden, .hip-item-out{display: none !important;}' +
121
+ '</style>');
122
+
123
+ objects.attr('data-item-per-page',itemsPerPage);
124
+ objects.addClass("hip-grid");
125
+
126
+ jQuery.each( objects, function( key,curObj ) {
127
+
128
+ //Pagination
129
+ var hip_item_length = jQuery(curObj).find(".hip-item").length;
130
+ var page_length = Math.ceil(hip_item_length/itemsPerPage);
131
+ var pagination = '<div class="hip-pagination">';
132
+ for (var i = 1; i<=page_length; i++)
133
+ {
134
+ if (i===1)
135
+ pagination += '<a class="active" href="#'+i+'">'+i+'</a>';
136
+ else
137
+ pagination += '<a href="#'+i+'">'+i+'</a>';
138
+ }
139
+ pagination += '</div>';
140
+ jQuery(curObj).after(pagination);
141
+ jQuery(curObj).attr('data-cur-page','1');
142
+ showPage(curObj);
143
+
144
+ if(filter){
145
+
146
+ jQuery(curObj).before('<div class="hip-filter">\n' +
147
+ ' <label class="hip-search">\n' +
148
+ ' <input class="hip-search-input" type="text" placeholder="'+filterText+'"/>\n' +
149
+ ' </label>\n' +
150
+ '</div>');
151
+
152
+ head.prepend("<style>\n" +
153
+ " .hip-filter{\n" +
154
+ " width: 100%;\n" +
155
+ " text-align: "+filterPos+";\n" +
156
+ " }\n" +
157
+ " .hip-search {\n" +
158
+ " display: inline-block;\n" +
159
+ " position: relative;\n" +
160
+ " height: 35px;\n" +
161
+ " width: 80px;\n" +
162
+ " box-sizing: border-box;\n" +
163
+ " margin: 0px 8px 7px 0px;\n" +
164
+ " padding: 5px 9px 0px 9px;\n" +
165
+ " border: 3px solid ;\n" +
166
+ " border-radius: 25px;\n" +
167
+ " transition: all 200ms ease;\n" +
168
+ " cursor: text;\n" +
169
+ " }\n" +
170
+ " .hip-search:after {\n" +
171
+ " content: \"\";\n" +
172
+ " position: absolute;\n" +
173
+ " width: 3px;\n" +
174
+ " height: 20px;\n" +
175
+ " right: -5px;\n" +
176
+ " top: 21px;\n" +
177
+ " background: ;\n" +
178
+ " border-radius: 3px;\n" +
179
+ " transform: rotate(-45deg);\n" +
180
+ " transition: all 200ms ease;\n" +
181
+ " }\n" +
182
+ " .hip-search.active, .hip-search:hover {\n" +
183
+ " width: 200px;\n" +
184
+ " margin-right: 0px;\n" +
185
+ " }\n" +
186
+ " .hip-search.active:after, .hip-search:hover:after {\n" +
187
+ " height: 0px;\n" +
188
+ " }\n" +
189
+ " .hip-search input { " +
190
+ " width: 100% !important;\n" +
191
+ " border: none !important;\n" +
192
+ " box-sizing: border-box !important;\n" +
193
+ " font-family: Helvetica;\n" +
194
+ " font-size: 15px;\n" +
195
+ " color: inherit !important;\n" +
196
+ " background: transparent !important;\n" +
197
+ " outline-width: 0px;\n" +
198
+ " padding: 0 !important;\n" +
199
+ " margin: 0 !important;}" +
200
+ "</style>");
201
+ }
202
+ //Filters
203
+ });
204
+
205
+ } else {
206
+ throw new Error('Element not found');
207
+ }
208
+
209
+ return this; // This is needed so other functions can keep chaining off of this
210
+ };
211
+
212
+ function showPage(elem) {
213
+ var pageToShow = jQuery(elem).attr('data-cur-page');
214
+ var itemsPerPage = jQuery(elem).attr('data-item-per-page');
215
+ var hip_items = jQuery(elem).find(".hip-item").not(".hip-item-out");
216
+ var objPagination = jQuery(this).next();
217
+ var minLim = (pageToShow-1) * itemsPerPage;
218
+ var maxLim = (pageToShow * itemsPerPage) - 1;
219
+
220
+ jQuery(elem).find(".hip-item").addClass("hip-item-hidden");
221
+
222
+ for (var i=0; i<hip_items.length;i++){
223
+ if (i>=minLim && i<= maxLim){
224
+ jQuery(hip_items[i]).removeClass("hip-item-hidden");
225
+ }
226
+ }
227
+ }
228
+
229
+
230
+ jQuery(document).on('click','.hip-pagination a',function (e) {
231
+ e.preventDefault();
232
+ var hip_elem = jQuery(this).parent().prev(".hip-grid");
233
+
234
+ var curPage = hip_elem.attr('data-cur-page');
235
+ var itemsPerPage = hip_elem.attr('data-item-per-page');
236
+ var hip_item_length = hip_elem.find(".hip-item").length;
237
+ var page_length = Math.ceil(hip_item_length/itemsPerPage);
238
+ var pageToShow = jQuery(this).attr('href').toString().replace("#","");
239
+ jQuery('.hip-pagination a').removeClass("active");
240
+
241
+ if (pageToShow==="prev"){
242
+ if (!isNaN(curPage) && parseInt(curPage)>1) {
243
+ hip_elem.attr('data-cur-page',parseInt(curPage) - 1);
244
+ jQuery(this).parent().find("a").removeClass("active");
245
+ jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) - 1) + "']").addClass("active");
246
+
247
+ }
248
+ }
249
+ else if (pageToShow==="next"){
250
+ if (!isNaN(curPage) && parseInt(curPage)<page_length) {
251
+ hip_elem.attr('data-cur-page',parseInt(curPage) + 1);
252
+ jQuery(this).parent().find("a").removeClass("active");
253
+ jQuery(this).parent().find("a[hrefjQuery='#" + (parseInt(curPage) + 1) + "']").addClass("active");
254
+ }
255
+ }
256
+ else if (!isNaN(pageToShow) && parseInt(pageToShow)<=page_length) {
257
+ hip_elem.attr('data-cur-page',parseInt(pageToShow));
258
+ jQuery(this).parent().find("a").removeClass("active");
259
+ jQuery(this).parent().find("a[hrefjQuery='#" + parseInt(pageToShow) + "']").addClass("active");
260
+ }
261
+ jQuery(this).addClass("active");
262
+ showPage(hip_elem);
263
+ });
264
+
265
+ jQuery(".hip-search-input").on('focus', function () {
266
+ jQuery(this).parent('label').addClass('active');
267
+ });
268
+
269
+ jQuery(".hip-search-input").on('blur', function () {
270
+ if(jQuery(this).val().length == 0)
271
+ jQuery(this).parent('label').removeClass('active');
272
+ });
273
+
274
+ jQuery(document).on('keyup','.hip-search-input', function () {
275
+ var obj = jQuery(this).parent().parent().next();
276
+ var objPagination = jQuery(this).parent().parent().next().next();
277
+ var itemsPerPage = obj.attr('data-item-per-page');
278
+ var items = obj.find(".hip-item");
279
+ var filteredLen = Math.ceil(getFilteredCount(items,jQuery(this).val())/itemsPerPage);
280
+
281
+ console.log(filteredLen);
282
+ if (jQuery(this).val()===""){
283
+ objPagination.find("a").not(":first").not(":last").removeClass("hip-item-hidden");
284
+ }
285
+ else {
286
+ objPagination.find("a").not(":first").not(":last").each(function (index,item) {
287
+ if (index <= (filteredLen -1)){
288
+ jQuery(item).removeClass("hip-item-hidden");
289
+ }
290
+ else {
291
+ jQuery(item).addClass("hip-item-hidden");
292
+ }
293
+ });
294
+ }
295
+ // var input = jQuery(this);
296
+ // var itemlen = 0;
297
+ // items.css('display','none');
298
+
299
+ objPagination.find("a[hrefjQuery='#1']").click();
300
+ });
301
+
302
+ //The core filtering engine
303
+ function getFilteredCount(items,query) {
304
+ var init_filter = 0;
305
+ var value = query.toLowerCase();
306
+ items.filter(function() {
307
+ var tags = jQuery(this).attr('data-tags');
308
+ if(typeof tags !== "undefined")
309
+ {
310
+ var tagret = false;
311
+ tags = tags.toLowerCase().split(" ");
312
+ jQuery.each(tags,function (index,item) {
313
+ if (item===value){
314
+ tagret = true;
315
+ }
316
+ });
317
+
318
+ if (tagret)
319
+ {
320
+ init_filter++;
321
+ jQuery(this).removeClass("hip-item-out");
322
+ }
323
+ else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
324
+ init_filter++;
325
+ jQuery(this).removeClass("hip-item-out");
326
+ }
327
+ else {
328
+ jQuery(this).addClass("hip-item-out");
329
+ }
330
+ }
331
+ else if (jQuery(this).html().trim().toLowerCase().indexOf(value) > -1){
332
+ init_filter++;
333
+ jQuery(this).removeClass("hip-item-out");
334
+ }
335
+ else {
336
+ jQuery(this).addClass("hip-item-out");
337
+ }
338
+ });
339
+
340
+ return init_filter;
341
+ }
assets/js/preview-scripts.js CHANGED
@@ -1,16 +1,7 @@
1
  ( function( $ ) {
2
  $('.hide').hide();
3
- /* Hide/Show Header */
4
- wp.customize( 'tracking_info_settings[display_shipment_provider_image]', function( value ) {
5
- value.bind( function( to ) {
6
- if( to ){
7
- $( '.tracking-provider img' ).show();
8
- }
9
- else{
10
- $( '.tracking-provider img' ).hide();
11
- }
12
- });
13
- });
14
  wp.customize( 'tracking_info_settings[remove_date_from_tracking]', function( value ) {
15
  value.bind( function( remove_date_from_tracking ) {
16
  if( remove_date_from_tracking ){
@@ -20,28 +11,7 @@
20
  $( '.date-shipped' ).show();
21
  }
22
  });
23
- });
24
-
25
- wp.customize( 'tracking_info_settings[show_track_label]', function( value ) {
26
- value.bind( function( show_track_label ) {
27
- if( show_track_label ){
28
- $( 'span.track_label' ).show();
29
- }
30
- else{
31
- $( 'span.track_label' ).hide();
32
- }
33
- });
34
- });
35
-
36
- wp.customize( 'tracking_info_settings[hide_trackig_header]', function( value ) {
37
- value.bind( function( hide_trackig_header ) {
38
- if( hide_trackig_header ){
39
- $( '.header_text' ).hide();
40
- } else{
41
- $( '.header_text' ).show();
42
- }
43
- });
44
- });
45
 
46
  wp.customize( 'tracking_info_settings[header_text_change]', function( value ) {
47
  value.bind( function( header_text ) {
@@ -62,17 +32,6 @@
62
  }
63
  });
64
  });
65
-
66
- wp.customize( 'tracking_info_settings[hide_table_header]', function( value ) {
67
- value.bind( function( hide_table_header ) {
68
- if( hide_table_header ){
69
- $( '.tracking_table thead' ).hide();
70
- }
71
- else{
72
- $( '.tracking_table thead' ).show();
73
- }
74
- });
75
- });
76
 
77
  wp.customize( 'tracking_info_settings[provider_header_text]', function( value ) {
78
  value.bind( function( provider_header_text ) {
@@ -206,44 +165,18 @@
206
  $( '.tracking_table td a' ).css( 'background-color',tracking_link_bg_color );
207
  } );
208
  } );
209
- wp.customize( 'tracking_info_settings[tracking_link_border]', function( setting ) {
210
- /* Deferred callback for when setting exists */
211
- setting.bind( function( tracking_link_border ) {
212
- /* Update callback for setting change */
213
- if( tracking_link_border ){
214
- $( '.tracking_table td a' ).css( 'text-decoration','underline' );
215
- }
216
- else{
217
- $( '.tracking_table td a' ).css( 'text-decoration','unset' );
218
- }
219
- } );
220
- } );
221
  wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
222
  value.bind( function( table_content_line_height ) {
223
  $( '.tracking_table tbody' ).css( 'line-height',table_content_line_height+'px' );
224
  });
225
  });
 
226
  wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
227
  value.bind( function( table_content_font_weight ) {
228
  $( '.tracking_table td' ).css( 'font-weight',table_content_font_weight );
229
  });
230
- });
231
-
232
- wp.customize( 'woocommerce_customer_delivered_order_settings[heading]', function( value ) {
233
- value.bind( function( wcast_delivered_email_heading ) {
234
-
235
- var str = wcast_delivered_email_heading;
236
- var res = str.replace("{site_title}", wcast_preview.site_title);
237
-
238
- var res = res.replace("{order_number}", wcast_preview.order_number);
239
-
240
- if( wcast_delivered_email_heading ){
241
- $( '#header_wrapper h1' ).text(res);
242
- } else{
243
- $( '#header_wrapper h1' ).text('');
244
- }
245
- });
246
- });
247
 
248
  wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
249
  value.bind( function( wcast_partial_shipped_email_heading ) {
@@ -277,112 +210,6 @@
277
  });
278
  });
279
 
280
-
281
- wp.customize( 'remove_trackship_branding', function( value ) {
282
- value.bind( function( remove_trackship_branding ) {
283
- if( remove_trackship_branding ){
284
- $( '.trackship_branding' ).hide();
285
- }
286
- else{
287
- $( '.trackship_branding' ).show();
288
- }
289
- });
290
- });
291
-
292
- wp.customize( 'tpage_primary_color', function( setting ) {
293
- /* Deferred callback for when setting exists */
294
- setting.bind( function( tpage_primary_color ) {
295
- /* Update callback for setting change */
296
- $( '.bg-secondary' ).css( 'background-color',tpage_primary_color );
297
- $( '.tracker-progress-bar-with-dots .secondary .dot' ).css( 'border-color',tpage_primary_color );
298
- $( '.text-secondary' ).css( 'color',tpage_primary_color );
299
- } );
300
- } );
301
-
302
- wp.customize( 'tpage_success_color', function( setting ) {
303
- /* Deferred callback for when setting exists */
304
- setting.bind( function( tpage_success_color ) {
305
- /* Update callback for setting change */
306
- $( '.bg-success' ).css( 'background-color',tpage_success_color );
307
- $( '.tracker-progress-bar-with-dots .success .dot' ).css( 'border-color',tpage_success_color );
308
- $( '.text-success' ).css( 'color',tpage_success_color );
309
- } );
310
- } );
311
-
312
- wp.customize( 'tpage_warning_color', function( setting ) {
313
- /* Deferred callback for when setting exists */
314
- setting.bind( function( tpage_warning_color ) {
315
- /* Update callback for setting change */
316
- $( '.bg-warning' ).css( 'background-color',tpage_warning_color );
317
- $( '.tracker-progress-bar-with-dots .warning .dot' ).css( 'border-color',tpage_warning_color );
318
- $( '.text-warning' ).css( 'color',tpage_warning_color );
319
- } );
320
- } );
321
-
322
- wp.customize( 'tpage_border_color', function( setting ) {
323
- /* Deferred callback for when setting exists */
324
- setting.bind( function( tpage_border_color ) {
325
- /* Update callback for setting change */
326
- $( '.col.tracking-detail' ).css( 'border','1px solid'+tpage_border_color );
327
- } );
328
- } );
329
-
330
- wp.customize( 'tracking_info_width', function( setting ) {
331
- /* Deferred callback for when setting exists */
332
- setting.bind( function( tracking_info_width ) {
333
- /* Update callback for setting change */
334
- $( '.col.tracking-detail' ).css( 'width',tracking_info_width+'px' );
335
- } );
336
- } );
337
-
338
- wp.customize( 'table_margin_top_bottom', function( setting ) {
339
- /* Deferred callback for when setting exists */
340
- setting.bind( function( table_margin_top_bottom ) {
341
- /* Update callback for setting change */
342
- $( '.col.tracking-detail' ).css( 'margin',table_margin_top_bottom+'px auto' );
343
- } );
344
- } );
345
-
346
- wp.customize( 'tdetails_border_color', function( setting ) {
347
- /* Deferred callback for when setting exists */
348
- setting.bind( function( tdetails_border_color ) {
349
- /* Update callback for setting change */
350
- $( '.tracking-details' ).css( 'border-color',tdetails_border_color );
351
- } );
352
- } );
353
-
354
- wp.customize( 'tinfo_shade_color', function( setting ) {
355
- /* Deferred callback for when setting exists */
356
- setting.bind( function( tinfo_shade_color ) {
357
- /* Update callback for setting change */
358
- $( '.bg-gray-100' ).css( 'background-color',tinfo_shade_color );
359
- } );
360
- } );
361
-
362
- wp.customize( 'tevents_font_color', function( setting ) {
363
- /* Deferred callback for when setting exists */
364
- setting.bind( function( tevents_font_color ) {
365
- /* Update callback for setting change */
366
- $( '.text-gray-300' ).css( 'color',tevents_font_color );
367
- } );
368
- } );
369
-
370
- wp.customize( 'wcast_failure_email_heading', function( value ) {
371
- value.bind( function( wcast_failure_email_heading ) {
372
-
373
- var str = wcast_failure_email_heading;
374
- var res = str.replace("{site_title}", wcast_preview.site_title);
375
-
376
- var res = res.replace("{order_number}", wcast_preview.order_number);
377
-
378
- if( wcast_failure_email_heading ){
379
- $( '#header_wrapper h1' ).text(res);
380
- } else{
381
- $( '#header_wrapper h1' ).text('');
382
- }
383
- });
384
- });
385
-
386
  wp.customize( 'tracking_info_settings[simple_provider_font_size]', function( setting ) {
387
  /* Deferred callback for when setting exists */
388
  setting.bind( function( simple_provider_font_size ) {
@@ -399,18 +226,6 @@
399
  } );
400
  } );
401
 
402
- wp.customize( 'tracking_info_settings[show_provider_border]', function( setting ) {
403
- /* Deferred callback for when setting exists */
404
- setting.bind( function( show_provider_border ) {
405
- if( show_provider_border ){
406
- $( '.tracking_list_div' ).css( 'border-bottom','1px solid' );;
407
- }
408
- else{
409
- $( '.tracking_list_div' ).css( 'border-bottom','0' );;
410
- }
411
- } );
412
- } );
413
-
414
  wp.customize( 'tracking_info_settings[provider_border_color]', function( setting ) {
415
  /* Deferred callback for when setting exists */
416
  setting.bind( function( provider_border_color ) {
@@ -418,57 +233,4 @@
418
  } );
419
  } );
420
 
421
- wp.customize( 'woocommerce_wc_customer_custom_completed_order_settings[heading]', function( value ) {
422
- value.bind( function( wcast_custom_completed_email_heading ) {
423
-
424
- var str = wcast_custom_completed_email_heading;
425
- var res = str.replace("{site_title}", wcast_preview.site_title);
426
- var res = res.replace("{order_number}", wcast_preview.order_number);
427
-
428
- if( wcast_custom_completed_email_heading ){
429
- $( '#header_wrapper h1' ).text(res);
430
- } else{
431
- $( '#header_wrapper h1' ).text('');
432
- }
433
- });
434
- });
435
-
436
- wp.customize( 'wc_ast_select_border_color', function( value ) {
437
- value.bind( function( to ) {
438
- $( '.col.tracking-detail' ).css( 'border', '1px solid ' + to );
439
- $( 'body .col.tracking-detail .shipment-header' ).css( 'border-bottom', '1px solid ' + to );
440
- $( 'body .col.tracking-detail .trackship_branding' ).css( 'border-top', '1px solid ' + to );
441
- });
442
- });
443
-
444
- wp.customize( 'wc_ast_select_bg_color', function( value ) {
445
- value.bind( function( to ) {
446
- $( 'body .col.tracking-detail' ).css( 'background', to );
447
- });
448
- });
449
-
450
- wp.customize( 'wc_ast_hide_tracking_provider_image', function( value ) {
451
- value.bind( function( to ) {
452
- if( to ){
453
- $( '.provider_image_div' ).hide();
454
- }
455
- else{
456
- $( '.provider_image_div' ).css( "display", "inline-block" );
457
- }
458
- });
459
- });
460
-
461
- wp.customize( 'wc_ast_link_to_shipping_provider', function( value ) {
462
- value.bind( function( to ) {
463
- if( to ){
464
- $( '.tracking_number_div ul li > strong' ).hide();
465
- $( '.tracking_number_div ul li > a' ).show();
466
- }
467
- else{
468
- $( '.tracking_number_div ul li > strong' ).show();
469
- $( '.tracking_number_div ul li > a' ).hide();
470
- }
471
- });
472
- });
473
-
474
  } )( jQuery );
1
  ( function( $ ) {
2
  $('.hide').hide();
3
+
4
+ /* Hide/Show Header */
 
 
 
 
 
 
 
 
 
5
  wp.customize( 'tracking_info_settings[remove_date_from_tracking]', function( value ) {
6
  value.bind( function( remove_date_from_tracking ) {
7
  if( remove_date_from_tracking ){
11
  $( '.date-shipped' ).show();
12
  }
13
  });
14
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
15
 
16
  wp.customize( 'tracking_info_settings[header_text_change]', function( value ) {
17
  value.bind( function( header_text ) {
32
  }
33
  });
34
  });
 
 
 
 
 
 
 
 
 
 
 
35
 
36
  wp.customize( 'tracking_info_settings[provider_header_text]', function( value ) {
37
  value.bind( function( provider_header_text ) {
165
  $( '.tracking_table td a' ).css( 'background-color',tracking_link_bg_color );
166
  } );
167
  } );
168
+
 
 
 
 
 
 
 
 
 
 
 
169
  wp.customize( 'tracking_info_settings[table_content_line_height]', function( value ) {
170
  value.bind( function( table_content_line_height ) {
171
  $( '.tracking_table tbody' ).css( 'line-height',table_content_line_height+'px' );
172
  });
173
  });
174
+
175
  wp.customize( 'tracking_info_settings[table_content_font_weight]', function( value ) {
176
  value.bind( function( table_content_font_weight ) {
177
  $( '.tracking_table td' ).css( 'font-weight',table_content_font_weight );
178
  });
179
+ });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
 
181
  wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
182
  value.bind( function( wcast_partial_shipped_email_heading ) {
210
  });
211
  });
212
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
213
  wp.customize( 'tracking_info_settings[simple_provider_font_size]', function( setting ) {
214
  /* Deferred callback for when setting exists */
215
  setting.bind( function( simple_provider_font_size ) {
226
  } );
227
  } );
228
 
 
 
 
 
 
 
 
 
 
 
 
 
229
  wp.customize( 'tracking_info_settings[provider_border_color]', function( setting ) {
230
  /* Deferred callback for when setting exists */
231
  setting.bind( function( provider_border_color ) {
233
  } );
234
  } );
235
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  } )( jQuery );
assets/js/settings.js CHANGED
@@ -1,19 +1,3 @@
1
- jQuery(document).on("click", "#wc_ast_status_delivered", function(){
2
- if(jQuery(this).prop("checked") == true){
3
- jQuery(this).closest('tr').removeClass('disable_row');
4
- } else{
5
- jQuery(this).closest('tr').addClass('disable_row');
6
- }
7
- });
8
-
9
- jQuery(document).on("click", "#wc_ast_status_shipped_active", function(){
10
- if(jQuery(this).prop("checked") == true){
11
- jQuery(this).closest('tr').removeClass('disable_row');
12
- } else{
13
- jQuery(this).closest('tr').addClass('disable_row');
14
- }
15
- });
16
-
17
  jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
18
  if(jQuery(this).prop("checked") == true){
19
  jQuery(this).closest('tr').removeClass('disable_row');
@@ -40,6 +24,7 @@ jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
40
  jQuery('.partially_shipped_checkbox').hide();
41
  }
42
  });
 
43
  jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
44
  if(jQuery(this).prop("checked") == true){
45
 
@@ -73,12 +58,6 @@ jQuery( document ).ready(function() {
73
  'attribute': 'data-tip'
74
  } );
75
 
76
- if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
77
- jQuery('.status_label_color_th').show();
78
- } else{
79
- jQuery('.status_label_color_th').hide();
80
- }
81
-
82
  if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
83
  jQuery('.partial_shipped_status_label_color_th').show();
84
  jQuery('.partially_shipped_checkbox').show();
@@ -95,10 +74,12 @@ jQuery( document ).ready(function() {
95
 
96
  jQuery('.color_field input').wpColorPicker();
97
  });
 
98
  jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
99
  var font_color = jQuery(this).val();
100
  jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
101
  });
 
102
  jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
103
  var font_color = jQuery(this).val();
104
  jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
2
  if(jQuery(this).prop("checked") == true){
3
  jQuery(this).closest('tr').removeClass('disable_row');
24
  jQuery('.partially_shipped_checkbox').hide();
25
  }
26
  });
27
+
28
  jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
29
  if(jQuery(this).prop("checked") == true){
30
 
58
  'attribute': 'data-tip'
59
  } );
60
 
 
 
 
 
 
 
61
  if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
62
  jQuery('.partial_shipped_status_label_color_th').show();
63
  jQuery('.partially_shipped_checkbox').show();
74
 
75
  jQuery('.color_field input').wpColorPicker();
76
  });
77
+
78
  jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
79
  var font_color = jQuery(this).val();
80
  jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
81
  });
82
+
83
  jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
84
  var font_color = jQuery(this).val();
85
  jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
assets/js/shipping_row.js CHANGED
@@ -1,64 +1,3 @@
1
- jQuery(document).on("change", ".wc_ast_default_provider", function(){
2
- jQuery(".d_s_select_section ").block({
3
- message: null,
4
- overlayCSS: {
5
- background: "#fff",
6
- opacity: .6
7
- }
8
- });
9
- var default_provider = jQuery('.wc_ast_default_provider').val();
10
- var ajax_data = {
11
- action: 'update_default_provider',
12
- default_provider: default_provider,
13
- };
14
- jQuery.ajax({
15
- url: ajaxurl,
16
- data: ajax_data,
17
- type: 'POST',
18
- success: function(response) {
19
- jQuery(".d_s_select_section ").unblock();
20
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
21
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
22
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
23
- },
24
- error: function(response) {
25
- }
26
- });
27
- });
28
-
29
- var file_frame;
30
- jQuery('.upload_image_button').on('click', function(product) {
31
- product.preventDefault();
32
- var image_id = jQuery(this).siblings(".image_id");
33
- var image_path = jQuery(this).siblings(".image_path");
34
-
35
- // If the media frame already exists, reopen it.
36
- if (file_frame) {
37
- file_frame.open();
38
- return;
39
- }
40
-
41
- // Create the media frame.
42
- file_frame = wp.media.frames.file_frame = wp.media({
43
- title: 'Upload Media',
44
- button: {
45
- text: 'Add',
46
- },
47
- multiple: false // Set to true to allow multiple files to be selected
48
- });
49
-
50
- // When a file is selected, run a callback.
51
- file_frame.on('select', function(){
52
- attachment = file_frame.state().get('selection').first().toJSON();
53
- var id = attachment.id;
54
- var url = attachment.url;
55
- image_path.val(url);
56
- image_id.val(id);
57
- });
58
- // Finally, open the modal
59
- file_frame.open();
60
- });
61
-
62
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
63
 
64
  jQuery('.csv_upload_status li').remove();
@@ -313,32 +252,6 @@ jQuery(document).on("click", ".csv_upload_again", function(){
313
  jQuery('.upload_csv_div').show();
314
  jQuery('.bulk_upload_status_detail_error_tr').hide();
315
  jQuery('.csv_error_details_ul li').remove();
316
- });
317
-
318
- jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", function(){
319
- if(jQuery(this).prop("checked") == true){
320
- var wcast_enable_late_shipments_email = 1;
321
- }
322
- var id = jQuery(this).attr('id');
323
- var settings_data = jQuery(this).data("settings");
324
- var ajax_data = {
325
- action: 'update_enable_late_shipments_email',
326
- id: id,
327
- wcast_enable_late_shipments_email: wcast_enable_late_shipments_email,
328
- settings_data: settings_data,
329
- };
330
- jQuery.ajax({
331
- url: ajaxurl,
332
- data: ajax_data,
333
- type: 'POST',
334
- success: function(response) {
335
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
336
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
337
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
338
- },
339
- error: function(response) {
340
- }
341
- });
342
  });
343
 
344
  jQuery(document).on("click", ".status_slide", function(){
@@ -377,6 +290,17 @@ jQuery(document).on("click", ".status_slide", function(){
377
  });
378
  });
379
 
 
 
 
 
 
 
 
 
 
 
 
380
  jQuery(document).on("change", ".make_provider_default", function(){
381
  jQuery("#content1 ").block({
382
  message: null,
@@ -434,7 +358,7 @@ jQuery(document).on( "input", "#search_provider", function(){
434
  var provider_found = false;
435
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
436
 
437
- jQuery('.provider_list .provder_table tbody tr').each(function() {
438
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
439
  var country = jQuery(this).find('.provider_country').text().toLowerCase().replace(/\s+/g, '');
440
 
@@ -445,7 +369,7 @@ jQuery(document).on( "input", "#search_provider", function(){
445
  jQuery(this).show();
446
  provider_found = true;
447
  } else {
448
- jQuery(this).remove();
449
  }
450
  });
451
 
@@ -454,53 +378,27 @@ jQuery(document).on( "input", "#search_provider", function(){
454
  } else{
455
  jQuery(".not_found_label").remove();
456
  }
457
-
458
- jQuery('#shipping-provider-table').datatable({
459
- pageSize: 25,
460
- pagingDivClass: 'text-left',
461
- firstPage:'',
462
- prevPage:'',
463
- nextPage:'',
464
- lastPage:'',
465
- sort: [false, false, false, false, false, false],
466
- onChange: function(old_page, new_page){
467
- jQuery( '.tipTip' ).tipTip( {
468
- 'attribute': 'data-tip'
469
- } );
470
- },
471
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
472
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
473
- }
474
- });
475
- jQuery( '.tipTip' ).tipTip( {
476
- 'attribute': 'data-tip'
477
- } );
478
  },
479
  error: function(response) {
480
  }
481
  });
482
  });
483
 
484
- jQuery(document).on("click", ".popupclose", function(){
485
- jQuery('.add_provider_popup').hide();
486
  jQuery('.edit_provider_popup').hide();
487
- jQuery('.sync_provider_popup').hide();
488
- jQuery('.how_to_video_popup').hide();
489
- jQuery('.ts_video_popup').hide();
490
- jQuery('.import_tracking_video_popup').hide();
491
  });
492
- jQuery(document).on("click", ".popup_close_icon", function(){
493
- jQuery('.add_provider_popup').hide();
494
  jQuery('.edit_provider_popup').hide();
495
  jQuery('.sync_provider_popup').hide();
496
  });
497
- jQuery(document).on("click", ".popupclose_btn", function(){
498
- jQuery('.add_provider_popup').hide();
499
  jQuery('.edit_provider_popup').hide();
500
- jQuery('.sync_provider_popup').hide();
501
- jQuery('.how_to_video_popup').hide();
502
- jQuery('.ts_video_popup').hide();
503
- jQuery('.import_tracking_video_popup').hide();
504
  });
505
  jQuery(document).on("click", ".close_synch_popup", function(){
506
  jQuery('.sync_provider_popup').hide();
@@ -514,58 +412,6 @@ jQuery(document).on("click", ".close_synch_popup", function(){
514
  jQuery(".sync_providers_btn").show();
515
  jQuery(".close_synch_popup").hide();
516
  });
517
- jQuery(document).on("submit", "#add_provider_form", function(){
518
-
519
- var form = jQuery('#add_provider_form');
520
- var error;
521
- var shipping_provider = jQuery(".add_provider_popup .shipping_provider");
522
- var shipping_country = jQuery(".add_provider_popup .shipping_country");
523
- var thumb_url = jQuery(".add_provider_popup .thumb_url");
524
- var tracking_url = jQuery(".add_provider_popup .tracking_url");
525
-
526
- if( shipping_provider.val() === '' ){
527
-
528
- showerror(shipping_provider);
529
- error = true;
530
- } else{
531
- hideerror(shipping_provider);
532
- }
533
-
534
- if( shipping_country.val() === '' ){
535
- showerror(shipping_country);
536
- error = true;
537
- } else{
538
- hideerror(shipping_country);
539
- }
540
-
541
-
542
- if(error == true){
543
- return false;
544
- }
545
-
546
- jQuery(".add_provider_popup").block({
547
- message: null,
548
- overlayCSS: {
549
- background: "#fff",
550
- opacity: .6
551
- }
552
- });
553
-
554
- jQuery('#search_provider').removeAttr('value');
555
-
556
- jQuery.ajax({
557
- url: ajaxurl,
558
- data: form.serialize(),
559
- type: 'POST',
560
- success: function(response) {
561
- location.reload();
562
- },
563
- error: function(response) {
564
- console.log(response);
565
- }
566
- });
567
- return false;
568
- });
569
 
570
  jQuery(document).on("click", ".remove", function(){
571
  jQuery("#content1 ").block({
@@ -600,26 +446,7 @@ jQuery(document).on("click", ".remove", function(){
600
  success: function(response) {
601
  jQuery(".provider_list").replaceWith(response);
602
  jQuery("#content1").unblock();
603
- jQuery('#shipping-provider-table').datatable({
604
- pageSize: 25,
605
- pagingDivClass: 'text-left',
606
- firstPage:'',
607
- prevPage:'',
608
- nextPage:'',
609
- lastPage:'',
610
- sort: [false, false, false, false, false, false],
611
- onChange: function(old_page, new_page){
612
- jQuery( '.tipTip' ).tipTip( {
613
- 'attribute': 'data-tip'
614
- } );
615
- },
616
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
617
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
618
- }
619
- });
620
- jQuery( '.tipTip' ).tipTip( {
621
- 'attribute': 'data-tip'
622
- } );
623
  },
624
  error: function(response) {
625
  console.log(response);
@@ -755,26 +582,7 @@ jQuery(document).on("click", ".reset_default_provider", function(){
755
  form[0].reset();
756
  jQuery('.edit_provider_popup').hide();
757
  jQuery(".edit_provider_popup").unblock();
758
- jQuery('#shipping-provider-table').datatable({
759
- pageSize: 25,
760
- pagingDivClass: 'text-left',
761
- firstPage:'',
762
- prevPage:'',
763
- nextPage:'',
764
- lastPage:'',
765
- sort: [false, false, false, false, false, false],
766
- onChange: function(old_page, new_page){
767
- jQuery( '.tipTip' ).tipTip( {
768
- 'attribute': 'data-tip'
769
- } );
770
- },
771
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
772
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
773
- }
774
- });
775
- jQuery( '.tipTip' ).tipTip( {
776
- 'attribute': 'data-tip'
777
- } );
778
  },
779
  error: function(response) {
780
  console.log(response);
@@ -843,26 +651,7 @@ jQuery(document).on("submit", "#edit_provider_form", function(){
843
  form[0].reset();
844
  jQuery('.edit_provider_popup').hide();
845
  jQuery(".edit_provider_popup").unblock();
846
- jQuery('#shipping-provider-table').datatable({
847
- pageSize: 25,
848
- pagingDivClass: 'text-left',
849
- firstPage:'',
850
- prevPage:'',
851
- nextPage:'',
852
- lastPage:'',
853
- sort: [false, false, false, false, false, false],
854
- onChange: function(old_page, new_page){
855
- jQuery( '.tipTip' ).tipTip( {
856
- 'attribute': 'data-tip'
857
- } );
858
- },
859
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
860
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
861
- }
862
- });
863
- jQuery( '.tipTip' ).tipTip( {
864
- 'attribute': 'data-tip'
865
- } );
866
  },
867
  error: function(response) {
868
  console.log(response);
@@ -914,26 +703,7 @@ jQuery(document).on("click", "#reset_providers", function(){
914
  success: function(response) {
915
  jQuery(".provider_list").replaceWith(response);
916
  jQuery("#content1").unblock();
917
- jQuery('#shipping-provider-table').datatable({
918
- pageSize: 25,
919
- pagingDivClass: 'text-left',
920
- firstPage:'',
921
- prevPage:'',
922
- nextPage:'',
923
- lastPage:'',
924
- sort: [false, false, false, false, false, false],
925
- onChange: function(old_page, new_page){
926
- jQuery( '.tipTip' ).tipTip( {
927
- 'attribute': 'data-tip'
928
- } );
929
- },
930
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
931
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
932
- }
933
- });
934
- jQuery( '.tipTip' ).tipTip( {
935
- 'attribute': 'data-tip'
936
- } );
937
  },
938
  error: function(response) {
939
  console.log(response);
@@ -1011,23 +781,7 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
1011
  jQuery( '.tipTip' ).tipTip( {
1012
  'attribute': 'data-tip'
1013
  } );
1014
- jQuery('#shipping-provider-table').datatable({
1015
- pageSize: 25,
1016
- pagingDivClass: 'text-left',
1017
- firstPage:'',
1018
- prevPage:'',
1019
- nextPage:'',
1020
- lastPage:'',
1021
- sort: [false, false, false, false, false, false],
1022
- onChange: function(old_page, new_page){
1023
- jQuery( '.tipTip' ).tipTip( {
1024
- 'attribute': 'data-tip'
1025
- } );
1026
- },
1027
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1028
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1029
- }
1030
- });
1031
  },
1032
  error: function(response) {
1033
  console.log(response);
@@ -1092,58 +846,57 @@ jQuery(document).on("change", "#wc_ast_status_shipped", function(){
1092
 
1093
  jQuery(document).on("click", ".tab_input", function(){
1094
  var tab = jQuery(this).data('tab');
1095
- var label = jQuery(this).data('label');
1096
- //jQuery('.zorem-layout__header-breadcrumbs .header-breadcrumbs-last').text(label);
1097
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1098
  window.history.pushState({path:url},'',url);
1099
  });
1100
- jQuery(document).on("click", ".inner_tab_input", function(){
1101
- var tab = jQuery('input[name="tabs"]:checked').data('tab');
1102
- var subtab = jQuery(this).data('subtab');
1103
- if( subtab !== undefined){
1104
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&subtab="+subtab;
1105
- }
1106
-
1107
- var addons = jQuery(this).data('addons');
1108
- if( addons !== undefined){
1109
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&addons="+addons;
1110
- }
1111
-
1112
- var settings = jQuery(this).data('settings');
1113
- if( settings !== undefined){
1114
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&settings="+settings;
 
 
1115
  }
 
 
 
1116
 
1117
- var type = jQuery(this).data('type');
1118
- if( type !== undefined){
1119
- var subtab = jQuery('input[name="ts_inner_tabs"]:checked').data('subtab');
1120
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab+"&subtab="+subtab+"&type="+type;
1121
- }
1122
 
1123
- window.history.pushState({path:url},'',url);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1124
  });
1125
 
1126
- jQuery('#shipping-provider-table').datatable({
1127
- pageSize: 25,
1128
- pagingDivClass: 'text-left',
1129
- firstPage:'',
1130
- prevPage:'',
1131
- nextPage:'',
1132
- lastPage:'',
1133
- dom: "Bfriptip",
1134
- sort: [false, false, false, false, false, false],
1135
- onChange: function(old_page, new_page){
1136
- jQuery( '.tipTip' ).tipTip( {
1137
- 'attribute': 'data-tip'
1138
- } );
1139
- },
1140
- counterText: function (currentPage, totalPage, firstRow, lastRow, totalRow) {
1141
- return 'Showing ' + firstRow + ' to ' + lastRow + ' of ' + totalRow + ' entries' ;
1142
- }
1143
- });
1144
 
1145
  jQuery(document).on("change", "#wc_ast_settings_form .ast-settings-toggle,.order_status_toggle,.enable_order_status_email_input,.custom_order_color_select, #wc_ast_status_shipped", function(){
1146
- save_ast_seetings();
1147
  });
1148
 
1149
  jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
@@ -1162,46 +915,20 @@ jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
1162
 
1163
  jQuery('body').click( function(){
1164
  if ( jQuery('.order-status-table button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
1165
- save_ast_seetings();
1166
  }
1167
  });
1168
 
1169
  jQuery('.order-status-table button.button.wp-color-result').click( function(){
1170
- if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{save_ast_seetings();}
1171
  });
1172
  jQuery(".wc_ast_api_date_format").on("click", function (e) {
1173
- save_ast_seetings();
1174
  });
1175
  jQuery( "#wc_ast_show_orders_actions,#wc_ast_unclude_tracking_info" ).on("change", function (e) {
1176
- save_ast_seetings();
1177
  });
1178
 
1179
- function save_ast_seetings(){
1180
-
1181
- jQuery("#content2").block({
1182
- message: null,
1183
- overlayCSS: {
1184
- background: "#fff",
1185
- opacity: .6
1186
- }
1187
- });
1188
- var form = jQuery('#wc_ast_settings_form');
1189
-
1190
- jQuery.ajax({
1191
- url: ajaxurl,
1192
- data: form.serialize(),
1193
- type: 'POST',
1194
- success: function(response) {
1195
- jQuery("#content2").unblock();
1196
- jQuery(document).ast_snackbar( shipment_tracking_table_rows.i18n.data_saved );
1197
- },
1198
- error: function(response) {
1199
- console.log(response);
1200
- }
1201
- });
1202
- return false;
1203
- }
1204
-
1205
  /* zorem_snackbar jquery */
1206
  (function( $ ){
1207
  $.fn.ast_snackbar = function(msg) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
2
 
3
  jQuery('.csv_upload_status li').remove();
252
  jQuery('.upload_csv_div').show();
253
  jQuery('.bulk_upload_status_detail_error_tr').hide();
254
  jQuery('.csv_error_details_ul li').remove();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  });
256
 
257
  jQuery(document).on("click", ".status_slide", function(){
290
  });
291
  });
292
 
293
+ provider_grid_row();
294
+ function provider_grid_row() {
295
+ jQuery(".provider-grid-row").hip({
296
+ itemsPerPage:50,
297
+ itemsPerRow:5,
298
+ itemGaps:10,
299
+ filter:false,
300
+ paginationPos:'right'
301
+ });
302
+ }
303
+
304
  jQuery(document).on("change", ".make_provider_default", function(){
305
  jQuery("#content1 ").block({
306
  message: null,
358
  var provider_found = false;
359
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
360
 
361
+ jQuery('.provider_list .provider-grid-row .grid-item').each(function() {
362
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
363
  var country = jQuery(this).find('.provider_country').text().toLowerCase().replace(/\s+/g, '');
364
 
369
  jQuery(this).show();
370
  provider_found = true;
371
  } else {
372
+ jQuery(this).remove();
373
  }
374
  });
375
 
378
  } else{
379
  jQuery(".not_found_label").remove();
380
  }
381
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
382
  },
383
  error: function(response) {
384
  }
385
  });
386
  });
387
 
388
+ jQuery(document).on("click", ".popupclose", function(){
 
389
  jQuery('.edit_provider_popup').hide();
390
+ jQuery('.sync_provider_popup').hide();
391
+ jQuery('.ts_video_popup').hide();
392
+ jQuery('.upgrade_to_pro_popup').hide();
 
393
  });
394
+ jQuery(document).on("click", ".popup_close_icon", function(){
 
395
  jQuery('.edit_provider_popup').hide();
396
  jQuery('.sync_provider_popup').hide();
397
  });
398
+ jQuery(document).on("click", ".popupclose_btn", function(){
 
399
  jQuery('.edit_provider_popup').hide();
400
+ jQuery('.sync_provider_popup').hide();
401
+ jQuery('.ts_video_popup').hide();
 
 
402
  });
403
  jQuery(document).on("click", ".close_synch_popup", function(){
404
  jQuery('.sync_provider_popup').hide();
412
  jQuery(".sync_providers_btn").show();
413
  jQuery(".close_synch_popup").hide();
414
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
415
 
416
  jQuery(document).on("click", ".remove", function(){
417
  jQuery("#content1 ").block({
446
  success: function(response) {
447
  jQuery(".provider_list").replaceWith(response);
448
  jQuery("#content1").unblock();
449
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
450
  },
451
  error: function(response) {
452
  console.log(response);
582
  form[0].reset();
583
  jQuery('.edit_provider_popup').hide();
584
  jQuery(".edit_provider_popup").unblock();
585
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
586
  },
587
  error: function(response) {
588
  console.log(response);
651
  form[0].reset();
652
  jQuery('.edit_provider_popup').hide();
653
  jQuery(".edit_provider_popup").unblock();
654
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
655
  },
656
  error: function(response) {
657
  console.log(response);
703
  success: function(response) {
704
  jQuery(".provider_list").replaceWith(response);
705
  jQuery("#content1").unblock();
706
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
707
  },
708
  error: function(response) {
709
  console.log(response);
781
  jQuery( '.tipTip' ).tipTip( {
782
  'attribute': 'data-tip'
783
  } );
784
+ provider_grid_row();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
785
  },
786
  error: function(response) {
787
  console.log(response);
846
 
847
  jQuery(document).on("click", ".tab_input", function(){
848
  var tab = jQuery(this).data('tab');
849
+ var label = jQuery(this).data('label');
 
850
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
851
  window.history.pushState({path:url},'',url);
852
  });
853
+
854
+ jQuery(document).on("click", ".accordion", function(){
855
+ if ( jQuery(this).hasClass( 'active' ) ) {
856
+ jQuery(this).removeClass( 'active' );
857
+ jQuery(this).siblings( '.panel' ).slideUp( 'slow' );
858
+ jQuery( '.accordion' ).find('span.dashicons').addClass('dashicons-arrow-right-alt2');
859
+ jQuery( '.accordion' ).find('span.ast-accordion-btn').hide();
860
+ } else {
861
+ jQuery( '.accordion' ).removeClass( 'active' );
862
+ jQuery(".accordion").find('span.ast-accordion-btn').hide();
863
+ jQuery(".accordion").find('span.dashicons').addClass('dashicons-arrow-right-alt2');
864
+ jQuery( '.panel' ).slideUp('slow');
865
+ jQuery(this).addClass( 'active' );
866
+ jQuery(this).find('span.dashicons').removeClass('dashicons-arrow-right-alt2');
867
+ jQuery(this).find('span.ast-accordion-btn').show();
868
+ jQuery(this).find('span.ast-accordion-btn button').prop("disabled", true);
869
+ jQuery(this).siblings( '.panel' ).slideDown( 'slow' );
870
  }
871
+ });
872
+
873
+ jQuery(document).on("click", ".woocommerce-save-button", function(e){
874
 
875
+ var form = jQuery('#wc_ast_settings_form');
876
+ form.find(".spinner").addClass("active");
 
 
 
877
 
878
+ jQuery.ajax({
879
+ url: ajaxurl,
880
+ data: form.serialize(),
881
+ type: 'POST',
882
+ success: function(response) {
883
+ form.find(".spinner").removeClass("active");
884
+ jQuery(document).ast_snackbar( shipment_tracking_table_rows.i18n.data_saved );
885
+ jQuery( '.accordion' ).removeClass( 'active' );
886
+ jQuery( '.accordion' ).find( 'span.ast-accordion-btn' ).hide();
887
+ jQuery( '.accordion' ).find( 'span.dashicons' ).addClass( 'dashicons-arrow-right-alt2' );
888
+ jQuery( '.panel' ).slideUp( 'slow' );
889
+ },
890
+ error: function(response) {
891
+ console.log(response);
892
+ }
893
+ });
894
+ return false;
895
  });
896
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
897
 
898
  jQuery(document).on("change", "#wc_ast_settings_form .ast-settings-toggle,.order_status_toggle,.enable_order_status_email_input,.custom_order_color_select, #wc_ast_status_shipped", function(){
899
+ jQuery('span.ast-accordion-btn button').prop("disabled", false);
900
  });
901
 
902
  jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
915
 
916
  jQuery('body').click( function(){
917
  if ( jQuery('.order-status-table button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
918
+ jQuery('span.ast-accordion-btn button').prop("disabled", false);
919
  }
920
  });
921
 
922
  jQuery('.order-status-table button.button.wp-color-result').click( function(){
923
+ if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{jQuery('span.ast-accordion-btn button').prop("disabled", false);}
924
  });
925
  jQuery(".wc_ast_api_date_format").on("click", function (e) {
926
+ jQuery('span.ast-accordion-btn button').prop("disabled", false);
927
  });
928
  jQuery( "#wc_ast_show_orders_actions,#wc_ast_unclude_tracking_info" ).on("change", function (e) {
929
+ jQuery('span.ast-accordion-btn button').prop("disabled", false);
930
  });
931
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
932
  /* zorem_snackbar jquery */
933
  (function( $ ){
934
  $.fn.ast_snackbar = function(msg) {
assets/js/trackship.js DELETED
@@ -1,337 +0,0 @@
1
- ( function( $, data, wp, ajaxurl ) {
2
- var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
3
-
4
- var trackship_js = {
5
-
6
- init: function() {
7
-
8
- $("#wc_ast_trackship_form").on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
9
- $("#trackship_tracking_page_form").on( 'click', '.woocommerce-save-button', this.save_trackship_tracking_page_form );
10
- $("#trackship_late_shipments_form").on( 'click', '.woocommerce-save-button', this.save_trackship_late_shipments_form );
11
- //$(".tipTip").tipTip();
12
-
13
- },
14
-
15
- save_wc_ast_trackship_form: function( event ) {
16
- event.preventDefault();
17
-
18
- $("#wc_ast_trackship_form").find(".spinner").addClass("active");
19
- //$wc_ast_settings_form.find(".success_msg").hide();
20
- var ajax_data = $("#wc_ast_trackship_form").serialize();
21
-
22
- $.post( ajaxurl, ajax_data, function(response) {
23
- $("#wc_ast_trackship_form").find(".spinner").removeClass("active");
24
-
25
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
26
- });
27
-
28
- },
29
- save_trackship_tracking_page_form: function( event ) {
30
- event.preventDefault();
31
-
32
- $("#trackship_tracking_page_form").find(".spinner").addClass("active");
33
- var ajax_data = $("#trackship_tracking_page_form").serialize();
34
-
35
- $.post( ajaxurl, ajax_data, function(response) {
36
- $("#trackship_tracking_page_form").find(".spinner").removeClass("active");
37
-
38
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
39
- });
40
- },
41
- save_trackship_late_shipments_form: function( event ) {
42
- event.preventDefault();
43
-
44
- $("#trackship_late_shipments_form").find(".spinner").addClass("active");
45
- var ajax_data = $("#trackship_late_shipments_form").serialize();
46
-
47
- $.post( ajaxurl, ajax_data, function(response) {
48
- $("#trackship_late_shipments_form").find(".spinner").removeClass("active");
49
-
50
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
51
- });
52
- },
53
- };
54
- $(window).on('load',function () {
55
- trackship_js.init();
56
- });
57
- })( jQuery, trackship_script, wp, ajaxurl );
58
-
59
-
60
- jQuery(document).on("click", ".tab_input", function(){
61
- var tab = jQuery(this).data('tab');
62
- var label = jQuery(this).data('label');
63
- var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=trackship-for-woocommerce&tab="+tab;
64
- window.history.pushState({path:url},'',url);
65
- });
66
-
67
- jQuery(document).on("click", ".bulk_shipment_status_button", function(){
68
- jQuery(".trackship-notice").block({
69
- message: null,
70
- overlayCSS: {
71
- background: "#fff",
72
- opacity: .6
73
- }
74
- });
75
- var ajax_data = {
76
- action: 'bulk_shipment_status_from_settings',
77
- security : jQuery(this).attr('wp_nonce'),
78
- };
79
- jQuery.ajax({
80
- url: ajaxurl,
81
- data: ajax_data,
82
- type: 'POST',
83
- success: function(response) {
84
- jQuery(".trackship-notice").unblock();
85
- jQuery('.bulk_shipment_status_button').closest(".trackship-notice").hide();
86
- jQuery( '.bulk_shipment_status_success' ).show();
87
- jQuery( '.bulk_shipment_status_button' ).attr("disabled", true)
88
-
89
- },
90
- error: function(response) {
91
- console.log(response);
92
- }
93
- });
94
- return false;
95
- });
96
-
97
- jQuery(document).on("change", "#wc_ast_trackship_page_id", function(){
98
- var wc_ast_trackship_page_id = jQuery(this).val();
99
- if(wc_ast_trackship_page_id == 'other'){
100
- jQuery('.trackship_other_page_fieldset').show();
101
- } else{
102
- jQuery('.trackship_other_page_fieldset').hide();
103
- }
104
- });
105
-
106
- jQuery(document).on("change", ".shipment_status_toggle input", function(){
107
- jQuery("#content5 ").block({
108
- message: null,
109
- overlayCSS: {
110
- background: "#fff",
111
- opacity: .6
112
- }
113
- });
114
-
115
- var settings_data = jQuery(this).data("settings");
116
-
117
- if(jQuery(this).prop("checked") == true){
118
- var wcast_enable_status_email = 1;
119
- jQuery(this).closest('tr').addClass('enable');
120
- jQuery(this).closest('tr').removeClass('disable');
121
- } else{
122
- var wcast_enable_status_email = 0;
123
- jQuery(this).closest('tr').addClass('disable');
124
- jQuery(this).closest('tr').removeClass('enable');
125
- if( settings_data == 'late_shipments_email_settings') jQuery('.late-shipments-email-content-table').hide();
126
- }
127
-
128
- var id = jQuery(this).attr('id');
129
- var nonce = jQuery( '#ts_late_shipments_email_form_nonce' ).val();
130
- var ajax_data = {
131
- action: 'update_shipment_status_email_status',
132
- id: id,
133
- wcast_enable_status_email: wcast_enable_status_email,
134
- settings_data: settings_data,
135
- security: nonce,
136
- };
137
-
138
- jQuery.ajax({
139
- url: ajaxurl,
140
- data: ajax_data,
141
- type: 'POST',
142
- success: function(response) {
143
- jQuery("#content5 ").unblock();
144
- },
145
- error: function(response) {
146
- }
147
- });
148
- });
149
-
150
- jQuery(document).on("click", ".late_shipments_a", function(){
151
- jQuery('.late-shipments-email-content-table').toggle();
152
- });
153
-
154
- jQuery('#wc_ast_status_label_color').wpColorPicker({
155
- change: function(e, ui) {
156
- var color = ui.color.toString();
157
- jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
158
- },
159
- });
160
-
161
- jQuery('body').click( function(){
162
- if ( jQuery('.delivered_row button.button.wp-color-result').hasClass( 'wp-picker-open' ) ) {
163
- save_automation_form();
164
- }
165
- });
166
-
167
- jQuery('.delivered_row button.button.wp-color-result').click( function(){
168
- if ( jQuery(this).hasClass( 'wp-picker-open' ) ) {}else{save_automation_form();}
169
- });
170
-
171
- jQuery(document).on("change", ".ts_custom_order_color_select, #wc_ast_status_change_to_delivered, .ts_order_status_toggle", function(){
172
- save_automation_form();
173
- });
174
-
175
- jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
176
- var font_color = jQuery(this).val();
177
- jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
178
- });
179
-
180
- function save_automation_form(){
181
- jQuery(".order-status-table").block({
182
- message: null,
183
- overlayCSS: {
184
- background: "#fff",
185
- opacity: .6
186
- }
187
- });
188
- var form = jQuery('#wc_ast_trackship_automation_form');
189
- jQuery.ajax({
190
- url: ajaxurl,
191
- data: form.serialize(),
192
- type: 'POST',
193
- success: function(response) {
194
- jQuery(".order-status-table").unblock();
195
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
196
- },
197
- error: function(response) {
198
- console.log(response);
199
- }
200
- });
201
- return false;
202
- }
203
-
204
- jQuery(document).on("change", "#wc_ast_show_shipment_status_filter", function(){
205
- save_trackship_form();
206
- });
207
-
208
- jQuery(document).on("change", "#wc_ast_trackship_page_id", function(){
209
- save_tracking_page_form();
210
- });
211
-
212
- jQuery(document).on( "input", "#wc_ast_trackship_other_page", function(){
213
- save_tracking_page_form();
214
- });
215
-
216
- jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
217
- if(jQuery(this).prop("checked") == true){
218
- jQuery('.ts_customizer_btn').removeClass('disable_ts_btn');
219
- jQuery(this).parent().parent('li').nextAll('li').fadeIn();
220
- } else{
221
- jQuery('.ts_customizer_btn').addClass('disable_ts_btn');
222
- jQuery(this).parent().parent('li').nextAll('li').fadeOut();
223
- }
224
- save_tracking_page_form();
225
- });
226
-
227
- jQuery( document ).ready(function() {
228
- if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
229
- jQuery('.ts_customizer_btn').removeClass('disable_ts_btn');
230
- jQuery('#wc_ast_use_tracking_page').parent().parent('li').nextAll('li').fadeIn();
231
- } else{
232
- jQuery('.ts_customizer_btn').addClass('disable_ts_btn');
233
- jQuery('#wc_ast_use_tracking_page').parent().parent('li').nextAll('li').fadeOut();
234
- }
235
- });
236
-
237
- function save_trackship_form(){
238
- jQuery("#wc_ast_trackship_form").block({
239
- message: null,
240
- overlayCSS: {
241
- background: "#fff",
242
- opacity: .6
243
- }
244
- });
245
- var form = jQuery('#wc_ast_trackship_form');
246
- jQuery.ajax({
247
- url: ajaxurl,
248
- data: form.serialize(),
249
- type: 'POST',
250
- success: function(response) {
251
- jQuery("#wc_ast_trackship_form").unblock();
252
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
253
- },
254
- error: function(response) {
255
- console.log(response);
256
- }
257
- });
258
- return false;
259
- }
260
-
261
- function save_tracking_page_form(){
262
- jQuery("#trackship_tracking_page_form").block({
263
- message: null,
264
- overlayCSS: {
265
- background: "#fff",
266
- opacity: .6
267
- }
268
- });
269
- var form = jQuery('#trackship_tracking_page_form');
270
- jQuery.ajax({
271
- url: ajaxurl,
272
- data: form.serialize(),
273
- type: 'POST',
274
- success: function(response) {
275
- jQuery("#trackship_tracking_page_form").unblock();
276
- jQuery(document).ast_snackbar( trackship_script.i18n.data_saved );
277
- },
278
- error: function(response) {
279
- console.log(response);
280
- }
281
- });
282
- return false;
283
- }
284
-
285
- jQuery(document).on("change", "#wcast_enable_late_shipments_admin_email", function(){
286
- if(jQuery(this).prop("checked") == true){
287
- var wcast_enable_late_shipments_email = 1;
288
- }
289
- var id = jQuery(this).attr('id');
290
- var settings_data = jQuery(this).data("settings");
291
- var nonce = jQuery( '#ts_late_shipments_email_form_nonce' ).val();
292
- var ajax_data = {
293
- action: 'update_enable_late_shipments_email',
294
- id: id,
295
- wcast_enable_late_shipments_email: wcast_enable_late_shipments_email,
296
- settings_data: settings_data,
297
- security: nonce,
298
- };
299
- jQuery.ajax({
300
- url: ajaxurl,
301
- data: ajax_data,
302
- type: 'POST',
303
- success: function(response) {
304
- jQuery("#ast_settings_snackbar").addClass('show_snackbar');
305
- jQuery("#ast_settings_snackbar").text(shipment_tracking_table_rows.i18n.data_saved);
306
- setTimeout(function(){ jQuery("#ast_settings_snackbar").removeClass('show_snackbar'); }, 3000);
307
- },
308
- error: function(response) {
309
- }
310
- });
311
- });
312
-
313
- /* zorem_snackbar jquery */
314
- (function( $ ){
315
- $.fn.ast_snackbar = function(msg) {
316
- if ( jQuery('.snackbar-logs').length === 0 ){
317
- $("body").append("<section class=snackbar-logs></section>");
318
- }
319
- var ast_snackbar = $("<article></article>").addClass('snackbar-log snackbar-log-success snackbar-log-show').text( msg );
320
- $(".snackbar-logs").append(ast_snackbar);
321
- setTimeout(function(){ ast_snackbar.remove(); }, 3000);
322
- return this;
323
- };
324
- })( jQuery );
325
-
326
- /* zorem_snackbar_warning jquery */
327
- (function( $ ){
328
- $.fn.ast_snackbar_warning = function(msg) {
329
- if ( jQuery('.snackbar-logs').length === 0 ){
330
- $("body").append("<section class=snackbar-logs></section>");
331
- }
332
- var ast_snackbar_warning = $("<article></article>").addClass( 'snackbar-log snackbar-log-error snackbar-log-show' ).html( msg );
333
- $(".snackbar-logs").append(ast_snackbar_warning);
334
- setTimeout(function(){ ast_snackbar_warning.remove(); }, 3000);
335
- return this;
336
- };
337
- })( jQuery );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php CHANGED
@@ -91,169 +91,8 @@ class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controll
91
  'permission_callback' => array( $this, 'delete_item_permissions_check' ),
92
  ),
93
  'schema' => array( $this, 'get_public_item_schema' ),
94
- ) );
95
-
96
- if ( !function_exists( 'trackship_for_woocommerce' ) ) {
97
-
98
- //disconnect_from_trackship
99
- register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
100
- array(
101
- 'methods' => WP_REST_Server::CREATABLE,
102
- 'callback' => array( $this, 'disconnect_from_trackship_fun' ),
103
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
104
- 'args' => array_merge( $this->get_endpoint_args_for_item_schema( WP_REST_Server::CREATABLE ), array(
105
- 'user_key' => array(
106
- 'required' => true,
107
- ),
108
- ) ),
109
- ),
110
- 'schema' => array( $this, 'get_public_item_schema' ),
111
- ) );
112
-
113
- //tracking webhook
114
- register_rest_route( $this->namespace, '/tracking-webhook', array(
115
- array(
116
- 'methods' => 'POST',
117
- 'callback' => array( $this, 'tracking_webhook' ),
118
- 'permission_callback' => array( $this, 'create_item_permissions_check' ),
119
- ),
120
- 'schema' => array( $this, 'get_public_item_schema' ),
121
- ) );
122
-
123
- //check_wcast_installed
124
- register_rest_route( $this->namespace, '/check_wcast_installed', array(
125
- array(
126
- 'methods' => 'POST',
127
- 'callback' => array( $this, 'check_wcast_installed' ),
128
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
129
- ),
130
- 'schema' => array( $this, 'get_public_item_schema' ),
131
- ) );
132
-
133
- // this is use for sendle
134
- register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
135
- array(
136
- 'methods' => 'GET',
137
- 'callback' => array( $this, 'check_wcast_installed_from_third_party_tool' ),
138
- 'permission_callback' => array( $this, 'get_item_permissions_check' ),
139
- ),
140
- 'schema' => array( $this, 'get_public_item_schema' ),
141
- ) );
142
- }
143
  }
144
-
145
- /*
146
- * check_wcast_installed_from_third_party_tool
147
- */
148
- public function check_wcast_installed_from_third_party_tool( $request ) {
149
-
150
- $data = array(
151
- 'status' => 'installed'
152
- );
153
- return rest_ensure_response( $data );
154
- }
155
-
156
- /*
157
- * check_wcast_installed
158
- */
159
- public function check_wcast_installed( $request ) {
160
-
161
- $wc_ast_api_key = get_option('wc_ast_api_key');
162
- $wc_ast_api_enabled = get_option('wc_ast_api_enabled');
163
-
164
- if ( empty( $wc_ast_api_key ) ) {
165
- update_option( 'wc_ast_api_key', $request['user_key'] );
166
- }
167
-
168
- if ( '' == $wc_ast_api_enabled ) {
169
- update_option( 'wc_ast_api_enabled', 1 );
170
- }
171
-
172
- if ( $request['trackers_balance'] ) {
173
- update_option( 'trackers_balance', $request['trackers_balance'] );
174
- }
175
-
176
- $trackship = new WC_Advanced_Shipment_Tracking_Trackship();
177
- $trackship->create_tracking_page();
178
-
179
- $data = array(
180
- 'status' => 'installed'
181
- );
182
- return rest_ensure_response( $data );
183
- }
184
-
185
- public function tracking_webhook( $request ) {
186
- $content = print_r($request, true);
187
- $logger = wc_get_logger();
188
- $context = array( 'source' => 'trackship_log' );
189
- $logger->error( "New tracking_webhook \n\n" . $content . "\n\n", $context );
190
-
191
- //validation
192
-
193
- $user_key = $request['user_key'];
194
- $order_id = $request['order_id'];
195
- $tracking_number = $request['tracking_number'];
196
- $tracking_provider = $request['tracking_provider'];
197
- $tracking_event_status = $request['tracking_event_status'];
198
- $tracking_event_date = $request['tracking_event_date'];
199
- $tracking_est_delivery_date = $request['tracking_est_delivery_date'];
200
- $tracking_events = $request['tracking_events'];
201
- $tracking_destination_events = $request['tracking_destination_events'];
202
- $previous_status = '';
203
-
204
- $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
205
- $trackship = WC_Advanced_Shipment_Tracking_Trackship::get_instance();
206
-
207
- $tracking_items = $st->get_tracking_items( $order_id, true );
208
-
209
- foreach ( ( array ) $tracking_items as $key => $tracking_item ) {
210
-
211
- if ( trim($tracking_item['tracking_number']) != trim($tracking_number) ) {
212
- continue;
213
- }
214
-
215
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
216
- $ts_shipment_status = get_post_meta( $order_id, 'ts_shipment_status', true);
217
-
218
- if ( is_string( $shipment_status ) ) {
219
- $shipment_status = array();
220
- }
221
-
222
- if ( is_string( $ts_shipment_status ) ) {
223
- $ts_shipment_status = array();
224
- }
225
-
226
- if ( isset( $shipment_status[$key]['status'] ) ) {
227
- $previous_status = $shipment_status[$key]['status'];
228
- }
229
-
230
- unset($shipment_status[$key]['pending_status']);
231
-
232
- $shipment_status[$key]['status'] = $tracking_event_status;
233
- $shipment_status[$key]['tracking_events'] = json_decode($tracking_events);
234
- $shipment_status[$key]['tracking_destination_events'] = json_decode($tracking_destination_events);
235
-
236
- $shipment_status[$key]['status_date'] = $tracking_event_date;
237
- if ( $tracking_est_delivery_date ) {
238
- $shipment_status[$key]['est_delivery_date'] = gmdate('Y-m-d', strtotime($tracking_est_delivery_date));
239
- }
240
-
241
- $ts_shipment_status[$key]['status'] = $tracking_event_status;
242
-
243
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status);
244
- update_post_meta( $order_id, 'shipment_status', $shipment_status);
245
-
246
- $trackship->trigger_tracking_email( $order_id, $previous_status, $tracking_event_status, $tracking_item, $shipment_status[$key] );
247
- }
248
-
249
- $trackship->check_tracking_delivered( $order_id );
250
-
251
- $data = array(
252
- 'status' => 'success'
253
- );
254
-
255
- return rest_ensure_response( $data );
256
- }
257
 
258
  /**
259
  * Check whether a given request has permission to read order shipment-trackings.
@@ -330,26 +169,7 @@ class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controll
330
  }
331
  }
332
  return true;
333
- }
334
-
335
- /*
336
- *
337
- */
338
- public function update_user_key( $request ) {
339
- $add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
340
- $wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
341
- $trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
342
- }
343
-
344
- /*
345
- * disconnect store from TS
346
- */
347
- public function disconnect_from_trackship_fun( $request ) {
348
- $add_key = update_option( 'wc_ast_api_key', '' );
349
- $wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 0 );
350
- delete_option( 'wc_ast_api_enabled' );
351
- delete_option( 'trackers_balance' );
352
- }
353
 
354
  /**
355
  * Get shipment-trackings from an order.
@@ -365,7 +185,7 @@ class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controll
365
  }
366
 
367
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
368
- $tracking_items = $st->get_tracking_items( $order_id, true );
369
 
370
  $data = array();
371
  foreach ( $tracking_items as $tracking_item ) {
@@ -425,7 +245,7 @@ class WC_Advanced_Shipment_Tracking_REST_API_Controller extends WC_REST_Controll
425
  $order = wc_get_order($order_id);
426
 
427
  if ( $order ) {
428
- $tracking_items = $ast->get_tracking_items( $order_id );
429
 
430
  if ( count( $tracking_items ) > 0 ) {
431
  foreach ( $tracking_items as $key => $item ) {
91
  'permission_callback' => array( $this, 'delete_item_permissions_check' ),
92
  ),
93
  'schema' => array( $this, 'get_public_item_schema' ),
94
+ ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
95
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
 
97
  /**
98
  * Check whether a given request has permission to read order shipment-trackings.
169
  }
170
  }
171
  return true;
172
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
173
 
174
  /**
175
  * Get shipment-trackings from an order.
185
  }
186
 
187
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
188
+ $tracking_items = ast_get_tracking_items( $order_id );
189
 
190
  $data = array();
191
  foreach ( $tracking_items as $tracking_item ) {
245
  $order = wc_get_order($order_id);
246
 
247
  if ( $order ) {
248
+ $tracking_items = ast_get_tracking_items( $order_id );
249
 
250
  if ( count( $tracking_items ) > 0 ) {
251
  foreach ( $tracking_items as $key => $item ) {
includes/class-wc-advanced-shipment-tracking-admin-notice.php CHANGED
@@ -64,11 +64,11 @@ class WC_Advanced_Shipment_Tracking_Admin_Notice {
64
  return;
65
  }
66
 
67
- if ( get_option('ast_pro_standalone_admin_notice_ignore') ) {
68
  return;
69
  }
70
 
71
- $dismissable_url = esc_url( add_query_arg( 'ast-pro-ignore-notice', 'true' ) );
72
  ?>
73
  <style>
74
  .wp-core-ui .notice.ast-dismissable-notice{
@@ -94,23 +94,59 @@ class WC_Advanced_Shipment_Tracking_Admin_Notice {
94
  line-height: 28px;
95
  margin: 5px 0 15px;
96
  }
97
- </style>
98
- <div class="notice updated notice-success ast-dismissable-notice">
99
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
100
- <h3>Advanced Shipment Tracking Pro! </h3>
101
- <p>Upgrade to the <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" target="blank">Advanced Shipment Tracking Pro</a> fulfillment manager and get a 20% discount! Automate your fulfillment workflow and keep your customers happy and informed! To redeem your discount, use code <strong>ASTPRO20</strong> during checkout (valid by 08/31/2021)</p>
102
- <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
103
- <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
104
- </div>
105
- <?php
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
  }
107
 
108
  /*
109
  * Dismiss admin notice for trackship
110
  */
111
  public function ast_pro_admin_notice_ignore() {
112
- if ( isset( $_GET['ast-pro-ignore-notice'] ) ) {
113
- update_option( 'ast_pro_standalone_admin_notice_ignore', 'true' );
114
  }
115
  }
116
 
@@ -120,8 +156,8 @@ class WC_Advanced_Shipment_Tracking_Admin_Notice {
120
  public function ast_install_ts4wc() {
121
  ?>
122
  <div class="notice notice-error">
123
- <p>We noticed that your store is connected to TrackShip, Please install the <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> plugin to continue using TrackShip on your store. <strong>PLEASE NOTE</strong> - the TrackShip integration will be removed from AST in the next version.</p>
124
- </div>
125
  <?php
126
  }
127
  }
64
  return;
65
  }
66
 
67
+ if ( get_option('ast_pro_1_3_4_admin_notice_ignore') ) {
68
  return;
69
  }
70
 
71
+ $dismissable_url = esc_url( add_query_arg( 'ast-pro-1-3-4-ignore-notice', 'true' ) );
72
  ?>
73
  <style>
74
  .wp-core-ui .notice.ast-dismissable-notice{
94
  line-height: 28px;
95
  margin: 5px 0 15px;
96
  }
97
+ </style>
98
+ <?php
99
+ if ( is_plugin_active( 'woocommerce-product-vendors/woocommerce-product-vendors.php' ) ) {
100
+ ?>
101
+ <div class="notice updated notice-success ast-dismissable-notice">
102
+ <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
103
+ <h3>AST Fulfillment manager!</h3>
104
+ <p>We noticed that you are using the WooCommerce Product Vendors plugin. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the Product Vendors extension. Check out <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager">more info</a></br>
105
+ Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
106
+ </p>
107
+ <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
108
+ <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
109
+ </div>
110
+ <?php } else if ( is_plugin_active( 'woocommerce-shipstation-integration/woocommerce-shipstation.php' ) ) { ?>
111
+ <div class="notice updated notice-success ast-dismissable-notice">
112
+ <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
113
+ <h3>AST Fulfillment manager!</h3>
114
+ <p>We noticed that you are using ShipStation to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager </a> comes with built-in integration with the ShipStation extension and helps you avoid repetitively copy & paste tracking info from the order notes to the shipment tracking section.</br>
115
+ Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
116
+ </p>
117
+ <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
118
+ <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
119
+ </div>
120
+ <?php } else if ( is_plugin_active( 'woocommerce-services/woocommerce-services.php' ) ) { ?>
121
+ <div class="notice updated notice-success ast-dismissable-notice">
122
+ <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
123
+ <h3>AST Fulfillment manager!</h3>
124
+ <p>We noticed that you are using WooCommerce Shipping to ship your orders. The <a target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">AST Fulfillment manager</a> comes with built-in integration with the WooCommerce Shipping & Tax extension and helps you avoid repetitively copy & paste tracking info into the shipment tracking section after generating the labels.</br>
125
+ Get a 20% discount to upgrade to the Advanced Shipment Tracking Pro! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
126
+ </p>
127
+ <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
128
+ <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
129
+ </div>
130
+ <?php } else { ?>
131
+ <div class="notice updated notice-success ast-dismissable-notice">
132
+ <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
133
+ <h3>AST Fulfillment manager!</h3>
134
+ <p>AST Fulfillment Manager comes with advanced features that will streamline & automate your fulfillment workflow and help keep your customers happy and informed!</br>
135
+ Get a 20% discount when you upgrade to the AST Fulfillment Manager! Use code <a target="blank" href="https://www.zorem.com/whats-new-in-ast-fulfillment-manager"><strong>ASTPRO20</strong></a> to redeem your discount (valid by Oct 3oth).
136
+ </p>
137
+ <a class="button-primary ast_notice_btn" target="blank" href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/">Go Pro</a>
138
+ <a class="button-primary ast_notice_btn" href="<?php esc_html_e( $dismissable_url ); ?>">No Thanks</a>
139
+ </div>
140
+ <?php
141
+ }
142
  }
143
 
144
  /*
145
  * Dismiss admin notice for trackship
146
  */
147
  public function ast_pro_admin_notice_ignore() {
148
+ if ( isset( $_GET['ast-pro-1-3-4-ignore-notice'] ) ) {
149
+ update_option( 'ast_pro_1_3_4_admin_notice_ignore', 'true' );
150
  }
151
  }
152
 
156
  public function ast_install_ts4wc() {
157
  ?>
158
  <div class="notice notice-error">
159
+ <p><strong>Please note:</strong> TrackShip's functionality was moved and now you need to also install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> plugin. To avoid any interruptions with the service and keep tracking orders with TrackShip, please install <a href="<?php echo esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ); ?>" target="blank">TrackShip for WooCommerce</a> before updating to this version of the Advanced Shipment Tracking plugin.</p>
160
+ </div>
161
  <?php
162
  }
163
  }
includes/class-wc-advanced-shipment-tracking-admin.php CHANGED
@@ -56,9 +56,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
56
  */
57
  public function init() {
58
 
59
- //cron_schedules
60
- add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
61
-
62
  // add bulk order tracking number filter for exported / non-exported orders
63
  add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
64
 
@@ -72,10 +69,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
72
 
73
  add_action( 'admin_footer', array( $this, 'footer_function'), 1 );
74
 
75
- add_action( 'wp_ajax_update_email_preview_order', array( $this, 'update_email_preview_order_fun') );
76
-
77
  add_filter( 'woocommerce_admin_order_actions', array( $this, 'add_delivered_order_status_actions_button'), 100, 2 );
78
- add_filter( 'woocommerce_admin_order_preview_actions', array( $this, 'additional_admin_order_preview_buttons_actions'), 5, 2 );
79
 
80
  //Shipping Provider Action
81
  add_action( 'wp_ajax_filter_shipiing_provider_by_status', array( $this, 'filter_shipiing_provider_by_status_fun') );
@@ -99,51 +93,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
99
  add_action( 'update_order_status_after_adding_tracking', array( $this, 'update_order_status_after_adding_tracking'), 10, 2 );
100
 
101
  add_action( 'add_more_api_provider', array( $this, 'add_more_api_provider' ) );
102
- }
103
-
104
- /*
105
- * add_cron_interval
106
- */
107
- public function add_cron_interval( $schedules ) {
108
-
109
- $schedules['wc_ast_1hr'] = array(
110
- 'interval' => 60*60,//1 hour
111
- 'display' => esc_html__( 'Every one hour' ),
112
- );
113
-
114
- $schedules['wc_ast_6hr'] = array(
115
- 'interval' => 60*60*6,//6 hour
116
- 'display' => esc_html__( 'Every six hour' ),
117
- );
118
-
119
- $schedules['wc_ast_12hr'] = array(
120
- 'interval' => 60*60*12,//6 hour
121
- 'display' => esc_html__( 'Every twelve hour' ),
122
- );
123
-
124
- $schedules['wc_ast_1day'] = array(
125
- 'interval' => 60*60*24*1,//1 days
126
- 'display' => esc_html__( 'Every one day' ),
127
- );
128
-
129
- $schedules['wc_ast_2day'] = array(
130
- 'interval' => 60*60*24*2,//2 days
131
- 'display' => esc_html__( 'Every two day' ),
132
- );
133
-
134
- $schedules['wc_ast_7day'] = array(
135
- 'interval' => 60*60*24*7,//7 days
136
- 'display' => esc_html__( 'Every Seven day' ),
137
- );
138
-
139
- //every 5 sec for batch proccessing
140
- $schedules['wc_ast_2min'] = array(
141
- 'interval' => 2*60,//1 hour
142
- 'display' => esc_html__( 'Every two min' ),
143
- );
144
-
145
- return $schedules;
146
- }
147
 
148
  /*
149
  * Get shipped orders
@@ -173,7 +123,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
173
  return;
174
  }
175
 
176
- if ( 'woocommerce-advanced-shipment-tracking' != $_GET['page'] && 'trackship-for-woocommerce' != $_GET['page'] ) {
177
  return;
178
  }
179
 
@@ -182,10 +132,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
182
  wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
183
  wp_enqueue_script( 'select2');
184
 
185
- wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
186
- wp_register_style( 'trackship_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/trackship.css', array(), wc_advanced_shipment_tracking()->version );
187
-
188
- wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
189
 
190
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
191
 
@@ -205,21 +152,12 @@ class WC_Advanced_Shipment_Tracking_Admin {
205
  wp_enqueue_script( 'jquery-tiptip' );
206
  wp_enqueue_script( 'jquery-blockui' );
207
  wp_enqueue_script( 'wp-color-picker' );
208
- wp_enqueue_script( 'jquery-ui-sortable' );
209
- wp_enqueue_script( 'media-upload' );
210
- wp_enqueue_script( 'thickbox' );
211
- wp_enqueue_style( 'thickbox' );
212
- wp_enqueue_style( 'trackship_styles' );
213
 
214
  wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
215
 
216
  wp_enqueue_script( 'ast_settings', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
217
 
218
- wp_enqueue_script( 'ast_datatable', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/datatable.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
219
-
220
- wp_enqueue_script( 'ast_datatable_jquery', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/datatable.jquery.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
221
-
222
- wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
223
 
224
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
225
 
@@ -271,87 +209,22 @@ class WC_Advanced_Shipment_Tracking_Admin {
271
  ?>
272
 
273
  <div class="zorem-layout">
 
274
  <div class="zorem-layout__header">
275
- <img class="zorem-layout__header-logo" src="<?php echo esc_html( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-logo.png">
276
-
277
- <div class="woocommerce-layout__activity-panel">
278
- <div class="woocommerce-layout__activity-panel-tabs">
279
- <button type="button" id="activity-panel-tab-help" class="components-button woocommerce-layout__activity-panel-tab">
280
- <span class="dashicons dashicons-editor-help"></span>
281
- <label>Help</label>
282
- </button>
283
- </div>
284
- <div class="woocommerce-layout__activity-panel-wrapper">
285
- <div class="woocommerce-layout__activity-panel-content" id="activity-panel-true">
286
- <div class="woocommerce-layout__activity-panel-header">
287
- <div class="woocommerce-layout__inbox-title">
288
- <p class="css-activity-panel-Text">Documentation</p>
289
- </div>
290
- </div>
291
- <div>
292
- <ul class="woocommerce-list woocommerce-quick-links__list">
293
- <li class="woocommerce-list__item has-action">
294
- <?php
295
- $support_link = class_exists( 'ast_pro' ) ? 'https://www.zorem.com/?support=1' : 'https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/#new-topic-0' ;
296
- ?>
297
- <a href="<?php echo esc_url( $support_link ); ?>" class="woocommerce-list__item-inner" target="_blank" >
298
- <div class="woocommerce-list__item-before">
299
- <span class="dashicons dashicons-media-document"></span>
300
- </div>
301
- <div class="woocommerce-list__item-text">
302
- <span class="woocommerce-list__item-title">
303
- <div class="woocommerce-list-Text">Get Support</div>
304
- </span>
305
- </div>
306
- <div class="woocommerce-list__item-after">
307
- <span class="dashicons dashicons-arrow-right-alt2"></span>
308
- </div>
309
- </a>
310
- </li>
311
- <li class="woocommerce-list__item has-action">
312
- <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
313
- <div class="woocommerce-list__item-before">
314
- <span class="dashicons dashicons-media-document"></span>
315
- </div>
316
- <div class="woocommerce-list__item-text">
317
- <span class="woocommerce-list__item-title">
318
- <div class="woocommerce-list-Text">Documentation</div>
319
- </span>
320
- </div>
321
- <div class="woocommerce-list__item-after">
322
- <span class="dashicons dashicons-arrow-right-alt2"></span>
323
- </div>
324
- </a>
325
- </li>
326
- <?php if ( !class_exists( 'ast_pro' ) ) { ?>
327
- <li class="woocommerce-list__item has-action">
328
- <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
329
- <div class="woocommerce-list__item-before">
330
- <span class="dashicons dashicons-media-document"></span>
331
- </div>
332
- <div class="woocommerce-list__item-text">
333
- <span class="woocommerce-list__item-title">
334
- <div class="woocommerce-list-Text">Upgrade To Pro</div>
335
- </span>
336
- </div>
337
- <div class="woocommerce-list__item-after">
338
- <span class="dashicons dashicons-arrow-right-alt2"></span>
339
- </div>
340
- </a>
341
- </li>
342
- <?php } ?>
343
- </ul>
344
- </div>
345
- </div>
346
- </div>
347
- </div>
348
- </div>
349
- <?php do_action( 'ast_settings_admin_notice' ); ?>
350
  <div class="woocommerce zorem_admin_layout">
351
- <div class="ast_admin_content" >
 
352
  <div class="ast_nav_div">
353
  <?php
354
  $this->get_html_menu_tab( $this->get_ast_tab_settings_data() );
 
 
 
355
  require_once( 'views/admin_options_shipping_provider.php' );
356
  require_once( 'views/admin_options_settings.php' );
357
  require_once( 'views/admin_options_bulk_upload.php' );
@@ -408,18 +281,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
408
  'data-label' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
409
  'name' => 'tabs',
410
  'position' => 1,
411
- ),
412
- 'tab1' => array(
413
- 'title' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
414
- 'show' => true,
415
- 'class' => 'tab_label',
416
- 'data-tab' => 'shipping-providers',
417
- 'data-label' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
418
- 'name' => 'tabs',
419
- 'position' => 2,
420
  ),
421
- 'customize' => array(
422
- 'title' => __( 'Customize', 'woo-advanced-shipment-tracking' ),
423
  'type' => 'link',
424
  'link' => $ast_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ),
425
  'show' => true,
@@ -428,7 +292,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
428
  'data-label' => __( 'Customize', 'woo-advanced-shipment-tracking' ),
429
  'name' => 'tabs',
430
  'position' => 3,
431
- ),
 
 
 
 
 
 
 
 
 
432
  'tab4' => array(
433
  'title' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
434
  'show' => true,
@@ -613,8 +486,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
613
  ),
614
  'enable_printify_integration' => array(
615
  'type' => 'tgl_checkbox',
616
- 'title' => __( 'Enable the Printify integration', 'ast-pro' ),
617
- 'desc' => __( 'Adding tracking information to your orders shipped with Printify and automate your workflow', 'ast-pro' ),
618
  'img' => 'printify.png',
619
  'show' => true,
620
  'default' => 0,
@@ -623,24 +496,44 @@ class WC_Advanced_Shipment_Tracking_Admin {
623
  ),
624
  'enable_picqer_integration' => array(
625
  'type' => 'tgl_checkbox',
626
- 'title' => __( 'Enable the Picqer integration', 'ast-pro' ),
627
- 'desc' => __( 'Adding tracking information to your orders shipped with Picqer and automate your workflow', 'ast-pro' ),
628
  'img' => 'picqer.png',
629
  'show' => true,
630
  'default' => 0,
631
  'disabled' => true,
632
  'class' => '',
633
  ),
 
 
 
 
 
 
 
 
 
 
634
  'enable_dianxiaomi_integration' => array(
635
  'type' => 'tgl_checkbox',
636
- 'title' => __( 'Enable the Dianxiaomi integration', 'ast-pro' ),
637
- 'desc' => __( 'Adding tracking information to your orders shipped with Dianxiaomi and automate your workflow', 'ast-pro' ),
638
  'img' => 'dianxiaomi.png',
639
  'show' => true,
640
  'default' => 0,
641
  'disabled' => true,
642
  'class' => '',
643
- ),
 
 
 
 
 
 
 
 
 
 
644
  'enable_ali2woo_integration' => array(
645
  'type' => 'tgl_checkbox',
646
  'title' => __( 'Enable the AliExpress Dropshipping integration', 'woo-advanced-shipment-tracking' ),
@@ -689,7 +582,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
689
  if ( $array['show'] ) {
690
  if ( isset( $array['type'] ) && 'link' == $array['type'] ) {
691
  ?>
692
- <a class="menu_trackship_link" href="<?php esc_html_e( esc_url( $array['link'] ) ); ?>"><?php esc_html_e( $array['title'] ); ?></a>
693
  <?php
694
  } else {
695
  ?>
@@ -1475,7 +1368,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1475
  $date_shipped = $date_array[1] . '-' . $date_array[0] . '-' . $date_array[2];
1476
  }
1477
 
1478
- $tracking_items = $wast->get_tracking_items( $order_id );
1479
 
1480
  if ( 1 == $replace_tracking_info ) {
1481
 
@@ -1673,7 +1566,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1673
  public function get_all_added_product_list_with_qty( $order_id ) {
1674
 
1675
  $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
1676
- $tracking_items = $ast->get_tracking_items( $order_id, true );
1677
 
1678
  $product_list = array();
1679
 
@@ -1767,31 +1660,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
1767
  $d = DateTime::createFromFormat( $format, $date );
1768
  // The Y ( 4 digits year ) returns TRUE for any integer with any number of digits so changing the comparison from == to === fixes the issue.
1769
  return $d && $d->format( $format ) === $date;
1770
- }
1771
-
1772
- /*
1773
- * Update preview order id in customizer
1774
- */
1775
- public function update_email_preview_order_fun() {
1776
-
1777
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1778
- exit( 'You are not allowed' );
1779
- }
1780
-
1781
- check_ajax_referer( 'ast_customizer', 'security' );
1782
-
1783
- $wcast_preview_order_id = isset( $_POST['wcast_preview_order_id'] ) ? wc_clean( $_POST['wcast_preview_order_id'] ) : '';
1784
-
1785
- set_theme_mod( 'wcast_availableforpickup_email_preview_order_id', $wcast_preview_order_id );
1786
- set_theme_mod( 'wcast_returntosender_email_preview_order_id', $wcast_preview_order_id );
1787
- set_theme_mod( 'wcast_delivered_status_email_preview_order_id', $wcast_preview_order_id );
1788
- set_theme_mod( 'wcast_outfordelivery_email_preview_order_id', $wcast_preview_order_id );
1789
- set_theme_mod( 'wcast_intransit_email_preview_order_id', $wcast_preview_order_id );
1790
- set_theme_mod( 'wcast_onhold_email_preview_order_id', $wcast_preview_order_id );
1791
- set_theme_mod( 'wcast_pretransit_email_preview_order_id', $wcast_preview_order_id );
1792
- set_theme_mod( 'wcast_email_preview_order_id', $wcast_preview_order_id );
1793
- set_theme_mod( 'wcast_preview_order_id', $wcast_preview_order_id );
1794
- exit;
1795
  }
1796
 
1797
  /*
@@ -1825,25 +1693,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1825
  array(
1826
  'order_nonce' => wp_create_nonce( 'ast-order-list' ),
1827
  )
1828
- );
1829
-
1830
- $wc_ast_status_delivered = get_option( 'wc_ast_status_delivered' );
1831
-
1832
- if ( $wc_ast_status_delivered ) {
1833
- if ( $order->has_status( array( 'completed' ) ) || $order->has_status( array( 'shipped' ) ) ) {
1834
-
1835
- // Get Order ID (compatibility all WC versions)
1836
- $order_id = method_exists( $order, 'get_id' ) ? $order->get_id() : $order->id;
1837
-
1838
- // Set the action button
1839
- $actions['delivered'] = array(
1840
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_mark_order_status&status=delivered&order_id=' . $order_id ), 'woocommerce-mark-order-status' ),
1841
- 'name' => __( 'Mark order as delivered', 'woo-advanced-shipment-tracking' ),
1842
- 'icon' => '<i class="fa fa-truck">&nbsp;</i>',
1843
- 'action' => 'delivered_icon', // keep "view" class for a clean button CSS
1844
- );
1845
- }
1846
- }
1847
 
1848
  $wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
1849
  $order_array = array();
@@ -1871,38 +1721,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1871
  }
1872
 
1873
  return $actions;
1874
- }
1875
-
1876
- /*
1877
- * Add delivered action button in preview order list to change order status from completed to delivered
1878
- */
1879
- public function additional_admin_order_preview_buttons_actions( $actions, $order ) {
1880
-
1881
- $wc_ast_status_delivered = get_option( 'wc_ast_status_delivered' );
1882
- if ( $wc_ast_status_delivered ) {
1883
- // Below set your custom order statuses (key / label / allowed statuses) that needs a button
1884
- $custom_statuses = array(
1885
- 'delivered' => array( // The key (slug without "wc-")
1886
- 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ), // Label name
1887
- 'allowed' => array( 'completed'), // Button displayed for this statuses (slugs without "wc-")
1888
- ),
1889
- );
1890
-
1891
- // Loop through your custom orders Statuses
1892
- foreach ( $custom_statuses as $status_slug => $values ) {
1893
- if ( $order->has_status( $values['allowed'] ) ) {
1894
- $actions[ 'status' ][ 'group' ] = __( 'Change status: ', 'woocommerce' );
1895
- $actions[ 'status' ][ 'actions' ][ $status_slug ] = array(
1896
- 'url' => wp_nonce_url( admin_url( 'admin-ajax.php?action=woocommerce_mark_order_status&status=' . $status_slug . '&order_id=' . $order->get_id() ), 'woocommerce-mark-order-status' ),
1897
- 'name' => $values['label'],
1898
- 'title' => __( 'Change order status to', 'woo-advanced-shipment-tracking' ) . ' ' . strtolower( $values['label'] ),
1899
- 'action' => $status_slug,
1900
- );
1901
- }
1902
- }
1903
- }
1904
- return $actions;
1905
- }
1906
 
1907
  /*
1908
  * Get providers list html
@@ -1919,133 +1738,103 @@ class WC_Advanced_Shipment_Tracking_Admin {
1919
  ?>
1920
  </br><a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?></a>
1921
  <?php } ?>
1922
- <div class="provider_table_hc">
1923
- <div class="shipping_provider_counter counter"></div>
1924
- </div>
1925
- <table class="wp-list-table widefat posts provder_table" id="shipping-provider-table">
1926
- <thead>
1927
- <tr>
1928
- <th><?php esc_html_e( 'Shipping Providers', 'woo-advanced-shipment-tracking'); ?></th>
1929
- <th><?php esc_html_e( 'Display Name', 'woo-advanced-shipment-tracking'); ?></th>
1930
- <?php do_action('ast_shipping_provider_column_after_api_name'); ?>
1931
- <th><?php esc_html_e( 'TrackShip', 'woo-advanced-shipment-tracking'); ?></th>
1932
- <th><?php esc_html_e( 'Actions', 'woo-advanced-shipment-tracking'); ?></th>
1933
- </tr>
1934
- </thead>
1935
- <tbody>
1936
- <?php
1937
- foreach ( $default_shippment_providers as $d_s_p ) {
1938
- $class = ( 1 == $d_s_p->display_in_order ) ? 'enable' : 'disable' ;
1939
- ?>
1940
- <tr class="<?php esc_html_e( $class ); ?>">
1941
- <td>
1942
- <?php
1943
- $custom_thumb_id = $d_s_p->custom_thumb_id;
1944
- if ( 1 == $d_s_p->shipping_default ) {
1945
- if ( 0 != $custom_thumb_id ) {
1946
- $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
1947
- $provider_image = $image_attributes[0];
1948
- } else {
1949
- $provider_image = $ast_directory . '' . sanitize_title( $d_s_p->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
1950
- }
1951
- echo '<img class="provider-thumb" src="' . esc_url( $provider_image ) . '">';
1952
- } else {
1953
  $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
1954
-
1955
- if ( 0 != $custom_thumb_id ) {
1956
- echo '<img class="provider-thumb" src="' . esc_url( $image_attributes[0] ) . '">';
1957
- } else {
1958
- echo '<img class="provider-thumb" src="' . esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ) . 'assets/images/icon-default.png">';
1959
- }
1960
  }
1961
- ?>
1962
- </td>
1963
- <td>
1964
- <span class="provider_name">
1965
- <?php
1966
- esc_html_e( $d_s_p->provider_name );
1967
- $enable_edit = false;
1968
-
1969
- if ( isset( $d_s_p->custom_provider_name ) && '' != $d_s_p->custom_provider_name ) {
1970
- esc_html_e( ' (' . $d_s_p->custom_provider_name . ')' );
1971
- $enable_edit = true;
1972
- }
1973
-
1974
- if ( isset( $d_s_p->api_provider_name ) && '' != $d_s_p->api_provider_name ) {
1975
- $enable_edit = true;
1976
- if ( $this->isJSON( $d_s_p->api_provider_name ) && class_exists( 'ast_pro' ) ) {
1977
- $api_count = count( json_decode( $d_s_p->api_provider_name ) );
1978
- } else {
1979
- $api_count = 1;
1980
- }
1981
- $api_text = __( 'API aliases', 'woo-advanced-shipment-tracking' );
1982
- esc_html_e( ' (' . $api_count . ' ' . $api_text . ')' );
1983
- }
1984
- ?>
1985
- </span>
1986
- <span class="provider_country">
1987
- <?php
1988
- $search = array('(US)', '(UK)');
1989
- $replace = array('', '');
1990
-
1991
- if ( $d_s_p->shipping_country && 'Global' != $d_s_p->shipping_country ) {
1992
- esc_html_e( str_replace( $search, $replace, $WC_Countries->countries[ $d_s_p->shipping_country ] ) );
1993
- } elseif ( $d_s_p->shipping_country && 'Global' == $d_s_p->shipping_country ) {
1994
- esc_html_e( 'Global' );
1995
- }
1996
- ?>
1997
- </span>
1998
 
 
 
 
 
 
 
 
 
 
 
1999
  <?php
 
 
2000
 
2001
- if ( 0 == $d_s_p->shipping_default ) {
2002
- echo '<span class="dashicons dashicons-trash remove provider_actions_btn" data-pid="' . esc_html( $d_s_p->id ) . '"></span>';
 
2003
  }
2004
 
2005
- $edit_provider_class = ( $enable_edit ) ? apply_filters( 'edit_provider_class', 'edit_provider' ) : 'upgrade_to_ast_pro';
2006
-
2007
- $provider_type = ( 1 == $d_s_p->shipping_default ) ? 'default_provider' : 'custom_provider';
2008
-
2009
- echo '<span class="' . esc_html( $edit_provider_class ) . ' provider_actions_btn" data-provider="' . esc_html( $provider_type ) . '" data-pid="' . esc_html( $d_s_p->id ) . '">' . esc_html__( 'edit', 'woo-advanced-shipment-tracking' ) . '</span>';
2010
-
2011
- $default_provider = get_option( 'wc_ast_default_provider' );
2012
-
2013
- $label_class = ( 1 != $d_s_p->display_in_order ) ? 'disable_label' : '';
2014
- $make_default_checked = ( $default_provider == $d_s_p->provider_name ) ? 'checked' : '';
2015
- $make_default_disabled = ( 1 != $d_s_p->display_in_order ) ? 'disabled' : '';
2016
  ?>
 
 
 
 
 
2017
 
2018
- <label for="make_default_<?php esc_html_e( $d_s_p->id ); ?>" id="default_label_<?php esc_html_e( $d_s_p->id ); ?>" class="<?php esc_html_e( $label_class ); ?>">
2019
- <input type="checkbox" id="make_default_<?php esc_html_e( $d_s_p->id ); ?>" name="make_provider_default" data-id="<?php esc_html_e( $d_s_p->id ); ?>" class="make_provider_default" value="<?php esc_html_e( $d_s_p->provider_name ); ?>" <?php esc_html_e( $make_default_checked ); ?> <?php esc_html_e( $make_default_disabled ); ?>>
2020
- <span class="default_label"><?php esc_html_e( 'default', 'woo-advanced-shipment-tracking' ); ?></span>
2021
- </label>
2022
- </td>
2023
-
2024
- <?php do_action('ast_shipping_provider_column_content_after_api_name', $d_s_p->provider_name); ?>
2025
-
2026
- <td class="provider_trackship_td">
2027
- <?php
2028
- if ( 1 == $d_s_p->trackship_supported ) {
2029
- echo '<span class="dashicons dashicons-yes-alt"></span>';
2030
- } else {
2031
- echo '<span class="dashicons dashicons-dismiss"></span>';
2032
- }
2033
  ?>
2034
- <span>TrackShip</span>
2035
- </td>
 
 
2036
 
2037
- <td>
2038
- <?php $checked = ( 1 == $d_s_p->display_in_order ) ? 'checked' : ''; ?>
2039
- <input class="ast-tgl ast-tgl-flat status_slide" id="list-switch-<?php esc_html_e( $d_s_p->id ); ?>" name="select_custom_provider[]" type="checkbox" <?php esc_html_e( $checked ); ?> value="<?php esc_html_e( $d_s_p->id ); ?>"/>
2040
- <label class="ast-tgl-btn" for="list-switch-<?php esc_html_e( $d_s_p->id ); ?>"></label>
2041
- </td>
2042
- </tr>
2043
- <?php } ?>
2044
- </tbody>
2045
- </table>
2046
- <div class="provider_table_hc_footer">
2047
- <div class="shipping_provider_counter counter"></div>
2048
- <div class="paging shipping_provider_paging"></div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2049
  </div>
2050
  <?php
2051
  } else {
56
  */
57
  public function init() {
58
 
 
 
 
59
  // add bulk order tracking number filter for exported / non-exported orders
60
  add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
61
 
69
 
70
  add_action( 'admin_footer', array( $this, 'footer_function'), 1 );
71
 
 
 
72
  add_filter( 'woocommerce_admin_order_actions', array( $this, 'add_delivered_order_status_actions_button'), 100, 2 );
 
73
 
74
  //Shipping Provider Action
75
  add_action( 'wp_ajax_filter_shipiing_provider_by_status', array( $this, 'filter_shipiing_provider_by_status_fun') );
93
  add_action( 'update_order_status_after_adding_tracking', array( $this, 'update_order_status_after_adding_tracking'), 10, 2 );
94
 
95
  add_action( 'add_more_api_provider', array( $this, 'add_more_api_provider' ) );
96
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
 
98
  /*
99
  * Get shipped orders
123
  return;
124
  }
125
 
126
+ if ( 'woocommerce-advanced-shipment-tracking' != $_GET['page'] ) {
127
  return;
128
  }
129
 
132
  wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
133
  wp_enqueue_script( 'select2');
134
 
135
+ wp_enqueue_style( 'ast_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
 
 
 
136
 
137
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version, true );
138
 
152
  wp_enqueue_script( 'jquery-tiptip' );
153
  wp_enqueue_script( 'jquery-blockui' );
154
  wp_enqueue_script( 'wp-color-picker' );
 
 
 
 
 
155
 
156
  wp_enqueue_script( 'ajax-queue', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/jquery.ajax.queue.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
157
 
158
  wp_enqueue_script( 'ast_settings', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
159
 
160
+ wp_enqueue_script( 'ast_hip', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/hip.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
 
 
 
 
161
 
162
  wp_register_script( 'shipment_tracking_table_rows', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/shipping_row.js' , array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version );
163
 
209
  ?>
210
 
211
  <div class="zorem-layout">
212
+ <?php do_action( 'ast_settings_admin_notice' ); ?>
213
  <div class="zorem-layout__header">
214
+ <h1 class="page_heading">
215
+ <a href="javascript:void(0)"><?php esc_html_e( 'Shipment Tracking', 'woo-advanced-shipment-tracking' ); ?></a> <span class="dashicons dashicons-arrow-right-alt2"></span> <span class="breadcums_page_heading"><?php esc_html_e( 'Settings', 'woo-advanced-shipment-tracking' ); ?></span>
216
+ </h1>
217
+ <img class="zorem-layout__header-logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ast-logo.png">
218
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
219
  <div class="woocommerce zorem_admin_layout">
220
+ <div class="ast_admin_content zorem_admin_settings">
221
+ <?php include 'views/activity_panel.php'; ?>
222
  <div class="ast_nav_div">
223
  <?php
224
  $this->get_html_menu_tab( $this->get_ast_tab_settings_data() );
225
+ ?>
226
+ <div class="menu_devider"></div>
227
+ <?php
228
  require_once( 'views/admin_options_shipping_provider.php' );
229
  require_once( 'views/admin_options_settings.php' );
230
  require_once( 'views/admin_options_bulk_upload.php' );
281
  'data-label' => __( 'Settings', 'woo-advanced-shipment-tracking' ),
282
  'name' => 'tabs',
283
  'position' => 1,
 
 
 
 
 
 
 
 
 
284
  ),
285
+ /*'customize' => array(
286
+ 'title' => __( 'Customizer', 'woo-advanced-shipment-tracking' ),
287
  'type' => 'link',
288
  'link' => $ast_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ),
289
  'show' => true,
292
  'data-label' => __( 'Customize', 'woo-advanced-shipment-tracking' ),
293
  'name' => 'tabs',
294
  'position' => 3,
295
+ ),*/
296
+ 'tab1' => array(
297
+ 'title' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
298
+ 'show' => true,
299
+ 'class' => 'tab_label',
300
+ 'data-tab' => 'shipping-providers',
301
+ 'data-label' => __( 'Shipping Providers', 'woo-advanced-shipment-tracking' ),
302
+ 'name' => 'tabs',
303
+ 'position' => 2,
304
+ ),
305
  'tab4' => array(
306
  'title' => __( 'CSV Import', 'woo-advanced-shipment-tracking' ),
307
  'show' => true,
486
  ),
487
  'enable_printify_integration' => array(
488
  'type' => 'tgl_checkbox',
489
+ 'title' => __( 'Enable the Printify integration', 'woo-advanced-shipment-tracking' ),
490
+ 'desc' => __( 'Adding tracking information to your orders shipped with Printify and automate your workflow', 'woo-advanced-shipment-tracking' ),
491
  'img' => 'printify.png',
492
  'show' => true,
493
  'default' => 0,
496
  ),
497
  'enable_picqer_integration' => array(
498
  'type' => 'tgl_checkbox',
499
+ 'title' => __( 'Enable the Picqer integration', 'woo-advanced-shipment-tracking' ),
500
+ 'desc' => __( 'Adding tracking information to your orders shipped with Picqer and automate your workflow', 'woo-advanced-shipment-tracking' ),
501
  'img' => 'picqer.png',
502
  'show' => true,
503
  'default' => 0,
504
  'disabled' => true,
505
  'class' => '',
506
  ),
507
+ 'enable_3plwinner_integration' => array(
508
+ 'type' => 'tgl_checkbox',
509
+ 'title' => __( 'Enable the 3plwinner integration', 'woo-advanced-shipment-tracking' ),
510
+ 'desc' => __( 'Adding tracking information to your orders shipped with 3plwinner and automate your workflow', 'woo-advanced-shipment-tracking' ),
511
+ 'img' => '3plwinner.png',
512
+ 'show' => true,
513
+ 'default' => 0,
514
+ 'disabled' => true,
515
+ 'class' => '',
516
+ ),
517
  'enable_dianxiaomi_integration' => array(
518
  'type' => 'tgl_checkbox',
519
+ 'title' => __( 'Enable the Dianxiaomi integration', 'woo-advanced-shipment-tracking' ),
520
+ 'desc' => __( 'Adding tracking information to your orders shipped with Dianxiaomi and automate your workflow', 'woo-advanced-shipment-tracking' ),
521
  'img' => 'dianxiaomi.png',
522
  'show' => true,
523
  'default' => 0,
524
  'disabled' => true,
525
  'class' => '',
526
+ ),
527
+ 'enable_eiz_integration' => array(
528
+ 'type' => 'tgl_checkbox',
529
+ 'title' => __( 'Enable the EIZ integration', 'woo-advanced-shipment-tracking' ),
530
+ 'desc' => __( 'Adding tracking information to your orders shipped with EIZ and automate your workflow', 'woo-advanced-shipment-tracking' ),
531
+ 'img' => 'eiz.png',
532
+ 'show' => true,
533
+ 'default' => 0,
534
+ 'disabled' => true,
535
+ 'class' => '',
536
+ ),
537
  'enable_ali2woo_integration' => array(
538
  'type' => 'tgl_checkbox',
539
  'title' => __( 'Enable the AliExpress Dropshipping integration', 'woo-advanced-shipment-tracking' ),
582
  if ( $array['show'] ) {
583
  if ( isset( $array['type'] ) && 'link' == $array['type'] ) {
584
  ?>
585
+ <a class="menu_link" href="<?php esc_html_e( esc_url( $array['link'] ) ); ?>"><?php esc_html_e( $array['title'] ); ?></a>
586
  <?php
587
  } else {
588
  ?>
1368
  $date_shipped = $date_array[1] . '-' . $date_array[0] . '-' . $date_array[2];
1369
  }
1370
 
1371
+ $tracking_items = ast_get_tracking_items( $order_id );
1372
 
1373
  if ( 1 == $replace_tracking_info ) {
1374
 
1566
  public function get_all_added_product_list_with_qty( $order_id ) {
1567
 
1568
  $ast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
1569
+ $tracking_items = ast_get_tracking_items( $order_id );
1570
 
1571
  $product_list = array();
1572
 
1660
  $d = DateTime::createFromFormat( $format, $date );
1661
  // The Y ( 4 digits year ) returns TRUE for any integer with any number of digits so changing the comparison from == to === fixes the issue.
1662
  return $d && $d->format( $format ) === $date;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1663
  }
1664
 
1665
  /*
1693
  array(
1694
  'order_nonce' => wp_create_nonce( 'ast-order-list' ),
1695
  )
1696
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1697
 
1698
  $wc_ast_show_orders_actions = get_option( 'wc_ast_show_orders_actions' );
1699
  $order_array = array();
1721
  }
1722
 
1723
  return $actions;
1724
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1725
 
1726
  /*
1727
  * Get providers list html
1738
  ?>
1739
  </br><a href="javaScript:void(0);" class="button-primary btn_ast2 btn_large add_custom_provider" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><?php esc_html_e( 'Add Custom Provider', 'woo-advanced-shipment-tracking' ); ?></a>
1740
  <?php } ?>
1741
+ <div class="provider-grid-row grid-row">
1742
+ <?php
1743
+ foreach ( $default_shippment_providers as $d_s_p ) {
1744
+ $provider_type = ( 1 == $d_s_p->shipping_default ) ? 'default_provider' : 'custom_provider';
1745
+ ?>
1746
+ <div class="grid-item hip-item">
1747
+ <div class="grid-top">
1748
+ <div class="grid-provider-img">
1749
+ <?php
1750
+ $custom_thumb_id = $d_s_p->custom_thumb_id;
1751
+ if ( 1 == $d_s_p->shipping_default ) {
1752
+ if ( 0 != $custom_thumb_id ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1753
  $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
1754
+ $provider_image = $image_attributes[0];
1755
+ } else {
1756
+ $provider_image = $ast_directory . '' . sanitize_title( $d_s_p->provider_name ) . '.png?v=' . wc_advanced_shipment_tracking()->version;
 
 
 
1757
  }
1758
+ echo '<img class="provider-thumb" src="' . esc_url( $provider_image ) . '">';
1759
+ } else {
1760
+ $image_attributes = wp_get_attachment_image_src( $custom_thumb_id , array( '60', '60' ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1761
 
1762
+ if ( 0 != $custom_thumb_id ) {
1763
+ echo '<img class="provider-thumb" src="' . esc_url( $image_attributes[0] ) . '">';
1764
+ } else {
1765
+ echo '<img class="provider-thumb" src="' . esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ) . 'assets/images/icon-default.png">';
1766
+ }
1767
+ }
1768
+ ?>
1769
+ </div>
1770
+ <div class="grid-provider-name">
1771
+ <span class="provider_name">
1772
  <?php
1773
+ esc_html_e( $d_s_p->provider_name );
1774
+ $enable_edit = false;
1775
 
1776
+ if ( isset( $d_s_p->custom_provider_name ) && '' != $d_s_p->custom_provider_name ) {
1777
+ esc_html_e( ' (' . $d_s_p->custom_provider_name . ')' );
1778
+ $enable_edit = true;
1779
  }
1780
 
1781
+ if ( isset( $d_s_p->api_provider_name ) && '' != $d_s_p->api_provider_name ) {
1782
+ $enable_edit = true;
1783
+ if ( $this->isJSON( $d_s_p->api_provider_name ) && class_exists( 'ast_pro' ) ) {
1784
+ $api_count = count( json_decode( $d_s_p->api_provider_name ) );
1785
+ } else {
1786
+ $api_count = 1;
1787
+ }
1788
+ $api_text = __( 'API aliases', 'woo-advanced-shipment-tracking' );
1789
+ esc_html_e( ' (' . $api_count . ' ' . $api_text . ')' );
1790
+ }
 
1791
  ?>
1792
+ </span>
1793
+ <span class="provider_country">
1794
+ <?php
1795
+ $search = array('(US)', '(UK)');
1796
+ $replace = array('', '');
1797
 
1798
+ if ( $d_s_p->shipping_country && 'Global' != $d_s_p->shipping_country ) {
1799
+ esc_html_e( str_replace( $search, $replace, $WC_Countries->countries[ $d_s_p->shipping_country ] ) );
1800
+ } elseif ( $d_s_p->shipping_country && 'Global' == $d_s_p->shipping_country ) {
1801
+ esc_html_e( 'Global' );
1802
+ }
 
 
 
 
 
 
 
 
 
 
1803
  ?>
1804
+ </span>
1805
+ </div>
1806
+ <div class="grid-provider-settings">
1807
+ <?php
1808
 
1809
+ $edit_provider_class = ( $enable_edit ) ? apply_filters( 'edit_provider_class', 'edit_provider' ) : 'upgrade_to_ast_pro';
1810
+
1811
+ if ( 0 == $d_s_p->shipping_default ) {
1812
+ echo '<span class="dashicons dashicons-trash remove provider_actions_btn" data-pid="' . esc_html( $d_s_p->id ) . '"></span>';
1813
+ }
1814
+ ?>
1815
+ <span class="dashicons dashicons-admin-generic <?php esc_html_e( $edit_provider_class ); ?> provider_actions_btn" data-provider="<?php esc_html_e( $provider_type ); ?>" data-pid="<?php esc_html_e( $d_s_p->id ); ?>"></span>
1816
+ </div>
1817
+ </div>
1818
+ <div class="grid-bottom">
1819
+ <div class="grid-provider-ts">
1820
+ <?php
1821
+ if ( 1 == $d_s_p->trackship_supported ) {
1822
+ echo '<span class="dashicons dashicons-yes-alt"></span>';
1823
+ } else {
1824
+ echo '<span class="dashicons dashicons-dismiss"></span>';
1825
+ }
1826
+ ?>
1827
+ <span>TrackShip</span>
1828
+ </div>
1829
+ <div class="grid-provider-enable">
1830
+ <?php $checked = ( 1 == $d_s_p->display_in_order ) ? 'checked' : ''; ?>
1831
+ <input class="ast-tgl ast-tgl-flat status_slide" id="list-switch-<?php esc_html_e( $d_s_p->id ); ?>" name="select_custom_provider[]" type="checkbox" <?php esc_html_e( $checked ); ?> value="<?php esc_html_e( $d_s_p->id ); ?>"/>
1832
+ <label class="ast-tgl-btn" for="list-switch-<?php esc_html_e( $d_s_p->id ); ?>"></label>
1833
+ </div>
1834
+ </div>
1835
+ </div>
1836
+ <?php } ?>
1837
+
1838
  </div>
1839
  <?php
1840
  } else {
includes/class-wc-advanced-shipment-tracking-api-call.php DELETED
@@ -1,235 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
- class WC_Advanced_Shipment_Tracking_Api_Call {
6
-
7
- public function __construct() {
8
-
9
- }
10
-
11
- /*
12
- * check if string is json or not
13
- */
14
- public function isJson( $string ) {
15
- json_decode($string);
16
- return ( json_last_error() == JSON_ERROR_NONE );
17
- }
18
-
19
- /*
20
- * get trackship shipment status and update in order meta
21
- */
22
- public function get_trackship_apicall( $order_id ) {
23
-
24
- $logger = wc_get_logger();
25
- $context = array( 'source' => 'wc_ast_trackship' );
26
- $array = array();
27
- $order = wc_get_order( $order_id );
28
-
29
- $tracking_items = ast_get_tracking_items( $order_id );
30
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
31
-
32
- if ( $tracking_items ) {
33
- foreach ( ( array ) $tracking_items as $key => $val ) {
34
-
35
- if ( isset( $shipment_status[$key]['status'] ) && 'delivered' == $shipment_status[$key]['status'] ) {
36
- continue;
37
- }
38
-
39
- $tracking_number = trim($val['tracking_number']);
40
-
41
- $tracking_provider = isset( $val['tracking_provider'] ) ? $val['tracking_provider'] : $val['custom_tracking_provider'];
42
- $tracking_provider = apply_filters( 'convert_provider_name_to_slug', $tracking_provider );
43
-
44
- if ( isset( $tracking_number ) ) {
45
-
46
- //do api call
47
- $response = $this->get_trackship_data( $order, $tracking_number, $tracking_provider );
48
-
49
- if ( is_wp_error( $response ) ) {
50
- $error_message = $response->get_error_message();
51
-
52
- $logger = wc_get_logger();
53
- $context = array( 'source' => 'Trackship_apicall_is_wp_error' );
54
- $logger->error( "Something went wrong: {$error_message} For Order id :" . $order->get_id(), $context );
55
-
56
- //error like 403 500 502
57
- $timestamp = time() + 5*60;
58
- $args = array( $order->get_id() );
59
- $hook = 'wcast_retry_trackship_apicall';
60
- wp_schedule_single_event( $timestamp, $hook, $args );
61
-
62
- $shipment_status = get_post_meta( $order->get_id(), 'shipment_status', true);
63
- $ts_shipment_status = get_post_meta( $order->get_id(), 'ts_shipment_status', true);
64
-
65
- if ( is_string( $shipment_status ) ) {
66
- $shipment_status = array();
67
- }
68
-
69
- if ( is_string( $ts_shipment_status ) ) {
70
- $ts_shipment_status = array();
71
- }
72
-
73
- $shipment_status[$key]['status'] = "Something went wrong: {$error_message}";
74
- $shipment_status[$key]['status_date'] = gmdate( 'Y-m-d H:i:s' );
75
-
76
- $ts_shipment_status[$key]['status'] = $shipment_status[$key]['status'];
77
-
78
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status);
79
- update_post_meta( $order->get_id(), 'shipment_status', $shipment_status);
80
-
81
- } else {
82
-
83
- $code = $response['response']['code'];
84
-
85
- if ( 200 == $code ) {
86
-
87
- //update trackers_balance, status_msg
88
- if ( !$this->isJson( $response['body'] ) ) {
89
- return;
90
- }
91
-
92
- $body = json_decode( $response['body'], true );
93
-
94
- $shipment_status = get_post_meta( $order->get_id(), 'shipment_status', true);
95
- $ts_shipment_status = get_post_meta( $order->get_id(), 'ts_shipment_status', true);
96
-
97
- if ( is_string( $shipment_status ) ) {
98
- $shipment_status = array();
99
- }
100
-
101
- if ( is_string( $ts_shipment_status ) ) {
102
- $ts_shipment_status = array();
103
- }
104
-
105
- $shipment_status[$key]['pending_status'] = $body['status_msg'];
106
-
107
- $shipment_status[$key]['status_date'] = gmdate( 'Y-m-d H:i:s' );
108
- $shipment_status[$key]['est_delivery_date'] = '';
109
-
110
- $ts_shipment_status[$key]['status'] = $shipment_status[$key]['pending_status'];
111
-
112
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status);
113
- update_post_meta( $order->get_id(), 'shipment_status', $shipment_status);
114
-
115
- if ( isset( $body['trackers_balance'] ) ) {
116
- update_option('trackers_balance', $body['trackers_balance'] );
117
- }
118
- } else {
119
- //error like 400
120
- $body = json_decode($response['body'], true);
121
-
122
- $shipment_status = get_post_meta( $order->get_id(), 'shipment_status', true);
123
- $ts_shipment_status = get_post_meta( $order->get_id(), 'ts_shipment_status', true);
124
-
125
- if ( is_string( $shipment_status ) ) {
126
- $shipment_status = array();
127
- }
128
-
129
- if ( is_string( $ts_shipment_status ) ) {
130
- $ts_shipment_status = array();
131
- }
132
-
133
- $shipment_status[$key]['status'] = 'Error message : ' . $body['message'];
134
- $shipment_status[$key]['status_date'] = gmdate( 'Y-m-d H:i:s' );
135
- $shipment_status[$key]['est_delivery_date'] = '';
136
-
137
- $ts_shipment_status[$key]['status'] = $shipment_status[$key]['status'];
138
-
139
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status);
140
- update_post_meta( $order->get_id(), 'shipment_status', $shipment_status);
141
-
142
- $logger = wc_get_logger();
143
- $context = array( 'source' => 'Trackship_apicall_error' );
144
- $logger->error( 'Error code : ' . $code . ' For Order id :' . $order->get_id(), $context );
145
- $logger->error( 'Body : ' . $response['body'], $context );
146
- }
147
- }
148
- }
149
- }
150
- }
151
- return $array;
152
- }
153
-
154
- /*
155
- * get trackship shipment data
156
- */
157
- public function get_trackship_data( $order, $tracking_number, $tracking_provider ) {
158
-
159
- $user_key = get_option( 'wc_ast_api_key' );
160
-
161
- $domain = get_home_url();
162
- if ( class_exists( 'SitePress' ) ) {
163
- global $sitepress;
164
- $language_negotiation_type = $sitepress->get_setting( 'language_negotiation_type' );
165
- $urlSettings = $sitepress->get_setting( 'urls' );
166
- $dir_for_default_language = isset( $urlSettings['directory_for_default_language'] ) && $urlSettings['directory_for_default_language'];
167
-
168
- if ( 1 != $language_negotiation_type || !$dir_for_default_language ) {
169
- $domain = get_site_url();
170
- }
171
- }
172
- $domain = apply_filters( 'ts_api_domain', $domain );
173
-
174
- $order_id = $order->get_id();
175
- $order_number = $order->get_order_number();
176
-
177
- if ( null != $order->get_shipping_country() ) {
178
- $shipping_country = $order->get_shipping_country();
179
- } else {
180
- $shipping_country = $order->get_billing_country();
181
- }
182
-
183
- if ( null != $order->get_shipping_postcode() ) {
184
- $shipping_postal_code = $order->get_shipping_postcode();
185
- } else {
186
- $shipping_postal_code = $order->get_billing_postcode();
187
- }
188
-
189
- $url = 'https://trackship.info/wp-json/tracking/create';
190
-
191
- $args['body'] = array(
192
- 'user_key' => $user_key,
193
- 'order_id' => $order_id,
194
- 'custom_order_id' => $order_number,
195
- 'domain' => $domain,
196
- 'tracking_number' => $tracking_number,
197
- 'tracking_provider' => $tracking_provider,
198
- 'postal_code' => $shipping_postal_code,
199
- 'destination_country' => $shipping_country,
200
- );
201
-
202
- $args['headers'] = array(
203
- 'user_key' => $user_key
204
- );
205
- $args['timeout'] = 10;
206
- $response = wp_remote_post( $url, $args );
207
- return $response;
208
- }
209
-
210
- /*
211
- * delete tracking number from trackship
212
- */
213
- public function delete_tracking_number_from_trackship( $order_id, $tracking_number, $tracking_provider ) {
214
-
215
- $user_key = get_option( 'wc_ast_api_key' );
216
- $domain = get_site_url();
217
-
218
- $url = 'https://trackship.info/wp-json/tracking/delete';
219
-
220
- $args['body'] = array(
221
- 'user_key' => $user_key,
222
- 'order_id' => $order_id,
223
- 'domain' => $domain,
224
- 'tracking_number' => $tracking_number,
225
- 'tracking_provider' => $tracking_provider,
226
- );
227
-
228
- $args['headers'] = array(
229
- 'user_key' => $user_key
230
- );
231
- $args['timeout'] = 10;
232
- $response = wp_remote_post( $url, $args );
233
- return $response;
234
- }
235
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-front.php DELETED
@@ -1,528 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Front {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
-
20
- global $wpdb;
21
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
22
-
23
- if ( is_multisite() ) {
24
-
25
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
26
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
27
- }
28
-
29
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
30
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
31
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
32
- } else {
33
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
34
- }
35
- } else {
36
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
37
- }
38
-
39
- $this->init();
40
- }
41
-
42
- /**
43
- * Get the class instance
44
- *
45
- * @return WC_Advanced_Shipment_Tracking_Actions
46
- */
47
- public static function get_instance() {
48
-
49
- if ( null === self::$instance ) {
50
- self::$instance = new self();
51
- }
52
-
53
- return self::$instance;
54
- }
55
-
56
- /*
57
- * init from parent mail class
58
- */
59
- public function init() {
60
-
61
- add_shortcode( 'wcast-track-order', array( $this, 'woo_track_order_function' ) );
62
- add_action( 'wp_enqueue_scripts', array( $this, 'front_styles' ));
63
- add_action( 'wp_ajax_nopriv_get_tracking_info', array( $this, 'get_tracking_info_fun' ) );
64
- add_action( 'wp_ajax_get_tracking_info', array( $this, 'get_tracking_info_fun' ) );
65
-
66
- add_action( 'wp_ajax_nopriv_ts_open_tracking_lightbox', array( $this, 'ts_open_tracking_lightbox' ) );
67
- add_action( 'wp_ajax_ts_open_tracking_lightbox', array( $this, 'ts_open_tracking_lightbox' ) );
68
- }
69
-
70
- /**
71
- * Include front js and css
72
- */
73
- public function front_styles() {
74
-
75
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
76
- wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
77
- wp_register_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
78
- wp_localize_script( 'front-js', 'zorem_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
79
-
80
- wp_register_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
81
-
82
- $action = ( isset( $_REQUEST[ 'action' ] ) ? wc_clean( $_REQUEST[ 'action' ] ) : '' );
83
-
84
- if ( 'preview_tracking_page' == $action ) {
85
- wp_enqueue_style( 'front_style' );
86
- wp_enqueue_script( 'front-js' );
87
- }
88
- }
89
-
90
- /**
91
- * Return tracking details or tracking form for shortcode - [wcast-track-order]
92
- */
93
- public function woo_track_order_function() {
94
-
95
- wp_enqueue_style( 'front_style' );
96
- wp_enqueue_script( 'jquery-blockui' );
97
- wp_enqueue_script( 'front-js' );
98
-
99
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
100
-
101
- if ( !$wc_ast_api_key ) {
102
- ?>
103
- <p><a href="https://trackship.info/" target="blank">TrackShip</a> is not active.</p>
104
- <?php
105
- return;
106
- }
107
-
108
- if ( isset( $_GET['order_id'] ) && isset( $_GET['order_key'] ) ) {
109
-
110
- $order_id = wc_clean($_GET['order_id']);
111
-
112
- $order = wc_get_order( $order_id );
113
-
114
- if ( empty( $order ) ) {
115
- return;
116
- }
117
-
118
- $order_key = $order->get_order_key();
119
-
120
- if ( $order_key != $_GET['order_key'] ) {
121
- return;
122
- }
123
-
124
- if ( empty( $order ) ) {
125
- return;
126
- }
127
-
128
- $tracking_items = ast_get_tracking_items( $order_id );
129
-
130
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
131
-
132
- if ( !$tracking_items ) {
133
- unset($order_id);
134
- }
135
- }
136
-
137
- if ( !isset( $order_id ) ) {
138
- ob_start();
139
- $this->track_form_template();
140
- $form = ob_get_clean();
141
- return $form;
142
- } else {
143
- ob_start();
144
- echo wp_kses_post( $this->display_tracking_page( $order_id, $tracking_items, $shipment_status ) );
145
- $form = ob_get_clean();
146
- return $form;
147
- }
148
- }
149
-
150
- /**
151
- * Ajax function for get tracking details
152
- */
153
- public function get_tracking_info_fun() {
154
-
155
- check_ajax_referer( 'tracking_form', 'tracking_form_nonce' );
156
-
157
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
158
-
159
- if ( !$wc_ast_api_key ) {
160
- return;
161
- }
162
-
163
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
164
- $email = isset( $_POST['order_email'] ) ? wc_clean( $_POST['order_email'] ) : '';
165
-
166
- $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
167
- $order_id = $wast->get_formated_order_id($order_id);
168
-
169
- $order = wc_get_order( $order_id );
170
-
171
- if ( empty( $order ) ) {
172
- ob_start();
173
- $this->track_form_template();
174
- $form = ob_get_clean();
175
- echo json_encode( array('success' => 'false', 'message' => __( 'Order not found.', 'woo-advanced-shipment-tracking' ), 'html' => $form ));
176
- die();
177
- }
178
-
179
- $order_id = $wast->get_formated_order_id($order_id);
180
- $order_email = $order->get_billing_email();
181
-
182
- if ( strtolower( $order_email ) != strtolower( $email ) ) {
183
- ob_start();
184
- $this->track_form_template();
185
- $form = ob_get_clean();
186
- echo json_encode( array('success' => 'false', 'message' => __( 'Order not found.', 'woo-advanced-shipment-tracking' ), 'html' => $form ));
187
- die();
188
- }
189
-
190
- $tracking_items = ast_get_tracking_items( $order_id );
191
-
192
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
193
-
194
- if ( !$tracking_items ) {
195
- ob_start();
196
- $this->track_form_template();
197
- $form = ob_get_clean();
198
- echo json_encode( array('success' => 'false', 'message' => __( 'Tracking details not found', 'woo-advanced-shipment-tracking' ), 'html' => $form ));
199
- die();
200
- }
201
-
202
- ob_start();
203
- $html = $this->display_tracking_page( $order_id, $tracking_items, $shipment_status );
204
- $html = ob_get_clean();
205
- echo json_encode( array('success' => 'true', 'message' => '', 'html' => $html ));
206
- die();
207
- }
208
-
209
- /**
210
- * Ajax function for get tracking details lightbox
211
- */
212
- public function ts_open_tracking_lightbox() {
213
-
214
- check_ajax_referer( 'open_tracking_lightbox', 'security' );
215
-
216
- $wc_ast_api_key = get_option('wc_ast_api_key');
217
-
218
- if ( !$wc_ast_api_key ) {
219
- exit;
220
- }
221
-
222
- $order_id = isset( $_POST['order_id'] ) ? wc_clean( $_POST['order_id'] ) : '';
223
- $tracking_number = isset( $_POST['tracking_number'] ) ? wc_clean( $_POST['tracking_number'] ) : '';
224
-
225
- $order = wc_get_order( $order_id );
226
-
227
- $tracking_items = ast_get_tracking_items( $order_id );
228
-
229
- foreach ( $tracking_items as $key => $tracking_item ) {
230
- if ( $tracking_item['tracking_number'] != $tracking_number ) {
231
- unset( $tracking_items[$key] );
232
- }
233
- }
234
-
235
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
236
-
237
- ob_start();
238
- $html = $this->display_tracking_page( $order_id, $tracking_items, $shipment_status );
239
- $html = ob_get_clean();
240
- echo $html;
241
- exit;
242
- }
243
-
244
- /*
245
- * retuern Tracking form HTML
246
- */
247
- public function track_form_template() {
248
- $local_template = get_stylesheet_directory() . '/woocommerce/tracking/tracking-form.php';
249
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
250
- wc_get_template( 'tracking/tracking-form.php', array(), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
251
- } else {
252
- wc_get_template( 'tracking/tracking-form.php', array(), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
253
- }
254
- }
255
-
256
- /*
257
- * retuern Tracking page HTML
258
- */
259
- public function display_tracking_page( $order_id, $tracking_items, $shipment_status ) {
260
-
261
- wp_enqueue_style( 'front_style' );
262
- wp_enqueue_script( 'jquery-blockui' );
263
- wp_enqueue_script( 'front-js' );
264
-
265
- global $wpdb;
266
-
267
- $ts_tracking_page_customizer = new ts_tracking_page_customizer();
268
-
269
- $border_color = get_option('wc_ast_select_border_color', $ts_tracking_page_customizer->defaults['wc_ast_select_border_color'] );
270
- $background_color = get_option('wc_ast_select_bg_color', $ts_tracking_page_customizer->defaults['wc_ast_select_bg_color'] );
271
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events', $ts_tracking_page_customizer->defaults['wc_ast_hide_tracking_events'] );
272
- $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout', $ts_tracking_page_customizer->defaults['wc_ast_select_tracking_page_layout'] );
273
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding', $ts_tracking_page_customizer->defaults['wc_ast_remove_trackship_branding'] );
274
- ?>
275
-
276
- <style>
277
- <?php if ( $border_color ) { ?>
278
- body .col.tracking-detail{
279
- border: 1px solid <?php esc_html_e( $border_color ); ?>;
280
- }
281
- body .col.tracking-detail .shipment-header{
282
- border-bottom: 1px solid <?php esc_html_e( $border_color ); ?>;
283
- }
284
- body .col.tracking-detail .trackship_branding{
285
- border-top: 1px solid <?php esc_html_e( $border_color ); ?>;
286
- }
287
- <?php } ?>
288
- <?php if ( $background_color ) { ?>
289
- body .col.tracking-detail{
290
- background: <?php esc_html_e( $background_color ); ?>;
291
- }
292
- <?php } ?>
293
- </style>
294
- <?php
295
-
296
- $num = 1;
297
- $total_trackings = count( $tracking_items );
298
-
299
- foreach ( $tracking_items as $key => $item ) {
300
- $tracking_number = $item['tracking_number'];
301
- $trackship_url = 'https://trackship.info';
302
- $tracking_provider = $item['tracking_provider'];
303
- $results = $wpdb->get_row( $wpdb->prepare( "SELECT * FROM $this->table WHERE ts_slug = %s", $tracking_provider ) );
304
- $tracking_provider = $results->provider_name;
305
- $custom_provider_name = $results->custom_provider_name;
306
- $custom_thumb_id = $results->custom_thumb_id;
307
-
308
- /*** Update in 2.7.9
309
- * Date - 20/01/2020
310
- * Remove api call code after three month - get_tracking_info
311
- ***/
312
- $tracker = new \stdClass();
313
-
314
- if ( isset( $shipment_status[ $key ][ 'pending_status' ] ) ) {
315
- $tracker->ep_status = $shipment_status[$key]['pending_status'];
316
- } else if ( isset( $shipment_status[ $key ][ 'status' ] ) ) {
317
- $tracker->ep_status = $shipment_status[$key]['status'];
318
- }
319
-
320
- $tracker->est_delivery_date = isset( $shipment_status[ $key ][ 'est_delivery_date' ] ) ? $shipment_status[ $key ][ 'est_delivery_date' ] : '';
321
-
322
- if ( isset( $shipment_status[ $key ][ 'tracking_events' ] ) || isset( $shipment_status[ $key ][ 'pending_status' ] ) ) {
323
-
324
- if ( isset( $shipment_status[ $key ][ 'tracking_events' ] ) ) {
325
- $tracker->tracking_detail = json_encode( $shipment_status[ $key ][ 'tracking_events' ] );
326
- }
327
-
328
- if ( isset( $shipment_status[ $key ][ 'tracking_destination_events' ] ) ) {
329
- $tracker->tracking_destination_events = json_encode( $shipment_status[ $key ][ 'tracking_destination_events' ] );
330
- }
331
-
332
- $decoded_data = true;
333
- }
334
-
335
- $tracking_detail_org = '';
336
- $trackind_detail_by_status_rev = '';
337
-
338
- if ( isset( $tracker->tracking_detail ) && null != $tracker->tracking_detail ) {
339
- $tracking_detail_org = json_decode( $tracker->tracking_detail );
340
- $trackind_detail_by_status_rev = array_reverse( $tracking_detail_org );
341
- }
342
-
343
- $tracking_details_by_date = array();
344
-
345
- foreach ( (array) $trackind_detail_by_status_rev as $key => $details ) {
346
- if ( isset( $details->datetime ) ) {
347
- $date = gmdate( 'Y-m-d', strtotime( $details->datetime ) );
348
- $tracking_details_by_date[ $date ][] = $details;
349
- }
350
- }
351
-
352
- $tracking_destination_detail_org = '';
353
- $trackind_destination_detail_by_status_rev = '';
354
-
355
- if ( isset( $tracker->tracking_destination_events ) && null != $tracker->tracking_destination_events ) {
356
- $tracking_destination_detail_org = json_decode( $tracker->tracking_destination_events );
357
- $trackind_destination_detail_by_status_rev = array_reverse( $tracking_destination_detail_org );
358
- }
359
-
360
- $tracking_destination_details_by_date = array();
361
-
362
- foreach ( (array) $trackind_destination_detail_by_status_rev as $key => $details ) {
363
- if ( isset( $details->datetime ) ) {
364
- $date = gmdate( 'Y-m-d', strtotime( $details->datetime ) );
365
- $tracking_destination_details_by_date[$date][] = $details;
366
- }
367
- }
368
-
369
- $order = wc_get_order( $order_id );
370
- $order_url = $order->get_view_order_url();
371
- $order_number = $order->get_order_number();
372
-
373
- if ( isset( $tracker->ep_status ) ) {
374
- $t_layout_class = ( 't_layout_1' != $tracking_page_layout ) ? 'tracking-layout-2' : '' ;
375
- ?>
376
- <div class="tracking-detail col <?php esc_html_e( $t_layout_class ); ?>">
377
-
378
- <div class="shipment-header">
379
- <?php if ( $total_trackings > 1 ) { ?>
380
- <p class="shipment_heading">
381
- <?php
382
- /* translators: %1$s: replace with num, %2$s: replace with total_trackings */
383
- printf( esc_html__( 'Shipment : %1$s (out of %2$s)', 'woo-advanced-shipment-tracking' ), esc_html( $num ), esc_html( $total_trackings ) );
384
- ?>
385
- </p>
386
- <span class="wc_order_id"><?php esc_html_e( 'Order', 'woocommerce' ); ?>
387
- <a href="<?php echo esc_url( $order_url ); ?>" target="_blank">
388
- <strong>#<?php esc_html_e( apply_filters( 'ast_order_number_filter', $order_number ) ); ?></strong>
389
- </a>
390
- </span>
391
- <?php } else { ?>
392
- <p class="shipment_heading"><?php esc_html_e( 'Shipment', 'woo-advanced-shipment-tracking' ); ?></p>
393
- <span class="wc_order_id"><?php esc_html_e( 'Order', 'woocommerce' ); ?>
394
- <a href="<?php echo esc_url( $order_url ); ?>" target="_blank">
395
- <strong>#<?php esc_html_e( apply_filters( 'ast_order_number_filter', $order_number ) ); ?></strong>
396
- </a>
397
- </span>
398
- <?php } ?>
399
- </div>
400
-
401
- <div class="shipment-content">
402
- <?php
403
-
404
- echo wp_kses_post( $this->tracking_page_header( $order_id, $tracker, $item ) );
405
-
406
- echo wp_kses_post( $this->tracking_progress_bar( $tracker ) );
407
-
408
- if ( in_array( $tracker->ep_status, array( 'pending_trackship', 'carrier_unsupported', 'unknown' ) ) ) {
409
-
410
- $pending_message = __( 'Tracking information is not available, please try again in a few minutes.', 'woo-advanced-shipment-tracking' );
411
- ?>
412
- <p class="pending_message"><?php esc_html_e( apply_filters( 'trackship_pending_status_message', $pending_message, $tracker->ep_status ) ); ?></p>
413
- <?php
414
- }
415
-
416
- if ( !empty( $trackind_detail_by_status_rev ) ) {
417
- echo wp_kses_post( $this->layout1_tracking_details( $trackind_detail_by_status_rev, $tracking_details_by_date, $trackind_destination_detail_by_status_rev, $tracking_destination_details_by_date, $tracker , $order_id, $tracking_provider, $tracking_number ) );
418
- }
419
- ?>
420
- </div>
421
- <div class="trackship_branding">
422
- <p>Shipment Tracking info by <a href="https://trackship.info/trackings/?number=<?php esc_html_e( $tracking_number ); ?>" title="TrackShip" target="blank"><img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png"></a></p>
423
- </div>
424
- </div>
425
- <?php
426
- } else {
427
- ?>
428
- <div class="tracking-detail col">
429
- <h1 class="shipment_status_heading text-secondary text-center"><?php esc_html_e( 'Tracking&nbsp;#&nbsp;' . $tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
430
- <h3 class="text-center"><?php esc_html_e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
431
- </div>
432
- <?php
433
- }
434
- $num++;
435
- }
436
- }
437
-
438
- /*
439
- * Tracking Page Header
440
- */
441
- public function tracking_page_header( $order_id, $tracker, $item ) {
442
-
443
- $ts_tracking_page_customizer = new ts_tracking_page_customizer();
444
- $wc_ast_link_to_shipping_provider = get_option('wc_ast_link_to_shipping_provider', $ts_tracking_page_customizer->defaults['wc_ast_link_to_shipping_provider'] );
445
- $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image', $ts_tracking_page_customizer->defaults['wc_ast_hide_tracking_provider_image'] );
446
-
447
- include 'views/front/tracking_page_header.php';
448
- }
449
-
450
- public function tracking_progress_bar( $tracker ) {
451
-
452
- if ( in_array( $tracker->ep_status, array( 'INVALID_TRACKING_NUM', 'carrier_unsupported', 'invalid_user_key', 'wrong_shipping_provider', 'deleted', 'pending' ) ) ) {
453
- return;
454
- }
455
-
456
- if ( in_array( $tracker->ep_status, array( 'pending_trackship', 'pending', 'unknown', 'carrier_unsupported' ) ) ) {
457
- $width = '17%';
458
- } else if ( in_array( $tracker->ep_status, array( 'in_transit', 'on_hold' ) ) ) {
459
- $width = '33%';
460
- } else if ( 'out_for_delivery' == $tracker->ep_status ) {
461
- $width = '67%';
462
- } else if ( 'available_for_pickup' == $tracker->ep_status ) {
463
- $width = '67%';
464
- } else if ( 'return_to_sender' == $tracker->ep_status ) {
465
- $width = '67%';
466
- } else if ( 'delivered' == $tracker->ep_status ) {
467
- $width = '100%';
468
- } else {
469
- $width = '0';
470
- }
471
- $tracking_page_layout = get_option( 'wc_ast_select_tracking_page_layout', 't_layout_1' );
472
- ?>
473
- <div class="tracker-progress-bar <?php esc_html_e( 't_layout_1' == $tracking_page_layout ? 'tracking_layout_1' : '' ); ?>">
474
- <div class="progress">
475
- <div class="progress-bar <?php esc_html_e( $tracker->ep_status ); ?>" style="width: <?php esc_html_e( $width ); ?>;"></div>
476
- </div>
477
- </div>
478
- <?php
479
- }
480
-
481
-
482
- public function layout1_tracking_details( $trackind_detail_by_status_rev, $tracking_details_by_date, $trackind_destination_detail_by_status_rev, $tracking_destination_details_by_date, $tracker, $order_id, $tracking_provider, $tracking_number ) {
483
- $ts_tracking_page_customizer = new ts_tracking_page_customizer();
484
- $hide_tracking_events = get_option( 'wc_ast_hide_tracking_events', $ts_tracking_page_customizer->defaults['wc_ast_hide_tracking_events'] );
485
- include 'views/front/layout1_tracking_details.php';
486
- }
487
-
488
- /**
489
- * Convert string to date
490
- */
491
- public static function convertString( $date ) {
492
-
493
- // convert date and time to seconds
494
- $sec = strtotime($date);
495
-
496
- // convert seconds into a specific format
497
- $date = gmdate( 'm/d/Y H:i', $sec );
498
-
499
- // print final date and time
500
- return $date;
501
- }
502
-
503
- /*
504
- * Tracking Page preview
505
- */
506
- public static function preview_tracking_page() {
507
-
508
- $action = ( isset( $_REQUEST['action'] ) ? wc_clean( $_REQUEST['action'] ) : '' );
509
- if ( 'preview_tracking_page' != $action ) {
510
- return;
511
- }
512
-
513
- wp_head();
514
-
515
- $ts_tracking_page_customizer = new ts_tracking_page_customizer();
516
-
517
- $border_color = get_option('wc_ast_select_border_color', $ts_tracking_page_customizer->defaults['wc_ast_select_border_color'] );
518
- $background_color = get_option('wc_ast_select_bg_color', $ts_tracking_page_customizer->defaults['wc_ast_select_bg_color'] );
519
- $wc_ast_link_to_shipping_provider = get_option('wc_ast_link_to_shipping_provider', $ts_tracking_page_customizer->defaults['wc_ast_link_to_shipping_provider'] );
520
- $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image', $ts_tracking_page_customizer->defaults['wc_ast_hide_tracking_provider_image'] );
521
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events', $ts_tracking_page_customizer->defaults['wc_ast_hide_tracking_events'] );
522
- $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout', $ts_tracking_page_customizer->defaults['wc_ast_select_tracking_page_layout'] );
523
-
524
- include 'views/front/preview_tracking_page.php';
525
- wp_footer();
526
- exit;
527
- }
528
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-late-shipments.php DELETED
@@ -1,319 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Late_Shipments {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- const CRON_HOOK = 'ast_late_shipments_cron_hook';
16
-
17
- /**
18
- * Get the class instance
19
- *
20
- * @since 1.0
21
- * @return smswoo_license
22
- */
23
- public static function get_instance() {
24
-
25
- if ( null === self::$instance ) {
26
- self::$instance = new self();
27
- }
28
-
29
- return self::$instance;
30
- }
31
-
32
- /**
33
- * Initialize the main plugin function
34
- *
35
- * @since 1.0
36
- * @return void
37
- */
38
- public function __construct() {
39
- $this->init();
40
- }
41
-
42
- /*
43
- * init function
44
- *
45
- * @since 1.0
46
- */
47
- public function init() {
48
-
49
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
50
-
51
- $wcast_enable_late_shipments_email = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_enable_late_shipments_admin_email', '' );
52
-
53
- $wc_ast_api_key = get_option('wc_ast_api_key');
54
- if ( !$wcast_enable_late_shipments_email || !$wc_ast_api_key ) {
55
- return;
56
- }
57
-
58
- //cron schedule added
59
- add_filter( 'cron_schedules', array( $this, 'late_shipments_cron_schedule') );
60
- //add_action( 'wp_ajax_send_late_shipments_email', array( $this, 'send_late_shipments_email') );
61
- //add_action( 'wp_ajax_nopriv_send_late_shipments_email', array( $this, 'send_late_shipments_email') );
62
-
63
- //Send Late Shipments Email
64
- add_action( self::CRON_HOOK, array( $this, 'send_late_shipments_email' ) );
65
-
66
- if ( !wp_next_scheduled( self::CRON_HOOK ) ) {
67
- wp_schedule_event( time() , 'ast_late_shipments_cron_events', self::CRON_HOOK );
68
- }
69
- }
70
-
71
- /**
72
- * Remove the Cron
73
- *
74
- * @since 1.0.0
75
- */
76
- public function remove_cron() {
77
- wp_clear_scheduled_hook( self::CRON_HOOK );
78
- }
79
-
80
- /**
81
- * Setup the Cron
82
- *
83
- * @since 1.0.0
84
- */
85
- public function setup_cron() {
86
-
87
- $late_shipments_email_settings = get_option('late_shipments_email_settings');
88
-
89
- $wcast_late_shipments_trigger_alert = isset( $late_shipments_email_settings['wcast_late_shipments_trigger_alert'] ) ? $late_shipments_email_settings['wcast_late_shipments_trigger_alert'] : '';
90
-
91
- if ( 'daily_digest_on' == $wcast_late_shipments_trigger_alert ) {
92
-
93
- $wcast_late_shipments_daily_digest_time = isset( $late_shipments_email_settings['wcast_late_shipments_daily_digest_time'] ) ? $late_shipments_email_settings['wcast_late_shipments_daily_digest_time'] : '';
94
-
95
- // Create a Date Time object when the cron should run for the first time
96
- $first_cron = new DateTime( gmdate( 'Y-m-d' ) . ' ' . $wcast_late_shipments_daily_digest_time . ':00', new DateTimeZone( wc_timezone_string() ) );
97
- $first_cron->setTimeZone(new DateTimeZone('GMT'));
98
-
99
- $time = new DateTime( gmdate( 'Y-m-d H:i:s' ), new DateTimeZone( wc_timezone_string() ) );
100
-
101
- if ( $time->getTimestamp() > $first_cron->getTimestamp() ) {
102
- $first_cron->modify( '+1 day' );
103
- }
104
-
105
- wp_schedule_event( $first_cron->format( 'U' ) + $first_cron->getOffset(), 'daily', self::CRON_HOOK );
106
-
107
- } else {
108
- if ( !wp_next_scheduled( self::CRON_HOOK ) ) {
109
- wp_schedule_event( time() , 'ast_late_shipments_cron_events', self::CRON_HOOK );
110
- }
111
- }
112
- }
113
-
114
- /*
115
- * add schedule for late shipments check
116
- *
117
- * @since 1.0
118
- *
119
- * @return array
120
- */
121
- public function late_shipments_cron_schedule( $schedules ) {
122
-
123
- $schedules[ 'ast_late_shipments_cron_events' ] = array(
124
- 'interval' => 86400,
125
- 'display' => __( 'Every day' ),
126
- );
127
- return $schedules;
128
- }
129
-
130
- /**
131
- *
132
- * Send Late Shipments Email
133
- *
134
- */
135
- public function send_late_shipments_email() {
136
-
137
- $orders = new WP_Query(
138
- array(
139
- 'post_type' => 'shop_order',
140
- 'post_status' => array_keys( wc_get_order_statuses() ),
141
- 'posts_per_page' => -1,
142
- 'meta_key' => 'shipment_status',
143
- 'meta_compare' => 'EXISTS', // The comparison argument
144
- // Using the date_query to filter posts from last 90 days
145
- 'date_query' => array(
146
- array(
147
- 'after' => '-90 days'
148
- )
149
- )
150
- )
151
- );
152
-
153
- $wcast_late_shipments_settings = new wcast_late_shipments_customizer_email();
154
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
155
-
156
- $wcast_late_shipments_days = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_late_shipments_days', $wcast_late_shipments_settings->defaults['wcast_late_shipments_days'] );
157
-
158
- foreach ( $orders->posts as $order ) {
159
- $order_object = new WC_Order( $order->ID );
160
- $shipment_status = get_post_meta( $order_object->get_id(), 'shipment_status', true);
161
-
162
- foreach ( $shipment_status as $key => $tracker ) {
163
-
164
- $tracking_items = ast_get_tracking_items( $order_object->get_id() );
165
- $shipment_length = $this->get_shipment_length($tracker);
166
-
167
- if ( 'available_for_pickup' != $tracker['status'] && 'delivered' != $tracker['status'] ) {
168
-
169
- if ( $shipment_length >= $wcast_late_shipments_days ) {
170
-
171
- $late_shipments = get_post_meta( $order_object->get_id(), 'late_shipments_email', true );
172
-
173
- if ( isset( $late_shipments[$tracking_items[ $key ][ 'tracking_number' ] ] ) ) {
174
- if ( 1 != $late_shipments[$tracking_items[ $key ][ 'tracking_number' ] ][ 'email_send' ] ) {
175
- $email_send = $this->late_shippment_email_trigger( $order_object->get_id(), $order_object, $tracker, $tracking_items[ $key ][ 'tracking_number' ] );
176
- if ( $email_send ) {
177
- $late_shipments_array[ $tracking_items[ $key ][ 'tracking_number' ] ] = array( 'email_send' => '1' );
178
- update_post_meta( $order_object->get_id(), 'late_shipments_email', $late_shipments_array );
179
- }
180
- }
181
- } else {
182
- $email_send = $this->late_shippment_email_trigger( $order_object->get_id(), $order_object, $tracker, $tracking_items[ $key ][ 'tracking_number' ] );
183
- if ( $email_send ) {
184
- $late_shipments_array[ $tracking_items[ $key ][ 'tracking_number' ] ] = array( 'email_send' => '1' );
185
- update_post_meta( $order_object->get_id(), 'late_shipments_email', $late_shipments_array );
186
- }
187
- }
188
- }
189
- }
190
- }
191
- }
192
- exit;
193
- }
194
-
195
- /*
196
- * get shiment lenth of tracker
197
- * return (int)days
198
- */
199
- public function get_shipment_length ( $ep_tracker ) {
200
-
201
- if ( empty( $ep_tracker[ 'tracking_events' ] ) ) {
202
- return 0;
203
- }
204
-
205
- if ( 0 == count( $ep_tracker[ 'tracking_events' ] ) ) {
206
- return 0;
207
- }
208
-
209
- $first = reset( $ep_tracker['tracking_events'] );
210
- $first_date = $first->datetime;
211
- $last = ( isset( $ep_tracker['tracking_destination_events'] ) && count( $ep_tracker['tracking_destination_events'] ) > 0 ) ? end( $ep_tracker['tracking_destination_events'] ) : end( $ep_tracker['tracking_events'] );
212
- $last_date = $last->datetime;
213
-
214
- $status = $ep_tracker['status'];
215
- if ( 'delivered' != $status ) {
216
- $last_date = gmdate( 'Y-m-d H:i:s' );
217
- }
218
-
219
- $days = $this->get_num_of_days( $first_date, $last_date );
220
- return $days;
221
- }
222
-
223
- /*
224
- * Get number of days from start date and end date
225
- */
226
- public function get_num_of_days ( $first_date, $last_date ) {
227
- $date1 = strtotime($first_date);
228
- $date2 = strtotime($last_date);
229
- $diff = abs($date2 - $date1);
230
- return gmdate( 'd', $diff );
231
- }
232
-
233
- /**
234
- * Code for send shipment status email
235
- */
236
- public function late_shippment_email_trigger ( $order_id, $order, $tracker, $tracking_number ) {
237
-
238
- $wcast_late_shipments_settings = new wcast_late_shipments_customizer_email();
239
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
240
-
241
- $email_subject = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_late_shipments_email_subject', $wcast_late_shipments_settings->defaults[ 'wcast_late_shipments_email_subject' ] );
242
-
243
- $subject = wc_trackship_email_manager()->email_subject( $email_subject, $order_id, $order );
244
-
245
- $email_to = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_late_shipments_email_to', $wcast_late_shipments_settings->defaults[ 'wcast_late_shipments_email_to' ] );
246
- $email_to = explode( ',', $email_to );
247
-
248
- foreach ( $email_to as $email ) {
249
-
250
- $email_heading = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_late_shipments_email_heading', $wcast_late_shipments_settings->defaults[ 'wcast_late_shipments_email_heading' ] );
251
-
252
- $email_content = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_late_shipments_email_content', $wcast_late_shipments_settings->defaults['wcast_late_shipments_email_content' ] );
253
-
254
- $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
255
- $tracking_items = $wast->get_tracking_items( $order_id, true );
256
-
257
- foreach ( $tracking_items as $key => $item ) {
258
- if ( $item['tracking_number'] != $tracking_number ) {
259
- unset( $tracking_items[ $key ] );
260
- }
261
- }
262
-
263
- $recipient = wc_trackship_email_manager()->email_to( $email, $order, $order_id );
264
-
265
- $email_content = $this->email_content( $email_content, $order_id, $order, $tracker );
266
- $email_content = wc_trackship_email_manager()->email_content( $email_content, $order_id, $order );
267
-
268
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $order_id, $order );
269
-
270
- ob_start();
271
-
272
- $local_template = get_stylesheet_directory() . '/woocommerce/emails/tracking-info.php';
273
-
274
- if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
275
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $tracking_items, 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
276
- } elseif ( class_exists( 'ast_pro' ) ) {
277
- wc_get_template( 'emails/fluid-tracking-info.php', array(
278
- 'tracking_items' => $tracking_items,
279
- 'order_id'=> $order_id
280
- ), 'woocommerce-advanced-shipment-tracking/', ast_pro()->get_plugin_path() . '/templates/' );
281
- } else {
282
- wc_get_template( 'emails/tracking-info.php', array(
283
- 'tracking_items' => $tracking_items,
284
- 'order_id' => $order_id,
285
- ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
286
- }
287
- $email_content .= ob_get_clean();
288
-
289
- // create a new email
290
- $email = new WC_Email();
291
- $mailer = WC()->mailer();
292
-
293
- // wrap the content with the email template and then add styles
294
- $email_content = apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $email_content ) ) );
295
-
296
- add_filter( 'wp_mail_from', array( wc_trackship_email_manager(), 'get_from_address' ) );
297
- add_filter( 'wp_mail_from_name', array( wc_trackship_email_manager(), 'get_from_name' ) );
298
-
299
- $email_send = wp_mail( $recipient, $subject, $email_content, $email->get_headers() );
300
- $logger = wc_get_logger();
301
- $context = array( 'source' => 'trackship_late_shipments_email_log' );
302
- $logger->error( 'Order_Id: ' . $order_id . ' Late Shipments' . $email_send, $context );
303
- return $email_send;
304
- }
305
- }
306
-
307
- /**
308
- * Code for format email content
309
- */
310
- public function email_content ( $email_content, $order_id, $order, $tracker ) {
311
- $shipment_length = $this->get_shipment_length( $tracker );
312
- $shipment_status = apply_filters( 'trackship_status_filter', $tracker['status'] );
313
- $est_delivery_date = $tracker['est_delivery_date'];
314
- $email_content = str_replace( '{shipment_length}', $shipment_length, $email_content );
315
- $email_content = str_replace( '{shipment_status}', $shipment_status, $email_content );
316
- $email_content = str_replace( '{est_delivery_date}', $est_delivery_date, $email_content );
317
- return $email_content;
318
- }
319
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-settings.php CHANGED
@@ -64,23 +64,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
64
  add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ), 100, 1);
65
  add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun' ) );
66
 
67
- //new order status
68
- $newstatus = get_option( 'wc_ast_status_delivered', 0 );
69
- if ( true == $newstatus ) {
70
- //register order status
71
- add_action( 'init', array( $this, 'register_order_status' ) );
72
- //add status after completed
73
- add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses' ) );
74
- //Custom Statuses in admin reports
75
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports' ), 20, 1 );
76
- // for automate woo to check order is paid
77
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
78
- //add bulk action
79
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions' ), 50, 1 );
80
- //add reorder button
81
- add_filter( 'woocommerce_valid_order_statuses_for_order_again', array( $this, 'add_reorder_button_delivered' ), 50, 1 );
82
- }
83
-
84
  //new order status
85
  $updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
86
  if ( true == $updated_tracking_status ) {
@@ -92,6 +75,7 @@ class WC_Advanced_Shipment_Tracking_Settings {
92
  add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports' ), 20, 1 );
93
  // for automate woo to check order is paid
94
  add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
 
95
  //add bulk action
96
  add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking' ), 50, 1 );
97
  //add reorder button
@@ -110,6 +94,7 @@ class WC_Advanced_Shipment_Tracking_Settings {
110
  add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports' ), 20, 1 );
111
  // for automate woo to check order is paid
112
  add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
 
113
  //add bulk action
114
  add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped' ), 50, 1 );
115
  //add reorder button
@@ -123,21 +108,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
123
  add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
124
  }
125
 
126
- /**
127
- * Register new status : Delivered
128
- **/
129
- public function register_order_status() {
130
- register_post_status( 'wc-delivered', array(
131
- 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
132
- 'public' => true,
133
- 'show_in_admin_status_list' => true,
134
- 'show_in_admin_all_list' => true,
135
- 'exclude_from_search' => false,
136
- /* translators: %s: replace with Delivered Count */
137
- 'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
138
- ) );
139
- }
140
-
141
  /**
142
  * Register new status : Updated Tracking
143
  **/
@@ -166,21 +136,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
166
  /* translators: %s: replace with Partially Shipped Count */
167
  'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
168
  ) );
169
- }
170
-
171
- /*
172
- * add status after completed
173
- */
174
- public function add_delivered_to_order_statuses( $order_statuses ) {
175
- $new_order_statuses = array();
176
- foreach ( $order_statuses as $key => $status ) {
177
- $new_order_statuses[ $key ] = $status;
178
- if ( 'wc-completed' === $key ) {
179
- $new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
180
- }
181
- }
182
-
183
- return $new_order_statuses;
184
  }
185
 
186
  /*
@@ -211,16 +166,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
211
  return $new_order_statuses;
212
  }
213
 
214
- /*
215
- * Adding the custom order status to the default woocommerce order statuses
216
- */
217
- public function include_custom_order_status_to_reports( $statuses ) {
218
- if ( $statuses ) {
219
- $statuses[] = 'delivered';
220
- }
221
- return $statuses;
222
- }
223
-
224
  /*
225
  * Adding the updated-tracking order status to the default woocommerce order statuses
226
  */
@@ -239,14 +184,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
239
  $statuses[] = 'partial-shipped';
240
  }
241
  return $statuses;
242
- }
243
-
244
- /*
245
- * mark status as a paid.
246
- */
247
- public function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
248
- $statuses[] = 'delivered';
249
- return $statuses;
250
  }
251
 
252
  /*
@@ -256,6 +193,16 @@ class WC_Advanced_Shipment_Tracking_Settings {
256
  $statuses[] = 'updated-tracking';
257
  return $statuses;
258
  }
 
 
 
 
 
 
 
 
 
 
259
 
260
  /*
261
  * mark status as a paid.
@@ -263,17 +210,17 @@ class WC_Advanced_Shipment_Tracking_Settings {
263
  public function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
264
  $statuses[] = 'partial-shipped';
265
  return $statuses;
266
- }
267
-
268
  /*
269
- * add bulk action
270
- * Change order status to delivered
271
  */
272
- public function add_bulk_actions( $bulk_actions ) {
273
- $lable = wc_get_order_status_name( 'delivered' );
274
- $bulk_actions['mark_delivered'] = __( 'Change status to ' . $lable . '', 'woo-advanced-shipment-tracking' );
275
- return $bulk_actions;
276
- }
 
277
 
278
  /*
279
  * add bulk action
@@ -295,14 +242,6 @@ class WC_Advanced_Shipment_Tracking_Settings {
295
  return $bulk_actions;
296
  }
297
 
298
- /*
299
- * add order again button for delivered order status
300
- */
301
- public function add_reorder_button_delivered( $statuses ) {
302
- $statuses[] = 'delivered';
303
- return $statuses;
304
- }
305
-
306
  /*
307
  * add order again button for delivered order status
308
  */
@@ -391,10 +330,7 @@ class WC_Advanced_Shipment_Tracking_Settings {
391
  $page = ( isset( $_REQUEST['page'] ) ? wc_clean( $_REQUEST['page'] ) : '' );
392
  if ( 'woocommerce-advanced-shipment-tracking' == $page ) {
393
  $classes .= ' shipment_tracking_admin_settings';
394
- }
395
- if ( 'trackship-for-woocommerce' == $page ) {
396
- $classes .= ' trackship_admin_settings';
397
- }
398
  return $classes;
399
  }
400
 
64
  add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ), 100, 1);
65
  add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun' ) );
66
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
  //new order status
68
  $updated_tracking_status = get_option( 'wc_ast_status_updated_tracking', 0 );
69
  if ( true == $updated_tracking_status ) {
75
  add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports' ), 20, 1 );
76
  // for automate woo to check order is paid
77
  add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
78
+ add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_updated_tracking_to_download_permission' ), 10, 2);
79
  //add bulk action
80
  add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking' ), 50, 1 );
81
  //add reorder button
94
  add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports' ), 20, 1 );
95
  // for automate woo to check order is paid
96
  add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
97
+ add_filter('woocommerce_order_is_download_permitted', array( $this, 'add_partial_shipped_to_download_permission' ), 10, 2);
98
  //add bulk action
99
  add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped' ), 50, 1 );
100
  //add reorder button
108
  add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
109
  }
110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  /**
112
  * Register new status : Updated Tracking
113
  **/
136
  /* translators: %s: replace with Partially Shipped Count */
137
  'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
138
  ) );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
139
  }
140
 
141
  /*
166
  return $new_order_statuses;
167
  }
168
 
 
 
 
 
 
 
 
 
 
 
169
  /*
170
  * Adding the updated-tracking order status to the default woocommerce order statuses
171
  */
184
  $statuses[] = 'partial-shipped';
185
  }
186
  return $statuses;
 
 
 
 
 
 
 
 
187
  }
188
 
189
  /*
193
  $statuses[] = 'updated-tracking';
194
  return $statuses;
195
  }
196
+
197
+ /*
198
+ * Give download permission to updated tracking order status
199
+ */
200
+ public function add_updated_tracking_to_download_permission( $data, $order ) {
201
+ if ( $order->has_status( 'updated-tracking' ) ) {
202
+ return true;
203
+ }
204
+ return $data;
205
+ }
206
 
207
  /*
208
  * mark status as a paid.
210
  public function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
211
  $statuses[] = 'partial-shipped';
212
  return $statuses;
213
+ }
214
+
215
  /*
216
+ * Give download permission to partial shipped order status
 
217
  */
218
+ public function add_partial_shipped_to_download_permission( $data, $order ) {
219
+ if ( $order->has_status( 'partial-shipped' ) ) {
220
+ return true;
221
+ }
222
+ return $data;
223
+ }
224
 
225
  /*
226
  * add bulk action
242
  return $bulk_actions;
243
  }
244
 
 
 
 
 
 
 
 
 
245
  /*
246
  * add order again button for delivered order status
247
  */
330
  $page = ( isset( $_REQUEST['page'] ) ? wc_clean( $_REQUEST['page'] ) : '' );
331
  if ( 'woocommerce-advanced-shipment-tracking' == $page ) {
332
  $classes .= ' shipment_tracking_admin_settings';
333
+ }
 
 
 
334
  return $classes;
335
  }
336
 
includes/class-wc-advanced-shipment-tracking-trackship.php DELETED
@@ -1,1669 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_Advanced_Shipment_Tracking_Trackship {
7
-
8
- /**
9
- * Initialize the main plugin function
10
- */
11
- public function __construct() {
12
-
13
- global $wpdb;
14
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
15
-
16
- if ( is_multisite() ) {
17
-
18
- if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
19
- require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
20
- }
21
-
22
- if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
23
- $main_blog_prefix = $wpdb->get_blog_prefix( BLOG_ID_CURRENT_SITE );
24
- $this->table = $main_blog_prefix . 'woo_shippment_provider';
25
- } else {
26
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
27
- }
28
- } else {
29
- $this->table = $wpdb->prefix . 'woo_shippment_provider';
30
- }
31
-
32
- }
33
-
34
- /**
35
- * Instance of this class.
36
- *
37
- * @var object Class Instance
38
- */
39
- private static $instance;
40
-
41
- /**
42
- * Get the class instance
43
- *
44
- * @since 1.0
45
- * @return smswoo_license
46
- */
47
- public static function get_instance() {
48
-
49
- if ( null === self::$instance ) {
50
- self::$instance = new self();
51
- }
52
-
53
- return self::$instance;
54
- }
55
-
56
- /*
57
- * init function
58
- *
59
- * @since 1.0
60
- */
61
- public function init() {
62
-
63
- add_action( 'admin_enqueue_scripts', array( $this, 'trackship_styles' ), 4 );
64
-
65
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
66
- if ( $wc_ast_api_key ) {
67
-
68
- add_action('admin_menu', array( $this, 'register_woocommerce_trackship_menu' ), 99 );
69
-
70
- //add_action( 'admin_notices', array( $this, 'notice_install_ts4wc' ) );
71
- //add_action( 'admin_init', array( $this, 'ts4wc_integration_notice_ignore' ) );
72
-
73
- add_action( 'plugins_loaded', array( $this, 'on_plugins_loaded' ) );
74
-
75
- //ajax save admin trackship settings
76
- add_action( 'wp_ajax_wc_ast_trackship_form_update', array( $this, 'wc_ast_trackship_form_update_callback' ) );
77
- add_action( 'wp_ajax_trackship_tracking_page_form_update', array( $this, 'trackship_tracking_page_form_update_callback' ) );
78
- add_action( 'wp_ajax_ts_late_shipments_email_form_update', array( $this, 'ts_late_shipments_email_form_update_callback' ) );
79
-
80
- //add Shipment status column after tracking
81
- add_filter( 'manage_edit-shop_order_columns', array( $this, 'wc_add_order_shipment_status_column_header' ), 20 );
82
- add_action( 'manage_shop_order_posts_custom_column', array( $this, 'wc_add_order_shipment_status_column_content' ) );
83
-
84
- //add bulk action - get shipment status
85
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_get_shipment_status' ), 10, 1 );
86
-
87
- // Make the action from selected orders to get shipment status
88
- add_filter( 'handle_bulk_actions-edit-shop_order', array( $this, 'get_shipment_status_handle_bulk_action_edit_shop_order' ), 10, 3 );
89
-
90
- // Bulk shipment status sync ajax call from settings
91
- add_action( 'wp_ajax_bulk_shipment_status_from_settings', array( $this, 'bulk_shipment_status_from_settings_fun' ) );
92
-
93
- // Bulk shipment status sync for empty balance ajax call from settings
94
- add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
95
-
96
- // Bulk shipment status sync for please do connection status ajax call from settings
97
- add_action( 'wp_ajax_bulk_shipment_status_for_do_connection_from_settings', array( $this, 'bulk_shipment_status_for_do_connection_from_settings_fun' ) );
98
-
99
- // The results notice from bulk action on orders
100
- add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
101
-
102
- // add 'get_shipment_status' order meta box order action
103
- add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_get_shipment_status_actions' ) );
104
- add_action( 'woocommerce_order_action_get_shipment_status_edit_order', array( $this, 'process_order_meta_box_actions_get_shipment_status' ) );
105
-
106
- // add bulk order filter for exported / non-exported orders
107
- $wc_ast_show_shipment_status_filter = get_option( 'wc_ast_show_shipment_status_filter', 0 );
108
- if ( 1 == $wc_ast_show_shipment_status_filter ) {
109
- add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status' ) , 20 );
110
- add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
111
- }
112
-
113
- // trigger when order status changed to shipped or completed
114
- add_action( 'woocommerce_order_status_completed', array( $this, 'trigger_woocommerce_order_status_completed' ), 10, 1 );
115
- add_action( 'woocommerce_order_status_shipped', array( $this, 'trigger_woocommerce_order_status_completed' ), 10, 1 );
116
-
117
- add_action( 'send_order_to_trackship', array( $this, 'trigger_woocommerce_order_status_completed' ), 10, 1 );
118
-
119
- add_action( 'woocommerce_order_status_updated-tracking', array( $this, 'trigger_woocommerce_order_status_completed' ), 10, 1 );
120
-
121
- // filter for shipment status
122
- add_filter( 'trackship_status_filter', array( $this, 'trackship_status_filter_func' ), 10 , 1 );
123
-
124
- // filter for shipment status icon
125
- add_filter( 'trackship_status_icon_filter', array( $this, 'trackship_status_icon_filter_func' ), 10 , 2 );
126
-
127
- add_action( 'wcast_retry_trackship_apicall', array( $this, 'wcast_retry_trackship_apicall_func' ) );
128
-
129
- add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun' ) );
130
-
131
- add_action( 'wp_ajax_update_enable_late_shipments_email', array( $this, 'update_enable_late_shipments_email_fun' ) );
132
-
133
- add_action( 'ast_shipment_tracking_end', array( $this, 'display_shipment_tracking_info' ), 10, 2 );
134
-
135
- add_action( 'delete_tracking_number_from_trackship', array( $this, 'delete_tracking_number_from_trackship' ), 10, 3 );
136
-
137
- //fix shipment tracking for deleted tracking
138
- add_action( 'fix_shipment_tracking_for_deleted_tracking', array( $this, 'func_fix_shipment_tracking_for_deleted_tracking' ), 10, 3 );
139
-
140
- add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets' ) );
141
-
142
- //filter in shipped orders
143
- add_filter( 'is_order_shipped', array( $this, 'check_tracking_exist' ), 10, 2 );
144
- add_filter( 'is_order_shipped', array( $this, 'check_order_status' ), 5, 2 );
145
-
146
- add_action( 'wp_ajax_wc_ast_trackship_automation_form_update', array( $this, 'wc_ast_trackship_automation_form_update' ) );
147
- }
148
- }
149
-
150
- /**
151
- * Display TS4WC active notice
152
- *
153
- * @since 3.2.4
154
- */
155
- public function notice_install_ts4wc() {
156
- $dismissable_url = esc_url( add_query_arg( 'ts4wc-integration-notice', 'true' ) );
157
-
158
- if ( isset( $_GET['page'] ) ) {
159
- if ( 'woocommerce-advanced-shipment-tracking' == $_GET['page'] || 'trackship-for-woocommerce' == $_GET['page'] ) {
160
- $ast_ts4wc = true;
161
- } else {
162
- $ast_ts4wc = false;
163
- }
164
- } else {
165
- $ast_ts4wc = false;
166
- }
167
-
168
- if ( get_option('ts4wc_integration_notice_ignore') && !$ast_ts4wc ) {
169
- return;
170
- }
171
- if ( $ast_ts4wc ) { ?>
172
- <style>
173
- .wp-core-ui .notice.ts4wc-dismissable-notice a.notice-dismiss{
174
- display: none;
175
- }
176
- </style>
177
- <?php } ?>
178
- <style>
179
- .wp-core-ui .notice.ts4wc-dismissable-notice a.notice-dismiss{
180
- padding: 9px;
181
- text-decoration: none;
182
- }
183
- </style>
184
- <div class="notice notice-error is-dismissible ts4wc-dismissable-notice">
185
- <a href="<?php esc_html_e( $dismissable_url ); ?>" class="notice-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></a>
186
- <p>
187
- <?php
188
- /* translators: %s: search TS4WC plugin link */
189
- printf( esc_html__( 'Hi there, We noticed that your store is connected to TrackShip and there is a new and better TrackShip integration plugin for WooCommerce that will work with AST. Please install and activate the new %1$sTrackShip For WooCommerce%2$s plugin.', 'woo-advanced-shipment-tracking' ), '<a href="' . esc_url( admin_url( 'plugin-install.php?tab=search&s=TrackShip+For+WooCommerce&plugin-search-input=Search+Plugins' ) ) . '">', '</a>' );
190
- ?>
191
- </p>
192
- </div>
193
- <?php
194
- }
195
-
196
- /*
197
- * Dismiss admin notice for trackship
198
- */
199
- public function ts4wc_integration_notice_ignore() {
200
- if ( isset( $_GET['ts4wc-integration-notice'] ) ) {
201
- update_option( 'ts4wc_integration_notice_ignore', 'true' );
202
- }
203
- }
204
-
205
- /**
206
- * Load trackship styles.
207
- */
208
- public function trackship_styles( $hook ) {
209
-
210
- $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
211
-
212
- wp_register_style( 'trackship_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/trackship.css', array(), wc_advanced_shipment_tracking()->version );
213
- wp_register_script( 'trackship_script', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/trackship.js', array( 'jquery', 'wp-util' ), wc_advanced_shipment_tracking()->version, true );
214
- wp_localize_script( 'trackship_script', 'trackship_script', array(
215
- 'i18n' => array(
216
- 'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
217
- ),
218
- ) );
219
-
220
- if ( !isset( $_GET['page'] ) ) {
221
- return;
222
- }
223
-
224
- if ( 'woocommerce-advanced-shipment-tracking' != $_GET['page'] && 'trackship-for-woocommerce' != $_GET['page'] ) {
225
- return;
226
- }
227
-
228
- wp_enqueue_style( 'trackship_styles' );
229
- wp_enqueue_script( 'trackship_script' );
230
- }
231
-
232
- /**
233
- * TrackShip Menu Array.
234
- */
235
- public function ast_menu_trackship_options() {
236
- $trackship_tab = array(
237
- 'ts_dashboard' => array(
238
- 'title' => __( 'Dashboard', 'woo-advanced-shipment-tracking' ),
239
- 'show' => true,
240
- 'class' => 'tab_label first_label',
241
- 'data-tab' => 'ts_dashboard',
242
- 'data-label' => __( 'Dashboard', 'woo-advanced-shipment-tracking' ),
243
- 'name' => 'tabs',
244
- ),
245
- 'ts_notifications' => array(
246
- 'title' => __( 'Notifications', 'woo-advanced-shipment-tracking' ),
247
- 'show' => true,
248
- 'class' => 'tab_label',
249
- 'data-tab' => 'ts_notifications',
250
- 'data-label' => __( 'Notifications', 'woo-advanced-shipment-tracking' ),
251
- 'name' => 'tabs',
252
- ),
253
- );
254
- return apply_filters( 'trackship_menu_tab_options', $trackship_tab );
255
- }
256
-
257
- /**
258
- * TrackShip Shipment status notification data.
259
- */
260
- public function trackship_shipment_status_notifications_data() {
261
-
262
- $intransit_customizer = new wcast_intransit_customizer_email();
263
-
264
- $notifications_data = array(
265
- 'in_transit' => array(
266
- 'title' => __( 'In Transit', 'woo-advanced-shipment-tracking' ),
267
- 'slug' => 'in-transit',
268
- 'option_name' => 'wcast_intransit_email_settings',
269
- 'enable_status_name' => 'wcast_enable_intransit_email',
270
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'in_transit', 'ts_dashboard' ),
271
- ),
272
- 'on_hold' => array(
273
- 'title' => __( 'On Hold', 'woo-advanced-shipment-tracking' ),
274
- 'slug' => 'on-hold',
275
- 'option_name' => 'wcast_onhold_email_settings',
276
- 'enable_status_name' => 'wcast_enable_onhold_email',
277
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'on_hold', 'ts_dashboard' ),
278
- ),
279
- 'return_to_sender' => array(
280
- 'title' => __( 'Return To Sender', 'woo-advanced-shipment-tracking' ),
281
- 'slug' => 'return-to-sender',
282
- 'option_name' => 'wcast_returntosender_email_settings',
283
- 'enable_status_name' => 'wcast_enable_returntosender_email',
284
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'return_to_sender', 'ts_dashboard' ),
285
- ),
286
- 'available_for_pickup' => array(
287
- 'title' => __( 'Available For Pickup', 'woo-advanced-shipment-tracking' ),
288
- 'slug' => 'available-for-pickup',
289
- 'option_name' => 'wcast_availableforpickup_email_settings',
290
- 'enable_status_name' => 'wcast_enable_availableforpickup_email',
291
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'available_for_pickup', 'ts_dashboard' ),
292
- ),
293
- 'out_for_delivery' => array(
294
- 'title' => __( 'Out For Delivery', 'woo-advanced-shipment-tracking' ),
295
- 'slug' => 'out-for-delivery',
296
- 'option_name' => 'wcast_outfordelivery_email_settings',
297
- 'enable_status_name' => 'wcast_enable_outfordelivery_email',
298
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'out_for_delivery', 'ts_dashboard' ),
299
- ),
300
- 'delivered' => array(
301
- 'title' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
302
- 'slug' => 'delivered-status',
303
- 'option_name' => 'wcast_delivered_email_settings',
304
- 'enable_status_name' => 'wcast_enable_delivered_status_email',
305
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'delivered', 'ts_dashboard' ),
306
- ),
307
- 'failure' => array(
308
- 'title' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ),
309
- 'slug' => 'failed-attempt',
310
- 'option_name' => 'wcast_failure_email_settings',
311
- 'enable_status_name' => 'wcast_enable_failure_email',
312
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'failure', 'ts_dashboard' ),
313
- ),
314
- 'exception' => array(
315
- 'title' => __( 'Exception', 'woo-advanced-shipment-tracking' ),
316
- 'slug' => 'exception',
317
- 'option_name' => 'wcast_exception_email_settings',
318
- 'enable_status_name' => 'wcast_enable_exception_email',
319
- 'customizer_url' => $intransit_customizer->get_customizer_url( 'trackship_shipment_status_email', 'exception', 'ts_dashboard' ),
320
- ),
321
- );
322
- return $notifications_data;
323
- }
324
-
325
- /*
326
- * Admin Menu add function
327
- * WC sub menu
328
- */
329
- public function register_woocommerce_trackship_menu() {
330
- add_submenu_page( 'woocommerce', 'TrackShip', 'TrackShip', 'manage_woocommerce', 'trackship-for-woocommerce', array( $this, 'trackship_page_callback' ) );
331
- }
332
-
333
- /*
334
- * callback for Shipment Tracking page
335
- */
336
- public function trackship_page_callback() {
337
- $wc_ast_api_key = get_option('wc_ast_api_key');
338
- ?>
339
- <div class="zorem-layout">
340
- <div class="zorem-layout__header">
341
- <img class="zorem-layout__header-logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png">
342
-
343
- <div class="woocommerce-layout__activity-panel">
344
- <div class="woocommerce-layout__activity-panel-tabs">
345
- <button type="button" id="activity-panel-tab-help" class="components-button woocommerce-layout__activity-panel-tab">
346
- <span class="dashicons dashicons-editor-help"></span>
347
- Help
348
- </button>
349
- </div>
350
- <div class="woocommerce-layout__activity-panel-wrapper">
351
- <div class="woocommerce-layout__activity-panel-content" id="activity-panel-true">
352
- <div class="woocommerce-layout__activity-panel-header">
353
- <div class="woocommerce-layout__inbox-title">
354
- <p class="css-activity-panel-Text">Documentation</p>
355
- </div>
356
- </div>
357
- <div>
358
- <ul class="woocommerce-list woocommerce-quick-links__list">
359
- <li class="woocommerce-list__item has-action">
360
- <a href="<?php echo esc_url( 'https://trackship.info/support/' ); ?>" class="woocommerce-list__item-inner" target="_blank" >
361
- <div class="woocommerce-list__item-before">
362
- <span class="dashicons dashicons-media-document"></span>
363
- </div>
364
- <div class="woocommerce-list__item-text">
365
- <span class="woocommerce-list__item-title">
366
- <div class="woocommerce-list-Text">Get Support</div>
367
- </span>
368
- </div>
369
- <div class="woocommerce-list__item-after">
370
- <span class="dashicons dashicons-arrow-right-alt2"></span>
371
- </div>
372
- </a>
373
- </li>
374
- <li class="woocommerce-list__item has-action">
375
- <a href="https://trackship.info/documentation/" class="woocommerce-list__item-inner" target="_blank">
376
- <div class="woocommerce-list__item-before">
377
- <span class="dashicons dashicons-media-document"></span>
378
- </div>
379
- <div class="woocommerce-list__item-text">
380
- <span class="woocommerce-list__item-title">
381
- <div class="woocommerce-list-Text">Documentation</div>
382
- </span>
383
- </div>
384
- <div class="woocommerce-list__item-after">
385
- <span class="dashicons dashicons-arrow-right-alt2"></span>
386
- </div>
387
- </a>
388
- </li>
389
- </ul>
390
- </div>
391
- </div>
392
- </div>
393
- </div>
394
- </div>
395
- <?php
396
- if ( $wc_ast_api_key ) {
397
- $ast_admin = new WC_Advanced_Shipment_Tracking_Admin();
398
-
399
- do_action( 'ast_settings_admin_notice' );
400
-
401
- $completed_order_with_tracking = $this->completed_order_with_tracking();
402
- $completed_order_with_zero_balance = $this->completed_order_with_zero_balance();
403
- $completed_order_with_do_connection = $this->completed_order_with_do_connection();
404
-
405
- $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
406
- $args['body'] = array(
407
- 'user_key' => $wc_ast_api_key,
408
- );
409
- $response = wp_remote_post( $url, $args );
410
- if ( !is_wp_error( $response ) ) {
411
- $plan_data = json_decode($response['body']);
412
- }
413
- ?>
414
- <div class="woocommerce zorem_admin_layout">
415
- <div class="ast_admin_content" >
416
- <div class="ts_nav_div">
417
- <?php
418
- $this->get_html_menu_tab( $this->ast_menu_trackship_options() );
419
- require_once( 'views/admin_trackship_dashboard.php' );
420
- require_once( 'views/admin_status_notifications.php' );
421
- ?>
422
- </div>
423
- </div>
424
- </div>
425
- </div>
426
- <?php
427
- } else {
428
- include 'views/admin_options_trackship_integration.php';
429
- }
430
- }
431
-
432
- /*
433
- * function for create tab menu html
434
- */
435
- public function get_html_menu_tab( $arrays ) {
436
- $tab = isset( $_GET['tab'] ) ? sanitize_text_field( $_GET['tab'] ) : 'ts_dashboard' ;
437
- foreach ( (array) $arrays as $id => $array ) {
438
- $checked = ( $tab == $array['data-tab'] ) ? 'checked' : '' ;
439
- ?>
440
- <input class="tab_input" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $array['name'] ); ?>" type="radio" data-tab="<?php esc_html_e( $array['data-tab'] ); ?>" data-label="<?php esc_html_e( $array['data-label'] ); ?>" <?php esc_html_e( $checked ); ?> />
441
- <label class="<?php esc_html_e( $array['class'] ); ?>" for="<?php esc_html_e( $id ); ?>"><?php esc_html_e( $array['title'] ); ?></label>
442
- <?php
443
- }
444
- }
445
-
446
- /*
447
- * include file on plugin load
448
- */
449
- public function on_plugins_loaded() {
450
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-trackship-customizer.php';
451
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-tracking-page-customizer.php';
452
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-intransit-email-customizer.php';
453
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-failure-email-customizer.php';
454
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-exception-email-customizer.php';
455
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-outfordelivery-email-customizer.php';
456
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-delivered-email-customizer.php';
457
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-returntosender-email-customizer.php';
458
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-availableforpickup-email-customizer.php';
459
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-onhold-email-customizer.php';
460
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/class-wc-late-shipments-email-customizer.php';
461
- require_once wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/trackship-email-manager.php';
462
- }
463
-
464
- /*
465
- * settings form save
466
- */
467
- public function wc_ast_trackship_form_update_callback() {
468
-
469
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
470
- exit( 'You are not allowed' );
471
- }
472
-
473
- if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_trackship_form', 'wc_ast_trackship_form_nonce' ) ) {
474
-
475
- $data2 = $this->get_trackship_general_data();
476
-
477
- foreach ( $data2 as $key2 => $val2 ) {
478
- if ( isset( $_POST[ $key2 ] ) ) {
479
- update_option( $key2, sanitize_text_field( $_POST[ $key2 ] ) );
480
- }
481
- }
482
-
483
- echo json_encode( array( 'success' => 'true' ) );
484
- die();
485
- }
486
- }
487
-
488
- /*
489
- * tracking page form save
490
- */
491
- public function trackship_tracking_page_form_update_callback() {
492
-
493
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
494
- exit( 'You are not allowed' );
495
- }
496
-
497
- if ( ! empty( $_POST ) && check_admin_referer( 'trackship_tracking_page_form', 'trackship_tracking_page_form_nonce' ) ) {
498
-
499
- $data1 = $this->get_tracking_page_data();
500
-
501
- foreach ( $data1 as $key1 => $val1 ) {
502
- if ( isset( $_POST[ $key1 ] ) ) {
503
- update_option( $key1, sanitize_text_field( $_POST[ $key1 ] ) );
504
- }
505
- }
506
-
507
- if ( isset( $_POST[ 'wc_ast_trackship_other_page' ] ) ) {
508
- update_option( 'wc_ast_trackship_other_page', sanitize_text_field( $_POST[ 'wc_ast_trackship_other_page' ] ) );
509
- }
510
-
511
- echo json_encode( array('success' => 'true') );
512
- die();
513
- }
514
- }
515
-
516
- /*
517
- * late shipmenta form save
518
- */
519
- public function ts_late_shipments_email_form_update_callback() {
520
-
521
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
522
- exit( 'You are not allowed' );
523
- }
524
-
525
- if ( ! empty( $_POST ) && check_admin_referer( 'ts_late_shipments_email_form', 'ts_late_shipments_email_form_nonce' ) ) {
526
-
527
- $wcast_late_shipments_days = isset( $_POST['wcast_late_shipments_days'] ) ? wc_clean( $_POST['wcast_late_shipments_days'] ) : '';
528
- $wcast_late_shipments_email_to = isset( $_POST['wcast_late_shipments_email_to'] ) ? wc_clean( $_POST['wcast_late_shipments_email_to'] ) : '';
529
- $wcast_late_shipments_email_subject = isset( $_POST['wcast_late_shipments_email_subject'] ) ? wc_clean( $_POST['wcast_late_shipments_email_subject'] ) : '';
530
- $wcast_late_shipments_email_content = isset( $_POST['wcast_late_shipments_email_content'] ) ? wc_clean( $_POST['wcast_late_shipments_email_content'] ) : '';
531
- $wcast_late_shipments_trigger_alert = isset( $_POST['wcast_late_shipments_trigger_alert'] ) ? wc_clean( $_POST['wcast_late_shipments_trigger_alert'] ) : '';
532
- $wcast_late_shipments_daily_digest_time = isset( $_POST['wcast_late_shipments_daily_digest_time'] ) ? wc_clean( $_POST['wcast_late_shipments_daily_digest_time'] ) : '';
533
- $wcast_enable_late_shipments_admin_email = isset( $_POST['wcast_enable_late_shipments_admin_email'] ) ? wc_clean( $_POST['wcast_enable_late_shipments_admin_email'] ) : '';
534
-
535
- $late_shipments_email_settings = array(
536
- 'wcast_enable_late_shipments_admin_email' => $wcast_enable_late_shipments_admin_email,
537
- 'wcast_late_shipments_days' => $wcast_late_shipments_days,
538
- 'wcast_late_shipments_email_to' => $wcast_late_shipments_email_to,
539
- 'wcast_late_shipments_email_subject' => $wcast_late_shipments_email_subject,
540
- 'wcast_late_shipments_email_content' => $wcast_late_shipments_email_content,
541
- 'wcast_late_shipments_trigger_alert' => $wcast_late_shipments_trigger_alert,
542
- 'wcast_late_shipments_daily_digest_time' => $wcast_late_shipments_daily_digest_time,
543
- );
544
-
545
- update_option( 'late_shipments_email_settings', $late_shipments_email_settings );
546
-
547
- $Late_Shipments = new WC_Advanced_Shipment_Tracking_Late_Shipments();
548
- $Late_Shipments->remove_cron();
549
- $Late_Shipments->setup_cron();
550
- }
551
- }
552
-
553
- /*
554
- * get settings tab array data
555
- * return array
556
- */
557
- public function get_trackship_general_data() {
558
-
559
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
560
- $show_trackship_field = ( $wc_ast_api_key ) ? true : false;
561
-
562
- $form_data = array(
563
- 'wc_ast_show_shipment_status_filter' => array(
564
- 'type' => 'tgl_checkbox',
565
- 'tgl_color' => 'green',
566
- 'title' => __( 'Display shipment status filter on orders admin', 'woo-advanced-shipment-tracking' ),
567
- 'show' => $show_trackship_field,
568
- 'class' => '',
569
- ),
570
- );
571
- return $form_data;
572
- }
573
-
574
- /*
575
- * get settings tab array data
576
- * return array
577
- */
578
- public function get_tracking_page_data() {
579
-
580
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
581
- $show_trackship_field = ( $wc_ast_api_key ) ? true : false;
582
-
583
- $slug = '';
584
- $page_list = wp_list_pluck( get_pages(), 'post_title', 'ID' );
585
- $wc_ast_trackship_page_id = get_option( 'wc_ast_trackship_page_id' );
586
- $post = get_post( $wc_ast_trackship_page_id );
587
-
588
- if ( $post ) {
589
- $slug = $post->post_name;
590
- }
591
-
592
- $page_desc = ( 'ts-shipment-tracking' != $slug ) ? __( 'You must add the shortcode [wcast-track-order] to the selected page in order for the tracking page to work.', 'woo-advanced-shipment-tracking' ) : '';
593
-
594
- $ts_tracking_page_customizer = new ts_tracking_page_customizer();
595
- $form_data = array(
596
- 'wc_ast_use_tracking_page' => array(
597
- 'type' => 'tgl_checkbox',
598
- 'tgl_color' => 'green',
599
- 'title' => __( 'Enable a tracking page', 'woo-advanced-shipment-tracking' ),
600
- 'show' => $show_trackship_field,
601
- 'class' => '',
602
- ),
603
- 'wc_ast_trackship_page_id' => array(
604
- 'type' => 'dropdown_tpage',
605
- 'title' => __( 'Select tracking page', 'woo-advanced-shipment-tracking' ),
606
- 'options' => $page_list,
607
- 'show' => $show_trackship_field,
608
- 'desc' => $page_desc,
609
- 'class' => '',
610
- ),
611
- 'wc_ast_trackship_other_page' => array(
612
- 'type' => 'text',
613
- 'title' => __( 'Other', '' ),
614
- 'show' => $show_trackship_field,
615
- 'class' => '',
616
- ),
617
- 'wc_ast_tracking_page_customize_btn' => array(
618
- 'type' => 'button',
619
- 'title' => __( 'Tracking Widget Customizer', 'woo-advanced-shipment-tracking' ),
620
- 'show' => $show_trackship_field,
621
- 'class' => '',
622
- 'customize_link' => $ts_tracking_page_customizer->get_customizer_url( 'ast_tracking_page_section', 'ts_dashboard' ),
623
- ),
624
- );
625
- return $form_data;
626
- }
627
-
628
- /*
629
- * get settings tab array data
630
- * return array
631
- */
632
- public function get_delivered_data() {
633
- $form_data = array(
634
- 'wc_ast_status_delivered' => array(
635
- 'type' => 'checkbox',
636
- 'title' => __( 'Enable custom order status “Delivered"', '' ),
637
- 'show' => true,
638
- 'class' => '',
639
- ),
640
- 'wc_ast_status_label_color' => array(
641
- 'type' => 'color',
642
- 'title' => __( 'Delivered Label color', '' ),
643
- 'class' => 'status_label_color_th',
644
- 'show' => true,
645
- ),
646
- 'wc_ast_status_label_font_color' => array(
647
- 'type' => 'dropdown',
648
- 'title' => __( 'Delivered Label font color', '' ),
649
- 'options' => array(
650
- '' =>__( 'Select', 'woocommerce' ),
651
- '#fff' =>__( 'Light', '' ),
652
- '#000' =>__( 'Dark', '' ),
653
- ),
654
- 'class' => 'status_label_color_th',
655
- 'show' => true,
656
- ),
657
- );
658
- return $form_data;
659
- }
660
-
661
- /*
662
- * Trackship Automation form save
663
- */
664
- public function wc_ast_trackship_automation_form_update() {
665
-
666
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
667
- exit( 'You are not allowed' );
668
- }
669
-
670
- check_ajax_referer( 'wc_ast_trackship_automation_form', 'wc_ast_trackship_automation_form_nonce' );
671
-
672
- $data = $this->get_delivered_data();
673
- foreach ( $data as $key => $val ) {
674
- if ( isset( $_POST[ $key ] ) ) {
675
- update_option( $key, wc_clean( $_POST[ $key ] ) );
676
- }
677
- }
678
- }
679
-
680
- /**
681
- * Adds 'shipment_status' column header to 'Orders' page immediately after 'woocommerce-advanced-shipment-tracking' column.
682
- *
683
- * @param string[] $columns
684
- * @return string[] $new_columns
685
- */
686
- public function wc_add_order_shipment_status_column_header( $columns ) {
687
- wp_enqueue_style( 'trackship_styles' );
688
- $new_columns = array();
689
-
690
- foreach ( $columns as $column_name => $column_info ) {
691
-
692
- $new_columns[ $column_name ] = $column_info;
693
-
694
- if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
695
- $new_columns['shipment_status'] = __( 'Shipment Status', 'woo-advanced-shipment-tracking' );
696
- }
697
- }
698
- return $new_columns;
699
- }
700
-
701
- /**
702
- * Adds 'shipment_status' column content to 'Orders' page.
703
- *
704
- * @param string[] $column name of column being displayed
705
- */
706
- public function wc_add_order_shipment_status_column_content( $column ) {
707
-
708
- global $post;
709
- if ( 'shipment_status' === $column ) {
710
-
711
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
712
- $tracking_items = $ast->get_tracking_items( $post->ID );
713
- $shipment_status = get_post_meta( $post->ID, 'shipment_status', true );
714
- $wp_date_format = get_option( 'date_format' );
715
- $date_format = ( 'd/m/Y' == $wp_date_format ) ? 'd/m' : 'm/d' ;
716
-
717
- if ( count( $tracking_items ) > 0 ) {
718
- ?>
719
- <ul class="wcast-shipment-status-list">
720
- <?php
721
- foreach ( $tracking_items as $key => $tracking_item ) {
722
-
723
- if ( !isset( $shipment_status[$key] ) ) {
724
- echo '<li class="tracking-item-' . esc_attr( $tracking_item['tracking_id'] ) . '"></li>';
725
- continue;
726
- }
727
-
728
- $status = isset( $shipment_status[$key]['pending_status'] ) ? $shipment_status[$key]['pending_status'] : $shipment_status[$key]['status'];
729
- $status_date = $shipment_status[$key]['status_date'];
730
- $est_delivery_date = isset( $shipment_status[$key]['est_delivery_date'] ) ? $shipment_status[$key]['est_delivery_date'] : '';
731
- $has_est_delivery = ( 'delivered' != $status && 'return_to_sender' != $status && !empty( $est_delivery_date ) ) ? true : false ;
732
- ?>
733
- <li id="shipment-item-<?php esc_html_e( $tracking_item['tracking_id'] ); ?>" class="tracking-item-<?php esc_html_e( $tracking_item['tracking_id'] ); ?> open_tracking_details" data-orderid="<?php esc_html_e( $post->ID ); ?>" data-tracking_id="<?php esc_html_e( $tracking_item['tracking_id'] ); ?>">
734
- <div class="ast-shipment-status shipment-<?php esc_html_e( $status ); ?> has_est_delivery_<?php esc_html_e ( $has_est_delivery ? 1 : 0 ); ?>">
735
- <?php echo wp_kses_post( apply_filters( 'trackship_status_icon_filter', '', $status ) ); ?>
736
- <span class="ast-shipment-tracking-status"><?php esc_html_e( apply_filters( 'trackship_status_filter', $status ) ); ?></span>
737
- <?php if ( '' != $status_date ) { ?>
738
- <span class="showif_has_est_delivery_0 ft11">on <?php esc_html_e( gmdate( $date_format, strtotime( $status_date ) ) ); ?></span>
739
- <?php } ?>
740
- <?php if ( $has_est_delivery ) { ?>
741
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php esc_html_e( gmdate( $date_format, strtotime( $est_delivery_date ) ) ); ?>)</span>
742
- <?php } ?>
743
- </div>
744
- </li>
745
- <?php } ?>
746
- </ul>
747
- <?php
748
- } else {
749
- echo '–';
750
- }
751
- }
752
- }
753
-
754
- /*
755
- * add bulk action
756
- * Change order status to delivered
757
- */
758
- public function add_bulk_actions_get_shipment_status( $bulk_actions ) {
759
- $bulk_actions['get_shipment_status'] = 'Get Shipment Status';
760
- return $bulk_actions;
761
- }
762
-
763
- /*
764
- * order bulk action for get shipment status
765
- */
766
- public function get_shipment_status_handle_bulk_action_edit_shop_order( $redirect_to, $action, $post_ids ) {
767
-
768
- if ( 'get_shipment_status' !== $action ) {
769
- return $redirect_to;
770
- }
771
-
772
- $processed_ids = array();
773
-
774
- $order_count = count($post_ids);
775
-
776
- foreach ( $post_ids as $post_id ) {
777
- wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $post_id ) );
778
- $processed_ids[] = $post_id;
779
- }
780
-
781
- return add_query_arg( array(
782
- 'get_shipment_status' => '1',
783
- 'processed_count' => count( $processed_ids ),
784
- 'processed_ids' => implode( ',', $processed_ids ),
785
- ), $redirect_to );
786
- }
787
-
788
- /*
789
- * bulk shipment status action for completed order with tracking details and without shipment status
790
- */
791
- public static function bulk_shipment_status_from_settings_fun() {
792
-
793
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
794
- exit( 'You are not allowed' );
795
- }
796
-
797
- check_ajax_referer( 'bulk_shipment_status', 'security' );
798
-
799
- $args = array(
800
- 'status' => 'wc-completed',
801
- 'limit' => 100,
802
- 'date_created' => '>' . ( time() - 2592000 ),
803
- );
804
-
805
- $orders = wc_get_orders( $args );
806
-
807
- foreach ( $orders as $order ) {
808
-
809
- $order_id = $order->get_id();
810
-
811
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
812
- $tracking_items = $ast->get_tracking_items( $order_id, true );
813
-
814
- if ( $tracking_items ) {
815
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
816
- foreach ( $tracking_items as $key => $tracking_item ) {
817
-
818
- if ( !isset( $shipment_status[ $key ] ) ) {
819
- wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
820
- }
821
-
822
- if ( isset( $shipment_status[ $key ][ 'pending_status' ] ) && 'TrackShip balance is 0' == $shipment_status[ $key ][ 'pending_status' ] ) {
823
- wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
824
- }
825
-
826
- if ( isset( $shipment_status[ $key ][ 'pending_status' ] ) && 'TrackShip connection issue' == $shipment_status[$key]['pending_status'] ) {
827
- wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
828
- }
829
- }
830
- }
831
- }
832
- $url = admin_url( '/edit.php?post_type=shop_order' );
833
- echo esc_url( $url );
834
- die();
835
- }
836
-
837
- /*
838
- * The results notice from bulk action on orders
839
- */
840
- public function shipment_status_bulk_action_admin_notice() {
841
-
842
- if ( empty( $_REQUEST['get_shipment_status'] ) ) {
843
- return; // Exit
844
- }
845
-
846
- $processed_count = isset( $_REQUEST['processed_count'] ) ? wc_clean( $_REQUEST['processed_count'] ) : '';
847
- $count = intval( $processed_count );
848
-
849
- printf( '<div id="message" class="updated fade"><p>' .
850
- esc_html( _n( 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
851
- 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
852
- $count,
853
- 'get_shipment_status'
854
- ) ) . '</p></div>', esc_html( $count ) );
855
- }
856
-
857
- /**
858
- * Add 'get_shipment_status' link to order actions select box on edit order page
859
- *
860
- * @since 1.0
861
- * @param array $actions order actions array to display
862
- * @return array
863
- */
864
- public function add_order_meta_box_get_shipment_status_actions( $actions ) {
865
- // add download to CSV action
866
- $actions['get_shipment_status_edit_order'] = __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' );
867
- return $actions;
868
- }
869
-
870
- /*
871
- * order details meta box action
872
- */
873
- public function process_order_meta_box_actions_get_shipment_status( $order ) {
874
- $this->trigger_woocommerce_order_status_completed( $order->get_id() );
875
- }
876
-
877
- /**
878
- * Add bulk filter for Shipment status in orders list
879
- *
880
- * @since 2.4
881
- */
882
- public function filter_orders_by_shipment_status() {
883
- global $typenow;
884
-
885
- if ( 'shop_order' === $typenow ) {
886
-
887
- $terms = array(
888
- 'pending_trackship' => (object) array( 'term' => __( 'Pending TrackShip', 'woo-advanced-shipment-tracking' ) ),
889
- 'unknown' => (object) array( 'term' => __( 'Unknown', 'woo-advanced-shipment-tracking' ) ),
890
- 'pre_transit' => (object) array( 'term' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ) ),
891
- 'in_transit' => (object) array( 'term' => __( 'In Transit', 'woo-advanced-shipment-tracking' ) ),
892
- 'available_for_pickup' => (object) array( 'term' => __( 'Available For Pickup', 'woo-advanced-shipment-tracking' ) ),
893
- 'out_for_delivery' => (object) array( 'term' => __( 'Out For Delivery', 'woo-advanced-shipment-tracking' ) ),
894
- 'delivered' => (object) array( 'term' => __( 'Delivered', 'woo-advanced-shipment-tracking' ) ),
895
- 'failure' => (object) array( 'term' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ) ),
896
- 'cancelled' => (object) array( 'term' => __( 'Cancelled', 'woocommerce' ) ),
897
- 'carrier_unsupported' => (object) array( 'term' => __( 'Carrier Unsupported', 'woo-advanced-shipment-tracking' ) ),
898
- 'return_to_sender' => (object) array( 'term' => __( 'Return To Sender', 'woo-advanced-shipment-tracking' ) ),
899
- 'INVALID_TRACKING_NUM' => (object) array( 'term' => __( 'Invalid Tracking Number', 'woo-advanced-shipment-tracking' ) ),
900
- );
901
-
902
- ?>
903
- <select name="_shop_order_shipment_status" id="dropdown_shop_order_shipment_status">
904
- <option value=""><?php esc_html_e( 'Filter by shipment status', 'woo-advanced-shipment-tracking' ); ?></option>
905
- <?php foreach ( $terms as $value => $term ) : ?>
906
- <option value="<?php echo esc_attr( $value ); ?>" <?php echo esc_attr( isset( $_GET['_shop_order_shipment_status'] ) ? selected( $value, wc_clean( $_GET['_shop_order_shipment_status'] ), false ) : '' ); ?>>
907
- <?php printf( '%1$s', esc_html( $term->term ) ); ?>
908
- </option>
909
- <?php endforeach; ?>
910
- </select>
911
- <?php
912
- }
913
- }
914
-
915
- /**
916
- * Process bulk filter action for shipment status orders
917
- *
918
- * @since 3.0.0
919
- * @param array $vars query vars without filtering
920
- * @return array $vars query vars with (maybe) filtering
921
- */
922
- public function filter_orders_by_shipment_status_query( $vars ) {
923
- global $typenow;
924
- if ( 'shop_order' === $typenow && isset( $_GET['_shop_order_shipment_status'] ) && '' != $_GET['_shop_order_shipment_status'] ) {
925
-
926
- $vars['meta_query'][] = array(
927
- 'key' => 'ts_shipment_status',
928
- 'value' => wc_clean( $_GET['_shop_order_shipment_status'] ),
929
- 'compare' => 'LIKE'
930
- );
931
- }
932
- return $vars;
933
- }
934
-
935
- /*
936
- * trigger when order status changed to shipped or completed or update tracking
937
- * param $order_id
938
- */
939
- public function trigger_woocommerce_order_status_completed( $order_id ) {
940
-
941
- $order = wc_get_order( $order_id );
942
- $order_shipped = apply_filters( 'is_order_shipped', true, $order );
943
-
944
- if ( $order_shipped ) {
945
- $api = new WC_Advanced_Shipment_Tracking_Api_Call();
946
- $array = $api->get_trackship_apicall( $order_id );
947
- }
948
- }
949
-
950
- /*
951
- * filter for shipment status
952
- */
953
- public function trackship_status_filter_func( $status ) {
954
- switch ( $status ) {
955
- case 'in_transit':
956
- $status = __( 'In Transit', 'woo-advanced-shipment-tracking' );
957
- break;
958
- case 'on_hold':
959
- $status = __( 'On Hold', 'woo-advanced-shipment-tracking' );
960
- break;
961
- case 'pre_transit':
962
- $status = __( 'Pre Transit', 'woo-advanced-shipment-tracking' );
963
- break;
964
- case 'delivered':
965
- $status = __( 'Delivered', 'woo-advanced-shipment-tracking' );
966
- break;
967
- case 'out_for_delivery':
968
- $status = __( 'Out For Delivery', 'woo-advanced-shipment-tracking' );
969
- break;
970
- case 'available_for_pickup':
971
- $status = __( 'Available For Pickup', 'woo-advanced-shipment-tracking' );
972
- break;
973
- case 'return_to_sender':
974
- $status = __( 'Return To Sender', 'woo-advanced-shipment-tracking' );
975
- break;
976
- case 'failure':
977
- $status = __( 'Failed Attempt', 'woo-advanced-shipment-tracking' );
978
- break;
979
- case 'exception':
980
- $status = __( 'Exception', 'woo-advanced-shipment-tracking' );
981
- break;
982
- case 'unknown':
983
- $status = __( 'Unknown', 'woo-advanced-shipment-tracking' );
984
- break;
985
- case 'pending_trackship':
986
- $status = __( 'Pending TrackShip', 'woo-advanced-shipment-tracking' );
987
- break;
988
- case 'pending':
989
- $status = __( 'Pending', 'woo-advanced-shipment-tracking' );
990
- break;
991
- case 'INVALID_TRACKING_NUM':
992
- $status = __( 'Invalid Tracking Number', 'woo-advanced-shipment-tracking' );
993
- break;
994
- case 'carrier_unsupported':
995
- $status = __( 'Carrier Unsupported', 'woo-advanced-shipment-tracking' );
996
- break;
997
- case 'invalid_user_key':
998
- $status = __( 'Invalid User Key', 'woo-advanced-shipment-tracking' );
999
- break;
1000
- case 'wrong_shipping_provider':
1001
- $status = __( 'Wrong Shipping Provider', 'woo-advanced-shipment-tracking' );
1002
- break;
1003
- case 'deleted':
1004
- $status = __( 'Deleted', 'woocommerce' );
1005
- break;
1006
- case 'balance_zero':
1007
- $status = __( 'TrackShip balance is 0', 'woocommerce' );
1008
- break;
1009
- }
1010
- return $status;
1011
- }
1012
-
1013
- /*
1014
- * filter for shipment status icon
1015
- */
1016
- public function trackship_status_icon_filter_func( $html, $status ) {
1017
- switch ( $status ) {
1018
- case 'in_transit':
1019
- $html = '<span class="shipment-icon icon-' . $status . '">';
1020
- break;
1021
- case 'on_hold':
1022
- $html = '<span class="shipment-icon icon-' . $status . '">';
1023
- break;
1024
- case 'pre_transit':
1025
- $html = '<span class="shipment-icon icon-' . $status . '">';
1026
- break;
1027
- case 'delivered':
1028
- $html = '<span class="shipment-icon icon-' . $status . '">';
1029
- break;
1030
- case 'out_for_delivery':
1031
- $html = '<span class="shipment-icon icon-' . $status . '">';
1032
- break;
1033
- case 'available_for_pickup':
1034
- $html = '<span class="shipment-icon icon-' . $status . '">';
1035
- break;
1036
- case 'return_to_sender':
1037
- $html = '<span class="shipment-icon icon-' . $status . '">';
1038
- break;
1039
- case 'failure':
1040
- $html = '<span class="shipment-icon icon-' . $status . '">';
1041
- break;
1042
- case 'exception':
1043
- $html = '<span class="shipment-icon icon-' . $status . '">';
1044
- break;
1045
- case 'unknown':
1046
- $html = '<span class="shipment-icon icon-' . $status . '">';
1047
- break;
1048
- case 'pending_trackship':
1049
- $html = '<span class="shipment-icon icon-' . $status . '">';
1050
- break;
1051
- case 'INVALID_TRACKING_NUM':
1052
- $html = '<span class="shipment-icon icon-' . $status . '">';
1053
- break;
1054
- case 'wrong_shipping_provider':
1055
- $html = '<span class="shipment-icon icon-' . $status . '">';
1056
- break;
1057
- case 'invalid_user_key':
1058
- $html = '<span class="shipment-icon icon-' . $status . '">';
1059
- break;
1060
- case 'carrier_unsupported':
1061
- $html = '<span class="shipment-icon icon-' . $status . '">';
1062
- break;
1063
- default:
1064
- $html = '<span class="shipment-icon icon-default">';
1065
- break;
1066
- }
1067
- return $html;
1068
- }
1069
-
1070
- /*
1071
- * retry trackship api call
1072
- */
1073
- public function wcast_retry_trackship_apicall_func( $order_id ) {
1074
- $logger = wc_get_logger();
1075
- $context = array( 'source' => 'retry_trackship_apicall' );
1076
- $logger->info( 'Retry trackship api call for Order id : ' . $order_id, $context );
1077
- $this->trigger_woocommerce_order_status_completed( $order_id );
1078
- }
1079
-
1080
- /*
1081
- * update all shipment status email status
1082
- */
1083
- public function update_shipment_status_email_status_fun() {
1084
-
1085
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1086
- exit( 'You are not allowed' );
1087
- }
1088
-
1089
- check_ajax_referer( 'ts_late_shipments_email_form', 'security' );
1090
-
1091
- $settings_data = isset( $_POST[ 'settings_data' ] ) ? wc_clean( $_POST[ 'settings_data' ] ) : '';
1092
- $post_id = isset( $_POST[ 'id' ] ) ? wc_clean( $_POST[ 'id' ] ) : '';
1093
- $wcast_enable_status_email = isset( $_POST[ 'wcast_enable_status_email' ] ) ? wc_clean( $_POST[ 'wcast_enable_status_email' ] ) : '';
1094
-
1095
- $status_settings = get_option( $settings_data );
1096
- $status_settings[ $post_id ] = $wcast_enable_status_email;
1097
-
1098
- update_option( $settings_data, $status_settings );
1099
- exit;
1100
- }
1101
-
1102
- /*
1103
- * update late shipment email status
1104
- */
1105
- public function update_enable_late_shipments_email_fun() {
1106
-
1107
- if ( ! current_user_can( 'manage_woocommerce' ) ) {
1108
- exit( 'You are not allowed' );
1109
- }
1110
-
1111
- check_ajax_referer( 'ts_late_shipments_email_form', 'security' );
1112
-
1113
- $wcast_enable_late_shipments_email = isset( $_POST[ 'wcast_enable_late_shipments_email' ] ) ? wc_clean( $_POST[ 'wcast_enable_late_shipments_email' ] ) : '';
1114
- $post_id = isset( $_POST[ 'id' ] ) ? wc_clean( $_POST[ 'id' ] ) : '';
1115
- $settings_data = isset( $_POST[ 'settings_data' ] ) ? wc_clean( $_POST[ 'settings_data' ] ) : '';
1116
- $status_settings[ $post_id ] = $wcast_enable_late_shipments_email;
1117
- update_option( $settings_data, $status_settings );
1118
- exit;
1119
- }
1120
-
1121
- /*
1122
- * get trackship bulk actions tab array data
1123
- * return array
1124
- */
1125
- public function get_trackship_bulk_actions_data() {
1126
-
1127
- $completed_order_with_tracking = $this->completed_order_with_tracking();
1128
- $completed_order_with_zero_balance = $this->completed_order_with_zero_balance();
1129
- $completed_order_with_do_connection = $this->completed_order_with_do_connection();
1130
-
1131
- $disable_bulk_sync = ( $completed_order_with_tracking > 0 ) ? false : true;
1132
- $disable_bulk_sync_zero_balance = ( $completed_order_with_zero_balance > 0 ) ? false : true;
1133
- $disable_bulk_sync_do_connection = ( $completed_order_with_do_connection > 0 ) ? false : true;
1134
-
1135
- $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1136
-
1137
- if ( 1 == $wc_ast_status_shipped ) {
1138
- $completed_order_label = '<span class="shipped_label">shipped</span>';
1139
- } else {
1140
- $completed_order_label = '<span class="shipped_label">completed</span>';
1141
- }
1142
-
1143
- $form_data = array(
1144
- 'wc_ast_bulk_shipment_status' => array(
1145
- 'type' => 'button',
1146
- /* translators: %1$s: replace with completed_order_with_tracking, %2$s: replace with completed_order_label */
1147
- 'title' => sprintf( __( 'You got %1$s %2$s orders with tracking info that were not sent to track on TrackShip', 'woo-advanced-shipment-tracking' ), $completed_order_with_tracking , $completed_order_label ),
1148
- 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
1149
- 'show' => true,
1150
- 'disable' => $disable_bulk_sync,
1151
- 'button_class' => 'bulk_shipment_status_button',
1152
- 'class' => '',
1153
- ),
1154
- 'wc_ast_bulk_shipment_status_for_zero_tracker_balace' => array(
1155
- 'type' => 'button',
1156
- /* translators: %1$s: replace with completed_order_with_zero_balance, %2$s: replace with completed_order_label */
1157
- 'title' => sprintf( __( 'You got %1$s %2$s orders with shipment status “TrackShip balance is 0”', 'woo-advanced-shipment-tracking' ), $completed_order_with_zero_balance , $completed_order_label ),
1158
- 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
1159
- 'show' => true,
1160
- 'disable' => $disable_bulk_sync_zero_balance,
1161
- 'button_class' => 'bulk_shipment_status_button_for_empty_balance',
1162
- 'class' => '',
1163
- ),
1164
- 'wc_ast_bulk_shipment_status_for_trackship_connection_issue' => array(
1165
- 'type' => 'button',
1166
- /* translators: %1$s: replace with completed_order_with_do_connection, %2$s: replace with completed_order_label */
1167
- 'title' => sprintf( __( 'You got %1$s %2$s orders with shipment status “TrackShip connection issue”', 'woo-advanced-shipment-tracking' ), $completed_order_with_do_connection , $completed_order_label ),
1168
- 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
1169
- 'show' => true,
1170
- 'disable' => $disable_bulk_sync_do_connection,
1171
- 'button_class' => 'bulk_shipment_status_button_for_connection_issue',
1172
- 'class' => '',
1173
- ),
1174
- );
1175
- return $form_data;
1176
- }
1177
-
1178
- /*
1179
- * get completed order with tracking that not sent to TrackShip
1180
- * return number
1181
- */
1182
- public function completed_order_with_tracking() {
1183
-
1184
- // Get orders completed.
1185
- $args = array(
1186
- 'status' => 'wc-completed',
1187
- 'limit' => 100,
1188
- 'date_created' => '>' . ( time() - 2592000 ),
1189
- );
1190
-
1191
- $orders = wc_get_orders( $args );
1192
-
1193
- $completed_order_with_tracking = 0;
1194
-
1195
- foreach ( $orders as $order ) {
1196
- $order_id = $order->get_id();
1197
-
1198
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1199
- $tracking_items = $ast->get_tracking_items( $order_id, true );
1200
-
1201
- if ( $tracking_items ) {
1202
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
1203
- foreach ( $tracking_items as $key => $tracking_item ) {
1204
- if ( !isset( $shipment_status[ $key ] ) ) {
1205
- $completed_order_with_tracking++;
1206
- }
1207
- }
1208
- }
1209
- }
1210
- return $completed_order_with_tracking;
1211
- }
1212
-
1213
- /*
1214
- * get completed order with Trackship Balance 0 status
1215
- * return number
1216
- */
1217
- public function completed_order_with_zero_balance() {
1218
-
1219
- // Get orders completed.
1220
- $args = array(
1221
- 'status' => 'wc-completed',
1222
- 'limit' => 100,
1223
- 'date_created' => '>' . ( time() - 2592000 ),
1224
- );
1225
-
1226
- $orders = wc_get_orders( $args );
1227
-
1228
- $completed_order_with_zero_balance = 0;
1229
-
1230
- foreach ( $orders as $order ) {
1231
- $order_id = $order->get_id();
1232
-
1233
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1234
- $tracking_items = $ast->get_tracking_items( $order_id, true );
1235
-
1236
- if ( $tracking_items ) {
1237
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
1238
- foreach ( $tracking_items as $key => $tracking_item ) {
1239
- if ( isset( $shipment_status[ $key ][ 'pending_status' ] ) && 'TrackShip balance is 0' == $shipment_status[ $key ][ 'pending_status' ] ) {
1240
- $completed_order_with_zero_balance++;
1241
- }
1242
- }
1243
- }
1244
- }
1245
- return $completed_order_with_zero_balance;
1246
- }
1247
-
1248
- /*
1249
- * get completed order with Trackship connection issue status
1250
- * return number
1251
- */
1252
- public function completed_order_with_do_connection() {
1253
-
1254
- // Get orders completed.
1255
- $args = array(
1256
- 'status' => 'wc-completed',
1257
- 'limit' => 100,
1258
- 'date_created' => '>' . ( time() - 2592000 ),
1259
- );
1260
-
1261
- $orders = wc_get_orders( $args );
1262
-
1263
- $completed_order_with_do_connection = 0;
1264
-
1265
- foreach ( $orders as $order ) {
1266
- $order_id = $order->get_id();
1267
-
1268
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1269
- $tracking_items = $ast->get_tracking_items( $order_id, true );
1270
-
1271
- if ( $tracking_items ) {
1272
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
1273
- foreach ( $tracking_items as $key => $tracking_item ) {
1274
- if ( isset( $shipment_status[ $key ][ 'pending_status' ] ) && 'TrackShip connection issue' == $shipment_status[ $key ][ 'pending_status' ] ) {
1275
- $completed_order_with_do_connection++;
1276
- }
1277
- }
1278
- }
1279
- }
1280
- return $completed_order_with_do_connection;
1281
- }
1282
-
1283
- /**
1284
- * Shipment tracking info html in orders details page
1285
- */
1286
- public function display_shipment_tracking_info( $order_id, $item ) {
1287
-
1288
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
1289
- $ts_shipment_status = get_post_meta( $order_id, 'ts_shipment_status', true );
1290
-
1291
- $tracking_id = $item['tracking_id'];
1292
-
1293
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
1294
- $tracking_items = $ast->get_tracking_items( $order_id );
1295
-
1296
- $wp_date_format = get_option( 'date_format' );
1297
- $date_format = ( 'd/m/Y' == $wp_date_format ) ? 'd/m' : 'm/d' ;
1298
-
1299
- if ( count( $tracking_items ) > 0 ) {
1300
- foreach ( $tracking_items as $key => $tracking_item ) {
1301
- if ( $tracking_id == $tracking_item['tracking_id'] ) {
1302
- if ( isset( $shipment_status[$key] ) ) {
1303
- $has_est_delivery = false;
1304
-
1305
- $status = isset( $shipment_status[$key]['pending_status'] ) ? $shipment_status[$key]['pending_status'] : $shipment_status[$key]['status'];
1306
- $status_date = $shipment_status[$key]['status_date'];
1307
- $est_delivery_date = isset( $shipment_status[$key]['est_delivery_date'] ) ? $shipment_status[$key]['est_delivery_date'] : '';
1308
-
1309
- if ( 'delivered' != $status && 'return_to_sender' != $status && !empty( $est_delivery_date ) ) {
1310
- $has_est_delivery = true;
1311
- }
1312
- ?>
1313
- <div class="ast-shipment-status-div">
1314
- <span class="open_tracking_details ast-shipment-status shipment-<?php echo esc_html( $status ); ?>" data-orderid="<?php echo esc_html( $order_id ); ?>" data-tracking_id="<?php echo esc_html( $tracking_id ); ?>">
1315
- <?php echo wp_kses_post( apply_filters( 'trackship_status_icon_filter', '', $status ) ); ?> <strong><?php echo esc_html( apply_filters( 'trackship_status_filter', $status ) ); ?></strong>
1316
- </span>
1317
- <?php if ( '' != $status_date ) { ?>
1318
- <span class="">on <?php echo esc_html( gmdate( $date_format, strtotime( $status_date ) ) ); ?></span>
1319
- <?php } ?>
1320
- <br>
1321
- <?php if ( $has_est_delivery ) { ?>
1322
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo esc_html( gmdate( $date_format, strtotime( $est_delivery_date ) ) ); ?>)</span>
1323
- <?php } ?>
1324
- </div>
1325
- <?php
1326
- }
1327
- }
1328
- }
1329
- }
1330
- }
1331
-
1332
- /**
1333
- * Delete tracking information from TrackShip when tracking deleted from AST
1334
- */
1335
- public function delete_tracking_number_from_trackship( $tracking_items, $tracking_id, $order_id ) {
1336
-
1337
- foreach ( $tracking_items as $tracking_item ) {
1338
- if ( $tracking_item['tracking_id'] == $tracking_id ) {
1339
- $tracking_number = $tracking_item['tracking_number'];
1340
- $tracking_provider = $tracking_item['tracking_provider'];
1341
- $api = new WC_Advanced_Shipment_Tracking_Api_Call();
1342
- $array = $api->delete_tracking_number_from_trackship( $order_id, $tracking_number, $tracking_provider );
1343
- }
1344
- }
1345
- }
1346
-
1347
- /*
1348
- * fix shipment tracking for deleted tracking
1349
- */
1350
- public function func_fix_shipment_tracking_for_deleted_tracking( $order_id, $key, $item ) {
1351
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
1352
- if ( isset( $shipment_status[ $key ] ) ) {
1353
- unset($shipment_status[$key]);
1354
- update_post_meta( $order_id, 'shipment_status', $shipment_status );
1355
- }
1356
-
1357
- $ts_shipment_status = get_post_meta( $order_id, 'ts_shipment_status', true );
1358
- if ( isset( $ts_shipment_status[ $key ] ) ) {
1359
- unset( $ts_shipment_status[$key] );
1360
- update_post_meta( $order_id, 'ts_shipment_status', $ts_shipment_status );
1361
- }
1362
- }
1363
-
1364
- /**
1365
- * Code for check if tracking number in order is delivered or not
1366
- */
1367
- public function check_tracking_delivered( $order_id ) {
1368
-
1369
- $delivered = true;
1370
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true );
1371
- $wc_ast_status_delivered = get_option( 'wc_ast_status_delivered' );
1372
-
1373
- foreach ( (array) $shipment_status as $shipment ) {
1374
- $status = $shipment['status'];
1375
- if ( 'delivered' != $status ) {
1376
- $delivered = false;
1377
- }
1378
- }
1379
-
1380
- if ( count( $shipment_status ) > 0 && true == $delivered && $wc_ast_status_delivered ) {
1381
-
1382
- $order = wc_get_order( $order_id );
1383
- $order_status = $order->get_status();
1384
-
1385
- $change_to_delivered = apply_filters( 'ts_change_order_to_delivered', false, $order_status );
1386
-
1387
- if ( 'completed' == $order_status || 'updated-tracking' == $order_status || 'shipped' == $order_status ) {
1388
- $change_to_delivered = true;
1389
- }
1390
-
1391
- if ( $change_to_delivered ) {
1392
- $order->update_status('delivered');
1393
- }
1394
- }
1395
- }
1396
-
1397
- /**
1398
- * Code for trigger shipment status email
1399
- */
1400
- public function trigger_tracking_email( $order_id, $old_status, $new_status, $tracking_item, $shipment_status ) {
1401
- $order = wc_get_order( $order_id );
1402
- require_once( 'email-manager.php' );
1403
-
1404
- if ( $old_status != $new_status ) {
1405
- if ( 'delivered' == $new_status ) {
1406
- wc_trackship_email_manager()->delivered_shippment_status_email_trigger( $order_id, $order, $old_status, $new_status, $tracking_item, $shipment_status );
1407
- } elseif ( 'exception' == $new_status || 'failure' == $new_status || 'in_transit' == $new_status || 'on_hold' == $new_status || 'out_for_delivery' == $new_status || 'available_for_pickup' == $new_status || 'return_to_sender' == $new_status ) {
1408
- wc_trackship_email_manager()->shippment_status_email_trigger( $order_id, $order, $old_status, $new_status, $tracking_item, $shipment_status );
1409
- }
1410
- do_action( 'ast_trigger_ts_status_change', $order_id, $old_status, $new_status, $tracking_item, $shipment_status );
1411
- }
1412
- }
1413
-
1414
- /**
1415
- * Add a new dashboard widget.
1416
- */
1417
- public function ast_add_dashboard_widgets() {
1418
- wp_enqueue_style( 'trackship_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/trackship.css', array(), wc_advanced_shipment_tracking()->version );
1419
- wp_add_dashboard_widget( 'trackship_dashboard_widget', 'TrackShip Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function' ) );
1420
- }
1421
-
1422
- /**
1423
- * Output the contents of the dashboard widget
1424
- */
1425
- public function dashboard_widget_function( $post, $callback_args ) {
1426
- $tracking_analytics = $this->get_tracking_analytics_overview();
1427
- ?>
1428
- <div class="ts-widget-content ">
1429
- <div class="ts-widget-row">
1430
- <div class="ts-widget__section ts-widget-rborder ts-widget-bborder">
1431
- <h3><?php esc_html_e( 'Total Shipments', 'woo-advanced-shipment-tracking' ); ?></h3>
1432
- <span class="ts-widget-analytics-number"><?php esc_html_e( $tracking_analytics['total_shipments'] ); ?></span>
1433
- <span>(<?php esc_html_e( $tracking_analytics['total_orders'] ); ?> <?php esc_html_e( 'Orders', 'woocommerce' ); ?>)</span>
1434
- </div>
1435
- <div class="ts-widget__section ts-widget-bborder">
1436
- <h3><?php esc_html_e( 'Avg Shipment Length', 'woo-advanced-shipment-tracking' ); ?></h3>
1437
- <span class="ts-widget-analytics-number"><?php esc_html_e( round( (int) $tracking_analytics['avg_shipment_length'] ) ); ?></span>
1438
- <span><?php esc_html_e( 'days', 'woo-advanced-shipment-tracking' ); ?></span>
1439
- </div>
1440
- </div>
1441
- <div class="ts-widget-row">
1442
- <div class="ts-widget__section ts-widget-rborder ts-widget-bborder">
1443
- <h3><?php esc_html_e( 'Active Shipments', 'woo-advanced-shipment-tracking' ); ?></h3>
1444
- <span class="ts-widget-analytics-number"><?php esc_html_e( $tracking_analytics['active_shipments'] ); ?></span>
1445
- </div>
1446
- <div class="ts-widget__section ts-widget-bborder">
1447
- <h3><?php esc_html_e( 'Delivered', 'woo-advanced-shipment-tracking' ); ?></h3>
1448
- <span class="ts-widget-analytics-number"><?php esc_html_e( $tracking_analytics['delivered_shipments'] ); ?></span>
1449
- </div>
1450
- </div>
1451
- <div class="ts-widget-footer">
1452
- <a class="" href="https://trackship.info/my-account/analytics/" target="blank"><?php esc_html_e( 'View Tracking Analytics', 'woo-advanced-shipment-tracking' ); ?></a>
1453
- <a class="ts_link" href="https://trackship.info" title="TrackShip" target="blank"><img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png"></a>
1454
- </div>
1455
- </div>
1456
- <?php
1457
- }
1458
-
1459
- /*
1460
- * TrackShip Analytics Overview
1461
- */
1462
- public function get_tracking_analytics_overview() {
1463
- global $wpdb;
1464
- $paid_order_statuses = array( 'completed', 'delivered', 'shipped' );
1465
-
1466
- $end_date = gmdate( 'Y-m-d', strtotime( 'today - 30 days' ) );
1467
- $start_date = gmdate( 'Y-m-d' );
1468
-
1469
- global $wpdb;
1470
- $paid_order_statuses = array('completed','delivered','shipped');
1471
-
1472
- $order_query = "
1473
- SELECT
1474
- posts.post_status as ordr_status,
1475
- shipment_tracking_items.meta_value as shipment_tracking_items,
1476
- shipment_status.meta_value as shipment_status,
1477
- posts.ID AS ID
1478
-
1479
- FROM {$wpdb->posts} AS posts
1480
- LEFT JOIN {$wpdb->postmeta} AS shipment_tracking_items ON(posts.ID = shipment_tracking_items.post_id)
1481
- LEFT JOIN {$wpdb->postmeta} AS shipment_status ON(posts.ID = shipment_status.post_id)
1482
- WHERE
1483
- posts.post_status IN ( 'wc-" . implode( "','wc-", $paid_order_statuses ) . "' )
1484
- AND posts.post_type IN ( 'shop_order' )
1485
- AND shipment_tracking_items.meta_key IN ( '_wc_shipment_tracking_items')
1486
- AND shipment_tracking_items.meta_key IS NOT NULL
1487
- AND shipment_status.meta_key IN ( 'shipment_status')
1488
- AND post_date < '" . $start_date . "'
1489
- AND post_date > '" . $end_date . "'
1490
-
1491
- ORDER BY
1492
- posts.ID DESC
1493
- ";
1494
-
1495
- $shipment_status_results = $wpdb->get_results( $order_query );
1496
- $shipment_status = array();
1497
- $shipment_status_merge = array();
1498
- $tracking_item_merge = array();
1499
-
1500
- foreach ( $shipment_status_results as $order ) {
1501
- $order_id = $order->ID;
1502
- $shipment_status = unserialize( $order->shipment_status );
1503
-
1504
- if ( is_array( $shipment_status ) ) {
1505
- $shipment_status_merge = array_merge( $shipment_status_merge, $shipment_status );
1506
- }
1507
- }
1508
-
1509
-
1510
- $tracking_issues = 0;
1511
- $active_shipments = 0;
1512
- $delivered_shipments = 0;
1513
- $avg_shipment_days_array = array();
1514
- $avg_shipment_length = '';
1515
-
1516
- foreach ( $shipment_status_merge as $key => $val ) {
1517
-
1518
- $first = ( isset($val['tracking_events']) ) ? reset($val['tracking_events']) : '';
1519
- $first_date = ( isset($first->datetime) ) ? $first->datetime : '';
1520
-
1521
- if ( isset( $val['tracking_destination_events'] ) && count( $val['tracking_destination_events'] ) > 0 ) {
1522
- $last = end($val['tracking_destination_events']);
1523
- } elseif ( isset( $val['tracking_events'] ) ) {
1524
- $last = end($val['tracking_events']);
1525
- } else {
1526
- $last = '';
1527
- }
1528
-
1529
- $last_date = ( isset($last->datetime) ) ? $last->datetime : '';
1530
-
1531
- $status = isset( $val['status'] ) ? $val['status'] : '';
1532
-
1533
- if ( 'delivered' != $status ) {
1534
- $last_date = gmdate( 'Y-m-d H:i:s' );
1535
- }
1536
-
1537
- $days = null;
1538
- $days = $this->get_num_of_days( $first_date, $last_date );
1539
-
1540
- $avg_shipment_days_array[] = $days;
1541
-
1542
- $avg_shipment_length = $this->get_average( $avg_shipment_days_array );
1543
-
1544
- if ( 'carrier_unsupported' == $status || 'INVALID_TRACKING_NUM' == $status || 'unknown' == $status || 'wrong_shipping_provider' == $status ) {
1545
- $tracking_issues ++;
1546
- }
1547
-
1548
- if ( 'delivered' == $status ) {
1549
- $delivered_shipments ++;
1550
- }
1551
-
1552
- if ( 'delivered' != $status ) {
1553
- $active_shipments ++;
1554
- }
1555
- }
1556
-
1557
- $result = array();
1558
-
1559
- $result['total_shipments'] = count($shipment_status_merge);
1560
- $result['tracking_issues'] = $tracking_issues;
1561
- $result['active_shipments'] = $active_shipments;
1562
- $result['delivered_shipments'] = $delivered_shipments;
1563
- $result['avg_shipment_length'] = $avg_shipment_length;
1564
- $result['total_orders'] = count($shipment_status_results);
1565
- return $result;
1566
- }
1567
-
1568
- /*
1569
- *
1570
- */
1571
- public function get_num_of_days( $first_date, $last_date ) {
1572
- $date1 = strtotime($first_date);
1573
- $date2 = strtotime($last_date);
1574
- $diff = abs($date2 - $date1);
1575
- return gmdate( 'd', $diff );
1576
- }
1577
-
1578
- public function get_average( $array ) {
1579
- return round( array_sum($array) / count($array), 2 );
1580
- }
1581
-
1582
- /**
1583
- * Create tracking page after store is connected
1584
- */
1585
- public function create_tracking_page() {
1586
-
1587
- if ( version_compare( get_option( 'wc_advanced_shipment_tracking_ts_page' ), '1.0', '<' ) ) {
1588
- $new_page_title = 'Shipment Tracking';
1589
- $new_page_slug = 'ts-shipment-tracking';
1590
- $new_page_content = '[wcast-track-order]';
1591
- //don't change the code below, unless you know what you're doing
1592
- $page_check = get_page_by_title( $new_page_title );
1593
-
1594
- if ( !isset( $page_check->ID ) ) {
1595
- $new_page = array(
1596
- 'post_type' => 'page',
1597
- 'post_title' => $new_page_title,
1598
- 'post_name' => $new_page_slug,
1599
- 'post_content' => $new_page_content,
1600
- 'post_status' => 'publish',
1601
- 'post_author' => 1,
1602
- );
1603
- $new_page_id = wp_insert_post( $new_page );
1604
- update_option( 'wc_ast_trackship_page_id', $new_page_id );
1605
- }
1606
- update_option( 'wc_advanced_shipment_tracking_ts_page', '1.0' );
1607
- }
1608
- }
1609
-
1610
- /*
1611
- * tracking number filter
1612
- * if number not found. return false
1613
- * if number found. return true
1614
- */
1615
- public function check_tracking_exist( $value, $order ) {
1616
-
1617
- if ( true == $value ) {
1618
-
1619
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
1620
-
1621
- if ( $tracking_items ) {
1622
- return true;
1623
- } else {
1624
- return false;
1625
- }
1626
- }
1627
-
1628
- return $value;
1629
- }
1630
-
1631
- /*
1632
- * If order status is "Updated Tracking" or "Completed" than retrn true else return false
1633
- */
1634
- public function check_order_status( $value, $order ) {
1635
-
1636
- $order_status = $order->get_status();
1637
- $all_order_status = wc_get_order_statuses();
1638
-
1639
- $default_order_status = array(
1640
- 'wc-pending' => 'Pending payment',
1641
- 'wc-processing' => 'Processing',
1642
- 'wc-on-hold' => 'On hold',
1643
- 'wc-completed' => 'Completed',
1644
- 'wc-delivered' => 'Delivered',
1645
- 'wc-cancelled' => 'Cancelled',
1646
- 'wc-refunded' => 'Refunded',
1647
- 'wc-failed' => 'Failed'
1648
- );
1649
-
1650
- foreach ( $default_order_status as $key => $value ) {
1651
- unset( $all_order_status[ $key ] );
1652
- }
1653
-
1654
- $custom_order_status = $all_order_status;
1655
-
1656
- foreach ( $custom_order_status as $key => $value ) {
1657
- unset( $custom_order_status[ $key ] );
1658
- $key = str_replace( 'wc-', '', $key );
1659
- $custom_order_status[] = $key;
1660
- }
1661
-
1662
- if ( 'updated-tracking' == $order_status || 'completed' == $order_status || 'shipped' == $order_status || in_array( $order_status, $custom_order_status ) ) {
1663
- return true;
1664
- } else {
1665
- return false;
1666
- }
1667
- return $value;
1668
- }
1669
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -761,8 +761,6 @@ class WC_Advanced_Shipment_Tracking_Actions {
761
 
762
  if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
763
  wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
764
- } elseif ( class_exists('ast_pro') ) {
765
- wc_get_template( 'myaccount/fluid-tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', ast_pro()->get_plugin_path() . '/templates/' );
766
  } else {
767
  wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
768
  }
@@ -914,8 +912,6 @@ class WC_Advanced_Shipment_Tracking_Actions {
914
  } else {
915
  if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
916
  wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
917
- } elseif ( class_exists('ast_pro') ) {
918
- wc_get_template( 'emails/fluid-tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', ast_pro()->get_plugin_path() . '/templates/' );
919
  } else {
920
  wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
921
  }
@@ -1091,7 +1087,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1091
  }
1092
  }
1093
 
1094
- if ( $wc_ast_api_key && $use_tracking_page && 1 == $trackship_supported && 'carrier_unsupported' != $status ) {
1095
  return true;
1096
  }
1097
  return false;
@@ -1646,11 +1642,6 @@ class WC_Advanced_Shipment_Tracking_Actions {
1646
  'show_shipment_status' => true,
1647
  'new_status' => $shipment_status,
1648
  ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
1649
- } elseif ( class_exists('ast_pro') ) {
1650
- return wc_get_template_html( 'emails/fluid-tracking-info.php', array(
1651
- 'tracking_items' => $tracking_items,
1652
- 'order_id'=> $order_id
1653
- ), 'woocommerce-advanced-shipment-tracking/', ast_pro()->get_plugin_path() . '/templates/' );
1654
  } else {
1655
  return wc_get_template_html( 'emails/tracking-info.php', array(
1656
  'tracking_items' => $tracking_items,
761
 
762
  if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
763
  wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
 
 
764
  } else {
765
  wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id' => $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
766
  }
912
  } else {
913
  if ( file_exists( $local_template ) && is_writable( $local_template ) ) {
914
  wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
 
 
915
  } else {
916
  wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ), 'order_id'=> $order_id ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
917
  }
1087
  }
1088
  }
1089
 
1090
+ if ( $wc_ast_api_key && $use_tracking_page && 1 == $trackship_supported && 'carrier_unsupported' != $status && function_exists( 'trackship_for_woocommerce' ) ) {
1091
  return true;
1092
  }
1093
  return false;
1642
  'show_shipment_status' => true,
1643
  'new_status' => $shipment_status,
1644
  ), 'woocommerce-advanced-shipment-tracking/', get_stylesheet_directory() . '/woocommerce/' );
 
 
 
 
 
1645
  } else {
1646
  return wc_get_template_html( 'emails/tracking-info.php', array(
1647
  'tracking_items' => $tracking_items,
includes/customizer/class-trackship-customizer.php DELETED
@@ -1,313 +0,0 @@
1
- <?php
2
- if ( ! defined( 'ABSPATH' ) ) {
3
- exit;
4
- }
5
-
6
- class WC_TrackShip_Customizer {
7
-
8
- /**
9
- * Instance of this class.
10
- *
11
- * @var object Class Instance
12
- */
13
- private static $instance;
14
-
15
- /**
16
- * Initialize the main plugin function
17
- */
18
- public function __construct() {
19
- }
20
-
21
- /**
22
- * Register the Customizer sections
23
- */
24
- public function wcast_add_customizer_sections( $wp_customize ) {
25
-
26
- /**
27
- * Tracking Page Customizer Section
28
- */
29
- $wp_customize->add_section( 'ast_tracking_page_section',
30
- array(
31
- 'title' => __( 'Tracking Page Widget', 'woo-advanced-shipment-tracking' ),
32
- 'description' => '',
33
- )
34
- );
35
-
36
- $wp_customize->add_section( 'trackship_shipment_status_email',
37
- array(
38
- 'title' => __( 'Shipping and Delivery Emails', 'woo-advanced-shipment-tracking' ),
39
- 'description' => '',
40
- )
41
- );
42
- }
43
-
44
- /**
45
- * Add css and js for preview
46
- */
47
- public function enqueue_preview_scripts() {
48
-
49
- wp_enqueue_script('wcast-email-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
50
- wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
51
- wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
52
- 'site_title' => $this->get_blogname(),
53
- 'order_number' => get_theme_mod('wcast_email_preview_order_id'),
54
- ));
55
- }
56
-
57
- /**
58
- * Get blog name formatted for emails.
59
- *
60
- * @return string
61
- */
62
- public function get_blogname() {
63
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
64
- }
65
-
66
- /**
67
- * Add css and js for customizer
68
- */
69
- public function enqueue_customizer_scripts() {
70
-
71
- if ( isset( $_REQUEST['trackship-customizer'] ) && '1' === $_REQUEST['trackship-customizer'] ) {
72
- wp_enqueue_style( 'wp-color-picker' );
73
- wp_enqueue_style('wcast-customizer-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/customizer-styles.css', array(), wc_advanced_shipment_tracking()->version );
74
- wp_enqueue_script('wcast-customizer-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/customizer-scripts.js', array('jquery', 'customize-controls','wp-color-picker'), wc_advanced_shipment_tracking()->version, true);
75
-
76
- $shipment_status = ( isset($_REQUEST['shipment_status']) ) ? wc_clean( $_REQUEST['shipment_status'] ) : 'in_transit';
77
- $email = ( isset( $_REQUEST['email'] ) ) ? wc_clean( $_REQUEST['email'] ) : '';
78
-
79
- // Send variables to Javascript
80
- wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
81
- 'customizer_nonce' => wp_create_nonce( 'ast_customizer' ),
82
- 'ajax_url' => admin_url('admin-ajax.php'),
83
- 'shipment_status' => $shipment_status,
84
- 'tracking_preview_url' => $this->get_tracking_preview_url(),
85
- 'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
86
- 'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
87
- 'customer_exception_preview_url' => $this->get_customer_exception_preview_url(),
88
- 'customer_intransit_preview_url' => $this->get_customer_intransit_preview_url(),
89
- 'customer_onhold_preview_url' => $this->get_customer_onhold_preview_url(),
90
- 'customer_outfordelivery_preview_url' => $this->get_customer_outfordelivery_preview_url(),
91
- 'customer_delivered_preview_url' => $this->get_customer_delivered_preview_url(),
92
- 'customer_returntosender_preview_url' => $this->get_customer_returntosender_preview_url(),
93
- 'customer_availableforpickup_preview_url' => $this->get_customer_availableforpickup_preview_url(),
94
- 'trigger_click' => '#accordion-section-' . $email . ' h3',
95
- 'customizer_title' => 'TrackShip',
96
- ));
97
-
98
- wp_localize_script('wp-color-picker', 'wpColorPickerL10n', array(
99
- 'clear' => __( 'Clear' ),
100
- 'clearAriaLabel' => __( 'Clear color' ),
101
- 'defaultString' => __( 'Default' ),
102
- 'defaultAriaLabel' => __( 'Select default color' ),
103
- 'pick' => __( 'Select Color' ),
104
- 'defaultLabel' => __( 'Color value' ),
105
- ));
106
- }
107
- }
108
-
109
- /**
110
- * Get Customizer URL
111
- *
112
- */
113
- public function get_tracking_preview_url() {
114
- return add_query_arg( array(
115
- 'wcast-tracking-preview' => '1',
116
- ), home_url( '' ) );
117
- }
118
-
119
- /**
120
- * Get Tracking Page Preview URL
121
- *
122
- */
123
- public function get_tracking_page_preview_url() {
124
- return add_query_arg( array(
125
- 'action' => 'preview_tracking_page',
126
- ), home_url( '' ) );
127
- }
128
-
129
- /**
130
- * Get Failuere Shipment status preview URL
131
- *
132
- */
133
- public function get_customer_failure_preview_url() {
134
- return add_query_arg( array(
135
- 'wcast-failure-email-customizer-preview' => '1',
136
- ), home_url( '' ) );
137
- }
138
-
139
- /**
140
- * Get Exception Shipment status preview URL
141
- *
142
- */
143
- public function get_customer_exception_preview_url() {
144
- return add_query_arg( array(
145
- 'wcast-exception-email-customizer-preview' => '1',
146
- ), home_url( '' ) );
147
- }
148
-
149
- /**
150
- * Get Tracking page preview URL
151
- *
152
- */
153
- public function get_customer_intransit_preview_url() {
154
- return add_query_arg( array(
155
- 'wcast-intransit-email-customizer-preview' => '1',
156
- ), home_url( '' ) );
157
- }
158
-
159
- /**
160
- * Get Tracking page preview URL
161
- *
162
- */
163
- public function get_customer_onhold_preview_url() {
164
- return add_query_arg( array(
165
- 'wcast-onhold-email-customizer-preview' => '1',
166
- ), home_url( '' ) );
167
- }
168
-
169
- /**
170
- * Get Tracking page preview URL
171
- *
172
- */
173
- public function get_customer_outfordelivery_preview_url() {
174
- return add_query_arg( array(
175
- 'wcast-outfordelivery-email-customizer-preview' => '1',
176
- ), home_url( '' ) );
177
- }
178
-
179
- /**
180
- * Get Tracking page preview URL
181
- *
182
- */
183
- public function get_customer_delivered_preview_url() {
184
- return add_query_arg( array(
185
- 'wcast-delivered-email-customizer-preview' => '1',
186
- ), home_url( '' ) );
187
- }
188
-
189
- /**
190
- * Get Tracking page preview URL
191
- *
192
- */
193
- public function get_customer_returntosender_preview_url() {
194
- return add_query_arg( array(
195
- 'wcast-returntosender-email-customizer-preview' => '1',
196
- ), home_url( '' ) );
197
- }
198
-
199
- /**
200
- * Get Tracking page preview URL
201
- *
202
- */
203
- public function get_customer_availableforpickup_preview_url() {
204
- return add_query_arg( array(
205
- 'wcast-availableforpickup-email-customizer-preview' => '1',
206
- ), home_url( '' ) );
207
- }
208
-
209
- /**
210
- * Remove unrelated components
211
- *
212
- * @param array $components
213
- * @param object $wp_customize
214
- * @return array
215
- */
216
- public function remove_unrelated_components( $components, $wp_customize ) {
217
- // Iterate over components
218
- foreach ($components as $component_key => $component) {
219
- // Check if current component is own component
220
- if ( ! $this->is_own_component( $component ) ) {
221
- unset($components[$component_key]);
222
- }
223
- }
224
-
225
- // Return remaining components
226
- return $components;
227
- }
228
-
229
- /**
230
- * Remove unrelated sections
231
- *
232
- * @param bool $active
233
- * @param object $section
234
- * @return bool
235
- */
236
- public function remove_unrelated_sections( $active, $section ) {
237
- // Check if current section is own section
238
- if ( ! $this->is_own_section( $section->id ) ) {
239
- return false;
240
- }
241
-
242
- // We can override $active completely since this runs only on own Customizer requests
243
- return true;
244
- }
245
-
246
- /**
247
- * Check if current component is own component
248
- *
249
- * @param string $component
250
- * @return bool
251
- */
252
- public function is_own_component( $component ) {
253
- return false;
254
- }
255
-
256
- /**
257
- * Check if current section is own section
258
- *
259
- * @param string $key
260
- * @return bool
261
- */
262
- public function is_own_section( $key ) {
263
-
264
- if ( 'trackship_shipment_status_email' === $key || 'ast_tracking_page_section' === $key ) {
265
- return true;
266
- }
267
-
268
- // Section not found
269
- return false;
270
- }
271
-
272
- /*
273
- * Unhook flatsome front end.
274
- */
275
- public function unhook_flatsome() {
276
- // Unhook flatsome issue.
277
- wp_dequeue_style( 'flatsome-customizer-preview' );
278
- wp_dequeue_script( 'flatsome-customizer-frontend-js' );
279
- }
280
-
281
- /*
282
- * Unhook Divi front end.
283
- */
284
- public function unhook_divi() {
285
- // Divi Theme issue.
286
- remove_action( 'wp_footer', 'et_builder_get_modules_js_data' );
287
- remove_action( 'et_customizer_footer_preview', 'et_load_social_icons' );
288
- }
289
- }
290
- /**
291
- * Returns an instance of WC_TrackShip_Customizer.
292
- *
293
- * @since 1.6.5
294
- * @version 1.6.5
295
- *
296
- * @return WC_TrackShip_Customizer
297
- */
298
- function ts_customizer() {
299
- static $instance;
300
-
301
- if ( ! isset( $instance ) ) {
302
- $instance = new WC_TrackShip_Customizer();
303
- }
304
-
305
- return $instance;
306
- }
307
-
308
- /**
309
- * Register this class globally.
310
- *
311
- * Backward compatibility.
312
- */
313
- ts_customizer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-availableforpickup-email-customizer.php DELETED
@@ -1,416 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- */
5
-
6
- /**
7
- * Adds the individual sections, settings, and controls to the theme customizer
8
- */
9
- class Wcast_Availableforpickup_Customizer_Email {
10
- // Get our default values
11
- public function __construct() {
12
-
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
-
50
- }
51
-
52
- /**
53
- * Checks to see if we are opening our custom customizer preview
54
- *
55
- * @return bool
56
- */
57
- public function is_own_preview_request() {
58
- return isset( $_REQUEST['wcast-availableforpickup-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-availableforpickup-email-customizer-preview'];
59
- }
60
-
61
- /**
62
- * Checks to see if we are opening our custom customizer controls
63
- *
64
- * @return bool
65
- */
66
- public function is_own_customizer_request() {
67
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
68
- }
69
-
70
- /**
71
- * Code for initialize default value for customizer
72
- */
73
- public function wcast_generate_defaults() {
74
- $customizer_defaults = array(
75
- 'wcast_availableforpickup_email_subject' => __( 'Your order #{order_number} is available for pickup', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_availableforpickup_email_heading' => __( 'Available For Pickup', 'woo-advanced-shipment-tracking' ),
77
- 'wcast_availableforpickup_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is available for pickup.", 'woo-advanced-shipment-tracking' ),
78
- 'wcast_enable_availableforpickup_email' => '',
79
- 'wcast_availableforpickup_email_to' => '{customer_email}',
80
- 'wcast_availableforpickup_show_tracking_details' => '',
81
- 'wcast_availableforpickup_show_order_details' => 1,
82
- 'wcast_availableforpickup_hide_shipping_item_price' => 1,
83
- 'wcast_availableforpickup_show_shipping_address' => 1,
84
- 'wcast_availableforpickup_email_code_block' => '',
85
- );
86
-
87
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
88
- }
89
-
90
- /**
91
- * Register our sample default controls
92
- */
93
- public function wcast_register_sample_default_controls( $wp_customize ) {
94
- /**
95
- * Load all our Customizer Custom Controls
96
- */
97
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
98
-
99
-
100
- // Display Shipment Provider image/thumbnail
101
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_enable_availableforpickup_email]',
102
- array(
103
- 'default' => $this->defaults['wcast_enable_availableforpickup_email'],
104
- 'transport' => 'postMessage',
105
- 'type' => 'option',
106
- 'sanitize_callback' => ''
107
- )
108
- );
109
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_enable_availableforpickup_email]',
110
- array(
111
- 'label' => __( 'Enable Available For Pickup email', 'woo-advanced-shipment-tracking' ),
112
- 'description' => '',
113
- 'section' => 'trackship_shipment_status_email',
114
- 'type' => 'checkbox',
115
- 'active_callback' => array( $this, 'active_callback' ),
116
- )
117
- );
118
-
119
- // Header Text
120
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_to]',
121
- array(
122
- 'default' => $this->defaults['wcast_availableforpickup_email_to'],
123
- 'transport' => 'postMessage',
124
- 'type' => 'option',
125
- 'sanitize_callback' => ''
126
- )
127
- );
128
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_to]',
129
- array(
130
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
131
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses.', 'woocommerce' ),
132
- 'section' => 'trackship_shipment_status_email',
133
- 'type' => 'text',
134
- 'input_attrs' => array(
135
- 'class' => '',
136
- 'style' => '',
137
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
138
- ),
139
- 'active_callback' => array( $this, 'active_callback' ),
140
- )
141
- );
142
-
143
- // Header Text
144
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_subject]',
145
- array(
146
- 'default' => $this->defaults['wcast_availableforpickup_email_subject'],
147
- 'transport' => 'postMessage',
148
- 'type' => 'option',
149
- 'sanitize_callback' => ''
150
- )
151
- );
152
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_subject]',
153
- array(
154
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
155
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
156
- 'section' => 'trackship_shipment_status_email',
157
- 'type' => 'text',
158
- 'input_attrs' => array(
159
- 'class' => '',
160
- 'style' => '',
161
- 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_subject'], 'woo-advanced-shipment-tracking' ),
162
- ),
163
- 'active_callback' => array( $this, 'active_callback' ),
164
- )
165
- );
166
-
167
- // Header Text
168
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_heading]',
169
- array(
170
- 'default' => $this->defaults['wcast_availableforpickup_email_heading'],
171
- 'transport' => 'refresh',
172
- 'type' => 'option',
173
- 'sanitize_callback' => ''
174
- )
175
- );
176
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_heading]',
177
- array(
178
- 'label' => __( 'Email heading', 'woocommerce' ),
179
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
180
- 'section' => 'trackship_shipment_status_email',
181
- 'type' => 'text',
182
- 'input_attrs' => array(
183
- 'class' => '',
184
- 'style' => '',
185
- 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_heading'], 'woo-advanced-shipment-tracking' ),
186
- ),
187
- 'active_callback' => array( $this, 'active_callback' ),
188
- )
189
- );
190
-
191
- // Test of TinyMCE control
192
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_content]',
193
- array(
194
- 'default' => $this->defaults['wcast_availableforpickup_email_content'],
195
- 'transport' => 'refresh',
196
- 'type' => 'option',
197
- 'sanitize_callback' => 'wp_kses_post'
198
- )
199
- );
200
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_content]',
201
- array(
202
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
203
- 'description' => '',
204
- 'section' => 'trackship_shipment_status_email',
205
- 'input_attrs' => array(
206
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
207
- 'mediaButtons' => true,
208
- 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_content'], 'woo-advanced-shipment-tracking' ),
209
- ),
210
- 'active_callback' => array( $this, 'active_callback' ),
211
- )
212
- ) );
213
-
214
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_code_block]',
215
- array(
216
- 'default' => $this->defaults['wcast_availableforpickup_email_code_block'],
217
- 'transport' => 'postMessage',
218
- 'type' => 'option',
219
- 'sanitize_callback' => ''
220
- )
221
- );
222
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_settings[wcast_availableforpickup_email_code_block]',
223
- array(
224
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
225
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
226
- 'section' => 'trackship_shipment_status_email',
227
- 'active_callback' => array( $this, 'active_callback' ),
228
- )
229
- ) );
230
-
231
- // Display Shipment Provider image/thumbnail
232
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_show_order_details]',
233
- array(
234
- 'default' => $this->defaults['wcast_availableforpickup_show_order_details'],
235
- 'transport' => 'refresh',
236
- 'type' => 'option',
237
- 'sanitize_callback' => ''
238
- )
239
- );
240
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_show_order_details]',
241
- array(
242
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
243
- 'description' => '',
244
- 'section' => 'trackship_shipment_status_email',
245
- 'type' => 'checkbox',
246
- 'active_callback' => array( $this, 'active_callback' ),
247
- )
248
- );
249
-
250
- // Display Shipment Provider image/thumbnail
251
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_hide_shipping_item_price]',
252
- array(
253
- 'default' => $this->defaults['wcast_availableforpickup_hide_shipping_item_price'],
254
- 'transport' => 'refresh',
255
- 'type' => 'option',
256
- 'sanitize_callback' => ''
257
- )
258
- );
259
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_hide_shipping_item_price]',
260
- array(
261
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
262
- 'description' => '',
263
- 'section' => 'trackship_shipment_status_email',
264
- 'type' => 'checkbox',
265
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
266
- )
267
- );
268
-
269
- // Display Shipment Provider image/thumbnail
270
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_show_shipping_address]',
271
- array(
272
- 'default' => $this->defaults['wcast_availableforpickup_show_shipping_address'],
273
- 'transport' => 'refresh',
274
- 'type' => 'option',
275
- 'sanitize_callback' => ''
276
- )
277
- );
278
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_show_shipping_address]',
279
- array(
280
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
281
- 'description' => '',
282
- 'section' => 'trackship_shipment_status_email',
283
- 'type' => 'checkbox',
284
- 'active_callback' => array( $this, 'active_callback' ),
285
- )
286
- );
287
-
288
- $wp_customize->add_setting( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_analytics_link]',
289
- array(
290
- 'default' => '',
291
- 'transport' => 'refresh',
292
- 'type' => 'option',
293
- 'sanitize_callback' => ''
294
- )
295
- );
296
- $wp_customize->add_control( 'wcast_availableforpickup_email_settings[wcast_availableforpickup_analytics_link]',
297
- array(
298
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
299
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
300
- 'section' => 'trackship_shipment_status_email',
301
- 'type' => 'text',
302
- 'input_attrs' => array(
303
- 'class' => '',
304
- 'style' => '',
305
- 'placeholder' => '',
306
- ),
307
- 'active_callback' => array( $this, 'active_callback' ),
308
- )
309
- );
310
- }
311
-
312
- public function active_callback() {
313
- return ( $this->is_own_preview_request() ) ? true : false ;
314
- }
315
-
316
- public function active_callback_only_show_order_details() {
317
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
318
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_show_order_details', $this->defaults['wcast_availableforpickup_show_order_details'] );
319
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
320
- }
321
-
322
- /**
323
- * Set up preview
324
- *
325
- * @return void
326
- */
327
- public function set_up_preview() {
328
- // Make sure this is own preview request.
329
- if ( ! $this->is_own_preview_request() ) {
330
- return;
331
- }
332
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/availableforpickup_preview.php';
333
- exit;
334
- }
335
-
336
- /**
337
- * Code for preview of available for pickup email
338
- */
339
- public function preview_availableforpickup_email() {
340
-
341
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
342
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
343
-
344
- $email_heading = $ast->get_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_email_heading', $this->defaults['wcast_availableforpickup_email_heading'] );
345
-
346
- $email_content = $ast->get_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_email_content', $this->defaults['wcast_availableforpickup_email_content'] );
347
-
348
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_show_order_details', $this->defaults['wcast_availableforpickup_show_order_details'] );
349
-
350
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_hide_shipping_item_price', $this->defaults['wcast_availableforpickup_hide_shipping_item_price'] );
351
-
352
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_show_shipping_address', $this->defaults['wcast_availableforpickup_show_shipping_address'] );
353
-
354
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
355
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
356
- echo wp_kses_post( $content );
357
- return;
358
- }
359
-
360
- $order = wc_get_order( $preview_id );
361
-
362
- if ( !$order ) {
363
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
364
- echo wp_kses_post( $content );
365
- return;
366
- }
367
-
368
- // get the preview email subject
369
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
370
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
371
-
372
- $wcast_availableforpickup_analytics_link = $ast->get_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_analytics_link', '' );
373
-
374
- if ( $wcast_availableforpickup_analytics_link ) {
375
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
376
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
377
- }
378
-
379
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
380
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'available_for_pickup' );
381
-
382
- if ( $wcast_show_order_details ) {
383
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
384
- }
385
-
386
- if ( $wcast_show_shipping_address ) {
387
- $message .= $ast->order_shipping_details_template( $order );
388
- }
389
-
390
- $mailer = WC()->mailer();
391
- // create a new email
392
- $email = new WC_Email();
393
-
394
- // wrap the content with the email template and then add styles
395
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
396
- }
397
-
398
- /**
399
- * Code for append analytics link in email content
400
- */
401
- public function _appendCampaignToString( $match ) {
402
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
403
- $wcast_availableforpickup_analytics_link = $ast->get_option_value_from_array( 'wcast_availableforpickup_email_settings', 'wcast_availableforpickup_analytics_link', '' );
404
-
405
- $url = $match[2];
406
- if (strpos($url, '?') === false) {
407
- $url .= '?';
408
- }
409
- $url .= $wcast_availableforpickup_analytics_link;
410
- return $match[1] . $url . $match[3];
411
- }
412
- }
413
- /**
414
- * Initialise our Customizer settings
415
- */
416
- new Wcast_Availableforpickup_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-delivered-email-customizer.php DELETED
@@ -1,437 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Delivered_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
-
50
- }
51
-
52
- /**
53
- * Checks to see if we are opening our custom customizer preview
54
- *
55
- * @return bool
56
- */
57
- public function is_own_preview_request() {
58
- return isset( $_REQUEST['wcast-delivered-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-delivered-email-customizer-preview'];
59
- }
60
-
61
- /**
62
- * Checks to see if we are opening our custom customizer controls
63
- *
64
- * @return bool
65
- */
66
- public function is_own_customizer_request() {
67
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
68
- }
69
-
70
- /**
71
- * Code for initialize default value for customizer
72
- */
73
- public function wcast_generate_defaults() {
74
- $customizer_defaults = array(
75
- 'wcast_delivered_status_email_subject' => __( 'Your order #{order_number} has been delivered', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_delivered_status_email_heading' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
77
- 'wcast_delivered_status_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been Delivered.", 'woo-advanced-shipment-tracking' ),'wcast_enable_delivered_status_email' => '',
78
- 'wcast_delivered_status_email_to' => '{customer_email}',
79
- 'wcast_delivered_status_show_tracking_details' => '',
80
- 'wcast_delivered_status_show_order_details' => 1,
81
- 'wcast_delivered_status_hide_shipping_item_price' => 1,
82
- 'wcast_delivered_status_show_shipping_address' => 1,
83
- 'wcast_delivered_status_email_code_block' => '',
84
- );
85
-
86
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
87
- }
88
-
89
- /**
90
- * Register our sample default controls
91
- */
92
- public function wcast_register_sample_default_controls( $wp_customize ) {
93
- /**
94
- * Load all our Customizer Custom Controls
95
- */
96
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
97
-
98
- // Display Shipment Provider image/thumbnail
99
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_enable_delivered_status_email]',
100
- array(
101
- 'default' => $this->defaults['wcast_enable_delivered_status_email'],
102
- 'transport' => 'postMessage',
103
- 'type' => 'option',
104
- 'sanitize_callback' => ''
105
- )
106
- );
107
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_enable_delivered_status_email]',
108
- array(
109
- 'label' => __( 'Enable Delivered email', 'woo-advanced-shipment-tracking' ),
110
- 'description' => '',
111
- 'section' => 'trackship_shipment_status_email',
112
- 'type' => 'checkbox',
113
- 'active_callback' => array( $this, 'active_callback' ),
114
- )
115
- );
116
-
117
- // Header Text
118
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_email_to]',
119
- array(
120
- 'default' => $this->defaults['wcast_delivered_status_email_to'],
121
- 'transport' => 'postMessage',
122
- 'type' => 'option',
123
- 'sanitize_callback' => ''
124
- )
125
- );
126
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_email_to]',
127
- array(
128
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
129
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses.', 'woocommerce' ),
130
- 'section' => 'trackship_shipment_status_email',
131
- 'type' => 'text',
132
- 'input_attrs' => array(
133
- 'class' => '',
134
- 'style' => '',
135
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
136
- ),
137
- 'active_callback' => array( $this, 'active_callback' ),
138
- )
139
- );
140
-
141
- // Header Text
142
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_email_subject]',
143
- array(
144
- 'default' => $this->defaults['wcast_delivered_status_email_subject'],
145
- 'transport' => 'postMessage',
146
- 'type' => 'option',
147
- 'sanitize_callback' => ''
148
- )
149
- );
150
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_email_subject]',
151
- array(
152
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
153
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
154
- 'section' => 'trackship_shipment_status_email',
155
- 'type' => 'text',
156
- 'input_attrs' => array(
157
- 'class' => '',
158
- 'style' => '',
159
- 'placeholder' => __( $this->defaults['wcast_delivered_status_email_subject'], 'woo-advanced-shipment-tracking' ),
160
- ),
161
- 'active_callback' => array( $this, 'active_callback' ),
162
- )
163
- );
164
-
165
- // Header Text
166
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_email_heading]',
167
- array(
168
- 'default' => $this->defaults['wcast_delivered_status_email_heading'],
169
- 'transport' => 'refresh',
170
- 'type' => 'option',
171
- 'sanitize_callback' => ''
172
- )
173
- );
174
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_email_heading]',
175
- array(
176
- 'label' => __( 'Email heading', 'woocommerce' ),
177
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
178
- 'section' => 'trackship_shipment_status_email',
179
- 'type' => 'text',
180
- 'input_attrs' => array(
181
- 'class' => '',
182
- 'style' => '',
183
- 'placeholder' => __( $this->defaults['wcast_delivered_status_email_heading'], 'woo-advanced-shipment-tracking' ),
184
- ),
185
- 'active_callback' => array( $this, 'active_callback' ),
186
- )
187
- );
188
-
189
- // Test of TinyMCE control
190
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_email_content]',
191
- array(
192
- 'default' => $this->defaults['wcast_delivered_status_email_content'],
193
- 'transport' => 'refresh',
194
- 'type' => 'option',
195
- 'sanitize_callback' => 'wp_kses_post'
196
- )
197
- );
198
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_delivered_email_settings[wcast_delivered_status_email_content]',
199
- array(
200
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
201
- 'description' => '',
202
- 'section' => 'trackship_shipment_status_email',
203
- 'input_attrs' => array(
204
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
205
- 'mediaButtons' => true,
206
- 'placeholder' => __( $this->defaults['wcast_delivered_status_email_content'], 'woo-advanced-shipment-tracking' ),
207
- ),
208
- 'active_callback' => array( $this, 'active_callback' ),
209
- )
210
- ) );
211
-
212
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_email_code_block]',
213
- array(
214
- 'default' => $this->defaults['wcast_delivered_status_email_code_block'],
215
- 'transport' => 'postMessage',
216
- 'type' => 'option',
217
- 'sanitize_callback' => ''
218
- )
219
- );
220
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_email_settings[wcast_delivered_status_email_code_block]',
221
- array(
222
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
223
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
224
- 'section' => 'trackship_shipment_status_email',
225
- 'active_callback' => array( $this, 'active_callback' ),
226
- )
227
- ) );
228
-
229
- // Display Shipment Provider image/thumbnail
230
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_show_tracking_details]',
231
- array(
232
- 'default' => $this->defaults['wcast_delivered_status_show_tracking_details'],
233
- 'transport' => 'refresh',
234
- 'type' => 'option',
235
- 'sanitize_callback' => ''
236
- )
237
- );
238
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_show_tracking_details]',
239
- array(
240
- 'label' => __( 'Show tracking details', 'woo-advanced-shipment-tracking' ),
241
- 'description' => '',
242
- 'section' => 'trackship_shipment_status_email',
243
- 'type' => 'checkbox',
244
- 'active_callback' => array( $this, 'active_callback' ),
245
- )
246
- );
247
-
248
- // Display Shipment Provider image/thumbnail
249
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_show_order_details]',
250
- array(
251
- 'default' => $this->defaults['wcast_delivered_status_show_order_details'],
252
- 'transport' => 'refresh',
253
- 'type' => 'option',
254
- 'sanitize_callback' => ''
255
- )
256
- );
257
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_show_order_details]',
258
- array(
259
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
260
- 'description' => '',
261
- 'section' => 'trackship_shipment_status_email',
262
- 'type' => 'checkbox',
263
- 'active_callback' => array( $this, 'active_callback' ),
264
- )
265
- );
266
-
267
- // Display Shipment Provider image/thumbnail
268
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_hide_shipping_item_price]',
269
- array(
270
- 'default' => $this->defaults['wcast_delivered_status_hide_shipping_item_price'],
271
- 'transport' => 'refresh',
272
- 'type' => 'option',
273
- 'sanitize_callback' => ''
274
- )
275
- );
276
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_hide_shipping_item_price]',
277
- array(
278
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
279
- 'description' => '',
280
- 'section' => 'trackship_shipment_status_email',
281
- 'type' => 'checkbox',
282
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
283
- )
284
- );
285
-
286
- // Display Shipment Provider image/thumbnail
287
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_show_shipping_address]',
288
- array(
289
- 'default' => $this->defaults['wcast_delivered_status_show_shipping_address'],
290
- 'transport' => 'refresh',
291
- 'type' => 'option',
292
- 'sanitize_callback' => ''
293
- )
294
- );
295
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_show_shipping_address]',
296
- array(
297
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
298
- 'description' => '',
299
- 'section' => 'trackship_shipment_status_email',
300
- 'type' => 'checkbox',
301
- 'active_callback' => array( $this, 'active_callback' ),
302
- )
303
- );
304
-
305
- $wp_customize->add_setting( 'wcast_delivered_email_settings[wcast_delivered_status_analytics_link]',
306
- array(
307
- 'default' => '',
308
- 'transport' => 'refresh',
309
- 'type' => 'option',
310
- 'sanitize_callback' => ''
311
- )
312
- );
313
- $wp_customize->add_control( 'wcast_delivered_email_settings[wcast_delivered_status_analytics_link]',
314
- array(
315
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
316
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
317
- 'section' => 'trackship_shipment_status_email',
318
- 'type' => 'text',
319
- 'input_attrs' => array(
320
- 'class' => '',
321
- 'style' => '',
322
- 'placeholder' => '',
323
- ),
324
- 'active_callback' => array( $this, 'active_callback' ),
325
- )
326
- );
327
- }
328
-
329
- public function active_callback() {
330
- return ( $this->is_own_preview_request() ) ? true : false ;
331
- }
332
-
333
- public function active_callback_only_show_order_details() {
334
-
335
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
336
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_order_details', $this->defaults['wcast_delivered_status_show_order_details'] );
337
-
338
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
339
- }
340
-
341
- /**
342
- * Set up preview
343
- *
344
- * @return void
345
- */
346
- public function set_up_preview() {
347
-
348
- // Make sure this is own preview request.
349
- if ( ! $this->is_own_preview_request() ) {
350
- return;
351
- }
352
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/delivered_status_preview.php';
353
- exit;
354
- }
355
-
356
- /**
357
- * Code for preview of delivered email
358
- */
359
- public function preview_delivered_email() {
360
-
361
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
362
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
363
-
364
- $email_heading = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_heading', $this->defaults['wcast_delivered_status_email_heading'] );
365
- $email_content = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_content', $this->defaults['wcast_delivered_status_email_content'] );
366
- $wcast_show_tracking_details = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_tracking_details', $this->defaults['wcast_delivered_status_show_tracking_details'] );
367
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_order_details', $this->defaults['wcast_delivered_status_show_order_details'] );
368
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_hide_shipping_item_price', $this->defaults['wcast_delivered_status_hide_shipping_item_price'] );
369
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_shipping_address', $this->defaults['wcast_delivered_status_show_shipping_address'] );
370
-
371
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
372
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
373
- echo wp_kses_post( $content );
374
- return;
375
- }
376
-
377
- $order = wc_get_order( $preview_id );
378
-
379
- if ( !$order ) {
380
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
381
- echo wp_kses_post( $content );
382
- return;
383
- }
384
-
385
- // get the preview email subject
386
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
387
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
388
-
389
- $wcast_delivered_status_analytics_link = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_analytics_link', '' );
390
-
391
- if ( $wcast_delivered_status_analytics_link ) {
392
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
393
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
394
- }
395
-
396
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
397
-
398
- if ( $wcast_show_tracking_details ) {
399
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'delivered' );
400
- }
401
-
402
- if ( $wcast_show_order_details ) {
403
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
404
- }
405
-
406
- if ( $wcast_show_shipping_address ) {
407
- $message .= $ast->order_shipping_details_template( $order );
408
- }
409
-
410
- $mailer = WC()->mailer();
411
- // create a new email
412
- $email = new WC_Email();
413
-
414
- // wrap the content with the email template and then add styles
415
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
416
- }
417
-
418
- /**
419
- * Code for append analytics link in email content
420
- */
421
- public function _appendCampaignToString( $match ) {
422
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
423
- $wcast_delivered_status_analytics_link = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_analytics_link', '' );
424
-
425
- $url = $match[2];
426
- if (strpos($url, '?') === false) {
427
- $url .= '?';
428
- }
429
- $url .= $wcast_delivered_status_analytics_link;
430
- return $match[1] . $url . $match[3];
431
- }
432
- }
433
- /**
434
- * Initialise our Customizer settings
435
- */
436
-
437
- $wcast_delivered_customizer_email = new Wcast_Delivered_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-exception-email-customizer.php DELETED
@@ -1,412 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Exception_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
- }
50
-
51
- /**
52
- * Checks to see if we are opening our custom customizer preview
53
- *
54
- * @return bool
55
- */
56
- public function is_own_preview_request() {
57
- return isset( $_REQUEST['wcast-exception-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-exception-email-customizer-preview'];
58
- }
59
-
60
- /**
61
- * Checks to see if we are opening our custom customizer controls
62
- *
63
- * @return bool
64
- */
65
- public function is_own_customizer_request() {
66
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
67
- }
68
-
69
- /**
70
- * Code for initialize default value for customizer
71
- */
72
- public function wcast_generate_defaults() {
73
- $customizer_defaults = array(
74
- 'wcast_exception_email_subject' => __( 'Your order #{order_number} is Exception', 'woo-advanced-shipment-tracking' ),
75
- 'wcast_exception_email_heading' => __( 'Exception', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_exception_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is Exception", 'woo-advanced-shipment-tracking' ),
77
- 'wcast_enable_exception_email' => '',
78
- 'wcast_exception_email_to' => '{customer_email}',
79
- 'wcast_exception_show_tracking_details' => '',
80
- 'wcast_exception_show_order_details' => 1,
81
- 'wcast_exception_hide_shipping_item_price' => 1,
82
- 'wcast_exception_show_shipping_address' => 1,
83
- 'wcast_exception_email_code_block' => '',
84
- );
85
-
86
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
87
- }
88
-
89
- /**
90
- * Register our sample default controls
91
- */
92
- public function wcast_register_sample_default_controls( $wp_customize ) {
93
- /**
94
- * Load all our Customizer Custom Controls
95
- */
96
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
97
-
98
- // Display Shipment Provider image/thumbnail
99
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_enable_exception_email]',
100
- array(
101
- 'default' => $this->defaults['wcast_enable_exception_email'],
102
- 'transport' => 'postMessage',
103
- 'type' => 'option',
104
- 'sanitize_callback' => ''
105
- )
106
- );
107
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_enable_exception_email]',
108
- array(
109
- 'label' => __( 'Enable Exception email', 'woo-advanced-shipment-tracking' ),
110
- 'description' => '',
111
- 'section' => 'trackship_shipment_status_email',
112
- 'type' => 'checkbox',
113
- 'active_callback' => array( $this, 'active_callback' ),
114
- )
115
- );
116
-
117
- // Header Text
118
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_email_to]',
119
- array(
120
- 'default' => $this->defaults['wcast_exception_email_to'],
121
- 'transport' => 'postMessage',
122
- 'type' => 'option',
123
- 'sanitize_callback' => ''
124
- )
125
- );
126
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_email_to]',
127
- array(
128
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
129
- 'description' => esc_html__( 'Enter emails here or use variables such as {customer_email}. Multiple emails can be separated by commas.', 'woocommerce' ),
130
- 'section' => 'trackship_shipment_status_email',
131
- 'type' => 'text',
132
- 'input_attrs' => array(
133
- 'class' => '',
134
- 'style' => '',
135
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
136
- ),
137
- 'active_callback' => array( $this, 'active_callback' ),
138
- )
139
- );
140
-
141
- // Header Text
142
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_email_subject]',
143
- array(
144
- 'default' => $this->defaults['wcast_exception_email_subject'],
145
- 'transport' => 'postMessage',
146
- 'type' => 'option',
147
- 'sanitize_callback' => ''
148
- )
149
- );
150
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_email_subject]',
151
- array(
152
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
153
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
154
- 'section' => 'trackship_shipment_status_email',
155
- 'type' => 'text',
156
- 'input_attrs' => array(
157
- 'class' => '',
158
- 'style' => '',
159
- 'placeholder' => __( $this->defaults['wcast_exception_email_subject'], 'woo-advanced-shipment-tracking' ),
160
- ),
161
- 'active_callback' => array( $this, 'active_callback' ),
162
- )
163
- );
164
-
165
- // Header Text
166
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_email_heading]',
167
- array(
168
- 'default' => $this->defaults['wcast_exception_email_heading'],
169
- 'transport' => 'refresh',
170
- 'type' => 'option',
171
- 'sanitize_callback' => ''
172
- )
173
- );
174
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_email_heading]',
175
- array(
176
- 'label' => __( 'Email heading', 'woocommerce' ),
177
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
178
- 'section' => 'trackship_shipment_status_email',
179
- 'type' => 'text',
180
- 'input_attrs' => array(
181
- 'class' => '',
182
- 'style' => '',
183
- 'placeholder' => __( $this->defaults['wcast_exception_email_heading'], 'woo-advanced-shipment-tracking' ),
184
- ),
185
- 'active_callback' => array( $this, 'active_callback' ),
186
- )
187
- );
188
-
189
- // Test of TinyMCE control
190
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_email_content]',
191
- array(
192
- 'default' => $this->defaults['wcast_exception_email_content'],
193
- 'transport' => 'refresh',
194
- 'type' => 'option',
195
- 'sanitize_callback' => 'wp_kses_post'
196
- )
197
- );
198
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_exception_email_settings[wcast_exception_email_content]',
199
- array(
200
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
201
- 'description' => '',
202
- 'section' => 'trackship_shipment_status_email',
203
- 'input_attrs' => array(
204
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
205
- 'mediaButtons' => true,
206
- 'placeholder' => __( $this->defaults['wcast_exception_email_content'], 'woo-advanced-shipment-tracking' ),
207
- ),
208
- 'active_callback' => array( $this, 'active_callback' ),
209
- )
210
- ) );
211
-
212
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_email_code_block]',
213
- array(
214
- 'default' => $this->defaults['wcast_exception_email_code_block'],
215
- 'transport' => 'postMessage',
216
- 'type' => 'option',
217
- 'sanitize_callback' => ''
218
- )
219
- );
220
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_exception_email_settings[wcast_exception_email_code_block]',
221
- array(
222
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
223
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
224
- 'section' => 'trackship_shipment_status_email',
225
- 'active_callback' => array( $this, 'active_callback' ),
226
- )
227
- ) );
228
-
229
- // Display Shipment Provider image/thumbnail
230
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_show_order_details]',
231
- array(
232
- 'default' => $this->defaults['wcast_exception_show_order_details'],
233
- 'transport' => 'refresh',
234
- 'type' => 'option',
235
- 'sanitize_callback' => ''
236
- )
237
- );
238
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_show_order_details]',
239
- array(
240
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
241
- 'description' => '',
242
- 'section' => 'trackship_shipment_status_email',
243
- 'type' => 'checkbox',
244
- 'active_callback' => array( $this, 'active_callback' ),
245
- )
246
- );
247
-
248
- // Display Shipment Provider image/thumbnail
249
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_hide_shipping_item_price]',
250
- array(
251
- 'default' => $this->defaults['wcast_exception_hide_shipping_item_price'],
252
- 'transport' => 'refresh',
253
- 'type' => 'option',
254
- 'sanitize_callback' => ''
255
- )
256
- );
257
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_hide_shipping_item_price]',
258
- array(
259
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
260
- 'description' => '',
261
- 'section' => 'trackship_shipment_status_email',
262
- 'type' => 'checkbox',
263
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
264
- )
265
- );
266
-
267
- // Display Shipment Provider image/thumbnail
268
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_show_shipping_address]',
269
- array(
270
- 'default' => $this->defaults['wcast_exception_show_shipping_address'],
271
- 'transport' => 'refresh',
272
- 'type' => 'option',
273
- 'sanitize_callback' => ''
274
- )
275
- );
276
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_show_shipping_address]',
277
- array(
278
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
279
- 'description' => '',
280
- 'section' => 'trackship_shipment_status_email',
281
- 'type' => 'checkbox',
282
- 'active_callback' => array( $this, 'active_callback' ),
283
- )
284
- );
285
-
286
- $wp_customize->add_setting( 'wcast_exception_email_settings[wcast_exception_analytics_link]',
287
- array(
288
- 'default' => '',
289
- 'transport' => 'refresh',
290
- 'type' => 'option',
291
- 'sanitize_callback' => ''
292
- )
293
- );
294
- $wp_customize->add_control( 'wcast_exception_email_settings[wcast_exception_analytics_link]',
295
- array(
296
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
297
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
298
- 'section' => 'trackship_shipment_status_email',
299
- 'type' => 'text',
300
- 'input_attrs' => array(
301
- 'class' => '',
302
- 'style' => '',
303
- 'placeholder' => '',
304
- ),
305
- 'active_callback' => array( $this, 'active_callback' ),
306
- )
307
- );
308
- }
309
-
310
- public function active_callback() {
311
- return ( $this->is_own_preview_request() ) ? true : false ;
312
- }
313
-
314
- public function active_callback_only_show_order_details() {
315
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
316
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_show_order_details', $this->defaults['wcast_exception_show_order_details'] );
317
-
318
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
319
- }
320
-
321
- /**
322
- * Set up preview
323
- *
324
- * @return void
325
- */
326
- public function set_up_preview() {
327
-
328
- // Make sure this is own preview request.
329
- if ( ! $this->is_own_preview_request() ) {
330
- return;
331
- }
332
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/exception_preview.php';
333
- exit;
334
- }
335
-
336
- /**
337
- * Code for preview of exception email
338
- */
339
- public function preview_exception_email() {
340
-
341
- $preview_id = get_theme_mod( 'wcast_intransit_email_preview_order_id' );
342
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
343
-
344
- $email_heading = $ast->get_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_email_heading', $this->defaults['wcast_exception_email_heading'] );
345
- $email_content = $ast->get_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_email_content', $this->defaults['wcast_exception_email_content'] );
346
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_show_order_details', $this->defaults['wcast_exception_show_order_details'] );
347
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_hide_shipping_item_price', $this->defaults['wcast_exception_hide_shipping_item_price'] );
348
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_show_shipping_address', $this->defaults['wcast_exception_show_shipping_address'] );
349
-
350
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
351
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
352
- echo wp_kses_post( $content );
353
- return;
354
- }
355
-
356
- $order = wc_get_order( $preview_id );
357
-
358
- if ( !$order ) {
359
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
360
- echo wp_kses_post( $content );
361
- return;
362
- }
363
-
364
- // get the preview email subject
365
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
366
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
367
-
368
- $wcast_exception_analytics_link = $ast->get_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_analytics_link', '' );
369
- if ( $wcast_exception_analytics_link ) {
370
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
371
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
372
- }
373
-
374
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
375
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'exception' );
376
-
377
- if ( $wcast_show_order_details ) {
378
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
379
- }
380
-
381
- if ( $wcast_show_shipping_address ) {
382
- $message .= $ast->order_shipping_details_template( $order );
383
- }
384
-
385
- $mailer = WC()->mailer();
386
- // create a new email
387
- $email = new WC_Email();
388
-
389
- // wrap the content with the email template and then add styles
390
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
391
- }
392
-
393
- /**
394
- * Code for append analytics link in email content
395
- */
396
- public function _appendCampaignToString( $match ) {
397
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
398
- $wcast_exception_analytics_link = $ast->get_option_value_from_array( 'wcast_exception_email_settings', 'wcast_exception_analytics_link', '' );
399
-
400
- $url = $match[2];
401
- if (strpos($url, '?') === false) {
402
- $url .= '?';
403
- }
404
- $url .= $wcast_exception_analytics_link;
405
- return $match[1] . $url . $match[3];
406
- }
407
- }
408
- /**
409
- * Initialise our Customizer settings
410
- */
411
-
412
- $wcast_exception_customizer_email = new Wcast_Exception_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-failure-email-customizer.php DELETED
@@ -1,418 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Failure_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
- }
50
-
51
- /**
52
- * Checks to see if we are opening our custom customizer preview
53
- *
54
- * @return bool
55
- */
56
- public function is_own_preview_request() {
57
- return isset( $_REQUEST['wcast-failure-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-failure-email-customizer-preview'];
58
- }
59
-
60
- /**
61
- * Checks to see if we are opening our custom customizer controls
62
- *
63
- * @return bool
64
- */
65
- public function is_own_customizer_request() {
66
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
67
- }
68
-
69
- /**
70
- * Code for initialize default value for customizer
71
- */
72
- public function wcast_generate_defaults() {
73
- $customizer_defaults = array(
74
- 'wcast_failure_email_subject' => __( 'Your order #{order_number} is Failed Attempt', 'woo-advanced-shipment-tracking' ),
75
- 'wcast_failure_email_heading' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_failure_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is Failed Attempt", 'woo-advanced-shipment-tracking' ),
77
- 'wcast_enable_failure_email' => '',
78
- 'wcast_failure_email_to' => '{customer_email}',
79
- 'wcast_failure_show_tracking_details' => '',
80
- 'wcast_failure_show_order_details' => 1,
81
- 'wcast_failure_hide_shipping_item_price' => 1,
82
- 'wcast_failure_show_shipping_address' => 1,
83
- 'wcast_failure_email_code_block' => '',
84
- );
85
-
86
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
87
- }
88
-
89
- /**
90
- * Register our sample default controls
91
- */
92
- public function wcast_register_sample_default_controls( $wp_customize ) {
93
- /**
94
- * Load all our Customizer Custom Controls
95
- */
96
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
97
-
98
- // Display Shipment Provider image/thumbnail
99
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_enable_failure_email]',
100
- array(
101
- 'default' => $this->defaults['wcast_enable_failure_email'],
102
- 'transport' => 'postMessage',
103
- 'type' => 'option',
104
- 'sanitize_callback' => ''
105
- )
106
- );
107
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_enable_failure_email]',
108
- array(
109
- 'label' => __( 'Enable Failed Attempt email', 'woo-advanced-shipment-tracking' ),
110
- 'description' => '',
111
- 'section' => 'trackship_shipment_status_email',
112
- 'type' => 'checkbox',
113
- 'active_callback' => array( $this, 'active_callback' ),
114
- )
115
- );
116
-
117
- // Header Text
118
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_email_to]',
119
- array(
120
- 'default' => $this->defaults['wcast_failure_email_to'],
121
- 'transport' => 'postMessage',
122
- 'type' => 'option',
123
- 'sanitize_callback' => ''
124
- )
125
- );
126
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_email_to]',
127
- array(
128
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
129
- 'description' => esc_html__( 'Enter emails here or use variables such as {customer_email}. Multiple emails can be separated by commas.', 'woocommerce' ),
130
- 'section' => 'trackship_shipment_status_email',
131
- 'type' => 'text',
132
- 'input_attrs' => array(
133
- 'class' => '',
134
- 'style' => '',
135
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
136
- ),
137
- 'active_callback' => array( $this, 'active_callback' ),
138
- )
139
- );
140
-
141
- // Header Text
142
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_email_subject]',
143
- array(
144
- 'default' => $this->defaults['wcast_failure_email_subject'],
145
- 'transport' => 'postMessage',
146
- 'type' => 'option',
147
- 'sanitize_callback' => ''
148
- )
149
- );
150
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_email_subject]',
151
- array(
152
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
153
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
154
- 'section' => 'trackship_shipment_status_email',
155
- 'type' => 'text',
156
- 'input_attrs' => array(
157
- 'class' => '',
158
- 'style' => '',
159
- 'placeholder' => __( $this->defaults['wcast_failure_email_subject'], 'woo-advanced-shipment-tracking' ),
160
- ),
161
- 'active_callback' => array( $this, 'active_callback' ),
162
- )
163
- );
164
-
165
- // Header Text
166
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_email_heading]',
167
- array(
168
- 'default' => $this->defaults['wcast_failure_email_heading'],
169
- 'transport' => 'refresh',
170
- 'type' => 'option',
171
- 'sanitize_callback' => ''
172
- )
173
- );
174
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_email_heading]',
175
- array(
176
- 'label' => __( 'Email heading', 'woocommerce' ),
177
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
178
- 'section' => 'trackship_shipment_status_email',
179
- 'type' => 'text',
180
- 'input_attrs' => array(
181
- 'class' => '',
182
- 'style' => '',
183
- 'placeholder' => __( $this->defaults['wcast_failure_email_heading'], 'woo-advanced-shipment-tracking' ),
184
- ),
185
- 'active_callback' => array( $this, 'active_callback' ),
186
- )
187
- );
188
-
189
- // Test of TinyMCE control
190
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_email_content]',
191
- array(
192
- 'default' => $this->defaults['wcast_failure_email_content'],
193
- 'transport' => 'refresh',
194
- 'type' => 'option',
195
- 'sanitize_callback' => 'wp_kses_post'
196
- )
197
- );
198
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_failure_email_settings[wcast_failure_email_content]',
199
- array(
200
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
201
- 'description' => '',
202
- 'section' => 'trackship_shipment_status_email',
203
- 'input_attrs' => array(
204
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
205
- 'mediaButtons' => true,
206
- 'placeholder' => __( $this->defaults['wcast_failure_email_content'], 'woo-advanced-shipment-tracking' ),
207
- ),
208
- 'active_callback' => array( $this, 'active_callback' ),
209
- )
210
- ) );
211
-
212
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_email_code_block]',
213
- array(
214
- 'default' => $this->defaults['wcast_failure_email_code_block'],
215
- 'transport' => 'postMessage',
216
- 'type' => 'option',
217
- 'sanitize_callback' => ''
218
- )
219
- );
220
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_settings[wcast_failure_email_code_block]',
221
- array(
222
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
223
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
224
- 'section' => 'trackship_shipment_status_email',
225
- 'active_callback' => array( $this, 'active_callback' ),
226
- )
227
- ) );
228
-
229
- // Display Shipment Provider image/thumbnail
230
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_show_order_details]',
231
- array(
232
- 'default' => $this->defaults['wcast_failure_show_order_details'],
233
- 'transport' => 'refresh',
234
- 'type' => 'option',
235
- 'sanitize_callback' => ''
236
- )
237
- );
238
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_show_order_details]',
239
- array(
240
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
241
- 'description' => '',
242
- 'section' => 'trackship_shipment_status_email',
243
- 'type' => 'checkbox',
244
- 'active_callback' => array( $this, 'active_callback' ),
245
- )
246
- );
247
-
248
- // Display Shipment Provider image/thumbnail
249
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_hide_shipping_item_price]',
250
- array(
251
- 'default' => $this->defaults['wcast_failure_hide_shipping_item_price'],
252
- 'transport' => 'refresh',
253
- 'type' => 'option',
254
- 'sanitize_callback' => ''
255
- )
256
- );
257
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_hide_shipping_item_price]',
258
- array(
259
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
260
- 'description' => '',
261
- 'section' => 'trackship_shipment_status_email',
262
- 'type' => 'checkbox',
263
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
264
- )
265
- );
266
-
267
- // Display Shipment Provider image/thumbnail
268
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_show_shipping_address]',
269
- array(
270
- 'default' => $this->defaults['wcast_failure_show_shipping_address'],
271
- 'transport' => 'refresh',
272
- 'type' => 'option',
273
- 'sanitize_callback' => ''
274
- )
275
- );
276
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_show_shipping_address]',
277
- array(
278
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
279
- 'description' => '',
280
- 'section' => 'trackship_shipment_status_email',
281
- 'type' => 'checkbox',
282
- 'active_callback' => array( $this, 'active_callback' ),
283
- )
284
- );
285
-
286
- $wp_customize->add_setting( 'wcast_failure_email_settings[wcast_failure_analytics_link]',
287
- array(
288
- 'default' => '',
289
- 'transport' => 'refresh',
290
- 'type' => 'option',
291
- 'sanitize_callback' => ''
292
- )
293
- );
294
- $wp_customize->add_control( 'wcast_failure_email_settings[wcast_failure_analytics_link]',
295
- array(
296
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
297
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
298
- 'section' => 'trackship_shipment_status_email',
299
- 'type' => 'text',
300
- 'input_attrs' => array(
301
- 'class' => '',
302
- 'style' => '',
303
- 'placeholder' => '',
304
- ),
305
- 'active_callback' => array( $this, 'active_callback' ),
306
- )
307
- );
308
- }
309
-
310
- public function active_callback() {
311
- return ( $this->is_own_preview_request() ) ? true : false ;
312
- }
313
-
314
- public function active_callback_only_show_order_details() {
315
-
316
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
317
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_show_order_details', $this->defaults['wcast_failure_show_order_details'] );
318
-
319
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
320
- }
321
-
322
- /**
323
- * Set up preview
324
- *
325
- * @return void
326
- */
327
- public function set_up_preview() {
328
-
329
- // Make sure this is own preview request.
330
- if ( ! $this->is_own_preview_request() ) {
331
- return;
332
- }
333
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/failure_preview.php';
334
- exit;
335
- }
336
-
337
- /**
338
- * Code for preview of failure email
339
- */
340
- public function preview_failure_email() {
341
-
342
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
343
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
344
-
345
- $email_heading = $ast->get_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_email_heading', $this->defaults['wcast_failure_email_heading'] );
346
-
347
- $email_content = $ast->get_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_email_content', $this->defaults['wcast_failure_email_content'] );
348
-
349
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_show_order_details', $this->defaults['wcast_failure_show_order_details'] );
350
-
351
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_hide_shipping_item_price', $this->defaults['wcast_failure_hide_shipping_item_price'] );
352
-
353
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_show_shipping_address', $this->defaults['wcast_failure_show_shipping_address'] );
354
-
355
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
356
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
357
- echo wp_kses_post( $content );
358
- return;
359
- }
360
-
361
- $order = wc_get_order( $preview_id );
362
-
363
- if ( !$order ) {
364
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
365
- echo wp_kses_post( $content );
366
- return;
367
- }
368
-
369
- // get the preview email subject
370
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
371
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
372
-
373
- $wcast_failure_analytics_link = $ast->get_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_analytics_link', '' );
374
- if ( $wcast_failure_analytics_link ) {
375
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
376
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
377
- }
378
-
379
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
380
-
381
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'failure' );
382
-
383
- if ( $wcast_show_order_details ) {
384
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
385
- }
386
-
387
- if ( $wcast_show_shipping_address ) {
388
- $message .= $ast->order_shipping_details_template( $order );
389
- }
390
-
391
- $mailer = WC()->mailer();
392
- // create a new email
393
- $email = new WC_Email();
394
-
395
- // wrap the content with the email template and then add styles
396
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
397
- }
398
-
399
- /**
400
- * Code for append analytics link in email content
401
- */
402
- public function _appendCampaignToString( $match ) {
403
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
404
- $wcast_failure_analytics_link = $ast->get_option_value_from_array( 'wcast_failure_email_settings', 'wcast_failure_analytics_link', '' );
405
-
406
- $url = $match[2];
407
- if (strpos($url, '?') === false) {
408
- $url .= '?';
409
- }
410
- $url .= $wcast_failure_analytics_link;
411
- return $match[1] . $url . $match[3];
412
- }
413
- }
414
- /**
415
- * Initialise our Customizer settings
416
- */
417
-
418
- $wcast_failure_customizer_email = new Wcast_Failure_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-intransit-email-customizer.php DELETED
@@ -1,492 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Intransit_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
- }
50
-
51
- /**
52
- * Checks to see if we are opening our custom customizer preview
53
- *
54
- * @return bool
55
- */
56
- public function is_own_preview_request() {
57
- return isset( $_REQUEST['wcast-intransit-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-intransit-email-customizer-preview'];
58
- }
59
-
60
- /**
61
- * Checks to see if we are opening our custom customizer controls
62
- *
63
- * @return bool
64
- */
65
- public function is_own_customizer_request() {
66
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
67
- }
68
-
69
- /**
70
- * Get Customizer URL
71
- *
72
- */
73
- public function get_customizer_url( $email, $shipment_status, $return_tab ) {
74
- $preview_status = str_replace( '_', '', $shipment_status );
75
- return add_query_arg( array(
76
- 'trackship-customizer' => '1',
77
- 'email' => $email,
78
- 'shipment_status' => $shipment_status,
79
- 'autofocus[section]' => 'trackship_shipment_status_email',
80
- 'url' => urlencode( add_query_arg( array( 'wcast-' . $preview_status . '-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
81
- 'return' => urlencode( $this->get_email_settings_page_url($return_tab) ),
82
- ), admin_url( 'customize.php' ) );
83
- }
84
-
85
- /**
86
- * Get WooCommerce email settings page URL
87
- *
88
- * @return string
89
- */
90
- public function get_email_settings_page_url( $return_tab ) {
91
- return admin_url( 'admin.php?page=trackship-for-woocommerce&tab=' . $return_tab );
92
- }
93
-
94
- /**
95
- * Code for initialize default value for customizer
96
- */
97
- public function wcast_generate_defaults() {
98
- $customizer_defaults = array(
99
- 'wcast_intransit_email_subject' => __( 'Your order #{order_number} is in transit', 'woo-advanced-shipment-tracking' ),
100
- 'wcast_intransit_email_heading' => __( 'In Transit', 'woo-advanced-shipment-tracking' ),
101
- 'wcast_intransit_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is in transit", 'woo-advanced-shipment-tracking' ),
102
- 'wcast_enable_intransit_email' => '',
103
- 'wcast_intransit_email_to' => '{customer_email}',
104
- 'wcast_intransit_show_order_details' => 1,
105
- 'wcast_intransit_hide_shipping_item_price' => 1,
106
- 'wcast_intransit_show_shipping_address' => 1,
107
- 'wcast_intransit_email_code_block' => '',
108
- );
109
-
110
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
111
- }
112
-
113
- /**
114
- * Register our sample default controls
115
- */
116
- public function wcast_register_sample_default_controls( $wp_customize ) {
117
- /**
118
- * Load all our Customizer Custom Controls
119
- */
120
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
121
-
122
- // Preview Order
123
- $wp_customize->add_setting( 'wcast_intransit_email_preview_order_id',
124
- array(
125
- 'default' => 'mockup',
126
- 'transport' => 'refresh',
127
- 'sanitize_callback' => ''
128
- )
129
- );
130
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_intransit_email_preview_order_id',
131
- array(
132
- 'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
133
- 'description' => '',
134
- 'section' => 'trackship_shipment_status_email',
135
- 'input_attrs' => array(
136
- 'placeholder' => __( 'Please select a order...', 'skyrocket' ),
137
- 'class' => 'preview_order_select',
138
- ),
139
- 'choices' => wcast_customizer()->get_order_ids(),
140
- )
141
- ) );
142
-
143
- // Preview Order
144
- $wp_customize->add_setting( 'wcast_shipment_status_type',
145
- array(
146
- 'default' => 'mockup',
147
- 'transport' => 'refresh',
148
- 'sanitize_callback' => '',
149
- 'type' => 'option',
150
- )
151
- );
152
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_shipment_status_type',
153
- array(
154
- 'label' => __( 'Shipment Status', 'woo-advanced-shipment-tracking' ),
155
- 'description' => '',
156
- 'section' => 'trackship_shipment_status_email',
157
- 'input_attrs' => array(
158
- 'placeholder' => __( 'Select shipment status', 'woo-advanced-shipment-tracking' ),
159
- 'class' => 'preview_shipment_status_type',
160
- ),
161
- 'choices' => array(
162
- 'in_transit' => __( 'In Transit', 'woo-advanced-shipment-tracking' ),
163
- 'on_hold' => __( 'On Hold', 'woo-advanced-shipment-tracking' ),
164
- 'return_to_sender' => __( 'Return To Sender', 'woo-advanced-shipment-tracking' ),
165
- 'available_for_pickup' => __( 'Available For Pickup', 'woo-advanced-shipment-tracking' ),
166
- 'out_for_delivery' => __( 'Out For Delivery', 'woo-advanced-shipment-tracking' ),
167
- 'delivered' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
168
- 'failure' => __( 'Failed Attempt', 'woo-advanced-shipment-tracking' ),
169
- 'exception' => __( 'Exception', 'woo-advanced-shipment-tracking' ),
170
- ),
171
- )
172
- ) );
173
-
174
- // Display Shipment Provider image/thumbnail
175
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_enable_intransit_email]',
176
- array(
177
- 'default' => $this->defaults['wcast_enable_intransit_email'],
178
- 'transport' => 'postMessage',
179
- 'type' => 'option',
180
- 'sanitize_callback' => ''
181
- )
182
- );
183
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_enable_intransit_email]',
184
- array(
185
- 'label' => __( 'Enable In Transit email', 'woo-advanced-shipment-tracking' ),
186
- 'description' => '',
187
- 'section' => 'trackship_shipment_status_email',
188
- 'type' => 'checkbox',
189
- 'active_callback' => array( $this, 'active_callback' ),
190
- )
191
- );
192
-
193
- // Header Text
194
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_email_to]',
195
- array(
196
- 'default' => $this->defaults['wcast_intransit_email_to'],
197
- 'transport' => 'postMessage',
198
- 'type' => 'option',
199
- 'sanitize_callback' => ''
200
- )
201
- );
202
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_email_to]',
203
- array(
204
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
205
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses', 'woocommerce' ),
206
- 'section' => 'trackship_shipment_status_email',
207
- 'type' => 'text',
208
- 'input_attrs' => array(
209
- 'class' => '',
210
- 'style' => '',
211
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
212
- ),
213
- 'active_callback' => array( $this, 'active_callback' ),
214
- )
215
- );
216
-
217
- // Header Text
218
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_email_subject]',
219
- array(
220
- 'default' => $this->defaults['wcast_intransit_email_subject'],
221
- 'transport' => 'postMessage',
222
- 'type' => 'option',
223
- 'sanitize_callback' => ''
224
- )
225
- );
226
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_email_subject]',
227
- array(
228
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
229
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
230
- 'section' => 'trackship_shipment_status_email',
231
- 'type' => 'text',
232
- 'input_attrs' => array(
233
- 'class' => '',
234
- 'style' => '',
235
- 'placeholder' => __( $this->defaults['wcast_intransit_email_subject'], 'woo-advanced-shipment-tracking' ),
236
- ),
237
- 'active_callback' => array( $this, 'active_callback' ),
238
- )
239
- );
240
-
241
- // Header Text
242
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_email_heading]',
243
- array(
244
- 'default' => $this->defaults['wcast_intransit_email_heading'],
245
- 'transport' => 'refresh',
246
- 'type' => 'option',
247
- 'sanitize_callback' => ''
248
- )
249
- );
250
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_email_heading]',
251
- array(
252
- 'label' => __( 'Email heading', 'woocommerce' ),
253
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
254
- 'section' => 'trackship_shipment_status_email',
255
- 'type' => 'text',
256
- 'input_attrs' => array(
257
- 'class' => '',
258
- 'style' => '',
259
- 'placeholder' => __( $this->defaults['wcast_intransit_email_heading'], 'woo-advanced-shipment-tracking' ),
260
- ),
261
- 'active_callback' => array( $this, 'active_callback' ),
262
- )
263
- );
264
-
265
- // Test of TinyMCE control
266
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_email_content]',
267
- array(
268
- 'default' => $this->defaults['wcast_intransit_email_content'],
269
- 'transport' => 'refresh',
270
- 'type' => 'option',
271
- 'sanitize_callback' => 'wp_kses_post'
272
- )
273
- );
274
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_intransit_email_settings[wcast_intransit_email_content]',
275
- array(
276
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
277
- 'description' => '',
278
- 'section' => 'trackship_shipment_status_email',
279
- 'input_attrs' => array(
280
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
281
- 'mediaButtons' => true,
282
- 'placeholder' => __( $this->defaults['wcast_intransit_email_content'], 'woo-advanced-shipment-tracking' ),
283
- ),
284
- 'active_callback' => array( $this, 'active_callback' ),
285
- )
286
- ) );
287
-
288
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_email_code_block]',
289
- array(
290
- 'default' => $this->defaults['wcast_intransit_email_code_block'],
291
- 'transport' => 'postMessage',
292
- 'type' => 'option',
293
- 'sanitize_callback' => ''
294
- )
295
- );
296
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_settings[wcast_intransit_email_code_block]',
297
- array(
298
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
299
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
300
- 'section' => 'trackship_shipment_status_email',
301
- 'active_callback' => array( $this, 'active_callback' ),
302
- )
303
- ) );
304
-
305
- // Display Shipment Provider image/thumbnail
306
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_show_order_details]',
307
- array(
308
- 'default' => $this->defaults['wcast_intransit_show_order_details'],
309
- 'transport' => 'refresh',
310
- 'type' => 'option',
311
- 'sanitize_callback' => ''
312
- )
313
- );
314
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_show_order_details]',
315
- array(
316
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
317
- 'description' => '',
318
- 'section' => 'trackship_shipment_status_email',
319
- 'type' => 'checkbox',
320
- 'active_callback' => array( $this, 'active_callback' ),
321
- )
322
- );
323
-
324
- // Display Shipment Provider image/thumbnail
325
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_hide_shipping_item_price]',
326
- array(
327
- 'default' => $this->defaults['wcast_intransit_hide_shipping_item_price'],
328
- 'transport' => 'refresh',
329
- 'type' => 'option',
330
- 'sanitize_callback' => ''
331
- )
332
- );
333
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_hide_shipping_item_price]',
334
- array(
335
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
336
- 'description' => '',
337
- 'section' => 'trackship_shipment_status_email',
338
- 'type' => 'checkbox',
339
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
340
- )
341
- );
342
-
343
- // Display Shipment Provider image/thumbnail
344
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_show_shipping_address]',
345
- array(
346
- 'default' => $this->defaults['wcast_intransit_show_shipping_address'],
347
- 'transport' => 'refresh',
348
- 'type' => 'option',
349
- 'sanitize_callback' => ''
350
- )
351
- );
352
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_show_shipping_address]',
353
- array(
354
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
355
- 'description' => '',
356
- 'section' => 'trackship_shipment_status_email',
357
- 'type' => 'checkbox',
358
- 'active_callback' => array( $this, 'active_callback' ),
359
- )
360
- );
361
-
362
- $wp_customize->add_setting( 'wcast_intransit_email_settings[wcast_intransit_analytics_link]',
363
- array(
364
- 'default' => '',
365
- 'transport' => 'refresh',
366
- 'type' => 'option',
367
- 'sanitize_callback' => ''
368
- )
369
- );
370
- $wp_customize->add_control( 'wcast_intransit_email_settings[wcast_intransit_analytics_link]',
371
- array(
372
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
373
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
374
- 'section' => 'trackship_shipment_status_email',
375
- 'type' => 'text',
376
- 'input_attrs' => array(
377
- 'class' => '',
378
- 'style' => '',
379
- 'placeholder' => '',
380
- ),
381
- 'active_callback' => array( $this, 'active_callback' ),
382
- )
383
- );
384
- }
385
-
386
- public function active_callback() {
387
- return ( $this->is_own_preview_request() ) ? true : false ;
388
- }
389
-
390
- public function active_callback_only_show_order_details() {
391
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
392
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_show_order_details', $this->defaults['wcast_intransit_show_order_details'] );
393
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
394
- }
395
-
396
- /**
397
- * Set up preview
398
- *
399
- * @return void
400
- */
401
- public function set_up_preview() {
402
- // Make sure this is own preview request.
403
- if ( ! $this->is_own_preview_request() ) {
404
- return;
405
- }
406
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/intransit_preview.php';
407
- exit;
408
- }
409
-
410
- /**
411
- * Code for preview of in transit email
412
- */
413
- public function preview_intransit_email() {
414
-
415
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
416
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
417
-
418
- $email_heading = $ast->get_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_email_heading', $this->defaults['wcast_intransit_email_heading'] );
419
-
420
- $email_content = $ast->get_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_email_content', $this->defaults['wcast_intransit_email_content'] );
421
-
422
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_show_order_details', $this->defaults['wcast_intransit_show_order_details'] );
423
-
424
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_hide_shipping_item_price', $this->defaults['wcast_intransit_hide_shipping_item_price'] );
425
-
426
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_show_shipping_address', $this->defaults['wcast_intransit_show_shipping_address'] );
427
-
428
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
429
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
430
- echo wp_kses_post( $content );
431
- return;
432
- }
433
-
434
- $order = wc_get_order( $preview_id );
435
-
436
- if ( !$order ) {
437
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
438
- echo wp_kses_post( $content );
439
- return;
440
- }
441
-
442
- // get the preview email subject
443
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
444
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
445
-
446
- $wcast_intransit_analytics_link = $ast->get_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_analytics_link', '' );
447
-
448
- if ( $wcast_intransit_analytics_link ) {
449
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
450
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
451
- }
452
-
453
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
454
-
455
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'in_transit' );
456
-
457
- if ( $wcast_show_order_details ) {
458
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
459
- }
460
-
461
- if ( $wcast_show_shipping_address ) {
462
- $message .= $ast->order_shipping_details_template( $order );
463
- }
464
-
465
- $mailer = WC()->mailer();
466
- // create a new email
467
- $email = new WC_Email();
468
-
469
- // wrap the content with the email template and then add styles
470
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
471
- }
472
-
473
- /**
474
- * Code for append analytics link in email content
475
- */
476
- public function _appendCampaignToString( $match ) {
477
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
478
- $wcast_intransit_analytics_link = $ast->get_option_value_from_array( 'wcast_intransit_email_settings', 'wcast_intransit_analytics_link', '' );
479
-
480
- $url = $match[2];
481
- if (strpos($url, '?') === false) {
482
- $url .= '?';
483
- }
484
- $url .= $wcast_intransit_analytics_link;
485
- return $match[1] . $url . $match[3];
486
- }
487
- }
488
- /**
489
- * Initialise our Customizer settings
490
- */
491
-
492
- $wcast_intransit_customizer_email = new Wcast_Intransit_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-late-shipments-email-customizer.php DELETED
@@ -1,48 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Late_Shipments_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- }
22
-
23
- /**
24
- * Code for initialize default value for customizer
25
- */
26
- public function wcast_generate_defaults() {
27
- $customizer_defaults = array(
28
- 'wcast_late_shipments_email_subject' => __( 'Late shipment for order #{order_number}', 'woo-advanced-shipment-tracking' ),
29
- 'wcast_late_shipments_email_heading' => __( 'Late shipment', 'woo-advanced-shipment-tracking' ),
30
- 'wcast_late_shipments_email_content' => __( 'This order was shipped {shipment_length} days ago, the shipment status is {shipment_status} and its est. delivery date is {est_delivery_date}.', 'woo-advanced-shipment-tracking' ),
31
- 'wcast_enable_late_shipments_admin_email' => '',
32
- 'wcast_late_shipments_days' => '7',
33
- 'wcast_late_shipments_email_to' => '{admin_email}',
34
- 'wcast_late_shipments_show_tracking_details' => '',
35
- 'wcast_late_shipments_show_order_details' => '',
36
- 'wcast_late_shipments_show_billing_address' => '',
37
- 'wcast_late_shipments_show_shipping_address' => '',
38
- 'wcast_late_shipments_email_code_block' => '',
39
- );
40
-
41
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
42
- }
43
- }
44
- /**
45
- * Initialise our Customizer settings
46
- */
47
-
48
- $wcast_late_shipments_settings = new Wcast_Late_Shipments_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-onhold-email-customizer.php DELETED
@@ -1,414 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Onhold_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
- }
50
-
51
- /**
52
- * Checks to see if we are opening our custom customizer preview
53
- *
54
- * @return bool
55
- */
56
- public function is_own_preview_request() {
57
- return isset( $_REQUEST['wcast-onhold-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-onhold-email-customizer-preview'];
58
- }
59
-
60
- /**
61
- * Checks to see if we are opening our custom customizer controls
62
- *
63
- * @return bool
64
- */
65
- public function is_own_customizer_request() {
66
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
67
- }
68
-
69
- /**
70
- * Code for initialize default value for customizer
71
- */
72
- public function wcast_generate_defaults() {
73
- $customizer_defaults = array(
74
- 'wcast_onhold_email_subject' => __( 'Your order #{order_number} is on hold', 'woo-advanced-shipment-tracking' ),
75
- 'wcast_onhold_email_heading' => __( 'On Hold', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_onhold_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is on hold", 'woo-advanced-shipment-tracking' ),
77
- 'wcast_enable_onhold_email' => '',
78
- 'wcast_onhold_email_to' => '{customer_email}',
79
- 'wcast_onhold_show_tracking_details' => '',
80
- 'wcast_onhold_show_order_details' => 1,
81
- 'wcast_onhold_hide_shipping_item_price' => 1,
82
- 'wcast_onhold_show_shipping_address' => 1,
83
- 'wcast_onhold_email_code_block' => '',
84
- );
85
-
86
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
87
- }
88
-
89
- /**
90
- * Register our sample default controls
91
- */
92
- public function wcast_register_sample_default_controls( $wp_customize ) {
93
- /**
94
- * Load all our Customizer Custom Controls
95
- */
96
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
97
-
98
- // Display Shipment Provider image/thumbnail
99
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_enable_onhold_email]',
100
- array(
101
- 'default' => $this->defaults['wcast_enable_onhold_email'],
102
- 'transport' => 'postMessage',
103
- 'type' => 'option',
104
- 'sanitize_callback' => ''
105
- )
106
- );
107
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_enable_onhold_email]',
108
- array(
109
- 'label' => __( 'Enable On Hold email', 'woo-advanced-shipment-tracking' ),
110
- 'description' => '',
111
- 'section' => 'trackship_shipment_status_email',
112
- 'type' => 'checkbox',
113
- 'active_callback' => array( $this, 'active_callback' ),
114
- )
115
- );
116
-
117
- // Header Text
118
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_email_to]',
119
- array(
120
- 'default' => $this->defaults['wcast_onhold_email_to'],
121
- 'transport' => 'postMessage',
122
- 'type' => 'option',
123
- 'sanitize_callback' => ''
124
- )
125
- );
126
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_email_to]',
127
- array(
128
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
129
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses.', 'woocommerce' ),
130
- 'section' => 'trackship_shipment_status_email',
131
- 'type' => 'text',
132
- 'input_attrs' => array(
133
- 'class' => '',
134
- 'style' => '',
135
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
136
- ),
137
- 'active_callback' => array( $this, 'active_callback' ),
138
- )
139
- );
140
-
141
- // Header Text
142
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_email_subject]',
143
- array(
144
- 'default' => $this->defaults['wcast_onhold_email_subject'],
145
- 'transport' => 'postMessage',
146
- 'type' => 'option',
147
- 'sanitize_callback' => ''
148
- )
149
- );
150
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_email_subject]',
151
- array(
152
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
153
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
154
- 'section' => 'trackship_shipment_status_email',
155
- 'type' => 'text',
156
- 'input_attrs' => array(
157
- 'class' => '',
158
- 'style' => '',
159
- 'placeholder' => __( $this->defaults['wcast_onhold_email_subject'], 'woo-advanced-shipment-tracking' ),
160
- ),
161
- 'active_callback' => array( $this, 'active_callback' ),
162
- )
163
- );
164
-
165
- // Header Text
166
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_email_heading]',
167
- array(
168
- 'default' => $this->defaults['wcast_onhold_email_heading'],
169
- 'transport' => 'refresh',
170
- 'type' => 'option',
171
- 'sanitize_callback' => ''
172
- )
173
- );
174
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_email_heading]',
175
- array(
176
- 'label' => __( 'Email heading', 'woocommerce' ),
177
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
178
- 'section' => 'trackship_shipment_status_email',
179
- 'type' => 'text',
180
- 'input_attrs' => array(
181
- 'class' => '',
182
- 'style' => '',
183
- 'placeholder' => __( $this->defaults['wcast_onhold_email_heading'], 'woo-advanced-shipment-tracking' ),
184
- ),
185
- 'active_callback' => array( $this, 'active_callback' ),
186
- )
187
- );
188
-
189
- // Test of TinyMCE control
190
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_email_content]',
191
- array(
192
- 'default' => $this->defaults['wcast_onhold_email_content'],
193
- 'transport' => 'refresh',
194
- 'type' => 'option',
195
- 'sanitize_callback' => 'wp_kses_post'
196
- )
197
- );
198
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_onhold_email_settings[wcast_onhold_email_content]',
199
- array(
200
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
201
- 'description' => '',
202
- 'section' => 'trackship_shipment_status_email',
203
- 'input_attrs' => array(
204
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
205
- 'mediaButtons' => true,
206
- 'placeholder' => __( $this->defaults['wcast_onhold_email_content'], 'woo-advanced-shipment-tracking' ),
207
- ),
208
- 'active_callback' => array( $this, 'active_callback' ),
209
- )
210
- ) );
211
-
212
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_email_code_block]',
213
- array(
214
- 'default' => $this->defaults['wcast_onhold_email_code_block'],
215
- 'transport' => 'postMessage',
216
- 'type' => 'option',
217
- 'sanitize_callback' => ''
218
- )
219
- );
220
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_onhold_email_settings[wcast_onhold_email_code_block]',
221
- array(
222
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
223
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
224
- 'section' => 'trackship_shipment_status_email',
225
- 'active_callback' => array( $this, 'active_callback' ),
226
- )
227
- ) );
228
-
229
- // Display Shipment Provider image/thumbnail
230
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_show_order_details]',
231
- array(
232
- 'default' => $this->defaults['wcast_onhold_show_order_details'],
233
- 'transport' => 'refresh',
234
- 'type' => 'option',
235
- 'sanitize_callback' => ''
236
- )
237
- );
238
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_show_order_details]',
239
- array(
240
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
241
- 'description' => '',
242
- 'section' => 'trackship_shipment_status_email',
243
- 'type' => 'checkbox',
244
- 'active_callback' => array( $this, 'active_callback' ),
245
- )
246
- );
247
-
248
- // Display Shipment Provider image/thumbnail
249
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_hide_shipping_item_price]',
250
- array(
251
- 'default' => $this->defaults['wcast_onhold_hide_shipping_item_price'],
252
- 'transport' => 'refresh',
253
- 'type' => 'option',
254
- 'sanitize_callback' => ''
255
- )
256
- );
257
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_hide_shipping_item_price]',
258
- array(
259
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
260
- 'description' => '',
261
- 'section' => 'trackship_shipment_status_email',
262
- 'type' => 'checkbox',
263
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
264
- )
265
- );
266
-
267
- // Display Shipment Provider image/thumbnail
268
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_show_shipping_address]',
269
- array(
270
- 'default' => $this->defaults['wcast_onhold_show_shipping_address'],
271
- 'transport' => 'refresh',
272
- 'type' => 'option',
273
- 'sanitize_callback' => ''
274
- )
275
- );
276
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_show_shipping_address]',
277
- array(
278
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
279
- 'description' => '',
280
- 'section' => 'trackship_shipment_status_email',
281
- 'type' => 'checkbox',
282
- 'active_callback' => array( $this, 'active_callback' ),
283
- )
284
- );
285
-
286
- $wp_customize->add_setting( 'wcast_onhold_email_settings[wcast_onhold_analytics_link]',
287
- array(
288
- 'default' => '',
289
- 'transport' => 'refresh',
290
- 'type' => 'option',
291
- 'sanitize_callback' => ''
292
- )
293
- );
294
- $wp_customize->add_control( 'wcast_onhold_email_settings[wcast_onhold_analytics_link]',
295
- array(
296
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
297
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
298
- 'section' => 'trackship_shipment_status_email',
299
- 'type' => 'text',
300
- 'input_attrs' => array(
301
- 'class' => '',
302
- 'style' => '',
303
- 'placeholder' => '',
304
- ),
305
- 'active_callback' => array( $this, 'active_callback' ),
306
- )
307
- );
308
- }
309
-
310
- public function active_callback() {
311
- return ( $this->is_own_preview_request() ) ? true : false ;
312
- }
313
-
314
- public function active_callback_only_show_order_details() {
315
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
316
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_show_order_details', $this->defaults['wcast_onhold_show_order_details'] );
317
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
318
- }
319
- /**
320
- * Set up preview
321
- *
322
- * @return void
323
- */
324
- public function set_up_preview() {
325
- // Make sure this is own preview request.
326
- if ( ! $this->is_own_preview_request() ) {
327
- return;
328
- }
329
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/onhold_preview.php';
330
- exit;
331
- }
332
-
333
- /**
334
- * Code for preview of in transit email
335
- */
336
- public function preview_onhold_email() {
337
-
338
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
339
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
340
-
341
- $email_heading = $ast->get_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_email_heading', $this->defaults['wcast_onhold_email_heading'] );
342
-
343
- $email_content = $ast->get_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_email_content', $this->defaults['wcast_onhold_email_content'] );
344
-
345
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_show_order_details', $this->defaults['wcast_onhold_show_order_details'] );
346
-
347
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_hide_shipping_item_price', $this->defaults['wcast_onhold_hide_shipping_item_price'] );
348
-
349
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_show_shipping_address', $this->defaults['wcast_onhold_show_shipping_address'] );
350
-
351
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
352
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
353
- echo wp_kses_post( $content );
354
- return;
355
- }
356
-
357
- $order = wc_get_order( $preview_id );
358
-
359
- if ( !$order ) {
360
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
361
- echo wp_kses_post( $content );
362
- return;
363
- }
364
-
365
- // get the preview email subject
366
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
367
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
368
-
369
- $wcast_onhold_analytics_link = $ast->get_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_analytics_link', '' );
370
-
371
- if ( $wcast_onhold_analytics_link ) {
372
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
373
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
374
- }
375
-
376
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
377
-
378
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'on_hold' );
379
-
380
- if ( $wcast_show_order_details ) {
381
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
382
- }
383
-
384
- if ( $wcast_show_shipping_address ) {
385
- $message .= $ast->order_shipping_details_template( $order );
386
- }
387
-
388
- $mailer = WC()->mailer();
389
- // create a new email
390
- $email = new WC_Email();
391
-
392
- // wrap the content with the email template and then add styles
393
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
394
- }
395
-
396
- /**
397
- * Code for append analytics link in email content
398
- */
399
- public function _appendCampaignToString( $match ) {
400
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
401
- $wcast_onhold_analytics_link = $ast->get_option_value_from_array( 'wcast_onhold_email_settings', 'wcast_onhold_analytics_link', '' );
402
-
403
- $url = $match[2];
404
- if (strpos($url, '?') === false) {
405
- $url .= '?';
406
- }
407
- $url .= $wcast_onhold_analytics_link;
408
- return $match[1] . $url . $match[3];
409
- }
410
- }
411
- /**
412
- * Initialise our Customizer settings
413
- */
414
- new Wcast_Onhold_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-outfordelivery-email-customizer.php DELETED
@@ -1,409 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Outfordelivery_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
- }
50
-
51
- /**
52
- * Checks to see if we are opening our custom customizer preview
53
- *
54
- * @return bool
55
- */
56
- public function is_own_preview_request() {
57
- return isset( $_REQUEST['wcast-outfordelivery-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-outfordelivery-email-customizer-preview'];
58
- }
59
-
60
- /**
61
- * Checks to see if we are opening our custom customizer controls
62
- *
63
- * @return bool
64
- */
65
- public function is_own_customizer_request() {
66
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
67
- }
68
-
69
- /**
70
- * Code for initialize default value for customizer
71
- */
72
- public function wcast_generate_defaults() {
73
- $customizer_defaults = array(
74
- 'wcast_outfordelivery_email_subject' => __( 'Your order #{order_number} is out for delivery', 'woo-advanced-shipment-tracking' ),
75
- 'wcast_outfordelivery_email_heading' => __( 'Out For Delivery', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_outfordelivery_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} is out for delivery.", 'woo-advanced-shipment-tracking' ),'wcast_enable_outfordelivery_email' => '',
77
- 'wcast_outfordelivery_email_to' => '{customer_email}',
78
- 'wcast_outfordelivery_show_tracking_details' => '',
79
- 'wcast_outfordelivery_show_order_details' => 1,
80
- 'wcast_outfordelivery_hide_shipping_item_price' => 1,
81
- 'wcast_outfordelivery_show_shipping_address' => 1,
82
- 'wcast_outfordelivery_email_code_block' => '',
83
- );
84
-
85
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
86
- }
87
-
88
- /**
89
- * Register our sample default controls
90
- */
91
- public function wcast_register_sample_default_controls( $wp_customize ) {
92
- /**
93
- * Load all our Customizer Custom Controls
94
- */
95
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
96
-
97
- // Display Shipment Provider image/thumbnail
98
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_enable_outfordelivery_email]',
99
- array(
100
- 'default' => $this->defaults['wcast_enable_outfordelivery_email'],
101
- 'transport' => 'postMessage',
102
- 'type' => 'option',
103
- 'sanitize_callback' => ''
104
- )
105
- );
106
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_enable_outfordelivery_email]',
107
- array(
108
- 'label' => __( 'Enable Out For Delivery email', 'woo-advanced-shipment-tracking' ),
109
- 'description' => '',
110
- 'section' => 'trackship_shipment_status_email',
111
- 'type' => 'checkbox',
112
- 'active_callback' => array( $this, 'active_callback' ),
113
- )
114
- );
115
-
116
- // Header Text
117
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_to]',
118
- array(
119
- 'default' => $this->defaults['wcast_outfordelivery_email_to'],
120
- 'transport' => 'postMessage',
121
- 'type' => 'option',
122
- 'sanitize_callback' => ''
123
- )
124
- );
125
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_to]',
126
- array(
127
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
128
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses', 'woocommerce' ),
129
- 'section' => 'trackship_shipment_status_email',
130
- 'type' => 'text',
131
- 'input_attrs' => array(
132
- 'class' => '',
133
- 'style' => '',
134
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
135
- ),
136
- 'active_callback' => array( $this, 'active_callback' ),
137
- )
138
- );
139
-
140
- // Header Text
141
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_subject]',
142
- array(
143
- 'default' => $this->defaults['wcast_outfordelivery_email_subject'],
144
- 'transport' => 'postMessage',
145
- 'type' => 'option',
146
- 'sanitize_callback' => ''
147
- )
148
- );
149
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_subject]',
150
- array(
151
- 'label' => __( 'Email Subject', 'woo-advanced-shipment-tracking' ),
152
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
153
- 'section' => 'trackship_shipment_status_email',
154
- 'type' => 'text',
155
- 'input_attrs' => array(
156
- 'class' => '',
157
- 'style' => '',
158
- 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_subject'], 'woo-advanced-shipment-tracking' ),
159
- ),
160
- 'active_callback' => array( $this, 'active_callback' ),
161
- )
162
- );
163
-
164
- // Header Text
165
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_heading]',
166
- array(
167
- 'default' => $this->defaults['wcast_outfordelivery_email_heading'],
168
- 'transport' => 'refresh',
169
- 'type' => 'option',
170
- 'sanitize_callback' => ''
171
- )
172
- );
173
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_heading]',
174
- array(
175
- 'label' => __( 'Email heading', 'woocommerce' ),
176
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
177
- 'section' => 'trackship_shipment_status_email',
178
- 'type' => 'text',
179
- 'input_attrs' => array(
180
- 'class' => '',
181
- 'style' => '',
182
- 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_heading'], 'woo-advanced-shipment-tracking' ),
183
- ),
184
- 'active_callback' => array( $this, 'active_callback' ),
185
- )
186
- );
187
-
188
- // Test of TinyMCE control
189
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_content]',
190
- array(
191
- 'default' => $this->defaults['wcast_outfordelivery_email_content'],
192
- 'transport' => 'refresh',
193
- 'type' => 'option',
194
- 'sanitize_callback' => 'wp_kses_post'
195
- )
196
- );
197
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_content]',
198
- array(
199
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
200
- 'description' => '',
201
- 'section' => 'trackship_shipment_status_email',
202
- 'input_attrs' => array(
203
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
204
- 'mediaButtons' => true,
205
- 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_content'], 'woo-advanced-shipment-tracking' ),
206
- ),
207
- 'active_callback' => array( $this, 'active_callback' ),
208
- )
209
- ) );
210
-
211
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_code_block]',
212
- array(
213
- 'default' => $this->defaults['wcast_outfordelivery_email_code_block'],
214
- 'transport' => 'postMessage',
215
- 'type' => 'option',
216
- 'sanitize_callback' => ''
217
- )
218
- );
219
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_settings[wcast_outfordelivery_email_code_block]',
220
- array(
221
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
222
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
223
- 'section' => 'trackship_shipment_status_email',
224
- 'active_callback' => array( $this, 'active_callback' ),
225
- )
226
- ) );
227
-
228
- // Display Shipment Provider image/thumbnail
229
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_show_order_details]',
230
- array(
231
- 'default' => $this->defaults['wcast_outfordelivery_show_order_details'],
232
- 'transport' => 'refresh',
233
- 'type' => 'option',
234
- 'sanitize_callback' => ''
235
- )
236
- );
237
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_show_order_details]',
238
- array(
239
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
240
- 'description' => '',
241
- 'section' => 'trackship_shipment_status_email',
242
- 'type' => 'checkbox',
243
- 'active_callback' => array( $this, 'active_callback' ),
244
- )
245
- );
246
-
247
- // Display Shipment Provider image/thumbnail
248
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_hide_shipping_item_price]',
249
- array(
250
- 'default' => $this->defaults['wcast_outfordelivery_hide_shipping_item_price'],
251
- 'transport' => 'refresh',
252
- 'type' => 'option',
253
- 'sanitize_callback' => ''
254
- )
255
- );
256
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_hide_shipping_item_price]',
257
- array(
258
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
259
- 'description' => '',
260
- 'section' => 'trackship_shipment_status_email',
261
- 'type' => 'checkbox',
262
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
263
- )
264
- );
265
-
266
- // Display Shipment Provider image/thumbnail
267
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_show_shipping_address]',
268
- array(
269
- 'default' => $this->defaults['wcast_outfordelivery_show_shipping_address'],
270
- 'transport' => 'refresh',
271
- 'type' => 'option',
272
- 'sanitize_callback' => ''
273
- )
274
- );
275
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_show_shipping_address]',
276
- array(
277
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
278
- 'description' => '',
279
- 'section' => 'trackship_shipment_status_email',
280
- 'type' => 'checkbox',
281
- 'active_callback' => array( $this, 'active_callback' ),
282
- )
283
- );
284
-
285
- $wp_customize->add_setting( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_analytics_link]',
286
- array(
287
- 'default' => '',
288
- 'transport' => 'refresh',
289
- 'type' => 'option',
290
- 'sanitize_callback' => ''
291
- )
292
- );
293
- $wp_customize->add_control( 'wcast_outfordelivery_email_settings[wcast_outfordelivery_analytics_link]',
294
- array(
295
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
296
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
297
- 'section' => 'trackship_shipment_status_email',
298
- 'type' => 'text',
299
- 'input_attrs' => array(
300
- 'class' => '',
301
- 'style' => '',
302
- 'placeholder' => '',
303
- ),
304
- 'active_callback' => array( $this, 'active_callback' ),
305
- )
306
- );
307
- }
308
-
309
- public function active_callback() {
310
- return ( $this->is_own_preview_request() ) ? true : false ;
311
- }
312
-
313
- public function active_callback_only_show_order_details() {
314
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
315
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_show_order_details', $this->defaults['wcast_outfordelivery_show_order_details'] );
316
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
317
- }
318
-
319
- /**
320
- * Set up preview
321
- *
322
- * @return void
323
- */
324
- public function set_up_preview() {
325
- // Make sure this is own preview request.
326
- if ( ! $this->is_own_preview_request() ) {
327
- return;
328
- }
329
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/outfordelivery_preview.php';
330
- exit;
331
- }
332
-
333
- /**
334
- * Code for preview of out for delivery email
335
- */
336
- public function preview_outfordelivery_email() {
337
-
338
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
339
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
340
-
341
- $email_heading = $ast->get_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_email_heading', $this->defaults['wcast_outfordelivery_email_heading'] );
342
- $email_content = $ast->get_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_email_content', $this->defaults['wcast_outfordelivery_email_content'] );
343
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_show_order_details', $this->defaults['wcast_outfordelivery_show_order_details'] );
344
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_hide_shipping_item_price', $this->defaults['wcast_outfordelivery_hide_shipping_item_price'] );
345
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_show_shipping_address', $this->defaults['wcast_outfordelivery_show_shipping_address'] );
346
-
347
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
348
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
349
- echo wp_kses_post( $content );
350
- return;
351
- }
352
-
353
- $order = wc_get_order( $preview_id );
354
-
355
- if ( !$order ) {
356
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
357
- echo wp_kses_post( $content );
358
- return;
359
- }
360
-
361
- // get the preview email subject
362
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
363
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
364
-
365
- $wcast_outfordelivery_analytics_link = $ast->get_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_analytics_link', '' );
366
- if ( $wcast_outfordelivery_analytics_link ) {
367
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
368
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
369
- }
370
-
371
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
372
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'out_for_delivery' );
373
-
374
- if ( $wcast_show_order_details ) {
375
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
376
- }
377
-
378
- if ( $wcast_show_shipping_address ) {
379
- $message .= $ast->order_shipping_details_template( $order );
380
- }
381
-
382
- $mailer = WC()->mailer();
383
- // create a new email
384
- $email = new WC_Email();
385
-
386
- // wrap the content with the email template and then add styles
387
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
388
- }
389
-
390
- /**
391
- * Code for append analytics link in email content
392
- */
393
- public function _appendCampaignToString( $match ) {
394
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
395
- $wcast_outfordelivery_analytics_link = $ast->get_option_value_from_array( 'wcast_outfordelivery_email_settings', 'wcast_outfordelivery_analytics_link', '' );
396
-
397
- $url = $match[2];
398
- if (strpos($url, '?') === false) {
399
- $url .= '?';
400
- }
401
- $url .= $wcast_outfordelivery_analytics_link;
402
- return $match[1] . $url . $match[3];
403
- }
404
- }
405
- /**
406
- * Initialise our Customizer settings
407
- */
408
-
409
- $wcast_outfordelivery_customizer_email = new Wcast_Outfordelivery_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-returntosender-email-customizer.php DELETED
@@ -1,413 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Wcast_Returntosender_Customizer_Email {
11
- // Get our default values
12
- public function __construct() {
13
- // Get our Customizer defaults
14
- $this->defaults = $this->wcast_generate_defaults();
15
-
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
- if ( !$wc_ast_api_key ) {
18
- return;
19
- }
20
-
21
- // Register our sample default controls
22
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
23
-
24
- // Only proceed if this is own request.
25
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
26
- return;
27
- }
28
-
29
- // Register our sections
30
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
31
-
32
- // Remove unrelated components.
33
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
34
-
35
- // Remove unrelated sections.
36
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
37
-
38
- // Unhook divi front end.
39
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
40
-
41
- // Unhook Flatsome js
42
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
43
-
44
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
45
-
46
- add_action( 'parse_request', array( $this, 'set_up_preview' ) );
47
-
48
- add_action( 'customize_preview_init', array( ts_customizer(), 'enqueue_preview_scripts' ) );
49
-
50
- }
51
-
52
- /**
53
- * Checks to see if we are opening our custom customizer preview
54
- *
55
- * @return bool
56
- */
57
- public function is_own_preview_request() {
58
- return isset( $_REQUEST['wcast-returntosender-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-returntosender-email-customizer-preview'];
59
- }
60
-
61
- /**
62
- * Checks to see if we are opening our custom customizer controls
63
- *
64
- * @return bool
65
- */
66
- public function is_own_customizer_request() {
67
- return isset( $_REQUEST['email'] ) && 'trackship_shipment_status_email' === $_REQUEST['email'];
68
- }
69
-
70
- /**
71
- * Code for initialize default value for customizer
72
- */
73
- public function wcast_generate_defaults() {
74
- $customizer_defaults = array(
75
- 'wcast_returntosender_email_subject' => __( 'Your order #{order_number} has returned to sender', 'woo-advanced-shipment-tracking' ),
76
- 'wcast_returntosender_email_heading' => __( 'Return To Sender', 'woo-advanced-shipment-tracking' ),
77
- 'wcast_returntosender_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been returned to sender.", 'woo-advanced-shipment-tracking' ),
78
- 'wcast_enable_returntosender_email' => '',
79
- 'wcast_returntosender_email_to' => '{customer_email}',
80
- 'wcast_returntosender_show_tracking_details' => '',
81
- 'wcast_returntosender_show_order_details' => 1,
82
- 'wcast_returntosender_hide_shipping_item_price' => 1,
83
- 'wcast_returntosender_show_shipping_address' => 1,
84
- 'wcast_returntosender_email_code_block' => '',
85
- );
86
-
87
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
88
- }
89
-
90
- /**
91
- * Register our sample default controls
92
- */
93
- public function wcast_register_sample_default_controls( $wp_customize ) {
94
- /**
95
- * Load all our Customizer Custom Controls
96
- */
97
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
98
-
99
- // Display Shipment Provider image/thumbnail
100
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_enable_returntosender_email]',
101
- array(
102
- 'default' => $this->defaults['wcast_enable_returntosender_email'],
103
- 'transport' => 'postMessage',
104
- 'type' => 'option',
105
- 'sanitize_callback' => ''
106
- )
107
- );
108
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_enable_returntosender_email]',
109
- array(
110
- 'label' => __( 'Enable Return To Sender email', 'woo-advanced-shipment-tracking' ),
111
- 'description' => '',
112
- 'section' => 'trackship_shipment_status_email',
113
- 'type' => 'checkbox',
114
- 'active_callback' => array( $this, 'active_callback' ),
115
- )
116
- );
117
-
118
- // Header Text
119
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_email_to]',
120
- array(
121
- 'default' => $this->defaults['wcast_returntosender_email_to'],
122
- 'transport' => 'postMessage',
123
- 'type' => 'option',
124
- 'sanitize_callback' => ''
125
- )
126
- );
127
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_email_to]',
128
- array(
129
- 'label' => __( 'Recipient(s)', 'woocommerce' ),
130
- 'description' => esc_html__( 'Use the {customer_email} placeholder, you can add comma separated email addresses.', 'woocommerce' ),
131
- 'section' => 'trackship_shipment_status_email',
132
- 'type' => 'text',
133
- 'input_attrs' => array(
134
- 'class' => '',
135
- 'style' => '',
136
- 'placeholder' => __( 'E.g. {customer.email}, admin@example.org', 'woo-advanced-shipment-tracking' ),
137
- ),
138
- 'active_callback' => array( $this, 'active_callback' ),
139
- )
140
- );
141
-
142
- // Header Text
143
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_email_subject]',
144
- array(
145
- 'default' => $this->defaults['wcast_returntosender_email_subject'],
146
- 'transport' => 'postMessage',
147
- 'type' => 'option',
148
- 'sanitize_callback' => ''
149
- )
150
- );
151
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_email_subject]',
152
- array(
153
- 'label' => __( 'Email Subject', 'woocommerce' ),
154
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
155
- 'section' => 'trackship_shipment_status_email',
156
- 'type' => 'text',
157
- 'input_attrs' => array(
158
- 'class' => '',
159
- 'style' => '',
160
- 'placeholder' => __( $this->defaults['wcast_returntosender_email_subject'], 'woo-advanced-shipment-tracking' ),
161
- ),
162
- 'active_callback' => array( $this, 'active_callback' ),
163
- )
164
- );
165
-
166
- // Header Text
167
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_email_heading]',
168
- array(
169
- 'default' => $this->defaults['wcast_returntosender_email_heading'],
170
- 'transport' => 'refresh',
171
- 'type' => 'option',
172
- 'sanitize_callback' => ''
173
- )
174
- );
175
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_email_heading]',
176
- array(
177
- 'label' => __( 'Email heading', 'woocommerce' ),
178
- 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
179
- 'section' => 'trackship_shipment_status_email',
180
- 'type' => 'text',
181
- 'input_attrs' => array(
182
- 'class' => '',
183
- 'style' => '',
184
- 'placeholder' => __( $this->defaults['wcast_returntosender_email_heading'], 'woo-advanced-shipment-tracking' ),
185
- ),
186
- 'active_callback' => array( $this, 'active_callback' ),
187
- )
188
- );
189
-
190
- // Test of TinyMCE control
191
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_email_content]',
192
- array(
193
- 'default' => $this->defaults['wcast_returntosender_email_content'],
194
- 'transport' => 'refresh',
195
- 'type' => 'option',
196
- 'sanitize_callback' => 'wp_kses_post'
197
- )
198
- );
199
- $wp_customize->add_control( new AST_TinyMCE_Custom_control( $wp_customize, 'wcast_returntosender_email_settings[wcast_returntosender_email_content]',
200
- array(
201
- 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
202
- 'description' => '',
203
- 'section' => 'trackship_shipment_status_email',
204
- 'input_attrs' => array(
205
- 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
206
- 'mediaButtons' => true,
207
- 'placeholder' => __( $this->defaults['wcast_returntosender_email_content'], 'woo-advanced-shipment-tracking' ),
208
- ),
209
- 'active_callback' => array( $this, 'active_callback' ),
210
- )
211
- ) );
212
-
213
- $wp_customize->add_setting( 'wcast_returntosender_email_code_block',
214
- array(
215
- 'default' => $this->defaults['wcast_returntosender_email_code_block'],
216
- 'transport' => 'postMessage',
217
- 'sanitize_callback' => ''
218
- )
219
- );
220
- $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
221
- array(
222
- 'label' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ),
223
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
224
- 'section' => 'trackship_shipment_status_email',
225
- 'active_callback' => array( $this, 'active_callback' ),
226
- )
227
- ) );
228
-
229
- // Display Shipment Provider image/thumbnail
230
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_show_order_details]',
231
- array(
232
- 'default' => $this->defaults['wcast_returntosender_show_order_details'],
233
- 'transport' => 'refresh',
234
- 'type' => 'option',
235
- 'sanitize_callback' => ''
236
- )
237
- );
238
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_show_order_details]',
239
- array(
240
- 'label' => __( 'Display the Shipping items', 'woo-advanced-shipment-tracking' ),
241
- 'description' => '',
242
- 'section' => 'trackship_shipment_status_email',
243
- 'type' => 'checkbox',
244
- 'active_callback' => array( $this, 'active_callback' ),
245
- )
246
- );
247
-
248
- // Display Shipment Provider image/thumbnail
249
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_hide_shipping_item_price]',
250
- array(
251
- 'default' => $this->defaults['wcast_returntosender_hide_shipping_item_price'],
252
- 'transport' => 'refresh',
253
- 'type' => 'option',
254
- 'sanitize_callback' => ''
255
- )
256
- );
257
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_hide_shipping_item_price]',
258
- array(
259
- 'label' => __( 'Hide Shipping Items Price', 'woo-advanced-shipment-tracking' ),
260
- 'description' => '',
261
- 'section' => 'trackship_shipment_status_email',
262
- 'type' => 'checkbox',
263
- 'active_callback' => array( $this, 'active_callback_only_show_order_details' ),
264
- )
265
- );
266
-
267
- // Display Shipment Provider image/thumbnail
268
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_show_shipping_address]',
269
- array(
270
- 'default' => $this->defaults['wcast_returntosender_show_shipping_address'],
271
- 'transport' => 'refresh',
272
- 'type' => 'option',
273
- 'sanitize_callback' => ''
274
- )
275
- );
276
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_show_shipping_address]',
277
- array(
278
- 'label' => __( 'Display the shipping address', 'woo-advanced-shipment-tracking' ),
279
- 'description' => '',
280
- 'section' => 'trackship_shipment_status_email',
281
- 'type' => 'checkbox',
282
- 'active_callback' => array( $this, 'active_callback' ),
283
- )
284
- );
285
-
286
- $wp_customize->add_setting( 'wcast_returntosender_email_settings[wcast_returntosender_analytics_link]',
287
- array(
288
- 'default' => '',
289
- 'transport' => 'refresh',
290
- 'type' => 'option',
291
- 'sanitize_callback' => ''
292
- )
293
- );
294
- $wp_customize->add_control( 'wcast_returntosender_email_settings[wcast_returntosender_analytics_link]',
295
- array(
296
- 'label' => __( 'Google Analytics link tracking', 'woo-advanced-shipment-tracking' ),
297
- 'description' => esc_html__( 'This will be appended to URL in the email content', 'woo-advanced-shipment-tracking' ),
298
- 'section' => 'trackship_shipment_status_email',
299
- 'type' => 'text',
300
- 'input_attrs' => array(
301
- 'class' => '',
302
- 'style' => '',
303
- 'placeholder' => '',
304
- ),
305
- 'active_callback' => array( $this, 'active_callback' ),
306
- )
307
- );
308
- }
309
-
310
- public function active_callback() {
311
- return ( $this->is_own_preview_request() ) ? true : false ;
312
- }
313
-
314
- public function active_callback_only_show_order_details() {
315
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
316
- $show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_show_order_details', $this->defaults['wcast_returntosender_show_order_details'] );
317
- return ( $this->is_own_preview_request() && $show_order_details ) ? true : false ;
318
- }
319
- /**
320
- * Set up preview
321
- *
322
- * @return void
323
- */
324
- public function set_up_preview() {
325
- // Make sure this is own preview request.
326
- if ( ! $this->is_own_preview_request() ) {
327
- return;
328
- }
329
- include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/returntosender_preview.php';
330
- exit;
331
- }
332
-
333
- /**
334
- * Code for preview of return to sender email
335
- */
336
- public function preview_returntosender_email() {
337
-
338
- $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
339
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
340
-
341
- $email_heading = $ast->get_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_email_heading', $this->defaults['wcast_returntosender_email_heading'] );
342
-
343
- $email_content = $ast->get_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_email_content', $this->defaults['wcast_returntosender_email_content'] );
344
-
345
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_show_order_details', $this->defaults['wcast_returntosender_show_order_details'] );
346
-
347
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_hide_shipping_item_price', $this->defaults['wcast_returntosender_hide_shipping_item_price'] );
348
-
349
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_show_shipping_address', $this->defaults['wcast_returntosender_show_shipping_address'] );
350
-
351
- if ( '' == $preview_id || 'mockup' == $preview_id ) {
352
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
353
- echo wp_kses_post( $content );
354
- return;
355
- }
356
-
357
- $order = wc_get_order( $preview_id );
358
-
359
- if ( !$order ) {
360
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
361
- echo wp_kses_post( $content );
362
- return;
363
- }
364
-
365
- // get the preview email subject
366
- $email_heading = wc_trackship_email_manager()->email_heading( $email_heading, $preview_id, $order );
367
- $message = wc_trackship_email_manager()->email_content( $email_content, $preview_id, $order );
368
-
369
- $wcast_returntosender_analytics_link = $ast->get_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_analytics_link', '' );
370
- if ( $wcast_returntosender_analytics_link ) {
371
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
372
- $message = preg_replace_callback($regex, array( $this, '_appendCampaignToString'), $message);
373
- }
374
-
375
- $tracking_items = $ast->get_tracking_items( $preview_id, true );
376
- $message .= $ast->tracking_info_template( $preview_id, $tracking_items, 'return_to_sender' );
377
-
378
- if ( $wcast_show_order_details ) {
379
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
380
- }
381
-
382
- if ( $wcast_show_shipping_address ) {
383
- $message .= $ast->order_shipping_details_template( $order );
384
- }
385
-
386
- $mailer = WC()->mailer();
387
- // create a new email
388
- $email = new WC_Email();
389
-
390
- // wrap the content with the email template and then add styles
391
- echo wp_kses_post( apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) ) );
392
- }
393
-
394
- /**
395
- * Code for append analytics link in email content
396
- */
397
- public function _appendCampaignToString( $match ) {
398
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
399
- $wcast_returntosender_analytics_link = $ast->get_option_value_from_array( 'wcast_returntosender_email_settings', 'wcast_returntosender_analytics_link', '' );
400
-
401
- $url = $match[2];
402
- if (strpos($url, '?') === false) {
403
- $url .= '?';
404
- }
405
- $url .= $wcast_returntosender_analytics_link;
406
- return $match[1] . $url . $match[3];
407
- }
408
- }
409
- /**
410
- * Initialise our Customizer settings
411
- */
412
-
413
- $wcast_returntosender_customizer_email = new Wcast_Returntosender_Customizer_Email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wc-tracking-page-customizer.php DELETED
@@ -1,259 +0,0 @@
1
- <?php
2
- /**
3
- * Customizer Setup and Custom Controls
4
- *
5
- */
6
-
7
- /**
8
- * Adds the individual sections, settings, and controls to the theme customizer
9
- */
10
- class Ts_Tracking_Page_Customizer {
11
- // Get our default values
12
- private static $order_ids = null;
13
-
14
- public function __construct() {
15
- // Get our Customizer defaults
16
- $this->defaults = $this->wcast_generate_defaults();
17
-
18
- // Register our sample default controls
19
- add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
20
-
21
- // Only proceed if this is own request.
22
- if ( ! $this->is_own_customizer_request() && ! $this->is_own_preview_request() ) {
23
- return;
24
- }
25
-
26
- // Register our sections
27
- add_action( 'customize_register', array( ts_customizer(), 'wcast_add_customizer_sections' ) );
28
-
29
- // Remove unrelated components.
30
- add_filter( 'customize_loaded_components', array( ts_customizer(), 'remove_unrelated_components' ), 99, 2 );
31
-
32
- // Remove unrelated sections.
33
- add_filter( 'customize_section_active', array( ts_customizer(), 'remove_unrelated_sections' ), 10, 2 );
34
-
35
- // Unhook divi front end.
36
- add_action( 'woomail_footer', array( ts_customizer(), 'unhook_divi' ), 10 );
37
-
38
- // Unhook Flatsome js
39
- add_action( 'customize_preview_init', array( ts_customizer(), 'unhook_flatsome' ), 50 );
40
-
41
- add_filter( 'customize_controls_enqueue_scripts', array( ts_customizer(), 'enqueue_customizer_scripts' ) );
42
-
43
- add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
- }
45
-
46
-
47
- /**
48
- * Add css and js for preview
49
- */
50
- public function enqueue_preview_scripts() {
51
- wp_enqueue_script('wcast-preview-scripts', wc_advanced_shipment_tracking()->plugin_dir_url() . '/assets/js/preview-scripts.js', array('jquery', 'customize-preview'), wc_advanced_shipment_tracking()->version, true);
52
- wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
53
- $preview_id = get_theme_mod('wcast_email_preview_order_id');
54
- wp_localize_script('wcast-preview-scripts', 'wcast_preview', array(
55
- 'site_title' => $this->get_blogname(),
56
- 'order_number' => $preview_id,
57
- ));
58
- }
59
-
60
- /**
61
- * Get blog name formatted for emails.
62
- *
63
- * @return string
64
- */
65
- public function get_blogname() {
66
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
67
- }
68
-
69
- /**
70
- * Checks to see if we are opening our custom customizer preview
71
- *
72
- * @return bool
73
- */
74
- public function is_own_preview_request() {
75
- return isset( $_REQUEST['action'] ) && 'preview_tracking_page' === $_REQUEST['action'];
76
- }
77
-
78
- /**
79
- * Checks to see if we are opening our custom customizer controls
80
- *
81
- * @return bool
82
- */
83
- public function is_own_customizer_request() {
84
- return isset( $_REQUEST['email'] ) && 'ast_tracking_page_section' === $_REQUEST['email'];
85
- }
86
-
87
- /**
88
- * Get Customizer URL
89
- *
90
- */
91
- public function get_customizer_url( $email, $return_tab ) {
92
- return add_query_arg( array(
93
- 'trackship-customizer' => '1',
94
- 'email' => $email,
95
- 'autofocus[section]' => 'ast_tracking_page_section',
96
- 'url' => urlencode( add_query_arg( array( 'action' => 'preview_tracking_page' ), home_url( '/' ) ) ),
97
- 'return' => urlencode( $this->get_email_settings_page_url( $return_tab ) ),
98
- ), admin_url( 'customize.php' ) );
99
- }
100
-
101
- /**
102
- * Get WooCommerce email settings page URL
103
- *
104
- * @return string
105
- */
106
- public function get_email_settings_page_url( $return_tab ) {
107
- return admin_url( 'admin.php?page=trackship-for-woocommerce&tab=' . $return_tab );
108
- }
109
-
110
- /**
111
- * Code for initialize default value for customizer
112
- */
113
- public function wcast_generate_defaults() {
114
- $customizer_defaults = array(
115
- 'wc_ast_select_tracking_page_layout' => 't_layout_1',
116
- 'wc_ast_select_border_color' => '#cccccc',
117
- 'wc_ast_select_bg_color' => '#fafafa',
118
- 'wc_ast_hide_tracking_provider_image' => 0,
119
- 'wc_ast_link_to_shipping_provider' => 1,
120
- 'wc_ast_remove_trackship_branding' => 0,
121
- 'wc_ast_hide_tracking_events' => 2,
122
- );
123
-
124
- return apply_filters( 'ast_customizer_defaults', $customizer_defaults );
125
- }
126
-
127
- /**
128
- * Register our sample default controls
129
- */
130
- public function wcast_register_sample_default_controls( $wp_customize ) {
131
-
132
- /**
133
- * Load all our Customizer Custom Controls
134
- */
135
- require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
136
-
137
- $font_size_array[ '' ] = __( 'Select', 'woocommerce' );
138
- for ( $i = 10; $i <= 30; $i++ ) {
139
- $font_size_array[ $i ] = $i . 'px';
140
- }
141
-
142
- $wp_customize->add_setting( 'wc_ast_select_tracking_page_layout',
143
- array(
144
- 'default' => $this->defaults['wc_ast_select_tracking_page_layout'],
145
- 'transport' => 'refresh',
146
- 'sanitize_callback' => '',
147
- 'type' => 'option',
148
- )
149
- );
150
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wc_ast_select_tracking_page_layout',
151
- array(
152
- 'label' => __( 'Widget Tracker Type', 'woo-advanced-shipment-tracking' ),
153
- 'section' => 'ast_tracking_page_section',
154
- 'input_attrs' => array(
155
- 'placeholder' => __( 'Widget Tracker Type', 'woo-advanced-shipment-tracking' ),
156
- 'class' => '',
157
- ),
158
- 'choices' => array(
159
- 't_layout_2' => __( 'Progress Bar', 'woo-advanced-shipment-tracking' ),
160
- 't_layout_1' => __( 'Tracking Icons', 'woo-advanced-shipment-tracking' ),
161
- ),
162
- )
163
- ) );
164
-
165
- $wp_customize->add_setting( 'wc_ast_select_border_color',
166
- array(
167
- 'default' => $this->defaults['wc_ast_select_border_color'],
168
- 'transport' => 'postMessage',
169
- 'sanitize_callback' => '',
170
- 'type' => 'option',
171
- )
172
- );
173
- $wp_customize->add_control( 'wc_ast_select_border_color',
174
- array(
175
- 'label' => __( 'Widget border color', 'woo-advanced-shipment-tracking' ),
176
- 'section' => 'ast_tracking_page_section',
177
- 'type' => 'color',
178
- )
179
- );
180
-
181
- $wp_customize->add_setting( 'wc_ast_select_bg_color',
182
- array(
183
- 'default' => $this->defaults['wc_ast_select_bg_color'],
184
- 'transport' => 'postMessage',
185
- 'sanitize_callback' => '',
186
- 'type' => 'option',
187
- )
188
- );
189
- $wp_customize->add_control( 'wc_ast_select_bg_color',
190
- array(
191
- 'label' => __( 'Widget background color', 'woo-advanced-shipment-tracking' ),
192
- 'section' => 'ast_tracking_page_section',
193
- 'type' => 'color',
194
- )
195
- );
196
-
197
- $wp_customize->add_setting( 'wc_ast_hide_tracking_events',
198
- array(
199
- 'default' => $this->defaults['wc_ast_hide_tracking_events'],
200
- 'transport' => 'refresh',
201
- 'sanitize_callback' => '',
202
- 'type' => 'option',
203
- )
204
- );
205
- $wp_customize->add_control( new AST_Dropdown_Select_Custom_Control( $wp_customize, 'wc_ast_hide_tracking_events',
206
- array(
207
- 'label' => __( 'Events Display Type', 'woo-advanced-shipment-tracking' ),
208
- 'section' => 'ast_tracking_page_section',
209
- 'input_attrs' => array(
210
- 'placeholder' => __( 'Events Display Type', 'woo-advanced-shipment-tracking' ),
211
- 'class' => '',
212
- ),
213
- 'choices' => array(
214
- 0 => __( 'Show all Events', 'woo-advanced-shipment-tracking' ),
215
- 1 => __( 'Hide tracking events', 'woo-advanced-shipment-tracking' ),
216
- 2 => __( 'Show last event & expand', 'woo-advanced-shipment-tracking' ),
217
- ),
218
- )
219
- ) );
220
-
221
- $wp_customize->add_setting( 'wc_ast_hide_tracking_provider_image',
222
- array(
223
- 'default' => $this->defaults['wc_ast_hide_tracking_provider_image'],
224
- 'transport' => 'postMessage',
225
- 'sanitize_callback' => '',
226
- 'type' => 'option',
227
- )
228
- );
229
- $wp_customize->add_control( 'wc_ast_hide_tracking_provider_image',
230
- array(
231
- 'label' => __( 'Hide the Shipping Provider logo', 'woo-advanced-shipment-tracking' ),
232
- 'section' => 'ast_tracking_page_section',
233
- 'type' => 'checkbox',
234
- )
235
- );
236
-
237
- $wp_customize->add_setting( 'wc_ast_link_to_shipping_provider',
238
- array(
239
- 'default' => $this->defaults['wc_ast_link_to_shipping_provider'],
240
- 'transport' => 'postMessage',
241
- 'sanitize_callback' => '',
242
- 'type' => 'option',
243
- )
244
- );
245
- $wp_customize->add_control( 'wc_ast_link_to_shipping_provider',
246
- array(
247
- 'label' => __( 'Enable Tracking # link to Carrier', 'woo-advanced-shipment-tracking' ),
248
- 'section' => 'ast_tracking_page_section',
249
- 'type' => 'checkbox',
250
- )
251
- );
252
- }
253
-
254
- }
255
- /**
256
- * Initialise our Customizer settings
257
- */
258
-
259
- $ts_tracking_page_customizer = new Ts_Tracking_Page_Customizer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/class-wcast-customizer.php CHANGED
@@ -367,8 +367,10 @@ class WC_Advanced_Shipment_Tracking_Customizer {
367
  ));
368
 
369
  foreach ( $orders as $order ) {
 
370
  $ast = new WC_Advanced_Shipment_Tracking_Actions();
371
- $tracking_items = $ast->get_tracking_items( $order->get_id(), true );
 
372
  if ( $tracking_items ) {
373
  $order_array[ $order->get_id() ] = $order->get_id() . ' - ' . $order->get_billing_first_name() . ' ' . $order->get_billing_last_name();
374
  }
367
  ));
368
 
369
  foreach ( $orders as $order ) {
370
+
371
  $ast = new WC_Advanced_Shipment_Tracking_Actions();
372
+ $tracking_items = ast_get_tracking_items( $order->get_id() );
373
+
374
  if ( $tracking_items ) {
375
  $order_array[ $order->get_id() ] = $order->get_id() . ' - ' . $order->get_billing_first_name() . ' ' . $order->get_billing_last_name();
376
  }
includes/customizer/preview/availableforpickup_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
-
7
- ?>
8
-
9
- <head>
10
-
11
- <meta charset="<?php bloginfo('charset'); ?>" />
12
- <meta name="viewport" content="width=device-width" />
13
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
- </head>
15
-
16
- <body class="ast_preview_body">
17
- <div id="overlay"></div>
18
- <div id="ast_preview_wrapper" style="display: block;">
19
- <?php $this->preview_availableforpickup_email(); ?>
20
- </div>
21
-
22
- <?php
23
- do_action( 'woomail_footer' );
24
- wp_footer();
25
- ?>
26
-
27
- </body>
28
-
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/delivered_status_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
-
7
- ?>
8
-
9
- <head>
10
-
11
- <meta charset="<?php bloginfo('charset'); ?>" />
12
- <meta name="viewport" content="width=device-width" />
13
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
- </head>
15
-
16
- <body class="ast_preview_body">
17
- <div id="overlay"></div>
18
- <div id="ast_preview_wrapper" style="display: block;">
19
- <?php $this->preview_delivered_email(); ?>
20
- </div>
21
-
22
- <?php
23
- do_action( 'woomail_footer' );
24
- wp_footer();
25
- ?>
26
-
27
- </body>
28
-
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/exception_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
-
7
- ?>
8
-
9
- <head>
10
-
11
- <meta charset="<?php bloginfo('charset'); ?>" />
12
- <meta name="viewport" content="width=device-width" />
13
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
- </head>
15
-
16
- <body class="ast_preview_body">
17
- <div id="overlay"></div>
18
- <div id="ast_preview_wrapper" style="display: block;">
19
- <?php $this->preview_exception_email(); ?>
20
- </div>
21
-
22
- <?php
23
- do_action( 'woomail_footer' );
24
- wp_footer();
25
- ?>
26
-
27
- </body>
28
-
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/failure_preview.php DELETED
@@ -1,27 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
- <meta charset="<?php bloginfo('charset'); ?>" />
10
- <meta name="viewport" content="width=device-width" />
11
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
12
- </head>
13
-
14
- <body class="ast_preview_body">
15
- <div id="overlay"></div>
16
- <div id="ast_preview_wrapper" style="display: block;">
17
- <?php $this->preview_failure_email(); ?>
18
- </div>
19
-
20
- <?php
21
- do_action( 'woomail_footer' );
22
- wp_footer();
23
- ?>
24
-
25
- </body>
26
-
27
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/intransit_preview.php DELETED
@@ -1,27 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
- <meta charset="<?php bloginfo('charset'); ?>" />
10
- <meta name="viewport" content="width=device-width" />
11
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
12
- </head>
13
-
14
- <body class="ast_preview_body">
15
- <div id="overlay"></div>
16
- <div id="ast_preview_wrapper" style="display: block;">
17
- <?php $this->preview_intransit_email(); ?>
18
- </div>
19
-
20
- <?php
21
- do_action( 'woomail_footer' );
22
- wp_footer();
23
- ?>
24
-
25
- </body>
26
-
27
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/late_shipments_preview.php DELETED
@@ -1,30 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
-
10
- <meta charset="<?php bloginfo('charset'); ?>" />
11
- <meta name="viewport" content="width=device-width" />
12
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
13
- </head>
14
-
15
- <body class="ast_preview_body">
16
- <div id="overlay"></div>
17
- <div id="ast_preview_wrapper" style="display: block;">
18
-
19
- <?php wcast_late_shipments_customizer_email::preview_late_shipments_email(); ?>
20
-
21
- </div>
22
-
23
- <?php
24
- do_action( 'woomail_footer' );
25
- wp_footer();
26
- ?>
27
-
28
- </body>
29
-
30
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/onhold_preview.php DELETED
@@ -1,23 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
- <head>
8
- <meta charset="<?php bloginfo('charset'); ?>" />
9
- <meta name="viewport" content="width=device-width" />
10
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
11
- </head>
12
-
13
- <body class="ast_preview_body">
14
- <div id="overlay"></div>
15
- <div id="ast_preview_wrapper" style="display: block;">
16
- <?php $this->preview_onhold_email(); ?>
17
- </div>
18
- <?php
19
- do_action( 'woomail_footer' );
20
- wp_footer();
21
- ?>
22
- </body>
23
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/outfordelivery_preview.php DELETED
@@ -1,26 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
- <meta charset="<?php bloginfo('charset'); ?>" />
10
- <meta name="viewport" content="width=device-width" />
11
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
12
- </head>
13
-
14
- <body class="ast_preview_body">
15
- <div id="overlay"></div>
16
- <div id="ast_preview_wrapper" style="display: block;">
17
- <?php $this->preview_outfordelivery_email(); ?>
18
- </div>
19
-
20
- <?php
21
- do_action( 'woomail_footer' );
22
- wp_footer();
23
- ?>
24
-
25
- </body>
26
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/returntosender_preview.php DELETED
@@ -1,28 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- ?>
7
-
8
- <head>
9
-
10
- <meta charset="<?php bloginfo('charset'); ?>" />
11
- <meta name="viewport" content="width=device-width" />
12
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
13
- </head>
14
-
15
- <body class="ast_preview_body">
16
- <div id="overlay"></div>
17
- <div id="ast_preview_wrapper" style="display: block;">
18
- <?php $this->preview_returntosender_email(); ?>
19
- </div>
20
-
21
- <?php
22
- do_action( 'woomail_footer' );
23
- wp_footer();
24
- ?>
25
-
26
- </body>
27
-
28
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/customizer/preview/tracking_page_preview.php DELETED
@@ -1,29 +0,0 @@
1
- <?php
2
- // Exit if accessed directly
3
- if (!defined('ABSPATH')) {
4
- exit;
5
- }
6
- wp_head();
7
- ?>
8
-
9
- <head>
10
-
11
- <meta charset="<?php bloginfo('charset'); ?>" />
12
- <meta name="viewport" content="width=device-width" />
13
- <style type="text/css" id="ast_designer_custom_css">.woocommerce-store-notice.demo_store, .mfp-hide {display: none;}</style>
14
- </head>
15
-
16
- <body class="ast_preview_body">
17
- <div id="overlay"></div>
18
- <div id="ast_preview_wrapper" style="display: block;">
19
- <?php //ts_tracking_page_customizer::preview_tracking_page(); ?>
20
- </div>
21
-
22
- <?php
23
- do_action( 'woomail_footer' );
24
- wp_footer();
25
- ?>
26
-
27
- </body>
28
-
29
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/trackship-email-manager.php DELETED
@@ -1,375 +0,0 @@
1
- <?php
2
- /**
3
- * Handles email sending
4
- */
5
- class WC_TrackShip_Email_Manager {
6
-
7
- private static $instance;
8
-
9
- /**
10
- * Constructor sets up actions
11
- */
12
- public function __construct() {
13
- }
14
-
15
- /**
16
- * Code for send shipment status email
17
- */
18
- public function shippment_status_email_trigger( $order_id, $order, $old_status, $new_status, $tracking_item, $shipment_status ) {
19
-
20
- $status = str_replace( '_', '', $new_status );
21
- $status_class = 'wcast_' . $status . '_customizer_email';
22
- $status_customizer = new $status_class();
23
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
24
-
25
- $enable = $ast->get_checkbox_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_enable_' . $status . '_email', '' );
26
- if ( !$enable ) {
27
- return;
28
- }
29
-
30
- $email_subject = $ast->get_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_email_subject', $status_customizer->defaults[ 'wcast_' . $status . '_email_subject' ] );
31
- $subject = $this->email_subject( $email_subject, $order_id, $order );
32
-
33
- $email_to = $ast->get_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_email_to', $status_customizer->defaults[ 'wcast_' . $status . '_email_to' ] );
34
- $email_to = explode( ',', $email_to );
35
-
36
- $email_heading = $ast->get_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_email_heading', $status_customizer->defaults[ 'wcast_' . $status . '_email_heading' ] );
37
- $email_content = $ast->get_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_email_content', $status_customizer->defaults[ 'wcast_' . $status . '_email_content' ] );
38
-
39
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_show_order_details', $status_customizer->defaults[ 'wcast_' . $status . '_show_order_details' ] );
40
-
41
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_hide_shipping_item_price', $status_customizer->defaults[ 'wcast_' . $status . '_hide_shipping_item_price']);
42
-
43
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_show_shipping_address', '' );
44
-
45
- $email_content = $this->email_content( $email_content, $order_id, $order );
46
- $email_heading = $this->email_heading( $email_heading, $order_id, $order );
47
-
48
- $message = $this->append_analytics_link( $email_content, $status );
49
- $message .= $ast->tracking_info_template( $order_id, array( $tracking_item ), $new_status );
50
-
51
- if ( $wcast_show_order_details ) {
52
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
53
- }
54
-
55
- if ( $wcast_show_shipping_address ) {
56
- $message .= $ast->order_shipping_details_template( $order );
57
- }
58
-
59
- $mailer = WC()->mailer();
60
- // create a new email
61
- $email = new WC_Email();
62
-
63
- // wrap the content with the email template and then add styles
64
- $message = apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) );
65
- add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
66
- add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
67
-
68
- foreach ( $email_to as $recipient_email ) {
69
- $recipient = $this->email_to( $recipient_email, $order, $order_id );
70
- $email_send = wp_mail( $recipient, $subject, $message, $email->get_headers() );
71
- $logger = wc_get_logger();
72
- $context = array( 'source' => 'trackship_shipment_status_email_log' );
73
- $logger->error( 'Order_Id: ' . $order_id . ' Shipment_Status: ' . $new_status . ' Email_Sent: ' . $email_send, $context );
74
- }
75
- }
76
-
77
- /**
78
- * Code for send delivered shipment status email
79
- */
80
- public function delivered_shippment_status_email_trigger( $order_id, $order, $old_status, $new_status, $tracking_item, $shipment_status ) {
81
-
82
- $delivered_customizer = new wcast_delivered_customizer_email();
83
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
84
-
85
- $enable = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_enable_delivered_status_email', $delivered_customizer->defaults['wcast_enable_delivered_status_email'] );
86
- if ( !$enable ) {
87
- return;
88
- }
89
-
90
- $email_subject = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_subject', $delivered_customizer->defaults[ 'wcast_delivered_status_email_subject' ] );
91
- $subject = $this->email_subject( $email_subject, $order_id, $order );
92
-
93
- $email_to = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_to', $delivered_customizer->defaults[ 'wcast_delivered_status_email_to' ] );
94
- $email_to = explode( ',', $email_to );
95
-
96
- $email_heading = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_heading', $delivered_customizer->defaults[ 'wcast_delivered_status_email_heading' ] );
97
- $email_heading = $this->email_heading( $email_heading, $order_id, $order );
98
-
99
- $email_content = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_email_content', $delivered_customizer->defaults[ 'wcast_delivered_status_email_content' ] );
100
- $email_content = $this->email_content( $email_content, $order_id, $order );
101
-
102
- $wcast_show_tracking_details = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_tracking_details', $delivered_customizer->defaults[ 'wcast_delivered_status_show_tracking_details' ] );
103
-
104
- $wcast_show_order_details = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_order_details', $delivered_customizer->defaults[ 'wcast_delivered_status_show_order_details' ] );
105
-
106
- $wcast_show_shipping_address = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_show_shipping_address', $delivered_customizer->defaults[ 'wcast_delivered_status_show_shipping_address' ] );
107
-
108
- $hide_shipping_item_price = $ast->get_checkbox_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_hide_shipping_item_price', $delivered_customizer->defaults[ 'wcast_delivered_status_hide_shipping_item_price' ] );
109
-
110
- $status = 'delivered_status';
111
- $message = $this->append_analytics_link( $email_content, $status );
112
-
113
- if ( $wcast_show_tracking_details ) {
114
- $message .= $ast->tracking_info_template( $order_id, array( $tracking_item ), $new_status );
115
- }
116
-
117
- if ( $wcast_show_order_details ) {
118
- $message .= $ast->order_details_template( $order, $hide_shipping_item_price );
119
- }
120
-
121
- if ( $wcast_show_shipping_address ) {
122
- $message .= $ast->order_shipping_details_template( $order );
123
- }
124
-
125
- $mailer = WC()->mailer();
126
- // create a new email
127
- $email = new WC_Email();
128
-
129
- // wrap the content with the email template and then add styles
130
- $message = apply_filters( 'woocommerce_mail_content', $email->style_inline( $mailer->wrap_message( $email_heading, $message ) ) );
131
- add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
132
- add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
133
-
134
- foreach ( $email_to as $recipient_email ) {
135
- $recipient = $this->email_to( $recipient_email, $order, $order_id );
136
- $email_send = wp_mail( $recipient, $subject, $message, $email->get_headers() );
137
- $logger = wc_get_logger();
138
- $context = array( 'source' => 'trackship_shipment_status_email_log' );
139
- $logger->error( 'Order_Id: ' . $order_id . ' Shipment_Status: ' . $new_status . ' Email_Sent: ' . $email_send, $context );
140
- }
141
-
142
- }
143
-
144
- /**
145
- * Code for format email subject
146
- */
147
- public function email_subject( $string, $order_id, $order ) {
148
-
149
- $order_number = $order->get_order_number();
150
- $customer_email = $order->get_billing_email();
151
- $first_name = $order->get_billing_first_name();
152
- $last_name = $order->get_billing_last_name();
153
- $user = $order->get_user();
154
-
155
- if ( $user ) {
156
- $username = $user->user_login;
157
- }
158
-
159
- $string = str_replace( '{order_number}', $order_number, $string );
160
- $string = str_replace( '{customer_email}', $customer_email, $string );
161
- $string = str_replace( '{customer_first_name}', $first_name, $string );
162
- $string = str_replace( '{customer_last_name}', $last_name, $string );
163
-
164
- if ( isset( $username ) ) {
165
- $string = str_replace( '{customer_username}', $username, $string );
166
- } else {
167
- $string = str_replace( '{customer_username}', '', $string );
168
- }
169
-
170
- $string = str_replace( '{site_title}', $this->get_blogname(), $string );
171
- return $string;
172
- }
173
-
174
- /**
175
- * Code for format email heading
176
- */
177
- public function email_heading( $string, $order_id, $order ) {
178
-
179
- $order_number = $order->get_order_number();
180
- $customer_email = $order->get_billing_email();
181
- $first_name = $order->get_billing_first_name();
182
- $last_name = $order->get_billing_last_name();
183
- $user = $order->get_user();
184
-
185
- if ( $user ) {
186
- $username = $user->user_login;
187
- }
188
-
189
- $string = str_replace( '{order_number}', $order_number, $string );
190
- $string = str_replace( '{customer_email}', $customer_email, $string );
191
- $string = str_replace( '{customer_first_name}', $first_name, $string );
192
- $string = str_replace( '{customer_last_name}', $last_name, $string );
193
-
194
- if ( isset( $username ) ) {
195
- $string = str_replace( '{customer_username}', $username, $string );
196
- } else {
197
- $string = str_replace( '{customer_username}', '', $string );
198
- }
199
-
200
- $string = str_replace( '{site_title}', $this->get_blogname(), $string );
201
- return $string;
202
- }
203
-
204
- /**
205
- * Code for format recipients
206
- */
207
- public function email_to( $string, $order, $order_id ) {
208
- $customer_email = $order->get_billing_email();
209
- $admin_email = get_option('admin_email');
210
- $string = str_replace( '{admin_email}', $admin_email, $string );
211
- $string = str_replace( '{customer_email}', $customer_email, $string );
212
- return $string;
213
- }
214
-
215
- /**
216
- * Code for format email content
217
- */
218
- public function email_content( $email_content, $order_id, $order ) {
219
-
220
- $order_number = $order->get_order_number();
221
- $customer_email = $order->get_billing_email();
222
- $first_name = $order->get_billing_first_name();
223
- $last_name = $order->get_billing_last_name();
224
- $company_name = $order->get_billing_company();
225
- $user = $order->get_user();
226
-
227
- if ( $user ) {
228
- $username = $user->user_login;
229
- }
230
-
231
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
232
- $api_enabled = get_option( 'wc_ast_api_enabled', 0 );
233
-
234
- if ( $wc_ast_api_key && $api_enabled ) {
235
- $est_delivery_date = $this->get_est_delivery_date( $order->get_id(), $order );
236
- }
237
-
238
- $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
239
- $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
240
- $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
241
- $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
242
-
243
- if ( isset( $company_name ) ) {
244
- $email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
245
- } else {
246
- $email_content = str_replace( '{customer_company_name}', '', $email_content );
247
- }
248
-
249
- if ( isset( $username ) ) {
250
- $email_content = str_replace( '{customer_username}', $username, $email_content );
251
- } else {
252
- $email_content = str_replace( '{customer_username}', '', $email_content );
253
- }
254
-
255
- $email_content = str_replace( '{order_number}', $order_number, $email_content );
256
-
257
- if ( $wc_ast_api_key && $api_enabled ) {
258
- $email_content = str_replace( '{est_delivery_date}', $est_delivery_date, $email_content );
259
- }
260
-
261
- return $email_content;
262
- }
263
-
264
- /**
265
- * Code for append analytics link
266
- */
267
- public function append_analytics_link( $message, $status ) {
268
-
269
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
270
-
271
- if ( 'delivered_status' == $status ) {
272
- $analytics_link = $ast->get_option_value_from_array( 'wcast_delivered_email_settings', 'wcast_delivered_status_analytics_link', '' );
273
- } else {
274
- $analytics_link = $ast->get_option_value_from_array( 'wcast_' . $status . '_email_settings', 'wcast_' . $status . '_analytics_link', '' );
275
- }
276
-
277
- if ( $analytics_link ) {
278
- $regex = '#(<a href=")([^"]*)("[^>]*?>)#i';
279
- $message = preg_replace_callback ( $regex, function ( $match ) use ( $status ) {
280
- $url = $match[2];
281
- if (strpos($url, '?') === false) {
282
- $url .= '?';
283
- }
284
- $url .= $analytics_link;
285
- return $match[1] . $url . $match[3];
286
- }, $message );
287
- }
288
- return $message;
289
- }
290
-
291
- /**
292
- * Code for get estimate delivery date
293
- */
294
- public function get_est_delivery_date( $order_id, $order ) {
295
-
296
- if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
297
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
298
- } else {
299
- $order = new WC_Order( $order_id );
300
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
301
- }
302
-
303
- $html = '';
304
- $wc_ast_api_key = get_option( 'wc_ast_api_key' );
305
- $shipment_status = get_post_meta( $order_id, 'shipment_status', true);
306
-
307
- if ( $tracking_items ) {
308
- foreach ( $tracking_items as $key => $item ) {
309
- $tracking_number = $item['tracking_number'];
310
- if ( isset( $shipment_status[ $key ][ 'est_delivery_date' ] ) && '' != $shipment_status[ $key ][ 'est_delivery_date' ] ) {
311
- $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
312
- $unixTimestamp = strtotime($est_delivery_date);
313
- $day = gmdate( 'l', $unixTimestamp );
314
- $html .= '<div>Estimated Delivery Date for Tracking Number - ' . $tracking_number . '</div><h3 style="margin:0 0 10px;">' . $day . ', ' . gmdate( 'M d', strtotime($est_delivery_date) ) . '</h3>';
315
- }
316
- }
317
- }
318
- return $html;
319
- }
320
-
321
- /**
322
- * Get blog name formatted for emails.
323
- *
324
- * @return string
325
- */
326
- private function get_blogname() {
327
- return wp_specialchars_decode( get_option( 'blogname' ), ENT_QUOTES );
328
- }
329
-
330
- /**
331
- * Get the from name for outgoing emails.
332
- *
333
- * @return string
334
- */
335
- public function get_from_name() {
336
- $from_name = apply_filters( 'woocommerce_email_from_name', get_option( 'woocommerce_email_from_name' ), $this );
337
- return wp_specialchars_decode( esc_html( $from_name ), ENT_QUOTES );
338
- }
339
-
340
- /**
341
- * Get the from address for outgoing emails.
342
- *
343
- * @return string
344
- */
345
- public function get_from_address() {
346
- $from_address = apply_filters( 'woocommerce_email_from_address', get_option( 'woocommerce_email_from_address' ), $this );
347
- return sanitize_email( $from_address );
348
- }
349
-
350
- }
351
-
352
- /**
353
- * Returns an instance of zorem_woocommerce_advanced_shipment_tracking.
354
- *
355
- * @since 1.6.5
356
- * @version 1.6.5
357
- *
358
- * @return zorem_woocommerce_advanced_shipment_tracking
359
- */
360
- function wc_trackship_email_manager() {
361
- static $instance;
362
-
363
- if ( ! isset( $instance ) ) {
364
- $instance = new WC_TrackShip_Email_Manager();
365
- }
366
-
367
- return $instance;
368
- }
369
-
370
- /**
371
- * Register this class globally.
372
- *
373
- * Backward compatibility.
374
- */
375
- wc_trackship_email_manager();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/activity_panel.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <div class="woocommerce-layout__activity-panel">
2
+ <div class="woocommerce-layout__activity-panel-tabs">
3
+ <button type="button" id="activity-panel-tab-help" class="components-button woocommerce-layout__activity-panel-tab">
4
+ <span class="dashicons dashicons-menu-alt"></span>
5
+ </button>
6
+ </div>
7
+ <div class="woocommerce-layout__activity-panel-wrapper">
8
+ <div class="woocommerce-layout__activity-panel-content" id="activity-panel-true">
9
+ <div class="woocommerce-layout__activity-panel-header">
10
+ <div class="woocommerce-layout__inbox-title">
11
+ <p class="css-activity-panel-Text">Documentation</p>
12
+ </div>
13
+ </div>
14
+ <div>
15
+ <ul class="woocommerce-list woocommerce-quick-links__list">
16
+ <li class="woocommerce-list__item has-action">
17
+ <?php
18
+ $support_link = class_exists( 'ast_pro' ) ? 'https://www.zorem.com/?support=1' : 'https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/#new-topic-0' ;
19
+ ?>
20
+ <a href="<?php echo esc_url( $support_link ); ?>" class="woocommerce-list__item-inner" target="_blank" >
21
+ <div class="woocommerce-list__item-before">
22
+ <span class="dashicons dashicons-media-document"></span>
23
+ </div>
24
+ <div class="woocommerce-list__item-text">
25
+ <span class="woocommerce-list__item-title">
26
+ <div class="woocommerce-list-Text">Get Support</div>
27
+ </span>
28
+ </div>
29
+ <div class="woocommerce-list__item-after">
30
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
31
+ </div>
32
+ </a>
33
+ </li>
34
+ <li class="woocommerce-list__item has-action">
35
+ <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
36
+ <div class="woocommerce-list__item-before">
37
+ <span class="dashicons dashicons-media-document"></span>
38
+ </div>
39
+ <div class="woocommerce-list__item-text">
40
+ <span class="woocommerce-list__item-title">
41
+ <div class="woocommerce-list-Text">Documentation</div>
42
+ </span>
43
+ </div>
44
+ <div class="woocommerce-list__item-after">
45
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
46
+ </div>
47
+ </a>
48
+ </li>
49
+ <?php if ( !class_exists( 'ast_pro' ) ) { ?>
50
+ <li class="woocommerce-list__item has-action">
51
+ <a href="https://www.zorem.com/product/woocommerce-advanced-shipment-tracking/" class="woocommerce-list__item-inner" target="_blank">
52
+ <div class="woocommerce-list__item-before">
53
+ <span class="dashicons dashicons-media-document"></span>
54
+ </div>
55
+ <div class="woocommerce-list__item-text">
56
+ <span class="woocommerce-list__item-title">
57
+ <div class="woocommerce-list-Text">Upgrade To Pro</div>
58
+ </span>
59
+ </div>
60
+ <div class="woocommerce-list__item-after">
61
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
62
+ </div>
63
+ </a>
64
+ </li>
65
+ <?php } ?>
66
+ </ul>
67
+ </div>
68
+ </div>
69
+ </div>
70
+ </div>
includes/views/admin_options_addons.php CHANGED
@@ -5,7 +5,7 @@
5
  $wc_ast_api_key = get_option('wc_ast_api_key');
6
  ?>
7
  <section id="content6" class="tab_section">
8
- <div class="tab_inner_container" style="">
9
 
10
  <?php
11
  $show_addons_tab = apply_filters( 'ast_show_addons_tab', false );
@@ -30,7 +30,7 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
30
  <div class="ast-row">
31
  <div class="as-col-6">
32
  <div class="ts_col_inner">
33
- <h1 class="ast_pro_landing_header">Advanced Shipment Tracking Pro</h1>
34
  <ul class="ast_pro_features_list">
35
  <li>Premium Support</li>
36
  <li>Tracking per item</li>
@@ -54,17 +54,17 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
54
  </div>
55
  <?php } ?>
56
 
57
- <h1 class="tab_section_heading clear_spacing" style="margin: 20px 0 0;"><?php esc_html_e('Other Products by zorem', 'ast-pro'); ?></h1>
58
 
59
  <div class="plugins_section free_plugin_section">
60
  <div class="single_plugin as-col-4">
61
  <div class="free_plugin_inner">
62
  <div class="paid_plugin_image">
63
- <img style="width: 150px;height: auto;" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png">
64
- </div>
65
- <div class="paid_plugin_description">
66
  <h3 class="plugin_title">TrackShip for WooCommerce</h3>
67
- <p>Auto-Track all your shipments and provide a superior Post-Purchase Experience to your Customers</p>
 
 
68
  <?php
69
  if ( is_plugin_active('trackship-for-woocommerce/trackship-for-woocommerce.php' ) ) {
70
  ?>
@@ -79,9 +79,9 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
79
  <div class="free_plugin_inner">
80
  <div class="paid_plugin_image">
81
  <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/smswoo-icon.png">
 
82
  </div>
83
- <div class="paid_plugin_description">
84
- <h3 class="plugin_title">SMSWOO - SMS for WooCommerce</h3>
85
  <p>Keep your customers informed by sending them automated SMS text messages with order & delivery updates. You can send SMS notifications to customers when the order status is updated or when the shipment is out for delivery and more…</p>
86
  <?php
87
  if ( is_plugin_active('sms-for-woocommerce/sms-for-woocommerce.php' ) ) {
@@ -96,10 +96,10 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
96
  <div class="single_plugin as-col-4">
97
  <div class="free_plugin_inner">
98
  <div class="paid_plugin_image">
99
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/alp-icon.png">
100
- </div>
101
- <div class="paid_plugin_description">
102
  <h3 class="plugin_title">Advanced Local Pickup Pro</h3>
 
 
103
  <p>The Advanced Local Pickup (ALP) helps you manage the local pickup orders workflow more conveniently by extending the WooCommerce Local Pickup shipping method. The Pro you set up multiple pickup locations, , split the business hours, apply discounts by pickup location, display local pickup message on the products pages, allow customers to choose pickup location per product, force products to be local pickup only and more…</p>
104
  <?php
105
  if ( is_plugin_active('advanced-local-pickup-pro/advanced-local-pickup-pro.php' ) ) {
@@ -114,10 +114,10 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
114
  <div class="single_plugin as-col-4">
115
  <div class="free_plugin_inner">
116
  <div class="paid_plugin_image">
117
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/cbr-icon.png">
118
- </div>
119
- <div class="paid_plugin_description">
120
  <h3 class="plugin_title">Country Based Restrictions Pro</h3>
 
 
121
  <p>The country-based restrictions plugin by zorem works by the WooCommerce Geolocation or the shipping country added by the customer and allows you to restrict products on your store to sell or not to sell to specific countries.</p>
122
  <?php
123
  if ( is_plugin_active('country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php' ) ) {
@@ -132,10 +132,10 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
132
  <div class="single_plugin as-col-4">
133
  <div class="free_plugin_inner">
134
  <div class="paid_plugin_image">
135
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/AOSM-addons-icon.jpg">
 
136
  </div>
137
- <div class="paid_plugin_description">
138
- <h3 class="plugin_title">Advanced Order Status Manager</h3>
139
  <p>The Advanced Order Status Manager allows store owners to manage the WooCommerce orders statuses, create, edit, and delete custom Custom Order Statuses and integrate them into the WooCommerce orders flow.</p>
140
  <?php
141
  if ( is_plugin_active('advanced-order-status-manager/advanced-order-status-manager.php' ) ) {
@@ -150,10 +150,10 @@ $wc_ast_api_key = get_option('wc_ast_api_key');
150
  <div class="single_plugin as-col-4">
151
  <div class="free_plugin_inner">
152
  <div class="paid_plugin_image">
153
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/sre-icon.png">
154
- </div>
155
- <div class="paid_plugin_description">
156
  <h3 class="plugin_title">Sales Report Email</h3>
 
 
157
  <p>The Sales Report Email Pro will help know how well your store is performing and how your products are selling by sending you a daily, weekly, or monthly sales report by email, directly from your WooCommerce store.</p>
158
  <?php
159
  if ( is_plugin_active('sales-report-email-pro/sales-report-email-pro.php' ) ) {
5
  $wc_ast_api_key = get_option('wc_ast_api_key');
6
  ?>
7
  <section id="content6" class="tab_section">
8
+ <div class="tab_container_without_bg">
9
 
10
  <?php
11
  $show_addons_tab = apply_filters( 'ast_show_addons_tab', false );
30
  <div class="ast-row">
31
  <div class="as-col-6">
32
  <div class="ts_col_inner">
33
+ <h1 class="ast_pro_landing_header">AST PRO Fulfillment Manager</h1>
34
  <ul class="ast_pro_features_list">
35
  <li>Premium Support</li>
36
  <li>Tracking per item</li>
54
  </div>
55
  <?php } ?>
56
 
57
+ <h1 class="tab_section_heading clear_spacing" style="margin: 20px 0 0;">Level up your fulfillment workflows</h1>
58
 
59
  <div class="plugins_section free_plugin_section">
60
  <div class="single_plugin as-col-4">
61
  <div class="free_plugin_inner">
62
  <div class="paid_plugin_image">
63
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship.png">
 
 
64
  <h3 class="plugin_title">TrackShip for WooCommerce</h3>
65
+ </div>
66
+ <div class="paid_plugin_description">
67
+ <p>Take control of your post-shipping workflows, reduce time spent on customer service and provide a superior post-purchase experience to your customers.Beyond automatic shipment tracking, TrackShip brings a branded tracking experience into your store, integrates into your workflow, and takes care of all the touch points with your customers after shipping.</p>
68
  <?php
69
  if ( is_plugin_active('trackship-for-woocommerce/trackship-for-woocommerce.php' ) ) {
70
  ?>
79
  <div class="free_plugin_inner">
80
  <div class="paid_plugin_image">
81
  <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/smswoo-icon.png">
82
+ <h3 class="plugin_title">SMS for WooCommerce</h3>
83
  </div>
84
+ <div class="paid_plugin_description">
 
85
  <p>Keep your customers informed by sending them automated SMS text messages with order & delivery updates. You can send SMS notifications to customers when the order status is updated or when the shipment is out for delivery and more…</p>
86
  <?php
87
  if ( is_plugin_active('sms-for-woocommerce/sms-for-woocommerce.php' ) ) {
96
  <div class="single_plugin as-col-4">
97
  <div class="free_plugin_inner">
98
  <div class="paid_plugin_image">
99
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/alp.png">
 
 
100
  <h3 class="plugin_title">Advanced Local Pickup Pro</h3>
101
+ </div>
102
+ <div class="paid_plugin_description">
103
  <p>The Advanced Local Pickup (ALP) helps you manage the local pickup orders workflow more conveniently by extending the WooCommerce Local Pickup shipping method. The Pro you set up multiple pickup locations, , split the business hours, apply discounts by pickup location, display local pickup message on the products pages, allow customers to choose pickup location per product, force products to be local pickup only and more…</p>
104
  <?php
105
  if ( is_plugin_active('advanced-local-pickup-pro/advanced-local-pickup-pro.php' ) ) {
114
  <div class="single_plugin as-col-4">
115
  <div class="free_plugin_inner">
116
  <div class="paid_plugin_image">
117
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/cbr.png">
 
 
118
  <h3 class="plugin_title">Country Based Restrictions Pro</h3>
119
+ </div>
120
+ <div class="paid_plugin_description">
121
  <p>The country-based restrictions plugin by zorem works by the WooCommerce Geolocation or the shipping country added by the customer and allows you to restrict products on your store to sell or not to sell to specific countries.</p>
122
  <?php
123
  if ( is_plugin_active('country-base-restrictions-pro-addon/country-base-restrictions-pro-addon.php' ) ) {
132
  <div class="single_plugin as-col-4">
133
  <div class="free_plugin_inner">
134
  <div class="paid_plugin_image">
135
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/aosm.png">
136
+ <h3 class="plugin_title">Order Status Manager</h3>
137
  </div>
138
+ <div class="paid_plugin_description">
 
139
  <p>The Advanced Order Status Manager allows store owners to manage the WooCommerce orders statuses, create, edit, and delete custom Custom Order Statuses and integrate them into the WooCommerce orders flow.</p>
140
  <?php
141
  if ( is_plugin_active('advanced-order-status-manager/advanced-order-status-manager.php' ) ) {
150
  <div class="single_plugin as-col-4">
151
  <div class="free_plugin_inner">
152
  <div class="paid_plugin_image">
153
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/sre.png">
 
 
154
  <h3 class="plugin_title">Sales Report Email</h3>
155
+ </div>
156
+ <div class="paid_plugin_description">
157
  <p>The Sales Report Email Pro will help know how well your store is performing and how your products are selling by sending you a daily, weekly, or monthly sales report by email, directly from your WooCommerce store.</p>
158
  <?php
159
  if ( is_plugin_active('sales-report-email-pro/sales-report-email-pro.php' ) ) {
includes/views/admin_options_bulk_upload.php CHANGED
@@ -4,12 +4,11 @@
4
  */
5
  ?>
6
  <section id="content4" class="tab_section">
7
- <div class="tab_inner_container" style="width: 100%;">
 
 
8
  <!-- progressbar -->
9
  <section class="woocommerce-progress-form-wrapper" style="display:block;">
10
- <div class="csv_heading_section">
11
- <p><?php esc_html_e('Use our CSV Import Tool to bulk Import tracking info to orders from a CSV file', 'woo-advanced-shipment-tracking'); ?></p>
12
- </div>
13
  <ol class="wc-progress-steps">
14
  <li class="progress_step1 active"><?php esc_html_e('Upload CSV file', 'woocommerce'); ?></li>
15
  <li class="progress_step2"><?php esc_html_e('Import', 'woocommerce'); ?></li>
4
  */
5
  ?>
6
  <section id="content4" class="tab_section">
7
+ <div class="tab_container_without_bg_1000">
8
+ <h2 class="tab_page_heading clear_spacing"><?php esc_html_e( 'CSV Import', 'woo-advanced-shipment-tracking' ); ?></h2>
9
+ <p><?php esc_html_e('Use our CSV Import Tool to bulk Import tracking info to orders from a CSV file', 'woo-advanced-shipment-tracking'); ?></p>
10
  <!-- progressbar -->
11
  <section class="woocommerce-progress-form-wrapper" style="display:block;">
 
 
 
12
  <ol class="wc-progress-steps">
13
  <li class="progress_step1 active"><?php esc_html_e('Upload CSV file', 'woocommerce'); ?></li>
14
  <li class="progress_step2"><?php esc_html_e('Import', 'woocommerce'); ?></li>
includes/views/admin_options_osm.php CHANGED
@@ -1,3 +1,6 @@
 
 
 
1
  <div class="custom_order_status_section">
2
  <table class="form-table order-status-table">
3
  <tbody>
@@ -10,6 +13,9 @@
10
  <td colspan="2" class="status_shipped_label">
11
  <?php esc_html_e( 'Rename the “Completed” Order status label to “Shipped”', 'woo-advanced-shipment-tracking' ); ?>
12
  </td>
 
 
 
13
  </tr>
14
 
15
  <?php
@@ -58,11 +64,16 @@
58
  <select class="select custom_order_color_select" id="<?php echo esc_html( $data['font_color_field'] ); ?>" name="<?php echo esc_html( $data['font_color_field'] ); ?>">
59
  <option value="#fff" <?php ( '#fff' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
60
  <option value="#000" <?php ( '#000' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
61
- </select>
 
 
 
 
62
  <label class="send_email_label">
63
- <input type="hidden" name="<?php echo esc_html( $data['email_field'] ); ?>" value="0"/>
64
- <input type="checkbox" name="<?php echo esc_html( $data['email_field'] ); ?>" id="<?php echo esc_html( $data['email_field'] ); ?>"class="enable_order_status_email_input" <?php esc_html_e( $checked ); ?> value="1"><?php esc_html_e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?></label>
65
- <a class='settings_edit' href="<?php echo esc_html( $data['edit_email'] ); ?>"><?php esc_html_e( 'edit email', 'woocommerce' ); ?></a>
 
66
  </fieldset>
67
  </td>
68
  </tr>
1
+ <?php
2
+ $wcast_initialise_customizer_settings = new wcast_initialise_customizer_settings();
3
+ ?>
4
  <div class="custom_order_status_section">
5
  <table class="form-table order-status-table">
6
  <tbody>
13
  <td colspan="2" class="status_shipped_label">
14
  <?php esc_html_e( 'Rename the “Completed” Order status label to “Shipped”', 'woo-advanced-shipment-tracking' ); ?>
15
  </td>
16
+ <td style="text-align:right;">
17
+ <a class='settings_edit' href="<?php echo esc_url( $wcast_initialise_customizer_settings->get_customizer_url( 'ast_tracking_general_section', 'settings' ) ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
18
+ </td>
19
  </tr>
20
 
21
  <?php
64
  <select class="select custom_order_color_select" id="<?php echo esc_html( $data['font_color_field'] ); ?>" name="<?php echo esc_html( $data['font_color_field'] ); ?>">
65
  <option value="#fff" <?php ( '#fff' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
66
  <option value="#000" <?php ( '#000' == get_option( $data['font_color_field'], '#fff' ) ) ? esc_html_e( 'selected' ) : ''; ?>><?php esc_html_e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
67
+ </select>
68
+ </fieldset>
69
+ </td>
70
+ <td class="forminp" style="text-align:right;">
71
+ <fieldset>
72
  <label class="send_email_label">
73
+ <input type="hidden" name="<?php esc_html_e( $data['email_field'] ); ?>" value="0"/>
74
+ <input type="checkbox" name="<?php esc_html_e( $data['email_field'] ); ?>" id="<?php esc_html_e( $data['email_field'] ); ?>"class="enable_order_status_email_input" <?php esc_html_e( $checked ); ?> value="1"><?php esc_html_e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
75
+ </label>
76
+ <a class='settings_edit' href="<?php echo esc_url( $data['edit_email'] ); ?>"><?php esc_html_e( 'Customize', 'woocommerce' ); ?></a>
77
  </fieldset>
78
  </td>
79
  </tr>
includes/views/admin_options_settings.php CHANGED
@@ -6,25 +6,72 @@
6
  <section id="content2" class="tab_section">
7
  <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
8
 
9
- <h1 class="tab_page_heading"><?php esc_html_e( 'Settings', 'woo-advanced-shipment-tracking'); ?></h1>
10
-
11
- <h2 class="tab_section_heading botton_border"><?php esc_html_e( 'Add Tracking Options', 'woo-advanced-shipment-tracking'); ?></h2>
12
- <?php $this->get_html_ul( $this->get_add_tracking_options() ); ?>
13
-
14
- <div class="tabs_inner_section">
15
- <h1 class="tab_section_heading botton_border"><?php esc_html_e( 'Customer View', 'woo-advanced-shipment-tracking'); ?></h1>
16
- <?php $this->get_html_ul( $this->get_customer_view_options() ); ?>
17
- </div>
18
-
19
- <div class="tabs_inner_section">
20
- <h2 class="tab_section_heading botton_border"><?php esc_html_e( 'Shipment Tracking API', 'woo-advanced-shipment-tracking'); ?></h2>
21
- <?php $this->get_html_ul( $this->get_shipment_tracking_api_options() ); ?>
22
- </div>
23
-
24
- <div class="tabs_inner_section">
25
- <h2 class="tab_section_heading botton_border"><?php esc_html_e( 'Custom Order Statuses', 'woo-advanced-shipment-tracking'); ?></h2>
26
- <?php require_once( 'admin_options_osm.php' ); ?>
27
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
 
29
  <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ); ?>
30
  <input type="hidden" name="action" value="wc_ast_settings_form_update">
6
  <section id="content2" class="tab_section">
7
  <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
8
 
9
+ <div class="accordion_container">
10
+
11
+ <div class="accordion_set">
12
+ <div class="accordion heading add-tracking-option">
13
+ <label>
14
+ <?php esc_html_e( 'Add Tracking Options', 'woo-advanced-shipment-tracking' ); ?>
15
+ <span class="ast-accordion-btn">
16
+ <div class="spinner workflow_spinner" style="float:none"></div>
17
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
18
+ </span>
19
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
20
+ </label>
21
+ </div>
22
+ <div class="panel options add-tracking-option">
23
+ <?php $this->get_html_ul( $this->get_add_tracking_options() ); ?>
24
+ </div>
25
+ </div>
26
+
27
+ <div class="accordion_set">
28
+ <div class="accordion heading add-tracking-option">
29
+ <label>
30
+ <?php esc_html_e( 'Customer View', 'woo-advanced-shipment-tracking' ); ?>
31
+ <span class="ast-accordion-btn">
32
+ <div class="spinner workflow_spinner" style="float:none"></div>
33
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
34
+ </span>
35
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
36
+ </label>
37
+ </div>
38
+ <div class="panel options add-tracking-option">
39
+ <?php $this->get_html_ul( $this->get_customer_view_options() ); ?>
40
+ </div>
41
+ </div>
42
+
43
+ <div class="accordion_set">
44
+ <div class="accordion heading add-tracking-option">
45
+ <label>
46
+ <?php esc_html_e( 'Shipment Tracking API', 'woo-advanced-shipment-tracking' ); ?>
47
+ <span class="ast-accordion-btn">
48
+ <div class="spinner workflow_spinner" style="float:none"></div>
49
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
50
+ </span>
51
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
52
+ </label>
53
+ </div>
54
+ <div class="panel options add-tracking-option">
55
+ <?php $this->get_html_ul( $this->get_shipment_tracking_api_options() ); ?>
56
+ </div>
57
+ </div>
58
+
59
+ <div class="accordion_set">
60
+ <div class="accordion heading add-tracking-option">
61
+ <label>
62
+ <?php esc_html_e( 'Order Statuses', 'woo-advanced-shipment-tracking' ); ?>
63
+ <span class="ast-accordion-btn">
64
+ <div class="spinner workflow_spinner" style="float:none"></div>
65
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2" type="submit" value="Save changes"><?php esc_html_e( 'Save & Close', 'woo-advanced-shipment-tracking' ); ?></button>
66
+ </span>
67
+ <span class="dashicons dashicons-arrow-right-alt2"></span>
68
+ </label>
69
+ </div>
70
+ <div class="panel options add-tracking-option">
71
+ <?php require_once( 'admin_options_osm.php' ); ?>
72
+ </div>
73
+ </div>
74
+ </div>
75
 
76
  <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form_nonce' ); ?>
77
  <input type="hidden" name="action" value="wc_ast_settings_form_update">
includes/views/admin_options_shipping_provider.php CHANGED
@@ -16,113 +16,115 @@ if ( isset( $_GET['open'] ) && 'synch_providers' == $_GET['open'] ) {
16
  });
17
  </script>
18
  <?php } ?>
19
- <section id="content1" class="tab_section">
20
- <div class="provider_top">
21
-
22
- <div class="search_section">
23
- <h1 class="tab_section_heading"><?php esc_html_e( 'Shipping Providers', 'woo-advanced-shipment-tracking'); ?></h1>
24
- <span class="dashicons dashicons-search search-icon"></span>
25
- <input class="provider_search_bar" type="text" name="search_provider" id="search_provider" placeholder="<?php esc_html_e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
26
- </div>
27
-
28
- <div class="provider_settings">
29
- <a href="javaScript:void(0);" class="provider_settings_icon upgrade_to_ast_pro"><span class="dashicons dashicons-plus-alt"></span></a>
30
- <a href="javaScript:void(0);" class="sync_providers provider_settings_icon"><span class="dashicons dashicons-update"></span></a>
31
- <input class="ast-tgl ast-tgl-flat" id="reset_providers" name="reset_providers" type="checkbox" value="1"/>
32
- <label class="ast-tgl-btn" for="reset_providers"></label>
33
- </div>
34
- </div>
35
- <div class="provider_list">
36
- <?php
37
- if ( $default_shippment_providers ) {
38
- echo wp_kses_post( $this->get_provider_html( $default_shippment_providers, 'all' ) );
39
- }
40
- ?>
41
- </div>
42
-
43
- <input type="hidden" id="nonce_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_shipping_provider' ) ); ?>">
44
 
45
- <div id="" class="popupwrapper edit_provider_popup" style="display:none;">
46
- <div class="popuprow">
47
- <div class="popup_header">
48
- <h3 class="popup_title"><?php esc_html_e( 'Edit Shipping Provider', 'woo-advanced-shipment-tracking'); ?></h2> - <h3 class="popup_title edit_provider_title"></h2>
49
- <span class="dashicons dashicons-no-alt popup_close_icon"></span>
50
- </div>
51
- <div class="popup_body">
52
- <form id="edit_provider_form" method="POST" class="edit_provider_form">
53
- <div class="form-field form-50">
54
- <label><?php esc_html_e( 'Provider Name', 'woo-advanced-shipment-tracking' ); ?></label>
55
- <input type="text" name="shipping_provider" class="shipping_provider" value="" placeholder="<?php esc_html_e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
56
- </div>
57
- <div class="form-field form-50 margin-0">
58
- <label><?php esc_html_e( 'Custom display name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( "The custom display name will show in the tracking info section on the customer order emails, my-account, and TrackShip's tracking page and email notifications", 'woo-advanced-shipment-tracking' ); ?>"></span> </label>
59
- <input type="text" name="shipping_display_name" class="shipping_display_name" value="" placeholder="<?php esc_html_e( 'White Label Provider Name', 'woo-advanced-shipment-tracking' ); ?>">
60
- </div>
61
- <div class="form-field api_provider_name_container">
62
- <label><?php esc_html_e( 'Custom API name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( 'Add API name aliases to map Shipping providers names with the provider names that are updated in the shipment tracking API by external shipping services', 'woo-advanced-shipment-tracking' ); ?>"></span></label>
63
- <div class="api_provider_div">
64
- <input type="text" name="api_provider_name[]" class="api_provider_name" value="" placeholder="<?php esc_html_e( 'API Name', 'woo-advanced-shipment-tracking' ); ?>">
65
- <?php do_action('add_more_api_provider'); ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  </div>
67
- </div>
68
- <div class="form-field form-50">
69
- <label><?php esc_html_e( 'Country', 'woo-advanced-shipment-tracking' ); ?></label>
70
- <select class="select wcast_shipping_country shipping_country" name="shipping_country">
71
- <option value=""><?php esc_html_e( 'Shipping Country', 'woo-advanced-shipment-tracking' ); ?></option>
72
- <option value="Global"><?php esc_html_e( 'Global', 'woo-advanced-shipment-tracking' ); ?></option>
73
- <?php foreach ( $countries as $key=>$val ) { ?>
74
- <option value="<?php esc_html_e( $key ); ?>" ><?php esc_html_e( $val, 'woo-advanced-shipment-tracking'); ?></option>
75
- <?php } ?>
76
- </select>
77
- </div>
78
- <div class="form-field">
79
- <label><?php esc_html_e( 'Custom URL', 'woo-advanced-shipment-tracking' ); ?></label>
80
- <input type="text" name="tracking_url" class="tracking_url" placeholder="Tracking URL">
81
- </div>
82
- <div class="form-field custom_provider_instruction">
83
- <p>
84
- <?php
85
- /* translators: %s: search WooCommerce plugin link */
86
- esc_html_e( 'You can use the variables %number%, %postal_code% and %country_code% in the URL, for more info, check our ', 'woo-advanced-shipment-tracking' );
87
- /* translators: %s: search WooCommerce plugin link */
88
- echo sprintf(__('<a href="%s" target="blank">documentation</a>', 'woo-advanced-shipment-tracking'), 'http://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider');
89
- ?>
90
- </p>
91
- </div>
92
- <input type="hidden" name="action" value="update_custom_shipment_provider">
93
- <input type="hidden" id="nonce_edit_shipping_provider" name="nonce_edit_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_edit_shipping_provider' ) ); ?>">
94
- <input type="hidden" name="provider_type" id="provider_type" value="">
95
- <input type="hidden" name="provider_id" id="provider_id" value="">
96
- <input type="submit" name="Submit" value="<?php esc_html_e( 'Update' , 'woo-advanced-shipment-tracking'); ?>" class="button-primary btn_ast2">
97
- <a href="javascript:void(0);" class="reset_default_provider"><?php esc_html_e( 'Reset' , 'woo-advanced-shipment-tracking'); ?></a>
98
- </form>
99
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
100
  </div>
101
- <div class="popupclose"></div>
102
- </div>
103
-
104
- <div id="" class="popupwrapper sync_provider_popup" style="display:none;">
105
- <div class="popuprow">
106
- <div class="popup_header">
107
- <h3 class="popup_title"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></h2>
108
- <span class="dashicons dashicons-no-alt popup_close_icon"></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
109
  </div>
110
- <div class="popup_body">
111
- <p class="sync_message"><?php esc_html_e( 'Syncing the shipping providers list add or updates the pre-set shipping providers and will not effect custom shipping providers.', 'woo-advanced-shipment-tracking'); ?></p>
112
- <ul class="synch_result">
113
- <li class="providers_added"><?php esc_html_e( 'Providers Added', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
114
- <li class="providers_updated"><?php esc_html_e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
115
- <li class="providers_deleted"><?php esc_html_e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
116
- </ul>
117
- <p class="reset_db_message" style="display:none;"><?php esc_html_e( 'Shipping providers database reset successfully.', 'woo-advanced-shipment-tracking'); ?></p>
118
- <fieldset class="reset_db_fieldset">
119
- <label><input type="checkbox" id="reset_tracking_providers" name="reset_tracking_providers" value="1"><?php esc_html_e( 'Reset providers database, it will reset all your shipping provider database', 'woo-advanced-shipment-tracking'); ?></label>
120
- </fieldset>
121
- <button class="sync_providers_btn button-primary btn_ast2"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></button>
122
- <button class="close_synch_popup button-primary btn_ast2"><?php esc_html_e( 'Close', 'woocommerce'); ?></button>
123
- <div class="spinner" style=""></div>
124
- </div>
125
- </div>
126
- <div class="popupclose"></div>
127
- </div>
128
  </section>
16
  });
17
  </script>
18
  <?php } ?>
19
+ <section id="content1" class="tab_section">
20
+ <div class="tab_container_without_bg">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
21
 
22
+ <div class="provider_top">
23
+ <div class="search_section">
24
+ <span class="dashicons dashicons-search search-icon"></span>
25
+ <input class="provider_search_bar" type="text" name="search_provider" id="search_provider" placeholder="<?php esc_html_e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
26
+ </div>
27
+
28
+ <div class="provider_settings">
29
+ <a href="javaScript:void(0);" class="provider_settings_icon upgrade_to_ast_pro"><span class="dashicons dashicons-plus-alt"></span></a>
30
+ <a href="javaScript:void(0);" class="sync_providers provider_settings_icon"><span class="dashicons dashicons-update"></span></a>
31
+ <input class="ast-tgl ast-tgl-flat" id="reset_providers" name="reset_providers" type="checkbox" value="1"/>
32
+ <label class="ast-tgl-btn" for="reset_providers"></label>
33
+ </div>
34
+ </div>
35
+
36
+ <div class="provider_list">
37
+ <?php
38
+ if ( $default_shippment_providers ) {
39
+ echo wp_kses_post( $this->get_provider_html( $default_shippment_providers, 'all' ) );
40
+ }
41
+ ?>
42
+ </div>
43
+
44
+ <input type="hidden" id="nonce_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_shipping_provider' ) ); ?>">
45
+
46
+ <div id="" class="popupwrapper edit_provider_popup" style="display:none;">
47
+ <div class="popuprow">
48
+ <div class="popup_header">
49
+ <h3 class="popup_title"><?php esc_html_e( 'Edit Shipping Provider', 'woo-advanced-shipment-tracking'); ?></h2> - <h3 class="popup_title edit_provider_title"></h2>
50
+ <span class="dashicons dashicons-no-alt popup_close_icon"></span>
51
+ </div>
52
+ <div class="popup_body">
53
+ <form id="edit_provider_form" method="POST" class="edit_provider_form">
54
+ <div class="form-field form-50">
55
+ <label><?php esc_html_e( 'Provider Name', 'woo-advanced-shipment-tracking' ); ?></label>
56
+ <input type="text" name="shipping_provider" class="shipping_provider" value="" placeholder="<?php esc_html_e( 'Shipping Provider', 'woo-advanced-shipment-tracking' ); ?>">
57
  </div>
58
+ <div class="form-field form-50 margin-0">
59
+ <label><?php esc_html_e( 'Custom display name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( "The custom display name will show in the tracking info section on the customer order emails, my-account, and TrackShip's tracking page and email notifications", 'woo-advanced-shipment-tracking' ); ?>"></span> </label>
60
+ <input type="text" name="shipping_display_name" class="shipping_display_name" value="" placeholder="<?php esc_html_e( 'White Label Provider Name', 'woo-advanced-shipment-tracking' ); ?>">
61
+ </div>
62
+ <div class="form-field api_provider_name_container">
63
+ <label><?php esc_html_e( 'Custom API name', 'woo-advanced-shipment-tracking' ); ?> <span class="woocommerce-help-tip tipTip" data-tip="<?php esc_html_e( 'Add API name aliases to map Shipping providers names with the provider names that are updated in the shipment tracking API by external shipping services', 'woo-advanced-shipment-tracking' ); ?>"></span></label>
64
+ <div class="api_provider_div">
65
+ <input type="text" name="api_provider_name[]" class="api_provider_name" value="" placeholder="<?php esc_html_e( 'API Name', 'woo-advanced-shipment-tracking' ); ?>">
66
+ <?php do_action('add_more_api_provider'); ?>
67
+ </div>
68
+ </div>
69
+ <div class="form-field form-50">
70
+ <label><?php esc_html_e( 'Country', 'woo-advanced-shipment-tracking' ); ?></label>
71
+ <select class="select wcast_shipping_country shipping_country" name="shipping_country">
72
+ <option value=""><?php esc_html_e( 'Shipping Country', 'woo-advanced-shipment-tracking' ); ?></option>
73
+ <option value="Global"><?php esc_html_e( 'Global', 'woo-advanced-shipment-tracking' ); ?></option>
74
+ <?php foreach ( $countries as $key=>$val ) { ?>
75
+ <option value="<?php esc_html_e( $key ); ?>" ><?php esc_html_e( $val, 'woo-advanced-shipment-tracking'); ?></option>
76
+ <?php } ?>
77
+ </select>
78
+ </div>
79
+ <div class="form-field">
80
+ <label><?php esc_html_e( 'Custom URL', 'woo-advanced-shipment-tracking' ); ?></label>
81
+ <input type="text" name="tracking_url" class="tracking_url" placeholder="Tracking URL">
82
+ </div>
83
+ <div class="form-field custom_provider_instruction">
84
+ <p>
85
+ <?php
86
+ /* translators: %s: search WooCommerce plugin link */
87
+ esc_html_e( 'You can use the variables %number%, %postal_code% and %country_code% in the URL, for more info, check our ', 'woo-advanced-shipment-tracking' );
88
+ /* translators: %s: search WooCommerce plugin link */
89
+ echo sprintf(__('<a href="%s" target="blank">documentation</a>', 'woo-advanced-shipment-tracking'), 'http://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider');
90
+ ?>
91
+ </p>
92
+ </div>
93
+ <input type="hidden" name="action" value="update_custom_shipment_provider">
94
+ <input type="hidden" id="nonce_edit_shipping_provider" name="nonce_edit_shipping_provider" value="<?php esc_html_e( wp_create_nonce( 'nonce_edit_shipping_provider' ) ); ?>">
95
+ <input type="hidden" name="provider_type" id="provider_type" value="">
96
+ <input type="hidden" name="provider_id" id="provider_id" value="">
97
+ <input type="submit" name="Submit" value="<?php esc_html_e( 'Update' , 'woo-advanced-shipment-tracking'); ?>" class="button-primary btn_ast2">
98
+ <a href="javascript:void(0);" class="reset_default_provider"><?php esc_html_e( 'Reset' , 'woo-advanced-shipment-tracking'); ?></a>
99
+ </form>
100
+ </div>
101
+ </div>
102
+ <div class="popupclose"></div>
103
  </div>
104
+
105
+ <div id="" class="popupwrapper sync_provider_popup" style="display:none;">
106
+ <div class="popuprow">
107
+ <div class="popup_header">
108
+ <h3 class="popup_title"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></h2>
109
+ <span class="dashicons dashicons-no-alt popup_close_icon"></span>
110
+ </div>
111
+ <div class="popup_body">
112
+ <p class="sync_message"><?php esc_html_e( 'Syncing the shipping providers list add or updates the pre-set shipping providers and will not effect custom shipping providers.', 'woo-advanced-shipment-tracking'); ?></p>
113
+ <ul class="synch_result">
114
+ <li class="providers_added"><?php esc_html_e( 'Providers Added', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
115
+ <li class="providers_updated"><?php esc_html_e( 'Providers Updated', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
116
+ <li class="providers_deleted"><?php esc_html_e( 'Providers Deleted', 'woo-advanced-shipment-tracking'); ?> - <span></span></li>
117
+ </ul>
118
+ <p class="reset_db_message" style="display:none;"><?php esc_html_e( 'Shipping providers database reset successfully.', 'woo-advanced-shipment-tracking'); ?></p>
119
+ <fieldset class="reset_db_fieldset">
120
+ <label><input type="checkbox" id="reset_tracking_providers" name="reset_tracking_providers" value="1"><?php esc_html_e( 'Reset providers database, it will reset all your shipping provider database', 'woo-advanced-shipment-tracking'); ?></label>
121
+ </fieldset>
122
+ <button class="sync_providers_btn button-primary btn_ast2"><?php esc_html_e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></button>
123
+ <button class="close_synch_popup button-primary btn_ast2"><?php esc_html_e( 'Close', 'woocommerce'); ?></button>
124
+ <div class="spinner" style=""></div>
125
+ </div>
126
  </div>
127
+ <div class="popupclose"></div>
128
+ </div>
129
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
130
  </section>
includes/views/admin_options_tools.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * Html code for tools tab
4
- */
5
- ?>
6
- <section id="content_tools" class="inner_tab_section">
7
- <div class="tab_inner_container">
8
- <div class="d_table" style="">
9
- <div class="trackship-notice bulk_shipment_status_success" style="display:none;">
10
- <p><?php esc_html_e('Tracking info sent to Trackship for all Orders.', 'woo-advanced-shipment-tracking'); ?></p>
11
- </div>
12
- <div class="outer_form_table get_shipment_status_tool">
13
- <table class="form-table heading-table">
14
- <tbody>
15
- <tr valign="top">
16
- <td>
17
- <h3 style=""><?php esc_html_e( 'Tools', 'woo-advanced-shipment-tracking' ); ?></h3>
18
- <p class="get_shipment_status_tool_description"><?php esc_html_e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
19
- </td>
20
- </tr>
21
- </tbody>
22
- </table>
23
-
24
- <?php
25
- $trackship = WC_Advanced_Shipment_Tracking_Trackship::get_instance();
26
- $admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
27
- $admin->get_html( $trackship->get_trackship_bulk_actions_data() );
28
- ?>
29
- </div>
30
- </div>
31
- </div>
32
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_options_trackship_integration.php CHANGED
@@ -9,6 +9,7 @@ wp_enqueue_script( 'trackship_script' );
9
  <div class="section-content trackship_section">
10
  <div class="">
11
  <div class="ts_col_inner">
 
12
  <h1 class="ts_landing_header">Your Post-Shipping &amp; Delivery Autopilot</h1>
13
  <p class="ts_landing_description">Trackship is a Multi-Carrier Shipment Tracking API that seamlessly integrates into your WooCommerce store and auto-tracks your shipments, automates your orders workflow, reduces the time spent on customer service and lets you provide a superior post-purchase experience to your customers.</p>
14
  <h3>Start for Free. 50 Free trackers for new accounts!</h3>
@@ -18,17 +19,10 @@ wp_enqueue_script( 'trackship_script' );
18
  <div class="">
19
  <div class="ts_col_inner ts_landing_banner">
20
  <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ts-header-banner.png">
21
- <span class="dashicons dashicons-video-alt3 open_ts_video"></span>
 
22
  </div>
23
  </div>
24
  </div>
25
- <div id="" class="popupwrapper ts_video_popup" style="display:none;">
26
- <div class="popuprow">
27
- <div class="videoWrapper">
28
- <iframe id="ts_video" src="https://www.youtube.com/embed/PhnqDorKN_c" frameborder="0" allowfullscreen></iframe>
29
- </div>
30
- </div>
31
- <div class="popupclose"></div>
32
- </div>
33
  </div>
34
  </section>
9
  <div class="section-content trackship_section">
10
  <div class="">
11
  <div class="ts_col_inner">
12
+ <img class="ts_landing_logo" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png">
13
  <h1 class="ts_landing_header">Your Post-Shipping &amp; Delivery Autopilot</h1>
14
  <p class="ts_landing_description">Trackship is a Multi-Carrier Shipment Tracking API that seamlessly integrates into your WooCommerce store and auto-tracks your shipments, automates your orders workflow, reduces the time spent on customer service and lets you provide a superior post-purchase experience to your customers.</p>
15
  <h3>Start for Free. 50 Free trackers for new accounts!</h3>
19
  <div class="">
20
  <div class="ts_col_inner ts_landing_banner">
21
  <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/ts-header-banner.png">
22
+
23
+ <a href="https://www.youtube.com/watch?v=PhnqDorKN_c" target="_blank" class="open_ts_video"><span class="dashicons dashicons-video-alt3"></span></a>
24
  </div>
25
  </div>
26
  </div>
 
 
 
 
 
 
 
 
27
  </div>
28
  </section>
includes/views/admin_status_notifications.php DELETED
@@ -1,193 +0,0 @@
1
- <section id="content_status_notifications" class="tab_section">
2
- <div class="tab_inner_container">
3
- <div class="outer_form_table ts_notifications_outer_table">
4
- <?php
5
- $ast = new WC_Advanced_Shipment_Tracking_Actions();
6
-
7
- $wcast_enable_late_shipments_admin_email = $ast->get_option_value_from_array( 'late_shipments_email_settings', 'wcast_enable_late_shipments_admin_email', '' );
8
-
9
- $n_type = isset( $_GET['type'] ) ? sanitize_text_field($_GET['type']) : 'email';
10
-
11
- $ts_notifications = $this->trackship_shipment_status_notifications_data();
12
- ?>
13
-
14
- <input id="tab_email_notifications" type="radio" name="ts_notification_tabs" class="inner_tab_input" data-type="email" <?php esc_html_e( ( 'email' == $n_type ) ? 'checked' : '' ); ?>>
15
- <label for="tab_email_notifications" class="inner_tab_label ts_tabs_label"><?php esc_html_e( 'Email Notifications', 'woo-advanced-shipment-tracking' ); ?></label>
16
-
17
- <input id="tab_sms_notifications" type="radio" name="ts_notification_tabs" class="inner_tab_input" data-type="sms" <?php esc_html_e( ( 'sms' == $n_type ) ? 'checked' : '' ); ?>>
18
- <label for="tab_sms_notifications" class="inner_tab_label ts_tabs_label"><?php esc_html_e( 'SMS Notifications', 'woo-advanced-shipment-tracking' ); ?></label>
19
-
20
- <section class="inner_tab_section shipment-status-email-section">
21
- <div class="custom_order_status_section">
22
- <table class="form-table shipment-status-email-table">
23
- <tbody>
24
- <?php
25
- foreach ( $ts_notifications as $key => $val ) {
26
- $ast_enable_email = $ast->get_option_value_from_array( $val['option_name'], $val['enable_status_name'], '' );
27
- ?>
28
- <tr class="<?php esc_html_e( ( 1 == $ast_enable_email ) ? 'enable' : 'disable' ); ?>">
29
- <td class="forminp status-label-column">
30
- <span class="shipment_status_toggle">
31
- <input type="hidden" name="<?php esc_html_e( $val['enable_status_name'] ); ?>" value="0"/>
32
- <input class="ast-tgl ast-tgl-flat" id="<?php esc_html_e( $val['enable_status_name'] ); ?>" name="<?php esc_html_e( $val['enable_status_name'] ); ?>" data-settings="<?php esc_html_e( $val['option_name'] ); ?>" type="checkbox" <?php esc_html_e( ( 1 == $ast_enable_email ) ? 'checked' : '' ); ?> value="yes"/>
33
- <label class="ast-tgl-btn ast-tgl-btn-green" for="<?php esc_html_e( $val['enable_status_name'] ); ?>"></label>
34
- </span>
35
- <button class="button button-primary shipment-status-label <?php esc_html_e( $val['slug'] ); ?>"><?php esc_html_e( $val['title'] ); ?></button>
36
- </td>
37
- <td class="forminp">
38
- <a class="button-primary btn_ts_transparent edit_customizer_a" href="<?php esc_html_e( $val['customizer_url'] ); ?>"><?php esc_html_e('Customize', 'woo-advanced-shipment-tracking'); ?></a>
39
- </td>
40
- </tr>
41
- <?php } ?>
42
- </tbody>
43
- </table>
44
- </div>
45
-
46
- <?php do_action( 'after_shipment_status_email_notifications' ); ?>
47
-
48
- <form method="post" id="trackship_late_shipments_form" action="" enctype="multipart/form-data">
49
- <div class="custom_order_status_section">
50
- <table class="form-table heading-table">
51
- <tbody>
52
- <tr valign="top">
53
- <td>
54
- <h3 style=""><?php esc_html_e( 'Admin Notifications', 'woo-advanced-shipment-tracking' ); ?></h3>
55
- </td>
56
- </tr>
57
- </tbody>
58
- </table>
59
- <table class="form-table shipment-status-email-table">
60
- <tbody>
61
- <tr class="<?php esc_html_e( ( 1 == $wcast_enable_late_shipments_admin_email ) ? 'enable' : 'disable' ); ?>">
62
- <td class="forminp status-label-column">
63
- <span class="shipment_status_toggle">
64
- <input type="hidden" name="wcast_enable_late_shipments_admin_email" value="0"/>
65
- <input class="ast-tgl ast-tgl-flat" id="wcast_enable_late_shipments_admin_email" name="wcast_enable_late_shipments_admin_email" data-settings="late_shipments_email_settings" type="checkbox" <?php esc_html_e( ( 1 == $wcast_enable_late_shipments_admin_email ) ? 'checked' : '' ); ?> value="1"/>
66
- <label class="ast-tgl-btn ast-tgl-btn-green" for="wcast_enable_late_shipments_admin_email"></label>
67
- </span>
68
- <button type="button" class="button button-primary shipment-status-label late-shipments"><?php esc_html_e('Late Shipments', 'woo-advanced-shipment-tracking'); ?></button>
69
- </td>
70
- <td class="forminp">
71
- <a class="edit_customizer_a late_shipments_a button-primary btn_ts_transparent" href="javascript:void(0);"><?php esc_html_e('Customize', 'woo-advanced-shipment-tracking'); ?></a>
72
- </td>
73
- </tr>
74
- </tbody>
75
- </table>
76
- </div>
77
- <?php
78
- $late_shipments_email_settings = get_option('late_shipments_email_settings');
79
- $wcast_late_shipments_days = isset( $late_shipments_email_settings['wcast_late_shipments_days'] ) ? $late_shipments_email_settings['wcast_late_shipments_days'] : '';
80
- $wcast_late_shipments_email_to = isset( $late_shipments_email_settings['wcast_late_shipments_email_to'] ) ? $late_shipments_email_settings['wcast_late_shipments_email_to'] : '';
81
- $wcast_late_shipments_email_subject = isset( $late_shipments_email_settings['wcast_late_shipments_email_subject'] ) ? $late_shipments_email_settings['wcast_late_shipments_email_subject'] : '';
82
- $wcast_late_shipments_email_content = isset( $late_shipments_email_settings['wcast_late_shipments_email_content'] ) ? $late_shipments_email_settings['wcast_late_shipments_email_content'] : '';
83
- $wcast_late_shipments_trigger_alert = isset( $late_shipments_email_settings['wcast_late_shipments_trigger_alert'] ) ? $late_shipments_email_settings['wcast_late_shipments_trigger_alert'] : '';
84
- $wcast_late_shipments_daily_digest_time = isset( $late_shipments_email_settings['wcast_late_shipments_daily_digest_time'] ) ? $late_shipments_email_settings['wcast_late_shipments_daily_digest_time'] : '';
85
- ?>
86
- <div class="custom_order_status_section">
87
- <table class="form-table late-shipments-email-content-table hide_table">
88
- <tr class="">
89
- <th scope="row" class="titledesc">
90
- <label for=""><?php esc_html_e('Late Shipment Days', 'woo-advanced-shipment-tracking'); ?></label>
91
- </th>
92
- <td class="forminp">
93
- <fieldset>
94
- <input class="input-text" type="number" name="wcast_late_shipments_days" id="wcast_late_shipments_days" min="1" value="<?php esc_html_e( $wcast_late_shipments_days ); ?>">
95
- </fieldset>
96
- </td>
97
- </tr>
98
- <tr class="">
99
- <th scope="row" class="titledesc">
100
- <label for=""><?php esc_html_e('Recipient(s)', 'woocommerce'); ?></label>
101
- </th>
102
- <td class="forminp">
103
- <fieldset>
104
- <input class="input-text regular-input " type="text" name="wcast_late_shipments_email_to" id="wcast_late_shipments_email_to" placeholder="<?php esc_html_e('E.g. {admin_email}, admin@example.org', 'woo-advanced-shipment-tracking'); ?>" value="<?php esc_html_e( $wcast_late_shipments_email_to ); ?>">
105
- </fieldset>
106
- </td>
107
- </tr>
108
- <tr class="">
109
- <th scope="row" class="titledesc">
110
- <label for=""><?php esc_html_e('Subject', 'woocommerce'); ?></label>
111
- </th>
112
- <td class="forminp">
113
- <fieldset>
114
- <input class="input-text regular-input " type="text" name="wcast_late_shipments_email_subject" id="wcast_late_shipments_email_subject" placeholder="<?php esc_html_e('Late shipment for order #{order_number}', 'woo-advanced-shipment-tracking'); ?>" value="<?php esc_html_e( $wcast_late_shipments_email_subject ); ?>">
115
- </fieldset>
116
- </td>
117
- </tr>
118
- <tr class="">
119
- <th scope="row" class="titledesc">
120
- <label for=""><?php esc_html_e('Email content', 'woo-advanced-shipment-tracking'); ?></label>
121
- </th>
122
- <td class="forminp">
123
- <fieldset>
124
- <textarea name="wcast_late_shipments_email_content" id="wcast_late_shipments_email_content" placeholder="<?php esc_html_e('This order was shipped {shipment_length} days ago, the shipment status is {shipment_status} and its est. delivery date is {est_delivery_date}.', 'woo-advanced-shipment-tracking'); ?>"><?php esc_html_e( $wcast_late_shipments_email_content ); ?></textarea>
125
- </fieldset>
126
- <span><?php esc_html_e('Available variables:', 'woo-advanced-shipment-tracking'); ?> {site_title} {admin_email} {customer_first_name} {customer_last_name} {customer_company_name} {customer_username} {order_number} {shipment_length} {shipment_status} {est_delivery_date}</span>
127
- </td>
128
- </tr>
129
- <?php
130
- $send_time_array = array();
131
- for ( $hour = 0; $hour < 24; $hour++ ) {
132
- for ( $min = 0; $min < 60; $min = $min + 30 ) {
133
- $this_time = gmdate( 'H:i', strtotime( "$hour:$min" ) );
134
- $send_time_array[ $this_time ] = $this_time;
135
- }
136
- }
137
- ?>
138
- <tr class="">
139
- <th scope="row" class="titledesc">
140
- <label for=""><?php esc_html_e('Trigger Alert', 'woo-advanced-shipment-tracking'); ?></label>
141
- </th>
142
- <td class="forminp">
143
- <label class="" for="trigger_alert_as_it_happens">
144
- <input type="radio" id="trigger_alert_as_it_happens" name="wcast_late_shipments_trigger_alert" value="as_it_happens" <?php esc_html_e( ( 'as_it_happens' == $wcast_late_shipments_trigger_alert ) ? 'checked' : '' ); ?>>
145
- <span class=""><?php esc_html_e('As it Happens', 'woo-advanced-shipment-tracking'); ?></span>
146
- </label>
147
- <label class="" for="trigger_alert_daily_digest_on">
148
- <input type="radio" id="trigger_alert_daily_digest_on" name="wcast_late_shipments_trigger_alert" value="daily_digest_on" <?php esc_html_e( ( 'daily_digest_on' == $wcast_late_shipments_trigger_alert ) ? 'checked' : '' ); ?>>
149
- <span class=""><?php esc_html_e('Daily Digest on', 'woo-advanced-shipment-tracking'); ?></span>
150
- </label>
151
- <select class="select daily_digest_time" name="wcast_late_shipments_daily_digest_time">
152
- <?php foreach ( (array) $send_time_array as $key1 => $val1 ) { ?>
153
- <option <?php esc_html_e( ( $wcast_late_shipments_daily_digest_time == $key1 ) ? 'selected' : '' ); ?> value="<?php esc_html_e( $key1 ); ?>" ><?php esc_html_e( $val1 ); ?></option>
154
- <?php } ?>
155
- </select>
156
- </td>
157
- </tr>
158
- <tr>
159
- <td colspan="2">
160
- <button name="save" class="button-primary woocommerce-save-button btn_green2 btn_large" type="submit" value="Save changes"><?php esc_html_e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
161
- <div class="spinner"></div>
162
- <?php wp_nonce_field( 'ts_late_shipments_email_form', 'ts_late_shipments_email_form_nonce' ); ?>
163
- <input type="hidden" name="action" value="ts_late_shipments_email_form_update">
164
- </td>
165
- </tr>
166
- </table>
167
- </div>
168
- </form>
169
- </section>
170
- <section class="inner_tab_section shipment-status-sms-section">
171
- <?php
172
- if ( !class_exists('SMS_for_WooCommerce') ) {
173
- ?>
174
- <div class="smswoo_notification_section">
175
- <div class="ast-row">
176
- <div class="ast-col as-col-4">
177
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/smswoo-addons-icon.jpg">
178
- </div>
179
- <div class="ast-col as-col-8">
180
- <h3>SMSWOO – SMS for WooCommerce</h3>
181
- <p>The SMSWOO plugin connects your WooCommerce store with SMS API service providers and lets you send your customers automated SMS notifications about order & delivery updates. You can also send SMS messages to store admins about new orders, refunds, low stock, and you can even manually send custom SMS text messages to customers from the order admin.</p>
182
- <a href="https://www.zorem.com/product/sms-for-woocommerce/" class="button button-primary btn_ast2" target="blank">From $79</a>
183
- </div>
184
- </div>
185
- </div>
186
- <?php
187
- }
188
- do_action( 'shipment_status_sms_section' );
189
- ?>
190
- </section>
191
- </div>
192
- </div>
193
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/admin_trackship_dashboard.php DELETED
@@ -1,155 +0,0 @@
1
- <section id="content_trackship_dashboard" class="tab_section">
2
- <div class="tab_inner_container">
3
- <?php
4
- if ( $completed_order_with_tracking > 0 || $completed_order_with_zero_balance > 0 || $completed_order_with_do_connection > 0 ) {
5
- $total_orders = $completed_order_with_tracking + $completed_order_with_zero_balance + $completed_order_with_do_connection;
6
- ?>
7
- <div class="trackship-notice">
8
- <p>
9
- <?php
10
- /* translators: %s: replace with total_orders */
11
- echo sprintf( esc_html__( 'We detected %s Shipped orders from the last 30 days that were not sent to TrackShip, you can bulk send them to TrackShip', 'woo-advanced-shipment-tracking' ), esc_html( $total_orders ) );
12
- ?>
13
- </p>
14
- <button class="button-primary btn_green2 bulk_shipment_status_button" wp_nonce="<?php esc_html_e( wp_create_nonce( 'bulk_shipment_status' ) ); ?>" ><?php esc_html_e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></button>
15
- </div>
16
- <div class="trackship-notice bulk_shipment_status_success" style="display:none;">
17
- <p><?php esc_html_e('Tracking info sent to Trackship for all Orders.', 'woo-advanced-shipment-tracking'); ?></p>
18
- </div>
19
- <?php } ?>
20
- <div class="trackship_status_section first">
21
- <div class="outer_form_table">
22
- <table class="form-table heading-table">
23
- <tbody>
24
- <tr valign="top">
25
- <td><h3 style=""><?php esc_html_e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
26
- </tr>
27
- </tbody>
28
- </table>
29
- <table class="form-table trackship_status_table">
30
- <tbody>
31
- <tr valign="top">
32
- <td scope="row" class="titledesc"><label><strong><?php esc_html_e( 'Connection Status', 'woo-advanced-shipment-tracking' ); ?></strong></label></td>
33
- <td class="forminp">
34
- <a href="https://trackship.info/my-account/?utm_source=wpadmin&utm_medium=sidebar&utm_campaign=upgrade" target="_blank" class="button-primary btn_green2 btn_icon api_connected"><span class="dashicons dashicons-yes"></span><?php esc_html_e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></a>
35
- </td>
36
- </tr>
37
- </tbody>
38
- </table>
39
- </div>
40
- </div>
41
-
42
- <div class="trackship_status_section last">
43
- <div class="outer_form_table">
44
- <table class="form-table heading-table">
45
- <tbody>
46
- <tr valign="top">
47
- <td><h3 style=""><?php esc_html_e( 'TrackShip Account', 'woo-advanced-shipment-tracking' ); ?></h3></td>
48
- </tr>
49
- </tbody>
50
- </table>
51
- <table class="form-table trackship_status_table">
52
- <tbody>
53
- <tr valign="top">
54
- <td scope="row" class="titledesc">
55
- <label><?php esc_html_e( 'Subscription: ', 'woo-advanced-shipment-tracking' ); ?></label><strong><?php esc_html_e( isset( $plan_data->subscription_plan ) ? $plan_data->subscription_plan : '' ); ?></strong></br>
56
- <label><?php esc_html_e( 'Trackers Balance: ', 'woo-advanced-shipment-tracking' ); ?></label><strong><?php esc_html_e( get_option('trackers_balance') ); ?></strong>
57
- </td>
58
- <td class="forminp">
59
- <a href="https://trackship.info/my-account/?utm_source=wpadmin&utm_medium=ts_settings&utm_campaign=dashboard" class="button-primary btn_ts_transparent" target="blank"><?php esc_html_e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
60
- </td>
61
- </tr>
62
- </tbody>
63
- </table>
64
- </div>
65
- </div>
66
-
67
- <div class="clearfix"></div>
68
- </div>
69
- <div class="tab_inner_container">
70
- <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
71
- <div class="outer_form_table">
72
- <table class="form-table heading-table">
73
- <tbody>
74
- <tr valign="top">
75
- <td>
76
- <h3 style=""><?php esc_html_e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
77
- <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form_nonce' ); ?>
78
- <input type="hidden" name="action" value="wc_ast_trackship_form_update">
79
- </td>
80
- </tr>
81
- </tbody>
82
- </table>
83
- <?php $ast_admin->get_html_ul( $this->get_trackship_general_data() ); ?>
84
- </div>
85
- </form>
86
-
87
- <form method="post" id="wc_ast_trackship_automation_form" action="" enctype="multipart/form-data">
88
- <div class="outer_form_table">
89
- <table class="form-table heading-table">
90
- <tbody>
91
- <tr valign="top">
92
- <td>
93
- <h3 style=""><?php esc_html_e( 'Automation', 'woo-advanced-shipment-tracking' ); ?></h3>
94
- <?php wp_nonce_field( 'wc_ast_trackship_automation_form', 'wc_ast_trackship_automation_form_nonce' ); ?>
95
- <input type="hidden" name="action" value="wc_ast_trackship_automation_form_update">
96
- </td>
97
- </tr>
98
- </tbody>
99
- </table>
100
- <div class="custom_order_status_section">
101
- <table class="form-table order-status-table">
102
- <tbody>
103
- <tr valign="top" class="delivered_row <?php esc_html_e( !get_option('wc_ast_status_delivered') ? 'disable_row' : '' ); ?>">
104
- <td class="forminp">
105
- <input type="hidden" name="wc_ast_status_delivered" value="0"/>
106
- <input class="ast-tgl ast-tgl-flat ts_order_status_toggle" id="wc_ast_status_delivered" name="wc_ast_status_delivered" type="checkbox" <?php esc_html_e( get_option('wc_ast_status_delivered') ? 'checked' : '' ); ?> value="1"/>
107
- <label class="ast-tgl-btn ast-tgl-btn-green" for="wc_ast_status_delivered"></label>
108
- </td>
109
- <td class="forminp status-label-column">
110
- <span class="order-label wc-delivered">
111
- <?php
112
- if ( get_option('wc_ast_status_delivered') ) {
113
- esc_html_e( wc_get_order_status_name( 'delivered' ), 'woo-advanced-shipment-tracking' );
114
- } else {
115
- esc_html_e( 'Delivered', 'woo-advanced-shipment-tracking' );
116
- }
117
- ?>
118
- </span>
119
- </td>
120
- <td class="forminp">
121
- <fieldset>
122
- <input class="input-text regular-input color_input" type="text" name="wc_ast_status_label_color" id="wc_ast_status_label_color" style="" value="<?php esc_html_e( get_option('wc_ast_status_label_color', '#59c889' ) ); ?>" placeholder="">
123
- <select class="select ts_custom_order_color_select" id="wc_ast_status_label_font_color" name="wc_ast_status_label_font_color">
124
- <option value="#fff" <?php esc_html_e( get_option('wc_ast_status_label_font_color', '#fff') == '#fff' ? 'selected' : '' ); ?>><?php esc_html_e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
125
- <option value="#000" <?php esc_html_e( get_option('wc_ast_status_label_font_color', '#fff') == '#000' ? 'selected' : '' ); ?>><?php esc_html_e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
126
- </select>
127
- </fieldset>
128
- </td>
129
- </tr>
130
- </tbody>
131
- </table>
132
- </div>
133
- </div>
134
- </form>
135
- </div>
136
-
137
- <div class="tab_inner_container">
138
- <form method="post" id="trackship_tracking_page_form" action="" enctype="multipart/form-data">
139
- <div class="outer_form_table">
140
- <table class="form-table heading-table">
141
- <tbody>
142
- <tr valign="top">
143
- <td>
144
- <h3 style=""><?php esc_html_e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
145
- <?php wp_nonce_field( 'trackship_tracking_page_form', 'trackship_tracking_page_form_nonce' ); ?>
146
- <input type="hidden" name="action" value="trackship_tracking_page_form_update">
147
- </td>
148
- </tr>
149
- </tbody>
150
- </table>
151
- <?php $ast_admin->get_html_ul( $this->get_tracking_page_data() ); ?>
152
- </div>
153
- </form>
154
- </div>
155
- </section>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/front/layout1_tracking_details.php DELETED
@@ -1,218 +0,0 @@
1
- <?php
2
- if ( 1 == $hide_tracking_events ) {
3
- return;
4
- }
5
- ?>
6
- <div class="tracking-details" style="">
7
- <?php
8
- if ( 2 == $hide_tracking_events ) {
9
- if ( !empty( $tracking_details_by_date ) ) {
10
- ?>
11
-
12
- <div class="shipment_progress_heading_div">
13
- <h4 class="h4-heading text-uppercase"><?php esc_html_e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
14
- </div>
15
-
16
- <?php if ( !empty( $trackind_destination_detail_by_status_rev ) ) { ?>
17
-
18
- <div class="tracking_destination_details_by_date">
19
-
20
- <h4 style=""><?php esc_html_e( 'Destination Details', 'woo-advanced-shipment-tracking' ); ?></h4>
21
- <ul class="timeline new-details">
22
- <?php
23
- $a = 1;
24
- foreach ( $trackind_destination_detail_by_status_rev as $key => $value ) {
25
- if ( $a > 2 ) {
26
- break;
27
- }
28
- $date = gmdate('Y-m-d', strtotime($value->datetime));
29
- ?>
30
- <li>
31
- <strong>
32
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
33
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
34
- </strong>
35
- <p>
36
- <?php
37
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
38
- if ( null != $value->tracking_location->city ) {
39
- echo ' - ';
40
- }
41
- ?>
42
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
43
- </p>
44
- </li>
45
- <?php $a++; } ?>
46
- </ul>
47
-
48
- <ul class="timeline old-details" style="display:none;">
49
- <?php
50
- $a = 1;
51
- foreach ( $trackind_destination_detail_by_status_rev as $key => $value ) {
52
- if ( $a <= 2 ) {
53
- $a++;
54
- continue;
55
- }
56
- $date = gmdate('Y-m-d', strtotime($value->datetime));
57
- ?>
58
- <li>
59
- <strong>
60
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
61
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
62
- </strong>
63
- <p>
64
- <?php
65
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
66
- if ( null != $value->tracking_location->city ) {
67
- echo ' - ';
68
- }
69
- ?>
70
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
71
- </p>
72
- </li>
73
- <?php $a++; } ?>
74
- </ul>
75
- </div>
76
-
77
- <?php } ?>
78
-
79
- <div class="tracking_details_by_date">
80
-
81
- <?php if ( !empty( $trackind_destination_detail_by_status_rev ) ) { ?>
82
- <h4 class="" style=""><?php esc_html_e( 'Origin Details', 'woo-advanced-shipment-tracking' ); ?></h4>
83
- <?php } ?>
84
-
85
- <ul class="timeline new-details">
86
- <?php
87
- $a = 1;
88
- foreach ( $trackind_detail_by_status_rev as $key => $value ) {
89
- if ( $a > 2) {
90
- break;
91
- }
92
- $date = gmdate( 'Y-m-d', strtotime( $value->datetime ) );
93
- ?>
94
- <li>
95
- <strong>
96
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
97
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
98
- </strong>
99
- <p>
100
- <?php
101
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
102
- if ( null != $value->tracking_location->city ) {
103
- echo ' - ';
104
- }
105
- ?>
106
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
107
- </p>
108
- </li>
109
- <?php $a++; } ?>
110
- </ul>
111
-
112
- <ul class="timeline old-details" style="display:none;">
113
- <?php
114
- $a = 1;
115
- foreach ( $trackind_detail_by_status_rev as $key => $value ) {
116
- if ( $a <= 2 ) {
117
- $a++;
118
- continue;
119
- }
120
- $date = gmdate( 'Y-m-d', strtotime( $value->datetime ) );
121
- ?>
122
- <li>
123
- <strong>
124
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
125
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
126
- </strong>
127
- <p>
128
- <?php
129
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
130
- if ( null != $value->tracking_location->city ) {
131
- echo ' - ';
132
- }
133
- ?>
134
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
135
- </p>
136
- </li>
137
- <?php $a++; } ?>
138
- </ul>
139
-
140
- </div>
141
-
142
- <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php esc_html_e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
143
- <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
144
- <?php
145
- }
146
- } else {
147
-
148
- if ( !empty( $tracking_details_by_date ) ) {
149
- ?>
150
-
151
- <div class="shipment_progress_heading_div">
152
- <h4 class="h4-heading text-uppercase"><?php esc_html_e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
153
- </div>
154
-
155
- <?php if ( !empty( $trackind_destination_detail_by_status_rev ) ) { ?>
156
-
157
- <div class="tracking_destination_details_by_date">
158
-
159
- <h4 style=""><?php esc_html_e( 'Destination Details', 'woo-advanced-shipment-tracking' ); ?></h4>
160
- <ul class="timeline">
161
-
162
- <?php
163
- foreach ( $trackind_destination_detail_by_status_rev as $key => $value ) {
164
- $date = gmdate('Y-m-d', strtotime($value->datetime));
165
- ?>
166
- <li>
167
- <strong>
168
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
169
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
170
- </strong>
171
- <p>
172
- <?php
173
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
174
- if ( null != $value->tracking_location->city ) {
175
- echo ' - ';
176
- }
177
- ?>
178
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
179
- </p>
180
- </li>
181
- <?php } ?>
182
-
183
- </ul>
184
- </div>
185
-
186
- <?php } ?>
187
-
188
- <div class="tracking_details_by_date">
189
-
190
- <?php if ( !empty( $trackind_destination_detail_by_status_rev ) ) { ?>
191
- <h4 class="" style=""><?php esc_html_e( 'Origin Details', 'woo-advanced-shipment-tracking' ); ?></h4>
192
- <?php } ?>
193
-
194
- <ul class="timeline">
195
- <?php
196
- foreach ( $trackind_detail_by_status_rev as $key => $value ) {
197
- $date = gmdate( 'Y-m-d', strtotime( $value->datetime ) );
198
- ?>
199
- <li>
200
- <strong>
201
- <?php esc_html_e( date_i18n( get_option( 'date_format' ), strtotime($date) ) ); ?>
202
- <?php esc_html_e( date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) ); ?>
203
- </strong>
204
- <p>
205
- <?php
206
- esc_html_e( apply_filters( 'trackship_tracking_event_description', $value->message ) );
207
- if ( null != $value->tracking_location->city ) {
208
- echo ' - ';
209
- }
210
- ?>
211
- <span><?php esc_html_e( apply_filters( 'trackship_tracking_event_location', $value->tracking_location->city ) ); ?></span>
212
- </p>
213
- </li>
214
- <?php } ?>
215
- </ul>
216
- </div>
217
- <?php } } ?>
218
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/front/preview_tracking_page.php DELETED
@@ -1,136 +0,0 @@
1
- <style>
2
- html{
3
- background-color:#fff;
4
- margin-top:0px !important;
5
- }
6
- .col.tracking-detail{
7
- margin: 50px auto 100px;
8
- }
9
- .customize-partial-edit-shortcut-button {display: none;}
10
- <?php if ( $border_color ) { ?>
11
- .col.tracking-detail{
12
- border: 1px solid <?php esc_html_e( $border_color ); ?>;
13
- }
14
- body .col.tracking-detail .shipment-header{
15
- border-bottom: 1px solid <?php esc_html_e( $border_color ); ?>;
16
- }
17
- body .col.tracking-detail .trackship_branding{
18
- border-top: 1px solid <?php esc_html_e( $border_color ); ?>;
19
- }
20
- <?php } ?>
21
- <?php if ( $background_color ) { ?>
22
- body .col.tracking-detail{
23
- background: <?php esc_html_e( $background_color ); ?>;
24
- }
25
- <?php } ?>
26
- <?php if ( $hide_tracking_provider_image ) { ?>
27
- .provider_image_div{display:none;}
28
- <?php } ?>
29
- <?php if ( $wc_ast_link_to_shipping_provider ) { ?>
30
- .tracking_number_div ul li > strong{display:none;}
31
- <?php } else { ?>
32
- .tracking_number_div ul li > a{display:none;}
33
- <?php } ?>
34
- </style>
35
-
36
- <div class="tracking-detail col">
37
-
38
- <div class="shipment-header">
39
- <p class="shipment_heading"><?php esc_html_e( 'Shipment', 'woo-advanced-shipment-tracking' ); ?></p>
40
- <span><?php esc_html_e( 'Order', 'woocommerce' ); ?> <strong>#14696 </strong></span>
41
- </div>
42
-
43
- <div class="tracking-header">
44
-
45
- <div class="provider_image_div" style="">
46
- <img class="provider_image" src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/usps.png?v=3.1.1">
47
- </div>
48
-
49
- <div class="tracking_number_div">
50
- <ul>
51
- <li>
52
- USPS:
53
- <a href="https://tools.usps.com/go/TrackConfirmAction_input?qtc_tLabels1=9410803699300126968507" target="blank"><strong>9410803699300126968507</strong></a>
54
- <strong>9410803699300126968507</strong>
55
- </li>
56
- </ul>
57
- </div>
58
-
59
- <h1 class="shipment_status_heading out_for_delivery">Out For Delivery</h1>
60
-
61
- <span class="est_delivery_date">Est. Delivery Date: <strong>Thursday, Oct 01</strong></span>
62
- </div>
63
-
64
-
65
- <div class="tracker-progress-bar <?php esc_html_e( ( 't_layout_1' == $tracking_page_layout ) ? 'tracking_layout_1' : '' ); ?>">
66
- <div class="progress">
67
- <div class="progress-bar out_for_delivery" style="width: 67%;"></div>
68
- </div>
69
- </div>
70
-
71
- <div class="tracking-details" style="<?php esc_html_e( ( 1 == $hide_tracking_events ) ? 'display:none' : '' ); ?>">
72
-
73
- <div class="shipment_progress_heading_div">
74
- <h4 class="h4-heading text-uppercase">Tracking Details</h4>
75
- </div>
76
- <?php if ( 0 == $hide_tracking_events ) { ?>
77
- <div class="tracking_details_by_date">
78
- <ul class="timeline">
79
- <li>
80
- <strong>October 1, 2020 07:59</strong>
81
- <p>Out for Delivery, Expected Delivery by 8:00pm - EAST HARTFORD, CT - <span>EAST HARTFORD</span></p>
82
- </li>
83
- <li>
84
- <strong>October 1, 2020 07:48</strong>
85
- <p>Arrived at Post Office - HARTFORD, CT - <span>HARTFORD</span></p>
86
- </li>
87
- <li>
88
- <strong>October 1, 2020 00:10</strong>
89
- <p>Arrived at USPS Regional Destination Facility - SPRINGFIELD MA NETWORK DISTRIBUTION CENTER, - <span>SPRINGFIELD MA NETWORK DISTRIBUTION CENTER</span></p>
90
- </li>
91
- <li>
92
- <strong>September 30, 2020 00:00</strong>
93
- <p>In Transit to Next Facility<span></span></p>
94
- </li>
95
- <li>
96
- <strong>September 29, 2020 13:12</strong>
97
- <p>USPS in possession of item - SHELDON, WI - <span>SHELDON</span></p>
98
- </li>
99
- </ul>
100
- </div>
101
- <?php } elseif ( 2 == $hide_tracking_events ) { ?>
102
- <div class="tracking_details_by_date">
103
- <ul class="timeline new-details">
104
- <li>
105
- <strong>October 1, 2020 07:59</strong>
106
- <p>Out for Delivery, Expected Delivery by 8:00pm - EAST HARTFORD, CT - <span>EAST HARTFORD</span></p>
107
- </li>
108
- <li>
109
- <strong>October 1, 2020 07:48</strong>
110
- <p>Arrived at Post Office - HARTFORD, CT - <span>HARTFORD</span></p>
111
- </li>
112
- </ul>
113
- <ul class="timeline old-details" style="display:none;">
114
- <li>
115
- <strong>October 1, 2020 00:10</strong>
116
- <p>Arrived at USPS Regional Destination Facility - SPRINGFIELD MA NETWORK DISTRIBUTION CENTER, - <span>SPRINGFIELD MA NETWORK DISTRIBUTION CENTER</span></p>
117
- </li>
118
- <li>
119
- <strong>September 30, 2020 00:00</strong>
120
- <p>In Transit to Next Facility<span></span></p>
121
- </li>
122
- <li>
123
- <strong>September 29, 2020 13:12</strong>
124
- <p>USPS in possession of item - SHELDON, WI - <span>SHELDON</span></p>
125
- </li>
126
- </ul>
127
- </div>
128
- <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php esc_html_e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
129
- <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php esc_html_e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
130
- <?php } ?>
131
-
132
- </div>
133
- <div class="trackship_branding" style="">
134
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank"><img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/trackship-logo.png"></a></p>
135
- </div>
136
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/front/tracking_page_header.php DELETED
@@ -1,32 +0,0 @@
1
- <div class="tracking-header">
2
- <?php do_action( 'trackship_tracking_header_before', $order_id, $tracker, $item['formatted_tracking_provider'], $item['tracking_number'] ); ?>
3
- <div class="provider_image_div" style="<?php esc_html_e( ( 1 == $hide_tracking_provider_image ) ? 'display:none' : '' ); ?>">
4
- <img class="provider_image" src="<?php esc_html_e( $item['tracking_provider_image'] ); ?>">
5
- </div>
6
- <div class="tracking_number_div">
7
- <ul>
8
- <li>
9
- <?php esc_html_e( apply_filters( 'ast_provider_title', esc_html( $item['formatted_tracking_provider'] ) ) ); ?>:</span>
10
- <?php if ( 1 == $wc_ast_link_to_shipping_provider ) { ?>
11
- <a href="<?php esc_html_e( $item['formatted_tracking_link'] ); ?>" target="blank"><strong><?php esc_html_e( $item['tracking_number'] ); ?></strong></a>
12
- <?php } else { ?>
13
- <strong><?php esc_html_e( $item['tracking_number'] ); ?></strong>
14
- <?php } ?>
15
- </li>
16
- </ul>
17
- </div>
18
- <h1 class="shipment_status_heading <?php esc_html_e( $tracker->ep_status ); ?>">
19
- <?php esc_html_e( apply_filters( 'trackship_status_filter', $tracker->ep_status ) ); ?>
20
- </h1>
21
- <span class="est_delivery_date">
22
- <?php esc_html_e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
23
- <?php
24
- if ( $tracker->est_delivery_date ) {
25
- echo esc_html( date_i18n( 'l, M d', strtotime( $tracker->est_delivery_date ) ) );
26
- } else {
27
- echo 'N/A';
28
- }
29
- ?>
30
- </strong>
31
- </span>
32
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/views/integrations_admin_options.php CHANGED
@@ -1,26 +1,25 @@
1
  <section id="integrations_content" class="tab_section">
2
-
3
- <h1 class="tab_section_heading clear_spacing"><?php esc_html_e( 'Integrations', 'woo-advanced-shipment-tracking' ); ?></h1>
4
- <p><?php esc_html_e( 'Enable integrations with shipping services and plugins', 'woo-advanced-shipment-tracking' ); ?></p>
5
- <div class="integration-grid-row">
6
- <?php
7
- foreach ( $this->integrations_settings_options() as $id => $array ) {
8
- $tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
9
- $disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
10
- ?>
11
- <div class="grid-item">
12
- <div class="grid-item-wrapper">
13
- <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/<?php esc_html_e( $array['img'] ); ?>"">
14
- <div class="grid-img-bottom">
15
- <span class="ast-tgl-btn-parent">
16
- <input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
17
- <input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" value="1" <?php esc_html_e( $disabled ); ?>/>
18
- <label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?> upgrade_to_ast_pro" for="<?php esc_html_e( $id ); ?>"></label>
19
- </span>
20
- <a class="integration-more-info" href="https://www.zorem.com/docs/ast-pro/integrations/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
21
  </div>
22
  </div>
 
23
  </div>
24
- <?php } ?>
25
- </div>
26
  </section>
1
  <section id="integrations_content" class="tab_section">
2
+ <div class="tab_container_without_bg">
3
+ <div class="integration-grid-row grid-row">
4
+ <?php
5
+ foreach ( $this->integrations_settings_options() as $id => $array ) {
6
+ $tgl_class = isset( $array['tgl_color'] ) ? 'ast-tgl-btn-green' : '';
7
+ $disabled = isset( $array['disabled'] ) && true == $array['disabled'] ? 'disabled' : '';
8
+ ?>
9
+ <div class="grid-item">
10
+ <div class="grid-item-wrapper">
11
+ <img src="<?php echo esc_url( wc_advanced_shipment_tracking()->plugin_dir_url() ); ?>assets/images/<?php esc_html_e( $array['img'] ); ?>">
12
+ <div class="grid-img-bottom">
13
+ <span class="ast-tgl-btn-parent">
14
+ <input type="hidden" name="<?php esc_html_e( $id ); ?>" value="0"/>
15
+ <input class="ast-tgl ast-tgl-flat ast-settings-toggle" id="<?php esc_html_e( $id ); ?>" name="<?php esc_html_e( $id ); ?>" type="checkbox" value="1" <?php esc_html_e( $disabled ); ?>/>
16
+ <label class="ast-tgl-btn <?php esc_html_e( $tgl_class ); ?> upgrade_to_ast_pro" for="<?php esc_html_e( $id ); ?>"></label>
17
+ </span>
18
+ <a class="integration-more-info" href="https://www.zorem.com/docs/ast-pro/integrations/" target="blank"><?php esc_html_e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a>
19
+ </div>
 
20
  </div>
21
  </div>
22
+ <?php } ?>
23
  </div>
24
+ </div>
 
25
  </section>
lang/woo-advanced-shipment-tracking-bg_BG.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-bg_BG.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-06-22 09:31+0000\n"
7
- "Last-Translator: John\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,22 +12,23 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
- #: includes/views/admin_options_shipping_provider.php:83
 
18
  #, php-format
19
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
20
  msgstr "документация"
21
 
22
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1712
23
  msgid "Actions"
24
  msgstr "Действия"
25
 
26
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1388
27
- msgid "Active Shipments"
28
- msgstr "Активни пратки"
29
 
30
- #: includes/views/admin_options_shipping_provider.php:56
31
  msgid ""
32
  "Add API name aliases to map Shipping providers names with the provider names "
33
  "that are updated in the shipment tracking API by external shipping services"
@@ -36,8 +37,8 @@ msgstr ""
36
  "на доставки с имена на доставчици, които се актуализират в API за "
37
  "проследяване на пратки от външни служби за доставка"
38
 
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1700
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1833
41
  msgid "Add Custom Provider"
42
  msgstr "Добавете персонализиран доставчик"
43
 
@@ -53,571 +54,487 @@ msgstr ""
53
  "поръчки. Информация за проследяване на пратки ще се появи в акаунтите на "
54
  "клиентите (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce"
55
 
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:650
57
  msgid "add the [wcast-track-order] shortcode in the selected page."
58
  msgstr "добавете шорткода [wcast-track-order] в избраната страница."
59
 
60
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
61
  msgid "Add Tracking"
62
  msgstr "Добавете проследяване"
63
 
64
- #: includes/class-wc-advanced-shipment-tracking-settings.php:415
65
  msgid "Add Tracking - order\t"
66
  msgstr "Добавяне на проследяване - поръчка"
67
 
68
- #: includes/class-wc-advanced-shipment-tracking.php:515
69
  msgid "Add Tracking Info"
70
  msgstr "Добавяне на информация за проследяване"
71
 
72
- #: includes/views/admin_options_settings.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  msgid "Add Tracking Options"
74
  msgstr "Добавете опции за проследяване"
75
 
76
- #: includes/class-wc-advanced-shipment-tracking-admin.php:768
77
  msgid "Add Tracking Order action"
78
  msgstr "Добавяне на действие за проследяване на поръчка"
79
 
80
- #: includes/customizer/class-wc-tracking-info-customizer.php:267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  msgid "Additional text after header"
82
  msgstr "Допълнителен текст след заглавието"
83
 
84
- #: includes/views/admin_status_notifications.php:52
85
- msgid "Admin Notifications"
86
- msgstr "Известия за администратори"
87
-
88
  #. Name of the plugin
89
  msgid "Advanced Shipment Tracking for WooCommerce"
90
  msgstr "Разширено проследяване на пратки за WooCommerce"
91
 
92
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
93
  msgid "After Order Details"
94
  msgstr "След подробности за поръчката"
95
 
96
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
97
  msgid "API aliases"
98
  msgstr "API псевдоними"
99
 
100
- #: includes/views/admin_options_shipping_provider.php:58
 
 
 
 
101
  msgid "API Name"
102
  msgstr "Име на API"
103
 
104
- #: includes/views/admin_status_notifications.php:141
105
- msgid "As it Happens"
106
- msgstr "Както се случва"
107
-
108
- #: includes/views/admin_trackship_dashboard.php:87
109
- msgid "Automation"
110
- msgstr "Automation"
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:283
113
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:863
114
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:941
115
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:74
116
- #: includes/customizer/class-wc-intransit-email-customizer.php:164
117
- msgid "Available For Pickup"
118
- msgstr "Предлага се за пикап"
119
-
120
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:153
121
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:177
122
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
123
- #: includes/customizer/class-wc-delivered-email-customizer.php:151
124
- #: includes/customizer/class-wc-delivered-email-customizer.php:175
125
- #: includes/customizer/class-wc-delivered-email-customizer.php:220
126
- #: includes/customizer/class-wc-failure-email-customizer.php:151
127
- #: includes/customizer/class-wc-failure-email-customizer.php:175
128
- #: includes/customizer/class-wc-failure-email-customizer.php:220
129
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
130
- #: includes/customizer/class-wc-intransit-email-customizer.php:252
131
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
132
- #: includes/customizer/class-wc-onhold-email-customizer.php:151
133
- #: includes/customizer/class-wc-onhold-email-customizer.php:175
134
- #: includes/customizer/class-wc-onhold-email-customizer.php:220
135
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:150
136
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:174
137
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:219
138
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:213
139
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:237
140
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:262
141
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:282
142
- #: includes/customizer/class-wc-returntosender-email-customizer.php:152
143
- #: includes/customizer/class-wc-returntosender-email-customizer.php:176
144
- #: includes/customizer/class-wc-returntosender-email-customizer.php:220
145
- #: includes/customizer/class-wc-tracking-info-customizer.php:355
146
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:163
147
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:187
148
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:212
149
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:232
150
- #: includes/customizer/class-wc-exception-email-customizer.php:151
151
- #: includes/customizer/class-wc-exception-email-customizer.php:175
152
- #: includes/customizer/class-wc-exception-email-customizer.php:220
153
- #: includes/views/admin_status_notifications.php:123
154
  msgid "Available variables:"
155
  msgstr "Налични променливи:"
156
 
157
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1381
158
- msgid "Avg Shipment Length"
159
- msgstr "Ср. Дължина на пратката"
160
-
161
- #: includes/customizer/class-wc-tracking-info-customizer.php:208
162
  msgid "Before Order Details"
163
  msgstr "Преди подробности за поръчката"
164
 
165
- #: includes/customizer/class-wc-tracking-info-customizer.php:559
166
  msgid "Border color"
167
  msgstr "Цвят на границата"
168
 
169
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
170
  msgid "Border size"
171
  msgstr "Размер на границата"
172
 
173
- #: includes/customizer/class-wc-tracking-info-customizer.php:429
174
  msgid "Bottom border color"
175
  msgstr ""
176
  "Цвят на долната граница\n"
177
 
178
- #: includes/customizer/class-wc-tracking-info-customizer.php:990
179
  msgid "Button color"
180
  msgstr "Цвят на бутона"
181
 
182
- #: includes/customizer/class-wc-tracking-info-customizer.php:1008
183
  msgid "Button font color"
184
  msgstr "Цвят на шрифта на бутона"
185
 
186
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:393
187
  msgid "Cannot create existing order shipment tracking."
188
  msgstr "Cannot create existing order shipment tracking."
189
 
190
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:868
191
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:965
192
- msgid "Carrier Unsupported"
193
- msgstr "Превозвачът не се поддържа"
194
-
195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
196
  msgid "Change order status to"
197
  msgstr "Променете състоянието на поръчката на"
198
 
199
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
200
  msgid "Change status to shipped"
201
  msgstr "Промяна на състоянието на изпратено"
202
 
203
- #: includes/class-wc-advanced-shipment-tracking-admin.php:891
204
  msgid "Choose for which Order status to display"
205
  msgstr "Изберете за кой статус на поръчката да се показва"
206
 
207
- #: includes/views/admin_options_bulk_upload.php:33
208
  msgid "Choose the Shipped Date format"
209
  msgstr "Изберете формата на изпратената дата"
210
 
211
- #: includes/class-wc-advanced-shipment-tracking.php:466
212
  msgid "Completed"
213
  msgstr "завършен"
214
 
215
- #: includes/views/admin_trackship_dashboard.php:28
216
- msgid "Connected"
217
- msgstr ""
218
- "свързан\n"
219
-
220
- #: includes/views/admin_trackship_dashboard.php:26
221
- msgid "Connection Status"
222
- msgstr "Състояние на връзката"
223
-
224
- #: includes/customizer/class-wc-tracking-info-customizer.php:334
225
  msgid "Content"
226
  msgstr "съдържание"
227
 
228
- #: includes/customizer/class-wc-tracking-info-customizer.php:829
229
  msgid "Content Background color"
230
  msgstr "Цвят на фона на съдържанието"
231
 
232
- #: includes/customizer/class-wc-tracking-info-customizer.php:392
233
- #: includes/customizer/class-wc-tracking-info-customizer.php:847
234
  msgid "Content font color"
235
  msgstr ""
236
  "Цвят на шрифта на съдържанието\n"
237
 
238
- #: includes/customizer/class-wc-tracking-info-customizer.php:373
239
- #: includes/customizer/class-wc-tracking-info-customizer.php:865
240
  msgid "Content font size"
241
  msgstr ""
242
  "Размер на шрифта на съдържанието\n"
243
 
244
- #: includes/customizer/class-wc-tracking-info-customizer.php:907
245
  msgid "Content font weight"
246
  msgstr ""
247
  "Тегло на шрифта на съдържанието\n"
248
 
249
- #: includes/customizer/class-wc-tracking-info-customizer.php:884
250
  msgid "Content line height"
251
  msgstr ""
252
  "Височина на линията на съдържанието\n"
253
 
254
- #: includes/views/admin_options_bulk_upload.php:56
255
  msgid "Continue"
256
  msgstr "продължи"
257
 
258
- #: includes/views/admin_options_shipping_provider.php:63
259
  msgid "Country"
260
  msgstr "Страна"
261
 
262
- #: includes/class-wc-advanced-shipment-tracking-admin.php:414
263
- #: includes/class-wc-advanced-shipment-tracking-admin.php:418
 
264
  msgid "CSV Import"
265
  msgstr "CSV импортиране"
266
 
267
- #: includes/views/admin_options_shipping_provider.php:56
268
  msgid "Custom API name"
269
  msgstr "Име на потребителски API"
270
 
271
- #: includes/views/admin_options_shipping_provider.php:52
272
  msgid "Custom display name"
273
  msgstr "Персонализирано име за показване"
274
 
275
- #: includes/customizer/class-wcast-customizer.php:35
276
  msgid "Custom order status email"
277
  msgstr "Имейл за състояние на поръчка по поръчка"
278
 
279
- #: includes/views/admin_options_settings.php:25
280
- msgid "Custom Order Statuses"
281
- msgstr "Статуси по поръчка"
282
-
283
- #: includes/views/admin_options_shipping_provider.php:79
284
  msgid "Custom URL"
285
  msgstr "Персонализиран URL адрес"
286
 
287
- #: includes/views/admin_options_settings.php:15
288
  msgid "Customer View"
289
  msgstr "Изглед на клиента"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:403
292
- #: includes/class-wc-advanced-shipment-tracking-admin.php:409
293
- #: includes/class-wc-advanced-shipment-tracking-admin.php:546
294
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
295
- #: includes/views/admin_status_notifications.php:36
296
- #: includes/views/admin_status_notifications.php:69
297
  msgid "Customize"
298
  msgstr "Персонализирайте"
299
 
300
- #: includes/views/admin_status_notifications.php:145
301
- msgid "Daily Digest on"
302
- msgstr "Daily Digest на"
303
-
304
- #: includes/views/admin_options_osm.php:58
305
- #: includes/views/admin_trackship_dashboard.php:118
306
  msgid "Dark Font"
307
  msgstr ""
308
  "Тъмен шрифт\n"
309
 
310
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:234
311
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:238
312
- msgid "Dashboard"
313
- msgstr "Табло"
314
-
315
- #: includes/class-wc-advanced-shipment-tracking-admin.php:232
316
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:212
317
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:422
318
  msgid "Data saved successfully."
319
  msgstr "Данните са запазени успешно."
320
 
321
- #: includes/class-wc-advanced-shipment-tracking.php:368
322
- #: includes/class-wc-advanced-shipment-tracking-settings.php:452
323
  msgid "Date shipped:"
324
  msgstr "Дата на изпращане:"
325
 
326
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1383
327
- msgid "days"
328
- msgstr "дни"
329
-
330
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
331
  #| msgid "Default"
332
  msgid "default"
333
  msgstr "по подразбиране"
334
 
335
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1637
336
- #: includes/class-wc-advanced-shipment-tracking-settings.php:131
337
- #: includes/class-wc-advanced-shipment-tracking-settings.php:176
338
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:297
339
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:865
340
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:935
341
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1392
342
- #: includes/customizer/class-wc-delivered-email-customizer.php:74
343
- #: includes/customizer/class-wc-intransit-email-customizer.php:166
344
- #: includes/views/admin_trackship_dashboard.php:109
345
  msgid "Delivered"
346
  msgstr "Доставени"
347
 
348
- #: includes/class-wc-advanced-shipment-tracking-settings.php:136
349
- #, php-format
350
- msgid "Delivered <span class=\"count\">(%s)</span>"
351
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
352
- msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
353
- msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
354
-
355
- #: includes/views/front/layout1_tracking_details.php:17
356
- #: includes/views/front/layout1_tracking_details.php:94
357
- msgid "Destination Details"
358
- msgstr "Подробности за дестинацията"
359
-
360
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1709
361
  msgid "Display Name"
362
  msgstr "Показвано име"
363
 
364
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:552
365
- #| msgid "Display Shipment Status Filter on Orders admin"
366
- msgid "Display shipment status filter on orders admin"
367
- msgstr ""
368
- "Показване на филтъра за състоянието на пратката на администратор на поръчки"
369
-
370
- #: includes/customizer/class-wc-tracking-info-customizer.php:485
371
  msgid "Display shipping provider image"
372
  msgstr ""
373
  "Покажи изображението на доставчика на доставка\n"
374
 
375
- #: includes/customizer/class-wc-tracking-info-customizer.php:466
376
  msgid "Display shipping provider name"
377
  msgstr ""
378
  "Показване на име на доставчика на доставка\n"
379
 
380
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:278
381
- #: includes/customizer/class-wc-delivered-email-customizer.php:295
382
- #: includes/customizer/class-wc-failure-email-customizer.php:276
383
- #: includes/customizer/class-wc-intransit-email-customizer.php:353
384
- #: includes/customizer/class-wc-onhold-email-customizer.php:276
385
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
386
- #: includes/customizer/class-wc-returntosender-email-customizer.php:276
387
- #: includes/customizer/class-wc-exception-email-customizer.php:276
388
- #| msgid "Display Shipping Address"
389
- msgid "Display the shipping address"
390
- msgstr "Показване на адреса за доставка"
391
-
392
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:240
393
- #: includes/customizer/class-wc-delivered-email-customizer.php:257
394
- #: includes/customizer/class-wc-failure-email-customizer.php:238
395
- #: includes/customizer/class-wc-intransit-email-customizer.php:315
396
- #: includes/customizer/class-wc-onhold-email-customizer.php:238
397
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
398
- #: includes/customizer/class-wc-returntosender-email-customizer.php:238
399
- #: includes/customizer/class-wc-exception-email-customizer.php:238
400
- msgid "Display the Shipping items"
401
- msgstr "Покажете артикулите за доставка"
402
-
403
- #: includes/views/admin_options_bulk_upload.php:118
404
  msgid "Download sample csv"
405
  msgstr "Изтеглете пример csv"
406
 
407
- #: includes/views/admin_status_notifications.php:101
408
- msgid "E.g. {admin_email}, admin@example.org"
409
- msgstr "Например {admin_email}, admin@example.org"
410
-
411
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:135
412
- #: includes/customizer/class-wc-delivered-email-customizer.php:133
413
- #: includes/customizer/class-wc-failure-email-customizer.php:133
414
- #: includes/customizer/class-wc-intransit-email-customizer.php:210
415
- #: includes/customizer/class-wc-onhold-email-customizer.php:133
416
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:132
417
- #: includes/customizer/class-wc-returntosender-email-customizer.php:134
418
- #: includes/customizer/class-wc-exception-email-customizer.php:133
419
- msgid "E.g. {customer.email}, admin@example.org"
420
- msgstr "E.g. {customer.email}, admin@example.org"
421
-
422
- #: includes/views/admin_options_shipping_provider.php:42
423
  msgid "Edit Shipping Provider"
424
  msgstr "Редактиране на доставчика на доставка"
425
 
426
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
427
- #: includes/customizer/class-wc-delivered-email-customizer.php:198
428
- #: includes/customizer/class-wc-failure-email-customizer.php:198
429
- #: includes/customizer/class-wc-intransit-email-customizer.php:275
430
- #: includes/customizer/class-wc-onhold-email-customizer.php:198
431
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:197
432
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:261
433
- #: includes/customizer/class-wc-returntosender-email-customizer.php:199
434
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
435
- #: includes/customizer/class-wc-exception-email-customizer.php:198
436
- #: includes/views/admin_status_notifications.php:117
437
  msgid "Email content"
438
  msgstr "Съдържание на имейла"
439
 
440
- #: includes/views/admin_status_notifications.php:15
441
- msgid "Email Notifications"
442
- msgstr "Известия по имейл"
443
-
444
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:152
445
- #: includes/customizer/class-wc-delivered-email-customizer.php:150
446
- #: includes/customizer/class-wc-failure-email-customizer.php:150
447
- #: includes/customizer/class-wc-intransit-email-customizer.php:227
448
- #: includes/customizer/class-wc-onhold-email-customizer.php:150
449
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:149
450
- #: includes/customizer/class-wc-exception-email-customizer.php:150
451
- msgid "Email Subject"
452
- msgstr "Тема на имейл"
453
-
454
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
455
  msgid "Email Type"
456
  msgstr "Тип имейл"
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:585
459
- msgid "Enable a tracking page"
460
- msgstr "Активирайте страницата за проследяване"
461
 
462
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:109
463
- msgid "Enable Available For Pickup email"
464
- msgstr "Активиране на имейл за пикап"
465
 
466
- #: includes/customizer/class-wc-delivered-email-customizer.php:107
467
- msgid "Enable Delivered email"
468
- msgstr "Активиране на доставения имейл"
469
 
470
- #: includes/customizer/class-wc-exception-email-customizer.php:107
471
- msgid "Enable Exception email"
472
- msgstr "Активиране на имейл за изключение"
473
 
474
- #: includes/customizer/class-wc-failure-email-customizer.php:107
475
- msgid "Enable Failed Attempt email"
476
- msgstr "Активиране на имейл с неуспешен опит"
477
 
478
- #: includes/customizer/class-wc-intransit-email-customizer.php:184
479
- msgid "Enable In Transit email"
480
- msgstr "Активиране на имейл в Transit"
481
 
482
- #: includes/customizer/class-wc-onhold-email-customizer.php:107
483
- msgid "Enable On Hold email"
484
- msgstr "Активирайте имейл на задържане"
485
 
486
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:106
487
- msgid "Enable Out For Delivery email"
488
- msgstr "Enable Out For Delivery email"
489
 
490
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:193
491
- msgid "Enable Partially Shipped order status email"
492
- msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
493
 
494
- #: includes/customizer/class-wc-returntosender-email-customizer.php:108
495
- msgid "Enable Return To Sender email"
496
- msgstr "Активирайте имейл на Return To Sender"
497
 
498
- #: includes/class-wc-advanced-shipment-tracking-admin.php:872
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  msgid "Enable Track button in orders history (actions)"
500
  msgstr ""
501
  "Активиране на бутона за проследяване в историята на поръчките (действия)"
502
 
503
- #: includes/customizer/class-wc-tracking-page-customizer.php:248
504
- msgid "Enable Tracking # link to Carrier"
505
- msgstr "Активирайте връзката Tracking # към Carrier"
506
-
507
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
508
  msgid "Enable Updated Tracking order status email"
509
  msgstr ""
510
  "Активиране на имейла за актуализирано проследяване на поръчката\n"
511
 
512
- #: includes/views/front/tracking_page_header.php:22
513
- msgid "Est. Delivery Date"
514
- msgstr ""
515
- "Est. Дата на доставка\n"
516
-
517
- #: includes/customizer/class-wc-tracking-page-customizer.php:208
518
- #: includes/customizer/class-wc-tracking-page-customizer.php:211
519
- msgid "Events Display Type"
520
- msgstr "Тип на показване на събития"
521
-
522
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:311
523
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:950
524
- #: includes/customizer/class-wc-intransit-email-customizer.php:168
525
- #: includes/customizer/class-wc-exception-email-customizer.php:73
526
- msgid "Exception"
527
- msgstr "Изключение"
528
-
529
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:304
530
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:866
531
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:947
532
- #: includes/customizer/class-wc-failure-email-customizer.php:73
533
- #: includes/customizer/class-wc-intransit-email-customizer.php:167
534
- msgid "Failed Attempt"
535
- msgstr "Неуспешен опит"
536
-
537
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:875
538
- msgid "Filter by shipment status"
539
- msgstr "Филтрирайте по статус на пратката"
540
-
541
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
542
  msgid "Filter by shipping provider"
543
  msgstr "Филтрирайте по доставчик"
544
 
545
- #: templates/tracking/tracking-form.php:12
546
- #: templates/tracking/tracking-form.php:13
547
- msgid "Found in your order confirmation email."
548
- msgstr ""
549
- "Намерен в имейла за потвърждение на поръчката.\n"
550
-
551
- #: includes/class-wc-advanced-shipment-tracking-settings.php:462
552
  msgid "Fulfill Order"
553
  msgstr "Изпълнение на поръчката"
554
 
555
- #: includes/class-wc-advanced-shipment-tracking-admin.php:450
556
- #: includes/class-wc-advanced-shipment-tracking-admin.php:454
557
- #: includes/views/admin_trackship_dashboard.php:70
558
  msgid "General Settings"
559
  msgstr "Основни настройки"
560
 
561
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
562
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1095
563
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1104
564
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1113
565
- #: includes/views/admin_trackship_dashboard.php:8
566
- msgid "Get Shipment Status"
567
- msgstr "Получете състояние на пратката"
568
-
569
- #: includes/views/admin_options_shipping_provider.php:66
570
  msgid "Global"
571
  msgstr "в световен мащаб"
572
 
573
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
574
  msgid "Go Pro"
575
  msgstr "Go Pro"
576
 
577
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:296
578
- #: includes/customizer/class-wc-delivered-email-customizer.php:313
579
- #: includes/customizer/class-wc-failure-email-customizer.php:294
580
- #: includes/customizer/class-wc-intransit-email-customizer.php:371
581
- #: includes/customizer/class-wc-onhold-email-customizer.php:294
582
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
583
- #: includes/customizer/class-wc-returntosender-email-customizer.php:294
584
- #: includes/customizer/class-wc-exception-email-customizer.php:294
585
- msgid "Google Analytics link tracking"
586
- msgstr "Проследяване на връзки в Google Analytics"
587
-
588
- #: includes/customizer/class-wc-tracking-info-customizer.php:753
589
  msgid "Headers background color"
590
  msgstr "Цвят на фона на заглавките"
591
 
592
- #: includes/customizer/class-wc-tracking-info-customizer.php:771
593
  msgid "Headers font color"
594
  msgstr ""
595
  "Цвят на шрифта на заглавките\n"
596
 
597
- #: includes/customizer/class-wc-tracking-info-customizer.php:734
598
  msgid "Headers font size"
599
  msgstr ""
600
  "Размер на шрифта на заглавките\n"
601
 
602
- #: includes/customizer/class-wc-tracking-info-customizer.php:789
603
  msgid "Headers font weight"
604
  msgstr "Тегло на шрифта на заглавките"
605
 
606
- #. %s: search TS4WC plugin link
607
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:187
608
- #, php-format
609
- msgid ""
610
- "Hi there, We noticed that your store is connected to TrackShip and there is "
611
- "a new and better TrackShip integration plugin for WooCommerce that will work "
612
- "with AST. Please install and activate the new %1$sTrackShip For "
613
- "WooCommerce%2$s plugin."
614
- msgstr ""
615
- "Здравейте, забелязахме, че вашият магазин е свързан с TrackShip и има нов и "
616
- "по-добър плъгин за интеграция на TrackShip за WooCommerce, който ще работи с "
617
- "AST. Моля, инсталирайте и активирайте новата приставка% 1 $ sTrackShip For "
618
- "WooCommerce% 2 $ s."
619
-
620
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
621
  msgid ""
622
  "Hi there. we thought you'd like to know that the shipment tracking for your "
623
  "recent order from {site_title} has been updated."
@@ -625,15 +542,7 @@ msgstr ""
625
  "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
626
  "за скорошната ви поръчка от {site_title} е актуализирано.\n"
627
 
628
- #: includes/customizer/class-wc-delivered-email-customizer.php:75
629
- msgid ""
630
- "Hi there. we thought you'd like to know that your recent order from "
631
- "{site_title} has been Delivered."
632
- msgstr ""
633
- "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
634
- "{site_title} е била Доставена."
635
-
636
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
637
  msgid ""
638
  "Hi there. we thought you'd like to know that your recent order from "
639
  "{site_title} has been partially shipped."
@@ -641,102 +550,27 @@ msgstr ""
641
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
642
  "{site_title} е частично изпратена.\n"
643
 
644
- #: includes/customizer/class-wc-returntosender-email-customizer.php:75
645
- msgid ""
646
- "Hi there. we thought you'd like to know that your recent order from "
647
- "{site_title} has been returned to sender."
648
- msgstr ""
649
- "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
650
- "{site_title} е върната на подателя.\n"
651
-
652
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:75
653
- msgid ""
654
- "Hi there. we thought you'd like to know that your recent order from "
655
- "{site_title} is available for pickup."
656
- msgstr ""
657
- "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
658
- "{site_title} е достъпна за приемане."
659
-
660
- #: includes/customizer/class-wc-exception-email-customizer.php:74
661
- msgid ""
662
- "Hi there. we thought you'd like to know that your recent order from "
663
- "{site_title} is Exception"
664
- msgstr ""
665
- "Здрасти. сметнахме, че искате да знаете, че скорошната ви поръчка от "
666
- "{site_title} е изключение"
667
-
668
- #: includes/customizer/class-wc-failure-email-customizer.php:74
669
- msgid ""
670
- "Hi there. we thought you'd like to know that your recent order from "
671
- "{site_title} is Failed Attempt"
672
- msgstr ""
673
- "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
674
- "{site_title} е неуспешен опит"
675
-
676
- #: includes/customizer/class-wc-intransit-email-customizer.php:100
677
- msgid ""
678
- "Hi there. we thought you'd like to know that your recent order from "
679
- "{site_title} is in transit"
680
- msgstr ""
681
- "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
682
- "{site_title} е в транзит"
683
-
684
- #: includes/customizer/class-wc-onhold-email-customizer.php:74
685
- msgid ""
686
- "Hi there. we thought you'd like to know that your recent order from "
687
- "{site_title} is on hold"
688
- msgstr ""
689
- "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
690
- "{site_title} е в задържане"
691
-
692
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:74
693
- msgid ""
694
- "Hi there. we thought you'd like to know that your recent order from "
695
- "{site_title} is out for delivery."
696
- msgstr ""
697
- "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
698
- "{site_title} е за доставка.\n"
699
-
700
- #: includes/class-wc-advanced-shipment-tracking-settings.php:711
701
- #: includes/class-wc-advanced-shipment-tracking-settings.php:728
702
- #: includes/class-wc-advanced-shipment-tracking-settings.php:745
703
  msgid "hide details"
704
  msgstr "скрий подробности"
705
 
706
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
707
- #: includes/customizer/class-wc-delivered-email-customizer.php:276
708
- #: includes/customizer/class-wc-failure-email-customizer.php:257
709
- #: includes/customizer/class-wc-intransit-email-customizer.php:334
710
- #: includes/customizer/class-wc-onhold-email-customizer.php:257
711
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:256
712
- #: includes/customizer/class-wc-returntosender-email-customizer.php:257
713
- #: includes/customizer/class-wc-exception-email-customizer.php:257
714
- msgid "Hide Shipping Items Price"
715
- msgstr "Скриване на артикулите за доставка Цена"
716
-
717
- #: includes/customizer/class-wc-tracking-info-customizer.php:644
718
  msgid "Hide Table Headers"
719
  msgstr ""
720
  "Скриване на заглавките на таблици\n"
721
 
722
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
723
  #| msgid "Hide the ship date"
724
  msgid "Hide the shipped date"
725
  msgstr "Скриване на изпратената дата"
726
 
727
- #: includes/customizer/class-wc-tracking-page-customizer.php:232
728
- msgid "Hide the Shipping Provider logo"
729
- msgstr "Скрийте логото на доставчика"
730
-
731
- #: includes/customizer/class-wc-tracking-page-customizer.php:216
732
- msgid "Hide tracking events"
733
- msgstr "Скриване на проследяващите събития"
734
-
735
- #: includes/customizer/class-wc-tracking-info-customizer.php:225
736
  msgid "Hide Tracking Header"
737
  msgstr "Скриване на проследяващия заглавие"
738
 
739
- #: includes/views/admin_options_bulk_upload.php:119
740
  msgid "How to import tracking number from CSV files?"
741
  msgstr "Как да импортирам номер за проследяване от CSV файлове?"
742
 
@@ -748,36 +582,24 @@ msgstr "https://www.zorem.com"
748
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
749
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
750
 
751
- #: includes/views/admin_options_bulk_upload.php:75
752
  msgid "Import in Progress"
753
  msgstr "Вносът е в процес"
754
 
755
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:262
756
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:862
757
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:926
758
- #: includes/customizer/class-wc-intransit-email-customizer.php:99
759
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
760
- msgid "In Transit"
761
- msgstr "Транзитно"
762
-
763
- #: includes/views/admin_options_trackship_integration.php:17
764
  msgid "Install TrackShip for WooCommerce"
765
  msgstr "Инсталирайте TrackShip за WooCommerce"
766
 
767
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:402
 
 
 
 
 
768
  msgid "Invalid order ID."
769
  msgstr "Невалиден идентификационен номер на поръчката."
770
 
771
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
772
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:962
773
- msgid "Invalid Tracking Number"
774
- msgstr "Невалиден номер за проследяване"
775
-
776
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:968
777
- msgid "Invalid User Key"
778
- msgstr "Невалиден потребителски ключ"
779
-
780
- #: includes/views/admin_options_bulk_upload.php:47
781
  msgid ""
782
  "Keep unchecked for the tracking info to be added to any existing tracking "
783
  "info added to the orders."
@@ -785,167 +607,118 @@ msgstr ""
785
  "Не оставяйте отметка информацията за проследяване да се добавя към всяка "
786
  "съществуваща информация за проследяване, добавена към поръчките."
787
 
788
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:27
789
- msgid "Late shipment"
790
- msgstr "Късна доставка"
791
-
792
- #: includes/views/admin_status_notifications.php:87
793
- msgid "Late Shipment Days"
794
- msgstr "Късни дни на изпращане"
795
-
796
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:26
797
- #: includes/views/admin_status_notifications.php:111
798
- msgid "Late shipment for order #{order_number}"
799
- msgstr "Късна пратка за поръчка № {order_number}"
800
-
801
- #: includes/views/admin_status_notifications.php:66
802
- msgid "Late Shipments"
803
- msgstr "Късни пратки"
804
-
805
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
806
  msgid "License"
807
  msgstr "License"
808
 
809
- #: includes/views/admin_options_osm.php:57
810
- #: includes/views/admin_trackship_dashboard.php:117
811
  msgid "Light Font"
812
  msgstr ""
813
  "Лек шрифт\n"
814
 
815
- #: includes/views/admin_options_shipping_provider.php:73
816
- msgid "Logo image"
817
- msgstr "Изображение на лого"
818
-
819
- #: includes/class-wc-advanced-shipment-tracking.php:299
820
  msgid "Mark as Completed?"
821
  msgstr "Да се ​​маркира като завършен?"
822
 
823
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
824
  msgid "Mark as Shipped"
825
  msgstr "Маркирайте като изпратено"
826
 
827
- #: includes/class-wc-advanced-shipment-tracking.php:296
828
  msgid "Mark as Shipped?"
829
  msgstr "Да се ​​маркира като изпратен?"
830
 
831
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1592
832
  msgid "Mark order as delivered"
833
  msgstr "Маркирайте поръчката като доставена"
834
 
835
- #: includes/class-wc-advanced-shipment-tracking.php:491
836
  msgid "Mark order as:"
837
  msgstr "Маркиране на поръчката като:"
838
 
839
- #: includes/customizer/class-wcast-customizer.php:353
840
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:148
841
  msgid "Mockup Order"
842
  msgstr "Мокетна поръчка"
843
 
844
- #: includes/class-wc-advanced-shipment-tracking-admin.php:651
 
845
  msgid "more info"
846
  msgstr ""
847
  "повече информация\n"
848
 
849
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2165
850
  msgid "Multiple API names mapping is a pro features"
851
  msgstr "Съпоставянето на множество имена на API е професионална функция"
852
 
853
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:242
854
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:246
855
- msgid "Notifications"
856
- msgstr "Известия"
857
-
858
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:269
859
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:929
860
- #: includes/customizer/class-wc-intransit-email-customizer.php:162
861
- #: includes/customizer/class-wc-onhold-email-customizer.php:73
862
- msgid "On Hold"
863
- msgstr "На изчакване"
864
-
865
- #: includes/class-wc-advanced-shipment-tracking-admin.php:878
866
  #| msgid "Open the track link in a new tab"
867
  msgid "Open the Track Button link in a new tab"
868
  msgstr "Отворете връзката за песен в нов раздел"
869
 
870
- #: templates/tracking/tracking-form.php:13
871
- msgid "Order Email"
872
- msgstr ""
873
- "Имейл за поръчка\n"
874
-
875
- #: includes/class-wc-advanced-shipment-tracking-admin.php:865
876
  msgid "Order Emails Display"
877
  msgstr "Показване на имейли за поръчки"
878
 
879
- #: includes/class-wc-advanced-shipment-tracking-front.php:173
880
- #: includes/class-wc-advanced-shipment-tracking-front.php:184
881
- msgid "Order not found."
882
- msgstr "Поръчката не е намерена."
883
-
884
  #. %s: Order ID.
885
- #: templates/emails/wcast-email-order-details.php:53
886
  #, php-format
887
  msgid "Order number: %s"
888
  msgstr ""
889
  "Номер на поръчката:% s\n"
890
 
891
- #: includes/class-wc-advanced-shipment-tracking-admin.php:459
892
- #: includes/class-wc-advanced-shipment-tracking-admin.php:463
 
893
  msgid "Order Statuses"
894
  msgstr "Статуси на поръчки"
895
 
896
- #: includes/class-wc-advanced-shipment-tracking.php:1169
897
- #: includes/class-wc-advanced-shipment-tracking.php:1245
 
898
  #, php-format
899
- msgid "Order was shipped with %s and tracking number is: %s"
900
- msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
901
-
902
- #: includes/views/front/layout1_tracking_details.php:49
903
- #: includes/views/front/layout1_tracking_details.php:113
904
- msgid "Origin Details"
905
- msgstr "Подробности за произхода"
906
 
907
- #: includes/class-wc-advanced-shipment-tracking-admin.php:643
908
  msgid "Other"
909
  msgstr "Други"
910
 
911
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:290
912
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
913
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:938
914
- #: includes/customizer/class-wc-intransit-email-customizer.php:165
915
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:73
916
- msgid "Out For Delivery"
917
- msgstr ""
918
- "За доставка\n"
919
-
920
- #: includes/class-wc-advanced-shipment-tracking.php:482
921
  msgid "Partial Shipped"
922
  msgstr "Частично изпратено"
923
 
924
- #: includes/class-wc-advanced-shipment-tracking-admin.php:994
925
- #: includes/class-wc-advanced-shipment-tracking-settings.php:159
926
- #: includes/class-wc-advanced-shipment-tracking-settings.php:205
927
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:156
928
  msgid "Partially Shipped"
929
  msgstr "Частично изпратени"
930
 
931
- #: includes/class-wc-advanced-shipment-tracking-settings.php:164
 
932
  #, php-format
933
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
934
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
935
  msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
936
  msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
937
 
938
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:959
939
- msgid "Pending"
940
- msgstr "В очакване"
 
 
 
 
941
 
942
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:859
943
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:956
944
- msgid "Pending TrackShip"
945
- msgstr "Изчаква TrackShip"
 
946
 
947
  #. %s: search WooCommerce plugin link
948
- #: woocommerce-advanced-shipment-tracking.php:173
949
  #, php-format
950
  msgid ""
951
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
@@ -954,165 +727,106 @@ msgstr ""
954
  "Моля, инсталирайте и активирайте% 1 $ sWooCommerce% 2 $ s за разширено "
955
  "проследяване на пратки за WooCommerce!"
956
 
957
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
958
- msgid "Please select a order..."
959
- msgstr ""
960
- "Моля, изберете поръчка ...\n"
961
-
962
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:347
963
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:355
964
- #: includes/customizer/class-wc-delivered-email-customizer.php:368
965
- #: includes/customizer/class-wc-delivered-email-customizer.php:376
966
- #: includes/customizer/class-wc-failure-email-customizer.php:348
967
- #: includes/customizer/class-wc-failure-email-customizer.php:356
968
- #: includes/customizer/class-wc-intransit-email-customizer.php:422
969
- #: includes/customizer/class-wc-intransit-email-customizer.php:430
970
- #: includes/customizer/class-wc-onhold-email-customizer.php:344
971
- #: includes/customizer/class-wc-onhold-email-customizer.php:352
972
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:344
973
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
974
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:316
975
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:324
976
- #: includes/customizer/class-wc-returntosender-email-customizer.php:343
977
- #: includes/customizer/class-wc-returntosender-email-customizer.php:351
978
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
979
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:274
980
- #: includes/customizer/class-wc-exception-email-customizer.php:347
981
- #: includes/customizer/class-wc-exception-email-customizer.php:355
982
  msgid "Please select order to preview."
983
  msgstr "Моля, изберете поръчка за преглед."
984
 
985
- #: includes/class-wc-advanced-shipment-tracking-admin.php:236
986
  msgid "Please upload a valid CSV file."
987
  msgstr "Моля, качете валиден CSV файл."
988
 
989
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
990
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:932
991
- msgid "Pre Transit"
992
- msgstr "Предварително преминаване"
993
-
994
- #: includes/customizer/class-wc-intransit-email-customizer.php:131
995
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
996
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
997
- msgid "Preview order"
998
- msgstr ""
999
- "Преглед на поръчката\n"
1000
-
1001
- #: includes/class-wc-advanced-shipment-tracking.php:386
1002
  msgid "Preview:"
1003
  msgstr "Преглед:"
1004
 
1005
- #: includes/class-wc-advanced-shipment-tracking.php:360
1006
- #: includes/class-wc-advanced-shipment-tracking-settings.php:448
1007
  msgid "Product Code:"
1008
  msgstr "Код на продукта:"
1009
 
1010
- #: includes/customizer/class-wc-tracking-page-customizer.php:160
1011
- msgid "Progress Bar"
1012
- msgstr "Лента за напредък"
1013
-
1014
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1015
- #: includes/customizer/class-wc-tracking-info-customizer.php:670
1016
- #: templates/emails/tracking-info.php:198
1017
- #: templates/myaccount/tracking-info.php:180
1018
  msgid "Provider"
1019
  msgstr "доставчик"
1020
 
1021
- #: includes/views/admin_options_shipping_provider.php:48
1022
- #: templates/emails/tracking-info.php:204
1023
- #: templates/myaccount/tracking-info.php:186
1024
  msgid "Provider Name"
1025
  msgstr "Provider Name"
1026
 
1027
- #: includes/views/admin_options_shipping_provider.php:105
1028
  msgid "Providers Added"
1029
  msgstr "Доставчиците са добавени"
1030
 
1031
- #: includes/views/admin_options_shipping_provider.php:107
1032
  msgid "Providers Deleted"
1033
  msgstr "Доставчиците са изтрити"
1034
 
1035
- #: includes/views/admin_options_shipping_provider.php:106
1036
  msgid "Providers Updated"
1037
  msgstr "Актуализирани доставчици"
1038
 
1039
- #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1040
  msgid "Really delete this entry? This will not be undo."
1041
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
1042
 
1043
- #: includes/views/admin_options_osm.php:11
1044
  msgid "Rename the “Completed” Order status label to “Shipped”"
1045
  msgstr "Преименувайте етикета за състоянието на „Завършена“ на „Изпратена“"
1046
 
1047
- #: includes/views/admin_options_bulk_upload.php:47
1048
  msgid "Replace tracking information?"
1049
  msgstr "Replace tracking information?"
1050
 
1051
- #: includes/views/admin_options_shipping_provider.php:89
1052
  msgid "Reset"
1053
  msgstr "Нулиране"
1054
 
1055
- #: includes/views/admin_options_shipping_provider.php:111
1056
  msgid ""
1057
  "Reset providers database, it will reset all your shipping provider database"
1058
  msgstr ""
1059
  "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
1060
  "доставчика ви"
1061
 
1062
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:276
1063
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:869
1064
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:944
1065
- #: includes/customizer/class-wc-intransit-email-customizer.php:163
1066
- #: includes/customizer/class-wc-returntosender-email-customizer.php:74
1067
- msgid "Return To Sender"
1068
- msgstr "Върнете се към подателя"
1069
 
1070
- #: includes/views/admin_status_notifications.php:156
1071
- msgid "Save Changes"
1072
- msgstr "Запазите промените"
1073
-
1074
- #: includes/class-wc-advanced-shipment-tracking.php:383
1075
  msgid "Save Tracking"
1076
  msgstr "Запазване на проследяването"
1077
 
1078
- #: includes/views/admin_options_shipping_provider.php:23
1079
  msgid "Search by provider / country"
1080
  msgstr "Търсене по доставчик / държава"
1081
 
1082
- #: includes/customizer/class-wc-tracking-info-customizer.php:183
1083
- msgid "Select an order to preview and design the tracking info display."
1084
- msgstr ""
1085
- "Изберете поръчка за визуализация и дизайн на дисплея с информация за "
1086
- "проследяване.\n"
1087
-
1088
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:175
1089
  msgid "Select email type"
1090
  msgstr "Изберете тип имейл"
1091
 
1092
- #: includes/class-wc-advanced-shipment-tracking.php:322
1093
  msgid "Select Provider"
1094
  msgstr "Изберете Доставчик"
1095
 
1096
- #: includes/customizer/class-wc-intransit-email-customizer.php:157
1097
- msgid "Select shipment status"
1098
- msgstr "Изберете състоянието на пратката"
1099
-
1100
- #: includes/customizer/class-wc-tracking-info-customizer.php:281
1101
  msgid "Select Template"
1102
  msgstr ""
1103
  "Изберете шаблон\n"
1104
 
1105
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:591
1106
- #| msgid "Select Tracking Page"
1107
- msgid "Select tracking page"
1108
- msgstr "Изберете страница за проследяване"
1109
-
1110
- #: includes/views/admin_options_osm.php:62
1111
  msgid "Send Email"
1112
  msgstr ""
1113
  "Изпратете имейл\n"
1114
 
1115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:762
1116
  msgid ""
1117
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1118
  "orders"
@@ -1120,155 +834,125 @@ msgstr ""
1120
  "Задайте отметката за опция „маркирай като изпратена“, когато добавяте "
1121
  "информация за проследяване към поръчките"
1122
 
1123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
1124
- #: includes/class-wc-advanced-shipment-tracking-admin.php:389
1125
  #: includes/views/admin_options_settings.php:9
1126
  msgid "Settings"
1127
  msgstr "Настройки"
1128
 
1129
- #: includes/views/admin_options_bulk_upload.php:58
1130
  msgid "Settings Saved."
1131
  msgstr "Настройките са запазени."
1132
 
1133
- #: includes/class-wc-advanced-shipment-tracking-front.php:383
1134
- #: includes/views/front/preview_tracking_page.php:40
1135
- msgid "Shipment"
1136
- msgstr "Пратка"
1137
-
1138
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:674
1139
- #: includes/customizer/class-wc-intransit-email-customizer.php:153
1140
- msgid "Shipment Status"
1141
- msgstr "Състояние на пратката"
1142
-
1143
- #: templates/emails/plain/tracking-info.php:35
1144
  #, php-format
1145
  msgid "Shipment status changed to %s"
1146
  msgstr "Състоянието на пратката се промени на% s"
1147
 
1148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:248
1149
  #: includes/class-wc-advanced-shipment-tracking.php:138
1150
  #: includes/class-wc-advanced-shipment-tracking.php:219
1151
  msgid "Shipment Tracking"
1152
  msgstr "Проследяване на пратките"
1153
 
1154
- #: includes/views/admin_options_settings.php:20
1155
  msgid "Shipment Tracking API"
1156
  msgstr "API за проследяване на пратки"
1157
 
1158
- #: includes/class-wc-advanced-shipment-tracking-admin.php:684
1159
- #: includes/class-wc-advanced-shipment-tracking-admin.php:780
1160
- #: includes/class-wc-advanced-shipment-tracking.php:466
1161
- #: includes/class-wc-advanced-shipment-tracking-settings.php:343
1162
  msgid "Shipped"
1163
  msgstr "Доставят"
1164
 
1165
- #: includes/class-wc-advanced-shipment-tracking-settings.php:362
 
1166
  #, php-format
1167
  msgid "Shipped <span class=\"count\">(%s)</span>"
1168
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1169
  msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
1170
  msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
1171
 
1172
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1173
- #: includes/customizer/class-wc-tracking-info-customizer.php:717
1174
  msgid "Shipped Date"
1175
  msgstr ""
1176
  "Дата на изпращане\n"
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:710
1179
  #| msgid "Ship date header text"
1180
  msgid "Shipped date header text"
1181
  msgstr "Изпратен заглавен текст на датата"
1182
 
1183
  #. 1: shipping date
1184
- #: includes/class-wc-advanced-shipment-tracking.php:253
1185
  #, php-format
1186
  msgid "Shipped on %s"
1187
  msgstr "Изпратено на% s"
1188
 
1189
- #: includes/customizer/class-wc-tracking-info-customizer.php:152
1190
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1191
  msgstr ""
1192
  "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
1193
 
1194
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1565
1195
  msgid "Shipped Order"
1196
  msgstr "Изпратена поръчка"
1197
 
1198
- #: includes/customizer/class-trackship-customizer.php:38
1199
- msgid "Shipping and Delivery Emails"
1200
- msgstr "Имейли за доставка и доставка"
1201
-
1202
- #: includes/views/admin_options_shipping_provider.php:65
1203
  msgid "Shipping Country"
1204
  msgstr "Страна на доставка"
1205
 
1206
- #: includes/views/admin_options_shipping_provider.php:49
1207
  msgid "Shipping Provider"
1208
  msgstr "Доставчик на доставка"
1209
 
1210
- #: includes/customizer/class-wc-tracking-info-customizer.php:663
1211
  msgid "Shipping provider header text"
1212
  msgstr "Текст на заглавката на доставчика"
1213
 
1214
- #: includes/class-wc-advanced-shipment-tracking.php:320
1215
- #: includes/class-wc-advanced-shipment-tracking-settings.php:426
1216
- #: includes/class-wc-advanced-shipment-tracking-settings.php:428
1217
  msgid "Shipping Provider:"
1218
  msgstr "Доставчик:"
1219
 
1220
- #: includes/class-wc-advanced-shipment-tracking-admin.php:394
1221
- #: includes/class-wc-advanced-shipment-tracking-admin.php:398
1222
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1708
1223
- #: includes/views/admin_options_shipping_provider.php:21
1224
  msgid "Shipping Providers"
1225
  msgstr "Доставчици на доставка"
1226
 
1227
- #: includes/views/admin_options_shipping_provider.php:109
 
 
 
 
1228
  msgid "Shipping providers database reset successfully."
1229
  msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
1230
 
1231
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1232
- msgid "Show all Events"
1233
- msgstr "Показване на всички събития"
1234
-
1235
- #: includes/customizer/class-wc-tracking-info-customizer.php:410
1236
  msgid "Show bottom border"
1237
  msgstr ""
1238
  "Показване на долната граница\n"
1239
 
1240
- #: includes/customizer/class-wc-tracking-page-customizer.php:217
1241
- msgid "Show last event & expand"
1242
- msgstr "Показване на последното събитие и разширяване"
1243
-
1244
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
1245
- msgid "Show tracking details"
1246
- msgstr ""
1247
- "Показване на подробности за проследяването\n"
1248
-
1249
- #: includes/customizer/class-wc-tracking-info-customizer.php:317
1250
  msgid "Simple Layout Design"
1251
  msgstr ""
1252
  "Прост дизайн на оформлението\n"
1253
 
1254
- #: includes/views/admin_status_notifications.php:18
1255
- msgid "SMS Notifications"
1256
- msgstr "SMS известия"
1257
-
1258
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:406
1259
  msgid "Special character not allowd in tracking number"
1260
  msgstr "Специален знак не е разрешен в проследяващия номер"
1261
 
1262
- #: includes/views/admin_trackship_dashboard.php:49
1263
- msgid "Subscription: "
1264
- msgstr "Абонамент:"
1265
-
1266
- #: includes/views/admin_options_shipping_provider.php:99
1267
- #: includes/views/admin_options_shipping_provider.php:113
1268
  msgid "Sync Shipping Providers"
1269
  msgstr "Синхронизирайте доставчиците на доставка"
1270
 
1271
- #: includes/views/admin_options_shipping_provider.php:103
1272
  msgid ""
1273
  "Syncing the shipping providers list add or updates the pre-set shipping "
1274
  "providers and will not effect custom shipping providers."
@@ -1277,33 +961,33 @@ msgstr ""
1277
  "актуализира предварително зададените доставчици за доставка и няма да "
1278
  "повлияе на доставчиците по поръчка."
1279
 
1280
- #: includes/customizer/class-wc-tracking-info-customizer.php:812
1281
  msgid "Table Content"
1282
  msgstr "Съдържание на таблицата"
1283
 
1284
- #: includes/customizer/class-wc-tracking-info-customizer.php:542
1285
  msgid "Table Design Options"
1286
  msgstr "Опции за дизайн на таблица"
1287
 
1288
- #: includes/customizer/class-wc-tracking-info-customizer.php:627
1289
  #| msgid "Table Headers"
1290
  msgid "Table Header"
1291
  msgstr "Заглавка на таблицата"
1292
 
1293
- #: includes/customizer/class-wc-tracking-info-customizer.php:282
1294
  msgid "Table Layout"
1295
  msgstr ""
1296
  "Оформление на таблицата\n"
1297
 
1298
- #: includes/customizer/class-wc-tracking-info-customizer.php:449
1299
  msgid "Table Options"
1300
  msgstr "Опции на таблицата"
1301
 
1302
- #: includes/customizer/class-wc-tracking-info-customizer.php:603
1303
  msgid "Text align"
1304
  msgstr "Подравняване на текста"
1305
 
1306
- #: includes/views/admin_options_shipping_provider.php:52
1307
  msgid ""
1308
  "The custom display name will show in the tracking info section on the "
1309
  "customer order emails, my-account, and TrackShip's tracking page and email "
@@ -1313,235 +997,127 @@ msgstr ""
1313
  "проследяване на имейли за поръчки на клиенти, моя акаунт и проследяваща "
1314
  "страница на TrackShip и известия по имейл"
1315
 
1316
- #: includes/class-wc-advanced-shipment-tracking-settings.php:693
1317
  msgid "There are some issue with sync, Please Retry."
1318
  msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
1319
 
1320
- #: includes/class-wc-advanced-shipment-tracking-admin.php:235
1321
  msgid "This browser does not support HTML5."
1322
  msgstr "Този браузър не поддържа HTML5."
1323
 
1324
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1325
- #: includes/views/admin_status_notifications.php:121
1326
- msgid ""
1327
- "This order was shipped {shipment_length} days ago, the shipment status is "
1328
- "{shipment_status} and its est. delivery date is {est_delivery_date}."
1329
- msgstr ""
1330
- "Тази поръчка е изпратена преди {shipment_length} дни, състоянието на "
1331
- "пратката е {shipment_status}, а прогнозната й дата на доставка е "
1332
- "{est_delivery_date}."
1333
-
1334
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:297
1335
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
1336
- #: includes/customizer/class-wc-failure-email-customizer.php:295
1337
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
1338
- #: includes/customizer/class-wc-onhold-email-customizer.php:295
1339
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:294
1340
- #: includes/customizer/class-wc-returntosender-email-customizer.php:295
1341
- #: includes/customizer/class-wc-exception-email-customizer.php:295
1342
- msgid "This will be appended to URL in the email content"
1343
- msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
1344
-
1345
- #: templates/tracking/tracking-form.php:11
1346
- msgid ""
1347
- "To track your order please enter your Order ID in the box below and press "
1348
- "the \"Track\" button. This was given to you on your receipt and in the "
1349
- "confirmation email you should have received."
1350
- msgstr ""
1351
- "За да проследите Вашата поръчка, моля въведете Вашата поръчка ID в полето по-"
1352
- "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
1353
- "в имейла за потвърждение, който трябваше да получите.\n"
1354
-
1355
- #: includes/views/admin_options_tools.php:17
1356
- msgid "Tools"
1357
- msgstr "Инструменти"
1358
-
1359
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1376
1360
- msgid "Total Shipments"
1361
- msgstr "Общо пратки"
1362
-
1363
- #: includes/class-wc-advanced-shipment-tracking.php:758
1364
- #: includes/class-wc-advanced-shipment-tracking.php:791
1365
- #: includes/class-wc-advanced-shipment-tracking.php:809
1366
- #: includes/customizer/class-wc-tracking-info-customizer.php:145
1367
- #: includes/customizer/class-wc-tracking-info-customizer.php:973
1368
- #: templates/emails/tracking-info.php:240
1369
- #: templates/myaccount/tracking-info.php:222
1370
- #: templates/myaccount/tracking-info.php:224
1371
- #: templates/tracking/tracking-form.php:16
1372
  msgid "Track"
1373
  msgstr "път"
1374
 
1375
- #: includes/customizer/class-wc-tracking-info-customizer.php:930
1376
  msgid "Track Button"
1377
  msgstr "Бутон за проследяване"
1378
 
1379
- #: includes/customizer/class-wc-tracking-info-customizer.php:947
1380
  msgid "Track Header"
1381
  msgstr "Проследяване на заглавката"
1382
 
1383
- #: includes/customizer/class-wc-tracking-info-customizer.php:966
1384
  msgid "Track header text"
1385
  msgstr ""
1386
  "Проследяване на заглавния текст\n"
1387
 
1388
- #: includes/class-wc-advanced-shipment-tracking.php:241
1389
- #: includes/class-wc-advanced-shipment-tracking.php:386
1390
  msgid "Track Shipment"
1391
  msgstr "Проследяване на пратката"
1392
 
1393
- #: includes/views/admin_trackship_dashboard.php:50
1394
- #| msgid "Trackers Balance"
1395
- msgid "Trackers Balance: "
1396
- msgstr "Баланс на тракерите:"
1397
-
1398
- #: includes/views/front/layout1_tracking_details.php:10
1399
- #: includes/views/front/layout1_tracking_details.php:87
1400
- msgid "Tracking Details"
1401
- msgstr "Детайли за проследяване"
1402
-
1403
- #: includes/class-wc-advanced-shipment-tracking-front.php:196
1404
- msgid "Tracking details not found"
1405
- msgstr "Подробности за проследяване не са намерени"
1406
-
1407
- #: includes/class-wc-advanced-shipment-tracking-front.php:421
1408
- msgid "Tracking details not found in TrackShip"
1409
- msgstr "Детайли за проследяване не са открити в TrackShip"
1410
-
1411
- #: includes/customizer/class-wc-tracking-info-customizer.php:296
1412
- #: includes/customizer/class-wc-tracking-info-customizer.php:299
1413
  msgid "Tracking display layout"
1414
  msgstr "Проследяване на оформлението на дисплея"
1415
 
1416
- #: includes/customizer/class-wc-tracking-info-customizer.php:204
1417
  msgid "Tracking Display Position"
1418
  msgstr "Проследяване на позицията на дисплея"
1419
 
1420
- #: includes/customizer/class-wc-tracking-info-customizer.php:243
1421
  msgid "Tracking Header text"
1422
  msgstr ""
1423
  "Проследяване на текста на заглавката\n"
1424
 
1425
- #: includes/customizer/class-wc-tracking-page-customizer.php:161
1426
- #| msgid "Tracking issues"
1427
- msgid "Tracking Icons"
1428
- msgstr "Проследяващи икони"
1429
-
1430
- #: includes/customizer/class-wcast-customizer.php:28
1431
  msgid "Tracking info display"
1432
  msgstr ""
1433
  "Показване на информация за проследяване\n"
1434
 
1435
- #: includes/views/admin_options_tools.php:10
1436
- #: includes/views/admin_trackship_dashboard.php:11
1437
- msgid "Tracking info sent to Trackship for all Orders."
1438
- msgstr "Tracking info sent to Trackship for all Orders."
1439
-
1440
- #: includes/class-wc-advanced-shipment-tracking.php:713
1441
  #, php-format
 
 
1442
  msgid ""
1443
- "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1444
  msgstr ""
1445
- "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
1446
- "проследяващ номер% s"
1447
 
1448
- #: includes/customizer/class-wc-tracking-info-customizer.php:250
1449
  msgid "Tracking Information"
1450
  msgstr "Информация за проследяване"
1451
 
1452
- #: includes/class-wc-advanced-shipment-tracking-front.php:401
1453
- msgid ""
1454
- "Tracking information is not available, please try again in a few minutes."
1455
- msgstr ""
1456
- "Информацията за проследяване не е налична, моля, опитайте отново след "
1457
- "няколко минути."
1458
-
1459
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
1460
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
1461
- #: templates/emails/tracking-info.php:217
1462
- #: templates/myaccount/tracking-info.php:199
1463
  msgid "Tracking Number"
1464
  msgstr "Номер за проследяване"
1465
 
1466
- #: includes/customizer/class-wc-tracking-info-customizer.php:687
1467
  #| msgid "Tracking Number header text"
1468
  msgid "Tracking number header text"
1469
  msgstr "Текст за заглавие на номер за проследяване"
1470
 
1471
- #: includes/class-wc-advanced-shipment-tracking.php:316
1472
- #: includes/class-wc-advanced-shipment-tracking-settings.php:422
1473
  msgid "Tracking number:"
1474
  msgstr "Номер за проследяване:"
1475
 
1476
- #: includes/views/admin_trackship_dashboard.php:137
1477
- msgid "Tracking Page"
1478
- msgstr "Страница за проследяване"
1479
-
1480
- #: includes/customizer/class-trackship-customizer.php:31
1481
- #| msgid "Tracking Page Layout"
1482
- msgid "Tracking Page Widget"
1483
- msgstr "Приспособление за проследяване на страница"
1484
-
1485
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:605
1486
- msgid "Tracking Widget Customizer"
1487
- msgstr "Персонализатор за проследяване на приспособления"
1488
-
1489
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1711
1490
  msgid "TrackShip"
1491
  msgstr "TrackShip"
1492
 
1493
- #: includes/views/admin_trackship_dashboard.php:41
1494
- msgid "TrackShip Account"
1495
- msgstr "TrackShip акаунт"
1496
-
1497
- #: includes/views/admin_trackship_dashboard.php:19
1498
- msgid "TrackShip Connection Status"
1499
- msgstr "Състояние на връзката към TrackShip"
1500
-
1501
- #: includes/views/admin_trackship_dashboard.php:53
1502
- msgid "TrackShip Dashboard"
1503
- msgstr "Табло за управление на TrackShip"
1504
-
1505
- #: includes/views/admin_status_notifications.php:136
1506
- msgid "Trigger Alert"
1507
- msgstr "Сигнал за задействане"
1508
-
1509
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:860
1510
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:953
1511
- msgid "Unknown"
1512
- msgstr "Неизвестно"
1513
-
1514
- #: includes/views/admin_options_shipping_provider.php:88
1515
  msgid "Update"
1516
  msgstr "Актуализиране"
1517
 
1518
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1011
1519
- #: includes/class-wc-advanced-shipment-tracking-settings.php:145
1520
- #: includes/class-wc-advanced-shipment-tracking-settings.php:191
1521
- #: includes/class-wc-advanced-shipment-tracking-settings.php:324
1522
  msgid "Updated Tracking"
1523
  msgstr "Актуализирано проследяване"
1524
 
1525
- #: includes/class-wc-advanced-shipment-tracking-settings.php:150
 
1526
  #, php-format
1527
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1528
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1529
  msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1530
  msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1531
 
1532
- #: includes/views/admin_options_shipping_provider.php:76
1533
- msgid "Upload"
1534
- msgstr "Качи"
1535
-
1536
- #: includes/views/admin_options_bulk_upload.php:25
1537
  msgid "Upload a CSV file from your computer:"
1538
  msgstr "Качете CSV файл от вашия компютър:"
1539
 
1540
- #: includes/views/admin_options_bulk_upload.php:108
1541
  msgid "Upload again"
1542
  msgstr "Качете отново"
1543
 
1544
- #: includes/views/admin_options_bulk_upload.php:11
1545
  msgid ""
1546
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1547
  "file"
@@ -1549,47 +1125,23 @@ msgstr ""
1549
  "Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
1550
  "информация за проследяване към поръчки от CSV файл"
1551
 
1552
- #: includes/customizer/class-wc-tracking-info-customizer.php:523
1553
  msgid "Use tracking number as a link"
1554
  msgstr "Използвайте проследяващия номер като връзка"
1555
 
1556
- #: includes/class-wc-advanced-shipment-tracking-settings.php:710
1557
- #: includes/class-wc-advanced-shipment-tracking-settings.php:727
1558
- #: includes/class-wc-advanced-shipment-tracking-settings.php:744
1559
- #: includes/views/admin_options_bulk_upload.php:86
1560
  msgid "view details"
1561
  msgstr "Разгледайте детайлите"
1562
 
1563
- #: includes/views/front/layout1_tracking_details.php:80
1564
- #: includes/views/front/preview_tracking_page.php:130
1565
- msgid "view less"
1566
- msgstr "гледайте по-малко"
1567
-
1568
- #: includes/views/front/layout1_tracking_details.php:79
1569
- #: includes/views/front/preview_tracking_page.php:129
1570
- msgid "view more"
1571
- msgstr "Виж повече"
1572
-
1573
- #: includes/views/admin_options_bulk_upload.php:107
1574
  msgid "View Orders"
1575
  msgstr "Преглед на поръчки"
1576
 
1577
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1397
1578
- msgid "View Tracking Analytics"
1579
- msgstr "Преглед на проследяващия анализ"
1580
-
1581
- #. %s: replace with delivered order count
1582
- #: woocommerce-advanced-shipment-tracking.php:516
1583
- #, php-format
1584
- msgid ""
1585
- "We detected %s orders that use the Delivered order status, You can reassign "
1586
- "these orders to a different status"
1587
- msgstr ""
1588
- "Открихме% s поръчки, които използват състоянието на доставена поръчка. "
1589
- "Можете да преназначите тези поръчки на различен статус"
1590
-
1591
  #. %s: replace with Partially Shipped order count
1592
- #: woocommerce-advanced-shipment-tracking.php:532
1593
  #, php-format
1594
  msgid ""
1595
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1598,56 +1150,23 @@ msgstr ""
1598
  "Открихме% s поръчки, които използват състоянието на частично изпратена "
1599
  "поръчка. Можете да преназначите тези поръчки на различен статус"
1600
 
1601
- #: includes/views/admin_trackship_dashboard.php:7
1602
- #, php-format
1603
- msgid ""
1604
- "We detected %s Shipped orders from the last 30 days that were not sent to "
1605
- "TrackShip, you can bulk send them to TrackShip"
1606
- msgstr ""
1607
- "Открихме% s изпратени поръчки от последните 30 дни, които не бяха изпратени "
1608
- "до TrackShip, можете групово да ги изпратите до TrackShip"
1609
-
1610
- #: includes/views/admin_options_shipping_provider.php:53
1611
  msgid "White Label Provider Name"
1612
  msgstr "Име на доставчика на White Label"
1613
 
1614
- #: includes/customizer/class-wc-tracking-page-customizer.php:192
1615
- msgid "Widget background color"
1616
- msgstr "Цвят на фона на приспособлението"
1617
-
1618
- #: includes/customizer/class-wc-tracking-page-customizer.php:176
1619
- msgid "Widget border color"
1620
- msgstr "Цвят на границата на приспособлението"
1621
-
1622
- #: includes/customizer/class-wc-tracking-page-customizer.php:153
1623
- #: includes/customizer/class-wc-tracking-page-customizer.php:156
1624
- msgid "Widget Tracker Type"
1625
- msgstr "Тип проследяващо устройство"
1626
-
1627
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:971
1628
- msgid "Wrong Shipping Provider"
1629
- msgstr "Wrong Shipping Provider"
1630
-
1631
- #: includes/class-wc-advanced-shipment-tracking.php:369
1632
- #: includes/class-wc-advanced-shipment-tracking.php:372
1633
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1634
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1635
  msgid "Y-m-d"
1636
  msgstr "Y-m-d"
1637
 
1638
- #: includes/views/admin_options_tools.php:18
1639
- msgid ""
1640
- "You can send all your orders from the last 30 days to get shipment status "
1641
- "from TrackShip:"
1642
- msgstr ""
1643
- "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1644
- "статус на пратката от TrackShip:"
1645
-
1646
- #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1647
  msgid "You can upload only csv file."
1648
  msgstr "Можете да качите само csv файл."
1649
 
1650
- #: includes/views/admin_options_shipping_provider.php:83
 
1651
  msgid ""
1652
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1653
  "URL, for more info, check our "
@@ -1655,90 +1174,27 @@ msgstr ""
1655
  "Можете да използвате променливите% number%,% postal_code% и% country_code% в "
1656
  "URL адреса, за повече информация проверете нашата"
1657
 
1658
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1830
 
1659
  #, php-format
1660
  msgid "You did not create any %s shipping providers yet."
1661
  msgstr "Все още не сте създали доставчици на% s доставка."
1662
 
1663
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1836
 
1664
  #, php-format
1665
  msgid "You don't have any %s shipping providers."
1666
  msgstr "Нямате доставчици за доставки на% s."
1667
 
1668
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1112
1669
- #, php-format
1670
- msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1671
- msgstr ""
1672
- "Получихте% s% s поръчки със статус на пратка „Проблем с връзката TrackShip“"
1673
-
1674
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1103
1675
- #, php-format
1676
- msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1677
- msgstr ""
1678
- "Получихте% s% s поръчки със статус на пратка „Салдото на TrackShip е 0“"
1679
-
1680
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1094
1681
- #, php-format
1682
- msgid ""
1683
- "You got %s %s orders with tracking info that were not sent to track on "
1684
- "TrackShip"
1685
- msgstr ""
1686
- "Получихте% s% s поръчки с информация за проследяване, които не бяха "
1687
- "изпратени за проследяване на TrackShip"
1688
-
1689
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:578
1690
- msgid ""
1691
- "You must add the shortcode [wcast-track-order] to the selected page in order "
1692
- "for the tracking page to work."
1693
- msgstr ""
1694
- "Трябва да добавите шорткода [wcast-track-order] към избраната страница, за "
1695
- "да работи страницата за проследяване."
1696
-
1697
- #: includes/customizer/class-wc-delivered-email-customizer.php:73
1698
- msgid "Your order #{order_number} has been delivered"
1699
- msgstr "Вашата поръчка № {order_number} е доставена"
1700
-
1701
- #: includes/customizer/class-wc-returntosender-email-customizer.php:73
1702
- msgid "Your order #{order_number} has returned to sender"
1703
- msgstr ""
1704
- "Вашата поръчка # {order_number} се върна на подателя\n"
1705
-
1706
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:73
1707
- msgid "Your order #{order_number} is available for pickup"
1708
- msgstr ""
1709
- "Вашата поръчка # {order_number} е достъпна за приемане\n"
1710
-
1711
- #: includes/customizer/class-wc-exception-email-customizer.php:72
1712
- msgid "Your order #{order_number} is Exception"
1713
- msgstr "Вашата поръчка № {order_number} е изключение"
1714
-
1715
- #: includes/customizer/class-wc-failure-email-customizer.php:72
1716
- msgid "Your order #{order_number} is Failed Attempt"
1717
- msgstr "Вашата поръчка № {order_number} е неуспешен опит"
1718
-
1719
- #: includes/customizer/class-wc-intransit-email-customizer.php:98
1720
- msgid "Your order #{order_number} is in transit"
1721
- msgstr ""
1722
- "Вашата поръчка # {order_number} е в транзит\n"
1723
-
1724
- #: includes/customizer/class-wc-onhold-email-customizer.php:72
1725
- msgid "Your order #{order_number} is on hold"
1726
- msgstr "Вашата поръчка № {order_number} е задържана"
1727
-
1728
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:72
1729
- msgid "Your order #{order_number} is out for delivery"
1730
- msgstr ""
1731
- "Вашата поръчка # {order_number} е за доставка\n"
1732
-
1733
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
1734
  msgid "Your Order is Partially Shipped"
1735
  msgstr "Вашата поръчка е частично изпратена"
1736
 
1737
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1738
  msgid "Your {site_title} order is now partially shipped"
1739
  msgstr "Поръчката ви {site_title} вече е частично доставена"
1740
 
1741
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:114
1742
  msgid "Your {site_title} order is now updated tracking"
1743
  msgstr ""
1744
  "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2021-10-12 10:37+0000\n"
7
+ "Last-Translator: John Doe\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
+ #. %s: search WooCommerce plugin link
18
+ #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "документация"
22
 
23
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
24
  msgid "Actions"
25
  msgstr "Действия"
26
 
27
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
+ msgid "Add API Name alias"
29
+ msgstr "Добавете псевдоним на име на API"
30
 
31
+ #: includes/views/admin_options_shipping_provider.php:65
32
  msgid ""
33
  "Add API name aliases to map Shipping providers names with the provider names "
34
  "that are updated in the shipment tracking API by external shipping services"
37
  "на доставки с имена на доставчици, които се актуализират в API за "
38
  "проследяване на пратки от външни служби за доставка"
39
 
40
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
42
  msgid "Add Custom Provider"
43
  msgstr "Добавете персонализиран доставчик"
44
 
54
  "поръчки. Информация за проследяване на пратки ще се появи в акаунтите на "
55
  "клиентите (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce"
56
 
57
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:815
58
  msgid "add the [wcast-track-order] shortcode in the selected page."
59
  msgstr "добавете шорткода [wcast-track-order] в избраната страница."
60
 
61
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
62
  msgid "Add Tracking"
63
  msgstr "Добавете проследяване"
64
 
65
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:339
66
  msgid "Add Tracking - order\t"
67
  msgstr "Добавяне на проследяване - поръчка"
68
 
69
+ #: includes/class-wc-advanced-shipment-tracking.php:517
70
  msgid "Add Tracking Info"
71
  msgstr "Добавяне на информация за проследяване"
72
 
73
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:605
74
+ msgid ""
75
+ "Add Tracking Information in AST meta fields when you automatically sync "
76
+ "tracking numbers from aliexpress orders"
77
+ msgstr ""
78
+ "Добавете информация за проследяване в мета полета на AST, когато автоматично "
79
+ "синхронизирате номера за проследяване от поръчки на aliexpress"
80
+
81
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:615
82
+ msgid ""
83
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
84
+ "& Packing Slips plugin By Ewout Fernhout"
85
+ msgstr ""
86
+ "Добавете информация за проследяване във фактура PDF, генерирана от "
87
+ "WooCommerce PDF фактури и приставки за опаковки от Ewout Fernhout"
88
+
89
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:625
90
+ msgid ""
91
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
92
+ "plugin By Bas Elbers"
93
+ msgstr ""
94
+ "Добавете информация за проследяване във фактура PDF генерирана от "
95
+ "WooCommerce PDF Invoices плъгин От Bas Elbers"
96
+
97
+ #: includes/views/admin_options_settings.php:16
98
  msgid "Add Tracking Options"
99
  msgstr "Добавете опции за проследяване"
100
 
101
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
102
  msgid "Add Tracking Order action"
103
  msgstr "Добавяне на действие за проследяване на поръчка"
104
 
105
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:585
106
+ msgid ""
107
+ "Adding tracking information to your orders shipped with 3plwinner and "
108
+ "automate your workflow"
109
+ msgstr ""
110
+ "Добавяне на информация за проследяване към вашите поръчки, доставени с "
111
+ "3plwinner, и автоматизиране на вашия работен поток"
112
+
113
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
114
+ msgid ""
115
+ "Adding tracking information to your orders shipped with CustomCat and "
116
+ "automate your workflow"
117
+ msgstr ""
118
+ "Добавянето на информация за проследяване към вашите поръчки, доставени с "
119
+ "CustomCat, и автоматизиране на вашия работен поток"
120
+
121
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:555
122
+ msgid ""
123
+ "Adding tracking information to your orders shipped with Dear Systems and "
124
+ "automate your workflow"
125
+ msgstr ""
126
+ "Добавяне на информация за проследяване към вашите поръчки, доставени с Dear "
127
+ "Systems, и автоматизиране на вашия работен процес"
128
+
129
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:595
130
+ msgid ""
131
+ "Adding tracking information to your orders shipped with Dianxiaomi and "
132
+ "automate your workflow"
133
+ msgstr ""
134
+ "Добавянето на информация за проследяване към вашите поръчки, доставени с "
135
+ "Dianxiaomi, и автоматизиране на вашия работен процес"
136
+
137
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:575
138
+ msgid ""
139
+ "Adding tracking information to your orders shipped with Picqer and automate "
140
+ "your workflow"
141
+ msgstr ""
142
+ "Добавянето на информация за проследяване към вашите поръчки, доставени с "
143
+ "Picqer, и автоматизиране на вашия работен процес"
144
+
145
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:565
146
+ msgid ""
147
+ "Adding tracking information to your orders shipped with Printify and "
148
+ "automate your workflow"
149
+ msgstr ""
150
+ "Добавяне на информация за проследяване към вашите поръчки, доставени с "
151
+ "Printify, и автоматизиране на вашия работен процес"
152
+
153
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:515
154
+ msgid ""
155
+ "Adding tracking information to your orders shipped with QuickBooks Commerce "
156
+ "and automate your workflow"
157
+ msgstr ""
158
+ "Добавянето на информация за проследяване към вашите поръчки, доставени с "
159
+ "QuickBooks Commerce, и автоматизиране на вашия работен поток"
160
+
161
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:525
162
+ msgid ""
163
+ "Adding tracking information to your orders shipped with ReadyToShip and "
164
+ "automate your workflow"
165
+ msgstr ""
166
+ "Добавянето на информация за проследяване към вашите поръчки, доставени с "
167
+ "ReadyToShip, и автоматизиране на вашия работен поток"
168
+
169
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
170
+ msgid ""
171
+ "Adding tracking information to your orders shipped with Royal Mail Click & "
172
+ "Drop and automate your workflow"
173
+ msgstr ""
174
+ "Добавяне на информация за проследяване към вашите поръчки, доставени с Royal "
175
+ "Mail Click & Drop и автоматизиране на вашия работен поток"
176
+
177
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:475
178
+ msgid ""
179
+ "Adding tracking information to your orders shipped with ShipStation and "
180
+ "automate your workflow"
181
+ msgstr ""
182
+ "Добавянето на информация за проследяване към вашите поръчки, доставени със "
183
+ "ShipStation, и автоматизиране на вашия работен процес"
184
+
185
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:485
186
+ msgid ""
187
+ "Adding tracking information to your orders shipped with WooCommerce Shipping "
188
+ "to the Shipment Tracking and automate your workflow"
189
+ msgstr ""
190
+ "Добавяне на информация за проследяване към вашите поръчки, доставени с "
191
+ "WooCommerce Доставка, за проследяване на пратки и автоматизиране на работния "
192
+ "ви поток"
193
+
194
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:505
195
+ msgid ""
196
+ "Adding tracking information to your orders when generating shipping labels "
197
+ "using the Ordoro"
198
+ msgstr ""
199
+ "Добавяне на информация за проследяване към вашите поръчки при генериране на "
200
+ "етикети за доставка с помощта на Ordoro"
201
+
202
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:495
203
+ msgid ""
204
+ "Adding tracking information to your orders when generating shipping labels "
205
+ "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
206
+ "PluginHive"
207
+ msgstr ""
208
+ "Добавяне на информация за проследяване към вашите поръчки при генериране на "
209
+ "етикети за доставка с помощта на добавката за доставка на WooCommerce UPS с "
210
+ "приставка Print Label от PluginHive"
211
+
212
+ #: includes/customizer/class-wc-tracking-info-customizer.php:245
213
  msgid "Additional text after header"
214
  msgstr "Допълнителен текст след заглавието"
215
 
 
 
 
 
216
  #. Name of the plugin
217
  msgid "Advanced Shipment Tracking for WooCommerce"
218
  msgstr "Разширено проследяване на пратки за WooCommerce"
219
 
220
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
221
  msgid "After Order Details"
222
  msgstr "След подробности за поръчката"
223
 
224
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
225
  msgid "API aliases"
226
  msgstr "API псевдоними"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
229
+ msgid "API Date Format"
230
+ msgstr "API формат на датата"
231
+
232
+ #: includes/views/admin_options_shipping_provider.php:67
233
  msgid "API Name"
234
  msgstr "Име на API"
235
 
236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:333
237
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
238
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
239
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
240
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
241
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
242
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
243
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
244
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  msgid "Available variables:"
246
  msgstr "Налични променливи:"
247
 
248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
 
 
 
 
249
  msgid "Before Order Details"
250
  msgstr "Преди подробности за поръчката"
251
 
252
+ #: includes/customizer/class-wc-tracking-info-customizer.php:537
253
  msgid "Border color"
254
  msgstr "Цвят на границата"
255
 
256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
257
  msgid "Border size"
258
  msgstr "Размер на границата"
259
 
260
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
261
  msgid "Bottom border color"
262
  msgstr ""
263
  "Цвят на долната граница\n"
264
 
265
+ #: includes/customizer/class-wc-tracking-info-customizer.php:968
266
  msgid "Button color"
267
  msgstr "Цвят на бутона"
268
 
269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:986
270
  msgid "Button font color"
271
  msgstr "Цвят на шрифта на бутона"
272
 
273
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
274
  msgid "Cannot create existing order shipment tracking."
275
  msgstr "Cannot create existing order shipment tracking."
276
 
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
278
  msgid "Change order status to"
279
  msgstr "Променете състоянието на поръчката на"
280
 
281
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:299
282
  msgid "Change status to shipped"
283
  msgstr "Промяна на състоянието на изпратено"
284
 
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
286
  msgid "Choose for which Order status to display"
287
  msgstr "Изберете за кой статус на поръчката да се показва"
288
 
289
+ #: includes/views/admin_options_bulk_upload.php:32
290
  msgid "Choose the Shipped Date format"
291
  msgstr "Изберете формата на изпратената дата"
292
 
293
+ #: includes/class-wc-advanced-shipment-tracking.php:467
294
  msgid "Completed"
295
  msgstr "завършен"
296
 
297
+ #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
298
  msgid "Content"
299
  msgstr "съдържание"
300
 
301
+ #: includes/customizer/class-wc-tracking-info-customizer.php:807
302
  msgid "Content Background color"
303
  msgstr "Цвят на фона на съдържанието"
304
 
305
+ #: includes/customizer/class-wc-tracking-info-customizer.php:370
306
+ #: includes/customizer/class-wc-tracking-info-customizer.php:825
307
  msgid "Content font color"
308
  msgstr ""
309
  "Цвят на шрифта на съдържанието\n"
310
 
311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:843
313
  msgid "Content font size"
314
  msgstr ""
315
  "Размер на шрифта на съдържанието\n"
316
 
317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:885
318
  msgid "Content font weight"
319
  msgstr ""
320
  "Тегло на шрифта на съдържанието\n"
321
 
322
+ #: includes/customizer/class-wc-tracking-info-customizer.php:862
323
  msgid "Content line height"
324
  msgstr ""
325
  "Височина на линията на съдържанието\n"
326
 
327
+ #: includes/views/admin_options_bulk_upload.php:55
328
  msgid "Continue"
329
  msgstr "продължи"
330
 
331
+ #: includes/views/admin_options_shipping_provider.php:72
332
  msgid "Country"
333
  msgstr "Страна"
334
 
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:381
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:385
337
+ #: includes/views/admin_options_bulk_upload.php:8
338
  msgid "CSV Import"
339
  msgstr "CSV импортиране"
340
 
341
+ #: includes/views/admin_options_shipping_provider.php:65
342
  msgid "Custom API name"
343
  msgstr "Име на потребителски API"
344
 
345
+ #: includes/views/admin_options_shipping_provider.php:61
346
  msgid "Custom display name"
347
  msgstr "Персонализирано име за показване"
348
 
349
+ #: includes/customizer/class-wcast-customizer.php:44
350
  msgid "Custom order status email"
351
  msgstr "Имейл за състояние на поръчка по поръчка"
352
 
353
+ #: includes/views/admin_options_shipping_provider.php:82
 
 
 
 
354
  msgid "Custom URL"
355
  msgstr "Персонализиран URL адрес"
356
 
357
+ #: includes/views/admin_options_settings.php:32
358
  msgid "Customer View"
359
  msgstr "Изглед на клиента"
360
 
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:712
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:832
 
 
 
 
363
  msgid "Customize"
364
  msgstr "Персонализирайте"
365
 
366
+ #: includes/views/admin_options_osm.php:66
 
 
 
 
 
367
  msgid "Dark Font"
368
  msgstr ""
369
  "Тъмен шрифт\n"
370
 
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
372
  msgid "Data saved successfully."
373
  msgstr "Данните са запазени успешно."
374
 
375
+ #: includes/class-wc-advanced-shipment-tracking.php:369
376
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:377
377
  msgid "Date shipped:"
378
  msgstr "Дата на изпращане:"
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
 
 
 
 
381
  #| msgid "Default"
382
  msgid "default"
383
  msgstr "по подразбиране"
384
 
385
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
386
  msgid "Delivered"
387
  msgstr "Доставени"
388
 
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
390
  msgid "Display Name"
391
  msgstr "Показвано име"
392
 
393
+ #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
 
394
  msgid "Display shipping provider image"
395
  msgstr ""
396
  "Покажи изображението на доставчика на доставка\n"
397
 
398
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
399
  msgid "Display shipping provider name"
400
  msgstr ""
401
  "Показване на име на доставчика на доставка\n"
402
 
403
+ #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
404
  msgid "Download sample csv"
405
  msgstr "Изтеглете пример csv"
406
 
407
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
408
+ msgid "edit"
409
+ msgstr "редактиране"
410
+
411
+ #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
412
  msgid "Edit Shipping Provider"
413
  msgstr "Редактиране на доставчика на доставка"
414
 
415
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
416
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
417
  msgid "Email content"
418
  msgstr "Съдържание на имейла"
419
 
420
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
421
  msgid "Email Type"
422
  msgstr "Тип имейл"
423
 
424
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
425
+ msgid "Enable Partially Shipped order status email"
426
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
427
 
428
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:584
429
+ msgid "Enable the 3plwinner integration"
430
+ msgstr "Активирайте интеграцията на 3plwinner"
431
 
432
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:604
433
+ msgid "Enable the AliExpress Dropshipping integration"
434
+ msgstr "Активирайте интегрирането на AliExpress Dropshipping"
435
 
436
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:544
437
+ msgid "Enable the CustomCat integration"
438
+ msgstr "Активирайте интеграцията на CustomCat"
439
 
440
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:554
441
+ msgid "Enable the Dear Systems integration"
442
+ msgstr "Активирайте интеграцията на Dear Systems"
443
 
444
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:594
445
+ msgid "Enable the Dianxiaomi integration"
446
+ msgstr "Активирайте интеграцията на Dianxiaomi"
447
 
448
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:504
449
+ msgid "Enable the Ordoro tracking integration"
450
+ msgstr "Активирайте интегрирането на Ordoro проследяване"
451
 
452
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:574
453
+ msgid "Enable the Picqer integration"
454
+ msgstr "Активирайте интеграцията на Picqer"
455
 
456
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:564
457
+ msgid "Enable the Printify integration"
458
+ msgstr "Активирайте интегрирането на Printify"
459
 
460
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:514
461
+ msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
462
+ msgstr "Активирайте QuickBooks Commerce (преди TradeGecko) интеграции"
463
 
464
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
465
+ msgid "Enable the ReadyToShip integration"
466
+ msgstr "Активирайте интеграцията на ReadyToShip"
467
+
468
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:534
469
+ msgid "Enable the Royal Mail Click & Drop integration"
470
+ msgstr "Активирайте интеграцията на Royal Mail Click & Drop"
471
+
472
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:474
473
+ msgid "Enable the ShipStation integration"
474
+ msgstr "Активирайте интеграцията на ShipStation"
475
+
476
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:484
477
+ msgid "Enable the WC Shipping integration"
478
+ msgstr "Активирайте интеграцията на WC доставка"
479
+
480
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:494
481
+ msgid ""
482
+ "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
483
+ "integration"
484
+ msgstr ""
485
+ "Активирайте добавката за доставка на UooCommerce UPS с интеграция на "
486
+ "приставка за печат на етикет"
487
+
488
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
489
  msgid "Enable Track button in orders history (actions)"
490
  msgstr ""
491
  "Активиране на бутона за проследяване в историята на поръчките (действия)"
492
 
493
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
 
 
 
 
494
  msgid "Enable Updated Tracking order status email"
495
  msgstr ""
496
  "Активиране на имейла за актуализирано проследяване на поръчката\n"
497
 
498
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
499
  msgid "Filter by shipping provider"
500
  msgstr "Филтрирайте по доставчик"
501
 
502
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:388
 
 
 
 
 
 
503
  msgid "Fulfill Order"
504
  msgstr "Изпълнение на поръчката"
505
 
506
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:425
507
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:429
 
508
  msgid "General Settings"
509
  msgstr "Основни настройки"
510
 
511
+ #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
512
  msgid "Global"
513
  msgstr "в световен мащаб"
514
 
515
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
516
  msgid "Go Pro"
517
  msgstr "Go Pro"
518
 
519
+ #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
 
 
 
 
520
  msgid "Headers background color"
521
  msgstr "Цвят на фона на заглавките"
522
 
523
+ #: includes/customizer/class-wc-tracking-info-customizer.php:749
524
  msgid "Headers font color"
525
  msgstr ""
526
  "Цвят на шрифта на заглавките\n"
527
 
528
+ #: includes/customizer/class-wc-tracking-info-customizer.php:712
529
  msgid "Headers font size"
530
  msgstr ""
531
  "Размер на шрифта на заглавките\n"
532
 
533
+ #: includes/customizer/class-wc-tracking-info-customizer.php:767
534
  msgid "Headers font weight"
535
  msgstr "Тегло на шрифта на заглавките"
536
 
537
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
538
  msgid ""
539
  "Hi there. we thought you'd like to know that the shipment tracking for your "
540
  "recent order from {site_title} has been updated."
542
  "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
543
  "за скорошната ви поръчка от {site_title} е актуализирано.\n"
544
 
545
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
546
  msgid ""
547
  "Hi there. we thought you'd like to know that your recent order from "
548
  "{site_title} has been partially shipped."
550
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
551
  "{site_title} е частично изпратена.\n"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:645
554
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:662
555
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
556
  msgid "hide details"
557
  msgstr "скрий подробности"
558
 
559
+ #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
 
 
 
 
 
560
  msgid "Hide Table Headers"
561
  msgstr ""
562
  "Скриване на заглавките на таблици\n"
563
 
564
+ #: includes/customizer/class-wc-tracking-info-customizer.php:482
565
  #| msgid "Hide the ship date"
566
  msgid "Hide the shipped date"
567
  msgstr "Скриване на изпратената дата"
568
 
569
+ #: includes/customizer/class-wc-tracking-info-customizer.php:203
 
 
 
 
 
 
 
 
570
  msgid "Hide Tracking Header"
571
  msgstr "Скриване на проследяващия заглавие"
572
 
573
+ #: includes/views/admin_options_bulk_upload.php:118
574
  msgid "How to import tracking number from CSV files?"
575
  msgstr "Как да импортирам номер за проследяване от CSV файлове?"
576
 
582
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
583
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
584
 
585
+ #: includes/views/admin_options_bulk_upload.php:74
586
  msgid "Import in Progress"
587
  msgstr "Вносът е в процес"
588
 
589
+ #: includes/views/admin_options_trackship_integration.php:18
 
 
 
 
 
 
 
 
590
  msgid "Install TrackShip for WooCommerce"
591
  msgstr "Инсталирайте TrackShip за WooCommerce"
592
 
593
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:390
594
+ #: includes/views/integrations_admin_options.php:3
595
+ msgid "Integrations"
596
+ msgstr "Интеграции"
597
+
598
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
599
  msgid "Invalid order ID."
600
  msgstr "Невалиден идентификационен номер на поръчката."
601
 
602
+ #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
603
  msgid ""
604
  "Keep unchecked for the tracking info to be added to any existing tracking "
605
  "info added to the orders."
607
  "Не оставяйте отметка информацията за проследяване да се добавя към всяка "
608
  "съществуваща информация за проследяване, добавена към поръчките."
609
 
610
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
611
  msgid "License"
612
  msgstr "License"
613
 
614
+ #: includes/views/admin_options_osm.php:65
 
615
  msgid "Light Font"
616
  msgstr ""
617
  "Лек шрифт\n"
618
 
619
+ #: includes/class-wc-advanced-shipment-tracking.php:300
 
 
 
 
620
  msgid "Mark as Completed?"
621
  msgstr "Да се ​​маркира като завършен?"
622
 
623
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
624
  msgid "Mark as Shipped"
625
  msgstr "Маркирайте като изпратено"
626
 
627
+ #: includes/class-wc-advanced-shipment-tracking.php:297
628
  msgid "Mark as Shipped?"
629
  msgstr "Да се ​​маркира като изпратен?"
630
 
631
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
632
  msgid "Mark order as delivered"
633
  msgstr "Маркирайте поръчката като доставена"
634
 
635
+ #: includes/class-wc-advanced-shipment-tracking.php:492
636
  msgid "Mark order as:"
637
  msgstr "Маркиране на поръчката като:"
638
 
639
+ #: includes/customizer/class-wcast-customizer.php:359
 
640
  msgid "Mockup Order"
641
  msgstr "Мокетна поръчка"
642
 
643
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:816
644
+ #: includes/views/integrations_admin_options.php:20
645
  msgid "more info"
646
  msgstr ""
647
  "повече информация\n"
648
 
649
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
650
  msgid "Multiple API names mapping is a pro features"
651
  msgstr "Съпоставянето на множество имена на API е професионална функция"
652
 
653
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
 
 
 
 
 
 
 
654
  #| msgid "Open the track link in a new tab"
655
  msgid "Open the Track Button link in a new tab"
656
  msgstr "Отворете връзката за песен в нов раздел"
657
 
658
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
 
 
 
 
 
659
  msgid "Order Emails Display"
660
  msgstr "Показване на имейли за поръчки"
661
 
 
 
 
 
 
662
  #. %s: Order ID.
663
+ #: templates/emails/wcast-email-order-details.php:55
664
  #, php-format
665
  msgid "Order number: %s"
666
  msgstr ""
667
  "Номер на поръчката:% s\n"
668
 
669
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:434
670
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:438
671
+ #: includes/views/admin_options_settings.php:64
672
  msgid "Order Statuses"
673
  msgstr "Статуси на поръчки"
674
 
675
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
676
+ #: includes/class-wc-advanced-shipment-tracking.php:1193
677
+ #: includes/class-wc-advanced-shipment-tracking.php:1269
678
  #, php-format
679
+ #| msgid "Order was shipped with %s and tracking number is: %s"
680
+ msgid "Order was shipped with %1$s and tracking number is: %2$s"
681
+ msgstr "Поръчката е изпратена с %1 $ s, а проследяващият номер е: %2 $ s"
 
 
 
 
682
 
683
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:808
684
  msgid "Other"
685
  msgstr "Други"
686
 
687
+ #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
688
  msgid "Partial Shipped"
689
  msgstr "Частично изпратено"
690
 
691
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
692
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
693
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
694
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
695
  msgid "Partially Shipped"
696
  msgstr "Частично изпратени"
697
 
698
+ #. %s: replace with Partially Shipped Count
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:135
700
  #, php-format
701
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
702
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
703
  msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
704
  msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
705
 
706
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:614
707
+ msgid ""
708
+ "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
709
+ "By Ewout Fernhout"
710
+ msgstr ""
711
+ "Интеграция на фактури в PDF за плъгин за фактури и опаковъчни фишове на "
712
+ "WooCommerce от Ewout Fernhout"
713
 
714
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:624
715
+ msgid ""
716
+ "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
717
+ msgstr ""
718
+ "Интеграция на PDF фактури за WooCommerce PDF Invoices плъгин От Bas Elbers"
719
 
720
  #. %s: search WooCommerce plugin link
721
+ #: woocommerce-advanced-shipment-tracking.php:181
722
  #, php-format
723
  msgid ""
724
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
727
  "Моля, инсталирайте и активирайте% 1 $ sWooCommerce% 2 $ s за разширено "
728
  "проследяване на пратки за WooCommerce!"
729
 
730
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
731
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  msgid "Please select order to preview."
733
  msgstr "Моля, изберете поръчка за преглед."
734
 
735
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:177
736
  msgid "Please upload a valid CSV file."
737
  msgstr "Моля, качете валиден CSV файл."
738
 
739
+ #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
740
  msgid "Preview:"
741
  msgstr "Преглед:"
742
 
743
+ #: includes/class-wc-advanced-shipment-tracking.php:361
744
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:373
745
  msgid "Product Code:"
746
  msgstr "Код на продукта:"
747
 
748
+ #: includes/customizer/class-wc-tracking-info-customizer.php:141
749
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
750
+ #: templates/emails/tracking-info.php:216
751
+ #: templates/myaccount/tracking-info.php:192
 
 
 
 
752
  msgid "Provider"
753
  msgstr "доставчик"
754
 
755
+ #: includes/views/admin_options_shipping_provider.php:57
756
+ #: templates/emails/tracking-info.php:222
757
+ #: templates/myaccount/tracking-info.php:198
758
  msgid "Provider Name"
759
  msgstr "Provider Name"
760
 
761
+ #: includes/views/admin_options_shipping_provider.php:116
762
  msgid "Providers Added"
763
  msgstr "Доставчиците са добавени"
764
 
765
+ #: includes/views/admin_options_shipping_provider.php:118
766
  msgid "Providers Deleted"
767
  msgstr "Доставчиците са изтрити"
768
 
769
+ #: includes/views/admin_options_shipping_provider.php:117
770
  msgid "Providers Updated"
771
  msgstr "Актуализирани доставчици"
772
 
773
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:174
774
  msgid "Really delete this entry? This will not be undo."
775
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
776
 
777
+ #: includes/views/admin_options_osm.php:14
778
  msgid "Rename the “Completed” Order status label to “Shipped”"
779
  msgstr "Преименувайте етикета за състоянието на „Завършена“ на „Изпратена“"
780
 
781
+ #: includes/views/admin_options_bulk_upload.php:46
782
  msgid "Replace tracking information?"
783
  msgstr "Replace tracking information?"
784
 
785
+ #: includes/views/admin_options_shipping_provider.php:100
786
  msgid "Reset"
787
  msgstr "Нулиране"
788
 
789
+ #: includes/views/admin_options_shipping_provider.php:122
790
  msgid ""
791
  "Reset providers database, it will reset all your shipping provider database"
792
  msgstr ""
793
  "Нулирайте базата данни на доставчиците, тя ще нулира цялата база данни на "
794
  "доставчика ви"
795
 
796
+ #: includes/views/admin_options_settings.php:19
797
+ #: includes/views/admin_options_settings.php:35
798
+ #: includes/views/admin_options_settings.php:51
799
+ #: includes/views/admin_options_settings.php:67
800
+ msgid "Save & Close"
801
+ msgstr "Запазване и затваряне"
 
802
 
803
+ #: includes/class-wc-advanced-shipment-tracking.php:384
 
 
 
 
804
  msgid "Save Tracking"
805
  msgstr "Запазване на проследяването"
806
 
807
+ #: includes/views/admin_options_shipping_provider.php:27
808
  msgid "Search by provider / country"
809
  msgstr "Търсене по доставчик / държава"
810
 
811
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
 
 
 
 
 
 
812
  msgid "Select email type"
813
  msgstr "Изберете тип имейл"
814
 
815
+ #: includes/class-wc-advanced-shipment-tracking.php:323
816
  msgid "Select Provider"
817
  msgstr "Изберете Доставчик"
818
 
819
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
 
 
 
 
820
  msgid "Select Template"
821
  msgstr ""
822
  "Изберете шаблон\n"
823
 
824
+ #: includes/views/admin_options_osm.php:74
 
 
 
 
 
825
  msgid "Send Email"
826
  msgstr ""
827
  "Изпратете имейл\n"
828
 
829
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
830
  msgid ""
831
  "Set the \"mark as shipped\" option checked when adding tracking info to "
832
  "orders"
834
  "Задайте отметката за опция „маркирай като изпратена“, когато добавяте "
835
  "информация за проследяване към поръчките"
836
 
837
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:352
838
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:356
839
  #: includes/views/admin_options_settings.php:9
840
  msgid "Settings"
841
  msgstr "Настройки"
842
 
843
+ #: includes/views/admin_options_bulk_upload.php:57
844
  msgid "Settings Saved."
845
  msgstr "Настройките са запазени."
846
 
847
+ #. %s: replace with status
848
+ #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
849
  #, php-format
850
  msgid "Shipment status changed to %s"
851
  msgstr "Състоянието на пратката се промени на% s"
852
 
853
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:189
854
  #: includes/class-wc-advanced-shipment-tracking.php:138
855
  #: includes/class-wc-advanced-shipment-tracking.php:219
856
  msgid "Shipment Tracking"
857
  msgstr "Проследяване на пратките"
858
 
859
+ #: includes/views/admin_options_settings.php:48
860
  msgid "Shipment Tracking API"
861
  msgstr "API за проследяване на пратки"
862
 
863
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:849
864
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:945
865
+ #: includes/class-wc-advanced-shipment-tracking.php:467
866
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:263
867
  msgid "Shipped"
868
  msgstr "Доставят"
869
 
870
+ #. %s: replace with shipped order count
871
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:283
872
  #, php-format
873
  msgid "Shipped <span class=\"count\">(%s)</span>"
874
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
875
  msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
876
  msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
877
 
878
+ #: includes/customizer/class-wc-tracking-info-customizer.php:143
879
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
880
  msgid "Shipped Date"
881
  msgstr ""
882
  "Дата на изпращане\n"
883
 
884
+ #: includes/customizer/class-wc-tracking-info-customizer.php:688
885
  #| msgid "Ship date header text"
886
  msgid "Shipped date header text"
887
  msgstr "Изпратен заглавен текст на датата"
888
 
889
  #. 1: shipping date
890
+ #: includes/class-wc-advanced-shipment-tracking.php:255
891
  #, php-format
892
  msgid "Shipped on %s"
893
  msgstr "Изпратено на% s"
894
 
895
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
896
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
897
  msgstr ""
898
  "Доставя се на {ship_date} чрез {shipping_provider} - {track_number_link}"
899
 
900
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
901
  msgid "Shipped Order"
902
  msgstr "Изпратена поръчка"
903
 
904
+ #: includes/views/admin_options_shipping_provider.php:74
 
 
 
 
905
  msgid "Shipping Country"
906
  msgstr "Страна на доставка"
907
 
908
+ #: includes/views/admin_options_shipping_provider.php:58
909
  msgid "Shipping Provider"
910
  msgstr "Доставчик на доставка"
911
 
912
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
913
  msgid "Shipping provider header text"
914
  msgstr "Текст на заглавката на доставчика"
915
 
916
+ #: includes/class-wc-advanced-shipment-tracking.php:321
917
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:350
918
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:352
919
  msgid "Shipping Provider:"
920
  msgstr "Доставчик:"
921
 
922
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:372
923
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:376
924
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
 
925
  msgid "Shipping Providers"
926
  msgstr "Доставчици на доставка"
927
 
928
+ #: includes/views/admin_options_shipping_provider.php:22
929
+ msgid "Shipping Providers & Carriers"
930
+ msgstr "Доставчици и превозвачи"
931
+
932
+ #: includes/views/admin_options_shipping_provider.php:120
933
  msgid "Shipping providers database reset successfully."
934
  msgstr "Базата данни на доставчиците на доставки се възстановява успешно."
935
 
936
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
937
  msgid "Show bottom border"
938
  msgstr ""
939
  "Показване на долната граница\n"
940
 
941
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
942
  msgid "Simple Layout Design"
943
  msgstr ""
944
  "Прост дизайн на оформлението\n"
945
 
946
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
947
  msgid "Special character not allowd in tracking number"
948
  msgstr "Специален знак не е разрешен в проследяващия номер"
949
 
950
+ #: includes/views/admin_options_shipping_provider.php:110
951
+ #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
952
  msgid "Sync Shipping Providers"
953
  msgstr "Синхронизирайте доставчиците на доставка"
954
 
955
+ #: includes/views/admin_options_shipping_provider.php:114
956
  msgid ""
957
  "Syncing the shipping providers list add or updates the pre-set shipping "
958
  "providers and will not effect custom shipping providers."
961
  "актуализира предварително зададените доставчици за доставка и няма да "
962
  "повлияе на доставчиците по поръчка."
963
 
964
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
965
  msgid "Table Content"
966
  msgstr "Съдържание на таблицата"
967
 
968
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
969
  msgid "Table Design Options"
970
  msgstr "Опции за дизайн на таблица"
971
 
972
+ #: includes/customizer/class-wc-tracking-info-customizer.php:605
973
  #| msgid "Table Headers"
974
  msgid "Table Header"
975
  msgstr "Заглавка на таблицата"
976
 
977
+ #: includes/customizer/class-wc-tracking-info-customizer.php:260
978
  msgid "Table Layout"
979
  msgstr ""
980
  "Оформление на таблицата\n"
981
 
982
+ #: includes/customizer/class-wc-tracking-info-customizer.php:427
983
  msgid "Table Options"
984
  msgstr "Опции на таблицата"
985
 
986
+ #: includes/customizer/class-wc-tracking-info-customizer.php:581
987
  msgid "Text align"
988
  msgstr "Подравняване на текста"
989
 
990
+ #: includes/views/admin_options_shipping_provider.php:61
991
  msgid ""
992
  "The custom display name will show in the tracking info section on the "
993
  "customer order emails, my-account, and TrackShip's tracking page and email "
997
  "проследяване на имейли за поръчки на клиенти, моя акаунт и проследяваща "
998
  "страница на TrackShip и известия по имейл"
999
 
1000
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:627
1001
  msgid "There are some issue with sync, Please Retry."
1002
  msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
1003
 
1004
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1005
  msgid "This browser does not support HTML5."
1006
  msgstr "Този браузър не поддържа HTML5."
1007
 
1008
+ #: includes/class-wc-advanced-shipment-tracking.php:784
1009
+ #: includes/class-wc-advanced-shipment-tracking.php:817
1010
+ #: includes/class-wc-advanced-shipment-tracking.php:835
1011
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1012
+ #: includes/customizer/class-wc-tracking-info-customizer.php:951
1013
+ #: templates/emails/tracking-info.php:264
1014
+ #: templates/myaccount/tracking-info.php:244
1015
+ #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1016
  msgid "Track"
1017
  msgstr "път"
1018
 
1019
+ #: includes/customizer/class-wc-tracking-info-customizer.php:908
1020
  msgid "Track Button"
1021
  msgstr "Бутон за проследяване"
1022
 
1023
+ #: includes/customizer/class-wc-tracking-info-customizer.php:925
1024
  msgid "Track Header"
1025
  msgstr "Проследяване на заглавката"
1026
 
1027
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1028
  msgid "Track header text"
1029
  msgstr ""
1030
  "Проследяване на заглавния текст\n"
1031
 
1032
+ #: includes/class-wc-advanced-shipment-tracking.php:242
1033
+ #: includes/class-wc-advanced-shipment-tracking.php:387
1034
  msgid "Track Shipment"
1035
  msgstr "Проследяване на пратката"
1036
 
1037
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1038
+ #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
  msgid "Tracking display layout"
1040
  msgstr "Проследяване на оформлението на дисплея"
1041
 
1042
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
1043
  msgid "Tracking Display Position"
1044
  msgstr "Проследяване на позицията на дисплея"
1045
 
1046
+ #: includes/customizer/class-wc-tracking-info-customizer.php:221
1047
  msgid "Tracking Header text"
1048
  msgstr ""
1049
  "Проследяване на текста на заглавката\n"
1050
 
1051
+ #: includes/customizer/class-wcast-customizer.php:37
 
 
 
 
 
1052
  msgid "Tracking info display"
1053
  msgstr ""
1054
  "Показване на информация за проследяване\n"
1055
 
1056
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1057
+ #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
 
1058
  #, php-format
1059
+ #| msgid ""
1060
+ #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1061
  msgid ""
1062
+ "Tracking info was deleted for tracking provider %1$s with tracking number "
1063
+ "%2$s"
1064
  msgstr ""
1065
+ "Информацията за проследяване е изтрита за проследяващия доставчик %1 $ s с "
1066
+ "проследяващ номер %2 $ s"
1067
 
1068
+ #: includes/customizer/class-wc-tracking-info-customizer.php:228
1069
  msgid "Tracking Information"
1070
  msgstr "Информация за проследяване"
1071
 
1072
+ #: includes/customizer/class-wc-tracking-info-customizer.php:142
1073
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
1074
+ #: templates/emails/tracking-info.php:235
1075
+ #: templates/myaccount/tracking-info.php:213
 
 
 
 
 
 
 
1076
  msgid "Tracking Number"
1077
  msgstr "Номер за проследяване"
1078
 
1079
+ #: includes/customizer/class-wc-tracking-info-customizer.php:665
1080
  #| msgid "Tracking Number header text"
1081
  msgid "Tracking number header text"
1082
  msgstr "Текст за заглавие на номер за проследяване"
1083
 
1084
+ #: includes/class-wc-advanced-shipment-tracking.php:317
1085
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1086
  msgid "Tracking number:"
1087
  msgstr "Номер за проследяване:"
1088
 
1089
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  msgid "TrackShip"
1091
  msgstr "TrackShip"
1092
 
1093
+ #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1094
  msgid "Update"
1095
  msgstr "Актуализиране"
1096
 
1097
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1098
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1099
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1100
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1101
  msgid "Updated Tracking"
1102
  msgstr "Актуализирано проследяване"
1103
 
1104
+ #. %s: replace with Updated Tracking Count
1105
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1106
  #, php-format
1107
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1108
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1109
  msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1110
  msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
1111
 
1112
+ #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
1113
  msgid "Upload a CSV file from your computer:"
1114
  msgstr "Качете CSV файл от вашия компютър:"
1115
 
1116
+ #: includes/views/admin_options_bulk_upload.php:107
1117
  msgid "Upload again"
1118
  msgstr "Качете отново"
1119
 
1120
+ #: includes/views/admin_options_bulk_upload.php:9
1121
  msgid ""
1122
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1123
  "file"
1125
  "Използвайте нашия CSV инструмент за импортиране, за да групово импортирате "
1126
  "информация за проследяване към поръчки от CSV файл"
1127
 
1128
+ #: includes/customizer/class-wc-tracking-info-customizer.php:501
1129
  msgid "Use tracking number as a link"
1130
  msgstr "Използвайте проследяващия номер като връзка"
1131
 
1132
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1133
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1134
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1135
+ #: includes/views/admin_options_bulk_upload.php:85
1136
  msgid "view details"
1137
  msgstr "Разгледайте детайлите"
1138
 
1139
+ #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
 
 
 
 
 
 
1140
  msgid "View Orders"
1141
  msgstr "Преглед на поръчки"
1142
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1143
  #. %s: replace with Partially Shipped order count
1144
+ #: woocommerce-advanced-shipment-tracking.php:502
1145
  #, php-format
1146
  msgid ""
1147
  "We detected %s orders that use the Partially Shipped order status, You can "
1150
  "Открихме% s поръчки, които използват състоянието на частично изпратена "
1151
  "поръчка. Можете да преназначите тези поръчки на различен статус"
1152
 
1153
+ #: includes/views/admin_options_shipping_provider.php:62
 
 
 
 
 
 
 
 
 
1154
  msgid "White Label Provider Name"
1155
  msgstr "Име на доставчика на White Label"
1156
 
1157
+ #: includes/class-wc-advanced-shipment-tracking.php:370
1158
+ #: includes/class-wc-advanced-shipment-tracking.php:373
1159
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1160
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1161
  msgid "Y-m-d"
1162
  msgstr "Y-m-d"
1163
 
1164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1165
  msgid "You can upload only csv file."
1166
  msgstr "Можете да качите само csv файл."
1167
 
1168
+ #. %s: search WooCommerce plugin link
1169
+ #: includes/views/admin_options_shipping_provider.php:89
1170
  msgid ""
1171
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1172
  "URL, for more info, check our "
1174
  "Можете да използвате променливите% number%,% postal_code% и% country_code% в "
1175
  "URL адреса, за повече информация проверете нашата"
1176
 
1177
+ #. %s: replace with status
1178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1179
  #, php-format
1180
  msgid "You did not create any %s shipping providers yet."
1181
  msgstr "Все още не сте създали доставчици на% s доставка."
1182
 
1183
+ #. %s: replace with status
1184
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1185
  #, php-format
1186
  msgid "You don't have any %s shipping providers."
1187
  msgstr "Нямате доставчици за доставки на% s."
1188
 
1189
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1190
  msgid "Your Order is Partially Shipped"
1191
  msgstr "Вашата поръчка е частично изпратена"
1192
 
1193
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
1194
  msgid "Your {site_title} order is now partially shipped"
1195
  msgstr "Поръчката ви {site_title} вече е частично доставена"
1196
 
1197
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1198
  msgid "Your {site_title} order is now updated tracking"
1199
  msgstr ""
1200
  "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
lang/woo-advanced-shipment-tracking-da_DK.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-da_DK.po CHANGED
@@ -3,8 +3,8 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-06-22 09:31+0000\n"
7
- "Last-Translator: John\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,22 +12,23 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.4.4; wp-5.5.3"
16
 
17
- #: includes/views/admin_options_shipping_provider.php:83
 
18
  #, php-format
19
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
20
  msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
21
 
22
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1712
23
  msgid "Actions"
24
  msgstr "Handlinger"
25
 
26
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1388
27
- msgid "Active Shipments"
28
- msgstr "Aktive forsendelser"
29
 
30
- #: includes/views/admin_options_shipping_provider.php:56
31
  msgid ""
32
  "Add API name aliases to map Shipping providers names with the provider names "
33
  "that are updated in the shipment tracking API by external shipping services"
@@ -36,8 +37,8 @@ msgstr ""
36
  "udbydernavne, der opdateres i forsendelsessporings-API'en af ​​eksterne "
37
  "forsendelsestjenester"
38
 
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1700
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1833
41
  msgid "Add Custom Provider"
42
  msgstr "Add Custom Provider"
43
 
@@ -52,572 +53,487 @@ msgstr ""
52
  "kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
53
  "vises på kundekonti (i ordrepanelet) og i WooCommerce ordre komplet e-mail."
54
 
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:650
56
  msgid "add the [wcast-track-order] shortcode in the selected page."
57
  msgstr "tilføj kortkoden [wcast-track-order] på den valgte side."
58
 
59
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
60
  msgid "Add Tracking"
61
  msgstr "Tilføj sporing"
62
 
63
- #: includes/class-wc-advanced-shipment-tracking-settings.php:415
64
  msgid "Add Tracking - order\t"
65
  msgstr "Tilføj sporing - ordre"
66
 
67
- #: includes/class-wc-advanced-shipment-tracking.php:515
68
  msgid "Add Tracking Info"
69
  msgstr "Tilføj sporingsinfo"
70
 
71
- #: includes/views/admin_options_settings.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  msgid "Add Tracking Options"
73
  msgstr "Tilføj sporingsindstillinger"
74
 
75
- #: includes/class-wc-advanced-shipment-tracking-admin.php:768
76
  msgid "Add Tracking Order action"
77
  msgstr "Tilføj handling for sporingsordre"
78
 
79
- #: includes/customizer/class-wc-tracking-info-customizer.php:267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
80
  msgid "Additional text after header"
81
  msgstr "Yderligere tekst efter overskrift"
82
 
83
- #: includes/views/admin_status_notifications.php:52
84
- msgid "Admin Notifications"
85
- msgstr "Adminmeddelelser"
86
-
87
  #. Name of the plugin
88
  msgid "Advanced Shipment Tracking for WooCommerce"
89
  msgstr "Avanceret forsendelsessporing til WooCommerce"
90
 
91
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
92
  msgid "After Order Details"
93
  msgstr "Efter ordredetaljer"
94
 
95
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
96
  msgid "API aliases"
97
  msgstr "API-aliasser"
98
 
99
- #: includes/views/admin_options_shipping_provider.php:58
 
 
 
 
100
  msgid "API Name"
101
  msgstr "API-navn"
102
 
103
- #: includes/views/admin_status_notifications.php:141
104
- msgid "As it Happens"
105
- msgstr "Som det sker"
106
-
107
- #: includes/views/admin_trackship_dashboard.php:87
108
- msgid "Automation"
109
- msgstr "Automatisering"
110
-
111
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:283
112
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:863
113
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:941
114
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:74
115
- #: includes/customizer/class-wc-intransit-email-customizer.php:164
116
- msgid "Available For Pickup"
117
- msgstr ""
118
- "Klar til afhentning\n"
119
-
120
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:153
121
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:177
122
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
123
- #: includes/customizer/class-wc-delivered-email-customizer.php:151
124
- #: includes/customizer/class-wc-delivered-email-customizer.php:175
125
- #: includes/customizer/class-wc-delivered-email-customizer.php:220
126
- #: includes/customizer/class-wc-failure-email-customizer.php:151
127
- #: includes/customizer/class-wc-failure-email-customizer.php:175
128
- #: includes/customizer/class-wc-failure-email-customizer.php:220
129
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
130
- #: includes/customizer/class-wc-intransit-email-customizer.php:252
131
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
132
- #: includes/customizer/class-wc-onhold-email-customizer.php:151
133
- #: includes/customizer/class-wc-onhold-email-customizer.php:175
134
- #: includes/customizer/class-wc-onhold-email-customizer.php:220
135
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:150
136
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:174
137
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:219
138
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:213
139
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:237
140
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:262
141
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:282
142
- #: includes/customizer/class-wc-returntosender-email-customizer.php:152
143
- #: includes/customizer/class-wc-returntosender-email-customizer.php:176
144
- #: includes/customizer/class-wc-returntosender-email-customizer.php:220
145
- #: includes/customizer/class-wc-tracking-info-customizer.php:355
146
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:163
147
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:187
148
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:212
149
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:232
150
- #: includes/customizer/class-wc-exception-email-customizer.php:151
151
- #: includes/customizer/class-wc-exception-email-customizer.php:175
152
- #: includes/customizer/class-wc-exception-email-customizer.php:220
153
- #: includes/views/admin_status_notifications.php:123
154
  msgid "Available variables:"
155
  msgstr "Tilgængelige variabler:"
156
 
157
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1381
158
- msgid "Avg Shipment Length"
159
- msgstr "Gennemsnitlig forsendelseslængde"
160
-
161
- #: includes/customizer/class-wc-tracking-info-customizer.php:208
162
  msgid "Before Order Details"
163
  msgstr "Før ordredetaljer"
164
 
165
- #: includes/customizer/class-wc-tracking-info-customizer.php:559
166
  msgid "Border color"
167
  msgstr ""
168
  "Border farve\n"
169
 
170
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
171
  msgid "Border size"
172
  msgstr ""
173
  "Border størrelse\n"
174
 
175
- #: includes/customizer/class-wc-tracking-info-customizer.php:429
176
  msgid "Bottom border color"
177
  msgstr ""
178
  "Nederste kantfarve\n"
179
 
180
- #: includes/customizer/class-wc-tracking-info-customizer.php:990
181
  msgid "Button color"
182
  msgstr "Knapfarve"
183
 
184
- #: includes/customizer/class-wc-tracking-info-customizer.php:1008
185
  msgid "Button font color"
186
  msgstr "Knappens skrifttypefarve"
187
 
188
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:393
189
  msgid "Cannot create existing order shipment tracking."
190
  msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
191
 
192
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:868
193
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:965
194
- msgid "Carrier Unsupported"
195
- msgstr "Transportør understøttes ikke"
196
-
197
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
198
  msgid "Change order status to"
199
  msgstr "Skift ordrestatus til"
200
 
201
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
202
  msgid "Change status to shipped"
203
  msgstr "Skift status til afsendt"
204
 
205
- #: includes/class-wc-advanced-shipment-tracking-admin.php:891
206
  msgid "Choose for which Order status to display"
207
  msgstr "Vælg hvilken ordrestatus der skal vises"
208
 
209
- #: includes/views/admin_options_bulk_upload.php:33
210
  msgid "Choose the Shipped Date format"
211
  msgstr "Vælg formatet Sendt dato"
212
 
213
- #: includes/class-wc-advanced-shipment-tracking.php:466
214
  msgid "Completed"
215
  msgstr "afsluttet"
216
 
217
- #: includes/views/admin_trackship_dashboard.php:28
218
- msgid "Connected"
219
- msgstr ""
220
- "forbundet\n"
221
-
222
- #: includes/views/admin_trackship_dashboard.php:26
223
- msgid "Connection Status"
224
- msgstr "Forbindelsesstatus"
225
-
226
- #: includes/customizer/class-wc-tracking-info-customizer.php:334
227
  msgid "Content"
228
  msgstr "Indhold"
229
 
230
- #: includes/customizer/class-wc-tracking-info-customizer.php:829
231
  msgid "Content Background color"
232
  msgstr "Indhold Baggrundsfarve"
233
 
234
- #: includes/customizer/class-wc-tracking-info-customizer.php:392
235
- #: includes/customizer/class-wc-tracking-info-customizer.php:847
236
  msgid "Content font color"
237
  msgstr ""
238
  "Indhold font farve\n"
239
 
240
- #: includes/customizer/class-wc-tracking-info-customizer.php:373
241
- #: includes/customizer/class-wc-tracking-info-customizer.php:865
242
  msgid "Content font size"
243
  msgstr ""
244
  "Indholdsstørrelse\n"
245
 
246
- #: includes/customizer/class-wc-tracking-info-customizer.php:907
247
  msgid "Content font weight"
248
  msgstr ""
249
  "Indhold skrifttype vægt\n"
250
 
251
- #: includes/customizer/class-wc-tracking-info-customizer.php:884
252
  msgid "Content line height"
253
  msgstr ""
254
  "Indholdslinjehøjde\n"
255
 
256
- #: includes/views/admin_options_bulk_upload.php:56
257
  msgid "Continue"
258
  msgstr "Blive ved"
259
 
260
- #: includes/views/admin_options_shipping_provider.php:63
261
  msgid "Country"
262
  msgstr "Land"
263
 
264
- #: includes/class-wc-advanced-shipment-tracking-admin.php:414
265
- #: includes/class-wc-advanced-shipment-tracking-admin.php:418
 
266
  msgid "CSV Import"
267
  msgstr "CSV-import"
268
 
269
- #: includes/views/admin_options_shipping_provider.php:56
270
  msgid "Custom API name"
271
  msgstr "Brugerdefineret API-navn"
272
 
273
- #: includes/views/admin_options_shipping_provider.php:52
274
  msgid "Custom display name"
275
  msgstr "Brugerdefineret displaynavn"
276
 
277
- #: includes/customizer/class-wcast-customizer.php:35
278
  msgid "Custom order status email"
279
  msgstr "E-mail med brugerdefineret ordrestatus"
280
 
281
- #: includes/views/admin_options_settings.php:25
282
- msgid "Custom Order Statuses"
283
- msgstr "Brugerdefinerede ordrestatusser"
284
-
285
- #: includes/views/admin_options_shipping_provider.php:79
286
  msgid "Custom URL"
287
  msgstr "Brugerdefineret URL"
288
 
289
- #: includes/views/admin_options_settings.php:15
290
  msgid "Customer View"
291
  msgstr "Kundevisning"
292
 
293
- #: includes/class-wc-advanced-shipment-tracking-admin.php:403
294
- #: includes/class-wc-advanced-shipment-tracking-admin.php:409
295
- #: includes/class-wc-advanced-shipment-tracking-admin.php:546
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
297
- #: includes/views/admin_status_notifications.php:36
298
- #: includes/views/admin_status_notifications.php:69
299
  msgid "Customize"
300
  msgstr "Tilpas"
301
 
302
- #: includes/views/admin_status_notifications.php:145
303
- msgid "Daily Digest on"
304
- msgstr "Daglig fordøjelse"
305
-
306
- #: includes/views/admin_options_osm.php:58
307
- #: includes/views/admin_trackship_dashboard.php:118
308
  msgid "Dark Font"
309
  msgstr ""
310
  "Mørk skrifttype\n"
311
 
312
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:234
313
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:238
314
- msgid "Dashboard"
315
- msgstr "Dashboard"
316
-
317
- #: includes/class-wc-advanced-shipment-tracking-admin.php:232
318
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:212
319
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:422
320
  msgid "Data saved successfully."
321
  msgstr "Data gemt med succes."
322
 
323
- #: includes/class-wc-advanced-shipment-tracking.php:368
324
- #: includes/class-wc-advanced-shipment-tracking-settings.php:452
325
  msgid "Date shipped:"
326
  msgstr "Dato afsendt:"
327
 
328
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1383
329
- msgid "days"
330
- msgstr "dage"
331
-
332
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
333
  #| msgid "Default"
334
  msgid "default"
335
  msgstr "Standard"
336
 
337
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1637
338
- #: includes/class-wc-advanced-shipment-tracking-settings.php:131
339
- #: includes/class-wc-advanced-shipment-tracking-settings.php:176
340
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:297
341
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:865
342
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:935
343
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1392
344
- #: includes/customizer/class-wc-delivered-email-customizer.php:74
345
- #: includes/customizer/class-wc-intransit-email-customizer.php:166
346
- #: includes/views/admin_trackship_dashboard.php:109
347
  msgid "Delivered"
348
  msgstr "leveres"
349
 
350
- #: includes/class-wc-advanced-shipment-tracking-settings.php:136
351
- #, php-format
352
- msgid "Delivered <span class=\"count\">(%s)</span>"
353
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
354
- msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
355
- msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
356
-
357
- #: includes/views/front/layout1_tracking_details.php:17
358
- #: includes/views/front/layout1_tracking_details.php:94
359
- msgid "Destination Details"
360
- msgstr "Destinationsoplysninger"
361
-
362
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1709
363
  msgid "Display Name"
364
  msgstr "Visningsnavn"
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:552
367
- #| msgid "Display Shipment Status Filter on Orders admin"
368
- msgid "Display shipment status filter on orders admin"
369
- msgstr "Vis forsendelsesstatusfilter på ordreradministrator"
370
-
371
- #: includes/customizer/class-wc-tracking-info-customizer.php:485
372
  msgid "Display shipping provider image"
373
  msgstr ""
374
  "Vis forsendelsesudbyders billede\n"
375
 
376
- #: includes/customizer/class-wc-tracking-info-customizer.php:466
377
  msgid "Display shipping provider name"
378
  msgstr ""
379
  "Vis forsendelsesudbyderens navn\n"
380
 
381
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:278
382
- #: includes/customizer/class-wc-delivered-email-customizer.php:295
383
- #: includes/customizer/class-wc-failure-email-customizer.php:276
384
- #: includes/customizer/class-wc-intransit-email-customizer.php:353
385
- #: includes/customizer/class-wc-onhold-email-customizer.php:276
386
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
387
- #: includes/customizer/class-wc-returntosender-email-customizer.php:276
388
- #: includes/customizer/class-wc-exception-email-customizer.php:276
389
- #| msgid "Display Shipping Address"
390
- msgid "Display the shipping address"
391
- msgstr "Vis leveringsadressen"
392
-
393
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:240
394
- #: includes/customizer/class-wc-delivered-email-customizer.php:257
395
- #: includes/customizer/class-wc-failure-email-customizer.php:238
396
- #: includes/customizer/class-wc-intransit-email-customizer.php:315
397
- #: includes/customizer/class-wc-onhold-email-customizer.php:238
398
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
399
- #: includes/customizer/class-wc-returntosender-email-customizer.php:238
400
- #: includes/customizer/class-wc-exception-email-customizer.php:238
401
- msgid "Display the Shipping items"
402
- msgstr "Vis forsendelsesartiklerne"
403
-
404
- #: includes/views/admin_options_bulk_upload.php:118
405
  msgid "Download sample csv"
406
  msgstr "Download prøve csv"
407
 
408
- #: includes/views/admin_status_notifications.php:101
409
- msgid "E.g. {admin_email}, admin@example.org"
410
- msgstr "F.eks. {admin_email}, admin@example.org"
411
-
412
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:135
413
- #: includes/customizer/class-wc-delivered-email-customizer.php:133
414
- #: includes/customizer/class-wc-failure-email-customizer.php:133
415
- #: includes/customizer/class-wc-intransit-email-customizer.php:210
416
- #: includes/customizer/class-wc-onhold-email-customizer.php:133
417
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:132
418
- #: includes/customizer/class-wc-returntosender-email-customizer.php:134
419
- #: includes/customizer/class-wc-exception-email-customizer.php:133
420
- msgid "E.g. {customer.email}, admin@example.org"
421
- msgstr "F.eks {customer.email}, admin@example.org"
422
-
423
- #: includes/views/admin_options_shipping_provider.php:42
424
  msgid "Edit Shipping Provider"
425
  msgstr "Rediger forsendelsesudbyder"
426
 
427
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
428
- #: includes/customizer/class-wc-delivered-email-customizer.php:198
429
- #: includes/customizer/class-wc-failure-email-customizer.php:198
430
- #: includes/customizer/class-wc-intransit-email-customizer.php:275
431
- #: includes/customizer/class-wc-onhold-email-customizer.php:198
432
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:197
433
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:261
434
- #: includes/customizer/class-wc-returntosender-email-customizer.php:199
435
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
436
- #: includes/customizer/class-wc-exception-email-customizer.php:198
437
- #: includes/views/admin_status_notifications.php:117
438
  msgid "Email content"
439
  msgstr "Email indhold"
440
 
441
- #: includes/views/admin_status_notifications.php:15
442
- msgid "Email Notifications"
443
- msgstr "E-mail-underretninger"
444
-
445
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:152
446
- #: includes/customizer/class-wc-delivered-email-customizer.php:150
447
- #: includes/customizer/class-wc-failure-email-customizer.php:150
448
- #: includes/customizer/class-wc-intransit-email-customizer.php:227
449
- #: includes/customizer/class-wc-onhold-email-customizer.php:150
450
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:149
451
- #: includes/customizer/class-wc-exception-email-customizer.php:150
452
- msgid "Email Subject"
453
- msgstr "Email emne"
454
-
455
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
456
  msgid "Email Type"
457
  msgstr "E-mail-type"
458
 
459
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:585
460
- msgid "Enable a tracking page"
461
- msgstr "Aktivér en sporingsside"
 
 
 
 
462
 
463
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:109
464
- msgid "Enable Available For Pickup email"
465
- msgstr "Aktiver tilgængelig til afhentnings-e-mail"
466
 
467
- #: includes/customizer/class-wc-delivered-email-customizer.php:107
468
- msgid "Enable Delivered email"
469
- msgstr "Aktivér Leveret e-mail"
470
 
471
- #: includes/customizer/class-wc-exception-email-customizer.php:107
472
- msgid "Enable Exception email"
473
- msgstr "Aktivér undtagelses-e-mail"
474
 
475
- #: includes/customizer/class-wc-failure-email-customizer.php:107
476
- msgid "Enable Failed Attempt email"
477
- msgstr "Aktivér Mislykket forsøgs-e-mail"
478
 
479
- #: includes/customizer/class-wc-intransit-email-customizer.php:184
480
- msgid "Enable In Transit email"
481
- msgstr "Aktiver i transit-e-mail"
482
 
483
- #: includes/customizer/class-wc-onhold-email-customizer.php:107
484
- msgid "Enable On Hold email"
485
- msgstr "Aktivér e-mail på vent"
486
 
487
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:106
488
- msgid "Enable Out For Delivery email"
489
- msgstr "Aktiver e-mail til levering"
490
 
491
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:193
492
- msgid "Enable Partially Shipped order status email"
493
- msgstr "Aktivér delvis afsendt ordre-status-e-mail"
 
 
 
 
 
 
 
 
494
 
495
- #: includes/customizer/class-wc-returntosender-email-customizer.php:108
496
- msgid "Enable Return To Sender email"
497
- msgstr "Aktivér E-mail til returnering til afsender"
 
 
 
 
 
 
 
 
 
 
 
498
 
499
- #: includes/class-wc-advanced-shipment-tracking-admin.php:872
500
  msgid "Enable Track button in orders history (actions)"
501
  msgstr "Aktivér Spor-knap i ordrehistorik (handlinger)"
502
 
503
- #: includes/customizer/class-wc-tracking-page-customizer.php:248
504
- msgid "Enable Tracking # link to Carrier"
505
- msgstr "Aktivér link til sporingsnummer til operatør"
506
-
507
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
508
  msgid "Enable Updated Tracking order status email"
509
  msgstr ""
510
  "Aktivér e-mail med opdateret sporingsordrestatus\n"
511
 
512
- #: includes/views/front/tracking_page_header.php:22
513
- msgid "Est. Delivery Date"
514
- msgstr ""
515
- "Est. Leveringsdato\n"
516
-
517
- #: includes/customizer/class-wc-tracking-page-customizer.php:208
518
- #: includes/customizer/class-wc-tracking-page-customizer.php:211
519
- msgid "Events Display Type"
520
- msgstr "Begivenheders visningstype"
521
-
522
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:311
523
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:950
524
- #: includes/customizer/class-wc-intransit-email-customizer.php:168
525
- #: includes/customizer/class-wc-exception-email-customizer.php:73
526
- msgid "Exception"
527
- msgstr "Undtagelse"
528
-
529
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:304
530
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:866
531
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:947
532
- #: includes/customizer/class-wc-failure-email-customizer.php:73
533
- #: includes/customizer/class-wc-intransit-email-customizer.php:167
534
- msgid "Failed Attempt"
535
- msgstr "Mislykket forsøg"
536
-
537
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:875
538
- msgid "Filter by shipment status"
539
- msgstr "Filter by shipment status"
540
-
541
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
542
  msgid "Filter by shipping provider"
543
  msgstr "Filter by shipping provider"
544
 
545
- #: templates/tracking/tracking-form.php:12
546
- #: templates/tracking/tracking-form.php:13
547
- msgid "Found in your order confirmation email."
548
- msgstr ""
549
- "Findes i din ordrebekræftelses-email.\n"
550
-
551
- #: includes/class-wc-advanced-shipment-tracking-settings.php:462
552
  msgid "Fulfill Order"
553
  msgstr "Opfyld ordren"
554
 
555
- #: includes/class-wc-advanced-shipment-tracking-admin.php:450
556
- #: includes/class-wc-advanced-shipment-tracking-admin.php:454
557
- #: includes/views/admin_trackship_dashboard.php:70
558
  msgid "General Settings"
559
  msgstr "Generelle indstillinger"
560
 
561
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
562
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1095
563
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1104
564
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1113
565
- #: includes/views/admin_trackship_dashboard.php:8
566
- msgid "Get Shipment Status"
567
- msgstr "Få forsendelsesstatus"
568
-
569
- #: includes/views/admin_options_shipping_provider.php:66
570
  msgid "Global"
571
  msgstr "Global"
572
 
573
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
574
  msgid "Go Pro"
575
  msgstr "Bliv professionel"
576
 
577
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:296
578
- #: includes/customizer/class-wc-delivered-email-customizer.php:313
579
- #: includes/customizer/class-wc-failure-email-customizer.php:294
580
- #: includes/customizer/class-wc-intransit-email-customizer.php:371
581
- #: includes/customizer/class-wc-onhold-email-customizer.php:294
582
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
583
- #: includes/customizer/class-wc-returntosender-email-customizer.php:294
584
- #: includes/customizer/class-wc-exception-email-customizer.php:294
585
- msgid "Google Analytics link tracking"
586
- msgstr "Google Analytics-linksporing"
587
-
588
- #: includes/customizer/class-wc-tracking-info-customizer.php:753
589
  msgid "Headers background color"
590
  msgstr "Overskrifter baggrundsfarve"
591
 
592
- #: includes/customizer/class-wc-tracking-info-customizer.php:771
593
  msgid "Headers font color"
594
  msgstr ""
595
  "Headers fontfarve\n"
596
 
597
- #: includes/customizer/class-wc-tracking-info-customizer.php:734
598
  msgid "Headers font size"
599
  msgstr ""
600
  "Headers skriftstørrelse\n"
601
 
602
- #: includes/customizer/class-wc-tracking-info-customizer.php:789
603
  msgid "Headers font weight"
604
  msgstr "Overskrifter fontvægt"
605
 
606
- #. %s: search TS4WC plugin link
607
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:187
608
- #, php-format
609
- msgid ""
610
- "Hi there, We noticed that your store is connected to TrackShip and there is "
611
- "a new and better TrackShip integration plugin for WooCommerce that will work "
612
- "with AST. Please install and activate the new %1$sTrackShip For "
613
- "WooCommerce%2$s plugin."
614
- msgstr ""
615
- "Hej der, vi har bemærket, at din butik er forbundet til TrackShip, og der er "
616
- "et nyt og bedre TrackShip-integrations-plugin til WooCommerce, der fungerer "
617
- "med AST. Installer og aktiver det nye% 1 $ sTrackShip For WooCommerce% 2 $ s "
618
- "plugin."
619
-
620
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
621
  msgid ""
622
  "Hi there. we thought you'd like to know that the shipment tracking for your "
623
  "recent order from {site_title} has been updated."
@@ -625,15 +541,7 @@ msgstr ""
625
  "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
626
  "ordre fra {site_title} er blevet opdateret.\n"
627
 
628
- #: includes/customizer/class-wc-delivered-email-customizer.php:75
629
- msgid ""
630
- "Hi there. we thought you'd like to know that your recent order from "
631
- "{site_title} has been Delivered."
632
- msgstr ""
633
- "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
634
- "er blevet leveret.\n"
635
-
636
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
637
  msgid ""
638
  "Hi there. we thought you'd like to know that your recent order from "
639
  "{site_title} has been partially shipped."
@@ -641,102 +549,27 @@ msgstr ""
641
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
642
  "delvist sendt.\n"
643
 
644
- #: includes/customizer/class-wc-returntosender-email-customizer.php:75
645
- msgid ""
646
- "Hi there. we thought you'd like to know that your recent order from "
647
- "{site_title} has been returned to sender."
648
- msgstr ""
649
- "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
650
- "er blevet returneret til afsenderen."
651
-
652
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:75
653
- msgid ""
654
- "Hi there. we thought you'd like to know that your recent order from "
655
- "{site_title} is available for pickup."
656
- msgstr ""
657
- "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
658
- "er tilgængelig til afhentning.\n"
659
-
660
- #: includes/customizer/class-wc-exception-email-customizer.php:74
661
- msgid ""
662
- "Hi there. we thought you'd like to know that your recent order from "
663
- "{site_title} is Exception"
664
- msgstr ""
665
- "Hej. vi troede, du gerne vil vide, at din nylige ordre fra {site_title} er "
666
- "undtagelse"
667
-
668
- #: includes/customizer/class-wc-failure-email-customizer.php:74
669
- msgid ""
670
- "Hi there. we thought you'd like to know that your recent order from "
671
- "{site_title} is Failed Attempt"
672
- msgstr ""
673
- "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
674
- "mislykket forsøg"
675
-
676
- #: includes/customizer/class-wc-intransit-email-customizer.php:100
677
- msgid ""
678
- "Hi there. we thought you'd like to know that your recent order from "
679
- "{site_title} is in transit"
680
- msgstr ""
681
- "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
682
- "er i transit"
683
-
684
- #: includes/customizer/class-wc-onhold-email-customizer.php:74
685
- msgid ""
686
- "Hi there. we thought you'd like to know that your recent order from "
687
- "{site_title} is on hold"
688
- msgstr ""
689
- "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
690
- "på vent"
691
-
692
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:74
693
- msgid ""
694
- "Hi there. we thought you'd like to know that your recent order from "
695
- "{site_title} is out for delivery."
696
- msgstr ""
697
- "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
698
- "er ude for levering."
699
-
700
- #: includes/class-wc-advanced-shipment-tracking-settings.php:711
701
- #: includes/class-wc-advanced-shipment-tracking-settings.php:728
702
- #: includes/class-wc-advanced-shipment-tracking-settings.php:745
703
  msgid "hide details"
704
  msgstr "Gem detaljer"
705
 
706
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
707
- #: includes/customizer/class-wc-delivered-email-customizer.php:276
708
- #: includes/customizer/class-wc-failure-email-customizer.php:257
709
- #: includes/customizer/class-wc-intransit-email-customizer.php:334
710
- #: includes/customizer/class-wc-onhold-email-customizer.php:257
711
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:256
712
- #: includes/customizer/class-wc-returntosender-email-customizer.php:257
713
- #: includes/customizer/class-wc-exception-email-customizer.php:257
714
- msgid "Hide Shipping Items Price"
715
- msgstr "Skjul pris på forsendelsesartikler"
716
-
717
- #: includes/customizer/class-wc-tracking-info-customizer.php:644
718
  msgid "Hide Table Headers"
719
  msgstr ""
720
  "Skjul tabeloverskrifter\n"
721
 
722
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
723
  #| msgid "Hide the ship date"
724
  msgid "Hide the shipped date"
725
  msgstr "Skjul den afsendte dato"
726
 
727
- #: includes/customizer/class-wc-tracking-page-customizer.php:232
728
- msgid "Hide the Shipping Provider logo"
729
- msgstr "Skjul forsendelsesudbyderens logo"
730
-
731
- #: includes/customizer/class-wc-tracking-page-customizer.php:216
732
- msgid "Hide tracking events"
733
- msgstr "Skjul sporingshændelser"
734
-
735
- #: includes/customizer/class-wc-tracking-info-customizer.php:225
736
  msgid "Hide Tracking Header"
737
  msgstr "Skjul sporingshoved"
738
 
739
- #: includes/views/admin_options_bulk_upload.php:119
740
  msgid "How to import tracking number from CSV files?"
741
  msgstr "Hvordan importeres sporingsnummer fra CSV-filer?"
742
 
@@ -748,36 +581,24 @@ msgstr "https://www.zorem.com"
748
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
749
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
750
 
751
- #: includes/views/admin_options_bulk_upload.php:75
752
  msgid "Import in Progress"
753
  msgstr "Import i gang"
754
 
755
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:262
756
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:862
757
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:926
758
- #: includes/customizer/class-wc-intransit-email-customizer.php:99
759
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
760
- msgid "In Transit"
761
- msgstr "Undervejs"
762
-
763
- #: includes/views/admin_options_trackship_integration.php:17
764
  msgid "Install TrackShip for WooCommerce"
765
  msgstr "Installer TrackShip til WooCommerce"
766
 
767
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:402
 
 
 
 
 
768
  msgid "Invalid order ID."
769
  msgstr "Ugyldigt ordre-ID."
770
 
771
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
772
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:962
773
- msgid "Invalid Tracking Number"
774
- msgstr "Ugyldigt sporingsnummer"
775
-
776
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:968
777
- msgid "Invalid User Key"
778
- msgstr "Invalid User Key"
779
-
780
- #: includes/views/admin_options_bulk_upload.php:47
781
  msgid ""
782
  "Keep unchecked for the tracking info to be added to any existing tracking "
783
  "info added to the orders."
@@ -785,166 +606,118 @@ msgstr ""
785
  "Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
786
  "sporingsoplysninger, der føjes til ordrene."
787
 
788
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:27
789
- msgid "Late shipment"
790
- msgstr "Sen forsendelse"
791
-
792
- #: includes/views/admin_status_notifications.php:87
793
- msgid "Late Shipment Days"
794
- msgstr "Sen forsendelsesdage"
795
-
796
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:26
797
- #: includes/views/admin_status_notifications.php:111
798
- msgid "Late shipment for order #{order_number}"
799
- msgstr "Sen forsendelse til ordre nr. {Ordre_nummer}"
800
-
801
- #: includes/views/admin_status_notifications.php:66
802
- msgid "Late Shipments"
803
- msgstr "Sent forsendelse"
804
-
805
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
806
  msgid "License"
807
  msgstr "Licens"
808
 
809
- #: includes/views/admin_options_osm.php:57
810
- #: includes/views/admin_trackship_dashboard.php:117
811
  msgid "Light Font"
812
  msgstr ""
813
  "Let skrift\n"
814
 
815
- #: includes/views/admin_options_shipping_provider.php:73
816
- msgid "Logo image"
817
- msgstr "Logo billede"
818
-
819
- #: includes/class-wc-advanced-shipment-tracking.php:299
820
  msgid "Mark as Completed?"
821
  msgstr "Marker som afsluttet?"
822
 
823
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
824
  msgid "Mark as Shipped"
825
  msgstr "Marker som afsendt"
826
 
827
- #: includes/class-wc-advanced-shipment-tracking.php:296
828
  msgid "Mark as Shipped?"
829
  msgstr "Marker som sendt?"
830
 
831
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1592
832
  msgid "Mark order as delivered"
833
  msgstr "Marker ordre som leveret"
834
 
835
- #: includes/class-wc-advanced-shipment-tracking.php:491
836
  msgid "Mark order as:"
837
  msgstr "Marker ordre som:"
838
 
839
- #: includes/customizer/class-wcast-customizer.php:353
840
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:148
841
  msgid "Mockup Order"
842
  msgstr "Mockup-ordre"
843
 
844
- #: includes/class-wc-advanced-shipment-tracking-admin.php:651
 
845
  msgid "more info"
846
  msgstr ""
847
  "mere info\n"
848
 
849
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2165
850
  msgid "Multiple API names mapping is a pro features"
851
  msgstr "Kortlægning af flere API-navne er en pro-funktion"
852
 
853
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:242
854
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:246
855
- msgid "Notifications"
856
- msgstr "Meddelelser"
857
-
858
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:269
859
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:929
860
- #: includes/customizer/class-wc-intransit-email-customizer.php:162
861
- #: includes/customizer/class-wc-onhold-email-customizer.php:73
862
- msgid "On Hold"
863
- msgstr "I venteposition"
864
-
865
- #: includes/class-wc-advanced-shipment-tracking-admin.php:878
866
  #| msgid "Open the track link in a new tab"
867
  msgid "Open the Track Button link in a new tab"
868
  msgstr "Åbn sporlinket i en ny fane"
869
 
870
- #: templates/tracking/tracking-form.php:13
871
- msgid "Order Email"
872
- msgstr ""
873
- "Bestil Email\n"
874
-
875
- #: includes/class-wc-advanced-shipment-tracking-admin.php:865
876
  msgid "Order Emails Display"
877
  msgstr "Vis e-mail-ordre"
878
 
879
- #: includes/class-wc-advanced-shipment-tracking-front.php:173
880
- #: includes/class-wc-advanced-shipment-tracking-front.php:184
881
- msgid "Order not found."
882
- msgstr "Ordren blev ikke fundet."
883
-
884
  #. %s: Order ID.
885
- #: templates/emails/wcast-email-order-details.php:53
886
  #, php-format
887
  msgid "Order number: %s"
888
  msgstr ""
889
  "Ordrenummer:% s\n"
890
 
891
- #: includes/class-wc-advanced-shipment-tracking-admin.php:459
892
- #: includes/class-wc-advanced-shipment-tracking-admin.php:463
 
893
  msgid "Order Statuses"
894
  msgstr "Bestil statusser"
895
 
896
- #: includes/class-wc-advanced-shipment-tracking.php:1169
897
- #: includes/class-wc-advanced-shipment-tracking.php:1245
 
898
  #, php-format
899
- msgid "Order was shipped with %s and tracking number is: %s"
900
- msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
 
901
 
902
- #: includes/views/front/layout1_tracking_details.php:49
903
- #: includes/views/front/layout1_tracking_details.php:113
904
- msgid "Origin Details"
905
- msgstr "Oprindelsesdetaljer"
906
-
907
- #: includes/class-wc-advanced-shipment-tracking-admin.php:643
908
  msgid "Other"
909
  msgstr "Andet"
910
 
911
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:290
912
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
913
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:938
914
- #: includes/customizer/class-wc-intransit-email-customizer.php:165
915
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:73
916
- msgid "Out For Delivery"
917
- msgstr "Ud for levering"
918
-
919
- #: includes/class-wc-advanced-shipment-tracking.php:482
920
  msgid "Partial Shipped"
921
  msgstr "Delvis afsendt"
922
 
923
- #: includes/class-wc-advanced-shipment-tracking-admin.php:994
924
- #: includes/class-wc-advanced-shipment-tracking-settings.php:159
925
- #: includes/class-wc-advanced-shipment-tracking-settings.php:205
926
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:156
927
  msgid "Partially Shipped"
928
  msgstr "Delvist afsendt"
929
 
930
- #: includes/class-wc-advanced-shipment-tracking-settings.php:164
 
931
  #, php-format
932
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
933
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
934
  msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
935
  msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
936
 
937
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:959
938
- msgid "Pending"
939
- msgstr "Verserende"
 
 
 
 
940
 
941
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:859
942
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:956
943
- msgid "Pending TrackShip"
944
- msgstr "Pending TrackShip"
 
945
 
946
  #. %s: search WooCommerce plugin link
947
- #: woocommerce-advanced-shipment-tracking.php:173
948
  #, php-format
949
  msgid ""
950
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
@@ -953,163 +726,104 @@ msgstr ""
953
  "Installer og aktiver% 1 $ sWooCommerce% 2 $ s til avanceret "
954
  "forsendelsessporing til WooCommerce!"
955
 
956
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
957
- msgid "Please select a order..."
958
- msgstr "Vælg venligst en ordre ..."
959
-
960
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:347
961
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:355
962
- #: includes/customizer/class-wc-delivered-email-customizer.php:368
963
- #: includes/customizer/class-wc-delivered-email-customizer.php:376
964
- #: includes/customizer/class-wc-failure-email-customizer.php:348
965
- #: includes/customizer/class-wc-failure-email-customizer.php:356
966
- #: includes/customizer/class-wc-intransit-email-customizer.php:422
967
- #: includes/customizer/class-wc-intransit-email-customizer.php:430
968
- #: includes/customizer/class-wc-onhold-email-customizer.php:344
969
- #: includes/customizer/class-wc-onhold-email-customizer.php:352
970
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:344
971
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
972
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:316
973
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:324
974
- #: includes/customizer/class-wc-returntosender-email-customizer.php:343
975
- #: includes/customizer/class-wc-returntosender-email-customizer.php:351
976
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
977
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:274
978
- #: includes/customizer/class-wc-exception-email-customizer.php:347
979
- #: includes/customizer/class-wc-exception-email-customizer.php:355
980
  msgid "Please select order to preview."
981
  msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
982
 
983
- #: includes/class-wc-advanced-shipment-tracking-admin.php:236
984
  msgid "Please upload a valid CSV file."
985
  msgstr "Upload en gyldig CSV-fil."
986
 
987
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
988
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:932
989
- msgid "Pre Transit"
990
- msgstr ""
991
- "Pre Transit\n"
992
-
993
- #: includes/customizer/class-wc-intransit-email-customizer.php:131
994
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
995
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
996
- msgid "Preview order"
997
- msgstr ""
998
- "Forhåndsvis rækkefølge\n"
999
-
1000
- #: includes/class-wc-advanced-shipment-tracking.php:386
1001
  msgid "Preview:"
1002
  msgstr "Eksempel:"
1003
 
1004
- #: includes/class-wc-advanced-shipment-tracking.php:360
1005
- #: includes/class-wc-advanced-shipment-tracking-settings.php:448
1006
  msgid "Product Code:"
1007
  msgstr "Produktkode:"
1008
 
1009
- #: includes/customizer/class-wc-tracking-page-customizer.php:160
1010
- msgid "Progress Bar"
1011
- msgstr "Fremskridtlinje"
1012
-
1013
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1014
- #: includes/customizer/class-wc-tracking-info-customizer.php:670
1015
- #: templates/emails/tracking-info.php:198
1016
- #: templates/myaccount/tracking-info.php:180
1017
  msgid "Provider"
1018
  msgstr "Fragtfirma"
1019
 
1020
- #: includes/views/admin_options_shipping_provider.php:48
1021
- #: templates/emails/tracking-info.php:204
1022
- #: templates/myaccount/tracking-info.php:186
1023
  msgid "Provider Name"
1024
  msgstr "Udbyderens navn"
1025
 
1026
- #: includes/views/admin_options_shipping_provider.php:105
1027
  msgid "Providers Added"
1028
  msgstr "Udbydere tilføjet"
1029
 
1030
- #: includes/views/admin_options_shipping_provider.php:107
1031
  msgid "Providers Deleted"
1032
  msgstr "Udbydere er slettet"
1033
 
1034
- #: includes/views/admin_options_shipping_provider.php:106
1035
  msgid "Providers Updated"
1036
  msgstr "Udbydere opdateret"
1037
 
1038
- #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1039
  msgid "Really delete this entry? This will not be undo."
1040
  msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
1041
 
1042
- #: includes/views/admin_options_osm.php:11
1043
  msgid "Rename the “Completed” Order status label to “Shipped”"
1044
  msgstr "Omdøb ordren \"Afsluttet\" ordrestatus til \"Sendt\""
1045
 
1046
- #: includes/views/admin_options_bulk_upload.php:47
1047
  msgid "Replace tracking information?"
1048
  msgstr "Erstat sporingsoplysninger?"
1049
 
1050
- #: includes/views/admin_options_shipping_provider.php:89
1051
  msgid "Reset"
1052
  msgstr "Nulstil"
1053
 
1054
- #: includes/views/admin_options_shipping_provider.php:111
1055
  msgid ""
1056
  "Reset providers database, it will reset all your shipping provider database"
1057
  msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
1058
 
1059
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:276
1060
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:869
1061
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:944
1062
- #: includes/customizer/class-wc-intransit-email-customizer.php:163
1063
- #: includes/customizer/class-wc-returntosender-email-customizer.php:74
1064
- msgid "Return To Sender"
1065
- msgstr ""
1066
- "Retur til Afsender\n"
1067
-
1068
- #: includes/views/admin_status_notifications.php:156
1069
- msgid "Save Changes"
1070
- msgstr "Gem ændringer"
1071
 
1072
- #: includes/class-wc-advanced-shipment-tracking.php:383
1073
  msgid "Save Tracking"
1074
  msgstr "Gem sporing"
1075
 
1076
- #: includes/views/admin_options_shipping_provider.php:23
1077
  msgid "Search by provider / country"
1078
  msgstr "Søg efter udbyder / land"
1079
 
1080
- #: includes/customizer/class-wc-tracking-info-customizer.php:183
1081
- msgid "Select an order to preview and design the tracking info display."
1082
- msgstr ""
1083
- "Vælg en ordre for at få vist og designe visningen af ​​sporingsinfo.\n"
1084
-
1085
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:175
1086
  msgid "Select email type"
1087
  msgstr "Vælg e-mail-type"
1088
 
1089
- #: includes/class-wc-advanced-shipment-tracking.php:322
1090
  msgid "Select Provider"
1091
  msgstr "Vælg Udbyder"
1092
 
1093
- #: includes/customizer/class-wc-intransit-email-customizer.php:157
1094
- msgid "Select shipment status"
1095
- msgstr "Vælg forsendelsesstatus"
1096
-
1097
- #: includes/customizer/class-wc-tracking-info-customizer.php:281
1098
  msgid "Select Template"
1099
  msgstr ""
1100
  "Vælg skabelon\n"
1101
 
1102
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:591
1103
- #| msgid "Select Tracking Page"
1104
- msgid "Select tracking page"
1105
- msgstr "Vælg sporingsside"
1106
-
1107
- #: includes/views/admin_options_osm.php:62
1108
  msgid "Send Email"
1109
  msgstr ""
1110
  "Send e-mail\n"
1111
 
1112
- #: includes/class-wc-advanced-shipment-tracking-admin.php:762
1113
  msgid ""
1114
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1115
  "orders"
@@ -1117,154 +831,124 @@ msgstr ""
1117
  "Indstil indstillingen \"mærke som afsendt\", når du tilføjer "
1118
  "sporingsinformation til ordrer"
1119
 
1120
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
1121
- #: includes/class-wc-advanced-shipment-tracking-admin.php:389
1122
  #: includes/views/admin_options_settings.php:9
1123
  msgid "Settings"
1124
  msgstr "Indstillinger"
1125
 
1126
- #: includes/views/admin_options_bulk_upload.php:58
1127
  msgid "Settings Saved."
1128
  msgstr "Indstillinger gemt."
1129
 
1130
- #: includes/class-wc-advanced-shipment-tracking-front.php:383
1131
- #: includes/views/front/preview_tracking_page.php:40
1132
- msgid "Shipment"
1133
- msgstr "Forsendelse"
1134
-
1135
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:674
1136
- #: includes/customizer/class-wc-intransit-email-customizer.php:153
1137
- msgid "Shipment Status"
1138
- msgstr "Forsendelsesstatus"
1139
-
1140
- #: templates/emails/plain/tracking-info.php:35
1141
  #, php-format
1142
  msgid "Shipment status changed to %s"
1143
  msgstr "Forsendelsesstatus ændret til% s"
1144
 
1145
- #: includes/class-wc-advanced-shipment-tracking-admin.php:248
1146
  #: includes/class-wc-advanced-shipment-tracking.php:138
1147
  #: includes/class-wc-advanced-shipment-tracking.php:219
1148
  msgid "Shipment Tracking"
1149
  msgstr "Forsendelsessporing"
1150
 
1151
- #: includes/views/admin_options_settings.php:20
1152
  msgid "Shipment Tracking API"
1153
  msgstr "API til forsendelsessporing"
1154
 
1155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:684
1156
- #: includes/class-wc-advanced-shipment-tracking-admin.php:780
1157
- #: includes/class-wc-advanced-shipment-tracking.php:466
1158
- #: includes/class-wc-advanced-shipment-tracking-settings.php:343
1159
  msgid "Shipped"
1160
  msgstr "afsendt"
1161
 
1162
- #: includes/class-wc-advanced-shipment-tracking-settings.php:362
 
1163
  #, php-format
1164
  msgid "Shipped <span class=\"count\">(%s)</span>"
1165
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1166
  msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
1167
  msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1170
- #: includes/customizer/class-wc-tracking-info-customizer.php:717
1171
  msgid "Shipped Date"
1172
  msgstr ""
1173
  "Afsendt dato\n"
1174
 
1175
- #: includes/customizer/class-wc-tracking-info-customizer.php:710
1176
  #| msgid "Ship date header text"
1177
  msgid "Shipped date header text"
1178
  msgstr "Sendt datooverskriftstekst"
1179
 
1180
  #. 1: shipping date
1181
- #: includes/class-wc-advanced-shipment-tracking.php:253
1182
  #, php-format
1183
  msgid "Shipped on %s"
1184
  msgstr "Sendes på% s"
1185
 
1186
- #: includes/customizer/class-wc-tracking-info-customizer.php:152
1187
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1188
  msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
1189
 
1190
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1565
1191
  msgid "Shipped Order"
1192
  msgstr "Afsendt ordre"
1193
 
1194
- #: includes/customizer/class-trackship-customizer.php:38
1195
- msgid "Shipping and Delivery Emails"
1196
- msgstr "Forsendelse og levering e-mails"
1197
-
1198
- #: includes/views/admin_options_shipping_provider.php:65
1199
  msgid "Shipping Country"
1200
  msgstr "Forsendelsesland"
1201
 
1202
- #: includes/views/admin_options_shipping_provider.php:49
1203
  msgid "Shipping Provider"
1204
  msgstr "Forsendelsesudbyder"
1205
 
1206
- #: includes/customizer/class-wc-tracking-info-customizer.php:663
1207
  msgid "Shipping provider header text"
1208
  msgstr "Forsendelsesudbyderens overskriftstekst"
1209
 
1210
- #: includes/class-wc-advanced-shipment-tracking.php:320
1211
- #: includes/class-wc-advanced-shipment-tracking-settings.php:426
1212
- #: includes/class-wc-advanced-shipment-tracking-settings.php:428
1213
  msgid "Shipping Provider:"
1214
  msgstr "Forsendelse:"
1215
 
1216
- #: includes/class-wc-advanced-shipment-tracking-admin.php:394
1217
- #: includes/class-wc-advanced-shipment-tracking-admin.php:398
1218
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1708
1219
- #: includes/views/admin_options_shipping_provider.php:21
1220
  msgid "Shipping Providers"
1221
  msgstr "Forsendelsesudbydere"
1222
 
1223
- #: includes/views/admin_options_shipping_provider.php:109
 
 
 
 
1224
  msgid "Shipping providers database reset successfully."
1225
  msgstr "Forsendelsesdatabase nulstilles med succes."
1226
 
1227
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1228
- msgid "Show all Events"
1229
- msgstr "Vis alle begivenheder"
1230
-
1231
- #: includes/customizer/class-wc-tracking-info-customizer.php:410
1232
  msgid "Show bottom border"
1233
  msgstr ""
1234
  "Vis nederste kant\n"
1235
 
1236
- #: includes/customizer/class-wc-tracking-page-customizer.php:217
1237
- msgid "Show last event & expand"
1238
- msgstr "Vis sidste begivenhed & udvid"
1239
-
1240
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
1241
- msgid "Show tracking details"
1242
- msgstr ""
1243
- "Vis sporingsoplysninger\n"
1244
-
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:317
1246
  msgid "Simple Layout Design"
1247
  msgstr ""
1248
  "Simpelt layoutdesign\n"
1249
 
1250
- #: includes/views/admin_status_notifications.php:18
1251
- msgid "SMS Notifications"
1252
- msgstr "SMS-underretninger"
1253
-
1254
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:406
1255
  msgid "Special character not allowd in tracking number"
1256
  msgstr "Specialtegn er ikke tilladt i sporingsnummer"
1257
 
1258
- #: includes/views/admin_trackship_dashboard.php:49
1259
- msgid "Subscription: "
1260
- msgstr "Abonnement:"
1261
-
1262
- #: includes/views/admin_options_shipping_provider.php:99
1263
- #: includes/views/admin_options_shipping_provider.php:113
1264
  msgid "Sync Shipping Providers"
1265
  msgstr "Synkroniseringsforsendelser"
1266
 
1267
- #: includes/views/admin_options_shipping_provider.php:103
1268
  msgid ""
1269
  "Syncing the shipping providers list add or updates the pre-set shipping "
1270
  "providers and will not effect custom shipping providers."
@@ -1273,33 +957,33 @@ msgstr ""
1273
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1274
  "forsendelsesleverandører."
1275
 
1276
- #: includes/customizer/class-wc-tracking-info-customizer.php:812
1277
  msgid "Table Content"
1278
  msgstr "Table Content"
1279
 
1280
- #: includes/customizer/class-wc-tracking-info-customizer.php:542
1281
  msgid "Table Design Options"
1282
  msgstr "Indstillinger for borddesign"
1283
 
1284
- #: includes/customizer/class-wc-tracking-info-customizer.php:627
1285
  #| msgid "Table Headers"
1286
  msgid "Table Header"
1287
  msgstr "Overskrift på bordet"
1288
 
1289
- #: includes/customizer/class-wc-tracking-info-customizer.php:282
1290
  msgid "Table Layout"
1291
  msgstr ""
1292
  "Tabellayout\n"
1293
 
1294
- #: includes/customizer/class-wc-tracking-info-customizer.php:449
1295
  msgid "Table Options"
1296
  msgstr "Tabelindstillinger"
1297
 
1298
- #: includes/customizer/class-wc-tracking-info-customizer.php:603
1299
  msgid "Text align"
1300
  msgstr "Tekstjustering"
1301
 
1302
- #: includes/views/admin_options_shipping_provider.php:52
1303
  msgid ""
1304
  "The custom display name will show in the tracking info section on the "
1305
  "customer order emails, my-account, and TrackShip's tracking page and email "
@@ -1309,232 +993,127 @@ msgstr ""
1309
  "kundeordre-e-mails, min konto og TrackShip's sporingsside og e-mail-"
1310
  "underretninger"
1311
 
1312
- #: includes/class-wc-advanced-shipment-tracking-settings.php:693
1313
  msgid "There are some issue with sync, Please Retry."
1314
  msgstr "Der er nogle problemer med synkronisering, prøv igen."
1315
 
1316
- #: includes/class-wc-advanced-shipment-tracking-admin.php:235
1317
  msgid "This browser does not support HTML5."
1318
  msgstr "Denne browser understøtter ikke HTML5."
1319
 
1320
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1321
- #: includes/views/admin_status_notifications.php:121
1322
- msgid ""
1323
- "This order was shipped {shipment_length} days ago, the shipment status is "
1324
- "{shipment_status} and its est. delivery date is {est_delivery_date}."
1325
- msgstr ""
1326
- "Denne ordre blev afsendt for {shipment_length} dage siden, "
1327
- "forsendelsesstatus er {shipment_status}, og dens forventede leveringsdato er "
1328
- "{est_delivery_date}."
1329
-
1330
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:297
1331
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
1332
- #: includes/customizer/class-wc-failure-email-customizer.php:295
1333
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
1334
- #: includes/customizer/class-wc-onhold-email-customizer.php:295
1335
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:294
1336
- #: includes/customizer/class-wc-returntosender-email-customizer.php:295
1337
- #: includes/customizer/class-wc-exception-email-customizer.php:295
1338
- msgid "This will be appended to URL in the email content"
1339
- msgstr "Dette føjes til URL i e-mail-indholdet"
1340
-
1341
- #: templates/tracking/tracking-form.php:11
1342
- msgid ""
1343
- "To track your order please enter your Order ID in the box below and press "
1344
- "the \"Track\" button. This was given to you on your receipt and in the "
1345
- "confirmation email you should have received."
1346
- msgstr ""
1347
- "For at spore din ordre skal du indtaste dit ordre-id i boksen herunder og "
1348
- "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
1349
- "den bekræftelses e-mail, du skulle have modtaget.\n"
1350
-
1351
- #: includes/views/admin_options_tools.php:17
1352
- msgid "Tools"
1353
- msgstr "Værktøj"
1354
-
1355
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1376
1356
- msgid "Total Shipments"
1357
- msgstr "Samlede forsendelser"
1358
-
1359
- #: includes/class-wc-advanced-shipment-tracking.php:758
1360
- #: includes/class-wc-advanced-shipment-tracking.php:791
1361
- #: includes/class-wc-advanced-shipment-tracking.php:809
1362
- #: includes/customizer/class-wc-tracking-info-customizer.php:145
1363
- #: includes/customizer/class-wc-tracking-info-customizer.php:973
1364
- #: templates/emails/tracking-info.php:240
1365
- #: templates/myaccount/tracking-info.php:222
1366
- #: templates/myaccount/tracking-info.php:224
1367
- #: templates/tracking/tracking-form.php:16
1368
  msgid "Track"
1369
  msgstr "Spor pakke"
1370
 
1371
- #: includes/customizer/class-wc-tracking-info-customizer.php:930
1372
  msgid "Track Button"
1373
  msgstr "Spor-knap"
1374
 
1375
- #: includes/customizer/class-wc-tracking-info-customizer.php:947
1376
  msgid "Track Header"
1377
  msgstr "Spor header"
1378
 
1379
- #: includes/customizer/class-wc-tracking-info-customizer.php:966
1380
  msgid "Track header text"
1381
  msgstr ""
1382
  "Spor overskriftstekst\n"
1383
 
1384
- #: includes/class-wc-advanced-shipment-tracking.php:241
1385
- #: includes/class-wc-advanced-shipment-tracking.php:386
1386
  msgid "Track Shipment"
1387
  msgstr "Spor forsendelse"
1388
 
1389
- #: includes/views/admin_trackship_dashboard.php:50
1390
- #| msgid "Trackers Balance"
1391
- msgid "Trackers Balance: "
1392
- msgstr "Trackers balance:"
1393
-
1394
- #: includes/views/front/layout1_tracking_details.php:10
1395
- #: includes/views/front/layout1_tracking_details.php:87
1396
- msgid "Tracking Details"
1397
- msgstr "Sporingsdetaljer"
1398
-
1399
- #: includes/class-wc-advanced-shipment-tracking-front.php:196
1400
- msgid "Tracking details not found"
1401
- msgstr "Sporingsoplysninger blev ikke fundet"
1402
-
1403
- #: includes/class-wc-advanced-shipment-tracking-front.php:421
1404
- msgid "Tracking details not found in TrackShip"
1405
- msgstr "Sporingsdetaljer findes ikke i TrackShip"
1406
-
1407
- #: includes/customizer/class-wc-tracking-info-customizer.php:296
1408
- #: includes/customizer/class-wc-tracking-info-customizer.php:299
1409
  msgid "Tracking display layout"
1410
  msgstr "Sporing af displaylayout"
1411
 
1412
- #: includes/customizer/class-wc-tracking-info-customizer.php:204
1413
  msgid "Tracking Display Position"
1414
  msgstr "Sporing af skærmposition"
1415
 
1416
- #: includes/customizer/class-wc-tracking-info-customizer.php:243
1417
  msgid "Tracking Header text"
1418
  msgstr ""
1419
  "Sporing af overskriftstekst\n"
1420
 
1421
- #: includes/customizer/class-wc-tracking-page-customizer.php:161
1422
- #| msgid "Tracking issues"
1423
- msgid "Tracking Icons"
1424
- msgstr "Sporingsikoner"
1425
-
1426
- #: includes/customizer/class-wcast-customizer.php:28
1427
  msgid "Tracking info display"
1428
  msgstr ""
1429
  "Tracking info display\n"
1430
 
1431
- #: includes/views/admin_options_tools.php:10
1432
- #: includes/views/admin_trackship_dashboard.php:11
1433
- msgid "Tracking info sent to Trackship for all Orders."
1434
- msgstr "Sporingsinfo sendt til Trackship for alle ordrer."
1435
-
1436
- #: includes/class-wc-advanced-shipment-tracking.php:713
1437
  #, php-format
 
 
1438
  msgid ""
1439
- "Tracking info was deleted for tracking provider %s with tracking number %s"
1440
- msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
 
 
 
1441
 
1442
- #: includes/customizer/class-wc-tracking-info-customizer.php:250
1443
  msgid "Tracking Information"
1444
  msgstr "Sporing Oplysninger"
1445
 
1446
- #: includes/class-wc-advanced-shipment-tracking-front.php:401
1447
- msgid ""
1448
- "Tracking information is not available, please try again in a few minutes."
1449
- msgstr ""
1450
- "Sporingsoplysninger er ikke tilgængelige. Prøv igen om et par minutter."
1451
-
1452
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
1453
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
1454
- #: templates/emails/tracking-info.php:217
1455
- #: templates/myaccount/tracking-info.php:199
1456
  msgid "Tracking Number"
1457
  msgstr "Tracking nummer"
1458
 
1459
- #: includes/customizer/class-wc-tracking-info-customizer.php:687
1460
  #| msgid "Tracking Number header text"
1461
  msgid "Tracking number header text"
1462
  msgstr "Tracking nummer overskrift tekst"
1463
 
1464
- #: includes/class-wc-advanced-shipment-tracking.php:316
1465
- #: includes/class-wc-advanced-shipment-tracking-settings.php:422
1466
  msgid "Tracking number:"
1467
  msgstr "Tracking nummer:"
1468
 
1469
- #: includes/views/admin_trackship_dashboard.php:137
1470
- msgid "Tracking Page"
1471
- msgstr "Tracking Page"
1472
-
1473
- #: includes/customizer/class-trackship-customizer.php:31
1474
- #| msgid "Tracking Page Layout"
1475
- msgid "Tracking Page Widget"
1476
- msgstr "Sporingsside-widget"
1477
-
1478
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:605
1479
- msgid "Tracking Widget Customizer"
1480
- msgstr "Tracking Widget Customizer"
1481
-
1482
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1711
1483
  msgid "TrackShip"
1484
  msgstr "TrackShip"
1485
 
1486
- #: includes/views/admin_trackship_dashboard.php:41
1487
- msgid "TrackShip Account"
1488
- msgstr "TrackShip-konto"
1489
-
1490
- #: includes/views/admin_trackship_dashboard.php:19
1491
- msgid "TrackShip Connection Status"
1492
- msgstr "TrackShip-forbindelsesstatus"
1493
-
1494
- #: includes/views/admin_trackship_dashboard.php:53
1495
- msgid "TrackShip Dashboard"
1496
- msgstr "TrackShip Dashboard"
1497
-
1498
- #: includes/views/admin_status_notifications.php:136
1499
- msgid "Trigger Alert"
1500
- msgstr "Trigger Alert"
1501
-
1502
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:860
1503
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:953
1504
- msgid "Unknown"
1505
- msgstr "Ukendt"
1506
-
1507
- #: includes/views/admin_options_shipping_provider.php:88
1508
  msgid "Update"
1509
  msgstr "Opdatering"
1510
 
1511
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1011
1512
- #: includes/class-wc-advanced-shipment-tracking-settings.php:145
1513
- #: includes/class-wc-advanced-shipment-tracking-settings.php:191
1514
- #: includes/class-wc-advanced-shipment-tracking-settings.php:324
1515
  msgid "Updated Tracking"
1516
  msgstr "Opdateret sporing"
1517
 
1518
- #: includes/class-wc-advanced-shipment-tracking-settings.php:150
 
1519
  #, php-format
1520
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1521
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1522
  msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1523
  msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1524
 
1525
- #: includes/views/admin_options_shipping_provider.php:76
1526
- msgid "Upload"
1527
- msgstr "Upload"
1528
-
1529
- #: includes/views/admin_options_bulk_upload.php:25
1530
  msgid "Upload a CSV file from your computer:"
1531
  msgstr "Upload en CSV-fil fra din computer:"
1532
 
1533
- #: includes/views/admin_options_bulk_upload.php:108
1534
  msgid "Upload again"
1535
  msgstr "Upload igen"
1536
 
1537
- #: includes/views/admin_options_bulk_upload.php:11
1538
  msgid ""
1539
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1540
  "file"
@@ -1542,47 +1121,23 @@ msgstr ""
1542
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1543
  "file"
1544
 
1545
- #: includes/customizer/class-wc-tracking-info-customizer.php:523
1546
  msgid "Use tracking number as a link"
1547
  msgstr "Brug sporingsnummer som et link"
1548
 
1549
- #: includes/class-wc-advanced-shipment-tracking-settings.php:710
1550
- #: includes/class-wc-advanced-shipment-tracking-settings.php:727
1551
- #: includes/class-wc-advanced-shipment-tracking-settings.php:744
1552
- #: includes/views/admin_options_bulk_upload.php:86
1553
  msgid "view details"
1554
  msgstr "view details"
1555
 
1556
- #: includes/views/front/layout1_tracking_details.php:80
1557
- #: includes/views/front/preview_tracking_page.php:130
1558
- msgid "view less"
1559
- msgstr "se mindre"
1560
-
1561
- #: includes/views/front/layout1_tracking_details.php:79
1562
- #: includes/views/front/preview_tracking_page.php:129
1563
- msgid "view more"
1564
- msgstr "Se mere"
1565
-
1566
- #: includes/views/admin_options_bulk_upload.php:107
1567
  msgid "View Orders"
1568
  msgstr "Se ordrer"
1569
 
1570
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1397
1571
- msgid "View Tracking Analytics"
1572
- msgstr "Se sporingsanalyse"
1573
-
1574
- #. %s: replace with delivered order count
1575
- #: woocommerce-advanced-shipment-tracking.php:516
1576
- #, php-format
1577
- msgid ""
1578
- "We detected %s orders that use the Delivered order status, You can reassign "
1579
- "these orders to a different status"
1580
- msgstr ""
1581
- "Vi registrerede% s ordrer, der bruger leveret ordrestatus. Du kan omfordele "
1582
- "disse ordrer til en anden status"
1583
-
1584
  #. %s: replace with Partially Shipped order count
1585
- #: woocommerce-advanced-shipment-tracking.php:532
1586
  #, php-format
1587
  msgid ""
1588
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1591,56 +1146,23 @@ msgstr ""
1591
  "Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
1592
  "tildele disse ordrer til en anden status"
1593
 
1594
- #: includes/views/admin_trackship_dashboard.php:7
1595
- #, php-format
1596
- msgid ""
1597
- "We detected %s Shipped orders from the last 30 days that were not sent to "
1598
- "TrackShip, you can bulk send them to TrackShip"
1599
- msgstr ""
1600
- "Vi opdagede% s afsendte ordrer fra de sidste 30 dage, der ikke blev sendt "
1601
- "til TrackShip, du kan sende dem samlet til TrackShip"
1602
-
1603
- #: includes/views/admin_options_shipping_provider.php:53
1604
  msgid "White Label Provider Name"
1605
  msgstr "White Label-udbyderens navn"
1606
 
1607
- #: includes/customizer/class-wc-tracking-page-customizer.php:192
1608
- msgid "Widget background color"
1609
- msgstr "Widget baggrundsfarve"
1610
-
1611
- #: includes/customizer/class-wc-tracking-page-customizer.php:176
1612
- msgid "Widget border color"
1613
- msgstr "Widget kantfarve"
1614
-
1615
- #: includes/customizer/class-wc-tracking-page-customizer.php:153
1616
- #: includes/customizer/class-wc-tracking-page-customizer.php:156
1617
- msgid "Widget Tracker Type"
1618
- msgstr "Widget-trackertype"
1619
-
1620
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:971
1621
- msgid "Wrong Shipping Provider"
1622
- msgstr "Forkert forsendelsesudbyder"
1623
-
1624
- #: includes/class-wc-advanced-shipment-tracking.php:369
1625
- #: includes/class-wc-advanced-shipment-tracking.php:372
1626
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1627
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1628
  msgid "Y-m-d"
1629
  msgstr "Y-m-d"
1630
 
1631
- #: includes/views/admin_options_tools.php:18
1632
- msgid ""
1633
- "You can send all your orders from the last 30 days to get shipment status "
1634
- "from TrackShip:"
1635
- msgstr ""
1636
- "Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
1637
- "forsendelsesstatus fra TrackShip:"
1638
-
1639
- #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1640
  msgid "You can upload only csv file."
1641
  msgstr "Du kan kun uploade csv-fil."
1642
 
1643
- #: includes/views/admin_options_shipping_provider.php:83
 
1644
  msgid ""
1645
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1646
  "URL, for more info, check our "
@@ -1648,87 +1170,27 @@ msgstr ""
1648
  "Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
1649
  "for mere info, se vores"
1650
 
1651
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1830
 
1652
  #, php-format
1653
  msgid "You did not create any %s shipping providers yet."
1654
  msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
1655
 
1656
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1836
 
1657
  #, php-format
1658
  msgid "You don't have any %s shipping providers."
1659
  msgstr "Du har ikke% s forsendelsesudbydere."
1660
 
1661
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1112
1662
- #, php-format
1663
- msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1664
- msgstr ""
1665
- "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-forbindelsesproblem\""
1666
-
1667
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1103
1668
- #, php-format
1669
- msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1670
- msgstr "Du fik% s% s ordrer med forsendelsesstatus \"TrackShip-saldoen er 0\""
1671
-
1672
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1094
1673
- #, php-format
1674
- msgid ""
1675
- "You got %s %s orders with tracking info that were not sent to track on "
1676
- "TrackShip"
1677
- msgstr ""
1678
- "Du fik% s% s ordrer med sporingsoplysninger, der ikke blev sendt til at "
1679
- "spore på TrackShip"
1680
-
1681
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:578
1682
- msgid ""
1683
- "You must add the shortcode [wcast-track-order] to the selected page in order "
1684
- "for the tracking page to work."
1685
- msgstr ""
1686
- "Du skal tilføje kortkoden [wcast-track-order] til den valgte side for at "
1687
- "sporingssiden skal fungere."
1688
-
1689
- #: includes/customizer/class-wc-delivered-email-customizer.php:73
1690
- msgid "Your order #{order_number} has been delivered"
1691
- msgstr "Din ordre nr. {Ordre_nummer} er leveret"
1692
-
1693
- #: includes/customizer/class-wc-returntosender-email-customizer.php:73
1694
- msgid "Your order #{order_number} has returned to sender"
1695
- msgstr "Din ordre # {order_number} er returneret til afsenderen"
1696
-
1697
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:73
1698
- msgid "Your order #{order_number} is available for pickup"
1699
- msgstr ""
1700
- "Din ordre # {order_number} er tilgængelig til afhentning\n"
1701
-
1702
- #: includes/customizer/class-wc-exception-email-customizer.php:72
1703
- msgid "Your order #{order_number} is Exception"
1704
- msgstr "Din ordre nr. {Order_number} er undtagelse"
1705
-
1706
- #: includes/customizer/class-wc-failure-email-customizer.php:72
1707
- msgid "Your order #{order_number} is Failed Attempt"
1708
- msgstr "Din ordre # {order_nummer} er mislykket"
1709
-
1710
- #: includes/customizer/class-wc-intransit-email-customizer.php:98
1711
- msgid "Your order #{order_number} is in transit"
1712
- msgstr ""
1713
- "Din ordre # {order_number} er i transit\n"
1714
-
1715
- #: includes/customizer/class-wc-onhold-email-customizer.php:72
1716
- msgid "Your order #{order_number} is on hold"
1717
- msgstr "Din ordre # {order_nummer} er på vent"
1718
-
1719
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:72
1720
- msgid "Your order #{order_number} is out for delivery"
1721
- msgstr "Din ordre # {order_number} er ude for levering"
1722
-
1723
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
1724
  msgid "Your Order is Partially Shipped"
1725
  msgstr "Din ordre er delvist afsendt"
1726
 
1727
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1728
  msgid "Your {site_title} order is now partially shipped"
1729
  msgstr "Din {site_title} ordre er nu delvist sendt"
1730
 
1731
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:114
1732
  msgid "Your {site_title} order is now updated tracking"
1733
  msgstr ""
1734
  "Din {site_title} ordre er nu opdateret sporing\n"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
+ "Last-Translator: John Doe\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
+ #. %s: search WooCommerce plugin link
18
+ #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "<a href=\"%s\" target=\"blank\"> dokumentation </a>"
22
 
23
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
24
  msgid "Actions"
25
  msgstr "Handlinger"
26
 
27
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
+ msgid "Add API Name alias"
29
+ msgstr "Tilføj alias til API -navn"
30
 
31
+ #: includes/views/admin_options_shipping_provider.php:65
32
  msgid ""
33
  "Add API name aliases to map Shipping providers names with the provider names "
34
  "that are updated in the shipment tracking API by external shipping services"
37
  "udbydernavne, der opdateres i forsendelsessporings-API'en af ​​eksterne "
38
  "forsendelsestjenester"
39
 
40
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
42
  msgid "Add Custom Provider"
43
  msgstr "Add Custom Provider"
44
 
53
  "kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
54
  "vises på kundekonti (i ordrepanelet) og i WooCommerce ordre komplet e-mail."
55
 
56
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:815
57
  msgid "add the [wcast-track-order] shortcode in the selected page."
58
  msgstr "tilføj kortkoden [wcast-track-order] på den valgte side."
59
 
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
61
  msgid "Add Tracking"
62
  msgstr "Tilføj sporing"
63
 
64
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:339
65
  msgid "Add Tracking - order\t"
66
  msgstr "Tilføj sporing - ordre"
67
 
68
+ #: includes/class-wc-advanced-shipment-tracking.php:517
69
  msgid "Add Tracking Info"
70
  msgstr "Tilføj sporingsinfo"
71
 
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:605
73
+ msgid ""
74
+ "Add Tracking Information in AST meta fields when you automatically sync "
75
+ "tracking numbers from aliexpress orders"
76
+ msgstr ""
77
+ "Tilføj sporingsoplysninger i AST -metafelter, når du automatisk "
78
+ "synkroniserer sporingsnumre fra aliexpress -ordrer"
79
+
80
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:615
81
+ msgid ""
82
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
83
+ "& Packing Slips plugin By Ewout Fernhout"
84
+ msgstr ""
85
+ "Tilføj sporingsoplysninger i faktura PDF generer af WooCommerce PDF -"
86
+ "fakturaer og pakkesedler plugin Af Ewout Fernhout"
87
+
88
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:625
89
+ msgid ""
90
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
91
+ "plugin By Bas Elbers"
92
+ msgstr ""
93
+ "Tilføj sporingsoplysninger i faktura PDF genereret af WooCommerce PDF "
94
+ "Invoices plugin Af Bas Elbers"
95
+
96
+ #: includes/views/admin_options_settings.php:16
97
  msgid "Add Tracking Options"
98
  msgstr "Tilføj sporingsindstillinger"
99
 
100
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
101
  msgid "Add Tracking Order action"
102
  msgstr "Tilføj handling for sporingsordre"
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:585
105
+ msgid ""
106
+ "Adding tracking information to your orders shipped with 3plwinner and "
107
+ "automate your workflow"
108
+ msgstr ""
109
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med 3plwinner,"
110
+ " og automatiser din arbejdsgang"
111
+
112
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
113
+ msgid ""
114
+ "Adding tracking information to your orders shipped with CustomCat and "
115
+ "automate your workflow"
116
+ msgstr ""
117
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med CustomCat,"
118
+ " og automatiserer din arbejdsgang"
119
+
120
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:555
121
+ msgid ""
122
+ "Adding tracking information to your orders shipped with Dear Systems and "
123
+ "automate your workflow"
124
+ msgstr ""
125
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Dear "
126
+ "Systems, og automatiserer din arbejdsgang"
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:595
129
+ msgid ""
130
+ "Adding tracking information to your orders shipped with Dianxiaomi and "
131
+ "automate your workflow"
132
+ msgstr ""
133
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der er sendt med "
134
+ "Dianxiaomi, og automatiser din arbejdsgang"
135
+
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:575
137
+ msgid ""
138
+ "Adding tracking information to your orders shipped with Picqer and automate "
139
+ "your workflow"
140
+ msgstr ""
141
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Picqer, "
142
+ "og automatiser din arbejdsgang"
143
+
144
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:565
145
+ msgid ""
146
+ "Adding tracking information to your orders shipped with Printify and "
147
+ "automate your workflow"
148
+ msgstr ""
149
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Printify, "
150
+ "og automatiser din arbejdsgang"
151
+
152
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:515
153
+ msgid ""
154
+ "Adding tracking information to your orders shipped with QuickBooks Commerce "
155
+ "and automate your workflow"
156
+ msgstr ""
157
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
158
+ "QuickBooks Commerce, og automatiserer din arbejdsgang"
159
+
160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:525
161
+ msgid ""
162
+ "Adding tracking information to your orders shipped with ReadyToShip and "
163
+ "automate your workflow"
164
+ msgstr ""
165
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
166
+ "ReadyToShip, og automatiserer din arbejdsgang"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
169
+ msgid ""
170
+ "Adding tracking information to your orders shipped with Royal Mail Click & "
171
+ "Drop and automate your workflow"
172
+ msgstr ""
173
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med Royal "
174
+ "Mail Click & Drop, og automatiser din arbejdsgang"
175
+
176
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:475
177
+ msgid ""
178
+ "Adding tracking information to your orders shipped with ShipStation and "
179
+ "automate your workflow"
180
+ msgstr ""
181
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
182
+ "ShipStation, og automatiser din arbejdsgang"
183
+
184
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:485
185
+ msgid ""
186
+ "Adding tracking information to your orders shipped with WooCommerce Shipping "
187
+ "to the Shipment Tracking and automate your workflow"
188
+ msgstr ""
189
+ "Tilføjelse af sporingsoplysninger til dine ordrer, der leveres med "
190
+ "WooCommerce Shipping til forsendelsessporingen, og automatiser din "
191
+ "arbejdsgang"
192
+
193
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:505
194
+ msgid ""
195
+ "Adding tracking information to your orders when generating shipping labels "
196
+ "using the Ordoro"
197
+ msgstr ""
198
+ "Tilføjelse af sporingsoplysninger til dine ordrer, når du genererer "
199
+ "forsendelsesetiketter ved hjælp af Ordoro"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:495
202
+ msgid ""
203
+ "Adding tracking information to your orders when generating shipping labels "
204
+ "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
205
+ "PluginHive"
206
+ msgstr ""
207
+ "Tilføjelse af sporingsoplysninger til dine ordrer, når du genererer "
208
+ "forsendelsesetiketter ved hjælp af WooCommerce UPS Shipping Plugin med Print "
209
+ "Label -plugin fra PluginHive"
210
+
211
+ #: includes/customizer/class-wc-tracking-info-customizer.php:245
212
  msgid "Additional text after header"
213
  msgstr "Yderligere tekst efter overskrift"
214
 
 
 
 
 
215
  #. Name of the plugin
216
  msgid "Advanced Shipment Tracking for WooCommerce"
217
  msgstr "Avanceret forsendelsessporing til WooCommerce"
218
 
219
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
220
  msgid "After Order Details"
221
  msgstr "Efter ordredetaljer"
222
 
223
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
224
  msgid "API aliases"
225
  msgstr "API-aliasser"
226
 
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
228
+ msgid "API Date Format"
229
+ msgstr "API -datoformat"
230
+
231
+ #: includes/views/admin_options_shipping_provider.php:67
232
  msgid "API Name"
233
  msgstr "API-navn"
234
 
235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:333
236
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
237
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
238
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
239
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
240
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
241
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
242
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
243
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  msgid "Available variables:"
245
  msgstr "Tilgængelige variabler:"
246
 
247
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
 
 
 
 
248
  msgid "Before Order Details"
249
  msgstr "Før ordredetaljer"
250
 
251
+ #: includes/customizer/class-wc-tracking-info-customizer.php:537
252
  msgid "Border color"
253
  msgstr ""
254
  "Border farve\n"
255
 
256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
257
  msgid "Border size"
258
  msgstr ""
259
  "Border størrelse\n"
260
 
261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
262
  msgid "Bottom border color"
263
  msgstr ""
264
  "Nederste kantfarve\n"
265
 
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:968
267
  msgid "Button color"
268
  msgstr "Knapfarve"
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:986
271
  msgid "Button font color"
272
  msgstr "Knappens skrifttypefarve"
273
 
274
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
275
  msgid "Cannot create existing order shipment tracking."
276
  msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
277
 
278
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
279
  msgid "Change order status to"
280
  msgstr "Skift ordrestatus til"
281
 
282
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:299
283
  msgid "Change status to shipped"
284
  msgstr "Skift status til afsendt"
285
 
286
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
287
  msgid "Choose for which Order status to display"
288
  msgstr "Vælg hvilken ordrestatus der skal vises"
289
 
290
+ #: includes/views/admin_options_bulk_upload.php:32
291
  msgid "Choose the Shipped Date format"
292
  msgstr "Vælg formatet Sendt dato"
293
 
294
+ #: includes/class-wc-advanced-shipment-tracking.php:467
295
  msgid "Completed"
296
  msgstr "afsluttet"
297
 
298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
299
  msgid "Content"
300
  msgstr "Indhold"
301
 
302
+ #: includes/customizer/class-wc-tracking-info-customizer.php:807
303
  msgid "Content Background color"
304
  msgstr "Indhold Baggrundsfarve"
305
 
306
+ #: includes/customizer/class-wc-tracking-info-customizer.php:370
307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:825
308
  msgid "Content font color"
309
  msgstr ""
310
  "Indhold font farve\n"
311
 
312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
313
+ #: includes/customizer/class-wc-tracking-info-customizer.php:843
314
  msgid "Content font size"
315
  msgstr ""
316
  "Indholdsstørrelse\n"
317
 
318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:885
319
  msgid "Content font weight"
320
  msgstr ""
321
  "Indhold skrifttype vægt\n"
322
 
323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:862
324
  msgid "Content line height"
325
  msgstr ""
326
  "Indholdslinjehøjde\n"
327
 
328
+ #: includes/views/admin_options_bulk_upload.php:55
329
  msgid "Continue"
330
  msgstr "Blive ved"
331
 
332
+ #: includes/views/admin_options_shipping_provider.php:72
333
  msgid "Country"
334
  msgstr "Land"
335
 
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:381
337
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:385
338
+ #: includes/views/admin_options_bulk_upload.php:8
339
  msgid "CSV Import"
340
  msgstr "CSV-import"
341
 
342
+ #: includes/views/admin_options_shipping_provider.php:65
343
  msgid "Custom API name"
344
  msgstr "Brugerdefineret API-navn"
345
 
346
+ #: includes/views/admin_options_shipping_provider.php:61
347
  msgid "Custom display name"
348
  msgstr "Brugerdefineret displaynavn"
349
 
350
+ #: includes/customizer/class-wcast-customizer.php:44
351
  msgid "Custom order status email"
352
  msgstr "E-mail med brugerdefineret ordrestatus"
353
 
354
+ #: includes/views/admin_options_shipping_provider.php:82
 
 
 
 
355
  msgid "Custom URL"
356
  msgstr "Brugerdefineret URL"
357
 
358
+ #: includes/views/admin_options_settings.php:32
359
  msgid "Customer View"
360
  msgstr "Kundevisning"
361
 
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:712
363
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:832
 
 
 
 
364
  msgid "Customize"
365
  msgstr "Tilpas"
366
 
367
+ #: includes/views/admin_options_osm.php:66
 
 
 
 
 
368
  msgid "Dark Font"
369
  msgstr ""
370
  "Mørk skrifttype\n"
371
 
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
373
  msgid "Data saved successfully."
374
  msgstr "Data gemt med succes."
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking.php:369
377
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:377
378
  msgid "Date shipped:"
379
  msgstr "Dato afsendt:"
380
 
381
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
 
 
 
 
382
  #| msgid "Default"
383
  msgid "default"
384
  msgstr "Standard"
385
 
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
387
  msgid "Delivered"
388
  msgstr "leveres"
389
 
390
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
391
  msgid "Display Name"
392
  msgstr "Visningsnavn"
393
 
394
+ #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
395
  msgid "Display shipping provider image"
396
  msgstr ""
397
  "Vis forsendelsesudbyders billede\n"
398
 
399
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
400
  msgid "Display shipping provider name"
401
  msgstr ""
402
  "Vis forsendelsesudbyderens navn\n"
403
 
404
+ #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
405
  msgid "Download sample csv"
406
  msgstr "Download prøve csv"
407
 
408
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
409
+ msgid "edit"
410
+ msgstr "redigere"
411
+
412
+ #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
413
  msgid "Edit Shipping Provider"
414
  msgstr "Rediger forsendelsesudbyder"
415
 
416
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
417
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
418
  msgid "Email content"
419
  msgstr "Email indhold"
420
 
421
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
422
  msgid "Email Type"
423
  msgstr "E-mail-type"
424
 
425
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
426
+ msgid "Enable Partially Shipped order status email"
427
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:584
430
+ msgid "Enable the 3plwinner integration"
431
+ msgstr "Aktiver 3plwinner -integrationen"
432
 
433
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:604
434
+ msgid "Enable the AliExpress Dropshipping integration"
435
+ msgstr "Aktiver AliExpress Dropshipping -integration"
436
 
437
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:544
438
+ msgid "Enable the CustomCat integration"
439
+ msgstr "Aktiver CustomCat -integration"
440
 
441
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:554
442
+ msgid "Enable the Dear Systems integration"
443
+ msgstr "Aktiver integration af Dear Systems"
444
 
445
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:594
446
+ msgid "Enable the Dianxiaomi integration"
447
+ msgstr "Aktiver Dianxiaomi -integrationen"
448
 
449
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:504
450
+ msgid "Enable the Ordoro tracking integration"
451
+ msgstr "Aktiver Ordoro -sporingsintegrationen"
452
 
453
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:574
454
+ msgid "Enable the Picqer integration"
455
+ msgstr "Aktiver Picqer -integration"
456
 
457
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:564
458
+ msgid "Enable the Printify integration"
459
+ msgstr "Aktiver Printify -integrationen"
460
 
461
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:514
462
+ msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
463
+ msgstr "Aktiver integrationer af QuickBooks Commerce (tidligere TradeGecko)"
464
+
465
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
466
+ msgid "Enable the ReadyToShip integration"
467
+ msgstr "Aktiver ReadyToShip -integrationen"
468
+
469
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:534
470
+ msgid "Enable the Royal Mail Click & Drop integration"
471
+ msgstr "Aktiver integration af Royal Mail Click & Drop"
472
 
473
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:474
474
+ msgid "Enable the ShipStation integration"
475
+ msgstr "Aktiver ShipStation -integrationen"
476
+
477
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:484
478
+ msgid "Enable the WC Shipping integration"
479
+ msgstr "Aktiver integration af WC Shipping"
480
+
481
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:494
482
+ msgid ""
483
+ "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
484
+ "integration"
485
+ msgstr ""
486
+ "Aktiver WooCommerce UPS Shipping Plugin med Print Label -plugin -integration"
487
 
488
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
489
  msgid "Enable Track button in orders history (actions)"
490
  msgstr "Aktivér Spor-knap i ordrehistorik (handlinger)"
491
 
492
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
 
 
 
 
493
  msgid "Enable Updated Tracking order status email"
494
  msgstr ""
495
  "Aktivér e-mail med opdateret sporingsordrestatus\n"
496
 
497
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
498
  msgid "Filter by shipping provider"
499
  msgstr "Filter by shipping provider"
500
 
501
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:388
 
 
 
 
 
 
502
  msgid "Fulfill Order"
503
  msgstr "Opfyld ordren"
504
 
505
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:425
506
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:429
 
507
  msgid "General Settings"
508
  msgstr "Generelle indstillinger"
509
 
510
+ #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
511
  msgid "Global"
512
  msgstr "Global"
513
 
514
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
515
  msgid "Go Pro"
516
  msgstr "Bliv professionel"
517
 
518
+ #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
 
 
 
 
519
  msgid "Headers background color"
520
  msgstr "Overskrifter baggrundsfarve"
521
 
522
+ #: includes/customizer/class-wc-tracking-info-customizer.php:749
523
  msgid "Headers font color"
524
  msgstr ""
525
  "Headers fontfarve\n"
526
 
527
+ #: includes/customizer/class-wc-tracking-info-customizer.php:712
528
  msgid "Headers font size"
529
  msgstr ""
530
  "Headers skriftstørrelse\n"
531
 
532
+ #: includes/customizer/class-wc-tracking-info-customizer.php:767
533
  msgid "Headers font weight"
534
  msgstr "Overskrifter fontvægt"
535
 
536
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
537
  msgid ""
538
  "Hi there. we thought you'd like to know that the shipment tracking for your "
539
  "recent order from {site_title} has been updated."
541
  "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
542
  "ordre fra {site_title} er blevet opdateret.\n"
543
 
544
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
545
  msgid ""
546
  "Hi there. we thought you'd like to know that your recent order from "
547
  "{site_title} has been partially shipped."
549
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
550
  "delvist sendt.\n"
551
 
552
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:645
553
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:662
554
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
555
  msgid "hide details"
556
  msgstr "Gem detaljer"
557
 
558
+ #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
 
 
 
 
 
559
  msgid "Hide Table Headers"
560
  msgstr ""
561
  "Skjul tabeloverskrifter\n"
562
 
563
+ #: includes/customizer/class-wc-tracking-info-customizer.php:482
564
  #| msgid "Hide the ship date"
565
  msgid "Hide the shipped date"
566
  msgstr "Skjul den afsendte dato"
567
 
568
+ #: includes/customizer/class-wc-tracking-info-customizer.php:203
 
 
 
 
 
 
 
 
569
  msgid "Hide Tracking Header"
570
  msgstr "Skjul sporingshoved"
571
 
572
+ #: includes/views/admin_options_bulk_upload.php:118
573
  msgid "How to import tracking number from CSV files?"
574
  msgstr "Hvordan importeres sporingsnummer fra CSV-filer?"
575
 
581
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
582
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
583
 
584
+ #: includes/views/admin_options_bulk_upload.php:74
585
  msgid "Import in Progress"
586
  msgstr "Import i gang"
587
 
588
+ #: includes/views/admin_options_trackship_integration.php:18
 
 
 
 
 
 
 
 
589
  msgid "Install TrackShip for WooCommerce"
590
  msgstr "Installer TrackShip til WooCommerce"
591
 
592
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:390
593
+ #: includes/views/integrations_admin_options.php:3
594
+ msgid "Integrations"
595
+ msgstr "Integrationer"
596
+
597
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
598
  msgid "Invalid order ID."
599
  msgstr "Ugyldigt ordre-ID."
600
 
601
+ #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
602
  msgid ""
603
  "Keep unchecked for the tracking info to be added to any existing tracking "
604
  "info added to the orders."
606
  "Sørg for, at sporingsoplysningerne ikke føjes til eksisterende "
607
  "sporingsoplysninger, der føjes til ordrene."
608
 
609
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
610
  msgid "License"
611
  msgstr "Licens"
612
 
613
+ #: includes/views/admin_options_osm.php:65
 
614
  msgid "Light Font"
615
  msgstr ""
616
  "Let skrift\n"
617
 
618
+ #: includes/class-wc-advanced-shipment-tracking.php:300
 
 
 
 
619
  msgid "Mark as Completed?"
620
  msgstr "Marker som afsluttet?"
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
623
  msgid "Mark as Shipped"
624
  msgstr "Marker som afsendt"
625
 
626
+ #: includes/class-wc-advanced-shipment-tracking.php:297
627
  msgid "Mark as Shipped?"
628
  msgstr "Marker som sendt?"
629
 
630
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
631
  msgid "Mark order as delivered"
632
  msgstr "Marker ordre som leveret"
633
 
634
+ #: includes/class-wc-advanced-shipment-tracking.php:492
635
  msgid "Mark order as:"
636
  msgstr "Marker ordre som:"
637
 
638
+ #: includes/customizer/class-wcast-customizer.php:359
 
639
  msgid "Mockup Order"
640
  msgstr "Mockup-ordre"
641
 
642
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:816
643
+ #: includes/views/integrations_admin_options.php:20
644
  msgid "more info"
645
  msgstr ""
646
  "mere info\n"
647
 
648
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
649
  msgid "Multiple API names mapping is a pro features"
650
  msgstr "Kortlægning af flere API-navne er en pro-funktion"
651
 
652
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
 
 
 
 
 
 
 
653
  #| msgid "Open the track link in a new tab"
654
  msgid "Open the Track Button link in a new tab"
655
  msgstr "Åbn sporlinket i en ny fane"
656
 
657
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
 
 
 
 
 
658
  msgid "Order Emails Display"
659
  msgstr "Vis e-mail-ordre"
660
 
 
 
 
 
 
661
  #. %s: Order ID.
662
+ #: templates/emails/wcast-email-order-details.php:55
663
  #, php-format
664
  msgid "Order number: %s"
665
  msgstr ""
666
  "Ordrenummer:% s\n"
667
 
668
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:434
669
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:438
670
+ #: includes/views/admin_options_settings.php:64
671
  msgid "Order Statuses"
672
  msgstr "Bestil statusser"
673
 
674
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
675
+ #: includes/class-wc-advanced-shipment-tracking.php:1193
676
+ #: includes/class-wc-advanced-shipment-tracking.php:1269
677
  #, php-format
678
+ #| msgid "Order was shipped with %s and tracking number is: %s"
679
+ msgid "Order was shipped with %1$s and tracking number is: %2$s"
680
+ msgstr "Ordren blev afsendt med %1 $ s og sporingsnummer er: %2 $ s"
681
 
682
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:808
 
 
 
 
 
683
  msgid "Other"
684
  msgstr "Andet"
685
 
686
+ #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
687
  msgid "Partial Shipped"
688
  msgstr "Delvis afsendt"
689
 
690
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
691
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
692
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
693
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
694
  msgid "Partially Shipped"
695
  msgstr "Delvist afsendt"
696
 
697
+ #. %s: replace with Partially Shipped Count
698
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:135
699
  #, php-format
700
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
701
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
702
  msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
703
  msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
704
 
705
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:614
706
+ msgid ""
707
+ "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
708
+ "By Ewout Fernhout"
709
+ msgstr ""
710
+ "PDF -fakturaintegration til WooCommerce PDF -fakturaer og plugins til "
711
+ "pluginsedler Af Ewout Fernhout"
712
 
713
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:624
714
+ msgid ""
715
+ "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
716
+ msgstr ""
717
+ "PDF faktura integration til WooCommerce PDF Invoices plugin Af Bas Elbers"
718
 
719
  #. %s: search WooCommerce plugin link
720
+ #: woocommerce-advanced-shipment-tracking.php:181
721
  #, php-format
722
  msgid ""
723
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
726
  "Installer og aktiver% 1 $ sWooCommerce% 2 $ s til avanceret "
727
  "forsendelsessporing til WooCommerce!"
728
 
729
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
730
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
731
  msgid "Please select order to preview."
732
  msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
733
 
734
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:177
735
  msgid "Please upload a valid CSV file."
736
  msgstr "Upload en gyldig CSV-fil."
737
 
738
+ #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
739
  msgid "Preview:"
740
  msgstr "Eksempel:"
741
 
742
+ #: includes/class-wc-advanced-shipment-tracking.php:361
743
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:373
744
  msgid "Product Code:"
745
  msgstr "Produktkode:"
746
 
747
+ #: includes/customizer/class-wc-tracking-info-customizer.php:141
748
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
749
+ #: templates/emails/tracking-info.php:216
750
+ #: templates/myaccount/tracking-info.php:192
 
 
 
 
751
  msgid "Provider"
752
  msgstr "Fragtfirma"
753
 
754
+ #: includes/views/admin_options_shipping_provider.php:57
755
+ #: templates/emails/tracking-info.php:222
756
+ #: templates/myaccount/tracking-info.php:198
757
  msgid "Provider Name"
758
  msgstr "Udbyderens navn"
759
 
760
+ #: includes/views/admin_options_shipping_provider.php:116
761
  msgid "Providers Added"
762
  msgstr "Udbydere tilføjet"
763
 
764
+ #: includes/views/admin_options_shipping_provider.php:118
765
  msgid "Providers Deleted"
766
  msgstr "Udbydere er slettet"
767
 
768
+ #: includes/views/admin_options_shipping_provider.php:117
769
  msgid "Providers Updated"
770
  msgstr "Udbydere opdateret"
771
 
772
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:174
773
  msgid "Really delete this entry? This will not be undo."
774
  msgstr "Vil du virkelig slette denne post? Dette fortrydes ikke."
775
 
776
+ #: includes/views/admin_options_osm.php:14
777
  msgid "Rename the “Completed” Order status label to “Shipped”"
778
  msgstr "Omdøb ordren \"Afsluttet\" ordrestatus til \"Sendt\""
779
 
780
+ #: includes/views/admin_options_bulk_upload.php:46
781
  msgid "Replace tracking information?"
782
  msgstr "Erstat sporingsoplysninger?"
783
 
784
+ #: includes/views/admin_options_shipping_provider.php:100
785
  msgid "Reset"
786
  msgstr "Nulstil"
787
 
788
+ #: includes/views/admin_options_shipping_provider.php:122
789
  msgid ""
790
  "Reset providers database, it will reset all your shipping provider database"
791
  msgstr "Nulstil udbydersdatabase, det nulstiller al din leverandørdatabase"
792
 
793
+ #: includes/views/admin_options_settings.php:19
794
+ #: includes/views/admin_options_settings.php:35
795
+ #: includes/views/admin_options_settings.php:51
796
+ #: includes/views/admin_options_settings.php:67
797
+ msgid "Save & Close"
798
+ msgstr "Gem & Luk"
 
 
 
 
 
 
799
 
800
+ #: includes/class-wc-advanced-shipment-tracking.php:384
801
  msgid "Save Tracking"
802
  msgstr "Gem sporing"
803
 
804
+ #: includes/views/admin_options_shipping_provider.php:27
805
  msgid "Search by provider / country"
806
  msgstr "Søg efter udbyder / land"
807
 
808
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
 
 
 
 
 
809
  msgid "Select email type"
810
  msgstr "Vælg e-mail-type"
811
 
812
+ #: includes/class-wc-advanced-shipment-tracking.php:323
813
  msgid "Select Provider"
814
  msgstr "Vælg Udbyder"
815
 
816
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
 
 
 
 
817
  msgid "Select Template"
818
  msgstr ""
819
  "Vælg skabelon\n"
820
 
821
+ #: includes/views/admin_options_osm.php:74
 
 
 
 
 
822
  msgid "Send Email"
823
  msgstr ""
824
  "Send e-mail\n"
825
 
826
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
827
  msgid ""
828
  "Set the \"mark as shipped\" option checked when adding tracking info to "
829
  "orders"
831
  "Indstil indstillingen \"mærke som afsendt\", når du tilføjer "
832
  "sporingsinformation til ordrer"
833
 
834
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:352
835
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:356
836
  #: includes/views/admin_options_settings.php:9
837
  msgid "Settings"
838
  msgstr "Indstillinger"
839
 
840
+ #: includes/views/admin_options_bulk_upload.php:57
841
  msgid "Settings Saved."
842
  msgstr "Indstillinger gemt."
843
 
844
+ #. %s: replace with status
845
+ #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
846
  #, php-format
847
  msgid "Shipment status changed to %s"
848
  msgstr "Forsendelsesstatus ændret til% s"
849
 
850
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:189
851
  #: includes/class-wc-advanced-shipment-tracking.php:138
852
  #: includes/class-wc-advanced-shipment-tracking.php:219
853
  msgid "Shipment Tracking"
854
  msgstr "Forsendelsessporing"
855
 
856
+ #: includes/views/admin_options_settings.php:48
857
  msgid "Shipment Tracking API"
858
  msgstr "API til forsendelsessporing"
859
 
860
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:849
861
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:945
862
+ #: includes/class-wc-advanced-shipment-tracking.php:467
863
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:263
864
  msgid "Shipped"
865
  msgstr "afsendt"
866
 
867
+ #. %s: replace with shipped order count
868
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:283
869
  #, php-format
870
  msgid "Shipped <span class=\"count\">(%s)</span>"
871
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
872
  msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
873
  msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
874
 
875
+ #: includes/customizer/class-wc-tracking-info-customizer.php:143
876
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
877
  msgid "Shipped Date"
878
  msgstr ""
879
  "Afsendt dato\n"
880
 
881
+ #: includes/customizer/class-wc-tracking-info-customizer.php:688
882
  #| msgid "Ship date header text"
883
  msgid "Shipped date header text"
884
  msgstr "Sendt datooverskriftstekst"
885
 
886
  #. 1: shipping date
887
+ #: includes/class-wc-advanced-shipment-tracking.php:255
888
  #, php-format
889
  msgid "Shipped on %s"
890
  msgstr "Sendes på% s"
891
 
892
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
893
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
894
  msgstr "Sendt den {ship_date} via {shipping_provider} - {tracking_number_link}"
895
 
896
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
897
  msgid "Shipped Order"
898
  msgstr "Afsendt ordre"
899
 
900
+ #: includes/views/admin_options_shipping_provider.php:74
 
 
 
 
901
  msgid "Shipping Country"
902
  msgstr "Forsendelsesland"
903
 
904
+ #: includes/views/admin_options_shipping_provider.php:58
905
  msgid "Shipping Provider"
906
  msgstr "Forsendelsesudbyder"
907
 
908
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
909
  msgid "Shipping provider header text"
910
  msgstr "Forsendelsesudbyderens overskriftstekst"
911
 
912
+ #: includes/class-wc-advanced-shipment-tracking.php:321
913
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:350
914
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:352
915
  msgid "Shipping Provider:"
916
  msgstr "Forsendelse:"
917
 
918
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:372
919
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:376
920
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
 
921
  msgid "Shipping Providers"
922
  msgstr "Forsendelsesudbydere"
923
 
924
+ #: includes/views/admin_options_shipping_provider.php:22
925
+ msgid "Shipping Providers & Carriers"
926
+ msgstr "Forsendelsesudbydere og transportører"
927
+
928
+ #: includes/views/admin_options_shipping_provider.php:120
929
  msgid "Shipping providers database reset successfully."
930
  msgstr "Forsendelsesdatabase nulstilles med succes."
931
 
932
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
933
  msgid "Show bottom border"
934
  msgstr ""
935
  "Vis nederste kant\n"
936
 
937
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
938
  msgid "Simple Layout Design"
939
  msgstr ""
940
  "Simpelt layoutdesign\n"
941
 
942
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
943
  msgid "Special character not allowd in tracking number"
944
  msgstr "Specialtegn er ikke tilladt i sporingsnummer"
945
 
946
+ #: includes/views/admin_options_shipping_provider.php:110
947
+ #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
948
  msgid "Sync Shipping Providers"
949
  msgstr "Synkroniseringsforsendelser"
950
 
951
+ #: includes/views/admin_options_shipping_provider.php:114
952
  msgid ""
953
  "Syncing the shipping providers list add or updates the pre-set shipping "
954
  "providers and will not effect custom shipping providers."
957
  "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
958
  "forsendelsesleverandører."
959
 
960
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
961
  msgid "Table Content"
962
  msgstr "Table Content"
963
 
964
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
965
  msgid "Table Design Options"
966
  msgstr "Indstillinger for borddesign"
967
 
968
+ #: includes/customizer/class-wc-tracking-info-customizer.php:605
969
  #| msgid "Table Headers"
970
  msgid "Table Header"
971
  msgstr "Overskrift på bordet"
972
 
973
+ #: includes/customizer/class-wc-tracking-info-customizer.php:260
974
  msgid "Table Layout"
975
  msgstr ""
976
  "Tabellayout\n"
977
 
978
+ #: includes/customizer/class-wc-tracking-info-customizer.php:427
979
  msgid "Table Options"
980
  msgstr "Tabelindstillinger"
981
 
982
+ #: includes/customizer/class-wc-tracking-info-customizer.php:581
983
  msgid "Text align"
984
  msgstr "Tekstjustering"
985
 
986
+ #: includes/views/admin_options_shipping_provider.php:61
987
  msgid ""
988
  "The custom display name will show in the tracking info section on the "
989
  "customer order emails, my-account, and TrackShip's tracking page and email "
993
  "kundeordre-e-mails, min konto og TrackShip's sporingsside og e-mail-"
994
  "underretninger"
995
 
996
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:627
997
  msgid "There are some issue with sync, Please Retry."
998
  msgstr "Der er nogle problemer med synkronisering, prøv igen."
999
 
1000
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1001
  msgid "This browser does not support HTML5."
1002
  msgstr "Denne browser understøtter ikke HTML5."
1003
 
1004
+ #: includes/class-wc-advanced-shipment-tracking.php:784
1005
+ #: includes/class-wc-advanced-shipment-tracking.php:817
1006
+ #: includes/class-wc-advanced-shipment-tracking.php:835
1007
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1008
+ #: includes/customizer/class-wc-tracking-info-customizer.php:951
1009
+ #: templates/emails/tracking-info.php:264
1010
+ #: templates/myaccount/tracking-info.php:244
1011
+ #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
  msgid "Track"
1013
  msgstr "Spor pakke"
1014
 
1015
+ #: includes/customizer/class-wc-tracking-info-customizer.php:908
1016
  msgid "Track Button"
1017
  msgstr "Spor-knap"
1018
 
1019
+ #: includes/customizer/class-wc-tracking-info-customizer.php:925
1020
  msgid "Track Header"
1021
  msgstr "Spor header"
1022
 
1023
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1024
  msgid "Track header text"
1025
  msgstr ""
1026
  "Spor overskriftstekst\n"
1027
 
1028
+ #: includes/class-wc-advanced-shipment-tracking.php:242
1029
+ #: includes/class-wc-advanced-shipment-tracking.php:387
1030
  msgid "Track Shipment"
1031
  msgstr "Spor forsendelse"
1032
 
1033
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1034
+ #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1035
  msgid "Tracking display layout"
1036
  msgstr "Sporing af displaylayout"
1037
 
1038
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
1039
  msgid "Tracking Display Position"
1040
  msgstr "Sporing af skærmposition"
1041
 
1042
+ #: includes/customizer/class-wc-tracking-info-customizer.php:221
1043
  msgid "Tracking Header text"
1044
  msgstr ""
1045
  "Sporing af overskriftstekst\n"
1046
 
1047
+ #: includes/customizer/class-wcast-customizer.php:37
 
 
 
 
 
1048
  msgid "Tracking info display"
1049
  msgstr ""
1050
  "Tracking info display\n"
1051
 
1052
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1053
+ #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
 
1054
  #, php-format
1055
+ #| msgid ""
1056
+ #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1057
  msgid ""
1058
+ "Tracking info was deleted for tracking provider %1$s with tracking number "
1059
+ "%2$s"
1060
+ msgstr ""
1061
+ "Sporingsoplysninger blev slettet for sporingsudbyder %1 $ s med "
1062
+ "sporingsnummer %2 $ s"
1063
 
1064
+ #: includes/customizer/class-wc-tracking-info-customizer.php:228
1065
  msgid "Tracking Information"
1066
  msgstr "Sporing Oplysninger"
1067
 
1068
+ #: includes/customizer/class-wc-tracking-info-customizer.php:142
1069
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
1070
+ #: templates/emails/tracking-info.php:235
1071
+ #: templates/myaccount/tracking-info.php:213
 
 
 
 
 
 
1072
  msgid "Tracking Number"
1073
  msgstr "Tracking nummer"
1074
 
1075
+ #: includes/customizer/class-wc-tracking-info-customizer.php:665
1076
  #| msgid "Tracking Number header text"
1077
  msgid "Tracking number header text"
1078
  msgstr "Tracking nummer overskrift tekst"
1079
 
1080
+ #: includes/class-wc-advanced-shipment-tracking.php:317
1081
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1082
  msgid "Tracking number:"
1083
  msgstr "Tracking nummer:"
1084
 
1085
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
1086
  msgid "TrackShip"
1087
  msgstr "TrackShip"
1088
 
1089
+ #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1090
  msgid "Update"
1091
  msgstr "Opdatering"
1092
 
1093
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1094
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1095
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1096
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1097
  msgid "Updated Tracking"
1098
  msgstr "Opdateret sporing"
1099
 
1100
+ #. %s: replace with Updated Tracking Count
1101
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1102
  #, php-format
1103
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1104
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1105
  msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1106
  msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
1107
 
1108
+ #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
1109
  msgid "Upload a CSV file from your computer:"
1110
  msgstr "Upload en CSV-fil fra din computer:"
1111
 
1112
+ #: includes/views/admin_options_bulk_upload.php:107
1113
  msgid "Upload again"
1114
  msgstr "Upload igen"
1115
 
1116
+ #: includes/views/admin_options_bulk_upload.php:9
1117
  msgid ""
1118
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1119
  "file"
1121
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1122
  "file"
1123
 
1124
+ #: includes/customizer/class-wc-tracking-info-customizer.php:501
1125
  msgid "Use tracking number as a link"
1126
  msgstr "Brug sporingsnummer som et link"
1127
 
1128
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1129
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1130
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1131
+ #: includes/views/admin_options_bulk_upload.php:85
1132
  msgid "view details"
1133
  msgstr "view details"
1134
 
1135
+ #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
 
 
 
 
 
 
1136
  msgid "View Orders"
1137
  msgstr "Se ordrer"
1138
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1139
  #. %s: replace with Partially Shipped order count
1140
+ #: woocommerce-advanced-shipment-tracking.php:502
1141
  #, php-format
1142
  msgid ""
1143
  "We detected %s orders that use the Partially Shipped order status, You can "
1146
  "Vi har registreret% s ordrer, der bruger ordren Delvist afsendt. Du kan "
1147
  "tildele disse ordrer til en anden status"
1148
 
1149
+ #: includes/views/admin_options_shipping_provider.php:62
 
 
 
 
 
 
 
 
 
1150
  msgid "White Label Provider Name"
1151
  msgstr "White Label-udbyderens navn"
1152
 
1153
+ #: includes/class-wc-advanced-shipment-tracking.php:370
1154
+ #: includes/class-wc-advanced-shipment-tracking.php:373
1155
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1156
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1157
  msgid "Y-m-d"
1158
  msgstr "Y-m-d"
1159
 
1160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1161
  msgid "You can upload only csv file."
1162
  msgstr "Du kan kun uploade csv-fil."
1163
 
1164
+ #. %s: search WooCommerce plugin link
1165
+ #: includes/views/admin_options_shipping_provider.php:89
1166
  msgid ""
1167
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1168
  "URL, for more info, check our "
1170
  "Du kan bruge variablerne% number%,% postal_code% og% country_code% i URL'en, "
1171
  "for mere info, se vores"
1172
 
1173
+ #. %s: replace with status
1174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1175
  #, php-format
1176
  msgid "You did not create any %s shipping providers yet."
1177
  msgstr "Du har ikke oprettet nogen% s forsendelsesudbydere endnu."
1178
 
1179
+ #. %s: replace with status
1180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1181
  #, php-format
1182
  msgid "You don't have any %s shipping providers."
1183
  msgstr "Du har ikke% s forsendelsesudbydere."
1184
 
1185
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1186
  msgid "Your Order is Partially Shipped"
1187
  msgstr "Din ordre er delvist afsendt"
1188
 
1189
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
1190
  msgid "Your {site_title} order is now partially shipped"
1191
  msgstr "Din {site_title} ordre er nu delvist sendt"
1192
 
1193
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1194
  msgid "Your {site_title} order is now updated tracking"
1195
  msgstr ""
1196
  "Din {site_title} ordre er nu opdateret sporing\n"
lang/woo-advanced-shipment-tracking-de_DE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-de_DE.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-06-22 09:33+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\n"
@@ -12,22 +12,23 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.2; wp-5.7.2"
16
 
17
- #: includes/views/admin_options_shipping_provider.php:83
 
18
  #, php-format
19
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
20
  msgstr "Dokumentation"
21
 
22
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1712
23
  msgid "Actions"
24
  msgstr "Aktionen"
25
 
26
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1388
27
- msgid "Active Shipments"
28
- msgstr "Aktive Sendungen"
29
 
30
- #: includes/views/admin_options_shipping_provider.php:56
31
  msgid ""
32
  "Add API name aliases to map Shipping providers names with the provider names "
33
  "that are updated in the shipment tracking API by external shipping services"
@@ -36,8 +37,8 @@ msgstr ""
36
  "Anbieternamen zuzuordnen, die in der Sendungsverfolgungs-API von externen "
37
  "Versanddiensten aktualisiert werden"
38
 
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1700
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1833
41
  msgid "Add Custom Provider"
42
  msgstr "Benutzerdefinierten Anbieter hinzufügen"
43
 
@@ -54,578 +55,493 @@ msgstr ""
54
  "in den Kundenkonten (im Bestellfenster) und in der E-Mail zum Abschluss der "
55
  "WooCommerce-Bestellung angezeigt."
56
 
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:650
58
  msgid "add the [wcast-track-order] shortcode in the selected page."
59
  msgstr ""
60
  "fügen Sie den Shortcode [wcast-track-order] auf der ausgewählten Seite hinzu."
61
 
62
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
63
  msgid "Add Tracking"
64
  msgstr "Add Tracking"
65
 
66
- #: includes/class-wc-advanced-shipment-tracking-settings.php:415
67
  msgid "Add Tracking - order\t"
68
  msgstr "Tracking hinzufügen - Bestellung"
69
 
70
- #: includes/class-wc-advanced-shipment-tracking.php:515
71
  msgid "Add Tracking Info"
72
  msgstr "Tracking-Info hinzufügen"
73
 
74
- #: includes/views/admin_options_settings.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  msgid "Add Tracking Options"
76
  msgstr "Tracking-Optionen hinzufügen"
77
 
78
- #: includes/class-wc-advanced-shipment-tracking-admin.php:768
79
  msgid "Add Tracking Order action"
80
  msgstr "Aktion Tracking-Bestellung hinzufügen"
81
 
82
- #: includes/customizer/class-wc-tracking-info-customizer.php:267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  msgid "Additional text after header"
84
  msgstr "Zusätzlicher Text nach Kopfzeile"
85
 
86
- #: includes/views/admin_status_notifications.php:52
87
- msgid "Admin Notifications"
88
- msgstr "Admin-Benachrichtigungen"
89
-
90
  #. Name of the plugin
91
  msgid "Advanced Shipment Tracking for WooCommerce"
92
  msgstr "Erweiterte Sendungsverfolgung für WooCommerce"
93
 
94
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
95
  msgid "After Order Details"
96
  msgstr "Nach Auftragsdetails"
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
99
  msgid "API aliases"
100
  msgstr "API-Aliasse"
101
 
102
- #: includes/views/admin_options_shipping_provider.php:58
 
 
 
 
103
  msgid "API Name"
104
  msgstr "API-Name"
105
 
106
- #: includes/views/admin_status_notifications.php:141
107
- msgid "As it Happens"
108
- msgstr "Wie es passiert"
109
-
110
- #: includes/views/admin_trackship_dashboard.php:87
111
- msgid "Automation"
112
- msgstr "Automatisierung"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:283
115
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:863
116
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:941
117
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:74
118
- #: includes/customizer/class-wc-intransit-email-customizer.php:164
119
- msgid "Available For Pickup"
120
- msgstr ""
121
- "Zur Abholung bereit\n"
122
-
123
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:153
124
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:177
125
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
126
- #: includes/customizer/class-wc-delivered-email-customizer.php:151
127
- #: includes/customizer/class-wc-delivered-email-customizer.php:175
128
- #: includes/customizer/class-wc-delivered-email-customizer.php:220
129
- #: includes/customizer/class-wc-failure-email-customizer.php:151
130
- #: includes/customizer/class-wc-failure-email-customizer.php:175
131
- #: includes/customizer/class-wc-failure-email-customizer.php:220
132
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
133
- #: includes/customizer/class-wc-intransit-email-customizer.php:252
134
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
135
- #: includes/customizer/class-wc-onhold-email-customizer.php:151
136
- #: includes/customizer/class-wc-onhold-email-customizer.php:175
137
- #: includes/customizer/class-wc-onhold-email-customizer.php:220
138
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:150
139
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:174
140
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:219
141
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:213
142
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:237
143
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:262
144
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:282
145
- #: includes/customizer/class-wc-returntosender-email-customizer.php:152
146
- #: includes/customizer/class-wc-returntosender-email-customizer.php:176
147
- #: includes/customizer/class-wc-returntosender-email-customizer.php:220
148
- #: includes/customizer/class-wc-tracking-info-customizer.php:355
149
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:163
150
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:187
151
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:212
152
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:232
153
- #: includes/customizer/class-wc-exception-email-customizer.php:151
154
- #: includes/customizer/class-wc-exception-email-customizer.php:175
155
- #: includes/customizer/class-wc-exception-email-customizer.php:220
156
- #: includes/views/admin_status_notifications.php:123
157
  msgid "Available variables:"
158
  msgstr "Verfügbare Variablen:"
159
 
160
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1381
161
- msgid "Avg Shipment Length"
162
- msgstr "Durchschnittliche Sendungslänge"
163
-
164
- #: includes/customizer/class-wc-tracking-info-customizer.php:208
165
  msgid "Before Order Details"
166
  msgstr "Vor der Bestellung Details"
167
 
168
- #: includes/customizer/class-wc-tracking-info-customizer.php:559
169
  msgid "Border color"
170
  msgstr "Randfarbe"
171
 
172
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
173
  msgid "Border size"
174
  msgstr ""
175
  "Rahmengrösse\n"
176
 
177
- #: includes/customizer/class-wc-tracking-info-customizer.php:429
178
  msgid "Bottom border color"
179
  msgstr ""
180
  "Farbe des unteren Randes\n"
181
 
182
- #: includes/customizer/class-wc-tracking-info-customizer.php:990
183
  msgid "Button color"
184
  msgstr "Knopffarbe"
185
 
186
- #: includes/customizer/class-wc-tracking-info-customizer.php:1008
187
  msgid "Button font color"
188
  msgstr "Schriftfarbe der Schaltfläche"
189
 
190
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:393
191
  msgid "Cannot create existing order shipment tracking."
192
  msgstr ""
193
  "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:868
196
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:965
197
- msgid "Carrier Unsupported"
198
- msgstr "Träger nicht unterstützt"
199
-
200
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
201
  msgid "Change order status to"
202
  msgstr "Ändern Sie den Auftragsstatus in"
203
 
204
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
205
  msgid "Change status to shipped"
206
  msgstr ""
207
  "Ändern Sie den Status in \"Versand\"\n"
208
 
209
- #: includes/class-wc-advanced-shipment-tracking-admin.php:891
210
  msgid "Choose for which Order status to display"
211
  msgstr "Wählen Sie aus, welcher Bestellstatus angezeigt werden soll"
212
 
213
- #: includes/views/admin_options_bulk_upload.php:33
214
  msgid "Choose the Shipped Date format"
215
  msgstr "Wählen Sie das Versanddatum-Format"
216
 
217
- #: includes/class-wc-advanced-shipment-tracking.php:466
218
  msgid "Completed"
219
  msgstr "vollendet, fertiggestellt"
220
 
221
- #: includes/views/admin_trackship_dashboard.php:28
222
- msgid "Connected"
223
- msgstr ""
224
- "In Verbindung gebracht\n"
225
-
226
- #: includes/views/admin_trackship_dashboard.php:26
227
- msgid "Connection Status"
228
- msgstr "Verbindungsstatus"
229
-
230
- #: includes/customizer/class-wc-tracking-info-customizer.php:334
231
  msgid "Content"
232
  msgstr "Inhalt"
233
 
234
- #: includes/customizer/class-wc-tracking-info-customizer.php:829
235
  msgid "Content Background color"
236
  msgstr "Inhalt Hintergrundfarbe"
237
 
238
- #: includes/customizer/class-wc-tracking-info-customizer.php:392
239
- #: includes/customizer/class-wc-tracking-info-customizer.php:847
240
  msgid "Content font color"
241
  msgstr ""
242
  "Schriftfarbe des Inhalts\n"
243
 
244
- #: includes/customizer/class-wc-tracking-info-customizer.php:373
245
- #: includes/customizer/class-wc-tracking-info-customizer.php:865
246
  msgid "Content font size"
247
  msgstr ""
248
  "Schriftgröße des Inhalts\n"
249
 
250
- #: includes/customizer/class-wc-tracking-info-customizer.php:907
251
  msgid "Content font weight"
252
  msgstr ""
253
  "Schriftgröße des Inhalts\n"
254
 
255
- #: includes/customizer/class-wc-tracking-info-customizer.php:884
256
  msgid "Content line height"
257
  msgstr "Höhe der Inhaltszeile"
258
 
259
- #: includes/views/admin_options_bulk_upload.php:56
260
  msgid "Continue"
261
  msgstr "Fortsetzen"
262
 
263
- #: includes/views/admin_options_shipping_provider.php:63
264
  msgid "Country"
265
  msgstr "Land"
266
 
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:414
268
- #: includes/class-wc-advanced-shipment-tracking-admin.php:418
 
269
  msgid "CSV Import"
270
  msgstr "CSV-Import"
271
 
272
- #: includes/views/admin_options_shipping_provider.php:56
273
  msgid "Custom API name"
274
  msgstr "Benutzerdefinierter API-Name"
275
 
276
- #: includes/views/admin_options_shipping_provider.php:52
277
  msgid "Custom display name"
278
  msgstr "Benutzerdefinierter Anzeigename"
279
 
280
- #: includes/customizer/class-wcast-customizer.php:35
281
  msgid "Custom order status email"
282
  msgstr "E-Mail zum benutzerdefinierten Bestellstatus"
283
 
284
- #: includes/views/admin_options_settings.php:25
285
- msgid "Custom Order Statuses"
286
- msgstr "Benutzerdefinierte Auftragsstatus"
287
-
288
- #: includes/views/admin_options_shipping_provider.php:79
289
  msgid "Custom URL"
290
  msgstr "eigene URL"
291
 
292
- #: includes/views/admin_options_settings.php:15
293
  msgid "Customer View"
294
  msgstr "Kundenansicht"
295
 
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:403
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:409
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:546
299
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
300
- #: includes/views/admin_status_notifications.php:36
301
- #: includes/views/admin_status_notifications.php:69
302
  msgid "Customize"
303
  msgstr "Anpassen"
304
 
305
- #: includes/views/admin_status_notifications.php:145
306
- msgid "Daily Digest on"
307
- msgstr "Daily Digest on"
308
-
309
- #: includes/views/admin_options_osm.php:58
310
- #: includes/views/admin_trackship_dashboard.php:118
311
  msgid "Dark Font"
312
  msgstr ""
313
  "Dunkle Schrift\n"
314
 
315
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:234
316
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:238
317
- msgid "Dashboard"
318
- msgstr "Instrumententafel"
319
-
320
- #: includes/class-wc-advanced-shipment-tracking-admin.php:232
321
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:212
322
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:422
323
  msgid "Data saved successfully."
324
  msgstr "Daten erfolgreich gespeichert."
325
 
326
- #: includes/class-wc-advanced-shipment-tracking.php:368
327
- #: includes/class-wc-advanced-shipment-tracking-settings.php:452
328
  msgid "Date shipped:"
329
  msgstr "Lieferdatum:"
330
 
331
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1383
332
- msgid "days"
333
- msgstr "Tage"
334
-
335
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
336
  #| msgid "Default"
337
  msgid "default"
338
  msgstr "Standard"
339
 
340
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1637
341
- #: includes/class-wc-advanced-shipment-tracking-settings.php:131
342
- #: includes/class-wc-advanced-shipment-tracking-settings.php:176
343
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:297
344
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:865
345
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:935
346
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1392
347
- #: includes/customizer/class-wc-delivered-email-customizer.php:74
348
- #: includes/customizer/class-wc-intransit-email-customizer.php:166
349
- #: includes/views/admin_trackship_dashboard.php:109
350
  msgid "Delivered"
351
  msgstr "Geliefert"
352
 
353
- #: includes/class-wc-advanced-shipment-tracking-settings.php:136
354
- #, php-format
355
- msgid "Delivered <span class=\"count\">(%s)</span>"
356
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
357
- msgstr[0] ""
358
- "Geliefert <span class=\"count\">(%s)</span>\n"
359
- msgstr[1] ""
360
- "Geliefert <span class=\"count\">(%s)</span>\n"
361
-
362
- #: includes/views/front/layout1_tracking_details.php:17
363
- #: includes/views/front/layout1_tracking_details.php:94
364
- msgid "Destination Details"
365
- msgstr "Zieldetails"
366
-
367
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1709
368
  msgid "Display Name"
369
  msgstr "Anzeigename"
370
 
371
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:552
372
- #| msgid "Display Shipment Status Filter on Orders admin"
373
- msgid "Display shipment status filter on orders admin"
374
- msgstr "Sendungsstatusfilter im Auftragsadministrator anzeigen"
375
-
376
- #: includes/customizer/class-wc-tracking-info-customizer.php:485
377
  msgid "Display shipping provider image"
378
  msgstr ""
379
  "Bild des Versandanbieters anzeigen\n"
380
 
381
- #: includes/customizer/class-wc-tracking-info-customizer.php:466
382
  msgid "Display shipping provider name"
383
  msgstr ""
384
  "Name des Versandanbieters anzeigen\n"
385
 
386
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:278
387
- #: includes/customizer/class-wc-delivered-email-customizer.php:295
388
- #: includes/customizer/class-wc-failure-email-customizer.php:276
389
- #: includes/customizer/class-wc-intransit-email-customizer.php:353
390
- #: includes/customizer/class-wc-onhold-email-customizer.php:276
391
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
392
- #: includes/customizer/class-wc-returntosender-email-customizer.php:276
393
- #: includes/customizer/class-wc-exception-email-customizer.php:276
394
- msgid "Display the shipping address"
395
- msgstr "Lieferadresse anzeigen"
396
-
397
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:240
398
- #: includes/customizer/class-wc-delivered-email-customizer.php:257
399
- #: includes/customizer/class-wc-failure-email-customizer.php:238
400
- #: includes/customizer/class-wc-intransit-email-customizer.php:315
401
- #: includes/customizer/class-wc-onhold-email-customizer.php:238
402
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
403
- #: includes/customizer/class-wc-returntosender-email-customizer.php:238
404
- #: includes/customizer/class-wc-exception-email-customizer.php:238
405
- msgid "Display the Shipping items"
406
- msgstr "Zeigen Sie die Versandartikel an"
407
-
408
- #: includes/views/admin_options_bulk_upload.php:118
409
  msgid "Download sample csv"
410
  msgstr "Beispiel-CSV herunterladen"
411
 
412
- #: includes/views/admin_status_notifications.php:101
413
- msgid "E.g. {admin_email}, admin@example.org"
414
- msgstr "Z.B. {admin_email}, admin@example.org"
415
-
416
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:135
417
- #: includes/customizer/class-wc-delivered-email-customizer.php:133
418
- #: includes/customizer/class-wc-failure-email-customizer.php:133
419
- #: includes/customizer/class-wc-intransit-email-customizer.php:210
420
- #: includes/customizer/class-wc-onhold-email-customizer.php:133
421
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:132
422
- #: includes/customizer/class-wc-returntosender-email-customizer.php:134
423
- #: includes/customizer/class-wc-exception-email-customizer.php:133
424
- msgid "E.g. {customer.email}, admin@example.org"
425
- msgstr "Z.B. {customer.email}, admin@example.org"
426
-
427
- #: includes/views/admin_options_shipping_provider.php:42
428
  msgid "Edit Shipping Provider"
429
  msgstr "Versandanbieter bearbeiten"
430
 
431
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
432
- #: includes/customizer/class-wc-delivered-email-customizer.php:198
433
- #: includes/customizer/class-wc-failure-email-customizer.php:198
434
- #: includes/customizer/class-wc-intransit-email-customizer.php:275
435
- #: includes/customizer/class-wc-onhold-email-customizer.php:198
436
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:197
437
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:261
438
- #: includes/customizer/class-wc-returntosender-email-customizer.php:199
439
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
440
- #: includes/customizer/class-wc-exception-email-customizer.php:198
441
- #: includes/views/admin_status_notifications.php:117
442
  msgid "Email content"
443
  msgstr "E-Mail-Inhalt"
444
 
445
- #: includes/views/admin_status_notifications.php:15
446
- msgid "Email Notifications"
447
- msgstr "E-Mail Benachrichtigungen"
448
-
449
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:152
450
- #: includes/customizer/class-wc-delivered-email-customizer.php:150
451
- #: includes/customizer/class-wc-failure-email-customizer.php:150
452
- #: includes/customizer/class-wc-intransit-email-customizer.php:227
453
- #: includes/customizer/class-wc-onhold-email-customizer.php:150
454
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:149
455
- #: includes/customizer/class-wc-exception-email-customizer.php:150
456
- msgid "Email Subject"
457
- msgstr "E-Mail Betreff"
458
-
459
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
460
  msgid "Email Type"
461
  msgstr "E-Mail-Typ"
462
 
463
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:585
464
- msgid "Enable a tracking page"
465
- msgstr "Aktivieren Sie eine Tracking-Seite"
 
 
 
 
 
466
 
467
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:109
468
- msgid "Enable Available For Pickup email"
469
- msgstr "Aktivieren Sie Verfügbar für Abhol-E-Mail"
470
 
471
- #: includes/customizer/class-wc-delivered-email-customizer.php:107
472
- msgid "Enable Delivered email"
473
- msgstr "Aktivieren Sie die zugestellte E-Mail"
474
 
475
- #: includes/customizer/class-wc-exception-email-customizer.php:107
476
- msgid "Enable Exception email"
477
- msgstr "Ausnahme-E-Mail aktivieren"
478
 
479
- #: includes/customizer/class-wc-failure-email-customizer.php:107
480
- msgid "Enable Failed Attempt email"
481
- msgstr "Aktivieren Sie die E-Mail \"Fehlgeschlagener Versuch\""
482
 
483
- #: includes/customizer/class-wc-intransit-email-customizer.php:184
484
- msgid "Enable In Transit email"
485
- msgstr "In Transit-E-Mail aktivieren"
486
 
487
- #: includes/customizer/class-wc-onhold-email-customizer.php:107
488
- msgid "Enable On Hold email"
489
- msgstr "E-Mail aktivieren"
490
 
491
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:106
492
- msgid "Enable Out For Delivery email"
493
- msgstr "Aktivieren Sie Out for Delivery E-Mail"
494
 
495
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:193
496
- msgid "Enable Partially Shipped order status email"
497
  msgstr ""
498
- "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
 
 
 
 
 
 
 
 
 
 
 
 
499
 
500
- #: includes/customizer/class-wc-returntosender-email-customizer.php:108
501
- msgid "Enable Return To Sender email"
502
- msgstr "Aktivieren Sie Return To Sender E-Mail"
503
 
504
- #: includes/class-wc-advanced-shipment-tracking-admin.php:872
 
 
 
 
 
 
 
 
505
  msgid "Enable Track button in orders history (actions)"
506
  msgstr "Schaltfläche \"Verfolgen\" im Bestellverlauf aktivieren (Aktionen)"
507
 
508
- #: includes/customizer/class-wc-tracking-page-customizer.php:248
509
- msgid "Enable Tracking # link to Carrier"
510
- msgstr "Tracking # Link zum Spediteur aktivieren"
511
-
512
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
513
  msgid "Enable Updated Tracking order status email"
514
  msgstr ""
515
  "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
516
  "Sendungsverfolgung\n"
517
 
518
- #: includes/views/front/tracking_page_header.php:22
519
- msgid "Est. Delivery Date"
520
- msgstr ""
521
- "Europäische Sommerzeit. Lieferdatum\n"
522
-
523
- #: includes/customizer/class-wc-tracking-page-customizer.php:208
524
- #: includes/customizer/class-wc-tracking-page-customizer.php:211
525
- msgid "Events Display Type"
526
- msgstr "Ereignisanzeigetyp"
527
-
528
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:311
529
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:950
530
- #: includes/customizer/class-wc-intransit-email-customizer.php:168
531
- #: includes/customizer/class-wc-exception-email-customizer.php:73
532
- msgid "Exception"
533
- msgstr "Ausnahme"
534
-
535
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:304
536
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:866
537
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:947
538
- #: includes/customizer/class-wc-failure-email-customizer.php:73
539
- #: includes/customizer/class-wc-intransit-email-customizer.php:167
540
- msgid "Failed Attempt"
541
- msgstr "Misslungener Versuch"
542
-
543
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:875
544
- msgid "Filter by shipment status"
545
- msgstr "Filtern nach Sendungsstatus"
546
-
547
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
548
  msgid "Filter by shipping provider"
549
  msgstr "Nach Versandanbieter filtern"
550
 
551
- #: templates/tracking/tracking-form.php:12
552
- #: templates/tracking/tracking-form.php:13
553
- msgid "Found in your order confirmation email."
554
- msgstr ""
555
- "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
556
-
557
- #: includes/class-wc-advanced-shipment-tracking-settings.php:462
558
  msgid "Fulfill Order"
559
  msgstr "Bestellung ausführen"
560
 
561
- #: includes/class-wc-advanced-shipment-tracking-admin.php:450
562
- #: includes/class-wc-advanced-shipment-tracking-admin.php:454
563
- #: includes/views/admin_trackship_dashboard.php:70
564
  msgid "General Settings"
565
  msgstr "Allgemeine Einstellungen"
566
 
567
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
568
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1095
569
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1104
570
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1113
571
- #: includes/views/admin_trackship_dashboard.php:8
572
- msgid "Get Shipment Status"
573
- msgstr ""
574
- "Sendungsstatus abrufen\n"
575
-
576
- #: includes/views/admin_options_shipping_provider.php:66
577
  msgid "Global"
578
  msgstr "Global"
579
 
580
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
581
  msgid "Go Pro"
582
  msgstr "Go Pro"
583
 
584
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:296
585
- #: includes/customizer/class-wc-delivered-email-customizer.php:313
586
- #: includes/customizer/class-wc-failure-email-customizer.php:294
587
- #: includes/customizer/class-wc-intransit-email-customizer.php:371
588
- #: includes/customizer/class-wc-onhold-email-customizer.php:294
589
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
590
- #: includes/customizer/class-wc-returntosender-email-customizer.php:294
591
- #: includes/customizer/class-wc-exception-email-customizer.php:294
592
- msgid "Google Analytics link tracking"
593
- msgstr ""
594
- "Google Analytics-Linkverfolgung\n"
595
-
596
- #: includes/customizer/class-wc-tracking-info-customizer.php:753
597
  msgid "Headers background color"
598
  msgstr "Hintergrundfarbe der Kopfzeilen"
599
 
600
- #: includes/customizer/class-wc-tracking-info-customizer.php:771
601
  msgid "Headers font color"
602
  msgstr ""
603
  "Schriftfarbe der Überschriften\n"
604
 
605
- #: includes/customizer/class-wc-tracking-info-customizer.php:734
606
  msgid "Headers font size"
607
  msgstr ""
608
  "Schriftgröße der Überschriften\n"
609
 
610
- #: includes/customizer/class-wc-tracking-info-customizer.php:789
611
  msgid "Headers font weight"
612
  msgstr "Schriftstärke der Kopfzeilen"
613
 
614
- #. %s: search TS4WC plugin link
615
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:187
616
- #, php-format
617
- msgid ""
618
- "Hi there, We noticed that your store is connected to TrackShip and there is "
619
- "a new and better TrackShip integration plugin for WooCommerce that will work "
620
- "with AST. Please install and activate the new %1$sTrackShip For "
621
- "WooCommerce%2$s plugin."
622
- msgstr ""
623
- "Hallo, Wir haben festgestellt, dass Ihr Geschäft mit TrackShip verbunden ist "
624
- "und es ein neues und besseres TrackShip-Integrations-Plugin für WooCommerce "
625
- "gibt, das mit AST funktioniert. Bitte installieren und aktivieren Sie das "
626
- "neue %1$sTrackShip For WooCommerce%2$s-Plugin."
627
-
628
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
629
  msgid ""
630
  "Hi there. we thought you'd like to know that the shipment tracking for your "
631
  "recent order from {site_title} has been updated."
@@ -633,15 +549,7 @@ msgstr ""
633
  "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
634
  "letzte Bestellung von {site_title} aktualisiert wurde.\n"
635
 
636
- #: includes/customizer/class-wc-delivered-email-customizer.php:75
637
- msgid ""
638
- "Hi there. we thought you'd like to know that your recent order from "
639
- "{site_title} has been Delivered."
640
- msgstr ""
641
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
642
- "{site_title} geliefert wurde.\n"
643
-
644
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
645
  msgid ""
646
  "Hi there. we thought you'd like to know that your recent order from "
647
  "{site_title} has been partially shipped."
@@ -649,103 +557,28 @@ msgstr ""
649
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
650
  "{site_title} teilweise versendet wurde.\n"
651
 
652
- #: includes/customizer/class-wc-returntosender-email-customizer.php:75
653
- msgid ""
654
- "Hi there. we thought you'd like to know that your recent order from "
655
- "{site_title} has been returned to sender."
656
- msgstr ""
657
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
658
- "{site_title} an den Absender zurückgeschickt wurde.\n"
659
-
660
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:75
661
- msgid ""
662
- "Hi there. we thought you'd like to know that your recent order from "
663
- "{site_title} is available for pickup."
664
- msgstr ""
665
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
666
- "{site_title} zur Abholung verfügbar ist."
667
-
668
- #: includes/customizer/class-wc-exception-email-customizer.php:74
669
- msgid ""
670
- "Hi there. we thought you'd like to know that your recent order from "
671
- "{site_title} is Exception"
672
- msgstr ""
673
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
674
- "{site_title} eine Ausnahme ist"
675
-
676
- #: includes/customizer/class-wc-failure-email-customizer.php:74
677
- msgid ""
678
- "Hi there. we thought you'd like to know that your recent order from "
679
- "{site_title} is Failed Attempt"
680
- msgstr ""
681
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
682
- "{site_title} fehlgeschlagen ist"
683
-
684
- #: includes/customizer/class-wc-intransit-email-customizer.php:100
685
- msgid ""
686
- "Hi there. we thought you'd like to know that your recent order from "
687
- "{site_title} is in transit"
688
- msgstr ""
689
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
690
- "{site_title} unterwegs ist\n"
691
-
692
- #: includes/customizer/class-wc-onhold-email-customizer.php:74
693
- msgid ""
694
- "Hi there. we thought you'd like to know that your recent order from "
695
- "{site_title} is on hold"
696
- msgstr ""
697
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
698
- "{site_title} zurückgestellt wurde"
699
-
700
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:74
701
- msgid ""
702
- "Hi there. we thought you'd like to know that your recent order from "
703
- "{site_title} is out for delivery."
704
- msgstr ""
705
- "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
706
- "{site_title} nicht lieferbar ist.\n"
707
-
708
- #: includes/class-wc-advanced-shipment-tracking-settings.php:711
709
- #: includes/class-wc-advanced-shipment-tracking-settings.php:728
710
- #: includes/class-wc-advanced-shipment-tracking-settings.php:745
711
  msgid "hide details"
712
  msgstr ""
713
  "Details ausblenden\n"
714
 
715
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
716
- #: includes/customizer/class-wc-delivered-email-customizer.php:276
717
- #: includes/customizer/class-wc-failure-email-customizer.php:257
718
- #: includes/customizer/class-wc-intransit-email-customizer.php:334
719
- #: includes/customizer/class-wc-onhold-email-customizer.php:257
720
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:256
721
- #: includes/customizer/class-wc-returntosender-email-customizer.php:257
722
- #: includes/customizer/class-wc-exception-email-customizer.php:257
723
- msgid "Hide Shipping Items Price"
724
- msgstr "Preis der Versandartikel ausblenden"
725
-
726
- #: includes/customizer/class-wc-tracking-info-customizer.php:644
727
  msgid "Hide Table Headers"
728
  msgstr ""
729
  "Tabellenüberschriften ausblenden\n"
730
 
731
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
732
  #| msgid "Hide the ship date"
733
  msgid "Hide the shipped date"
734
  msgstr "Verstecken Sie das Versanddatum"
735
 
736
- #: includes/customizer/class-wc-tracking-page-customizer.php:232
737
- msgid "Hide the Shipping Provider logo"
738
- msgstr "Das Logo des Versandanbieters ausblenden"
739
-
740
- #: includes/customizer/class-wc-tracking-page-customizer.php:216
741
- msgid "Hide tracking events"
742
- msgstr "Tracking-Ereignisse ausblenden"
743
-
744
- #: includes/customizer/class-wc-tracking-info-customizer.php:225
745
  msgid "Hide Tracking Header"
746
  msgstr "Tracking-Header ausblenden"
747
 
748
- #: includes/views/admin_options_bulk_upload.php:119
749
  msgid "How to import tracking number from CSV files?"
750
  msgstr "Wie importiere ich Tracking-Nummern aus CSV-Dateien?"
751
 
@@ -757,37 +590,25 @@ msgstr "https://www.zorem.com"
757
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
758
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
759
 
760
- #: includes/views/admin_options_bulk_upload.php:75
761
  msgid "Import in Progress"
762
  msgstr "Import in Bearbeitung"
763
 
764
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:262
765
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:862
766
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:926
767
- #: includes/customizer/class-wc-intransit-email-customizer.php:99
768
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
769
- msgid "In Transit"
770
- msgstr "Unterwegs"
771
-
772
- #: includes/views/admin_options_trackship_integration.php:17
773
  msgid "Install TrackShip for WooCommerce"
774
  msgstr "TrackShip für WooCommerce installieren"
775
 
776
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:402
 
 
 
 
 
777
  msgid "Invalid order ID."
778
  msgstr ""
779
  "Ungültige Bestellnummer.\n"
780
 
781
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
782
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:962
783
- msgid "Invalid Tracking Number"
784
- msgstr "Ungültige Tracking-Nummer"
785
-
786
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:968
787
- msgid "Invalid User Key"
788
- msgstr "Ungültiger Benutzerschlüssel"
789
-
790
- #: includes/views/admin_options_bulk_upload.php:47
791
  msgid ""
792
  "Keep unchecked for the tracking info to be added to any existing tracking "
793
  "info added to the orders."
@@ -796,151 +617,98 @@ msgstr ""
796
  "Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
797
  "die den Bestellungen hinzugefügt wurden."
798
 
799
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:27
800
- msgid "Late shipment"
801
- msgstr "Verspäteter Versand"
802
-
803
- #: includes/views/admin_status_notifications.php:87
804
- msgid "Late Shipment Days"
805
- msgstr "Späte Versandtage"
806
-
807
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:26
808
- #: includes/views/admin_status_notifications.php:111
809
- msgid "Late shipment for order #{order_number}"
810
- msgstr "Verspäteter Versand für Bestellnummer {Bestellnummer}"
811
-
812
- #: includes/views/admin_status_notifications.php:66
813
- msgid "Late Shipments"
814
- msgstr "Verspätete Lieferungen"
815
-
816
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
817
  msgid "License"
818
  msgstr "Lizenz"
819
 
820
- #: includes/views/admin_options_osm.php:57
821
- #: includes/views/admin_trackship_dashboard.php:117
822
  msgid "Light Font"
823
  msgstr ""
824
  "Leichte Schrift\n"
825
 
826
- #: includes/views/admin_options_shipping_provider.php:73
827
- msgid "Logo image"
828
- msgstr "Logobild"
829
-
830
- #: includes/class-wc-advanced-shipment-tracking.php:299
831
  msgid "Mark as Completed?"
832
  msgstr "Als erledigt markieren?"
833
 
834
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
835
  msgid "Mark as Shipped"
836
  msgstr "Als versandt markieren"
837
 
838
- #: includes/class-wc-advanced-shipment-tracking.php:296
839
  msgid "Mark as Shipped?"
840
  msgstr "Als versandt markieren?"
841
 
842
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1592
843
  msgid "Mark order as delivered"
844
  msgstr "Bestellung als geliefert markieren"
845
 
846
- #: includes/class-wc-advanced-shipment-tracking.php:491
847
  msgid "Mark order as:"
848
  msgstr "Bestellung markieren als:"
849
 
850
- #: includes/customizer/class-wcast-customizer.php:353
851
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:148
852
  msgid "Mockup Order"
853
  msgstr "Mockup-Bestellung"
854
 
855
- #: includes/class-wc-advanced-shipment-tracking-admin.php:651
 
856
  msgid "more info"
857
  msgstr ""
858
  "Mehr Info\n"
859
 
860
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2165
861
  msgid "Multiple API names mapping is a pro features"
862
  msgstr "Die Zuordnung mehrerer API-Namen ist ein Profi-Feature"
863
 
864
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:242
865
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:246
866
- msgid "Notifications"
867
- msgstr "Benachrichtigungen"
868
-
869
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:269
870
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:929
871
- #: includes/customizer/class-wc-intransit-email-customizer.php:162
872
- #: includes/customizer/class-wc-onhold-email-customizer.php:73
873
- msgid "On Hold"
874
- msgstr "In Wartestellung"
875
-
876
- #: includes/class-wc-advanced-shipment-tracking-admin.php:878
877
  msgid "Open the Track Button link in a new tab"
878
  msgstr "Öffne den Link zum Track Button in einem neuen Tab"
879
 
880
- #: templates/tracking/tracking-form.php:13
881
- msgid "Order Email"
882
- msgstr ""
883
- "E-Mail bestellen\n"
884
-
885
- #: includes/class-wc-advanced-shipment-tracking-admin.php:865
886
  msgid "Order Emails Display"
887
  msgstr "Bestell-E-Mail-Anzeige"
888
 
889
- #: includes/class-wc-advanced-shipment-tracking-front.php:173
890
- #: includes/class-wc-advanced-shipment-tracking-front.php:184
891
- msgid "Order not found."
892
- msgstr "Bestellung nicht gefunden."
893
-
894
  #. %s: Order ID.
895
- #: templates/emails/wcast-email-order-details.php:53
896
  #, php-format
897
  msgid "Order number: %s"
898
  msgstr ""
899
  "Bestellnummer:% s\n"
900
 
901
- #: includes/class-wc-advanced-shipment-tracking-admin.php:459
902
- #: includes/class-wc-advanced-shipment-tracking-admin.php:463
 
903
  msgid "Order Statuses"
904
  msgstr "Bestellstatus"
905
 
906
- #: includes/class-wc-advanced-shipment-tracking.php:1169
907
- #: includes/class-wc-advanced-shipment-tracking.php:1245
 
908
  #, php-format
909
- msgid "Order was shipped with %s and tracking number is: %s"
 
910
  msgstr ""
911
- "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
 
912
 
913
- #: includes/views/front/layout1_tracking_details.php:49
914
- #: includes/views/front/layout1_tracking_details.php:113
915
- msgid "Origin Details"
916
- msgstr "Origin Details"
917
-
918
- #: includes/class-wc-advanced-shipment-tracking-admin.php:643
919
  msgid "Other"
920
  msgstr "Andere"
921
 
922
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:290
923
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
924
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:938
925
- #: includes/customizer/class-wc-intransit-email-customizer.php:165
926
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:73
927
- msgid "Out For Delivery"
928
- msgstr ""
929
- "Raus zur Lieferung\n"
930
-
931
- #: includes/class-wc-advanced-shipment-tracking.php:482
932
  msgid "Partial Shipped"
933
  msgstr "Teilweise versandt"
934
 
935
- #: includes/class-wc-advanced-shipment-tracking-admin.php:994
936
- #: includes/class-wc-advanced-shipment-tracking-settings.php:159
937
- #: includes/class-wc-advanced-shipment-tracking-settings.php:205
938
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:156
939
  msgid "Partially Shipped"
940
  msgstr ""
941
  "zum Teil versandt\n"
942
 
943
- #: includes/class-wc-advanced-shipment-tracking-settings.php:164
 
944
  #, php-format
945
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
946
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
@@ -949,17 +717,23 @@ msgstr[0] ""
949
  msgstr[1] ""
950
  "Teilweise versandt <span class=\"count\">(%s)</span>\n"
951
 
952
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:959
953
- msgid "Pending"
954
- msgstr "steht aus"
 
 
 
 
955
 
956
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:859
957
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:956
958
- msgid "Pending TrackShip"
959
- msgstr "Ausstehendes TrackShip"
 
 
960
 
961
  #. %s: search WooCommerce plugin link
962
- #: woocommerce-advanced-shipment-tracking.php:173
963
  #, php-format
964
  msgid ""
965
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
@@ -968,168 +742,108 @@ msgstr ""
968
  "Bitte installieren und aktivieren Sie %1$sWooCommerce%2$s für die erweiterte "
969
  "Sendungsverfolgung für WooCommerce!"
970
 
971
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
972
- msgid "Please select a order..."
973
- msgstr ""
974
- "Bitte wählen Sie eine Bestellung aus ...\n"
975
-
976
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:347
977
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:355
978
- #: includes/customizer/class-wc-delivered-email-customizer.php:368
979
- #: includes/customizer/class-wc-delivered-email-customizer.php:376
980
- #: includes/customizer/class-wc-failure-email-customizer.php:348
981
- #: includes/customizer/class-wc-failure-email-customizer.php:356
982
- #: includes/customizer/class-wc-intransit-email-customizer.php:422
983
- #: includes/customizer/class-wc-intransit-email-customizer.php:430
984
- #: includes/customizer/class-wc-onhold-email-customizer.php:344
985
- #: includes/customizer/class-wc-onhold-email-customizer.php:352
986
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:344
987
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
988
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:316
989
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:324
990
- #: includes/customizer/class-wc-returntosender-email-customizer.php:343
991
- #: includes/customizer/class-wc-returntosender-email-customizer.php:351
992
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
993
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:274
994
- #: includes/customizer/class-wc-exception-email-customizer.php:347
995
- #: includes/customizer/class-wc-exception-email-customizer.php:355
996
  msgid "Please select order to preview."
997
  msgstr ""
998
  "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
999
 
1000
- #: includes/class-wc-advanced-shipment-tracking-admin.php:236
1001
  msgid "Please upload a valid CSV file."
1002
  msgstr "Please upload a valid CSV file."
1003
 
1004
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
1005
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:932
1006
- msgid "Pre Transit"
1007
- msgstr ""
1008
- "Pre Transit\n"
1009
-
1010
- #: includes/customizer/class-wc-intransit-email-customizer.php:131
1011
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
1012
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1013
- msgid "Preview order"
1014
- msgstr "Vorschau der Bestellung"
1015
-
1016
- #: includes/class-wc-advanced-shipment-tracking.php:386
1017
  msgid "Preview:"
1018
  msgstr "Vorschau:"
1019
 
1020
- #: includes/class-wc-advanced-shipment-tracking.php:360
1021
- #: includes/class-wc-advanced-shipment-tracking-settings.php:448
1022
  msgid "Product Code:"
1023
  msgstr "Produktcode:"
1024
 
1025
- #: includes/customizer/class-wc-tracking-page-customizer.php:160
1026
- msgid "Progress Bar"
1027
- msgstr "Fortschrittsanzeige"
1028
-
1029
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1030
- #: includes/customizer/class-wc-tracking-info-customizer.php:670
1031
- #: templates/emails/tracking-info.php:198
1032
- #: templates/myaccount/tracking-info.php:180
1033
  msgid "Provider"
1034
  msgstr "Anbieter"
1035
 
1036
- #: includes/views/admin_options_shipping_provider.php:48
1037
- #: templates/emails/tracking-info.php:204
1038
- #: templates/myaccount/tracking-info.php:186
1039
  msgid "Provider Name"
1040
  msgstr "Anbietername"
1041
 
1042
- #: includes/views/admin_options_shipping_provider.php:105
1043
  msgid "Providers Added"
1044
  msgstr "Anbieter hinzugefügt"
1045
 
1046
- #: includes/views/admin_options_shipping_provider.php:107
1047
  msgid "Providers Deleted"
1048
  msgstr "Anbieter gelöscht"
1049
 
1050
- #: includes/views/admin_options_shipping_provider.php:106
1051
  msgid "Providers Updated"
1052
  msgstr "Anbieter aktualisiert"
1053
 
1054
- #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1055
  msgid "Really delete this entry? This will not be undo."
1056
  msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
1057
 
1058
- #: includes/views/admin_options_osm.php:11
1059
  msgid "Rename the “Completed” Order status label to “Shipped”"
1060
  msgstr "Benennen Sie das Statuslabel \"Abgeschlossen\" in \"Versendet\" um."
1061
 
1062
- #: includes/views/admin_options_bulk_upload.php:47
1063
  msgid "Replace tracking information?"
1064
  msgstr "Tracking-Informationen ersetzen?"
1065
 
1066
- #: includes/views/admin_options_shipping_provider.php:89
1067
  msgid "Reset"
1068
  msgstr "Zurücksetzen"
1069
 
1070
- #: includes/views/admin_options_shipping_provider.php:111
1071
  msgid ""
1072
  "Reset providers database, it will reset all your shipping provider database"
1073
  msgstr ""
1074
  "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
1075
  "Datenbank zurück"
1076
 
1077
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:276
1078
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:869
1079
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:944
1080
- #: includes/customizer/class-wc-intransit-email-customizer.php:163
1081
- #: includes/customizer/class-wc-returntosender-email-customizer.php:74
1082
- msgid "Return To Sender"
1083
- msgstr ""
1084
- "Zurück an den Absender\n"
1085
-
1086
- #: includes/views/admin_status_notifications.php:156
1087
- msgid "Save Changes"
1088
- msgstr ""
1089
- "Änderungen speichern\n"
1090
 
1091
- #: includes/class-wc-advanced-shipment-tracking.php:383
1092
  msgid "Save Tracking"
1093
  msgstr "Tracking speichern"
1094
 
1095
- #: includes/views/admin_options_shipping_provider.php:23
1096
  msgid "Search by provider / country"
1097
  msgstr ""
1098
  "Suche nach Anbieter / Land\n"
1099
 
1100
- #: includes/customizer/class-wc-tracking-info-customizer.php:183
1101
- msgid "Select an order to preview and design the tracking info display."
1102
- msgstr ""
1103
- "Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
1104
- "der Tracking-Informationen zu gestalten.\n"
1105
-
1106
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:175
1107
  msgid "Select email type"
1108
  msgstr "E-Mail-Typ auswählen"
1109
 
1110
- #: includes/class-wc-advanced-shipment-tracking.php:322
1111
  msgid "Select Provider"
1112
  msgstr "Wählen Sie Provider aus"
1113
 
1114
- #: includes/customizer/class-wc-intransit-email-customizer.php:157
1115
- msgid "Select shipment status"
1116
- msgstr "Versandstatus auswählen"
1117
-
1118
- #: includes/customizer/class-wc-tracking-info-customizer.php:281
1119
  msgid "Select Template"
1120
  msgstr ""
1121
  "Vorlage auswählen\n"
1122
 
1123
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:591
1124
- msgid "Select tracking page"
1125
- msgstr "Tracking-Seite auswählen"
1126
-
1127
- #: includes/views/admin_options_osm.php:62
1128
  msgid "Send Email"
1129
  msgstr ""
1130
  "E-Mail senden\n"
1131
 
1132
- #: includes/class-wc-advanced-shipment-tracking-admin.php:762
1133
  msgid ""
1134
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1135
  "orders"
@@ -1137,50 +851,41 @@ msgstr ""
1137
  "Setzen Sie die Option \"als versandt markieren\", wenn Sie Tracking-"
1138
  "Informationen zu Bestellungen hinzufügen"
1139
 
1140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
1141
- #: includes/class-wc-advanced-shipment-tracking-admin.php:389
1142
  #: includes/views/admin_options_settings.php:9
1143
  msgid "Settings"
1144
  msgstr "die Einstellungen"
1145
 
1146
- #: includes/views/admin_options_bulk_upload.php:58
1147
  msgid "Settings Saved."
1148
  msgstr "Einstellungen gespeichert."
1149
 
1150
- #: includes/class-wc-advanced-shipment-tracking-front.php:383
1151
- #: includes/views/front/preview_tracking_page.php:40
1152
- msgid "Shipment"
1153
- msgstr "Sendung"
1154
-
1155
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:674
1156
- #: includes/customizer/class-wc-intransit-email-customizer.php:153
1157
- msgid "Shipment Status"
1158
- msgstr ""
1159
- "Versandstatus\n"
1160
-
1161
- #: templates/emails/plain/tracking-info.php:35
1162
  #, php-format
1163
  msgid "Shipment status changed to %s"
1164
  msgstr "Der Sendungsstatus wurde in% s geändert"
1165
 
1166
- #: includes/class-wc-advanced-shipment-tracking-admin.php:248
1167
  #: includes/class-wc-advanced-shipment-tracking.php:138
1168
  #: includes/class-wc-advanced-shipment-tracking.php:219
1169
  msgid "Shipment Tracking"
1170
  msgstr "Sendungsverfolgung"
1171
 
1172
- #: includes/views/admin_options_settings.php:20
1173
  msgid "Shipment Tracking API"
1174
  msgstr "API zur Sendungsverfolgung"
1175
 
1176
- #: includes/class-wc-advanced-shipment-tracking-admin.php:684
1177
- #: includes/class-wc-advanced-shipment-tracking-admin.php:780
1178
- #: includes/class-wc-advanced-shipment-tracking.php:466
1179
- #: includes/class-wc-advanced-shipment-tracking-settings.php:343
1180
  msgid "Shipped"
1181
  msgstr "Versendet"
1182
 
1183
- #: includes/class-wc-advanced-shipment-tracking-settings.php:362
 
1184
  #, php-format
1185
  msgid "Shipped <span class=\"count\">(%s)</span>"
1186
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
@@ -1189,107 +894,86 @@ msgstr[0] ""
1189
  msgstr[1] ""
1190
  "Versand <span class=\"count\">(%s)</span>\n"
1191
 
1192
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1193
- #: includes/customizer/class-wc-tracking-info-customizer.php:717
1194
  msgid "Shipped Date"
1195
  msgstr "Versanddatum"
1196
 
1197
- #: includes/customizer/class-wc-tracking-info-customizer.php:710
1198
  #| msgid "Ship date header text"
1199
  msgid "Shipped date header text"
1200
  msgstr "Versanddatum Kopfzeilentext"
1201
 
1202
  #. 1: shipping date
1203
- #: includes/class-wc-advanced-shipment-tracking.php:253
1204
  #, php-format
1205
  msgid "Shipped on %s"
1206
  msgstr "Versand auf% s"
1207
 
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:152
1209
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1210
  msgstr ""
1211
  "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
1212
 
1213
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1565
1214
  msgid "Shipped Order"
1215
  msgstr "Versandbestellung"
1216
 
1217
- #: includes/customizer/class-trackship-customizer.php:38
1218
- msgid "Shipping and Delivery Emails"
1219
- msgstr "Versand- und Liefer-E-Mails"
1220
-
1221
- #: includes/views/admin_options_shipping_provider.php:65
1222
  msgid "Shipping Country"
1223
  msgstr ""
1224
  "Lieferungsland\n"
1225
 
1226
- #: includes/views/admin_options_shipping_provider.php:49
1227
  msgid "Shipping Provider"
1228
  msgstr "Versandanbieter"
1229
 
1230
- #: includes/customizer/class-wc-tracking-info-customizer.php:663
1231
  msgid "Shipping provider header text"
1232
  msgstr "Kopfzeilentext des Versanddienstleisters"
1233
 
1234
- #: includes/class-wc-advanced-shipment-tracking.php:320
1235
- #: includes/class-wc-advanced-shipment-tracking-settings.php:426
1236
- #: includes/class-wc-advanced-shipment-tracking-settings.php:428
1237
  msgid "Shipping Provider:"
1238
  msgstr "Versandanbieter:"
1239
 
1240
- #: includes/class-wc-advanced-shipment-tracking-admin.php:394
1241
- #: includes/class-wc-advanced-shipment-tracking-admin.php:398
1242
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1708
1243
- #: includes/views/admin_options_shipping_provider.php:21
1244
  msgid "Shipping Providers"
1245
  msgstr "Versandanbieter"
1246
 
1247
- #: includes/views/admin_options_shipping_provider.php:109
 
 
 
 
1248
  msgid "Shipping providers database reset successfully."
1249
  msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
1250
 
1251
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1252
- msgid "Show all Events"
1253
- msgstr "Alle Events anzeigen"
1254
-
1255
- #: includes/customizer/class-wc-tracking-info-customizer.php:410
1256
  msgid "Show bottom border"
1257
  msgstr ""
1258
  "Zeige unteren Rand\n"
1259
 
1260
- #: includes/customizer/class-wc-tracking-page-customizer.php:217
1261
- msgid "Show last event & expand"
1262
- msgstr "Letztes Event anzeigen & erweitern"
1263
-
1264
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
1265
- msgid "Show tracking details"
1266
- msgstr "Tracking-Details anzeigen"
1267
-
1268
- #: includes/customizer/class-wc-tracking-info-customizer.php:317
1269
  msgid "Simple Layout Design"
1270
  msgstr ""
1271
  "Einfaches Layout Design\n"
1272
 
1273
- #: includes/views/admin_status_notifications.php:18
1274
- msgid "SMS Notifications"
1275
- msgstr "SMS-Benachrichtigungen"
1276
-
1277
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:406
1278
  msgid "Special character not allowd in tracking number"
1279
  msgstr ""
1280
  "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
1281
 
1282
- #: includes/views/admin_trackship_dashboard.php:49
1283
- msgid "Subscription: "
1284
- msgstr "Abonnement:"
1285
-
1286
- #: includes/views/admin_options_shipping_provider.php:99
1287
- #: includes/views/admin_options_shipping_provider.php:113
1288
  msgid "Sync Shipping Providers"
1289
  msgstr ""
1290
  "Versandanbieter synchronisieren\n"
1291
 
1292
- #: includes/views/admin_options_shipping_provider.php:103
1293
  msgid ""
1294
  "Syncing the shipping providers list add or updates the pre-set shipping "
1295
  "providers and will not effect custom shipping providers."
@@ -1298,34 +982,34 @@ msgstr ""
1298
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
1299
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
1300
 
1301
- #: includes/customizer/class-wc-tracking-info-customizer.php:812
1302
  msgid "Table Content"
1303
  msgstr ""
1304
  "Tabelleninhalt\n"
1305
 
1306
- #: includes/customizer/class-wc-tracking-info-customizer.php:542
1307
  msgid "Table Design Options"
1308
  msgstr "Tabellendesign-Optionen"
1309
 
1310
- #: includes/customizer/class-wc-tracking-info-customizer.php:627
1311
  #| msgid "Table Headers"
1312
  msgid "Table Header"
1313
  msgstr "Tabellenüberschriften"
1314
 
1315
- #: includes/customizer/class-wc-tracking-info-customizer.php:282
1316
  msgid "Table Layout"
1317
  msgstr ""
1318
  "Tabellenlayout\n"
1319
 
1320
- #: includes/customizer/class-wc-tracking-info-customizer.php:449
1321
  msgid "Table Options"
1322
  msgstr "Tabellenoptionen"
1323
 
1324
- #: includes/customizer/class-wc-tracking-info-customizer.php:603
1325
  msgid "Text align"
1326
  msgstr "Textausrichtung"
1327
 
1328
- #: includes/views/admin_options_shipping_provider.php:52
1329
  msgid ""
1330
  "The custom display name will show in the tracking info section on the "
1331
  "customer order emails, my-account, and TrackShip's tracking page and email "
@@ -1336,220 +1020,116 @@ msgstr ""
1336
  "der Tracking-Seite und den E-Mail-Benachrichtigungen von TrackShip angezeigt "
1337
  "show"
1338
 
1339
- #: includes/class-wc-advanced-shipment-tracking-settings.php:693
1340
  msgid "There are some issue with sync, Please Retry."
1341
  msgstr ""
1342
  "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
1343
  "\n"
1344
 
1345
- #: includes/class-wc-advanced-shipment-tracking-admin.php:235
1346
  msgid "This browser does not support HTML5."
1347
  msgstr "Dieser Browser unterstützt HTML5 nicht."
1348
 
1349
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1350
- #: includes/views/admin_status_notifications.php:121
1351
- msgid ""
1352
- "This order was shipped {shipment_length} days ago, the shipment status is "
1353
- "{shipment_status} and its est. delivery date is {est_delivery_date}."
1354
- msgstr ""
1355
- "Diese Bestellung wurde vor {Versandlänge} Tagen versandt, der Versandstatus "
1356
- "ist {Versandstatus} und das voraussichtliche Lieferdatum ist {Versanddatum}."
1357
-
1358
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:297
1359
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
1360
- #: includes/customizer/class-wc-failure-email-customizer.php:295
1361
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
1362
- #: includes/customizer/class-wc-onhold-email-customizer.php:295
1363
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:294
1364
- #: includes/customizer/class-wc-returntosender-email-customizer.php:295
1365
- #: includes/customizer/class-wc-exception-email-customizer.php:295
1366
- msgid "This will be appended to URL in the email content"
1367
- msgstr ""
1368
- "Dies wird an die URL im E-Mail-Inhalt angehängt\n"
1369
-
1370
- #: templates/tracking/tracking-form.php:11
1371
- msgid ""
1372
- "To track your order please enter your Order ID in the box below and press "
1373
- "the \"Track\" button. This was given to you on your receipt and in the "
1374
- "confirmation email you should have received."
1375
- msgstr ""
1376
- "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
1377
- "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
1378
- "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
1379
- "sollen, mitgeteilt.\n"
1380
-
1381
- #: includes/views/admin_options_tools.php:17
1382
- msgid "Tools"
1383
- msgstr "Werkzeuge"
1384
-
1385
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1376
1386
- msgid "Total Shipments"
1387
- msgstr "Gesamtlieferungen"
1388
-
1389
- #: includes/class-wc-advanced-shipment-tracking.php:758
1390
- #: includes/class-wc-advanced-shipment-tracking.php:791
1391
- #: includes/class-wc-advanced-shipment-tracking.php:809
1392
- #: includes/customizer/class-wc-tracking-info-customizer.php:145
1393
- #: includes/customizer/class-wc-tracking-info-customizer.php:973
1394
- #: templates/emails/tracking-info.php:240
1395
- #: templates/myaccount/tracking-info.php:222
1396
- #: templates/myaccount/tracking-info.php:224
1397
- #: templates/tracking/tracking-form.php:16
1398
  msgid "Track"
1399
  msgstr "Verfolgen"
1400
 
1401
- #: includes/customizer/class-wc-tracking-info-customizer.php:930
1402
  msgid "Track Button"
1403
  msgstr "Track-Taste"
1404
 
1405
- #: includes/customizer/class-wc-tracking-info-customizer.php:947
1406
  msgid "Track Header"
1407
  msgstr "Track-Header"
1408
 
1409
- #: includes/customizer/class-wc-tracking-info-customizer.php:966
1410
  msgid "Track header text"
1411
  msgstr ""
1412
  "Verfolgen Sie den Header-Text\n"
1413
 
1414
- #: includes/class-wc-advanced-shipment-tracking.php:241
1415
- #: includes/class-wc-advanced-shipment-tracking.php:386
1416
  msgid "Track Shipment"
1417
  msgstr ""
1418
  "Sendung verfolgen\n"
1419
 
1420
- #: includes/views/admin_trackship_dashboard.php:50
1421
- #| msgid "Trackers Balance"
1422
- msgid "Trackers Balance: "
1423
- msgstr "Tracker Balance"
1424
-
1425
- #: includes/views/front/layout1_tracking_details.php:10
1426
- #: includes/views/front/layout1_tracking_details.php:87
1427
- msgid "Tracking Details"
1428
- msgstr "Verfolgungsdetails"
1429
-
1430
- #: includes/class-wc-advanced-shipment-tracking-front.php:196
1431
- msgid "Tracking details not found"
1432
- msgstr "Tracking-Details nicht gefunden"
1433
-
1434
- #: includes/class-wc-advanced-shipment-tracking-front.php:421
1435
- msgid "Tracking details not found in TrackShip"
1436
- msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
1437
-
1438
- #: includes/customizer/class-wc-tracking-info-customizer.php:296
1439
- #: includes/customizer/class-wc-tracking-info-customizer.php:299
1440
  msgid "Tracking display layout"
1441
  msgstr "Tracking-Display-Layout"
1442
 
1443
- #: includes/customizer/class-wc-tracking-info-customizer.php:204
1444
  msgid "Tracking Display Position"
1445
  msgstr "Verfolgung der Anzeigeposition"
1446
 
1447
- #: includes/customizer/class-wc-tracking-info-customizer.php:243
1448
  msgid "Tracking Header text"
1449
  msgstr ""
1450
  "Tracking-Header-Text\n"
1451
 
1452
- #: includes/customizer/class-wc-tracking-page-customizer.php:161
1453
- #| msgid "Tracking issues"
1454
- msgid "Tracking Icons"
1455
- msgstr "Verfolgung von Problemen"
1456
-
1457
- #: includes/customizer/class-wcast-customizer.php:28
1458
  msgid "Tracking info display"
1459
  msgstr ""
1460
  "Tracking-Info-Anzeige\n"
1461
 
1462
- #: includes/views/admin_options_tools.php:10
1463
- #: includes/views/admin_trackship_dashboard.php:11
1464
- msgid "Tracking info sent to Trackship for all Orders."
1465
- msgstr "Tracking-Informationen für alle Bestellungen an Trackhip gesendet."
1466
-
1467
- #: includes/class-wc-advanced-shipment-tracking.php:713
1468
  #, php-format
 
 
1469
  msgid ""
1470
- "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1471
  msgstr ""
1472
- "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
1473
- "Tracking-Nummer% s gelöscht"
1474
 
1475
- #: includes/customizer/class-wc-tracking-info-customizer.php:250
1476
  msgid "Tracking Information"
1477
  msgstr "Tracking-Informationen"
1478
 
1479
- #: includes/class-wc-advanced-shipment-tracking-front.php:401
1480
- msgid ""
1481
- "Tracking information is not available, please try again in a few minutes."
1482
- msgstr ""
1483
- "Tracking-Informationen sind nicht verfügbar. Bitte versuchen Sie es in "
1484
- "einigen Minuten erneut."
1485
-
1486
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
1487
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
1488
- #: templates/emails/tracking-info.php:217
1489
- #: templates/myaccount/tracking-info.php:199
1490
  msgid "Tracking Number"
1491
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1492
 
1493
- #: includes/customizer/class-wc-tracking-info-customizer.php:687
1494
  #| msgid "Tracking Number header text"
1495
  msgid "Tracking number header text"
1496
  msgstr "Tracking-Nummer-Header-Text"
1497
 
1498
- #: includes/class-wc-advanced-shipment-tracking.php:316
1499
- #: includes/class-wc-advanced-shipment-tracking-settings.php:422
1500
  msgid "Tracking number:"
1501
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
1502
 
1503
- #: includes/views/admin_trackship_dashboard.php:137
1504
- msgid "Tracking Page"
1505
- msgstr "Tracking-Seite"
1506
-
1507
- #: includes/customizer/class-trackship-customizer.php:31
1508
- msgid "Tracking Page Widget"
1509
- msgstr "Tracking-Seiten-Widget"
1510
-
1511
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:605
1512
- msgid "Tracking Widget Customizer"
1513
- msgstr "Tracking-Widget-Anpasser"
1514
-
1515
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1711
1516
  msgid "TrackShip"
1517
  msgstr "TrackShip"
1518
 
1519
- #: includes/views/admin_trackship_dashboard.php:41
1520
- msgid "TrackShip Account"
1521
- msgstr "TrackShip-Konto"
1522
-
1523
- #: includes/views/admin_trackship_dashboard.php:19
1524
- msgid "TrackShip Connection Status"
1525
- msgstr "TrackShip-Verbindungsstatus"
1526
-
1527
- #: includes/views/admin_trackship_dashboard.php:53
1528
- msgid "TrackShip Dashboard"
1529
- msgstr "TrackShip-Dashboard"
1530
-
1531
- #: includes/views/admin_status_notifications.php:136
1532
- msgid "Trigger Alert"
1533
- msgstr "Alarm auslösen"
1534
-
1535
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:860
1536
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:953
1537
- msgid "Unknown"
1538
- msgstr "Unknown"
1539
-
1540
- #: includes/views/admin_options_shipping_provider.php:88
1541
  msgid "Update"
1542
  msgstr "Aktualisieren"
1543
 
1544
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1011
1545
- #: includes/class-wc-advanced-shipment-tracking-settings.php:145
1546
- #: includes/class-wc-advanced-shipment-tracking-settings.php:191
1547
- #: includes/class-wc-advanced-shipment-tracking-settings.php:324
1548
  msgid "Updated Tracking"
1549
  msgstr ""
1550
  "Aktualisiertes Tracking\n"
1551
 
1552
- #: includes/class-wc-advanced-shipment-tracking-settings.php:150
 
1553
  #, php-format
1554
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1555
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
@@ -1558,19 +1138,15 @@ msgstr[0] ""
1558
  msgstr[1] ""
1559
  "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
1560
 
1561
- #: includes/views/admin_options_shipping_provider.php:76
1562
- msgid "Upload"
1563
- msgstr "Hochladen"
1564
-
1565
- #: includes/views/admin_options_bulk_upload.php:25
1566
  msgid "Upload a CSV file from your computer:"
1567
  msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
1568
 
1569
- #: includes/views/admin_options_bulk_upload.php:108
1570
  msgid "Upload again"
1571
  msgstr "Erneut hochladen"
1572
 
1573
- #: includes/views/admin_options_bulk_upload.php:11
1574
  msgid ""
1575
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1576
  "file"
@@ -1578,49 +1154,25 @@ msgstr ""
1578
  "Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
1579
  "Bestellungen aus einer CSV-Datei zu importieren"
1580
 
1581
- #: includes/customizer/class-wc-tracking-info-customizer.php:523
1582
  msgid "Use tracking number as a link"
1583
  msgstr ""
1584
  "Verwenden Sie die Tracking-Nummer als Link\n"
1585
 
1586
- #: includes/class-wc-advanced-shipment-tracking-settings.php:710
1587
- #: includes/class-wc-advanced-shipment-tracking-settings.php:727
1588
- #: includes/class-wc-advanced-shipment-tracking-settings.php:744
1589
- #: includes/views/admin_options_bulk_upload.php:86
1590
  msgid "view details"
1591
  msgstr ""
1592
  "Details anzeigen\n"
1593
 
1594
- #: includes/views/front/layout1_tracking_details.php:80
1595
- #: includes/views/front/preview_tracking_page.php:130
1596
- msgid "view less"
1597
- msgstr "weniger anzeigen"
1598
-
1599
- #: includes/views/front/layout1_tracking_details.php:79
1600
- #: includes/views/front/preview_tracking_page.php:129
1601
- msgid "view more"
1602
- msgstr "mehr sehen"
1603
-
1604
- #: includes/views/admin_options_bulk_upload.php:107
1605
  msgid "View Orders"
1606
  msgstr "Bestellungen anzeigen"
1607
 
1608
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1397
1609
- msgid "View Tracking Analytics"
1610
- msgstr "Tracking-Analyse anzeigen View"
1611
-
1612
- #. %s: replace with delivered order count
1613
- #: woocommerce-advanced-shipment-tracking.php:516
1614
- #, php-format
1615
- msgid ""
1616
- "We detected %s orders that use the Delivered order status, You can reassign "
1617
- "these orders to a different status"
1618
- msgstr ""
1619
- "Wir haben% s Bestellungen erkannt, die den Status \"Gelieferte Bestellung\" "
1620
- "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1621
-
1622
  #. %s: replace with Partially Shipped order count
1623
- #: woocommerce-advanced-shipment-tracking.php:532
1624
  #, php-format
1625
  msgid ""
1626
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1629,56 +1181,23 @@ msgstr ""
1629
  "Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
1630
  "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1631
 
1632
- #: includes/views/admin_trackship_dashboard.php:7
1633
- #, php-format
1634
- msgid ""
1635
- "We detected %s Shipped orders from the last 30 days that were not sent to "
1636
- "TrackShip, you can bulk send them to TrackShip"
1637
- msgstr ""
1638
- "Wir haben %s versendete Bestellungen der letzten 30 Tage erkannt, die nicht "
1639
- "an TrackShip gesendet wurden"
1640
-
1641
- #: includes/views/admin_options_shipping_provider.php:53
1642
  msgid "White Label Provider Name"
1643
  msgstr "Name des White-Label-Anbieters"
1644
 
1645
- #: includes/customizer/class-wc-tracking-page-customizer.php:192
1646
- msgid "Widget background color"
1647
- msgstr "Hintergrundfarbe des Widgets"
1648
-
1649
- #: includes/customizer/class-wc-tracking-page-customizer.php:176
1650
- msgid "Widget border color"
1651
- msgstr "Widget-Rahmenfarbe"
1652
-
1653
- #: includes/customizer/class-wc-tracking-page-customizer.php:153
1654
- #: includes/customizer/class-wc-tracking-page-customizer.php:156
1655
- msgid "Widget Tracker Type"
1656
- msgstr "Widget-Tracker-Typ"
1657
-
1658
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:971
1659
- msgid "Wrong Shipping Provider"
1660
- msgstr "Falscher Versandanbieter"
1661
-
1662
- #: includes/class-wc-advanced-shipment-tracking.php:369
1663
- #: includes/class-wc-advanced-shipment-tracking.php:372
1664
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1665
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1666
  msgid "Y-m-d"
1667
  msgstr "Y-m-d"
1668
 
1669
- #: includes/views/admin_options_tools.php:18
1670
- msgid ""
1671
- "You can send all your orders from the last 30 days to get shipment status "
1672
- "from TrackShip:"
1673
- msgstr ""
1674
- "Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
1675
- "Sendungsstatus von TrackShip zu erhalten:\n"
1676
-
1677
- #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1678
  msgid "You can upload only csv file."
1679
  msgstr "Sie können nur CSV-Dateien hochladen."
1680
 
1681
- #: includes/views/admin_options_shipping_provider.php:83
 
1682
  msgid ""
1683
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1684
  "URL, for more info, check our "
@@ -1686,93 +1205,28 @@ msgstr ""
1686
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1687
  "URL, for more info, check our "
1688
 
1689
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1830
 
1690
  #, php-format
1691
  msgid "You did not create any %s shipping providers yet."
1692
  msgstr "Sie haben noch keine% s Versandanbieter erstellt."
1693
 
1694
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1836
 
1695
  #, php-format
1696
  msgid "You don't have any %s shipping providers."
1697
  msgstr "Sie haben keine% s Versandanbieter."
1698
 
1699
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1112
1700
- #, php-format
1701
- msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1702
- msgstr ""
1703
- "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-"
1704
- "Verbindungsproblem\" erhalten."
1705
-
1706
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1103
1707
- #, php-format
1708
- msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1709
- msgstr ""
1710
- "Sie haben% s% s Bestellungen mit dem Sendungsstatus \"TrackShip-Guthaben ist "
1711
- "0\" erhalten."
1712
-
1713
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1094
1714
- #, php-format
1715
- msgid ""
1716
- "You got %s %s orders with tracking info that were not sent to track on "
1717
- "TrackShip"
1718
- msgstr ""
1719
- "Sie haben% s% s Bestellungen mit Tracking-Informationen erhalten, die nicht "
1720
- "an TrackShip gesendet wurden"
1721
-
1722
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:578
1723
- msgid ""
1724
- "You must add the shortcode [wcast-track-order] to the selected page in order "
1725
- "for the tracking page to work."
1726
- msgstr ""
1727
- "Sie müssen der ausgewählten Seite den Shortcode [wcast-track-order] "
1728
- "hinzufügen, damit die Tracking-Seite funktioniert."
1729
-
1730
- #: includes/customizer/class-wc-delivered-email-customizer.php:73
1731
- msgid "Your order #{order_number} has been delivered"
1732
- msgstr ""
1733
- "Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
1734
-
1735
- #: includes/customizer/class-wc-returntosender-email-customizer.php:73
1736
- msgid "Your order #{order_number} has returned to sender"
1737
- msgstr ""
1738
- "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1739
-
1740
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:73
1741
- msgid "Your order #{order_number} is available for pickup"
1742
- msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
1743
-
1744
- #: includes/customizer/class-wc-exception-email-customizer.php:72
1745
- msgid "Your order #{order_number} is Exception"
1746
- msgstr "Ihre Bestellung #{order_number} ist eine Ausnahme"
1747
-
1748
- #: includes/customizer/class-wc-failure-email-customizer.php:72
1749
- msgid "Your order #{order_number} is Failed Attempt"
1750
- msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1751
-
1752
- #: includes/customizer/class-wc-intransit-email-customizer.php:98
1753
- msgid "Your order #{order_number} is in transit"
1754
- msgstr ""
1755
- "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1756
-
1757
- #: includes/customizer/class-wc-onhold-email-customizer.php:72
1758
- msgid "Your order #{order_number} is on hold"
1759
- msgstr "Ihre Bestellnummer {Bestellnummer} wird gehalten"
1760
-
1761
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:72
1762
- msgid "Your order #{order_number} is out for delivery"
1763
- msgstr ""
1764
- "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1765
-
1766
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
1767
  msgid "Your Order is Partially Shipped"
1768
  msgstr "Ihre Bestellung wird teilweise versendet"
1769
 
1770
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1771
  msgid "Your {site_title} order is now partially shipped"
1772
  msgstr ""
1773
  "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1774
 
1775
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:114
1776
  msgid "Your {site_title} order is now updated tracking"
1777
  msgstr ""
1778
  "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
+ #. %s: search WooCommerce plugin link
18
+ #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "Dokumentation"
22
 
23
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
24
  msgid "Actions"
25
  msgstr "Aktionen"
26
 
27
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
+ msgid "Add API Name alias"
29
+ msgstr "API-Namensalias hinzufügen"
30
 
31
+ #: includes/views/admin_options_shipping_provider.php:65
32
  msgid ""
33
  "Add API name aliases to map Shipping providers names with the provider names "
34
  "that are updated in the shipment tracking API by external shipping services"
37
  "Anbieternamen zuzuordnen, die in der Sendungsverfolgungs-API von externen "
38
  "Versanddiensten aktualisiert werden"
39
 
40
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
42
  msgid "Add Custom Provider"
43
  msgstr "Benutzerdefinierten Anbieter hinzufügen"
44
 
55
  "in den Kundenkonten (im Bestellfenster) und in der E-Mail zum Abschluss der "
56
  "WooCommerce-Bestellung angezeigt."
57
 
58
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
  msgid "add the [wcast-track-order] shortcode in the selected page."
60
  msgstr ""
61
  "fügen Sie den Shortcode [wcast-track-order] auf der ausgewählten Seite hinzu."
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
64
  msgid "Add Tracking"
65
  msgstr "Add Tracking"
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:339
68
  msgid "Add Tracking - order\t"
69
  msgstr "Tracking hinzufügen - Bestellung"
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking.php:517
72
  msgid "Add Tracking Info"
73
  msgstr "Tracking-Info hinzufügen"
74
 
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:605
76
+ msgid ""
77
+ "Add Tracking Information in AST meta fields when you automatically sync "
78
+ "tracking numbers from aliexpress orders"
79
+ msgstr ""
80
+ "Fügen Sie Tracking-Informationen in AST-Metafeldern hinzu, wenn Sie Tracking-"
81
+ "Nummern von aliexpress-Bestellungen automatisch synchronisieren"
82
+
83
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
+ msgid ""
85
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
+ "& Packing Slips plugin By Ewout Fernhout"
87
+ msgstr ""
88
+ "Fügen Sie Tracking-Informationen in Rechnungs-PDFs hinzu, die von "
89
+ "WooCommerce PDF-Plugins für Rechnungen und Lieferscheine generiert werden "
90
+ "Von Ewout Fernhout"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:625
93
+ msgid ""
94
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
95
+ "plugin By Bas Elbers"
96
+ msgstr ""
97
+ "Fügen Sie Tracking-Informationen in Rechnungs-PDF hinzu, das vom WooCommerce "
98
+ "PDF-Rechnungs-Plugin generiert wird Von Bas Elbers"
99
+
100
+ #: includes/views/admin_options_settings.php:16
101
  msgid "Add Tracking Options"
102
  msgstr "Tracking-Optionen hinzufügen"
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
105
  msgid "Add Tracking Order action"
106
  msgstr "Aktion Tracking-Bestellung hinzufügen"
107
 
108
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:585
109
+ msgid ""
110
+ "Adding tracking information to your orders shipped with 3plwinner and "
111
+ "automate your workflow"
112
+ msgstr ""
113
+ "Hinzufügen von Tracking-Informationen zu Ihren mit 3plwinner versandten "
114
+ "Bestellungen und Automatisierung Ihres Workflows"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
117
+ msgid ""
118
+ "Adding tracking information to your orders shipped with CustomCat and "
119
+ "automate your workflow"
120
+ msgstr ""
121
+ "Hinzufügen von Tracking-Informationen zu Ihren mit CustomCat versandten "
122
+ "Bestellungen und Automatisierung Ihres Workflows"
123
+
124
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:555
125
+ msgid ""
126
+ "Adding tracking information to your orders shipped with Dear Systems and "
127
+ "automate your workflow"
128
+ msgstr ""
129
+ "Hinzufügen von Tracking-Informationen zu Ihren mit Dear Systems versandten "
130
+ "Bestellungen und Automatisierung Ihres Workflows"
131
+
132
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:595
133
+ msgid ""
134
+ "Adding tracking information to your orders shipped with Dianxiaomi and "
135
+ "automate your workflow"
136
+ msgstr ""
137
+ "Hinzufügen von Tracking-Informationen zu Ihren mit Dianxiaomi versandten "
138
+ "Bestellungen und Automatisierung Ihres Workflows"
139
+
140
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:575
141
+ msgid ""
142
+ "Adding tracking information to your orders shipped with Picqer and automate "
143
+ "your workflow"
144
+ msgstr ""
145
+ "Hinzufügen von Tracking-Informationen zu Ihren mit Picqer versandten "
146
+ "Bestellungen und Automatisierung Ihres Workflows"
147
+
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:565
149
+ msgid ""
150
+ "Adding tracking information to your orders shipped with Printify and "
151
+ "automate your workflow"
152
+ msgstr ""
153
+ "Hinzufügen von Tracking-Informationen zu Ihren mit Printify versandten "
154
+ "Bestellungen und Automatisierung Ihres Workflows"
155
+
156
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:515
157
+ msgid ""
158
+ "Adding tracking information to your orders shipped with QuickBooks Commerce "
159
+ "and automate your workflow"
160
+ msgstr ""
161
+ "Hinzufügen von Tracking-Informationen zu Ihren mit QuickBooks Commerce "
162
+ "versandten Bestellungen und Automatisierung Ihres Workflows"
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
+ msgid ""
166
+ "Adding tracking information to your orders shipped with ReadyToShip and "
167
+ "automate your workflow"
168
+ msgstr ""
169
+ "Hinzufügen von Tracking-Informationen zu Ihren mit ReadyToShip versandten "
170
+ "Bestellungen und Automatisierung Ihres Workflows"
171
+
172
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
+ msgid ""
174
+ "Adding tracking information to your orders shipped with Royal Mail Click & "
175
+ "Drop and automate your workflow"
176
+ msgstr ""
177
+ "Hinzufügen von Tracking-Informationen zu Ihren mit Royal Mail Click & Drop "
178
+ "versandten Bestellungen und Automatisierung Ihres Workflows"
179
+
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:475
181
+ msgid ""
182
+ "Adding tracking information to your orders shipped with ShipStation and "
183
+ "automate your workflow"
184
+ msgstr ""
185
+ "Hinzufügen von Tracking-Informationen zu Ihren mit ShipStation versandten "
186
+ "Bestellungen und Automatisierung Ihres Workflows"
187
+
188
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:485
189
+ msgid ""
190
+ "Adding tracking information to your orders shipped with WooCommerce Shipping "
191
+ "to the Shipment Tracking and automate your workflow"
192
+ msgstr ""
193
+ "Hinzufügen von Tracking-Informationen zu Ihren mit WooCommerce Shipping "
194
+ "versendeten Bestellungen zur Sendungsverfolgung und Automatisierung Ihres "
195
+ "Workflows"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:505
198
+ msgid ""
199
+ "Adding tracking information to your orders when generating shipping labels "
200
+ "using the Ordoro"
201
+ msgstr ""
202
+ "Hinzufügen von Tracking-Informationen zu Ihren Bestellungen beim Erstellen "
203
+ "von Versandetiketten mit dem Ordoro"
204
+
205
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:495
206
+ msgid ""
207
+ "Adding tracking information to your orders when generating shipping labels "
208
+ "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
209
+ "PluginHive"
210
+ msgstr ""
211
+ "Hinzufügen von Tracking-Informationen zu Ihren Bestellungen beim Erstellen "
212
+ "von Versandetiketten mit dem WooCommerce UPS Shipping Plugin mit Print Label "
213
+ "Plugin von PluginHive"
214
+
215
+ #: includes/customizer/class-wc-tracking-info-customizer.php:245
216
  msgid "Additional text after header"
217
  msgstr "Zusätzlicher Text nach Kopfzeile"
218
 
 
 
 
 
219
  #. Name of the plugin
220
  msgid "Advanced Shipment Tracking for WooCommerce"
221
  msgstr "Erweiterte Sendungsverfolgung für WooCommerce"
222
 
223
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
224
  msgid "After Order Details"
225
  msgstr "Nach Auftragsdetails"
226
 
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
228
  msgid "API aliases"
229
  msgstr "API-Aliasse"
230
 
231
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
232
+ msgid "API Date Format"
233
+ msgstr "API-Datumsformat"
234
+
235
+ #: includes/views/admin_options_shipping_provider.php:67
236
  msgid "API Name"
237
  msgstr "API-Name"
238
 
239
+ #: includes/customizer/class-wc-tracking-info-customizer.php:333
240
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
241
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
242
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
243
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
244
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
245
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
246
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
247
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
248
  msgid "Available variables:"
249
  msgstr "Verfügbare Variablen:"
250
 
251
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
 
 
 
 
252
  msgid "Before Order Details"
253
  msgstr "Vor der Bestellung Details"
254
 
255
+ #: includes/customizer/class-wc-tracking-info-customizer.php:537
256
  msgid "Border color"
257
  msgstr "Randfarbe"
258
 
259
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
260
  msgid "Border size"
261
  msgstr ""
262
  "Rahmengrösse\n"
263
 
264
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
265
  msgid "Bottom border color"
266
  msgstr ""
267
  "Farbe des unteren Randes\n"
268
 
269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:968
270
  msgid "Button color"
271
  msgstr "Knopffarbe"
272
 
273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:986
274
  msgid "Button font color"
275
  msgstr "Schriftfarbe der Schaltfläche"
276
 
277
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
278
  msgid "Cannot create existing order shipment tracking."
279
  msgstr ""
280
  "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
281
 
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
283
  msgid "Change order status to"
284
  msgstr "Ändern Sie den Auftragsstatus in"
285
 
286
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:299
287
  msgid "Change status to shipped"
288
  msgstr ""
289
  "Ändern Sie den Status in \"Versand\"\n"
290
 
291
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
292
  msgid "Choose for which Order status to display"
293
  msgstr "Wählen Sie aus, welcher Bestellstatus angezeigt werden soll"
294
 
295
+ #: includes/views/admin_options_bulk_upload.php:32
296
  msgid "Choose the Shipped Date format"
297
  msgstr "Wählen Sie das Versanddatum-Format"
298
 
299
+ #: includes/class-wc-advanced-shipment-tracking.php:467
300
  msgid "Completed"
301
  msgstr "vollendet, fertiggestellt"
302
 
303
+ #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
304
  msgid "Content"
305
  msgstr "Inhalt"
306
 
307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:807
308
  msgid "Content Background color"
309
  msgstr "Inhalt Hintergrundfarbe"
310
 
311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:370
312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:825
313
  msgid "Content font color"
314
  msgstr ""
315
  "Schriftfarbe des Inhalts\n"
316
 
317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr ""
321
  "Schriftgröße des Inhalts\n"
322
 
323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:885
324
  msgid "Content font weight"
325
  msgstr ""
326
  "Schriftgröße des Inhalts\n"
327
 
328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:862
329
  msgid "Content line height"
330
  msgstr "Höhe der Inhaltszeile"
331
 
332
+ #: includes/views/admin_options_bulk_upload.php:55
333
  msgid "Continue"
334
  msgstr "Fortsetzen"
335
 
336
+ #: includes/views/admin_options_shipping_provider.php:72
337
  msgid "Country"
338
  msgstr "Land"
339
 
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:381
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:385
342
+ #: includes/views/admin_options_bulk_upload.php:8
343
  msgid "CSV Import"
344
  msgstr "CSV-Import"
345
 
346
+ #: includes/views/admin_options_shipping_provider.php:65
347
  msgid "Custom API name"
348
  msgstr "Benutzerdefinierter API-Name"
349
 
350
+ #: includes/views/admin_options_shipping_provider.php:61
351
  msgid "Custom display name"
352
  msgstr "Benutzerdefinierter Anzeigename"
353
 
354
+ #: includes/customizer/class-wcast-customizer.php:44
355
  msgid "Custom order status email"
356
  msgstr "E-Mail zum benutzerdefinierten Bestellstatus"
357
 
358
+ #: includes/views/admin_options_shipping_provider.php:82
 
 
 
 
359
  msgid "Custom URL"
360
  msgstr "eigene URL"
361
 
362
+ #: includes/views/admin_options_settings.php:32
363
  msgid "Customer View"
364
  msgstr "Kundenansicht"
365
 
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:712
367
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:832
 
 
 
 
368
  msgid "Customize"
369
  msgstr "Anpassen"
370
 
371
+ #: includes/views/admin_options_osm.php:66
 
 
 
 
 
372
  msgid "Dark Font"
373
  msgstr ""
374
  "Dunkle Schrift\n"
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
377
  msgid "Data saved successfully."
378
  msgstr "Daten erfolgreich gespeichert."
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking.php:369
381
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:377
382
  msgid "Date shipped:"
383
  msgstr "Lieferdatum:"
384
 
385
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
 
 
 
 
386
  #| msgid "Default"
387
  msgid "default"
388
  msgstr "Standard"
389
 
390
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
391
  msgid "Delivered"
392
  msgstr "Geliefert"
393
 
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid "Display Name"
396
  msgstr "Anzeigename"
397
 
398
+ #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
399
  msgid "Display shipping provider image"
400
  msgstr ""
401
  "Bild des Versandanbieters anzeigen\n"
402
 
403
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
404
  msgid "Display shipping provider name"
405
  msgstr ""
406
  "Name des Versandanbieters anzeigen\n"
407
 
408
+ #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  msgid "Download sample csv"
410
  msgstr "Beispiel-CSV herunterladen"
411
 
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
413
+ msgid "edit"
414
+ msgstr "bearbeiten"
415
+
416
+ #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
417
  msgid "Edit Shipping Provider"
418
  msgstr "Versandanbieter bearbeiten"
419
 
420
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
421
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
422
  msgid "Email content"
423
  msgstr "E-Mail-Inhalt"
424
 
425
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
426
  msgid "Email Type"
427
  msgstr "E-Mail-Typ"
428
 
429
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
430
+ msgid "Enable Partially Shipped order status email"
431
+ msgstr ""
432
+ "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
433
+
434
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:584
435
+ msgid "Enable the 3plwinner integration"
436
+ msgstr "Aktivieren Sie die 3plwinner-Integration"
437
 
438
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:604
439
+ msgid "Enable the AliExpress Dropshipping integration"
440
+ msgstr "Aktivieren Sie die AliExpress Dropshipping-Integration"
441
 
442
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:544
443
+ msgid "Enable the CustomCat integration"
444
+ msgstr "Aktivieren Sie die CustomCat-Integration"
445
 
446
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:554
447
+ msgid "Enable the Dear Systems integration"
448
+ msgstr "Aktivieren Sie die Dear Systems-Integration"
449
 
450
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:594
451
+ msgid "Enable the Dianxiaomi integration"
452
+ msgstr "Aktivieren Sie die Dianxiaomi-Integration"
453
 
454
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:504
455
+ msgid "Enable the Ordoro tracking integration"
456
+ msgstr "Aktivieren Sie die Ordoro-Tracking-Integration"
457
 
458
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:574
459
+ msgid "Enable the Picqer integration"
460
+ msgstr "Aktivieren Sie die Picqer-Integration"
461
 
462
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:564
463
+ msgid "Enable the Printify integration"
464
+ msgstr "Aktivieren Sie die Printify-Integration"
465
 
466
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:514
467
+ msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
468
  msgstr ""
469
+ "Aktivieren Sie die QuickBooks Commerce (ehemals TradeGecko)-Integrationen"
470
+
471
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
472
+ msgid "Enable the ReadyToShip integration"
473
+ msgstr "Aktivieren Sie die ReadyToShip-Integration"
474
+
475
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:534
476
+ msgid "Enable the Royal Mail Click & Drop integration"
477
+ msgstr "Aktivieren Sie die Royal Mail Click & Drop-Integration"
478
+
479
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:474
480
+ msgid "Enable the ShipStation integration"
481
+ msgstr "Aktivieren Sie die ShipStation-Integration"
482
 
483
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:484
484
+ msgid "Enable the WC Shipping integration"
485
+ msgstr "Aktivieren Sie die WC Shipping-Integration"
486
 
487
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:494
488
+ msgid ""
489
+ "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
490
+ "integration"
491
+ msgstr ""
492
+ "Aktivieren Sie das WooCommerce UPS Versand-Plugin mit der Integration des "
493
+ "Print Label-Plugins"
494
+
495
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
496
  msgid "Enable Track button in orders history (actions)"
497
  msgstr "Schaltfläche \"Verfolgen\" im Bestellverlauf aktivieren (Aktionen)"
498
 
499
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
 
 
 
 
500
  msgid "Enable Updated Tracking order status email"
501
  msgstr ""
502
  "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
503
  "Sendungsverfolgung\n"
504
 
505
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
506
  msgid "Filter by shipping provider"
507
  msgstr "Nach Versandanbieter filtern"
508
 
509
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:388
 
 
 
 
 
 
510
  msgid "Fulfill Order"
511
  msgstr "Bestellung ausführen"
512
 
513
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:425
514
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:429
 
515
  msgid "General Settings"
516
  msgstr "Allgemeine Einstellungen"
517
 
518
+ #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
 
519
  msgid "Global"
520
  msgstr "Global"
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
523
  msgid "Go Pro"
524
  msgstr "Go Pro"
525
 
526
+ #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
 
 
 
 
 
527
  msgid "Headers background color"
528
  msgstr "Hintergrundfarbe der Kopfzeilen"
529
 
530
+ #: includes/customizer/class-wc-tracking-info-customizer.php:749
531
  msgid "Headers font color"
532
  msgstr ""
533
  "Schriftfarbe der Überschriften\n"
534
 
535
+ #: includes/customizer/class-wc-tracking-info-customizer.php:712
536
  msgid "Headers font size"
537
  msgstr ""
538
  "Schriftgröße der Überschriften\n"
539
 
540
+ #: includes/customizer/class-wc-tracking-info-customizer.php:767
541
  msgid "Headers font weight"
542
  msgstr "Schriftstärke der Kopfzeilen"
543
 
544
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  msgid ""
546
  "Hi there. we thought you'd like to know that the shipment tracking for your "
547
  "recent order from {site_title} has been updated."
549
  "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
550
  "letzte Bestellung von {site_title} aktualisiert wurde.\n"
551
 
552
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
553
  msgid ""
554
  "Hi there. we thought you'd like to know that your recent order from "
555
  "{site_title} has been partially shipped."
557
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
558
  "{site_title} teilweise versendet wurde.\n"
559
 
560
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:645
561
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:662
562
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
563
  msgid "hide details"
564
  msgstr ""
565
  "Details ausblenden\n"
566
 
567
+ #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
 
 
 
 
 
568
  msgid "Hide Table Headers"
569
  msgstr ""
570
  "Tabellenüberschriften ausblenden\n"
571
 
572
+ #: includes/customizer/class-wc-tracking-info-customizer.php:482
573
  #| msgid "Hide the ship date"
574
  msgid "Hide the shipped date"
575
  msgstr "Verstecken Sie das Versanddatum"
576
 
577
+ #: includes/customizer/class-wc-tracking-info-customizer.php:203
 
 
 
 
 
 
 
 
578
  msgid "Hide Tracking Header"
579
  msgstr "Tracking-Header ausblenden"
580
 
581
+ #: includes/views/admin_options_bulk_upload.php:118
582
  msgid "How to import tracking number from CSV files?"
583
  msgstr "Wie importiere ich Tracking-Nummern aus CSV-Dateien?"
584
 
590
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
591
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
592
 
593
+ #: includes/views/admin_options_bulk_upload.php:74
594
  msgid "Import in Progress"
595
  msgstr "Import in Bearbeitung"
596
 
597
+ #: includes/views/admin_options_trackship_integration.php:18
 
 
 
 
 
 
 
 
598
  msgid "Install TrackShip for WooCommerce"
599
  msgstr "TrackShip für WooCommerce installieren"
600
 
601
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:390
602
+ #: includes/views/integrations_admin_options.php:3
603
+ msgid "Integrations"
604
+ msgstr "Integrationen"
605
+
606
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
607
  msgid "Invalid order ID."
608
  msgstr ""
609
  "Ungültige Bestellnummer.\n"
610
 
611
+ #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
612
  msgid ""
613
  "Keep unchecked for the tracking info to be added to any existing tracking "
614
  "info added to the orders."
617
  "Informationen zu den vorhandenen Tracking-Informationen hinzugefügt werden, "
618
  "die den Bestellungen hinzugefügt wurden."
619
 
620
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
621
  msgid "License"
622
  msgstr "Lizenz"
623
 
624
+ #: includes/views/admin_options_osm.php:65
 
625
  msgid "Light Font"
626
  msgstr ""
627
  "Leichte Schrift\n"
628
 
629
+ #: includes/class-wc-advanced-shipment-tracking.php:300
 
 
 
 
630
  msgid "Mark as Completed?"
631
  msgstr "Als erledigt markieren?"
632
 
633
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
634
  msgid "Mark as Shipped"
635
  msgstr "Als versandt markieren"
636
 
637
+ #: includes/class-wc-advanced-shipment-tracking.php:297
638
  msgid "Mark as Shipped?"
639
  msgstr "Als versandt markieren?"
640
 
641
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
642
  msgid "Mark order as delivered"
643
  msgstr "Bestellung als geliefert markieren"
644
 
645
+ #: includes/class-wc-advanced-shipment-tracking.php:492
646
  msgid "Mark order as:"
647
  msgstr "Bestellung markieren als:"
648
 
649
+ #: includes/customizer/class-wcast-customizer.php:359
 
650
  msgid "Mockup Order"
651
  msgstr "Mockup-Bestellung"
652
 
653
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:816
654
+ #: includes/views/integrations_admin_options.php:20
655
  msgid "more info"
656
  msgstr ""
657
  "Mehr Info\n"
658
 
659
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
660
  msgid "Multiple API names mapping is a pro features"
661
  msgstr "Die Zuordnung mehrerer API-Namen ist ein Profi-Feature"
662
 
663
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
 
 
 
 
 
 
 
664
  msgid "Open the Track Button link in a new tab"
665
  msgstr "Öffne den Link zum Track Button in einem neuen Tab"
666
 
667
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
 
 
 
 
 
668
  msgid "Order Emails Display"
669
  msgstr "Bestell-E-Mail-Anzeige"
670
 
 
 
 
 
 
671
  #. %s: Order ID.
672
+ #: templates/emails/wcast-email-order-details.php:55
673
  #, php-format
674
  msgid "Order number: %s"
675
  msgstr ""
676
  "Bestellnummer:% s\n"
677
 
678
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:434
679
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:438
680
+ #: includes/views/admin_options_settings.php:64
681
  msgid "Order Statuses"
682
  msgstr "Bestellstatus"
683
 
684
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
685
+ #: includes/class-wc-advanced-shipment-tracking.php:1193
686
+ #: includes/class-wc-advanced-shipment-tracking.php:1269
687
  #, php-format
688
+ #| msgid "Order was shipped with %s and tracking number is: %s"
689
+ msgid "Order was shipped with %1$s and tracking number is: %2$s"
690
  msgstr ""
691
+ "Die Bestellung wurde mit %1$s versendet und die Sendungsverfolgungsnummer "
692
+ "lautet: %2$s"
693
 
694
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:808
 
 
 
 
 
695
  msgid "Other"
696
  msgstr "Andere"
697
 
698
+ #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
699
  msgid "Partial Shipped"
700
  msgstr "Teilweise versandt"
701
 
702
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
703
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
705
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
706
  msgid "Partially Shipped"
707
  msgstr ""
708
  "zum Teil versandt\n"
709
 
710
+ #. %s: replace with Partially Shipped Count
711
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:135
712
  #, php-format
713
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
714
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
717
  msgstr[1] ""
718
  "Teilweise versandt <span class=\"count\">(%s)</span>\n"
719
 
720
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:614
721
+ msgid ""
722
+ "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
723
+ "By Ewout Fernhout"
724
+ msgstr ""
725
+ "Integration von PDF-Rechnungen für das WooCommerce-Plugin für PDF-Rechnungen "
726
+ "und Lieferscheine Von Ewout Fernhout"
727
 
728
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:624
729
+ msgid ""
730
+ "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
731
+ msgstr ""
732
+ "Integration von PDF-Rechnungen für WooCommerce PDF-Rechnungs-Plugin Von Bas "
733
+ "Elbers"
734
 
735
  #. %s: search WooCommerce plugin link
736
+ #: woocommerce-advanced-shipment-tracking.php:181
737
  #, php-format
738
  msgid ""
739
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
742
  "Bitte installieren und aktivieren Sie %1$sWooCommerce%2$s für die erweiterte "
743
  "Sendungsverfolgung für WooCommerce!"
744
 
745
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
746
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  msgid "Please select order to preview."
748
  msgstr ""
749
  "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
750
 
751
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:177
752
  msgid "Please upload a valid CSV file."
753
  msgstr "Please upload a valid CSV file."
754
 
755
+ #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
756
  msgid "Preview:"
757
  msgstr "Vorschau:"
758
 
759
+ #: includes/class-wc-advanced-shipment-tracking.php:361
760
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:373
761
  msgid "Product Code:"
762
  msgstr "Produktcode:"
763
 
764
+ #: includes/customizer/class-wc-tracking-info-customizer.php:141
765
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
766
+ #: templates/emails/tracking-info.php:216
767
+ #: templates/myaccount/tracking-info.php:192
 
 
 
 
768
  msgid "Provider"
769
  msgstr "Anbieter"
770
 
771
+ #: includes/views/admin_options_shipping_provider.php:57
772
+ #: templates/emails/tracking-info.php:222
773
+ #: templates/myaccount/tracking-info.php:198
774
  msgid "Provider Name"
775
  msgstr "Anbietername"
776
 
777
+ #: includes/views/admin_options_shipping_provider.php:116
778
  msgid "Providers Added"
779
  msgstr "Anbieter hinzugefügt"
780
 
781
+ #: includes/views/admin_options_shipping_provider.php:118
782
  msgid "Providers Deleted"
783
  msgstr "Anbieter gelöscht"
784
 
785
+ #: includes/views/admin_options_shipping_provider.php:117
786
  msgid "Providers Updated"
787
  msgstr "Anbieter aktualisiert"
788
 
789
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:174
790
  msgid "Really delete this entry? This will not be undo."
791
  msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
792
 
793
+ #: includes/views/admin_options_osm.php:14
794
  msgid "Rename the “Completed” Order status label to “Shipped”"
795
  msgstr "Benennen Sie das Statuslabel \"Abgeschlossen\" in \"Versendet\" um."
796
 
797
+ #: includes/views/admin_options_bulk_upload.php:46
798
  msgid "Replace tracking information?"
799
  msgstr "Tracking-Informationen ersetzen?"
800
 
801
+ #: includes/views/admin_options_shipping_provider.php:100
802
  msgid "Reset"
803
  msgstr "Zurücksetzen"
804
 
805
+ #: includes/views/admin_options_shipping_provider.php:122
806
  msgid ""
807
  "Reset providers database, it will reset all your shipping provider database"
808
  msgstr ""
809
  "Anbieter-Datenbank zurücksetzen, setzt Ihre gesamte Versandanbieter-"
810
  "Datenbank zurück"
811
 
812
+ #: includes/views/admin_options_settings.php:19
813
+ #: includes/views/admin_options_settings.php:35
814
+ #: includes/views/admin_options_settings.php:51
815
+ #: includes/views/admin_options_settings.php:67
816
+ msgid "Save & Close"
817
+ msgstr "Speichern & schließen"
 
 
 
 
 
 
 
818
 
819
+ #: includes/class-wc-advanced-shipment-tracking.php:384
820
  msgid "Save Tracking"
821
  msgstr "Tracking speichern"
822
 
823
+ #: includes/views/admin_options_shipping_provider.php:27
824
  msgid "Search by provider / country"
825
  msgstr ""
826
  "Suche nach Anbieter / Land\n"
827
 
828
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
 
 
 
 
 
 
829
  msgid "Select email type"
830
  msgstr "E-Mail-Typ auswählen"
831
 
832
+ #: includes/class-wc-advanced-shipment-tracking.php:323
833
  msgid "Select Provider"
834
  msgstr "Wählen Sie Provider aus"
835
 
836
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
 
 
 
 
837
  msgid "Select Template"
838
  msgstr ""
839
  "Vorlage auswählen\n"
840
 
841
+ #: includes/views/admin_options_osm.php:74
 
 
 
 
842
  msgid "Send Email"
843
  msgstr ""
844
  "E-Mail senden\n"
845
 
846
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
847
  msgid ""
848
  "Set the \"mark as shipped\" option checked when adding tracking info to "
849
  "orders"
851
  "Setzen Sie die Option \"als versandt markieren\", wenn Sie Tracking-"
852
  "Informationen zu Bestellungen hinzufügen"
853
 
854
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:352
855
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:356
856
  #: includes/views/admin_options_settings.php:9
857
  msgid "Settings"
858
  msgstr "die Einstellungen"
859
 
860
+ #: includes/views/admin_options_bulk_upload.php:57
861
  msgid "Settings Saved."
862
  msgstr "Einstellungen gespeichert."
863
 
864
+ #. %s: replace with status
865
+ #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
 
866
  #, php-format
867
  msgid "Shipment status changed to %s"
868
  msgstr "Der Sendungsstatus wurde in% s geändert"
869
 
870
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:189
871
  #: includes/class-wc-advanced-shipment-tracking.php:138
872
  #: includes/class-wc-advanced-shipment-tracking.php:219
873
  msgid "Shipment Tracking"
874
  msgstr "Sendungsverfolgung"
875
 
876
+ #: includes/views/admin_options_settings.php:48
877
  msgid "Shipment Tracking API"
878
  msgstr "API zur Sendungsverfolgung"
879
 
880
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:849
881
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:945
882
+ #: includes/class-wc-advanced-shipment-tracking.php:467
883
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:263
884
  msgid "Shipped"
885
  msgstr "Versendet"
886
 
887
+ #. %s: replace with shipped order count
888
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:283
889
  #, php-format
890
  msgid "Shipped <span class=\"count\">(%s)</span>"
891
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
894
  msgstr[1] ""
895
  "Versand <span class=\"count\">(%s)</span>\n"
896
 
897
+ #: includes/customizer/class-wc-tracking-info-customizer.php:143
898
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
899
  msgid "Shipped Date"
900
  msgstr "Versanddatum"
901
 
902
+ #: includes/customizer/class-wc-tracking-info-customizer.php:688
903
  #| msgid "Ship date header text"
904
  msgid "Shipped date header text"
905
  msgstr "Versanddatum Kopfzeilentext"
906
 
907
  #. 1: shipping date
908
+ #: includes/class-wc-advanced-shipment-tracking.php:255
909
  #, php-format
910
  msgid "Shipped on %s"
911
  msgstr "Versand auf% s"
912
 
913
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
914
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
915
  msgstr ""
916
  "Versand am {Schiffsdatum} über {Versandanbieter} - {Tracking-Nummer_Link}"
917
 
918
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
919
  msgid "Shipped Order"
920
  msgstr "Versandbestellung"
921
 
922
+ #: includes/views/admin_options_shipping_provider.php:74
 
 
 
 
923
  msgid "Shipping Country"
924
  msgstr ""
925
  "Lieferungsland\n"
926
 
927
+ #: includes/views/admin_options_shipping_provider.php:58
928
  msgid "Shipping Provider"
929
  msgstr "Versandanbieter"
930
 
931
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
932
  msgid "Shipping provider header text"
933
  msgstr "Kopfzeilentext des Versanddienstleisters"
934
 
935
+ #: includes/class-wc-advanced-shipment-tracking.php:321
936
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:350
937
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:352
938
  msgid "Shipping Provider:"
939
  msgstr "Versandanbieter:"
940
 
941
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:372
942
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:376
943
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
 
944
  msgid "Shipping Providers"
945
  msgstr "Versandanbieter"
946
 
947
+ #: includes/views/admin_options_shipping_provider.php:22
948
+ msgid "Shipping Providers & Carriers"
949
+ msgstr "Versanddienstleister & Spediteure"
950
+
951
+ #: includes/views/admin_options_shipping_provider.php:120
952
  msgid "Shipping providers database reset successfully."
953
  msgstr "Datenbank der Versandanbieter erfolgreich zurückgesetzt."
954
 
955
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
956
  msgid "Show bottom border"
957
  msgstr ""
958
  "Zeige unteren Rand\n"
959
 
960
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
961
  msgid "Simple Layout Design"
962
  msgstr ""
963
  "Einfaches Layout Design\n"
964
 
965
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
966
  msgid "Special character not allowd in tracking number"
967
  msgstr ""
968
  "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
969
 
970
+ #: includes/views/admin_options_shipping_provider.php:110
971
+ #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
972
  msgid "Sync Shipping Providers"
973
  msgstr ""
974
  "Versandanbieter synchronisieren\n"
975
 
976
+ #: includes/views/admin_options_shipping_provider.php:114
977
  msgid ""
978
  "Syncing the shipping providers list add or updates the pre-set shipping "
979
  "providers and will not effect custom shipping providers."
982
  "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
983
  "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
984
 
985
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
986
  msgid "Table Content"
987
  msgstr ""
988
  "Tabelleninhalt\n"
989
 
990
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
991
  msgid "Table Design Options"
992
  msgstr "Tabellendesign-Optionen"
993
 
994
+ #: includes/customizer/class-wc-tracking-info-customizer.php:605
995
  #| msgid "Table Headers"
996
  msgid "Table Header"
997
  msgstr "Tabellenüberschriften"
998
 
999
+ #: includes/customizer/class-wc-tracking-info-customizer.php:260
1000
  msgid "Table Layout"
1001
  msgstr ""
1002
  "Tabellenlayout\n"
1003
 
1004
+ #: includes/customizer/class-wc-tracking-info-customizer.php:427
1005
  msgid "Table Options"
1006
  msgstr "Tabellenoptionen"
1007
 
1008
+ #: includes/customizer/class-wc-tracking-info-customizer.php:581
1009
  msgid "Text align"
1010
  msgstr "Textausrichtung"
1011
 
1012
+ #: includes/views/admin_options_shipping_provider.php:61
1013
  msgid ""
1014
  "The custom display name will show in the tracking info section on the "
1015
  "customer order emails, my-account, and TrackShip's tracking page and email "
1020
  "der Tracking-Seite und den E-Mail-Benachrichtigungen von TrackShip angezeigt "
1021
  "show"
1022
 
1023
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:627
1024
  msgid "There are some issue with sync, Please Retry."
1025
  msgstr ""
1026
  "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
1027
  "\n"
1028
 
1029
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1030
  msgid "This browser does not support HTML5."
1031
  msgstr "Dieser Browser unterstützt HTML5 nicht."
1032
 
1033
+ #: includes/class-wc-advanced-shipment-tracking.php:784
1034
+ #: includes/class-wc-advanced-shipment-tracking.php:817
1035
+ #: includes/class-wc-advanced-shipment-tracking.php:835
1036
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1037
+ #: includes/customizer/class-wc-tracking-info-customizer.php:951
1038
+ #: templates/emails/tracking-info.php:264
1039
+ #: templates/myaccount/tracking-info.php:244
1040
+ #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1041
  msgid "Track"
1042
  msgstr "Verfolgen"
1043
 
1044
+ #: includes/customizer/class-wc-tracking-info-customizer.php:908
1045
  msgid "Track Button"
1046
  msgstr "Track-Taste"
1047
 
1048
+ #: includes/customizer/class-wc-tracking-info-customizer.php:925
1049
  msgid "Track Header"
1050
  msgstr "Track-Header"
1051
 
1052
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1053
  msgid "Track header text"
1054
  msgstr ""
1055
  "Verfolgen Sie den Header-Text\n"
1056
 
1057
+ #: includes/class-wc-advanced-shipment-tracking.php:242
1058
+ #: includes/class-wc-advanced-shipment-tracking.php:387
1059
  msgid "Track Shipment"
1060
  msgstr ""
1061
  "Sendung verfolgen\n"
1062
 
1063
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1064
+ #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1065
  msgid "Tracking display layout"
1066
  msgstr "Tracking-Display-Layout"
1067
 
1068
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
1069
  msgid "Tracking Display Position"
1070
  msgstr "Verfolgung der Anzeigeposition"
1071
 
1072
+ #: includes/customizer/class-wc-tracking-info-customizer.php:221
1073
  msgid "Tracking Header text"
1074
  msgstr ""
1075
  "Tracking-Header-Text\n"
1076
 
1077
+ #: includes/customizer/class-wcast-customizer.php:37
 
 
 
 
 
1078
  msgid "Tracking info display"
1079
  msgstr ""
1080
  "Tracking-Info-Anzeige\n"
1081
 
1082
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1083
+ #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
 
1084
  #, php-format
1085
+ #| msgid ""
1086
+ #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1087
  msgid ""
1088
+ "Tracking info was deleted for tracking provider %1$s with tracking number "
1089
+ "%2$s"
1090
  msgstr ""
1091
+ "Tracking-Informationen für Tracking-Anbieter %1$s mit Tracking-Nummer %2$s "
1092
+ "wurden gelöscht"
1093
 
1094
+ #: includes/customizer/class-wc-tracking-info-customizer.php:228
1095
  msgid "Tracking Information"
1096
  msgstr "Tracking-Informationen"
1097
 
1098
+ #: includes/customizer/class-wc-tracking-info-customizer.php:142
1099
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
1100
+ #: templates/emails/tracking-info.php:235
1101
+ #: templates/myaccount/tracking-info.php:213
 
 
 
 
 
 
 
1102
  msgid "Tracking Number"
1103
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1104
 
1105
+ #: includes/customizer/class-wc-tracking-info-customizer.php:665
1106
  #| msgid "Tracking Number header text"
1107
  msgid "Tracking number header text"
1108
  msgstr "Tracking-Nummer-Header-Text"
1109
 
1110
+ #: includes/class-wc-advanced-shipment-tracking.php:317
1111
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1112
  msgid "Tracking number:"
1113
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
1114
 
1115
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
1116
  msgid "TrackShip"
1117
  msgstr "TrackShip"
1118
 
1119
+ #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1120
  msgid "Update"
1121
  msgstr "Aktualisieren"
1122
 
1123
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1124
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1125
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1126
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1127
  msgid "Updated Tracking"
1128
  msgstr ""
1129
  "Aktualisiertes Tracking\n"
1130
 
1131
+ #. %s: replace with Updated Tracking Count
1132
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1133
  #, php-format
1134
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1135
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1138
  msgstr[1] ""
1139
  "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
1140
 
1141
+ #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
1142
  msgid "Upload a CSV file from your computer:"
1143
  msgstr "Laden Sie eine CSV-Datei von Ihrem Computer hoch:"
1144
 
1145
+ #: includes/views/admin_options_bulk_upload.php:107
1146
  msgid "Upload again"
1147
  msgstr "Erneut hochladen"
1148
 
1149
+ #: includes/views/admin_options_bulk_upload.php:9
1150
  msgid ""
1151
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1152
  "file"
1154
  "Verwenden Sie unser CSV-Import-Tool, um Tracking-Informationen in "
1155
  "Bestellungen aus einer CSV-Datei zu importieren"
1156
 
1157
+ #: includes/customizer/class-wc-tracking-info-customizer.php:501
1158
  msgid "Use tracking number as a link"
1159
  msgstr ""
1160
  "Verwenden Sie die Tracking-Nummer als Link\n"
1161
 
1162
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1163
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1164
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1165
+ #: includes/views/admin_options_bulk_upload.php:85
1166
  msgid "view details"
1167
  msgstr ""
1168
  "Details anzeigen\n"
1169
 
1170
+ #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
 
 
 
 
 
 
1171
  msgid "View Orders"
1172
  msgstr "Bestellungen anzeigen"
1173
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1174
  #. %s: replace with Partially Shipped order count
1175
+ #: woocommerce-advanced-shipment-tracking.php:502
1176
  #, php-format
1177
  msgid ""
1178
  "We detected %s orders that use the Partially Shipped order status, You can "
1181
  "Wir haben% s Bestellungen festgestellt, die den Status \"Teilversand\" "
1182
  "verwenden. Sie können diese Bestellungen einem anderen Status zuweisen"
1183
 
1184
+ #: includes/views/admin_options_shipping_provider.php:62
 
 
 
 
 
 
 
 
 
1185
  msgid "White Label Provider Name"
1186
  msgstr "Name des White-Label-Anbieters"
1187
 
1188
+ #: includes/class-wc-advanced-shipment-tracking.php:370
1189
+ #: includes/class-wc-advanced-shipment-tracking.php:373
1190
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1191
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1192
  msgid "Y-m-d"
1193
  msgstr "Y-m-d"
1194
 
1195
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1196
  msgid "You can upload only csv file."
1197
  msgstr "Sie können nur CSV-Dateien hochladen."
1198
 
1199
+ #. %s: search WooCommerce plugin link
1200
+ #: includes/views/admin_options_shipping_provider.php:89
1201
  msgid ""
1202
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1203
  "URL, for more info, check our "
1205
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1206
  "URL, for more info, check our "
1207
 
1208
+ #. %s: replace with status
1209
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1210
  #, php-format
1211
  msgid "You did not create any %s shipping providers yet."
1212
  msgstr "Sie haben noch keine% s Versandanbieter erstellt."
1213
 
1214
+ #. %s: replace with status
1215
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1216
  #, php-format
1217
  msgid "You don't have any %s shipping providers."
1218
  msgstr "Sie haben keine% s Versandanbieter."
1219
 
1220
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1221
  msgid "Your Order is Partially Shipped"
1222
  msgstr "Ihre Bestellung wird teilweise versendet"
1223
 
1224
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
1225
  msgid "Your {site_title} order is now partially shipped"
1226
  msgstr ""
1227
  "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1228
 
1229
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1230
  msgid "Your {site_title} order is now updated tracking"
1231
  msgstr ""
1232
  "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
lang/woo-advanced-shipment-tracking-el.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-el.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-06-22 09:46+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\n"
@@ -12,22 +12,23 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.2; wp-5.7.2"
16
 
17
- #: includes/views/admin_options_shipping_provider.php:83
 
18
  #, php-format
19
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
20
  msgstr "τεκμηρίωση"
21
 
22
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1712
23
  msgid "Actions"
24
  msgstr "Actions"
25
 
26
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1388
27
- msgid "Active Shipments"
28
- msgstr "Ενεργές αποστολές"
29
 
30
- #: includes/views/admin_options_shipping_provider.php:56
31
  msgid ""
32
  "Add API name aliases to map Shipping providers names with the provider names "
33
  "that are updated in the shipment tracking API by external shipping services"
@@ -36,8 +37,8 @@ msgstr ""
36
  "ονόματα παρόχων που ενημερώνονται στο API παρακολούθησης αποστολών από "
37
  "εξωτερικές υπηρεσίες αποστολής"
38
 
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1700
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1833
41
  msgid "Add Custom Provider"
42
  msgstr "Προσθήκη προσαρμοσμένου παροχέα"
43
 
@@ -54,572 +55,488 @@ msgstr ""
54
  "στους λογαριασμούς πελατών (στον πίνακα παραγγελιών) και στο πλήρες email "
55
  "της παραγγελίας WooCommerce."
56
 
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:650
58
  msgid "add the [wcast-track-order] shortcode in the selected page."
59
  msgstr ""
60
  "προσθέστε τον σύντομο κωδικό [wcast-track-order] στην επιλεγμένη σελίδα."
61
 
62
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
63
  msgid "Add Tracking"
64
  msgstr "Add Tracking"
65
 
66
- #: includes/class-wc-advanced-shipment-tracking-settings.php:415
67
  msgid "Add Tracking - order\t"
68
  msgstr "Add Tracking - order\t"
69
 
70
- #: includes/class-wc-advanced-shipment-tracking.php:515
71
  msgid "Add Tracking Info"
72
  msgstr "Προσθήκη Παρακολούθησης"
73
 
74
- #: includes/views/admin_options_settings.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
75
  msgid "Add Tracking Options"
76
  msgstr "Προσθήκη επιλογών παρακολούθησης"
77
 
78
- #: includes/class-wc-advanced-shipment-tracking-admin.php:768
79
  msgid "Add Tracking Order action"
80
  msgstr "Προσθέστε ενέργεια εντολής παρακολούθησης"
81
 
82
- #: includes/customizer/class-wc-tracking-info-customizer.php:267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  msgid "Additional text after header"
84
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
85
 
86
- #: includes/views/admin_status_notifications.php:52
87
- msgid "Admin Notifications"
88
- msgstr "Ειδοποιήσεις διαχειριστή"
89
-
90
  #. Name of the plugin
91
  msgid "Advanced Shipment Tracking for WooCommerce"
92
  msgstr "Προηγμένη παρακολούθηση αποστολών για το WooCommerce"
93
 
94
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
95
  msgid "After Order Details"
96
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
99
  msgid "API aliases"
100
  msgstr "Ψευδώνυμα API"
101
 
102
- #: includes/views/admin_options_shipping_provider.php:58
 
 
 
 
103
  msgid "API Name"
104
  msgstr "Όνομα API"
105
 
106
- #: includes/views/admin_status_notifications.php:141
107
- msgid "As it Happens"
108
- msgstr "Καθώς συμβαίνει"
109
-
110
- #: includes/views/admin_trackship_dashboard.php:87
111
- msgid "Automation"
112
- msgstr "Αυτοματοποίηση"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:283
115
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:863
116
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:941
117
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:74
118
- #: includes/customizer/class-wc-intransit-email-customizer.php:164
119
- msgid "Available For Pickup"
120
- msgstr ""
121
- "Διαθέσιμο για παραλαβή\n"
122
-
123
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:153
124
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:177
125
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
126
- #: includes/customizer/class-wc-delivered-email-customizer.php:151
127
- #: includes/customizer/class-wc-delivered-email-customizer.php:175
128
- #: includes/customizer/class-wc-delivered-email-customizer.php:220
129
- #: includes/customizer/class-wc-failure-email-customizer.php:151
130
- #: includes/customizer/class-wc-failure-email-customizer.php:175
131
- #: includes/customizer/class-wc-failure-email-customizer.php:220
132
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
133
- #: includes/customizer/class-wc-intransit-email-customizer.php:252
134
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
135
- #: includes/customizer/class-wc-onhold-email-customizer.php:151
136
- #: includes/customizer/class-wc-onhold-email-customizer.php:175
137
- #: includes/customizer/class-wc-onhold-email-customizer.php:220
138
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:150
139
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:174
140
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:219
141
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:213
142
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:237
143
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:262
144
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:282
145
- #: includes/customizer/class-wc-returntosender-email-customizer.php:152
146
- #: includes/customizer/class-wc-returntosender-email-customizer.php:176
147
- #: includes/customizer/class-wc-returntosender-email-customizer.php:220
148
- #: includes/customizer/class-wc-tracking-info-customizer.php:355
149
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:163
150
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:187
151
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:212
152
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:232
153
- #: includes/customizer/class-wc-exception-email-customizer.php:151
154
- #: includes/customizer/class-wc-exception-email-customizer.php:175
155
- #: includes/customizer/class-wc-exception-email-customizer.php:220
156
- #: includes/views/admin_status_notifications.php:123
157
  msgid "Available variables:"
158
  msgstr "Διαθέσιμες μεταβλητές:"
159
 
160
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1381
161
- msgid "Avg Shipment Length"
162
- msgstr "Μέσο μήκος αποστολής"
163
-
164
- #: includes/customizer/class-wc-tracking-info-customizer.php:208
165
  msgid "Before Order Details"
166
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
167
 
168
- #: includes/customizer/class-wc-tracking-info-customizer.php:559
169
  msgid "Border color"
170
  msgstr ""
171
  "Χρώμα πλαισίου\n"
172
 
173
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
174
  msgid "Border size"
175
  msgstr ""
176
  "Μέγεθος περιθωρίου\n"
177
 
178
- #: includes/customizer/class-wc-tracking-info-customizer.php:429
179
  msgid "Bottom border color"
180
  msgstr "Το χρώμα του κάτω ορίου"
181
 
182
- #: includes/customizer/class-wc-tracking-info-customizer.php:990
183
  msgid "Button color"
184
  msgstr "Χρώμα κουμπιού"
185
 
186
- #: includes/customizer/class-wc-tracking-info-customizer.php:1008
187
  msgid "Button font color"
188
  msgstr "Χρώμα γραμματοσειράς κουμπιού"
189
 
190
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:393
191
  msgid "Cannot create existing order shipment tracking."
192
  msgstr ""
193
  "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
194
  "παραγγελιών."
195
 
196
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:868
197
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:965
198
- msgid "Carrier Unsupported"
199
- msgstr "Η εταιρεία κινητής τηλεφωνίας δεν υποστηρίζεται"
200
-
201
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
202
  msgid "Change order status to"
203
  msgstr "Change order status to"
204
 
205
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
206
  msgid "Change status to shipped"
207
  msgstr "Αλλάξτε την κατάσταση αποστολής"
208
 
209
- #: includes/class-wc-advanced-shipment-tracking-admin.php:891
210
  msgid "Choose for which Order status to display"
211
  msgstr "Επιλέξτε για ποια κατάσταση παραγγελίας θα εμφανίζεται"
212
 
213
- #: includes/views/admin_options_bulk_upload.php:33
214
  msgid "Choose the Shipped Date format"
215
  msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
216
 
217
- #: includes/class-wc-advanced-shipment-tracking.php:466
218
  msgid "Completed"
219
  msgstr "Ολοκληρώθηκε το"
220
 
221
- #: includes/views/admin_trackship_dashboard.php:28
222
- msgid "Connected"
223
- msgstr ""
224
- "Συνδεδεμένος\n"
225
-
226
- #: includes/views/admin_trackship_dashboard.php:26
227
- msgid "Connection Status"
228
- msgstr "Κατάσταση σύνδεσης"
229
-
230
- #: includes/customizer/class-wc-tracking-info-customizer.php:334
231
  msgid "Content"
232
  msgstr "Περιεχόμενο"
233
 
234
- #: includes/customizer/class-wc-tracking-info-customizer.php:829
235
  msgid "Content Background color"
236
  msgstr "Χρώμα φόντου περιεχομένου"
237
 
238
- #: includes/customizer/class-wc-tracking-info-customizer.php:392
239
- #: includes/customizer/class-wc-tracking-info-customizer.php:847
240
  msgid "Content font color"
241
  msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
242
 
243
- #: includes/customizer/class-wc-tracking-info-customizer.php:373
244
- #: includes/customizer/class-wc-tracking-info-customizer.php:865
245
  msgid "Content font size"
246
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
247
 
248
- #: includes/customizer/class-wc-tracking-info-customizer.php:907
249
  msgid "Content font weight"
250
  msgstr ""
251
  "Βάρος γραμματοσειράς περιεχομένου\n"
252
 
253
- #: includes/customizer/class-wc-tracking-info-customizer.php:884
254
  msgid "Content line height"
255
  msgstr ""
256
  "Το ύψος της γραμμής περιεχομένου\n"
257
 
258
- #: includes/views/admin_options_bulk_upload.php:56
259
  msgid "Continue"
260
  msgstr "Να συνεχίσει"
261
 
262
- #: includes/views/admin_options_shipping_provider.php:63
263
  msgid "Country"
264
  msgstr "Country"
265
 
266
- #: includes/class-wc-advanced-shipment-tracking-admin.php:414
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:418
 
268
  msgid "CSV Import"
269
  msgstr "Εισαγωγή CSV"
270
 
271
- #: includes/views/admin_options_shipping_provider.php:56
272
  msgid "Custom API name"
273
  msgstr "Προσαρμοσμένο όνομα API"
274
 
275
- #: includes/views/admin_options_shipping_provider.php:52
276
  msgid "Custom display name"
277
  msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
278
 
279
- #: includes/customizer/class-wcast-customizer.php:35
280
  msgid "Custom order status email"
281
  msgstr "Email κατάστασης προσαρμοσμένης παραγγελίας"
282
 
283
- #: includes/views/admin_options_settings.php:25
284
- msgid "Custom Order Statuses"
285
- msgstr "Κατάσταση προσαρμοσμένης παραγγελίας"
286
-
287
- #: includes/views/admin_options_shipping_provider.php:79
288
  msgid "Custom URL"
289
  msgstr "προσαρμοσμένη διεύθυνση URL"
290
 
291
- #: includes/views/admin_options_settings.php:15
292
  msgid "Customer View"
293
  msgstr "Προβολή πελατών"
294
 
295
- #: includes/class-wc-advanced-shipment-tracking-admin.php:403
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:409
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:546
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
299
- #: includes/views/admin_status_notifications.php:36
300
- #: includes/views/admin_status_notifications.php:69
301
  msgid "Customize"
302
  msgstr "Προσαρμόστε"
303
 
304
- #: includes/views/admin_status_notifications.php:145
305
- msgid "Daily Digest on"
306
- msgstr "Ημερήσιο Digest στις"
307
-
308
- #: includes/views/admin_options_osm.php:58
309
- #: includes/views/admin_trackship_dashboard.php:118
310
  msgid "Dark Font"
311
  msgstr ""
312
  "Σκούρα γραμματοσειρά\n"
313
 
314
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:234
315
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:238
316
- msgid "Dashboard"
317
- msgstr "Ταμπλό"
318
-
319
- #: includes/class-wc-advanced-shipment-tracking-admin.php:232
320
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:212
321
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:422
322
  msgid "Data saved successfully."
323
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
324
 
325
- #: includes/class-wc-advanced-shipment-tracking.php:368
326
- #: includes/class-wc-advanced-shipment-tracking-settings.php:452
327
  msgid "Date shipped:"
328
  msgstr "Ημερομηνία αποστολής:"
329
 
330
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1383
331
- msgid "days"
332
- msgstr "μέρες"
333
-
334
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
335
  #| msgid "Default"
336
  msgid "default"
337
  msgstr "Προκαθορισμένο"
338
 
339
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1637
340
- #: includes/class-wc-advanced-shipment-tracking-settings.php:131
341
- #: includes/class-wc-advanced-shipment-tracking-settings.php:176
342
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:297
343
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:865
344
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:935
345
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1392
346
- #: includes/customizer/class-wc-delivered-email-customizer.php:74
347
- #: includes/customizer/class-wc-intransit-email-customizer.php:166
348
- #: includes/views/admin_trackship_dashboard.php:109
349
  msgid "Delivered"
350
  msgstr "Παραδόθηκε"
351
 
352
- #: includes/class-wc-advanced-shipment-tracking-settings.php:136
353
- #, php-format
354
- msgid "Delivered <span class=\"count\">(%s)</span>"
355
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
356
- msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
357
- msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
358
-
359
- #: includes/views/front/layout1_tracking_details.php:17
360
- #: includes/views/front/layout1_tracking_details.php:94
361
- msgid "Destination Details"
362
- msgstr "Λεπτομέρειες προορισμού"
363
-
364
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1709
365
  msgid "Display Name"
366
  msgstr "Εμφανιζόμενο όνομα"
367
 
368
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:552
369
- #| msgid "Display Shipment Status Filter on Orders admin"
370
- msgid "Display shipment status filter on orders admin"
371
- msgstr "Εμφάνιση φίλτρου κατάστασης αποστολής στο διαχειριστή παραγγελιών"
372
-
373
- #: includes/customizer/class-wc-tracking-info-customizer.php:485
374
  msgid "Display shipping provider image"
375
  msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
376
 
377
- #: includes/customizer/class-wc-tracking-info-customizer.php:466
378
  msgid "Display shipping provider name"
379
  msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
380
 
381
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:278
382
- #: includes/customizer/class-wc-delivered-email-customizer.php:295
383
- #: includes/customizer/class-wc-failure-email-customizer.php:276
384
- #: includes/customizer/class-wc-intransit-email-customizer.php:353
385
- #: includes/customizer/class-wc-onhold-email-customizer.php:276
386
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
387
- #: includes/customizer/class-wc-returntosender-email-customizer.php:276
388
- #: includes/customizer/class-wc-exception-email-customizer.php:276
389
- #| msgid "Display Shipping Address"
390
- msgid "Display the shipping address"
391
- msgstr "Εμφάνιση της διεύθυνσης αποστολής"
392
-
393
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:240
394
- #: includes/customizer/class-wc-delivered-email-customizer.php:257
395
- #: includes/customizer/class-wc-failure-email-customizer.php:238
396
- #: includes/customizer/class-wc-intransit-email-customizer.php:315
397
- #: includes/customizer/class-wc-onhold-email-customizer.php:238
398
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
399
- #: includes/customizer/class-wc-returntosender-email-customizer.php:238
400
- #: includes/customizer/class-wc-exception-email-customizer.php:238
401
- msgid "Display the Shipping items"
402
- msgstr "Εμφάνιση των αντικειμένων αποστολής"
403
-
404
- #: includes/views/admin_options_bulk_upload.php:118
405
  msgid "Download sample csv"
406
  msgstr "Λήψη δείγματος csv"
407
 
408
- #: includes/views/admin_status_notifications.php:101
409
- msgid "E.g. {admin_email}, admin@example.org"
410
- msgstr "Π.χ. {admin_email}, admin@example.org"
411
-
412
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:135
413
- #: includes/customizer/class-wc-delivered-email-customizer.php:133
414
- #: includes/customizer/class-wc-failure-email-customizer.php:133
415
- #: includes/customizer/class-wc-intransit-email-customizer.php:210
416
- #: includes/customizer/class-wc-onhold-email-customizer.php:133
417
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:132
418
- #: includes/customizer/class-wc-returntosender-email-customizer.php:134
419
- #: includes/customizer/class-wc-exception-email-customizer.php:133
420
- msgid "E.g. {customer.email}, admin@example.org"
421
- msgstr "Πχ: {customer.email}, admin@example.org"
422
-
423
- #: includes/views/admin_options_shipping_provider.php:42
424
  msgid "Edit Shipping Provider"
425
  msgstr "Επεξεργασία παρόχου αποστολής"
426
 
427
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
428
- #: includes/customizer/class-wc-delivered-email-customizer.php:198
429
- #: includes/customizer/class-wc-failure-email-customizer.php:198
430
- #: includes/customizer/class-wc-intransit-email-customizer.php:275
431
- #: includes/customizer/class-wc-onhold-email-customizer.php:198
432
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:197
433
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:261
434
- #: includes/customizer/class-wc-returntosender-email-customizer.php:199
435
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
436
- #: includes/customizer/class-wc-exception-email-customizer.php:198
437
- #: includes/views/admin_status_notifications.php:117
438
  msgid "Email content"
439
  msgstr "Περιεχόμενο email"
440
 
441
- #: includes/views/admin_status_notifications.php:15
442
- msgid "Email Notifications"
443
- msgstr "ειδοποιήσεις ηλεκτρονικού ταχυδρομείου"
444
-
445
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:152
446
- #: includes/customizer/class-wc-delivered-email-customizer.php:150
447
- #: includes/customizer/class-wc-failure-email-customizer.php:150
448
- #: includes/customizer/class-wc-intransit-email-customizer.php:227
449
- #: includes/customizer/class-wc-onhold-email-customizer.php:150
450
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:149
451
- #: includes/customizer/class-wc-exception-email-customizer.php:150
452
- msgid "Email Subject"
453
- msgstr "Το θέμα του email"
454
-
455
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
456
  msgid "Email Type"
457
  msgstr "Τύπος email"
458
 
459
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:585
460
- msgid "Enable a tracking page"
461
- msgstr "Ενεργοποίηση σελίδας παρακολούθησης"
462
 
463
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:109
464
- msgid "Enable Available For Pickup email"
465
- msgstr "Ενεργοποίηση διαθέσιμου για παραλαβή email"
466
 
467
- #: includes/customizer/class-wc-delivered-email-customizer.php:107
468
- msgid "Enable Delivered email"
469
- msgstr "Ενεργοποίηση παραδόσεων email"
470
 
471
- #: includes/customizer/class-wc-exception-email-customizer.php:107
472
- msgid "Enable Exception email"
473
- msgstr "Ενεργοποίηση εξαίρεσης email"
474
 
475
- #: includes/customizer/class-wc-failure-email-customizer.php:107
476
- msgid "Enable Failed Attempt email"
477
- msgstr "Ενεργοποίηση αποτυχημένου μηνύματος ηλεκτρονικού ταχυδρομείου"
478
 
479
- #: includes/customizer/class-wc-intransit-email-customizer.php:184
480
- msgid "Enable In Transit email"
481
- msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου διαμετακόμισης"
482
 
483
- #: includes/customizer/class-wc-onhold-email-customizer.php:107
484
- msgid "Enable On Hold email"
485
- msgstr "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου σε αναμονή"
486
 
487
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:106
488
- msgid "Enable Out For Delivery email"
489
- msgstr "Ενεργοποίηση email για παράδοση"
490
 
491
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:193
492
- msgid "Enable Partially Shipped order status email"
493
- msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
494
 
495
- #: includes/customizer/class-wc-returntosender-email-customizer.php:108
496
- msgid "Enable Return To Sender email"
497
- msgstr "Ενεργοποίηση επιστροφής στο email αποστολέα"
498
 
499
- #: includes/class-wc-advanced-shipment-tracking-admin.php:872
500
- msgid "Enable Track button in orders history (actions)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
501
  msgstr ""
502
- "Ενεργοποίηση κουμπιού παρακολούθησης στο ιστορικό παραγγελιών (ενέργειες)"
 
503
 
504
- #: includes/customizer/class-wc-tracking-page-customizer.php:248
505
- msgid "Enable Tracking # link to Carrier"
506
  msgstr ""
507
- "Ενεργοποιήστε τον σύνδεσμο # Παρακολούθησης για την εταιρεία κινητής "
508
- "τηλεφωνίας"
509
 
510
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
511
  msgid "Enable Updated Tracking order status email"
512
  msgstr ""
513
  "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
514
 
515
- #: includes/views/front/tracking_page_header.php:22
516
- msgid "Est. Delivery Date"
517
- msgstr ""
518
- "Est. Ημερομηνία παράδοσης\n"
519
-
520
- #: includes/customizer/class-wc-tracking-page-customizer.php:208
521
- #: includes/customizer/class-wc-tracking-page-customizer.php:211
522
- msgid "Events Display Type"
523
- msgstr "Τύπος εμφάνισης εκδηλώσεων"
524
-
525
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:311
526
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:950
527
- #: includes/customizer/class-wc-intransit-email-customizer.php:168
528
- #: includes/customizer/class-wc-exception-email-customizer.php:73
529
- msgid "Exception"
530
- msgstr "Εξαίρεση"
531
-
532
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:304
533
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:866
534
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:947
535
- #: includes/customizer/class-wc-failure-email-customizer.php:73
536
- #: includes/customizer/class-wc-intransit-email-customizer.php:167
537
- msgid "Failed Attempt"
538
- msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
539
-
540
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:875
541
- msgid "Filter by shipment status"
542
- msgstr "Φιλτράρισμα κατά κατάσταση αποστολής"
543
-
544
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
545
  msgid "Filter by shipping provider"
546
  msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
547
 
548
- #: templates/tracking/tracking-form.php:12
549
- #: templates/tracking/tracking-form.php:13
550
- msgid "Found in your order confirmation email."
551
- msgstr ""
552
- "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
553
-
554
- #: includes/class-wc-advanced-shipment-tracking-settings.php:462
555
  msgid "Fulfill Order"
556
  msgstr "Εκπλήρωση παραγγελίας"
557
 
558
- #: includes/class-wc-advanced-shipment-tracking-admin.php:450
559
- #: includes/class-wc-advanced-shipment-tracking-admin.php:454
560
- #: includes/views/admin_trackship_dashboard.php:70
561
  msgid "General Settings"
562
  msgstr "Γενικές Ρυθμίσεις"
563
 
564
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:837
565
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1095
566
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1104
567
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1113
568
- #: includes/views/admin_trackship_dashboard.php:8
569
- msgid "Get Shipment Status"
570
- msgstr "Λήψη κατάστασης αποστολής"
571
-
572
- #: includes/views/admin_options_shipping_provider.php:66
573
  msgid "Global"
574
  msgstr "Παγκόσμια"
575
 
576
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
577
  msgid "Go Pro"
578
  msgstr "Γίνε επαγγελματίας"
579
 
580
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:296
581
- #: includes/customizer/class-wc-delivered-email-customizer.php:313
582
- #: includes/customizer/class-wc-failure-email-customizer.php:294
583
- #: includes/customizer/class-wc-intransit-email-customizer.php:371
584
- #: includes/customizer/class-wc-onhold-email-customizer.php:294
585
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:293
586
- #: includes/customizer/class-wc-returntosender-email-customizer.php:294
587
- #: includes/customizer/class-wc-exception-email-customizer.php:294
588
- msgid "Google Analytics link tracking"
589
- msgstr "Παρακολούθηση συνδέσμου Google Analytics"
590
-
591
- #: includes/customizer/class-wc-tracking-info-customizer.php:753
592
  msgid "Headers background color"
593
  msgstr "Χρώμα φόντου κεφαλίδων"
594
 
595
- #: includes/customizer/class-wc-tracking-info-customizer.php:771
596
  msgid "Headers font color"
597
  msgstr ""
598
  "Χρώμα γραμματοσειράς κεφαλίδων\n"
599
 
600
- #: includes/customizer/class-wc-tracking-info-customizer.php:734
601
  msgid "Headers font size"
602
  msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
603
 
604
- #: includes/customizer/class-wc-tracking-info-customizer.php:789
605
  msgid "Headers font weight"
606
  msgstr "Βάρος γραμματοσειράς κεφαλίδων"
607
 
608
- #. %s: search TS4WC plugin link
609
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:187
610
- #, php-format
611
- msgid ""
612
- "Hi there, We noticed that your store is connected to TrackShip and there is "
613
- "a new and better TrackShip integration plugin for WooCommerce that will work "
614
- "with AST. Please install and activate the new %1$sTrackShip For "
615
- "WooCommerce%2$s plugin."
616
- msgstr ""
617
- "Γεια σας, Παρατηρήσαμε ότι το κατάστημά σας είναι συνδεδεμένο με το "
618
- "TrackShip και υπάρχει ένα νέο και καλύτερο πρόσθετο ολοκλήρωσης TrackShip "
619
- "για το WooCommerce που θα λειτουργεί με το AST. Εγκαταστήστε και "
620
- "ενεργοποιήστε τη νέα προσθήκη% 1 $ sTrackShip For WooCommerce% 2 $ s."
621
-
622
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
623
  msgid ""
624
  "Hi there. we thought you'd like to know that the shipment tracking for your "
625
  "recent order from {site_title} has been updated."
@@ -627,15 +544,7 @@ msgstr ""
627
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
628
  "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
629
 
630
- #: includes/customizer/class-wc-delivered-email-customizer.php:75
631
- msgid ""
632
- "Hi there. we thought you'd like to know that your recent order from "
633
- "{site_title} has been Delivered."
634
- msgstr ""
635
- "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
636
- "από {site_title} έχει παραδοθεί.\n"
637
-
638
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
639
  msgid ""
640
  "Hi there. we thought you'd like to know that your recent order from "
641
  "{site_title} has been partially shipped."
@@ -643,101 +552,26 @@ msgstr ""
643
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
644
  "από {site_title} έχει αποσταλεί εν μέρει.\n"
645
 
646
- #: includes/customizer/class-wc-returntosender-email-customizer.php:75
647
- msgid ""
648
- "Hi there. we thought you'd like to know that your recent order from "
649
- "{site_title} has been returned to sender."
650
- msgstr ""
651
- "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
652
- "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
653
-
654
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:75
655
- msgid ""
656
- "Hi there. we thought you'd like to know that your recent order from "
657
- "{site_title} is available for pickup."
658
- msgstr ""
659
- "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
660
- "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
661
-
662
- #: includes/customizer/class-wc-exception-email-customizer.php:74
663
- msgid ""
664
- "Hi there. we thought you'd like to know that your recent order from "
665
- "{site_title} is Exception"
666
- msgstr ""
667
- "Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
668
- "από το {site_title} είναι Εξαίρεση"
669
-
670
- #: includes/customizer/class-wc-failure-email-customizer.php:74
671
- msgid ""
672
- "Hi there. we thought you'd like to know that your recent order from "
673
- "{site_title} is Failed Attempt"
674
- msgstr ""
675
- "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
676
- "από το {site_title} απέτυχε"
677
-
678
- #: includes/customizer/class-wc-intransit-email-customizer.php:100
679
- msgid ""
680
- "Hi there. we thought you'd like to know that your recent order from "
681
- "{site_title} is in transit"
682
- msgstr ""
683
- "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
684
- "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
685
-
686
- #: includes/customizer/class-wc-onhold-email-customizer.php:74
687
- msgid ""
688
- "Hi there. we thought you'd like to know that your recent order from "
689
- "{site_title} is on hold"
690
- msgstr ""
691
- "Γεια σου. πιστεύαμε ότι θα θέλατε να γνωρίζετε ότι η πρόσφατη παραγγελία σας "
692
- "από το {site_title} είναι σε αναμονή"
693
-
694
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:74
695
- msgid ""
696
- "Hi there. we thought you'd like to know that your recent order from "
697
- "{site_title} is out for delivery."
698
- msgstr ""
699
- "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
700
- "από το {site_title} είναι έξω για παράδοση.\n"
701
-
702
- #: includes/class-wc-advanced-shipment-tracking-settings.php:711
703
- #: includes/class-wc-advanced-shipment-tracking-settings.php:728
704
- #: includes/class-wc-advanced-shipment-tracking-settings.php:745
705
  msgid "hide details"
706
  msgstr "Κρύψε τις λεπτομέρειες"
707
 
708
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
709
- #: includes/customizer/class-wc-delivered-email-customizer.php:276
710
- #: includes/customizer/class-wc-failure-email-customizer.php:257
711
- #: includes/customizer/class-wc-intransit-email-customizer.php:334
712
- #: includes/customizer/class-wc-onhold-email-customizer.php:257
713
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:256
714
- #: includes/customizer/class-wc-returntosender-email-customizer.php:257
715
- #: includes/customizer/class-wc-exception-email-customizer.php:257
716
- msgid "Hide Shipping Items Price"
717
- msgstr "Απόκρυψη τιμής αποστολής"
718
-
719
- #: includes/customizer/class-wc-tracking-info-customizer.php:644
720
  msgid "Hide Table Headers"
721
  msgstr "Απόκρυψη κεφαλίδων πίνακα"
722
 
723
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
724
  #| msgid "Hide the ship date"
725
  msgid "Hide the shipped date"
726
  msgstr "Απόκρυψη της ημερομηνίας του πλοίου"
727
 
728
- #: includes/customizer/class-wc-tracking-page-customizer.php:232
729
- msgid "Hide the Shipping Provider logo"
730
- msgstr "Απόκρυψη του λογότυπου του Προμηθευτή αποστολής"
731
-
732
- #: includes/customizer/class-wc-tracking-page-customizer.php:216
733
- msgid "Hide tracking events"
734
- msgstr "Απόκρυψη συμβάντων παρακολούθησης"
735
-
736
- #: includes/customizer/class-wc-tracking-info-customizer.php:225
737
  msgid "Hide Tracking Header"
738
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
739
 
740
- #: includes/views/admin_options_bulk_upload.php:119
741
  msgid "How to import tracking number from CSV files?"
742
  msgstr "Πώς να εισαγάγετε αριθμό παρακολούθησης από αρχεία CSV;"
743
 
@@ -749,37 +583,24 @@ msgstr "https://www.zorem.com"
749
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
750
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
751
 
752
- #: includes/views/admin_options_bulk_upload.php:75
753
  msgid "Import in Progress"
754
  msgstr "Εισαγωγή σε εξέλιξη"
755
 
756
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:262
757
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:862
758
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:926
759
- #: includes/customizer/class-wc-intransit-email-customizer.php:99
760
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
761
- msgid "In Transit"
762
- msgstr ""
763
- "Στη διαμετακόμιση\n"
764
-
765
- #: includes/views/admin_options_trackship_integration.php:17
766
  msgid "Install TrackShip for WooCommerce"
767
  msgstr "Εγκαταστήστε το TrackShip για το WooCommerce"
768
 
769
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:402
 
 
 
 
 
770
  msgid "Invalid order ID."
771
  msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
772
 
773
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:870
774
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:962
775
- msgid "Invalid Tracking Number"
776
- msgstr "Invalid Tracking Number"
777
-
778
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:968
779
- msgid "Invalid User Key"
780
- msgstr "Μη έγκυρο κλειδί χρήστη"
781
-
782
- #: includes/views/admin_options_bulk_upload.php:47
783
  msgid ""
784
  "Keep unchecked for the tracking info to be added to any existing tracking "
785
  "info added to the orders."
@@ -788,166 +609,119 @@ msgstr ""
788
  "σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
789
  "παραγγελίες."
790
 
791
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:27
792
- msgid "Late shipment"
793
- msgstr "Καθυστερημένη αποστολή"
794
-
795
- #: includes/views/admin_status_notifications.php:87
796
- msgid "Late Shipment Days"
797
- msgstr "Καθυστερημένες αποστολές"
798
-
799
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:26
800
- #: includes/views/admin_status_notifications.php:111
801
- msgid "Late shipment for order #{order_number}"
802
- msgstr "Τελευταία αποστολή για παραγγελία # {αριθμός_παραγγελίας}"
803
-
804
- #: includes/views/admin_status_notifications.php:66
805
- msgid "Late Shipments"
806
- msgstr "Μεταγενέστερες αποστολές"
807
-
808
- #: includes/class-wc-advanced-shipment-tracking-admin.php:377
809
  msgid "License"
810
  msgstr "Αδεια"
811
 
812
- #: includes/views/admin_options_osm.php:57
813
- #: includes/views/admin_trackship_dashboard.php:117
814
  msgid "Light Font"
815
  msgstr "Φως γραμματοσειράς"
816
 
817
- #: includes/views/admin_options_shipping_provider.php:73
818
- msgid "Logo image"
819
- msgstr "Εικόνα λογοτύπου"
820
-
821
- #: includes/class-wc-advanced-shipment-tracking.php:299
822
  msgid "Mark as Completed?"
823
  msgstr "Σημειώστε ως ολοκληρωμένο;"
824
 
825
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
826
  msgid "Mark as Shipped"
827
  msgstr "Επισήμανση ως αποσταλεί"
828
 
829
- #: includes/class-wc-advanced-shipment-tracking.php:296
830
  msgid "Mark as Shipped?"
831
  msgstr "Ορίστε ως αποστολέα;"
832
 
833
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1592
834
  msgid "Mark order as delivered"
835
  msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
836
 
837
- #: includes/class-wc-advanced-shipment-tracking.php:491
838
  msgid "Mark order as:"
839
  msgstr "Σημειώστε την τάξη ως:"
840
 
841
- #: includes/customizer/class-wcast-customizer.php:353
842
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:148
843
  msgid "Mockup Order"
844
  msgstr "Παραγγελία κοροϊδεύω"
845
 
846
- #: includes/class-wc-advanced-shipment-tracking-admin.php:651
 
847
  msgid "more info"
848
  msgstr ""
849
  "περισσότερες πληροφορίες\n"
850
 
851
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2165
852
  msgid "Multiple API names mapping is a pro features"
853
  msgstr ""
854
  "Η αντιστοίχιση πολλαπλών ονομάτων API είναι επαγγελματικά χαρακτηριστικά"
855
 
856
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:242
857
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:246
858
- msgid "Notifications"
859
- msgstr "Ειδοποιήσεις"
860
-
861
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:269
862
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:929
863
- #: includes/customizer/class-wc-intransit-email-customizer.php:162
864
- #: includes/customizer/class-wc-onhold-email-customizer.php:73
865
- msgid "On Hold"
866
- msgstr "Σε κράτηση"
867
-
868
- #: includes/class-wc-advanced-shipment-tracking-admin.php:878
869
  msgid "Open the Track Button link in a new tab"
870
  msgstr "Ανοίξτε τον σύνδεσμο Κουμπί παρακολούθησης σε μια νέα καρτέλα"
871
 
872
- #: templates/tracking/tracking-form.php:13
873
- msgid "Order Email"
874
- msgstr ""
875
- "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
876
-
877
- #: includes/class-wc-advanced-shipment-tracking-admin.php:865
878
  msgid "Order Emails Display"
879
  msgstr "Εμφάνιση παραγγελιών"
880
 
881
- #: includes/class-wc-advanced-shipment-tracking-front.php:173
882
- #: includes/class-wc-advanced-shipment-tracking-front.php:184
883
- msgid "Order not found."
884
- msgstr "Η παραγγελία δεν βρέθηκε."
885
-
886
  #. %s: Order ID.
887
- #: templates/emails/wcast-email-order-details.php:53
888
  #, php-format
889
  msgid "Order number: %s"
890
  msgstr ""
891
  "Αριθμός παραγγελίας:% s\n"
892
 
893
- #: includes/class-wc-advanced-shipment-tracking-admin.php:459
894
- #: includes/class-wc-advanced-shipment-tracking-admin.php:463
 
895
  msgid "Order Statuses"
896
  msgstr "Καταστάσεις παραγγελίας"
897
 
898
- #: includes/class-wc-advanced-shipment-tracking.php:1169
899
- #: includes/class-wc-advanced-shipment-tracking.php:1245
 
900
  #, php-format
901
- msgid "Order was shipped with %s and tracking number is: %s"
902
- msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
903
-
904
- #: includes/views/front/layout1_tracking_details.php:49
905
- #: includes/views/front/layout1_tracking_details.php:113
906
- msgid "Origin Details"
907
- msgstr "Λεπτομέρειες προέλευσης"
908
 
909
- #: includes/class-wc-advanced-shipment-tracking-admin.php:643
910
  msgid "Other"
911
  msgstr "Αλλα"
912
 
913
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:290
914
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:864
915
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:938
916
- #: includes/customizer/class-wc-intransit-email-customizer.php:165
917
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:73
918
- msgid "Out For Delivery"
919
- msgstr ""
920
- "Out για παράδοση\n"
921
-
922
- #: includes/class-wc-advanced-shipment-tracking.php:482
923
  msgid "Partial Shipped"
924
  msgstr "Μερική αποστολή"
925
 
926
- #: includes/class-wc-advanced-shipment-tracking-admin.php:994
927
- #: includes/class-wc-advanced-shipment-tracking-settings.php:159
928
- #: includes/class-wc-advanced-shipment-tracking-settings.php:205
929
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:156
930
  msgid "Partially Shipped"
931
  msgstr "Μερικώς αποστέλλονται"
932
 
933
- #: includes/class-wc-advanced-shipment-tracking-settings.php:164
 
934
  #, php-format
935
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
936
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
937
  msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
938
  msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
939
 
940
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:959
941
- msgid "Pending"
942
- msgstr "εκκρεμής"
 
 
 
 
943
 
944
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:859
945
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:956
946
- msgid "Pending TrackShip"
947
- msgstr "Εκκρεμεί TrackShip"
 
 
948
 
949
  #. %s: search WooCommerce plugin link
950
- #: woocommerce-advanced-shipment-tracking.php:173
951
  #, php-format
952
  msgid ""
953
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
@@ -956,169 +730,108 @@ msgstr ""
956
  "Εγκαταστήστε και ενεργοποιήστε το% 1 $ sWooCommerce% 2 $ s για το Advanced "
957
  "Shipment Tracking για το WooCommerce!"
958
 
959
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
960
- msgid "Please select a order..."
961
- msgstr ""
962
- "Παρακαλώ επιλέξτε παραγγελία ...\n"
963
-
964
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:347
965
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:355
966
- #: includes/customizer/class-wc-delivered-email-customizer.php:368
967
- #: includes/customizer/class-wc-delivered-email-customizer.php:376
968
- #: includes/customizer/class-wc-failure-email-customizer.php:348
969
- #: includes/customizer/class-wc-failure-email-customizer.php:356
970
- #: includes/customizer/class-wc-intransit-email-customizer.php:422
971
- #: includes/customizer/class-wc-intransit-email-customizer.php:430
972
- #: includes/customizer/class-wc-onhold-email-customizer.php:344
973
- #: includes/customizer/class-wc-onhold-email-customizer.php:352
974
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:344
975
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
976
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:316
977
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:324
978
- #: includes/customizer/class-wc-returntosender-email-customizer.php:343
979
- #: includes/customizer/class-wc-returntosender-email-customizer.php:351
980
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:266
981
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:274
982
- #: includes/customizer/class-wc-exception-email-customizer.php:347
983
- #: includes/customizer/class-wc-exception-email-customizer.php:355
984
  msgid "Please select order to preview."
985
  msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
986
 
987
- #: includes/class-wc-advanced-shipment-tracking-admin.php:236
988
  msgid "Please upload a valid CSV file."
989
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
990
 
991
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:861
992
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:932
993
- msgid "Pre Transit"
994
- msgstr ""
995
- "Pre Transit\n"
996
-
997
- #: includes/customizer/class-wc-intransit-email-customizer.php:131
998
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
999
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
1000
- msgid "Preview order"
1001
- msgstr ""
1002
- "Προεπισκόπηση σειράς\n"
1003
-
1004
- #: includes/class-wc-advanced-shipment-tracking.php:386
1005
  msgid "Preview:"
1006
  msgstr "Επισκόπηση:"
1007
 
1008
- #: includes/class-wc-advanced-shipment-tracking.php:360
1009
- #: includes/class-wc-advanced-shipment-tracking-settings.php:448
1010
  msgid "Product Code:"
1011
  msgstr "Κωδικός προϊόντος:"
1012
 
1013
- #: includes/customizer/class-wc-tracking-page-customizer.php:160
1014
- msgid "Progress Bar"
1015
- msgstr "Γραμμή προόδου"
1016
-
1017
- #: includes/customizer/class-wc-tracking-info-customizer.php:142
1018
- #: includes/customizer/class-wc-tracking-info-customizer.php:670
1019
- #: templates/emails/tracking-info.php:198
1020
- #: templates/myaccount/tracking-info.php:180
1021
  msgid "Provider"
1022
  msgstr "Μεταφορέας"
1023
 
1024
- #: includes/views/admin_options_shipping_provider.php:48
1025
- #: templates/emails/tracking-info.php:204
1026
- #: templates/myaccount/tracking-info.php:186
1027
  msgid "Provider Name"
1028
  msgstr "Ονομα πάροχου"
1029
 
1030
- #: includes/views/admin_options_shipping_provider.php:105
1031
  msgid "Providers Added"
1032
  msgstr "Προστέθηκαν παροχείς"
1033
 
1034
- #: includes/views/admin_options_shipping_provider.php:107
1035
  msgid "Providers Deleted"
1036
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1037
 
1038
- #: includes/views/admin_options_shipping_provider.php:106
1039
  msgid "Providers Updated"
1040
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1041
 
1042
- #: includes/class-wc-advanced-shipment-tracking-admin.php:233
1043
  msgid "Really delete this entry? This will not be undo."
1044
  msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
1045
 
1046
- #: includes/views/admin_options_osm.php:11
1047
  msgid "Rename the “Completed” Order status label to “Shipped”"
1048
  msgstr ""
1049
  "Μετονομάστε την ετικέτα κατάστασης παραγγελίας που ολοκληρώθηκε σε "
1050
  "\"Αποστολή\""
1051
 
1052
- #: includes/views/admin_options_bulk_upload.php:47
1053
  msgid "Replace tracking information?"
1054
  msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
1055
 
1056
- #: includes/views/admin_options_shipping_provider.php:89
1057
  msgid "Reset"
1058
  msgstr "Reset"
1059
 
1060
- #: includes/views/admin_options_shipping_provider.php:111
1061
  msgid ""
1062
  "Reset providers database, it will reset all your shipping provider database"
1063
  msgstr ""
1064
  "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
1065
  "δεδομένων παρόχων αποστολής"
1066
 
1067
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:276
1068
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:869
1069
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:944
1070
- #: includes/customizer/class-wc-intransit-email-customizer.php:163
1071
- #: includes/customizer/class-wc-returntosender-email-customizer.php:74
1072
- msgid "Return To Sender"
1073
- msgstr ""
1074
- "Επιστροφή στον αποστολέα\n"
1075
-
1076
- #: includes/views/admin_status_notifications.php:156
1077
- msgid "Save Changes"
1078
- msgstr "Αποθήκευσε τις αλλαγές"
1079
 
1080
- #: includes/class-wc-advanced-shipment-tracking.php:383
1081
  msgid "Save Tracking"
1082
  msgstr "Αποθήκευση Παρακολούθησης"
1083
 
1084
- #: includes/views/admin_options_shipping_provider.php:23
1085
  msgid "Search by provider / country"
1086
  msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1087
 
1088
- #: includes/customizer/class-wc-tracking-info-customizer.php:183
1089
- msgid "Select an order to preview and design the tracking info display."
1090
- msgstr ""
1091
- "Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
1092
- "οθόνη πληροφοριών παρακολούθησης.\n"
1093
-
1094
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:175
1095
  msgid "Select email type"
1096
  msgstr "Επιλέξτε τύπο email"
1097
 
1098
- #: includes/class-wc-advanced-shipment-tracking.php:322
1099
  msgid "Select Provider"
1100
  msgstr "Επιλογή Παροχέα"
1101
 
1102
- #: includes/customizer/class-wc-intransit-email-customizer.php:157
1103
- msgid "Select shipment status"
1104
- msgstr "Επιλέξτε κατάσταση αποστολής"
1105
-
1106
- #: includes/customizer/class-wc-tracking-info-customizer.php:281
1107
  msgid "Select Template"
1108
  msgstr ""
1109
  "Επιλέξτε Πρότυπο\n"
1110
 
1111
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:591
1112
- #| msgid "Select Tracking Page"
1113
- msgid "Select tracking page"
1114
- msgstr "Επιλέξτε Σελίδα παρακολούθησης"
1115
-
1116
- #: includes/views/admin_options_osm.php:62
1117
  msgid "Send Email"
1118
  msgstr ""
1119
  "Να στείλετε e-mail\n"
1120
 
1121
- #: includes/class-wc-advanced-shipment-tracking-admin.php:762
1122
  msgid ""
1123
  "Set the \"mark as shipped\" option checked when adding tracking info to "
1124
  "orders"
@@ -1126,156 +839,126 @@ msgstr ""
1126
  "Ορίστε την επιλογή \"σήμανση ως αποσταλεί\" κατά την προσθήκη πληροφοριών "
1127
  "παρακολούθησης σε παραγγελίες"
1128
 
1129
- #: includes/class-wc-advanced-shipment-tracking-admin.php:385
1130
- #: includes/class-wc-advanced-shipment-tracking-admin.php:389
1131
  #: includes/views/admin_options_settings.php:9
1132
  msgid "Settings"
1133
  msgstr "Ρυθμίσεις"
1134
 
1135
- #: includes/views/admin_options_bulk_upload.php:58
1136
  msgid "Settings Saved."
1137
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1138
 
1139
- #: includes/class-wc-advanced-shipment-tracking-front.php:383
1140
- #: includes/views/front/preview_tracking_page.php:40
1141
- msgid "Shipment"
1142
- msgstr "Αποστολή"
1143
-
1144
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:674
1145
- #: includes/customizer/class-wc-intransit-email-customizer.php:153
1146
- msgid "Shipment Status"
1147
- msgstr "Κατάσταση αποστολής"
1148
-
1149
- #: templates/emails/plain/tracking-info.php:35
1150
  #, php-format
1151
  msgid "Shipment status changed to %s"
1152
  msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
1153
 
1154
- #: includes/class-wc-advanced-shipment-tracking-admin.php:248
1155
  #: includes/class-wc-advanced-shipment-tracking.php:138
1156
  #: includes/class-wc-advanced-shipment-tracking.php:219
1157
  msgid "Shipment Tracking"
1158
  msgstr "Παρακολούθηση Αποστολής"
1159
 
1160
- #: includes/views/admin_options_settings.php:20
1161
  msgid "Shipment Tracking API"
1162
  msgstr "API παρακολούθησης αποστολών"
1163
 
1164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:684
1165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:780
1166
- #: includes/class-wc-advanced-shipment-tracking.php:466
1167
- #: includes/class-wc-advanced-shipment-tracking-settings.php:343
1168
  msgid "Shipped"
1169
  msgstr "Αποστέλλονται"
1170
 
1171
- #: includes/class-wc-advanced-shipment-tracking-settings.php:362
 
1172
  #, php-format
1173
  msgid "Shipped <span class=\"count\">(%s)</span>"
1174
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
1175
  msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
1176
  msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:144
1179
- #: includes/customizer/class-wc-tracking-info-customizer.php:717
1180
  msgid "Shipped Date"
1181
  msgstr ""
1182
  "Ημερομηνία αποστολής\n"
1183
 
1184
- #: includes/customizer/class-wc-tracking-info-customizer.php:710
1185
  #| msgid "Ship date header text"
1186
  msgid "Shipped date header text"
1187
  msgstr "Κείμενο κεφαλίδας ημερομηνίας πλοίου"
1188
 
1189
  #. 1: shipping date
1190
- #: includes/class-wc-advanced-shipment-tracking.php:253
1191
  #, php-format
1192
  msgid "Shipped on %s"
1193
  msgstr "Στάλθηκε στις %s"
1194
 
1195
- #: includes/customizer/class-wc-tracking-info-customizer.php:152
1196
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
1197
  msgstr ""
1198
  "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
1199
  "{tracking_number_link}"
1200
 
1201
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1565
1202
  msgid "Shipped Order"
1203
  msgstr "Αποστολή παραγγελίας"
1204
 
1205
- #: includes/customizer/class-trackship-customizer.php:38
1206
- msgid "Shipping and Delivery Emails"
1207
- msgstr "Αποστολή και αποστολή email"
1208
-
1209
- #: includes/views/admin_options_shipping_provider.php:65
1210
  msgid "Shipping Country"
1211
  msgstr "Χώρα αποστολής"
1212
 
1213
- #: includes/views/admin_options_shipping_provider.php:49
1214
  msgid "Shipping Provider"
1215
  msgstr "Πάροχος αποστολών"
1216
 
1217
- #: includes/customizer/class-wc-tracking-info-customizer.php:663
1218
  msgid "Shipping provider header text"
1219
  msgstr "Κείμενο κεφαλίδας παρόχου αποστολής"
1220
 
1221
- #: includes/class-wc-advanced-shipment-tracking.php:320
1222
- #: includes/class-wc-advanced-shipment-tracking-settings.php:426
1223
- #: includes/class-wc-advanced-shipment-tracking-settings.php:428
1224
  msgid "Shipping Provider:"
1225
  msgstr "Πάροχος υπηρεσιών:"
1226
 
1227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:394
1228
- #: includes/class-wc-advanced-shipment-tracking-admin.php:398
1229
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1708
1230
- #: includes/views/admin_options_shipping_provider.php:21
1231
  msgid "Shipping Providers"
1232
  msgstr "Πάροχοι αποστολών"
1233
 
1234
- #: includes/views/admin_options_shipping_provider.php:109
 
 
 
 
1235
  msgid "Shipping providers database reset successfully."
1236
  msgstr ""
1237
  "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
1238
 
1239
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1240
- msgid "Show all Events"
1241
- msgstr "Εμφάνιση όλων των εκδηλώσεων"
1242
-
1243
- #: includes/customizer/class-wc-tracking-info-customizer.php:410
1244
  msgid "Show bottom border"
1245
  msgstr "Εμφάνιση περιθωρίου κάτω"
1246
 
1247
- #: includes/customizer/class-wc-tracking-page-customizer.php:217
1248
- msgid "Show last event & expand"
1249
- msgstr "Εμφάνιση τελευταίου συμβάντος και επέκταση"
1250
-
1251
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
1252
- msgid "Show tracking details"
1253
- msgstr ""
1254
- "Εμφάνιση λεπτομερειών παρακολούθησης\n"
1255
-
1256
- #: includes/customizer/class-wc-tracking-info-customizer.php:317
1257
  msgid "Simple Layout Design"
1258
  msgstr ""
1259
  "Απλό σχέδιο διάταξης\n"
1260
 
1261
- #: includes/views/admin_status_notifications.php:18
1262
- msgid "SMS Notifications"
1263
- msgstr "Ειδοποιήσεις SMS"
1264
-
1265
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:406
1266
  msgid "Special character not allowd in tracking number"
1267
  msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
1268
 
1269
- #: includes/views/admin_trackship_dashboard.php:49
1270
- msgid "Subscription: "
1271
- msgstr "Συνδρομή:"
1272
-
1273
- #: includes/views/admin_options_shipping_provider.php:99
1274
- #: includes/views/admin_options_shipping_provider.php:113
1275
  msgid "Sync Shipping Providers"
1276
  msgstr "Sync Shipping Providers"
1277
 
1278
- #: includes/views/admin_options_shipping_provider.php:103
1279
  msgid ""
1280
  "Syncing the shipping providers list add or updates the pre-set shipping "
1281
  "providers and will not effect custom shipping providers."
@@ -1284,33 +967,33 @@ msgstr ""
1284
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1285
  "προσαρμοσμένους παροχείς αποστολής."
1286
 
1287
- #: includes/customizer/class-wc-tracking-info-customizer.php:812
1288
  msgid "Table Content"
1289
  msgstr "Περιεχόμενο πίνακα"
1290
 
1291
- #: includes/customizer/class-wc-tracking-info-customizer.php:542
1292
  msgid "Table Design Options"
1293
  msgstr "Επιλογές σχεδίασης πίνακα"
1294
 
1295
- #: includes/customizer/class-wc-tracking-info-customizer.php:627
1296
  #| msgid "Table Headers"
1297
  msgid "Table Header"
1298
  msgstr "Κεφαλίδες στον πίνακα"
1299
 
1300
- #: includes/customizer/class-wc-tracking-info-customizer.php:282
1301
  msgid "Table Layout"
1302
  msgstr ""
1303
  "Διάταξη πίνακα\n"
1304
 
1305
- #: includes/customizer/class-wc-tracking-info-customizer.php:449
1306
  msgid "Table Options"
1307
  msgstr "Επιλογές πίνακα"
1308
 
1309
- #: includes/customizer/class-wc-tracking-info-customizer.php:603
1310
  msgid "Text align"
1311
  msgstr "Στοίχιση κειμένου"
1312
 
1313
- #: includes/views/admin_options_shipping_provider.php:52
1314
  msgid ""
1315
  "The custom display name will show in the tracking info section on the "
1316
  "customer order emails, my-account, and TrackShip's tracking page and email "
@@ -1320,238 +1003,126 @@ msgstr ""
1320
  "παρακολούθησης στα μηνύματα παραγγελίας πελατών, στον λογαριασμό μου και στη "
1321
  "σελίδα παρακολούθησης του TrackShip και στις ειδοποιήσεις μέσω email"
1322
 
1323
- #: includes/class-wc-advanced-shipment-tracking-settings.php:693
1324
  msgid "There are some issue with sync, Please Retry."
1325
  msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
1326
 
1327
- #: includes/class-wc-advanced-shipment-tracking-admin.php:235
1328
  msgid "This browser does not support HTML5."
1329
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
1330
 
1331
- #: includes/customizer/class-wc-late-shipments-email-customizer.php:28
1332
- #: includes/views/admin_status_notifications.php:121
1333
- msgid ""
1334
- "This order was shipped {shipment_length} days ago, the shipment status is "
1335
- "{shipment_status} and its est. delivery date is {est_delivery_date}."
1336
- msgstr ""
1337
- "Αυτή η παραγγελία εστάλη πριν από {shipment_length} ημέρες, η κατάσταση "
1338
- "αποστολής είναι {shipment_status} και η εκτιμώμενη ημερομηνία παράδοσής της "
1339
- "είναι {est_delivery_date}."
1340
-
1341
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:297
1342
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
1343
- #: includes/customizer/class-wc-failure-email-customizer.php:295
1344
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
1345
- #: includes/customizer/class-wc-onhold-email-customizer.php:295
1346
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:294
1347
- #: includes/customizer/class-wc-returntosender-email-customizer.php:295
1348
- #: includes/customizer/class-wc-exception-email-customizer.php:295
1349
- msgid "This will be appended to URL in the email content"
1350
- msgstr ""
1351
- "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
1352
-
1353
- #: templates/tracking/tracking-form.php:11
1354
- msgid ""
1355
- "To track your order please enter your Order ID in the box below and press "
1356
- "the \"Track\" button. This was given to you on your receipt and in the "
1357
- "confirmation email you should have received."
1358
- msgstr ""
1359
- "Για να παρακολουθήσετε την παραγγελία σας, εισαγάγετε το αναγνωριστικό "
1360
- "παραγγελίας σας στο παρακάτω πλαίσιο και πατήστε το κουμπί \"Παρακολούθηση\"."
1361
- " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
1362
- "να έχετε λάβει.\n"
1363
-
1364
- #: includes/views/admin_options_tools.php:17
1365
- msgid "Tools"
1366
- msgstr "Εργαλεία"
1367
-
1368
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1376
1369
- msgid "Total Shipments"
1370
- msgstr "Συνολικές αποστολές"
1371
-
1372
- #: includes/class-wc-advanced-shipment-tracking.php:758
1373
- #: includes/class-wc-advanced-shipment-tracking.php:791
1374
- #: includes/class-wc-advanced-shipment-tracking.php:809
1375
- #: includes/customizer/class-wc-tracking-info-customizer.php:145
1376
- #: includes/customizer/class-wc-tracking-info-customizer.php:973
1377
- #: templates/emails/tracking-info.php:240
1378
- #: templates/myaccount/tracking-info.php:222
1379
- #: templates/myaccount/tracking-info.php:224
1380
- #: templates/tracking/tracking-form.php:16
1381
  msgid "Track"
1382
  msgstr "Παρακολούθηση"
1383
 
1384
- #: includes/customizer/class-wc-tracking-info-customizer.php:930
1385
  msgid "Track Button"
1386
  msgstr "Κουμπί παρακολούθησης"
1387
 
1388
- #: includes/customizer/class-wc-tracking-info-customizer.php:947
1389
  msgid "Track Header"
1390
  msgstr "Παρακολούθηση κεφαλίδας"
1391
 
1392
- #: includes/customizer/class-wc-tracking-info-customizer.php:966
1393
  msgid "Track header text"
1394
  msgstr ""
1395
  "Κείμενο κεφαλίδας παρακολούθησης\n"
1396
 
1397
- #: includes/class-wc-advanced-shipment-tracking.php:241
1398
- #: includes/class-wc-advanced-shipment-tracking.php:386
1399
  msgid "Track Shipment"
1400
  msgstr "Παρακολούθηση αποστολής"
1401
 
1402
- #: includes/views/admin_trackship_dashboard.php:50
1403
- #| msgid "Trackers Balance"
1404
- msgid "Trackers Balance: "
1405
- msgstr "Υπόλοιπο ιχνηλάτη"
1406
-
1407
- #: includes/views/front/layout1_tracking_details.php:10
1408
- #: includes/views/front/layout1_tracking_details.php:87
1409
- msgid "Tracking Details"
1410
- msgstr "Στοιχεία παρακολούθησης"
1411
-
1412
- #: includes/class-wc-advanced-shipment-tracking-front.php:196
1413
- msgid "Tracking details not found"
1414
- msgstr "Δεν βρέθηκαν λεπτομέρειες παρακολούθησης"
1415
-
1416
- #: includes/class-wc-advanced-shipment-tracking-front.php:421
1417
- msgid "Tracking details not found in TrackShip"
1418
- msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
1419
-
1420
- #: includes/customizer/class-wc-tracking-info-customizer.php:296
1421
- #: includes/customizer/class-wc-tracking-info-customizer.php:299
1422
  msgid "Tracking display layout"
1423
  msgstr "Παρακολούθηση της διάταξης προβολής"
1424
 
1425
- #: includes/customizer/class-wc-tracking-info-customizer.php:204
1426
  msgid "Tracking Display Position"
1427
  msgstr "Παρακολούθηση θέσης προβολής"
1428
 
1429
- #: includes/customizer/class-wc-tracking-info-customizer.php:243
1430
  msgid "Tracking Header text"
1431
  msgstr ""
1432
  "Κείμενο κεφαλίδας εντοπισμού\n"
1433
 
1434
- #: includes/customizer/class-wc-tracking-page-customizer.php:161
1435
- #| msgid "Tracking issues"
1436
- msgid "Tracking Icons"
1437
- msgstr "Παρακολούθηση ζητημάτων"
1438
-
1439
- #: includes/customizer/class-wcast-customizer.php:28
1440
  msgid "Tracking info display"
1441
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
1442
 
1443
- #: includes/views/admin_options_tools.php:10
1444
- #: includes/views/admin_trackship_dashboard.php:11
1445
- msgid "Tracking info sent to Trackship for all Orders."
1446
- msgstr ""
1447
- "Οι πληροφορίες παρακολούθησης εστάλησαν στο Trackship για όλες τις "
1448
- "παραγγελίες."
1449
-
1450
- #: includes/class-wc-advanced-shipment-tracking.php:713
1451
  #, php-format
 
 
1452
  msgid ""
1453
- "Tracking info was deleted for tracking provider %s with tracking number %s"
 
1454
  msgstr ""
1455
- "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
1456
- "με τον αριθμό παρακολούθησης% s"
1457
 
1458
- #: includes/customizer/class-wc-tracking-info-customizer.php:250
1459
  msgid "Tracking Information"
1460
  msgstr "Πληροφορίες Παρακολούθησης"
1461
 
1462
- #: includes/class-wc-advanced-shipment-tracking-front.php:401
1463
- msgid ""
1464
- "Tracking information is not available, please try again in a few minutes."
1465
- msgstr ""
1466
- "Οι πληροφορίες παρακολούθησης δεν είναι διαθέσιμες. Δοκιμάστε ξανά σε λίγα "
1467
- "λεπτά."
1468
-
1469
- #: includes/customizer/class-wc-tracking-info-customizer.php:143
1470
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
1471
- #: templates/emails/tracking-info.php:217
1472
- #: templates/myaccount/tracking-info.php:199
1473
  msgid "Tracking Number"
1474
  msgstr "Αριθμός"
1475
 
1476
- #: includes/customizer/class-wc-tracking-info-customizer.php:687
1477
  #| msgid "Tracking Number header text"
1478
  msgid "Tracking number header text"
1479
  msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
1480
 
1481
- #: includes/class-wc-advanced-shipment-tracking.php:316
1482
- #: includes/class-wc-advanced-shipment-tracking-settings.php:422
1483
  msgid "Tracking number:"
1484
  msgstr "Αριθμός Παρακολούθησης:"
1485
 
1486
- #: includes/views/admin_trackship_dashboard.php:137
1487
- msgid "Tracking Page"
1488
- msgstr "Σελίδα Παρακολούθησης"
1489
-
1490
- #: includes/customizer/class-trackship-customizer.php:31
1491
- #| msgid "Tracking Page Layout"
1492
- msgid "Tracking Page Widget"
1493
- msgstr "Παρακολούθηση διάταξης σελίδας"
1494
-
1495
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:605
1496
- msgid "Tracking Widget Customizer"
1497
- msgstr "Παρακολούθηση Widget παρακολούθησης"
1498
-
1499
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1711
1500
  msgid "TrackShip"
1501
  msgstr "TrackShip"
1502
 
1503
- #: includes/views/admin_trackship_dashboard.php:41
1504
- msgid "TrackShip Account"
1505
- msgstr "Λογαριασμός TrackShip"
1506
-
1507
- #: includes/views/admin_trackship_dashboard.php:19
1508
- msgid "TrackShip Connection Status"
1509
- msgstr "Κατάσταση σύνδεσης TrackShip"
1510
-
1511
- #: includes/views/admin_trackship_dashboard.php:53
1512
- msgid "TrackShip Dashboard"
1513
- msgstr "Πίνακας ελέγχου TrackShip"
1514
-
1515
- #: includes/views/admin_status_notifications.php:136
1516
- msgid "Trigger Alert"
1517
- msgstr "Ειδοποίηση ενεργοποίησης"
1518
-
1519
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:860
1520
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:953
1521
- msgid "Unknown"
1522
- msgstr "Αγνωστος"
1523
-
1524
- #: includes/views/admin_options_shipping_provider.php:88
1525
  msgid "Update"
1526
  msgstr "Update"
1527
 
1528
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1011
1529
- #: includes/class-wc-advanced-shipment-tracking-settings.php:145
1530
- #: includes/class-wc-advanced-shipment-tracking-settings.php:191
1531
- #: includes/class-wc-advanced-shipment-tracking-settings.php:324
1532
  msgid "Updated Tracking"
1533
  msgstr "Ενημερωμένη παρακολούθηση"
1534
 
1535
- #: includes/class-wc-advanced-shipment-tracking-settings.php:150
 
1536
  #, php-format
1537
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1538
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1539
  msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1540
  msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1541
 
1542
- #: includes/views/admin_options_shipping_provider.php:76
1543
- msgid "Upload"
1544
- msgstr "Μεταφόρτωση"
1545
-
1546
- #: includes/views/admin_options_bulk_upload.php:25
1547
  msgid "Upload a CSV file from your computer:"
1548
  msgstr "Upload a CSV file from your computer:"
1549
 
1550
- #: includes/views/admin_options_bulk_upload.php:108
1551
  msgid "Upload again"
1552
  msgstr "Μεταφόρτωση ξανά"
1553
 
1554
- #: includes/views/admin_options_bulk_upload.php:11
1555
  msgid ""
1556
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1557
  "file"
@@ -1559,48 +1130,23 @@ msgstr ""
1559
  "Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
1560
  "παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
1561
 
1562
- #: includes/customizer/class-wc-tracking-info-customizer.php:523
1563
  msgid "Use tracking number as a link"
1564
  msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1565
 
1566
- #: includes/class-wc-advanced-shipment-tracking-settings.php:710
1567
- #: includes/class-wc-advanced-shipment-tracking-settings.php:727
1568
- #: includes/class-wc-advanced-shipment-tracking-settings.php:744
1569
- #: includes/views/admin_options_bulk_upload.php:86
1570
  msgid "view details"
1571
  msgstr "δείτε λεπτομέρειες"
1572
 
1573
- #: includes/views/front/layout1_tracking_details.php:80
1574
- #: includes/views/front/preview_tracking_page.php:130
1575
- msgid "view less"
1576
- msgstr "δείτε λιγότερα"
1577
-
1578
- #: includes/views/front/layout1_tracking_details.php:79
1579
- #: includes/views/front/preview_tracking_page.php:129
1580
- msgid "view more"
1581
- msgstr "Δείτε περισσότερα"
1582
-
1583
- #: includes/views/admin_options_bulk_upload.php:107
1584
  msgid "View Orders"
1585
  msgstr "Προβολή παραγγελιών"
1586
 
1587
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1397
1588
- msgid "View Tracking Analytics"
1589
- msgstr "Δείτε το Analytics παρακολούθησης"
1590
-
1591
- #. %s: replace with delivered order count
1592
- #: woocommerce-advanced-shipment-tracking.php:516
1593
- #, php-format
1594
- msgid ""
1595
- "We detected %s orders that use the Delivered order status, You can reassign "
1596
- "these orders to a different status"
1597
- msgstr ""
1598
- "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση παραδοθείσας "
1599
- "παραγγελίας. Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε "
1600
- "διαφορετική κατάσταση"
1601
-
1602
  #. %s: replace with Partially Shipped order count
1603
- #: woocommerce-advanced-shipment-tracking.php:532
1604
  #, php-format
1605
  msgid ""
1606
  "We detected %s orders that use the Partially Shipped order status, You can "
@@ -1609,56 +1155,23 @@ msgstr ""
1609
  "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
1610
  "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
1611
 
1612
- #: includes/views/admin_trackship_dashboard.php:7
1613
- #, php-format
1614
- msgid ""
1615
- "We detected %s Shipped orders from the last 30 days that were not sent to "
1616
- "TrackShip, you can bulk send them to TrackShip"
1617
- msgstr ""
1618
- "Εντοπίσαμε% s Αποστολές παραγγελιών από τις τελευταίες 30 ημέρες που δεν "
1619
- "εστάλησαν στο TrackShip, μπορείτε να τις στείλετε μαζικά στο TrackShip"
1620
-
1621
- #: includes/views/admin_options_shipping_provider.php:53
1622
  msgid "White Label Provider Name"
1623
  msgstr "Όνομα παρόχου λευκής ετικέτας"
1624
 
1625
- #: includes/customizer/class-wc-tracking-page-customizer.php:192
1626
- msgid "Widget background color"
1627
- msgstr "Χρώμα φόντου Widget"
1628
-
1629
- #: includes/customizer/class-wc-tracking-page-customizer.php:176
1630
- msgid "Widget border color"
1631
- msgstr "Χρώμα περιγράμματος Widget"
1632
-
1633
- #: includes/customizer/class-wc-tracking-page-customizer.php:153
1634
- #: includes/customizer/class-wc-tracking-page-customizer.php:156
1635
- msgid "Widget Tracker Type"
1636
- msgstr "Τύπος παρακολούθησης Widget"
1637
-
1638
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:971
1639
- msgid "Wrong Shipping Provider"
1640
- msgstr "Λάθος πάροχος αποστολών"
1641
-
1642
- #: includes/class-wc-advanced-shipment-tracking.php:369
1643
- #: includes/class-wc-advanced-shipment-tracking.php:372
1644
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1645
- #: includes/class-wc-advanced-shipment-tracking-settings.php:453
1646
  msgid "Y-m-d"
1647
  msgstr "Υ-μ-η"
1648
 
1649
- #: includes/views/admin_options_tools.php:18
1650
- msgid ""
1651
- "You can send all your orders from the last 30 days to get shipment status "
1652
- "from TrackShip:"
1653
- msgstr ""
1654
- "Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευταίες 30 ημέρες "
1655
- "για να λάβετε την κατάσταση αποστολής από το TrackShip:"
1656
-
1657
- #: includes/class-wc-advanced-shipment-tracking-admin.php:234
1658
  msgid "You can upload only csv file."
1659
  msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
1660
 
1661
- #: includes/views/admin_options_shipping_provider.php:83
 
1662
  msgid ""
1663
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1664
  "URL, for more info, check our "
@@ -1666,92 +1179,27 @@ msgstr ""
1666
  "Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
1667
  "country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
1668
 
1669
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1830
 
1670
  #, php-format
1671
  msgid "You did not create any %s shipping providers yet."
1672
  msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
1673
 
1674
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1836
 
1675
  #, php-format
1676
  msgid "You don't have any %s shipping providers."
1677
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
1678
 
1679
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1112
1680
- #, php-format
1681
- msgid "You got %s %s orders with shipment status “TrackShip connection issue”"
1682
- msgstr ""
1683
- "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Πρόβλημα σύνδεσης "
1684
- "TrackShip\""
1685
-
1686
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1103
1687
- #, php-format
1688
- msgid "You got %s %s orders with shipment status “TrackShip balance is 0”"
1689
- msgstr ""
1690
- "Λάβατε παραγγελίες% s% s με κατάσταση αποστολής \"Το υπόλοιπο TrackShip "
1691
- "είναι 0\""
1692
-
1693
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1094
1694
- #, php-format
1695
- msgid ""
1696
- "You got %s %s orders with tracking info that were not sent to track on "
1697
- "TrackShip"
1698
- msgstr ""
1699
- "Λάβατε παραγγελίες% s% s με πληροφορίες παρακολούθησης που δεν εστάλησαν για "
1700
- "παρακολούθηση στο TrackShip"
1701
-
1702
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:578
1703
- msgid ""
1704
- "You must add the shortcode [wcast-track-order] to the selected page in order "
1705
- "for the tracking page to work."
1706
- msgstr ""
1707
- "Πρέπει να προσθέσετε τον σύντομο κώδικα [wcast-track-order] στην επιλεγμένη "
1708
- "σελίδα για να λειτουργήσει η σελίδα παρακολούθησης."
1709
-
1710
- #: includes/customizer/class-wc-delivered-email-customizer.php:73
1711
- msgid "Your order #{order_number} has been delivered"
1712
- msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
1713
-
1714
- #: includes/customizer/class-wc-returntosender-email-customizer.php:73
1715
- msgid "Your order #{order_number} has returned to sender"
1716
- msgstr ""
1717
- "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1718
-
1719
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:73
1720
- msgid "Your order #{order_number} is available for pickup"
1721
- msgstr ""
1722
- "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
1723
-
1724
- #: includes/customizer/class-wc-exception-email-customizer.php:72
1725
- msgid "Your order #{order_number} is Exception"
1726
- msgstr "Η παραγγελία σας # {order_number} είναι Εξαίρεση"
1727
-
1728
- #: includes/customizer/class-wc-failure-email-customizer.php:72
1729
- msgid "Your order #{order_number} is Failed Attempt"
1730
- msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1731
-
1732
- #: includes/customizer/class-wc-intransit-email-customizer.php:98
1733
- msgid "Your order #{order_number} is in transit"
1734
- msgstr ""
1735
- "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1736
-
1737
- #: includes/customizer/class-wc-onhold-email-customizer.php:72
1738
- msgid "Your order #{order_number} is on hold"
1739
- msgstr "Η παραγγελία σας # {order_number} βρίσκεται σε αναμονή"
1740
-
1741
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:72
1742
- msgid "Your order #{order_number} is out for delivery"
1743
- msgstr ""
1744
- "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1745
-
1746
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
1747
  msgid "Your Order is Partially Shipped"
1748
  msgstr "Η παραγγελία σας έχει αποσταλεί μερικώς"
1749
 
1750
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1751
  msgid "Your {site_title} order is now partially shipped"
1752
  msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
1753
 
1754
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:114
1755
  msgid "Your {site_title} order is now updated tracking"
1756
  msgstr ""
1757
  "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
+ #. %s: search WooCommerce plugin link
18
+ #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "τεκμηρίωση"
22
 
23
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
24
  msgid "Actions"
25
  msgstr "Actions"
26
 
27
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
+ msgid "Add API Name alias"
29
+ msgstr "Προσθήκη ψευδωνύμου ονόματος API"
30
 
31
+ #: includes/views/admin_options_shipping_provider.php:65
32
  msgid ""
33
  "Add API name aliases to map Shipping providers names with the provider names "
34
  "that are updated in the shipment tracking API by external shipping services"
37
  "ονόματα παρόχων που ενημερώνονται στο API παρακολούθησης αποστολών από "
38
  "εξωτερικές υπηρεσίες αποστολής"
39
 
40
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
42
  msgid "Add Custom Provider"
43
  msgstr "Προσθήκη προσαρμοσμένου παροχέα"
44
 
55
  "στους λογαριασμούς πελατών (στον πίνακα παραγγελιών) και στο πλήρες email "
56
  "της παραγγελίας WooCommerce."
57
 
58
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
  msgid "add the [wcast-track-order] shortcode in the selected page."
60
  msgstr ""
61
  "προσθέστε τον σύντομο κωδικό [wcast-track-order] στην επιλεγμένη σελίδα."
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
64
  msgid "Add Tracking"
65
  msgstr "Add Tracking"
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:339
68
  msgid "Add Tracking - order\t"
69
  msgstr "Add Tracking - order\t"
70
 
71
+ #: includes/class-wc-advanced-shipment-tracking.php:517
72
  msgid "Add Tracking Info"
73
  msgstr "Προσθήκη Παρακολούθησης"
74
 
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:605
76
+ msgid ""
77
+ "Add Tracking Information in AST meta fields when you automatically sync "
78
+ "tracking numbers from aliexpress orders"
79
+ msgstr ""
80
+ "Προσθέστε πληροφορίες παρακολούθησης στα μετα -πεδία AST όταν συγχρονίζετε "
81
+ "αυτόματα τους αριθμούς παρακολούθησης από παραγγελίες aliexpress"
82
+
83
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
+ msgid ""
85
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
+ "& Packing Slips plugin By Ewout Fernhout"
87
+ msgstr ""
88
+ "Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργούνται "
89
+ "από την προσθήκη WooCommerce PDF Invoices & Packing Slips By Ewout Fernhout"
90
+
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:625
92
+ msgid ""
93
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
94
+ "plugin By Bas Elbers"
95
+ msgstr ""
96
+ "Προσθέστε πληροφορίες παρακολούθησης στο τιμολόγιο PDF που δημιουργείται από "
97
+ "την προσθήκη WooCommerce PDF Invoices By Bas Elbers"
98
+
99
+ #: includes/views/admin_options_settings.php:16
100
  msgid "Add Tracking Options"
101
  msgstr "Προσθήκη επιλογών παρακολούθησης"
102
 
103
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
104
  msgid "Add Tracking Order action"
105
  msgstr "Προσθέστε ενέργεια εντολής παρακολούθησης"
106
 
107
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:585
108
+ msgid ""
109
+ "Adding tracking information to your orders shipped with 3plwinner and "
110
+ "automate your workflow"
111
+ msgstr ""
112
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
113
+ "αποστέλλονται με 3plwinner και αυτοματοποιήστε τη ροή εργασίας σας"
114
+
115
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
116
+ msgid ""
117
+ "Adding tracking information to your orders shipped with CustomCat and "
118
+ "automate your workflow"
119
+ msgstr ""
120
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
121
+ "αποστέλλονται με CustomCat και αυτοματοποιήστε τη ροή εργασίας σας"
122
+
123
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:555
124
+ msgid ""
125
+ "Adding tracking information to your orders shipped with Dear Systems and "
126
+ "automate your workflow"
127
+ msgstr ""
128
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
129
+ "αποστέλλονται με Dear Systems και αυτοματοποιήστε τη ροή εργασίας σας"
130
+
131
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:595
132
+ msgid ""
133
+ "Adding tracking information to your orders shipped with Dianxiaomi and "
134
+ "automate your workflow"
135
+ msgstr ""
136
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
137
+ "αποστέλλονται με Dianxiaomi και αυτοματοποιήστε τη ροή εργασίας σας"
138
+
139
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:575
140
+ msgid ""
141
+ "Adding tracking information to your orders shipped with Picqer and automate "
142
+ "your workflow"
143
+ msgstr ""
144
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
145
+ "αποστέλλονται με Picqer και αυτοματοποιήστε τη ροή εργασίας σας"
146
+
147
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:565
148
+ msgid ""
149
+ "Adding tracking information to your orders shipped with Printify and "
150
+ "automate your workflow"
151
+ msgstr ""
152
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
153
+ "αποστέλλονται με Printify και αυτοματοποιήστε τη ροή εργασίας σας"
154
+
155
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:515
156
+ msgid ""
157
+ "Adding tracking information to your orders shipped with QuickBooks Commerce "
158
+ "and automate your workflow"
159
+ msgstr ""
160
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
161
+ "αποστέλλονται με το QuickBooks Commerce και αυτοματοποιήστε τη ροή εργασίας "
162
+ "σας"
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
+ msgid ""
166
+ "Adding tracking information to your orders shipped with ReadyToShip and "
167
+ "automate your workflow"
168
+ msgstr ""
169
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
170
+ "αποστέλλονται με το ReadyToShip και αυτοματοποιήστε τη ροή εργασίας σας"
171
+
172
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
+ msgid ""
174
+ "Adding tracking information to your orders shipped with Royal Mail Click & "
175
+ "Drop and automate your workflow"
176
+ msgstr ""
177
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
178
+ "αποστέλλονται με Royal Mail Click & Drop και αυτοματοποιήστε τη ροή εργασίας "
179
+ "σας"
180
+
181
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:475
182
+ msgid ""
183
+ "Adding tracking information to your orders shipped with ShipStation and "
184
+ "automate your workflow"
185
+ msgstr ""
186
+ "Προσθέτοντας πληροφορίες παρακολούθησης στις παραγγελίες σας που "
187
+ "αποστέλλονται με ShipStation και αυτοματοποιήστε τη ροή εργασίας σας"
188
+
189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:485
190
+ msgid ""
191
+ "Adding tracking information to your orders shipped with WooCommerce Shipping "
192
+ "to the Shipment Tracking and automate your workflow"
193
+ msgstr ""
194
+ "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας που αποστέλλονται "
195
+ "με WooCommerce Shipping στην παρακολούθηση αποστολών και αυτοματοποιήστε τη "
196
+ "ροή εργασίας σας"
197
+
198
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:505
199
+ msgid ""
200
+ "Adding tracking information to your orders when generating shipping labels "
201
+ "using the Ordoro"
202
+ msgstr ""
203
+ "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας κατά τη δημιουργία "
204
+ "ετικετών αποστολής χρησιμοποιώντας το Ordoro"
205
+
206
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:495
207
+ msgid ""
208
+ "Adding tracking information to your orders when generating shipping labels "
209
+ "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
210
+ "PluginHive"
211
+ msgstr ""
212
+ "Προσθήκη πληροφοριών παρακολούθησης στις παραγγελίες σας κατά τη δημιουργία "
213
+ "ετικετών αποστολής χρησιμοποιώντας το πρόσθετο αποστολής WooCommerce UPS "
214
+ "Shipping με προσθήκη ετικέτας Print από την PluginHive"
215
+
216
+ #: includes/customizer/class-wc-tracking-info-customizer.php:245
217
  msgid "Additional text after header"
218
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
219
 
 
 
 
 
220
  #. Name of the plugin
221
  msgid "Advanced Shipment Tracking for WooCommerce"
222
  msgstr "Προηγμένη παρακολούθηση αποστολών για το WooCommerce"
223
 
224
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
225
  msgid "After Order Details"
226
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
227
 
228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
229
  msgid "API aliases"
230
  msgstr "Ψευδώνυμα API"
231
 
232
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
233
+ msgid "API Date Format"
234
+ msgstr "Μορφή ημερομηνίας API"
235
+
236
+ #: includes/views/admin_options_shipping_provider.php:67
237
  msgid "API Name"
238
  msgstr "Όνομα API"
239
 
240
+ #: includes/customizer/class-wc-tracking-info-customizer.php:333
241
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
242
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
243
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
244
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
245
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
246
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
247
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
248
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  msgid "Available variables:"
250
  msgstr "Διαθέσιμες μεταβλητές:"
251
 
252
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
 
 
 
 
253
  msgid "Before Order Details"
254
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
255
 
256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:537
257
  msgid "Border color"
258
  msgstr ""
259
  "Χρώμα πλαισίου\n"
260
 
261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
262
  msgid "Border size"
263
  msgstr ""
264
  "Μέγεθος περιθωρίου\n"
265
 
266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
267
  msgid "Bottom border color"
268
  msgstr "Το χρώμα του κάτω ορίου"
269
 
270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:968
271
  msgid "Button color"
272
  msgstr "Χρώμα κουμπιού"
273
 
274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:986
275
  msgid "Button font color"
276
  msgstr "Χρώμα γραμματοσειράς κουμπιού"
277
 
278
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
279
  msgid "Cannot create existing order shipment tracking."
280
  msgstr ""
281
  "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
282
  "παραγγελιών."
283
 
284
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
285
  msgid "Change order status to"
286
  msgstr "Change order status to"
287
 
288
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:299
289
  msgid "Change status to shipped"
290
  msgstr "Αλλάξτε την κατάσταση αποστολής"
291
 
292
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
293
  msgid "Choose for which Order status to display"
294
  msgstr "Επιλέξτε για ποια κατάσταση παραγγελίας θα εμφανίζεται"
295
 
296
+ #: includes/views/admin_options_bulk_upload.php:32
297
  msgid "Choose the Shipped Date format"
298
  msgstr "Επιλέξτε τη μορφή αποστολής ημερομηνίας"
299
 
300
+ #: includes/class-wc-advanced-shipment-tracking.php:467
301
  msgid "Completed"
302
  msgstr "Ολοκληρώθηκε το"
303
 
304
+ #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
305
  msgid "Content"
306
  msgstr "Περιεχόμενο"
307
 
308
+ #: includes/customizer/class-wc-tracking-info-customizer.php:807
309
  msgid "Content Background color"
310
  msgstr "Χρώμα φόντου περιεχομένου"
311
 
312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:370
313
+ #: includes/customizer/class-wc-tracking-info-customizer.php:825
314
  msgid "Content font color"
315
  msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
316
 
317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
321
 
322
+ #: includes/customizer/class-wc-tracking-info-customizer.php:885
323
  msgid "Content font weight"
324
  msgstr ""
325
  "Βάρος γραμματοσειράς περιεχομένου\n"
326
 
327
+ #: includes/customizer/class-wc-tracking-info-customizer.php:862
328
  msgid "Content line height"
329
  msgstr ""
330
  "Το ύψος της γραμμής περιεχομένου\n"
331
 
332
+ #: includes/views/admin_options_bulk_upload.php:55
333
  msgid "Continue"
334
  msgstr "Να συνεχίσει"
335
 
336
+ #: includes/views/admin_options_shipping_provider.php:72
337
  msgid "Country"
338
  msgstr "Country"
339
 
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:381
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:385
342
+ #: includes/views/admin_options_bulk_upload.php:8
343
  msgid "CSV Import"
344
  msgstr "Εισαγωγή CSV"
345
 
346
+ #: includes/views/admin_options_shipping_provider.php:65
347
  msgid "Custom API name"
348
  msgstr "Προσαρμοσμένο όνομα API"
349
 
350
+ #: includes/views/admin_options_shipping_provider.php:61
351
  msgid "Custom display name"
352
  msgstr "Προσαρμοσμένο εμφανιζόμενο όνομα"
353
 
354
+ #: includes/customizer/class-wcast-customizer.php:44
355
  msgid "Custom order status email"
356
  msgstr "Email κατάστασης προσαρμοσμένης παραγγελίας"
357
 
358
+ #: includes/views/admin_options_shipping_provider.php:82
 
 
 
 
359
  msgid "Custom URL"
360
  msgstr "προσαρμοσμένη διεύθυνση URL"
361
 
362
+ #: includes/views/admin_options_settings.php:32
363
  msgid "Customer View"
364
  msgstr "Προβολή πελατών"
365
 
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:712
367
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:832
 
 
 
 
368
  msgid "Customize"
369
  msgstr "Προσαρμόστε"
370
 
371
+ #: includes/views/admin_options_osm.php:66
 
 
 
 
 
372
  msgid "Dark Font"
373
  msgstr ""
374
  "Σκούρα γραμματοσειρά\n"
375
 
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
377
  msgid "Data saved successfully."
378
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking.php:369
381
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:377
382
  msgid "Date shipped:"
383
  msgstr "Ημερομηνία αποστολής:"
384
 
385
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
 
 
 
 
386
  #| msgid "Default"
387
  msgid "default"
388
  msgstr "Προκαθορισμένο"
389
 
390
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
391
  msgid "Delivered"
392
  msgstr "Παραδόθηκε"
393
 
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
395
  msgid "Display Name"
396
  msgstr "Εμφανιζόμενο όνομα"
397
 
398
+ #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
399
  msgid "Display shipping provider image"
400
  msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
401
 
402
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
403
  msgid "Display shipping provider name"
404
  msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
405
 
406
+ #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  msgid "Download sample csv"
408
  msgstr "Λήψη δείγματος csv"
409
 
410
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
411
+ msgid "edit"
412
+ msgstr "επεξεργασία"
413
+
414
+ #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
415
  msgid "Edit Shipping Provider"
416
  msgstr "Επεξεργασία παρόχου αποστολής"
417
 
418
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
419
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
420
  msgid "Email content"
421
  msgstr "Περιεχόμενο email"
422
 
423
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
424
  msgid "Email Type"
425
  msgstr "Τύπος email"
426
 
427
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
428
+ msgid "Enable Partially Shipped order status email"
429
+ msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
430
 
431
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:584
432
+ msgid "Enable the 3plwinner integration"
433
+ msgstr "Ενεργοποιήστε την ενσωμάτωση 3plwinner"
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:604
436
+ msgid "Enable the AliExpress Dropshipping integration"
437
+ msgstr "Ενεργοποιήστε την ενσωμάτωση AliExpress Dropshipping"
438
 
439
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:544
440
+ msgid "Enable the CustomCat integration"
441
+ msgstr "Ενεργοποιήστε την ενσωμάτωση CustomCat"
442
 
443
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:554
444
+ msgid "Enable the Dear Systems integration"
445
+ msgstr "Ενεργοποιήστε την ολοκλήρωση Dear Systems"
446
 
447
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:594
448
+ msgid "Enable the Dianxiaomi integration"
449
+ msgstr "Ενεργοποιήστε την ενσωμάτωση Dianxiaomi"
450
 
451
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:504
452
+ msgid "Enable the Ordoro tracking integration"
453
+ msgstr "Ενεργοποιήστε την ενσωμάτωση παρακολούθησης Ordoro"
454
 
455
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:574
456
+ msgid "Enable the Picqer integration"
457
+ msgstr "Ενεργοποιήστε την ενσωμάτωση Picqer"
458
 
459
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:564
460
+ msgid "Enable the Printify integration"
461
+ msgstr "Ενεργοποιήστε την ενσωμάτωση Printify"
462
 
463
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:514
464
+ msgid "Enable the QuickBooks Commerce (formerly TradeGecko) Integrations"
465
+ msgstr "Ενεργοποιήστε τις ενσωματώσεις QuickBooks Commerce (πρώην TradeGecko)"
466
 
467
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:524
468
+ msgid "Enable the ReadyToShip integration"
469
+ msgstr "Ενεργοποιήστε την ενσωμάτωση ReadyToShip"
470
+
471
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:534
472
+ msgid "Enable the Royal Mail Click & Drop integration"
473
+ msgstr "Ενεργοποιήστε την ενσωμάτωση Royal Mail Click & Drop"
474
+
475
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:474
476
+ msgid "Enable the ShipStation integration"
477
+ msgstr "Ενεργοποιήστε την ενσωμάτωση ShipStation"
478
+
479
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:484
480
+ msgid "Enable the WC Shipping integration"
481
+ msgstr "Ενεργοποιήστε την ενσωμάτωση WC Shipping"
482
+
483
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:494
484
+ msgid ""
485
+ "Enable the WooCommerce UPS Shipping Plugin with Print Label plugin "
486
+ "integration"
487
  msgstr ""
488
+ "Ενεργοποιήστε το WooCommerce UPS Shipping Plugin με ενσωμάτωση πρόσθετου "
489
+ "Print Label"
490
 
491
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1037
492
+ msgid "Enable Track button in orders history (actions)"
493
  msgstr ""
494
+ "Ενεργοποίηση κουμπιού παρακολούθησης στο ιστορικό παραγγελιών (ενέργειες)"
 
495
 
496
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:142
497
  msgid "Enable Updated Tracking order status email"
498
  msgstr ""
499
  "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
500
 
501
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2321
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
502
  msgid "Filter by shipping provider"
503
  msgstr "Φιλτράρισμα ανά πάροχο αποστολής"
504
 
505
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:388
 
 
 
 
 
 
506
  msgid "Fulfill Order"
507
  msgstr "Εκπλήρωση παραγγελίας"
508
 
509
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:425
510
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:429
 
511
  msgid "General Settings"
512
  msgstr "Γενικές Ρυθμίσεις"
513
 
514
+ #: includes/views/admin_options_shipping_provider.php:75
 
 
 
 
 
 
 
 
515
  msgid "Global"
516
  msgstr "Παγκόσμια"
517
 
518
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
519
  msgid "Go Pro"
520
  msgstr "Γίνε επαγγελματίας"
521
 
522
+ #: includes/customizer/class-wc-tracking-info-customizer.php:731
 
 
 
 
 
 
 
 
 
 
 
523
  msgid "Headers background color"
524
  msgstr "Χρώμα φόντου κεφαλίδων"
525
 
526
+ #: includes/customizer/class-wc-tracking-info-customizer.php:749
527
  msgid "Headers font color"
528
  msgstr ""
529
  "Χρώμα γραμματοσειράς κεφαλίδων\n"
530
 
531
+ #: includes/customizer/class-wc-tracking-info-customizer.php:712
532
  msgid "Headers font size"
533
  msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
534
 
535
+ #: includes/customizer/class-wc-tracking-info-customizer.php:767
536
  msgid "Headers font weight"
537
  msgstr "Βάρος γραμματοσειράς κεφαλίδων"
538
 
539
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:115
 
 
 
 
 
 
 
 
 
 
 
 
 
 
540
  msgid ""
541
  "Hi there. we thought you'd like to know that the shipment tracking for your "
542
  "recent order from {site_title} has been updated."
544
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
545
  "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
546
 
547
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:117
 
 
 
 
 
 
 
 
548
  msgid ""
549
  "Hi there. we thought you'd like to know that your recent order from "
550
  "{site_title} has been partially shipped."
552
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
553
  "από {site_title} έχει αποσταλεί εν μέρει.\n"
554
 
555
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:645
556
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:662
557
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:679
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
558
  msgid "hide details"
559
  msgstr "Κρύψε τις λεπτομέρειες"
560
 
561
+ #: includes/customizer/class-wc-tracking-info-customizer.php:622
 
 
 
 
 
 
 
 
 
 
 
562
  msgid "Hide Table Headers"
563
  msgstr "Απόκρυψη κεφαλίδων πίνακα"
564
 
565
+ #: includes/customizer/class-wc-tracking-info-customizer.php:482
566
  #| msgid "Hide the ship date"
567
  msgid "Hide the shipped date"
568
  msgstr "Απόκρυψη της ημερομηνίας του πλοίου"
569
 
570
+ #: includes/customizer/class-wc-tracking-info-customizer.php:203
 
 
 
 
 
 
 
 
571
  msgid "Hide Tracking Header"
572
  msgstr "Απόκρυψη κεφαλίδας παρακολούθησης"
573
 
574
+ #: includes/views/admin_options_bulk_upload.php:118
575
  msgid "How to import tracking number from CSV files?"
576
  msgstr "Πώς να εισαγάγετε αριθμό παρακολούθησης από αρχεία CSV;"
577
 
583
  msgid "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
584
  msgstr "https://www.zorem.com/products/woocommerce-advanced-shipment-tracking/"
585
 
586
+ #: includes/views/admin_options_bulk_upload.php:74
587
  msgid "Import in Progress"
588
  msgstr "Εισαγωγή σε εξέλιξη"
589
 
590
+ #: includes/views/admin_options_trackship_integration.php:18
 
 
 
 
 
 
 
 
 
591
  msgid "Install TrackShip for WooCommerce"
592
  msgstr "Εγκαταστήστε το TrackShip για το WooCommerce"
593
 
594
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:390
595
+ #: includes/views/integrations_admin_options.php:3
596
+ msgid "Integrations"
597
+ msgstr "Ενσωματώσεις"
598
+
599
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:231
600
  msgid "Invalid order ID."
601
  msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
602
 
603
+ #: includes/views/admin_options_bulk_upload.php:46
 
 
 
 
 
 
 
 
 
604
  msgid ""
605
  "Keep unchecked for the tracking info to be added to any existing tracking "
606
  "info added to the orders."
609
  "σε τυχόν υπάρχουσες πληροφορίες παρακολούθησης που έχουν προστεθεί στις "
610
  "παραγγελίες."
611
 
612
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:344
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
613
  msgid "License"
614
  msgstr "Αδεια"
615
 
616
+ #: includes/views/admin_options_osm.php:65
 
617
  msgid "Light Font"
618
  msgstr "Φως γραμματοσειράς"
619
 
620
+ #: includes/class-wc-advanced-shipment-tracking.php:300
 
 
 
 
621
  msgid "Mark as Completed?"
622
  msgstr "Σημειώστε ως ολοκληρωμένο;"
623
 
624
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
625
  msgid "Mark as Shipped"
626
  msgstr "Επισήμανση ως αποσταλεί"
627
 
628
+ #: includes/class-wc-advanced-shipment-tracking.php:297
629
  msgid "Mark as Shipped?"
630
  msgstr "Ορίστε ως αποστολέα;"
631
 
632
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1774
633
  msgid "Mark order as delivered"
634
  msgstr "Επισήμανση παραγγελίας ως παραδοθείσας"
635
 
636
+ #: includes/class-wc-advanced-shipment-tracking.php:492
637
  msgid "Mark order as:"
638
  msgstr "Σημειώστε την τάξη ως:"
639
 
640
+ #: includes/customizer/class-wcast-customizer.php:359
 
641
  msgid "Mockup Order"
642
  msgstr "Παραγγελία κοροϊδεύω"
643
 
644
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:816
645
+ #: includes/views/integrations_admin_options.php:20
646
  msgid "more info"
647
  msgstr ""
648
  "περισσότερες πληροφορίες\n"
649
 
650
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
651
  msgid "Multiple API names mapping is a pro features"
652
  msgstr ""
653
  "Η αντιστοίχιση πολλαπλών ονομάτων API είναι επαγγελματικά χαρακτηριστικά"
654
 
655
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1043
 
 
 
 
 
 
 
 
 
 
 
 
656
  msgid "Open the Track Button link in a new tab"
657
  msgstr "Ανοίξτε τον σύνδεσμο Κουμπί παρακολούθησης σε μια νέα καρτέλα"
658
 
659
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1030
 
 
 
 
 
660
  msgid "Order Emails Display"
661
  msgstr "Εμφάνιση παραγγελιών"
662
 
 
 
 
 
 
663
  #. %s: Order ID.
664
+ #: templates/emails/wcast-email-order-details.php:55
665
  #, php-format
666
  msgid "Order number: %s"
667
  msgstr ""
668
  "Αριθμός παραγγελίας:% s\n"
669
 
670
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:434
671
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:438
672
+ #: includes/views/admin_options_settings.php:64
673
  msgid "Order Statuses"
674
  msgstr "Καταστάσεις παραγγελίας"
675
 
676
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
677
+ #: includes/class-wc-advanced-shipment-tracking.php:1193
678
+ #: includes/class-wc-advanced-shipment-tracking.php:1269
679
  #, php-format
680
+ #| msgid "Order was shipped with %s and tracking number is: %s"
681
+ msgid "Order was shipped with %1$s and tracking number is: %2$s"
682
+ msgstr ""
683
+ παραγγελία στάλθηκε με %1 $ s και ο αριθμός παρακολούθησης είναι: %2 $ s"
 
 
 
684
 
685
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:808
686
  msgid "Other"
687
  msgstr "Αλλα"
688
 
689
+ #: includes/class-wc-advanced-shipment-tracking.php:483
 
 
 
 
 
 
 
 
 
690
  msgid "Partial Shipped"
691
  msgstr "Μερική αποστολή"
692
 
693
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1159
694
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
695
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
696
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:134
697
  msgid "Partially Shipped"
698
  msgstr "Μερικώς αποστέλλονται"
699
 
700
+ #. %s: replace with Partially Shipped Count
701
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:135
702
  #, php-format
703
  msgid "Partially Shipped <span class=\"count\">(%s)</span>"
704
  msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
705
  msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
706
  msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
707
 
708
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:614
709
+ msgid ""
710
+ "PDF invoices integration for WooCommerce PDF Invoices & Packing Slips plugin "
711
+ "By Ewout Fernhout"
712
+ msgstr ""
713
+ "Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices & "
714
+ "Packing Slips By Ewout Fernhout"
715
 
716
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:624
717
+ msgid ""
718
+ "PDF invoices integration for WooCommerce PDF Invoices plugin By Bas Elbers"
719
+ msgstr ""
720
+ "Ενσωμάτωση τιμολογίων PDF για την προσθήκη WooCommerce PDF Invoices By Bas "
721
+ "Elbers"
722
 
723
  #. %s: search WooCommerce plugin link
724
+ #: woocommerce-advanced-shipment-tracking.php:181
725
  #, php-format
726
  msgid ""
727
  "Please install and activate %1$sWooCommerce%2$s for Advanced Shipment "
730
  "Εγκαταστήστε και ενεργοποιήστε το% 1 $ sWooCommerce% 2 $ s για το Advanced "
731
  "Shipment Tracking για το WooCommerce!"
732
 
733
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:267
734
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:275
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
735
  msgid "Please select order to preview."
736
  msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
737
 
738
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:177
739
  msgid "Please upload a valid CSV file."
740
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
741
 
742
+ #: includes/class-wc-advanced-shipment-tracking.php:387
 
 
 
 
 
 
 
 
 
 
 
 
 
743
  msgid "Preview:"
744
  msgstr "Επισκόπηση:"
745
 
746
+ #: includes/class-wc-advanced-shipment-tracking.php:361
747
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:373
748
  msgid "Product Code:"
749
  msgstr "Κωδικός προϊόντος:"
750
 
751
+ #: includes/customizer/class-wc-tracking-info-customizer.php:141
752
+ #: includes/customizer/class-wc-tracking-info-customizer.php:648
753
+ #: templates/emails/tracking-info.php:216
754
+ #: templates/myaccount/tracking-info.php:192
 
 
 
 
755
  msgid "Provider"
756
  msgstr "Μεταφορέας"
757
 
758
+ #: includes/views/admin_options_shipping_provider.php:57
759
+ #: templates/emails/tracking-info.php:222
760
+ #: templates/myaccount/tracking-info.php:198
761
  msgid "Provider Name"
762
  msgstr "Ονομα πάροχου"
763
 
764
+ #: includes/views/admin_options_shipping_provider.php:116
765
  msgid "Providers Added"
766
  msgstr "Προστέθηκαν παροχείς"
767
 
768
+ #: includes/views/admin_options_shipping_provider.php:118
769
  msgid "Providers Deleted"
770
  msgstr "Οι πάροχοι έχουν διαγραφεί"
771
 
772
+ #: includes/views/admin_options_shipping_provider.php:117
773
  msgid "Providers Updated"
774
  msgstr "Οι προμηθευτές ενημερώθηκαν"
775
 
776
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:174
777
  msgid "Really delete this entry? This will not be undo."
778
  msgstr "Να διαγραφεί πραγματικά αυτή η καταχώριση; Αυτό δεν θα αναιρεθεί."
779
 
780
+ #: includes/views/admin_options_osm.php:14
781
  msgid "Rename the “Completed” Order status label to “Shipped”"
782
  msgstr ""
783
  "Μετονομάστε την ετικέτα κατάστασης παραγγελίας που ολοκληρώθηκε σε "
784
  "\"Αποστολή\""
785
 
786
+ #: includes/views/admin_options_bulk_upload.php:46
787
  msgid "Replace tracking information?"
788
  msgstr "Replace tracking information?Αντικατάσταση πληροφοριών παρακολούθησης;"
789
 
790
+ #: includes/views/admin_options_shipping_provider.php:100
791
  msgid "Reset"
792
  msgstr "Reset"
793
 
794
+ #: includes/views/admin_options_shipping_provider.php:122
795
  msgid ""
796
  "Reset providers database, it will reset all your shipping provider database"
797
  msgstr ""
798
  "Επαναφέρετε τη βάση δεδομένων παρόχων, θα επαναφέρει όλες τις βάσεις "
799
  "δεδομένων παρόχων αποστολής"
800
 
801
+ #: includes/views/admin_options_settings.php:19
802
+ #: includes/views/admin_options_settings.php:35
803
+ #: includes/views/admin_options_settings.php:51
804
+ #: includes/views/admin_options_settings.php:67
805
+ msgid "Save & Close"
806
+ msgstr "Αποθήκευση & Κλείσιμο"
 
 
 
 
 
 
807
 
808
+ #: includes/class-wc-advanced-shipment-tracking.php:384
809
  msgid "Save Tracking"
810
  msgstr "Αποθήκευση Παρακολούθησης"
811
 
812
+ #: includes/views/admin_options_shipping_provider.php:27
813
  msgid "Search by provider / country"
814
  msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
815
 
816
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:153
 
 
 
 
 
 
817
  msgid "Select email type"
818
  msgstr "Επιλέξτε τύπο email"
819
 
820
+ #: includes/class-wc-advanced-shipment-tracking.php:323
821
  msgid "Select Provider"
822
  msgstr "Επιλογή Παροχέα"
823
 
824
+ #: includes/customizer/class-wc-tracking-info-customizer.php:259
 
 
 
 
825
  msgid "Select Template"
826
  msgstr ""
827
  "Επιλέξτε Πρότυπο\n"
828
 
829
+ #: includes/views/admin_options_osm.php:74
 
 
 
 
 
830
  msgid "Send Email"
831
  msgstr ""
832
  "Να στείλετε e-mail\n"
833
 
834
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
835
  msgid ""
836
  "Set the \"mark as shipped\" option checked when adding tracking info to "
837
  "orders"
839
  "Ορίστε την επιλογή \"σήμανση ως αποσταλεί\" κατά την προσθήκη πληροφοριών "
840
  "παρακολούθησης σε παραγγελίες"
841
 
842
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:352
843
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:356
844
  #: includes/views/admin_options_settings.php:9
845
  msgid "Settings"
846
  msgstr "Ρυθμίσεις"
847
 
848
+ #: includes/views/admin_options_bulk_upload.php:57
849
  msgid "Settings Saved."
850
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
851
 
852
+ #. %s: replace with status
853
+ #: templates/emails/plain/tracking-info.php:36
 
 
 
 
 
 
 
 
 
854
  #, php-format
855
  msgid "Shipment status changed to %s"
856
  msgstr "Η κατάσταση αποστολής άλλαξε στο% s"
857
 
858
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:189
859
  #: includes/class-wc-advanced-shipment-tracking.php:138
860
  #: includes/class-wc-advanced-shipment-tracking.php:219
861
  msgid "Shipment Tracking"
862
  msgstr "Παρακολούθηση Αποστολής"
863
 
864
+ #: includes/views/admin_options_settings.php:48
865
  msgid "Shipment Tracking API"
866
  msgstr "API παρακολούθησης αποστολών"
867
 
868
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:849
869
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:945
870
+ #: includes/class-wc-advanced-shipment-tracking.php:467
871
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:263
872
  msgid "Shipped"
873
  msgstr "Αποστέλλονται"
874
 
875
+ #. %s: replace with shipped order count
876
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:283
877
  #, php-format
878
  msgid "Shipped <span class=\"count\">(%s)</span>"
879
  msgid_plural "Shipped <span class=\"count\">(%s)</span>"
880
  msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
881
  msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
882
 
883
+ #: includes/customizer/class-wc-tracking-info-customizer.php:143
884
+ #: includes/customizer/class-wc-tracking-info-customizer.php:695
885
  msgid "Shipped Date"
886
  msgstr ""
887
  "Ημερομηνία αποστολής\n"
888
 
889
+ #: includes/customizer/class-wc-tracking-info-customizer.php:688
890
  #| msgid "Ship date header text"
891
  msgid "Shipped date header text"
892
  msgstr "Κείμενο κεφαλίδας ημερομηνίας πλοίου"
893
 
894
  #. 1: shipping date
895
+ #: includes/class-wc-advanced-shipment-tracking.php:255
896
  #, php-format
897
  msgid "Shipped on %s"
898
  msgstr "Στάλθηκε στις %s"
899
 
900
+ #: includes/customizer/class-wc-tracking-info-customizer.php:151
901
  msgid "Shipped on {ship_date} via {shipping_provider} - {tracking_number_link}"
902
  msgstr ""
903
  "Αποστέλλονται στις {ship_date} μέσω {shipping_provider} - "
904
  "{tracking_number_link}"
905
 
906
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1740
907
  msgid "Shipped Order"
908
  msgstr "Αποστολή παραγγελίας"
909
 
910
+ #: includes/views/admin_options_shipping_provider.php:74
 
 
 
 
911
  msgid "Shipping Country"
912
  msgstr "Χώρα αποστολής"
913
 
914
+ #: includes/views/admin_options_shipping_provider.php:58
915
  msgid "Shipping Provider"
916
  msgstr "Πάροχος αποστολών"
917
 
918
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
919
  msgid "Shipping provider header text"
920
  msgstr "Κείμενο κεφαλίδας παρόχου αποστολής"
921
 
922
+ #: includes/class-wc-advanced-shipment-tracking.php:321
923
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:350
924
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:352
925
  msgid "Shipping Provider:"
926
  msgstr "Πάροχος υπηρεσιών:"
927
 
928
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:372
929
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:376
930
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1861
 
931
  msgid "Shipping Providers"
932
  msgstr "Πάροχοι αποστολών"
933
 
934
+ #: includes/views/admin_options_shipping_provider.php:22
935
+ msgid "Shipping Providers & Carriers"
936
+ msgstr "Πάροχοι & Μεταφορείς Ναυτιλίας"
937
+
938
+ #: includes/views/admin_options_shipping_provider.php:120
939
  msgid "Shipping providers database reset successfully."
940
  msgstr ""
941
  "Η επαναφορά βάσης δεδομένων παρόχων αποστολής ολοκληρώθηκε με επιτυχία."
942
 
943
+ #: includes/customizer/class-wc-tracking-info-customizer.php:388
 
 
 
 
944
  msgid "Show bottom border"
945
  msgstr "Εμφάνιση περιθωρίου κάτω"
946
 
947
+ #: includes/customizer/class-wc-tracking-info-customizer.php:295
 
 
 
 
 
 
 
 
 
948
  msgid "Simple Layout Design"
949
  msgstr ""
950
  "Απλό σχέδιο διάταξης\n"
951
 
952
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:235
 
 
 
 
953
  msgid "Special character not allowd in tracking number"
954
  msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
955
 
956
+ #: includes/views/admin_options_shipping_provider.php:110
957
+ #: includes/views/admin_options_shipping_provider.php:124
 
 
 
 
958
  msgid "Sync Shipping Providers"
959
  msgstr "Sync Shipping Providers"
960
 
961
+ #: includes/views/admin_options_shipping_provider.php:114
962
  msgid ""
963
  "Syncing the shipping providers list add or updates the pre-set shipping "
964
  "providers and will not effect custom shipping providers."
967
  "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
968
  "προσαρμοσμένους παροχείς αποστολής."
969
 
970
+ #: includes/customizer/class-wc-tracking-info-customizer.php:790
971
  msgid "Table Content"
972
  msgstr "Περιεχόμενο πίνακα"
973
 
974
+ #: includes/customizer/class-wc-tracking-info-customizer.php:520
975
  msgid "Table Design Options"
976
  msgstr "Επιλογές σχεδίασης πίνακα"
977
 
978
+ #: includes/customizer/class-wc-tracking-info-customizer.php:605
979
  #| msgid "Table Headers"
980
  msgid "Table Header"
981
  msgstr "Κεφαλίδες στον πίνακα"
982
 
983
+ #: includes/customizer/class-wc-tracking-info-customizer.php:260
984
  msgid "Table Layout"
985
  msgstr ""
986
  "Διάταξη πίνακα\n"
987
 
988
+ #: includes/customizer/class-wc-tracking-info-customizer.php:427
989
  msgid "Table Options"
990
  msgstr "Επιλογές πίνακα"
991
 
992
+ #: includes/customizer/class-wc-tracking-info-customizer.php:581
993
  msgid "Text align"
994
  msgstr "Στοίχιση κειμένου"
995
 
996
+ #: includes/views/admin_options_shipping_provider.php:61
997
  msgid ""
998
  "The custom display name will show in the tracking info section on the "
999
  "customer order emails, my-account, and TrackShip's tracking page and email "
1003
  "παρακολούθησης στα μηνύματα παραγγελίας πελατών, στον λογαριασμό μου και στη "
1004
  "σελίδα παρακολούθησης του TrackShip και στις ειδοποιήσεις μέσω email"
1005
 
1006
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:627
1007
  msgid "There are some issue with sync, Please Retry."
1008
  msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
1009
 
1010
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:176
1011
  msgid "This browser does not support HTML5."
1012
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
1013
 
1014
+ #: includes/class-wc-advanced-shipment-tracking.php:784
1015
+ #: includes/class-wc-advanced-shipment-tracking.php:817
1016
+ #: includes/class-wc-advanced-shipment-tracking.php:835
1017
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1018
+ #: includes/customizer/class-wc-tracking-info-customizer.php:951
1019
+ #: templates/emails/tracking-info.php:264
1020
+ #: templates/myaccount/tracking-info.php:244
1021
+ #: templates/myaccount/tracking-info.php:246
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1022
  msgid "Track"
1023
  msgstr "Παρακολούθηση"
1024
 
1025
+ #: includes/customizer/class-wc-tracking-info-customizer.php:908
1026
  msgid "Track Button"
1027
  msgstr "Κουμπί παρακολούθησης"
1028
 
1029
+ #: includes/customizer/class-wc-tracking-info-customizer.php:925
1030
  msgid "Track Header"
1031
  msgstr "Παρακολούθηση κεφαλίδας"
1032
 
1033
+ #: includes/customizer/class-wc-tracking-info-customizer.php:944
1034
  msgid "Track header text"
1035
  msgstr ""
1036
  "Κείμενο κεφαλίδας παρακολούθησης\n"
1037
 
1038
+ #: includes/class-wc-advanced-shipment-tracking.php:242
1039
+ #: includes/class-wc-advanced-shipment-tracking.php:387
1040
  msgid "Track Shipment"
1041
  msgstr "Παρακολούθηση αποστολής"
1042
 
1043
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1044
+ #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1045
  msgid "Tracking display layout"
1046
  msgstr "Παρακολούθηση της διάταξης προβολής"
1047
 
1048
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
1049
  msgid "Tracking Display Position"
1050
  msgstr "Παρακολούθηση θέσης προβολής"
1051
 
1052
+ #: includes/customizer/class-wc-tracking-info-customizer.php:221
1053
  msgid "Tracking Header text"
1054
  msgstr ""
1055
  "Κείμενο κεφαλίδας εντοπισμού\n"
1056
 
1057
+ #: includes/customizer/class-wcast-customizer.php:37
 
 
 
 
 
1058
  msgid "Tracking info display"
1059
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
1060
 
1061
+ #. %1$s: Reaplce with tracking provider, %2$s: Reaplce with tracking number
1062
+ #: includes/class-wc-advanced-shipment-tracking.php:741
 
 
 
 
 
 
1063
  #, php-format
1064
+ #| msgid ""
1065
+ #| "Tracking info was deleted for tracking provider %s with tracking number %s"
1066
  msgid ""
1067
+ "Tracking info was deleted for tracking provider %1$s with tracking number "
1068
+ "%2$s"
1069
  msgstr ""
1070
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον πάροχο παρακολούθησης %1 $ "
1071
+ "s με αριθμό παρακολούθησης %2 $ s"
1072
 
1073
+ #: includes/customizer/class-wc-tracking-info-customizer.php:228
1074
  msgid "Tracking Information"
1075
  msgstr "Πληροφορίες Παρακολούθησης"
1076
 
1077
+ #: includes/customizer/class-wc-tracking-info-customizer.php:142
1078
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
1079
+ #: templates/emails/tracking-info.php:235
1080
+ #: templates/myaccount/tracking-info.php:213
 
 
 
 
 
 
 
1081
  msgid "Tracking Number"
1082
  msgstr "Αριθμός"
1083
 
1084
+ #: includes/customizer/class-wc-tracking-info-customizer.php:665
1085
  #| msgid "Tracking Number header text"
1086
  msgid "Tracking number header text"
1087
  msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
1088
 
1089
+ #: includes/class-wc-advanced-shipment-tracking.php:317
1090
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:346
1091
  msgid "Tracking number:"
1092
  msgstr "Αριθμός Παρακολούθησης:"
1093
 
1094
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1864
 
 
 
 
 
 
 
 
 
 
 
 
 
1095
  msgid "TrackShip"
1096
  msgstr "TrackShip"
1097
 
1098
+ #: includes/views/admin_options_shipping_provider.php:99
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1099
  msgid "Update"
1100
  msgstr "Update"
1101
 
1102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1176
1103
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:114
1104
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:147
1105
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:244
1106
  msgid "Updated Tracking"
1107
  msgstr "Ενημερωμένη παρακολούθηση"
1108
 
1109
+ #. %s: replace with Updated Tracking Count
1110
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:120
1111
  #, php-format
1112
  msgid "Updated Tracking <span class=\"count\">(%s)</span>"
1113
  msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
1114
  msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1115
  msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
1116
 
1117
+ #: includes/views/admin_options_bulk_upload.php:24
 
 
 
 
1118
  msgid "Upload a CSV file from your computer:"
1119
  msgstr "Upload a CSV file from your computer:"
1120
 
1121
+ #: includes/views/admin_options_bulk_upload.php:107
1122
  msgid "Upload again"
1123
  msgstr "Μεταφόρτωση ξανά"
1124
 
1125
+ #: includes/views/admin_options_bulk_upload.php:9
1126
  msgid ""
1127
  "Use our CSV Import Tool to bulk Import tracking info to orders from a CSV "
1128
  "file"
1130
  "Χρησιμοποιήστε το εργαλείο εισαγωγής CSV για μαζική εισαγωγή πληροφοριών "
1131
  "παρακολούθησης σε παραγγελίες από ένα αρχείο CSV"
1132
 
1133
+ #: includes/customizer/class-wc-tracking-info-customizer.php:501
1134
  msgid "Use tracking number as a link"
1135
  msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1136
 
1137
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:644
1138
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:661
1139
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:678
1140
+ #: includes/views/admin_options_bulk_upload.php:85
1141
  msgid "view details"
1142
  msgstr "δείτε λεπτομέρειες"
1143
 
1144
+ #: includes/views/admin_options_bulk_upload.php:106
 
 
 
 
 
 
 
 
 
 
1145
  msgid "View Orders"
1146
  msgstr "Προβολή παραγγελιών"
1147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1148
  #. %s: replace with Partially Shipped order count
1149
+ #: woocommerce-advanced-shipment-tracking.php:502
1150
  #, php-format
1151
  msgid ""
1152
  "We detected %s orders that use the Partially Shipped order status, You can "
1155
  "Εντοπίσαμε παραγγελίες% s που χρησιμοποιούν την κατάσταση μερικής αποστολής. "
1156
  "Μπορείτε να εκχωρήσετε ξανά αυτές τις παραγγελίες σε διαφορετική κατάσταση"
1157
 
1158
+ #: includes/views/admin_options_shipping_provider.php:62
 
 
 
 
 
 
 
 
 
1159
  msgid "White Label Provider Name"
1160
  msgstr "Όνομα παρόχου λευκής ετικέτας"
1161
 
1162
+ #: includes/class-wc-advanced-shipment-tracking.php:370
1163
+ #: includes/class-wc-advanced-shipment-tracking.php:373
1164
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
1165
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1166
  msgid "Y-m-d"
1167
  msgstr "Υ-μ-η"
1168
 
1169
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:175
 
 
 
 
 
 
 
 
1170
  msgid "You can upload only csv file."
1171
  msgstr "Μπορείτε να ανεβάσετε μόνο αρχείο csv."
1172
 
1173
+ #. %s: search WooCommerce plugin link
1174
+ #: includes/views/admin_options_shipping_provider.php:89
1175
  msgid ""
1176
  "You can use the variables %number%, %postal_code% and %country_code% in the "
1177
  "URL, for more info, check our "
1179
  "Μπορείτε να χρησιμοποιήσετε τις μεταβλητές% number%,% postal_code% and% "
1180
  "country_code% στη διεύθυνση URL, για περισσότερες πληροφορίες, ανατρέξτε στο"
1181
 
1182
+ #. %s: replace with status
1183
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1990
1184
  #, php-format
1185
  msgid "You did not create any %s shipping providers yet."
1186
  msgstr "Δεν έχετε δημιουργήσει παρόχους αποστολής% s ακόμη."
1187
 
1188
+ #. %s: replace with status
1189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2001
1190
  #, php-format
1191
  msgid "You don't have any %s shipping providers."
1192
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
1193
 
1194
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1195
  msgid "Your Order is Partially Shipped"
1196
  msgstr "Η παραγγελία σας έχει αποσταλεί μερικώς"
1197
 
1198
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:115
1199
  msgid "Your {site_title} order is now partially shipped"
1200
  msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
1201
 
1202
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:113
1203
  msgid "Your {site_title} order is now updated tracking"
1204
  msgstr ""
1205
  "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
lang/woo-advanced-shipment-tracking-es_ES.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-es_ES.po CHANGED
@@ -3,7 +3,7 @@ msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
- "PO-Revision-Date: 2021-06-22 09:49+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\n"
@@ -12,22 +12,23 @@ msgstr ""
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
- "X-Loco-Version: 2.5.2; wp-5.7.2"
16
 
17
- #: includes/views/admin_options_shipping_provider.php:83
 
18
  #, php-format
19
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
20
  msgstr "documentación"
21
 
22
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1712
23
  msgid "Actions"
24
  msgstr "Comportamiento"
25
 
26
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1388
27
- msgid "Active Shipments"
28
- msgstr "Envíos activos"
29
 
30
- #: includes/views/admin_options_shipping_provider.php:56
31
  msgid ""
32
  "Add API name aliases to map Shipping providers names with the provider names "
33
  "that are updated in the shipment tracking API by external shipping services"
@@ -36,8 +37,8 @@ msgstr ""
36
  "de envío con los nombres de los proveedores que los servicios de envío "
37
  "externos actualizan en la API de seguimiento de envíos."
38
 
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1700
40
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1833
41
  msgid "Add Custom Provider"
42
  msgstr "Agregar proveedor personalizado"
43
 
@@ -54,582 +55,495 @@ msgstr ""
54
  "clientes (en el panel de pedidos) y en el correo electrónico completo de "
55
  "pedidos de WooCommerce."
56
 
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:650
58
  msgid "add the [wcast-track-order] shortcode in the selected page."
59
  msgstr "agregue el código corto [wcast-track-order] en la página seleccionada."
60
 
61
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
62
  msgid "Add Tracking"
63
  msgstr "Agregar seguimiento"
64
 
65
- #: includes/class-wc-advanced-shipment-tracking-settings.php:415
66
  msgid "Add Tracking - order\t"
67
  msgstr "Agregar seguimiento: pedido"
68
 
69
- #: includes/class-wc-advanced-shipment-tracking.php:515
70
  msgid "Add Tracking Info"
71
  msgstr "Agregar información de seguimiento"
72
 
73
- #: includes/views/admin_options_settings.php:11
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74
  #| msgid "Add Tracking action "
75
  msgid "Add Tracking Options"
76
  msgstr "Acción \"Agregar seguimiento\""
77
 
78
- #: includes/class-wc-advanced-shipment-tracking-admin.php:768
79
  msgid "Add Tracking Order action"
80
  msgstr "Agregar acción de orden de seguimiento"
81
 
82
- #: includes/customizer/class-wc-tracking-info-customizer.php:267
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  msgid "Additional text after header"
84
  msgstr "Texto adicional después del encabezado"
85
 
86
- #: includes/views/admin_status_notifications.php:52
87
- msgid "Admin Notifications"
88
- msgstr "Notificaciones de administrador"
89
-
90
  #. Name of the plugin
91
  msgid "Advanced Shipment Tracking for WooCommerce"
92
  msgstr "Seguimiento avanzado de envíos para WooCommerce"
93
 
94
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
95
  msgid "After Order Details"
96
  msgstr "Después de los detalles del pedido"
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1761
99
  msgid "API aliases"
100
  msgstr "Alias de API"
101
 
102
- #: includes/views/admin_options_shipping_provider.php:58
 
 
 
 
103
  msgid "API Name"
104
  msgstr "Nombre de API"
105
 
106
- #: includes/views/admin_status_notifications.php:141
107
- msgid "As it Happens"
108
- msgstr "Como sucede"
109
-
110
- #: includes/views/admin_trackship_dashboard.php:87
111
- msgid "Automation"
112
- msgstr "Automatización"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:283
115
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:863
116
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:941
117
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:74
118
- #: includes/customizer/class-wc-intransit-email-customizer.php:164
119
- msgid "Available For Pickup"
120
- msgstr ""
121
- "Disponible para envíos\n"
122
-
123
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:153
124
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:177
125
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
126
- #: includes/customizer/class-wc-delivered-email-customizer.php:151
127
- #: includes/customizer/class-wc-delivered-email-customizer.php:175
128
- #: includes/customizer/class-wc-delivered-email-customizer.php:220
129
- #: includes/customizer/class-wc-failure-email-customizer.php:151
130
- #: includes/customizer/class-wc-failure-email-customizer.php:175
131
- #: includes/customizer/class-wc-failure-email-customizer.php:220
132
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
133
- #: includes/customizer/class-wc-intransit-email-customizer.php:252
134
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
135
- #: includes/customizer/class-wc-onhold-email-customizer.php:151
136
- #: includes/customizer/class-wc-onhold-email-customizer.php:175
137
- #: includes/customizer/class-wc-onhold-email-customizer.php:220
138
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:150
139
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:174
140
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:219
141
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:213
142
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:237
143
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:262
144
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:282
145
- #: includes/customizer/class-wc-returntosender-email-customizer.php:152
146
- #: includes/customizer/class-wc-returntosender-email-customizer.php:176
147
- #: includes/customizer/class-wc-returntosender-email-customizer.php:220
148
- #: includes/customizer/class-wc-tracking-info-customizer.php:355
149
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:163
150
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:187
151
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:212
152
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:232
153
- #: includes/customizer/class-wc-exception-email-customizer.php:151
154
- #: includes/customizer/class-wc-exception-email-customizer.php:175
155
- #: includes/customizer/class-wc-exception-email-customizer.php:220
156
- #: includes/views/admin_status_notifications.php:123
157
  msgid "Available variables:"
158
  msgstr "Variables disponibles:"
159
 
160
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1381
161
- msgid "Avg Shipment Length"
162
- msgstr "Longitud media del envío"
163
-
164
- #: includes/customizer/class-wc-tracking-info-customizer.php:208
165
  msgid "Before Order Details"
166
  msgstr "Antes de los detalles del pedido"
167
 
168
- #: includes/customizer/class-wc-tracking-info-customizer.php:559
169
  msgid "Border color"
170
  msgstr ""
171
  "Color del borde\n"
172
 
173
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
174
  msgid "Border size"
175
  msgstr ""
176
  "Tamaño del borde\n"
177
 
178
- #: includes/customizer/class-wc-tracking-info-customizer.php:429
179
  msgid "Bottom border color"
180
  msgstr ""
181
  "Color del borde inferior\n"
182
 
183
- #: includes/customizer/class-wc-tracking-info-customizer.php:990
184
  msgid "Button color"
185
  msgstr "Color del botón"
186
 
187
- #: includes/customizer/class-wc-tracking-info-customizer.php:1008
188
  msgid "Button font color"
189
  msgstr "Color de fuente del botón"
190
 
191
- #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:393
192
  msgid "Cannot create existing order shipment tracking."
193
  msgstr ""
194
  "No se puede crear el seguimiento de envío de pedidos existente.\n"
195
 
196
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:868
197
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:965
198
- msgid "Carrier Unsupported"
199
- msgstr "Transportista no admitido"
200
-
201
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1649
202
  msgid "Change order status to"
203
  msgstr "Cambiar el estado del pedido a"
204
 
205
- #: includes/class-wc-advanced-shipment-tracking-settings.php:378
206
  msgid "Change status to shipped"
207
  msgstr ""
208
  "Cambiar estado a enviado\n"
209
 
210
- #: includes/class-wc-advanced-shipment-tracking-admin.php:891
211
  msgid "Choose for which Order status to display"
212
  msgstr "Elegir en qué Estados de pedido mostrar"
213
 
214
- #: includes/views/admin_options_bulk_upload.php:33
215
  msgid "Choose the Shipped Date format"
216
  msgstr "Elija el formato de fecha de envío"
217
 
218
- #: includes/class-wc-advanced-shipment-tracking.php:466
219
  msgid "Completed"
220
  msgstr "Terminada"
221
 
222
- #: includes/views/admin_trackship_dashboard.php:28
223
- msgid "Connected"
224
- msgstr ""
225
- "Conectado\n"
226
-
227
- #: includes/views/admin_trackship_dashboard.php:26
228
- msgid "Connection Status"
229
- msgstr "Estado de conexión"
230
-
231
- #: includes/customizer/class-wc-tracking-info-customizer.php:334
232
  msgid "Content"
233
  msgstr "Contenido"
234
 
235
- #: includes/customizer/class-wc-tracking-info-customizer.php:829
236
  msgid "Content Background color"
237
  msgstr "Color de fondo del contenido"
238
 
239
- #: includes/customizer/class-wc-tracking-info-customizer.php:392
240
- #: includes/customizer/class-wc-tracking-info-customizer.php:847
241
  msgid "Content font color"
242
  msgstr ""
243
  "Color de fuente de contenido\n"
244
 
245
- #: includes/customizer/class-wc-tracking-info-customizer.php:373
246
- #: includes/customizer/class-wc-tracking-info-customizer.php:865
247
  msgid "Content font size"
248
  msgstr ""
249
  "Tamaño de fuente de contenido\n"
250
 
251
- #: includes/customizer/class-wc-tracking-info-customizer.php:907
252
  msgid "Content font weight"
253
  msgstr ""
254
  "Peso de la fuente de contenido\n"
255
 
256
- #: includes/customizer/class-wc-tracking-info-customizer.php:884
257
  msgid "Content line height"
258
  msgstr ""
259
  "Altura de la línea de contenido\n"
260
 
261
- #: includes/views/admin_options_bulk_upload.php:56
262
  msgid "Continue"
263
  msgstr "Seguir"
264
 
265
- #: includes/views/admin_options_shipping_provider.php:63
266
  msgid "Country"
267
  msgstr "País"
268
 
269
- #: includes/class-wc-advanced-shipment-tracking-admin.php:414
270
- #: includes/class-wc-advanced-shipment-tracking-admin.php:418
 
271
  msgid "CSV Import"
272
  msgstr "Importación CSV"
273
 
274
- #: includes/views/admin_options_shipping_provider.php:56
275
  msgid "Custom API name"
276
  msgstr "Nombre de API personalizado"
277
 
278
- #: includes/views/admin_options_shipping_provider.php:52
279
  msgid "Custom display name"
280
  msgstr "Nombre de visualización personalizado"
281
 
282
- #: includes/customizer/class-wcast-customizer.php:35
283
  msgid "Custom order status email"
284
  msgstr "Correo electrónico de estado de pedido personalizado"
285
 
286
- #: includes/views/admin_options_settings.php:25
287
- msgid "Custom Order Statuses"
288
- msgstr "Estados de pedidos personalizados"
289
-
290
- #: includes/views/admin_options_shipping_provider.php:79
291
  msgid "Custom URL"
292
  msgstr "URL personalizada"
293
 
294
- #: includes/views/admin_options_settings.php:15
295
  msgid "Customer View"
296
  msgstr "Vista del cliente"
297
 
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:403
299
- #: includes/class-wc-advanced-shipment-tracking-admin.php:409
300
- #: includes/class-wc-advanced-shipment-tracking-admin.php:546
301
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
302
- #: includes/views/admin_status_notifications.php:36
303
- #: includes/views/admin_status_notifications.php:69
304
  msgid "Customize"
305
  msgstr "Personalizar"
306
 
307
- #: includes/views/admin_status_notifications.php:145
308
- msgid "Daily Digest on"
309
- msgstr "Resumen diario en"
310
-
311
- #: includes/views/admin_options_osm.php:58
312
- #: includes/views/admin_trackship_dashboard.php:118
313
  msgid "Dark Font"
314
  msgstr ""
315
  "Fuente oscura\n"
316
 
317
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:234
318
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:238
319
- msgid "Dashboard"
320
- msgstr "Tablero"
321
-
322
- #: includes/class-wc-advanced-shipment-tracking-admin.php:232
323
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:212
324
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:422
325
  msgid "Data saved successfully."
326
  msgstr "Datos guardados exitosamente."
327
 
328
- #: includes/class-wc-advanced-shipment-tracking.php:368
329
- #: includes/class-wc-advanced-shipment-tracking-settings.php:452
330
  msgid "Date shipped:"
331
  msgstr "Fecha de envío:"
332
 
333
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1383
334
- msgid "days"
335
- msgstr "dias"
336
-
337
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
338
  #| msgid "Default"
339
  msgid "default"
340
  msgstr "Defecto"
341
 
342
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1637
343
- #: includes/class-wc-advanced-shipment-tracking-settings.php:131
344
- #: includes/class-wc-advanced-shipment-tracking-settings.php:176
345
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:297
346
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:865
347
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:935
348
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:1392
349
- #: includes/customizer/class-wc-delivered-email-customizer.php:74
350
- #: includes/customizer/class-wc-intransit-email-customizer.php:166
351
- #: includes/views/admin_trackship_dashboard.php:109
352
  msgid "Delivered"
353
  msgstr "Entregado"
354
 
355
- #: includes/class-wc-advanced-shipment-tracking-settings.php:136
356
- #, php-format
357
- msgid "Delivered <span class=\"count\">(%s)</span>"
358
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
359
- msgstr[0] ""
360
- "Entregado <span class=\"count\">(%s)</span>\n"
361
- msgstr[1] ""
362
- "Entregado <span class=\"count\">(%s)</span>\n"
363
-
364
- #: includes/views/front/layout1_tracking_details.php:17
365
- #: includes/views/front/layout1_tracking_details.php:94
366
- msgid "Destination Details"
367
- msgstr "Detalles del destino"
368
-
369
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1709
370
  msgid "Display Name"
371
  msgstr "Nombre para mostrar"
372
 
373
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:552
374
- #| msgid "Display Shipment Status Filter on Orders admin"
375
- msgid "Display shipment status filter on orders admin"
376
- msgstr "Mostrar filtro de estado de envío en pedidos admin"
377
-
378
- #: includes/customizer/class-wc-tracking-info-customizer.php:485
379
  msgid "Display shipping provider image"
380
  msgstr ""
381
  "Mostrar imagen del proveedor de envío\n"
382
 
383
- #: includes/customizer/class-wc-tracking-info-customizer.php:466
384
  msgid "Display shipping provider name"
385
  msgstr ""
386
  "Mostrar nombre del proveedor de envío\n"
387
 
388
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:278
389
- #: includes/customizer/class-wc-delivered-email-customizer.php:295
390
- #: includes/customizer/class-wc-failure-email-customizer.php:276
391
- #: includes/customizer/class-wc-intransit-email-customizer.php:353
392
- #: includes/customizer/class-wc-onhold-email-customizer.php:276
393
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:275
394
- #: includes/customizer/class-wc-returntosender-email-customizer.php:276
395
- #: includes/customizer/class-wc-exception-email-customizer.php:276
396
- #| msgid "Display Shipping Address"
397
- msgid "Display the shipping address"
398
- msgstr "Mostrar dirección de envío"
399
-
400
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:240
401
- #: includes/customizer/class-wc-delivered-email-customizer.php:257
402
- #: includes/customizer/class-wc-failure-email-customizer.php:238
403
- #: includes/customizer/class-wc-intransit-email-customizer.php:315
404
- #: includes/customizer/class-wc-onhold-email-customizer.php:238
405
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:237
406
- #: includes/customizer/class-wc-returntosender-email-customizer.php:238
407
- #: includes/customizer/class-wc-exception-email-customizer.php:238
408
- msgid "Display the Shipping items"
409
- msgstr "Mostrar los artículos de envío"
410
-
411
- #: includes/views/admin_options_bulk_upload.php:118
412
  msgid "Download sample csv"
413
  msgstr "Descargar muestra csv"
414
 
415
- #: includes/views/admin_status_notifications.php:101
416
- msgid "E.g. {admin_email}, admin@example.org"
417
- msgstr "P.ej. {admin_email}, admin@example.org"
418
-
419
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:135
420
- #: includes/customizer/class-wc-delivered-email-customizer.php:133
421
- #: includes/customizer/class-wc-failure-email-customizer.php:133
422
- #: includes/customizer/class-wc-intransit-email-customizer.php:210
423
- #: includes/customizer/class-wc-onhold-email-customizer.php:133
424
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:132
425
- #: includes/customizer/class-wc-returntosender-email-customizer.php:134
426
- #: includes/customizer/class-wc-exception-email-customizer.php:133
427
- msgid "E.g. {customer.email}, admin@example.org"
428
- msgstr "Por ejemplo, {customer.email}, admin@example.org"
429
-
430
- #: includes/views/admin_options_shipping_provider.php:42
431
  msgid "Edit Shipping Provider"
432
  msgstr "Edit Shipping Provider"
433
 
434
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
435
- #: includes/customizer/class-wc-delivered-email-customizer.php:198
436
- #: includes/customizer/class-wc-failure-email-customizer.php:198
437
- #: includes/customizer/class-wc-intransit-email-customizer.php:275
438
- #: includes/customizer/class-wc-onhold-email-customizer.php:198
439
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:197
440
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:261
441
- #: includes/customizer/class-wc-returntosender-email-customizer.php:199
442
- #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
443
- #: includes/customizer/class-wc-exception-email-customizer.php:198
444
- #: includes/views/admin_status_notifications.php:117
445
  msgid "Email content"
446
  msgstr "Contenido de correo electronico"
447
 
448
- #: includes/views/admin_status_notifications.php:15
449
- msgid "Email Notifications"
450
- msgstr "Notificaciónes de Correo Electrónico"
451
-
452
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:152
453
- #: includes/customizer/class-wc-delivered-email-customizer.php:150
454
- #: includes/customizer/class-wc-failure-email-customizer.php:150
455
- #: includes/customizer/class-wc-intransit-email-customizer.php:227
456
- #: includes/customizer/class-wc-onhold-email-customizer.php:150
457
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:149
458
- #: includes/customizer/class-wc-exception-email-customizer.php:150
459
- msgid "Email Subject"
460
- msgstr "Asunto del email"
461
-
462
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
463
  msgid "Email Type"
464
  msgstr "Tipo de correo electrónico"
465
 
466
- #: includes/class-wc-advanced-shipment-tracking-trackship.php:585
467
- msgid "Enable a tracking page"
468
- msgstr "Habilitar una página de seguimiento"
 
469
 
470
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:109
471
- msgid "Enable Available For Pickup email"
472
- msgstr "Habilitar disponible para correo electrónico de recogida"
473
 
474
- #: includes/customizer/class-wc-delivered-email-customizer.php:107
475
- msgid "Enable Delivered email"
476
- msgstr "Habilitar correo electrónico entregado"
477
 
478
- #: i
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2020-11-11 09:34+0000\n"
6
+ "PO-Revision-Date: 2021-10-12 10:38+0000\n"
7
  "Last-Translator: John Doe\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\n"
12
  "Content-Type: text/plain; charset=UTF-8\n"
13
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Generator: Loco https://localise.biz/\n"
15
+ "X-Loco-Version: 2.5.4; wp-5.8.1"
16
 
17
+ #. %s: search WooCommerce plugin link
18
+ #: includes/views/admin_options_shipping_provider.php:91
19
  #, php-format
20
  msgid "<a href=\"%s\" target=\"blank\">documentation</a>"
21
  msgstr "documentación"
22
 
23
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1865
24
  msgid "Actions"
25
  msgstr "Comportamiento"
26
 
27
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
28
+ msgid "Add API Name alias"
29
+ msgstr "Agregar alias de nombre de API"
30
 
31
+ #: includes/views/admin_options_shipping_provider.php:65
32
  msgid ""
33
  "Add API name aliases to map Shipping providers names with the provider names "
34
  "that are updated in the shipment tracking API by external shipping services"
37
  "de envío con los nombres de los proveedores que los servicios de envío "
38
  "externos actualizan en la API de seguimiento de envíos."
39
 
40
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1853
41
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1995
42
  msgid "Add Custom Provider"
43
  msgstr "Agregar proveedor personalizado"
44
 
55
  "clientes (en el panel de pedidos) y en el correo electrónico completo de "
56
  "pedidos de WooCommerce."
57
 
58
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:815
59
  msgid "add the [wcast-track-order] shortcode in the selected page."
60
  msgstr "agregue el código corto [wcast-track-order] en la página seleccionada."
61
 
62
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
63
  msgid "Add Tracking"
64
  msgstr "Agregar seguimiento"
65
 
66
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:339
67
  msgid "Add Tracking - order\t"
68
  msgstr "Agregar seguimiento: pedido"
69
 
70
+ #: includes/class-wc-advanced-shipment-tracking.php:517
71
  msgid "Add Tracking Info"
72
  msgstr "Agregar información de seguimiento"
73
 
74
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:605
75
+ msgid ""
76
+ "Add Tracking Information in AST meta fields when you automatically sync "
77
+ "tracking numbers from aliexpress orders"
78
+ msgstr ""
79
+ "Agregue información de seguimiento en los metacampos de AST cuando "
80
+ "sincronice automáticamente los números de seguimiento de los pedidos de "
81
+ "aliexpress"
82
+
83
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:615
84
+ msgid ""
85
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
86
+ "& Packing Slips plugin By Ewout Fernhout"
87
+ msgstr ""
88
+ "Agregue información de seguimiento en el PDF de factura generado por el "
89
+ "complemento WooCommerce PDF Invoices & Packing Slips Por Ewout Fernhout"
90
+
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:625
92
+ msgid ""
93
+ "Add tracking information in invoice PDF generate by WooCommerce PDF Invoices "
94
+ "plugin By Bas Elbers"
95
+ msgstr ""
96
+ "Agregue información de seguimiento en la factura PDF generada por el "
97
+ "complemento WooCommerce PDF Invoices Por Bas Elbers"
98
+
99
+ #: includes/views/admin_options_settings.php:16
100
  #| msgid "Add Tracking action "
101
  msgid "Add Tracking Options"
102
  msgstr "Acción \"Agregar seguimiento\""
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
105
  msgid "Add Tracking Order action"
106
  msgstr "Agregar acción de orden de seguimiento"
107
 
108
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:585
109
+ msgid ""
110
+ "Adding tracking information to your orders shipped with 3plwinner and "
111
+ "automate your workflow"
112
+ msgstr ""
113
+ "Agregar información de seguimiento a sus pedidos enviados con 3plwinner y "
114
+ "automatizar su flujo de trabajo"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
117
+ msgid ""
118
+ "Adding tracking information to your orders shipped with CustomCat and "
119
+ "automate your workflow"
120
+ msgstr ""
121
+ "Agregar información de seguimiento a sus pedidos enviados con CustomCat y "
122
+ "automatizar su flujo de trabajo"
123
+
124
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:555
125
+ msgid ""
126
+ "Adding tracking information to your orders shipped with Dear Systems and "
127
+ "automate your workflow"
128
+ msgstr ""
129
+ "Agregar información de seguimiento a sus pedidos enviados con Dear Systems y "
130
+ "automatizar su flujo de trabajo"
131
+
132
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:595
133
+ msgid ""
134
+ "Adding tracking information to your orders shipped with Dianxiaomi and "
135
+ "automate your workflow"
136
+ msgstr ""
137
+ "Agregar información de seguimiento a sus pedidos enviados con Dianxiaomi y "
138
+ "automatizar su flujo de trabajo"
139
+
140
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:575
141
+ msgid ""
142
+ "Adding tracking information to your orders shipped with Picqer and automate "
143
+ "your workflow"
144
+ msgstr ""
145
+ "Agregar información de seguimiento a sus pedidos enviados con Picqer y "
146
+ "automatizar su flujo de trabajo"
147
+
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:565
149
+ msgid ""
150
+ "Adding tracking information to your orders shipped with Printify and "
151
+ "automate your workflow"
152
+ msgstr ""
153
+ "Agregar información de seguimiento a sus pedidos enviados con Printify y "
154
+ "automatizar su flujo de trabajo"
155
+
156
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:515
157
+ msgid ""
158
+ "Adding tracking information to your orders shipped with QuickBooks Commerce "
159
+ "and automate your workflow"
160
+ msgstr ""
161
+ "Agregar información de seguimiento a sus pedidos enviados con QuickBooks "
162
+ "Commerce y automatizar su flujo de trabajo"
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:525
165
+ msgid ""
166
+ "Adding tracking information to your orders shipped with ReadyToShip and "
167
+ "automate your workflow"
168
+ msgstr ""
169
+ "Agregar información de seguimiento a sus pedidos enviados con ReadyToShip y "
170
+ "automatizar su flujo de trabajo"
171
+
172
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
173
+ msgid ""
174
+ "Adding tracking information to your orders shipped with Royal Mail Click & "
175
+ "Drop and automate your workflow"
176
+ msgstr ""
177
+ "Agregar información de seguimiento a sus pedidos enviados con Royal Mail "
178
+ "Click & Drop y automatizar su flujo de trabajo"
179
+
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:475
181
+ msgid ""
182
+ "Adding tracking information to your orders shipped with ShipStation and "
183
+ "automate your workflow"
184
+ msgstr ""
185
+ "Agregar información de seguimiento a sus pedidos enviados con ShipStation y "
186
+ "automatizar su flujo de trabajo"
187
+
188
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:485
189
+ msgid ""
190
+ "Adding tracking information to your orders shipped with WooCommerce Shipping "
191
+ "to the Shipment Tracking and automate your workflow"
192
+ msgstr ""
193
+ "Agregar información de seguimiento a sus pedidos enviados con WooCommerce "
194
+ "Shipping al Seguimiento de envíos y automatizar su flujo de trabajo"
195
+
196
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:505
197
+ msgid ""
198
+ "Adding tracking information to your orders when generating shipping labels "
199
+ "using the Ordoro"
200
+ msgstr ""
201
+ "Agregar información de seguimiento a sus pedidos al generar etiquetas de "
202
+ "envío utilizando Ordoro"
203
+
204
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:495
205
+ msgid ""
206
+ "Adding tracking information to your orders when generating shipping labels "
207
+ "using the WooCommerce UPS Shipping Plugin with Print Label plugin by "
208
+ "PluginHive"
209
+ msgstr ""
210
+ "Agregar información de seguimiento a sus pedidos al generar etiquetas de "
211
+ "envío utilizando el complemento de envío de UPS de WooCommerce con el "
212
+ "complemento de etiqueta de impresión de PluginHive"
213
+
214
+ #: includes/customizer/class-wc-tracking-info-customizer.php:245
215
  msgid "Additional text after header"
216
  msgstr "Texto adicional después del encabezado"
217
 
 
 
 
 
218
  #. Name of the plugin
219
  msgid "Advanced Shipment Tracking for WooCommerce"
220
  msgstr "Seguimiento avanzado de envíos para WooCommerce"
221
 
222
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
223
  msgid "After Order Details"
224
  msgstr "Después de los detalles del pedido"
225
 
226
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1914
227
  msgid "API aliases"
228
  msgstr "Alias de API"
229
 
230
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
231
+ msgid "API Date Format"
232
+ msgstr "Formato de fecha de API"
233
+
234
+ #: includes/views/admin_options_shipping_provider.php:67
235
  msgid "API Name"
236
  msgstr "Nombre de API"
237
 
238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:333
239
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:162
240
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:186
241
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:211
242
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:231
243
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:191
244
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:215
245
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:240
246
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:260
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
247
  msgid "Available variables:"
248
  msgstr "Variables disponibles:"
249
 
250
+ #: includes/customizer/class-wc-tracking-info-customizer.php:186
 
 
 
 
251
  msgid "Before Order Details"
252
  msgstr "Antes de los detalles del pedido"
253
 
254
+ #: includes/customizer/class-wc-tracking-info-customizer.php:537
255
  msgid "Border color"
256
  msgstr ""
257
  "Color del borde\n"
258
 
259
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
260
  msgid "Border size"
261
  msgstr ""
262
  "Tamaño del borde\n"
263
 
264
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
265
  msgid "Bottom border color"
266
  msgstr ""
267
  "Color del borde inferior\n"
268
 
269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:968
270
  msgid "Button color"
271
  msgstr "Color del botón"
272
 
273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:986
274
  msgid "Button font color"
275
  msgstr "Color de fuente del botón"
276
 
277
+ #: includes/api/class-wc-advanced-shipment-tracking-rest-api-controller.php:222
278
  msgid "Cannot create existing order shipment tracking."
279
  msgstr ""
280
  "No se puede crear el seguimiento de envío de pedidos existente.\n"
281
 
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1831
 
 
 
 
 
283
  msgid "Change order status to"
284
  msgstr "Cambiar el estado del pedido a"
285
 
286
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:299
287
  msgid "Change status to shipped"
288
  msgstr ""
289
  "Cambiar estado a enviado\n"
290
 
291
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1056
292
  msgid "Choose for which Order status to display"
293
  msgstr "Elegir en qué Estados de pedido mostrar"
294
 
295
+ #: includes/views/admin_options_bulk_upload.php:32
296
  msgid "Choose the Shipped Date format"
297
  msgstr "Elija el formato de fecha de envío"
298
 
299
+ #: includes/class-wc-advanced-shipment-tracking.php:467
300
  msgid "Completed"
301
  msgstr "Terminada"
302
 
303
+ #: includes/customizer/class-wc-tracking-info-customizer.php:312
 
 
 
 
 
 
 
 
 
304
  msgid "Content"
305
  msgstr "Contenido"
306
 
307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:807
308
  msgid "Content Background color"
309
  msgstr "Color de fondo del contenido"
310
 
311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:370
312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:825
313
  msgid "Content font color"
314
  msgstr ""
315
  "Color de fuente de contenido\n"
316
 
317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:351
318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:843
319
  msgid "Content font size"
320
  msgstr ""
321
  "Tamaño de fuente de contenido\n"
322
 
323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:885
324
  msgid "Content font weight"
325
  msgstr ""
326
  "Peso de la fuente de contenido\n"
327
 
328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:862
329
  msgid "Content line height"
330
  msgstr ""
331
  "Altura de la línea de contenido\n"
332
 
333
+ #: includes/views/admin_options_bulk_upload.php:55
334
  msgid "Continue"
335
  msgstr "Seguir"
336
 
337
+ #: includes/views/admin_options_shipping_provider.php:72
338
  msgid "Country"
339
  msgstr "País"
340
 
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:381
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:385
343
+ #: includes/views/admin_options_bulk_upload.php:8
344
  msgid "CSV Import"
345
  msgstr "Importación CSV"
346
 
347
+ #: includes/views/admin_options_shipping_provider.php:65
348
  msgid "Custom API name"
349
  msgstr "Nombre de API personalizado"
350
 
351
+ #: includes/views/admin_options_shipping_provider.php:61
352
  msgid "Custom display name"
353
  msgstr "Nombre de visualización personalizado"
354
 
355
+ #: includes/customizer/class-wcast-customizer.php:44
356
  msgid "Custom order status email"
357
  msgstr "Correo electrónico de estado de pedido personalizado"
358
 
359
+ #: includes/views/admin_options_shipping_provider.php:82
 
 
 
 
360
  msgid "Custom URL"
361
  msgstr "URL personalizada"
362
 
363
+ #: includes/views/admin_options_settings.php:32
364
  msgid "Customer View"
365
  msgstr "Vista del cliente"
366
 
367
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:712
368
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:832
 
 
 
 
369
  msgid "Customize"
370
  msgstr "Personalizar"
371
 
372
+ #: includes/views/admin_options_osm.php:66
 
 
 
 
 
373
  msgid "Dark Font"
374
  msgstr ""
375
  "Fuente oscura\n"
376
 
377
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:173
 
 
 
 
 
 
 
378
  msgid "Data saved successfully."
379
  msgstr "Datos guardados exitosamente."
380
 
381
+ #: includes/class-wc-advanced-shipment-tracking.php:369
382
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:377
383
  msgid "Date shipped:"
384
  msgstr "Fecha de envío:"
385
 
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1953
 
 
 
 
387
  #| msgid "Default"
388
  msgid "default"
389
  msgstr "Defecto"
390
 
391
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1819
 
 
 
 
 
 
 
 
 
392
  msgid "Delivered"
393
  msgstr "Entregado"
394
 
395
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1862
 
 
 
 
 
 
 
 
 
 
 
 
 
 
396
  msgid "Display Name"
397
  msgstr "Nombre para mostrar"
398
 
399
+ #: includes/customizer/class-wc-tracking-info-customizer.php:463
 
 
 
 
 
400
  msgid "Display shipping provider image"
401
  msgstr ""
402
  "Mostrar imagen del proveedor de envío\n"
403
 
404
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
405
  msgid "Display shipping provider name"
406
  msgstr ""
407
  "Mostrar nombre del proveedor de envío\n"
408
 
409
+ #: includes/views/admin_options_bulk_upload.php:117
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
410
  msgid "Download sample csv"
411
  msgstr "Descargar muestra csv"
412
 
413
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1942
414
+ msgid "edit"
415
+ msgstr "editar"
416
+
417
+ #: includes/views/admin_options_shipping_provider.php:51
 
 
 
 
 
 
 
 
 
 
 
418
  msgid "Edit Shipping Provider"
419
  msgstr "Edit Shipping Provider"
420
 
421
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:210
422
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:239
 
 
 
 
 
 
 
 
 
423
  msgid "Email content"
424
  msgstr "Contenido de correo electronico"
425
 
426
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:149
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
  msgid "Email Type"
428
  msgstr "Tipo de correo electrónico"
429
 
430
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:171
431
+ msgid "Enable Partially Shipped order status email"
432
+ msgstr ""
433
+ "Habilitar correo electrónico de estado de pedido enviado parcialmente\n"
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:584
436
+ msgid "Enable the 3plwinner integration"
437
+ msgstr "Habilite la integración de 3plwinner"
438
 
439
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:604
440
+ msgid "Enable the AliExpress Dropshipping integration"
441
+ msgstr "Habilite la integración de AliExpress Dropshipping"
442