Advanced Shipment Tracking for WooCommerce - Version 2.7.7

Version Description

  • Added functionality for all time send partially shipped email when added tracking info and mark as partially shipped
  • Added new layout of tracking page
  • Updated design of TrackShip and tracking page tab
  • Updated design of custom status settings
  • Updated design of Shipping Providers list
  • Updated Trackship date format in shipment status column based on WP settings
  • Updated orders list in Tracking display customizer and added filter for tracking added
  • Updated Tracking display customizer
  • Updated design of Add-ons tab
  • Updated default text of Partially Shipped and Updated Tracking order status email
  • Fixed issue with shipment status email subject/headers/content, If it will be blank than take default text

For the complete changelog

Download this release

Release Info

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

Code changes from version 2.6 to 2.7.7

Files changed (104) hide show
  1. assets/css/admin.css +478 -167
  2. assets/css/customizer-styles.css +36 -9
  3. assets/css/front.css +202 -33
  4. assets/css/icons/ast-icon.png +0 -0
  5. assets/css/icons/invalid-v3.png +0 -0
  6. assets/css/icons/partial-shipped-icon.png +0 -0
  7. assets/css/icons/updated-tracking-icon.png +0 -0
  8. assets/css/welcome.css +180 -0
  9. assets/images/Tracking-Per-Item-addon.jpg +0 -0
  10. assets/images/ast-addons-notice-image.jpg +0 -0
  11. assets/images/t_layout_1.jpg +0 -0
  12. assets/images/t_layout_2.jpg +0 -0
  13. assets/images/tracking-1.png +0 -0
  14. assets/images/tracking-2.png +0 -0
  15. assets/images/ts-banner.jpg +0 -0
  16. assets/js/admin.js +136 -45
  17. assets/js/customizer-scripts.js +196 -6
  18. assets/js/front.js +11 -0
  19. assets/js/preview-scripts.js +67 -0
  20. assets/js/settings.js +79 -15
  21. assets/js/shipping_row.js +289 -30
  22. assets/js/welcome.js +41 -0
  23. assets/shipment-provider-img/apc-overnight.png +0 -0
  24. assets/shipment-provider-img/bpost.png +0 -0
  25. assets/shipment-provider-img/brt.png +0 -0
  26. assets/shipment-provider-img/cj-logistics.png +0 -0
  27. assets/shipment-provider-img/cj-packet.png +0 -0
  28. assets/shipment-provider-img/cjpacket.png +0 -0
  29. assets/shipment-provider-img/collectplus.png +0 -0
  30. assets/shipment-provider-img/correos-espana.png +0 -0
  31. assets/shipment-provider-img/dpd-fr.png +0 -0
  32. assets/shipment-provider-img/ekart.png +0 -0
  33. assets/shipment-provider-img/ethiopia-post.png +0 -0
  34. assets/shipment-provider-img/gls-spain.png +0 -0
  35. assets/shipment-provider-img/jcex.png +0 -0
  36. assets/shipment-provider-img/kerry-express.png +0 -0
  37. assets/shipment-provider-img/landmark-global.png +0 -0
  38. assets/shipment-provider-img/lion-parcel.png +0 -0
  39. assets/shipment-provider-img/lithuania-post.png +0 -0
  40. assets/shipment-provider-img/loomis-express.png +0 -0
  41. assets/shipment-provider-img/magyar-posta.png +0 -0
  42. assets/shipment-provider-img/ontime.png +0 -0
  43. assets/shipment-provider-img/poste-italiane.png +0 -0
  44. assets/shipment-provider-img/redpack.png +0 -0
  45. assets/shipment-provider-img/russian-post.png +0 -0
  46. assets/shipment-provider-img/sagawa.png +0 -0
  47. assets/shipment-provider-img/saudi-post.png +0 -0
  48. assets/shipment-provider-img/serbia-post.png +0 -0
  49. assets/shipment-provider-img/shadowfax.png +0 -0
  50. assets/shipment-provider-img/spee-dee.png +0 -0
  51. assets/shipment-provider-img/thailand-post.png +0 -0
  52. assets/shipment-provider-img/toll-ipec.png +0 -0
  53. assets/shipment-provider-img/toll.png +0 -0
  54. assets/shipment-provider-img/trackon.png +0 -0
  55. assets/shipment-provider-img/yodel.png +0 -0
  56. assets/tracking.csv +0 -6
  57. includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +30 -32
  58. includes/class-wc-advanced-shipment-tracking-admin.php +607 -749
  59. includes/class-wc-advanced-shipment-tracking-front.php +754 -488
  60. includes/class-wc-advanced-shipment-tracking-install.php +446 -70
  61. includes/class-wc-advanced-shipment-tracking-settings.php +960 -0
  62. includes/class-wc-advanced-shipment-tracking.php +208 -81
  63. includes/class-wc-advanced-shipment-welcome.php +365 -0
  64. includes/customizer/class-wc-availableforpickup-email-customizer.php +26 -7
  65. includes/customizer/class-wc-delivered-email-customizer.php +26 -7
  66. includes/customizer/class-wc-email-customizer.php +26 -8
  67. includes/customizer/class-wc-failure-email-customizer.php +27 -7
  68. includes/customizer/class-wc-intransit-email-customizer.php +26 -7
  69. includes/customizer/class-wc-outfordelivery-email-customizer.php +26 -7
  70. includes/customizer/class-wc-partial-shipped-email-customizer.php +421 -0
  71. includes/customizer/class-wc-returntosender-email-customizer.php +26 -7
  72. includes/customizer/class-wc-tracking-info-customizer.php +188 -67
  73. includes/customizer/class-wc-updated-tracking-email-customizer.php +421 -0
  74. includes/customizer/class-wcast-customizer.php +53 -3
  75. includes/customizer/custom-controls.php +1 -1
  76. includes/customizer/preview/partial_shipped_preview.php +30 -0
  77. includes/customizer/preview/updated_tracking_preview.php +30 -0
  78. includes/email-manager.php +59 -11
  79. includes/emails/class-shipment-delivered-email.php +8 -7
  80. includes/emails/class-shipment-partial-shipped-email.php +184 -0
  81. includes/emails/class-shipment-updated-tracking-email.php +184 -0
  82. includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js +37 -0
  83. includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php +1 -1
  84. includes/views/admin_options_addons.php +133 -0
  85. includes/views/admin_options_bulk_upload.php +14 -9
  86. includes/views/admin_options_settings.php +113 -5
  87. includes/views/admin_options_shipping_provider.php +20 -13
  88. includes/views/admin_options_tools.php +33 -0
  89. includes/views/admin_options_trackship_integration.php +22 -245
  90. includes/views/admin_status_notifications.php +103 -0
  91. includes/views/admin_tracking_page_settings.php +118 -0
  92. includes/views/admin_trackship_dashboard.php +84 -0
  93. includes/views/zorem_admin_sidebar.php +13 -23
  94. includes/views/zorem_admin_ts_sidebar.php +11 -16
  95. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  96. lang/woo-advanced-shipment-tracking-bg_BG.po +955 -933
  97. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  98. lang/woo-advanced-shipment-tracking-da_DK.po +948 -918
  99. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  100. lang/woo-advanced-shipment-tracking-de_DE.po +617 -1038
  101. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  102. lang/woo-advanced-shipment-tracking-el.po +960 -922
  103. lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
  104. lang/woo-advanced-shipment-tracking-es_ES.po +467 -876
assets/css/admin.css CHANGED
@@ -37,6 +37,12 @@
37
  width: 100%
38
  }
39
  #woocommerce-advanced-shipment-tracking input[type=checkbox]{
 
 
 
 
 
 
40
  margin: 0px 4px 0 4px;
41
  }
42
  #woocommerce-advanced-shipment-tracking .preview_tracking_link {
@@ -81,18 +87,20 @@ section.tab_section {
81
  display: none;
82
  padding: 0 30px 30px;
83
  border-top: 1px solid #ddd;
84
- background: rgb(245, 248, 250);
 
 
 
85
  }
86
  section.tpage_section{
87
  display: none;
88
  }
89
- input.tab_input {
90
  display: none;
91
  }
92
  label.tab_label {
93
  text-decoration: none;
94
- padding: 17px 0 15px;
95
- border-bottom: 2px solid #fff;
96
  font-size: 14px;
97
  color: #393f4c;
98
  display: inline-block;
@@ -100,6 +108,16 @@ label.tab_label {
100
  line-height: 1;
101
  outline: none;
102
  }
 
 
 
 
 
 
 
 
 
 
103
  label.tab_label.first_label {
104
  margin-left: 30px;
105
  }
@@ -112,9 +130,9 @@ label.tab_label:hover {
112
  color: #74C2E1;
113
  cursor: pointer;
114
  }
115
- input.tab_input:checked + label {
116
  color: #74C2E1;
117
- border-bottom-color: #74C2E1;
118
  margin-bottom: -1px;
119
  }
120
  input.tab_input_1 {
@@ -134,13 +152,16 @@ input.tab_input_1:checked + label{
134
  display: table-cell;
135
  vertical-align: top;
136
  }
 
 
 
137
  #content1 .tab_inner_container{
138
  display: block;
139
  }
140
  .tab_inner_container h4 {
141
  margin-top: 0;
142
  }
143
- #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10 {
144
  display: block;
145
  }
146
  .shipping_add_field {
@@ -299,10 +320,6 @@ input.tab_input_1:checked + label{
299
  margin-top: 20px;
300
  padding: 10px 15px;
301
  }
302
- .order-status.status-delivered {
303
- color: #fff;
304
- background: #212c42;
305
- }
306
  #woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
307
  display: none;
308
  }
@@ -313,7 +330,7 @@ input.tab_input_1:checked + label{
313
  width: 30%;
314
  }
315
  .ast_admin_content .form-table th.titledesc {
316
- width: 50%;
317
  }
318
  .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
319
  margin: -4px 0 0 5px;
@@ -346,7 +363,7 @@ input.tab_input_1:checked + label{
346
  .ast_admin_content .form-table .wp-color-result.button {
347
  margin: 0 6px 0px 0;
348
  }
349
- #wc_ast_status_label_color {
350
  width: 80px;
351
  }
352
  .color_field input[type=text] {
@@ -593,12 +610,9 @@ td.column-columnname.url-column {
593
  .form-table td p{
594
  margin: 0;
595
  }
596
- #wc_ast_settings_form .form-table tr,#wc_ast_trackship_form .form-table tr,#wc_ast_upload_csv_form .form-table tr{
597
  border-bottom: 1px solid #eee;
598
  }
599
- a.settings_edit {
600
- margin-left: 10px;
601
- }
602
  input#wc_ast_api_key {
603
  width: 260px;
604
  }
@@ -622,8 +636,7 @@ span.api_connected .dashicons.dashicons-yes {
622
  .ac-container .headig_label {
623
  padding: 15px 20px 15px 60px;
624
  margin-bottom: 0;
625
- position: relative;
626
- z-index: 20;
627
  display: block;
628
  cursor: default;
629
  color: #777;
@@ -813,8 +826,20 @@ span.email_status_span i:hover,span.email_status_span i:focus{
813
  span.email_status_span i.enable {
814
  color: #83bd31;
815
  }
 
 
 
 
 
 
 
 
 
 
 
 
816
  .ast-shipment-status i {
817
- font-size: 18px;
818
  }
819
  .label_content {
820
  font-weight: 600;
@@ -832,14 +857,14 @@ span.email_status_span i.enable {
832
  margin-right: 10px;
833
  }
834
  .wcast-shipment-status-icon span{
835
- margin-top: 4px;
836
  display: inline-block;
837
  }
838
  .wcast-shipment-status-icon .icon-invalid_user_key:before{
839
  content: ' ';
840
  background-image: url(icons/invalid-user-key-v4.png);
841
- width: 20px;
842
- height: 20px;
843
  background-size: cover;
844
  display: inline-block;
845
  vertical-align: middle;
@@ -847,8 +872,8 @@ span.email_status_span i.enable {
847
  .wcast-shipment-status-icon .icon-delivered:before{
848
  content: ' ';
849
  background-image: url(icons/delivered-v4.png);
850
- width: 20px;
851
- height: 20px;
852
  background-size: cover;
853
  display: inline-block;
854
  vertical-align: middle;
@@ -856,8 +881,8 @@ span.email_status_span i.enable {
856
  .wcast-shipment-status-icon .icon-in_transit:before{
857
  content: ' ';
858
  background-image: url(icons/in-transit-v4.png);
859
- width: 20px;
860
- height: 20px;
861
  background-size: cover;
862
  display: inline-block;
863
  vertical-align: middle;
@@ -865,8 +890,8 @@ span.email_status_span i.enable {
865
  .wcast-shipment-status-icon .icon-pre_transit:before{
866
  content: ' ';
867
  background-image: url(icons/pre-transit-v4.png);
868
- width: 20px;
869
- height: 20px;
870
  background-size: cover;
871
  display: inline-block;
872
  vertical-align: middle;
@@ -874,8 +899,8 @@ span.email_status_span i.enable {
874
  .wcast-shipment-status-icon .icon-out_for_delivery:before{
875
  content: ' ';
876
  background-image: url(icons/out-for-delivery-v4.png);
877
- width: 20px;
878
- height: 20px;
879
  background-size: cover;
880
  display: inline-block;
881
  vertical-align: middle;
@@ -883,8 +908,8 @@ span.email_status_span i.enable {
883
  .wcast-shipment-status-icon .icon-available_for_pickup:before{
884
  content: ' ';
885
  background-image: url(icons/available-for-picup-v4.png);
886
- width: 20px;
887
- height: 20px;
888
  background-size: cover;
889
  display: inline-block;
890
  vertical-align: middle;
@@ -892,8 +917,8 @@ span.email_status_span i.enable {
892
  .wcast-shipment-status-icon .icon-return_to_sender:before{
893
  content: ' ';
894
  background-image: url(icons/return-to-sender-v4.png);
895
- width: 20px;
896
- height: 20px;
897
  background-size: cover;
898
  display: inline-block;
899
  vertical-align: middle;
@@ -901,8 +926,8 @@ span.email_status_span i.enable {
901
  .wcast-shipment-status-icon .icon-failure:before{
902
  content: ' ';
903
  background-image: url(icons/failure-v4.png);
904
- width: 20px;
905
- height: 20px;
906
  background-size: cover;
907
  display: inline-block;
908
  vertical-align: middle;
@@ -910,8 +935,8 @@ span.email_status_span i.enable {
910
  .wcast-shipment-status-icon .icon-unknown:before{
911
  content: ' ';
912
  background-image: url(icons/unknown-v4.png);
913
- width: 20px;
914
- height: 20px;
915
  background-size: cover;
916
  display: inline-block;
917
  vertical-align: middle;
@@ -919,8 +944,8 @@ span.email_status_span i.enable {
919
  .wcast-shipment-status-icon .icon-pending_trackship:before{
920
  content: ' ';
921
  background-image: url(icons/pending-trackship-v4.png);
922
- width: 20px;
923
- height: 20px;
924
  background-size: cover;
925
  display: inline-block;
926
  vertical-align: middle;
@@ -928,8 +953,8 @@ span.email_status_span i.enable {
928
  .wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
929
  content: ' ';
930
  background-image: url(icons/invalid-v3.png);
931
- width: 20px;
932
- height: 20px;
933
  background-size: cover;
934
  display: inline-block;
935
  vertical-align: middle;
@@ -937,8 +962,8 @@ span.email_status_span i.enable {
937
  .wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
938
  content: ' ';
939
  background-image: url(icons/invalid-v3.png);
940
- width: 20px;
941
- height: 20px;
942
  background-size: cover;
943
  display: inline-block;
944
  vertical-align: middle;
@@ -946,8 +971,8 @@ span.email_status_span i.enable {
946
  .wcast-shipment-status-icon .icon-default:before{
947
  content: ' ';
948
  background-image: url(icons/invalid-v3.png);
949
- width: 20px;
950
- height: 20px;
951
  background-size: cover;
952
  display: inline-block;
953
  vertical-align: middle;
@@ -955,119 +980,132 @@ span.email_status_span i.enable {
955
  .ast-shipment-status .icon-default:before{
956
  content: ' ';
957
  background-image: url(icons/invalid-v3.png);
958
- width: 20px;
959
- height: 20px;
960
  background-size: cover;
961
  display: inline-block;
962
- vertical-align: middle;
 
963
  }
964
  .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
965
  content: ' ';
966
  background-image: url(icons/invalid-v3.png);
967
- width: 20px;
968
- height: 20px;
969
  background-size: cover;
970
  display: inline-block;
971
- vertical-align: middle;
 
972
  }
973
  .ast-shipment-status .icon-wrong_shipping_provider:before{
974
  content: ' ';
975
  background-image: url(icons/invalid-v3.png);
976
- width: 20px;
977
- height: 20px;
978
  background-size: cover;
979
  display: inline-block;
980
- vertical-align: middle;
 
981
  }
982
  .ast-shipment-status .icon-delivered:before{
983
  content: ' ';
984
  background-image: url(icons/delivered-v4.png);
985
- width: 20px;
986
- height: 20px;
987
  background-size: cover;
988
  display: inline-block;
989
- vertical-align: middle;
 
990
  }
991
  .ast-shipment-status .icon-in_transit:before{
992
  content: ' ';
993
  background-image: url(icons/in-transit-v4.png);
994
- width: 20px;
995
- height: 20px;
996
  background-size: cover;
997
  display: inline-block;
998
- vertical-align: middle;
 
999
  }
1000
  .ast-shipment-status .icon-pre_transit:before{
1001
  content: ' ';
1002
  background-image: url(icons/pre-transit-v4.png);
1003
- width: 20px;
1004
- height: 20px;
1005
  background-size: cover;
1006
  display: inline-block;
1007
- vertical-align: middle;
 
1008
  }
1009
  .ast-shipment-status .icon-out_for_delivery:before{
1010
  content: ' ';
1011
  background-image: url(icons/out-for-delivery-v4.png);
1012
- width: 20px;
1013
- height: 20px;
1014
  background-size: cover;
1015
  display: inline-block;
1016
- vertical-align: middle;
 
1017
  }
1018
  .ast-shipment-status .icon-available_for_pickup:before{
1019
  content: ' ';
1020
  background-image: url(icons/available-for-picup-v4.png);
1021
- width: 20px;
1022
- height: 20px;
1023
  background-size: cover;
1024
  display: inline-block;
1025
- vertical-align: middle;
 
1026
  }
1027
  .ast-shipment-status .icon-return_to_sender:before{
1028
  content: ' ';
1029
  background-image: url(icons/return-to-sender-v4.png);
1030
- width: 20px;
1031
- height: 20px;
1032
  background-size: cover;
1033
  display: inline-block;
1034
- vertical-align: middle;
 
1035
  }
1036
  .ast-shipment-status .icon-failure:before{
1037
  content: ' ';
1038
  background-image: url(icons/failure-v4.png);
1039
- width: 20px;
1040
- height: 20px;
1041
  background-size: cover;
1042
  display: inline-block;
1043
- vertical-align: middle;
 
1044
  }
1045
  .ast-shipment-status .icon-unknown:before{
1046
  content: ' ';
1047
  background-image: url(icons/unknown-v4.png);
1048
- width: 20px;
1049
- height: 20px;
1050
  background-size: cover;
1051
  display: inline-block;
1052
- vertical-align: middle;
 
1053
  }
1054
  .ast-shipment-status .icon-pending_trackship:before{
1055
  content: ' ';
1056
  background-image: url(icons/pending-trackship-v4.png);
1057
- width: 20px;
1058
- height: 20px;
1059
  background-size: cover;
1060
  display: inline-block;
1061
- vertical-align: middle;
 
1062
  }
1063
  .ast-shipment-status .icon-invalid_user_key:before{
1064
  content: ' ';
1065
  background-image: url(icons/invalid-user-key-v4.png);
1066
- width: 20px;
1067
- height: 20px;
1068
  background-size: cover;
1069
  display: inline-block;
1070
- vertical-align: middle;
 
1071
  }
1072
 
1073
  .wcast-shipment-status-icon i {
@@ -1086,7 +1124,7 @@ span.email_status_span i.enable {
1086
  .icon-pending_trackship {
1087
  color: #CCCC00;
1088
  }
1089
- .wcast-shipment-est-delivery {
1090
  display: block;
1091
  }
1092
  .showif_has_est_delivery_0, .showif_has_est_delivery_1 {
@@ -1113,11 +1151,12 @@ span.email_status_span i.enable {
1113
  font-size: 11px;
1114
  }
1115
  .wcast-tracking-number-list li, .wcast-shipment-status-list li {
1116
- position:relative;
1117
- border: 1px solid #eee;
1118
- padding: 5px 10px;
1119
  min-height: 50px;
1120
  box-sizing: border-box;
 
1121
  }
1122
  a.inline_tracking_delete{
1123
  display:none;
@@ -1219,7 +1258,7 @@ a.cancel_edit {
1219
  padding-bottom: 40px;
1220
  }
1221
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
1222
- background: rgb(245, 248, 250);
1223
  }
1224
  .woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
1225
  background: #fff;
@@ -1353,17 +1392,17 @@ span.provider_name {
1353
  font-weight: 500;
1354
  font-size: 14px;
1355
  }
1356
- .row-1 {
1357
  margin-bottom: 0;
1358
  display: flex;
1359
  align-items: start;
1360
  }
1361
- .row-1:after {
1362
  content: '';
1363
  clear: both;
1364
  display: block;
1365
  }
1366
- .row-2 {
1367
  margin-top: 15px;
1368
  border-top: 1px solid #ccc;
1369
  padding-top: 10px;
@@ -1383,7 +1422,7 @@ span.provider_name {
1383
  float: right;
1384
  padding-right: 10px;
1385
  }
1386
- .row-2:after{
1387
  content:'';
1388
  clear:both;
1389
  display: block;
@@ -1394,9 +1433,10 @@ span.provider_name {
1394
  }
1395
  .status_filter {
1396
  margin: 10px 8px 10px 0;
1397
- display:inline-block;
1398
  }
1399
  .status_filter a{
 
1400
  padding: 0 5px;
1401
  text-decoration: none;
1402
  }
@@ -1408,19 +1448,21 @@ a.active{
1408
  color:#74C2E1;
1409
  }
1410
  .search_section {
1411
- display: inline-block;
1412
- float: right;
1413
  }
1414
  #search_provider{
1415
- width: 264px;
1416
- padding-top: 5px;
1417
- padding-bottom: 5px;
1418
- border-radius: 3px;
1419
- padding-left: 30px;
 
 
1420
  }
1421
  .search_section .search-icon{
1422
  position: absolute;
1423
- padding: 5px;
 
1424
  }
1425
  .provider_settings {
1426
  display: inline-block;
@@ -1435,65 +1477,61 @@ a.active{
1435
  display:block;
1436
  }
1437
  .provider_top {
1438
- position: relative;
1439
- margin: 10px 0;
 
 
1440
  }
1441
- .dropdown {
1442
- position: relative;
1443
- display: inline-block;
 
1444
  }
1445
 
1446
- .dropdown-content {
1447
- display: none;
 
 
 
 
 
 
 
1448
  position: absolute;
1449
- right: 0;
1450
- background-color: #f9f9f9;
1451
- min-width: 220px;
1452
- box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
1453
- z-index: 100;
1454
- border: 1px solid #ccc;
1455
- padding: .5rem;
1456
- margin-top: 0;
1457
  }
1458
- .dropdown-content li {
1459
- margin-bottom: 0;
1460
- border-bottom: 1px solid #ebeef2;
1461
- padding: .5rem;
1462
  }
1463
- .dropdown-content li a {
1464
- color: black;
1465
- text-decoration: none;
1466
- display: block;
1467
-
1468
- }
1469
- .dropdown-content li a.reset_active,.dropdown-content li a.reset_inactive{
1470
- display: inline-block;
1471
- color: #0073aa;
1472
  }
1473
- .dropdown-content li:last-child{
1474
- border-bottom: none;
 
1475
  }
1476
- .dropdown-content li:hover {background-color: #f1f1f1;}
1477
- /*.dropdown:hover .dropdown-content {display: block;}*/
1478
-
1479
  .dropdown_menu{
1480
  cursor: pointer;
1481
  padding: 0 5px 10px;
1482
  }
1483
- .dropdown-content:before{
1484
- content: '';
1485
- width: .75rem;
1486
- height: .75rem;
1487
- position: absolute;
1488
- z-index: 1;
1489
- top: -0.375rem;
1490
- right: 8px;
1491
- background-color: #fff;
1492
- transform: rotate(45deg);
1493
- /* box-shadow: -1px -1px 1px rgba(0,0,0,0.125); */
1494
- border: 1px solid #aebacc;
1495
- border-width: 1px 0 0 1px;
1496
- margin-top: -1px;
1497
  }
1498
  .mdl-dialog.add_custom_dialog{
1499
  width: 600px;
@@ -1539,9 +1577,9 @@ a.active{
1539
  .popuprow {
1540
  display: inline-block;
1541
  vertical-align: middle;
1542
- max-width: 300px;
1543
  background: #f9f9f9;
1544
- padding: 30px;
1545
  position: relative;
1546
  z-index: 10;
1547
  border-radius: 2px;
@@ -1549,17 +1587,19 @@ a.active{
1549
  width: calc(100% - 5px);
1550
  max-height: 90%;
1551
  overflow-y: overlay;
 
1552
  }
1553
- .how_to_video_popup .popuprow{
1554
  max-width: 700px;
1555
  padding: 0;
1556
  }
1557
  .trackingpopup_row {
1558
  display: inline-block;
1559
  vertical-align: middle;
1560
- max-width: 300px;
 
1561
  background: #f9f9f9;
1562
- padding: 30px;
1563
  position: relative;
1564
  z-index: 10;
1565
  border-radius: 2px;
@@ -1579,20 +1619,29 @@ a.active{
1579
  .popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
1580
  line-height: 24px;
1581
  color: #0d0d0d;
1582
- width: 90%;
1583
- margin-bottom: 10px;
1584
- /*border: 1px solid #ddd !important;*/
1585
  }
1586
  .popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
1587
- width: 68%;
1588
  }
1589
  .popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1590
  line-height: 24px;
1591
  color: #0d0d0d;
1592
- width: 90%;
1593
  margin-bottom: 10px;
1594
- height: 32px;
1595
- /*border: 1px solid #ddd !important;*/
 
 
 
 
 
 
 
 
 
 
1596
  }
1597
  .close-button{
1598
  background: #000 none repeat scroll 0 0;
@@ -1605,6 +1654,13 @@ a.active{
1605
  right: 10px;
1606
  height: 34px;
1607
  }
 
 
 
 
 
 
 
1608
  .provider-status .mdl-switch{
1609
  width: auto;
1610
  }
@@ -1688,6 +1744,7 @@ p.delivered_message {
1688
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1689
  margin: 25px 0 0;
1690
  border-bottom: 0;
 
1691
  }
1692
  #wc_ast_settings_form table.form-table.heading-table tr,#wc_ast_trackship_form table.form-table.heading-table tr,#wc_ast_upload_csv_form table.form-table.heading-table tr{
1693
  border-bottom: 0;
@@ -1698,6 +1755,7 @@ p.delivered_message {
1698
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1699
  margin: 0;
1700
  color:#005B9A;
 
1701
  }
1702
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1703
  text-align:right;
@@ -1709,6 +1767,7 @@ p.delivered_message {
1709
  margin: 25px 0 0;
1710
  border-bottom: 0;
1711
  padding: 15px;
 
1712
  }
1713
  .zorem_admin_layout h3.table-heading:after{
1714
  content:'';
@@ -1719,6 +1778,7 @@ p.delivered_message {
1719
  }
1720
  .woocommerce.zorem_admin_layout table.form-table th{
1721
  padding: 20px 24px 20px 15px;
 
1722
  }
1723
  .woocommerce.zorem_admin_layout table.form-table td{
1724
  padding: 15px 15px;
@@ -1726,6 +1786,7 @@ p.delivered_message {
1726
  .woocommerce.zorem_admin_layout table.form-table th label{
1727
  font-weight: 400;
1728
  color: #444;
 
1729
  }
1730
  .woocommerce.zorem_admin_layout table.form-table p.description{
1731
  font-size: 0.9em;
@@ -1756,6 +1817,13 @@ p.tracking-preview-desc {
1756
  width: auto;
1757
  max-width: 400px;
1758
  min-width: 90px;
 
 
 
 
 
 
 
1759
  }
1760
  .trackship-icon{
1761
  width: 70px;
@@ -1765,6 +1833,9 @@ p.tracking-preview-desc {
1765
  text-align:left;
1766
  }
1767
  .add_tracking_number_form input[type=checkbox]{
 
 
 
1768
  margin: 0px 4px 0 4px;
1769
  }
1770
  .d_table{
@@ -1875,6 +1946,13 @@ p.tracking-preview-desc {
1875
  width: 100%;
1876
  height: 100%;
1877
  }
 
 
 
 
 
 
 
1878
  @media (max-width: 767px) {
1879
  .notice.ast-admin-notice {
1880
  padding: 10px;
@@ -1981,7 +2059,8 @@ input.widget_tab_input {
1981
  display: none;
1982
  }
1983
  input.widget_tab_input:checked + label {
1984
- color: #74C2E1;
 
1985
  }
1986
  label.widget_tab_label{
1987
  text-decoration: none;
@@ -1992,17 +2071,20 @@ label.widget_tab_label{
1992
  display: inline-block;
1993
  margin-right: 12px;
1994
  line-height: 1;
1995
- outline: none;
1996
  }
1997
  label.widget_tab_label.first_label{
1998
  margin-left: 12px;
1999
  }
2000
- #tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status{
2001
  display: block;
2002
  }
 
2003
  section.widget_tab_section {
2004
  display: none;
2005
  border-top:1px solid #eee;
 
 
2006
  }
2007
  /**** -------- ****/
2008
 
@@ -2038,7 +2120,226 @@ section.widget_tab_section {
2038
  padding: 0;
2039
  margin: 0;
2040
  }
 
 
 
 
2041
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2042
  /*** RTL CSS ***/
2043
  .rtl.shipment_tracking_admin_settings #wpcontent {
2044
  padding-right: 0;
@@ -2148,7 +2449,8 @@ section.widget_tab_section {
2148
  width: 25%;
2149
  }
2150
  #search_provider{
2151
- width: 200px;
 
2152
  }
2153
  .provider-thumb {
2154
  height: 40px;
@@ -2178,6 +2480,12 @@ section.widget_tab_section {
2178
  padding: 15px 0 15px;
2179
  margin-left: 30px;
2180
  }
 
 
 
 
 
 
2181
  }
2182
  @media screen and (max-width: 500px) {
2183
  .provider{
@@ -2194,4 +2502,7 @@ section.widget_tab_section {
2194
  #search_provider{
2195
  width: 100%;
2196
  }
 
 
 
2197
  }
37
  width: 100%
38
  }
39
  #woocommerce-advanced-shipment-tracking input[type=checkbox]{
40
+ margin: 0px 4px 0 0px;
41
+ }
42
+ #woocommerce-advanced-shipment-tracking .ast-product-table input[type=checkbox]{
43
+ margin: 0px 4px 0 4px;
44
+ }
45
+ #woocommerce-advanced-shipment-tracking #change_order_to_shipped_field{
46
  margin: 0px 4px 0 4px;
47
  }
48
  #woocommerce-advanced-shipment-tracking .preview_tracking_link {
87
  display: none;
88
  padding: 0 30px 30px;
89
  border-top: 1px solid #ddd;
90
+ background: #f7fafc;
91
+ }
92
+ section.inner_tab_section {
93
+ display: none;
94
  }
95
  section.tpage_section{
96
  display: none;
97
  }
98
+ input.tab_input,input.inner_tab_input {
99
  display: none;
100
  }
101
  label.tab_label {
102
  text-decoration: none;
103
+ padding: 17px 0 15px;
 
104
  font-size: 14px;
105
  color: #393f4c;
106
  display: inline-block;
108
  line-height: 1;
109
  outline: none;
110
  }
111
+ label.inner_tab_label {
112
+ text-decoration: none;
113
+ padding: 15px 0 5px;
114
+ font-size: 13px;
115
+ color: #393f4c;
116
+ display: inline-block;
117
+ margin-right: 15px;
118
+ line-height: 1;
119
+ outline: none;
120
+ }
121
  label.tab_label.first_label {
122
  margin-left: 30px;
123
  }
130
  color: #74C2E1;
131
  cursor: pointer;
132
  }
133
+ input.tab_input:checked + label,input.inner_tab_input:checked + label {
134
  color: #74C2E1;
135
+ border-bottom: 2px solid #74C2E1;
136
  margin-bottom: -1px;
137
  }
138
  input.tab_input_1 {
152
  display: table-cell;
153
  vertical-align: top;
154
  }
155
+ #wc_ast_trackship_form {
156
+ border-top: 1px solid #eee;
157
+ }
158
  #content1 .tab_inner_container{
159
  display: block;
160
  }
161
  .tab_inner_container h4 {
162
  margin-top: 0;
163
  }
164
+ #tab1:checked ~ #content1, #tab2:checked ~ #content2, #tab3:checked ~ #content3, #tab4:checked ~ #content4, #tab5:checked ~ #content5, #tab6:checked ~ #content6, #tab7:checked ~ #content7, #tab8:checked ~ #content8, #tab9:checked ~ #content9, #tab10:checked ~ #content10,#tab_trackship_dashboard:checked ~ #wc_ast_trackship_form #content_trackship_dashboard,#tab_tracking_page:checked ~ #wc_ast_trackship_form #content_tracking_page,#tab_status_notifications:checked ~ #wc_ast_trackship_form #content_status_notifications,#tab_tools:checked ~ #wc_ast_trackship_form #content_tools {
165
  display: block;
166
  }
167
  .shipping_add_field {
320
  margin-top: 20px;
321
  padding: 10px 15px;
322
  }
 
 
 
 
323
  #woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
324
  display: none;
325
  }
330
  width: 30%;
331
  }
332
  .ast_admin_content .form-table th.titledesc {
333
+ width: 40%;
334
  }
335
  .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
336
  margin: -4px 0 0 5px;
363
  .ast_admin_content .form-table .wp-color-result.button {
364
  margin: 0 6px 0px 0;
365
  }
366
+ #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 {
367
  width: 80px;
368
  }
369
  .color_field input[type=text] {
610
  .form-table td p{
611
  margin: 0;
612
  }
613
+ #wc_ast_settings_form .form-table tr,#wc_ast_trackship_form .form-table tr,#wc_ast_upload_csv_form .form-table tr,#wc_ast_addons_form .form-table tr{
614
  border-bottom: 1px solid #eee;
615
  }
 
 
 
616
  input#wc_ast_api_key {
617
  width: 260px;
618
  }
636
  .ac-container .headig_label {
637
  padding: 15px 20px 15px 60px;
638
  margin-bottom: 0;
639
+ position: relative;
 
640
  display: block;
641
  cursor: default;
642
  color: #777;
826
  span.email_status_span i.enable {
827
  color: #83bd31;
828
  }
829
+ .tracking-content-div{
830
+ margin-bottom: 5px;
831
+ }
832
+ .ast-shipment-status-div{
833
+ margin-top: 10px;
834
+ }
835
+ .wcast-shipment-status-list .ast-shipment-status{
836
+ display: grid;
837
+ }
838
+ .wcast-shipment-status-list .ast-shipment-status.has_est_delivery_1{
839
+ display: block;
840
+ }
841
  .ast-shipment-status i {
842
+ font-size: 18px;
843
  }
844
  .label_content {
845
  font-weight: 600;
857
  margin-right: 10px;
858
  }
859
  .wcast-shipment-status-icon span{
860
+ margin-top: 0px;
861
  display: inline-block;
862
  }
863
  .wcast-shipment-status-icon .icon-invalid_user_key:before{
864
  content: ' ';
865
  background-image: url(icons/invalid-user-key-v4.png);
866
+ width: 16px;
867
+ height: 16px;
868
  background-size: cover;
869
  display: inline-block;
870
  vertical-align: middle;
872
  .wcast-shipment-status-icon .icon-delivered:before{
873
  content: ' ';
874
  background-image: url(icons/delivered-v4.png);
875
+ width: 16px;
876
+ height: 16px;
877
  background-size: cover;
878
  display: inline-block;
879
  vertical-align: middle;
881
  .wcast-shipment-status-icon .icon-in_transit:before{
882
  content: ' ';
883
  background-image: url(icons/in-transit-v4.png);
884
+ width: 16px;
885
+ height: 16px;
886
  background-size: cover;
887
  display: inline-block;
888
  vertical-align: middle;
890
  .wcast-shipment-status-icon .icon-pre_transit:before{
891
  content: ' ';
892
  background-image: url(icons/pre-transit-v4.png);
893
+ width: 16px;
894
+ height: 16px;
895
  background-size: cover;
896
  display: inline-block;
897
  vertical-align: middle;
899
  .wcast-shipment-status-icon .icon-out_for_delivery:before{
900
  content: ' ';
901
  background-image: url(icons/out-for-delivery-v4.png);
902
+ width: 16px;
903
+ height: 16px;
904
  background-size: cover;
905
  display: inline-block;
906
  vertical-align: middle;
908
  .wcast-shipment-status-icon .icon-available_for_pickup:before{
909
  content: ' ';
910
  background-image: url(icons/available-for-picup-v4.png);
911
+ width: 16px;
912
+ height: 16px;
913
  background-size: cover;
914
  display: inline-block;
915
  vertical-align: middle;
917
  .wcast-shipment-status-icon .icon-return_to_sender:before{
918
  content: ' ';
919
  background-image: url(icons/return-to-sender-v4.png);
920
+ width: 16px;
921
+ height: 16px;
922
  background-size: cover;
923
  display: inline-block;
924
  vertical-align: middle;
926
  .wcast-shipment-status-icon .icon-failure:before{
927
  content: ' ';
928
  background-image: url(icons/failure-v4.png);
929
+ width: 16px;
930
+ height: 16px;
931
  background-size: cover;
932
  display: inline-block;
933
  vertical-align: middle;
935
  .wcast-shipment-status-icon .icon-unknown:before{
936
  content: ' ';
937
  background-image: url(icons/unknown-v4.png);
938
+ width: 16px;
939
+ height: 16px;
940
  background-size: cover;
941
  display: inline-block;
942
  vertical-align: middle;
944
  .wcast-shipment-status-icon .icon-pending_trackship:before{
945
  content: ' ';
946
  background-image: url(icons/pending-trackship-v4.png);
947
+ width: 16px;
948
+ height: 16px;
949
  background-size: cover;
950
  display: inline-block;
951
  vertical-align: middle;
953
  .wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
954
  content: ' ';
955
  background-image: url(icons/invalid-v3.png);
956
+ width: 16px;
957
+ height: 16px;
958
  background-size: cover;
959
  display: inline-block;
960
  vertical-align: middle;
962
  .wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
963
  content: ' ';
964
  background-image: url(icons/invalid-v3.png);
965
+ width: 16px;
966
+ height: 16px;
967
  background-size: cover;
968
  display: inline-block;
969
  vertical-align: middle;
971
  .wcast-shipment-status-icon .icon-default:before{
972
  content: ' ';
973
  background-image: url(icons/invalid-v3.png);
974
+ width: 16px;
975
+ height: 16px;
976
  background-size: cover;
977
  display: inline-block;
978
  vertical-align: middle;
980
  .ast-shipment-status .icon-default:before{
981
  content: ' ';
982
  background-image: url(icons/invalid-v3.png);
983
+ width: 16px;
984
+ height: 16px;
985
  background-size: cover;
986
  display: inline-block;
987
+ vertical-align: sub;
988
+ margin-right: 5px;
989
  }
990
  .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
991
  content: ' ';
992
  background-image: url(icons/invalid-v3.png);
993
+ width: 16px;
994
+ height: 16px;
995
  background-size: cover;
996
  display: inline-block;
997
+ vertical-align: sub;
998
+ margin-right: 5px;
999
  }
1000
  .ast-shipment-status .icon-wrong_shipping_provider:before{
1001
  content: ' ';
1002
  background-image: url(icons/invalid-v3.png);
1003
+ width: 16px;
1004
+ height: 16px;
1005
  background-size: cover;
1006
  display: inline-block;
1007
+ vertical-align: sub;
1008
+ margin-right: 5px;
1009
  }
1010
  .ast-shipment-status .icon-delivered:before{
1011
  content: ' ';
1012
  background-image: url(icons/delivered-v4.png);
1013
+ width: 16px;
1014
+ height: 16px;
1015
  background-size: cover;
1016
  display: inline-block;
1017
+ vertical-align: sub;
1018
+ margin-right: 5px;
1019
  }
1020
  .ast-shipment-status .icon-in_transit:before{
1021
  content: ' ';
1022
  background-image: url(icons/in-transit-v4.png);
1023
+ width: 16px;
1024
+ height: 16px;
1025
  background-size: cover;
1026
  display: inline-block;
1027
+ vertical-align: sub;
1028
+ margin-right: 5px;
1029
  }
1030
  .ast-shipment-status .icon-pre_transit:before{
1031
  content: ' ';
1032
  background-image: url(icons/pre-transit-v4.png);
1033
+ width: 16px;
1034
+ height: 16px;
1035
  background-size: cover;
1036
  display: inline-block;
1037
+ vertical-align: sub;
1038
+ margin-right: 5px;
1039
  }
1040
  .ast-shipment-status .icon-out_for_delivery:before{
1041
  content: ' ';
1042
  background-image: url(icons/out-for-delivery-v4.png);
1043
+ width: 16px;
1044
+ height: 16px;
1045
  background-size: cover;
1046
  display: inline-block;
1047
+ vertical-align: sub;
1048
+ margin-right: 5px;
1049
  }
1050
  .ast-shipment-status .icon-available_for_pickup:before{
1051
  content: ' ';
1052
  background-image: url(icons/available-for-picup-v4.png);
1053
+ width: 16px;
1054
+ height: 16px;
1055
  background-size: cover;
1056
  display: inline-block;
1057
+ vertical-align: sub;
1058
+ margin-right: 5px;
1059
  }
1060
  .ast-shipment-status .icon-return_to_sender:before{
1061
  content: ' ';
1062
  background-image: url(icons/return-to-sender-v4.png);
1063
+ width: 16px;
1064
+ height: 16px;
1065
  background-size: cover;
1066
  display: inline-block;
1067
+ vertical-align: sub;
1068
+ margin-right: 5px;
1069
  }
1070
  .ast-shipment-status .icon-failure:before{
1071
  content: ' ';
1072
  background-image: url(icons/failure-v4.png);
1073
+ width: 16px;
1074
+ height: 16px;
1075
  background-size: cover;
1076
  display: inline-block;
1077
+ vertical-align: sub;
1078
+ margin-right: 5px;
1079
  }
1080
  .ast-shipment-status .icon-unknown:before{
1081
  content: ' ';
1082
  background-image: url(icons/unknown-v4.png);
1083
+ width: 16px;
1084
+ height: 16px;
1085
  background-size: cover;
1086
  display: inline-block;
1087
+ vertical-align: sub;
1088
+ margin-right: 5px;
1089
  }
1090
  .ast-shipment-status .icon-pending_trackship:before{
1091
  content: ' ';
1092
  background-image: url(icons/pending-trackship-v4.png);
1093
+ width: 16px;
1094
+ height: 16px;
1095
  background-size: cover;
1096
  display: inline-block;
1097
+ vertical-align: sub;
1098
+ margin-right: 5px;
1099
  }
1100
  .ast-shipment-status .icon-invalid_user_key:before{
1101
  content: ' ';
1102
  background-image: url(icons/invalid-user-key-v4.png);
1103
+ width: 16px;
1104
+ height: 16px;
1105
  background-size: cover;
1106
  display: inline-block;
1107
+ vertical-align: sub;
1108
+ margin-right: 5px;
1109
  }
1110
 
1111
  .wcast-shipment-status-icon i {
1124
  .icon-pending_trackship {
1125
  color: #CCCC00;
1126
  }
1127
+ .wcast-shipment-status-list .wcast-shipment-est-delivery {
1128
  display: block;
1129
  }
1130
  .showif_has_est_delivery_0, .showif_has_est_delivery_1 {
1151
  font-size: 11px;
1152
  }
1153
  .wcast-tracking-number-list li, .wcast-shipment-status-list li {
1154
+ position: relative;
1155
+ border: 1px solid #eee;
1156
+ padding: 10px;
1157
  min-height: 50px;
1158
  box-sizing: border-box;
1159
+ background-color: #fff;
1160
  }
1161
  a.inline_tracking_delete{
1162
  display:none;
1258
  padding-bottom: 40px;
1259
  }
1260
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
1261
+ background: #f7fafc;
1262
  }
1263
  .woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
1264
  background: #fff;
1392
  font-weight: 500;
1393
  font-size: 14px;
1394
  }
1395
+ .provider_list .row-1 {
1396
  margin-bottom: 0;
1397
  display: flex;
1398
  align-items: start;
1399
  }
1400
+ .provider_list .row-1:after {
1401
  content: '';
1402
  clear: both;
1403
  display: block;
1404
  }
1405
+ .provider_list .row-2 {
1406
  margin-top: 15px;
1407
  border-top: 1px solid #ccc;
1408
  padding-top: 10px;
1422
  float: right;
1423
  padding-right: 10px;
1424
  }
1425
+ .provider_list .row-2:after{
1426
  content:'';
1427
  clear:both;
1428
  display: block;
1433
  }
1434
  .status_filter {
1435
  margin: 10px 8px 10px 0;
1436
+ display:inline-block;
1437
  }
1438
  .status_filter a{
1439
+ font-size: 1.1em;
1440
  padding: 0 5px;
1441
  text-decoration: none;
1442
  }
1448
  color:#74C2E1;
1449
  }
1450
  .search_section {
1451
+ display: inline-block;
 
1452
  }
1453
  #search_provider{
1454
+ width: 264px;
1455
+ min-width: 280px;
1456
+ border: 1px solid #ccc;
1457
+ border-radius: 3px;
1458
+ padding: 0 0 0 30px;
1459
+ line-height: 2;
1460
+ min-height: 30px;
1461
  }
1462
  .search_section .search-icon{
1463
  position: absolute;
1464
+ padding: 5px 6px;
1465
+ color: #005b9a;
1466
  }
1467
  .provider_settings {
1468
  display: inline-block;
1477
  display:block;
1478
  }
1479
  .provider_top {
1480
+ position: relative;
1481
+ margin: 5px 0 10px 0;
1482
+ padding-bottom: 5px;
1483
+ border-bottom: 1px solid #e9e9e9;
1484
  }
1485
+ /* Tooltip container */
1486
+ .provider_settings .tooltip {
1487
+ position: relative;
1488
+ display: inline-block;
1489
  }
1490
 
1491
+ /* Tooltip text */
1492
+ .provider_settings .tooltip .tooltiptext {
1493
+ visibility: hidden;
1494
+ width: 100px;
1495
+ background-color: black;
1496
+ color: #fff;
1497
+ text-align: center;
1498
+ padding: 5px 0;
1499
+ border-radius: 6px;
1500
  position: absolute;
1501
+ z-index: 1;
 
 
 
 
 
 
 
1502
  }
1503
+ .provider_settings .tooltip-top{
1504
+ bottom: 125%;
1505
+ left: 20%;
1506
+ margin-left: -52px;
1507
  }
1508
+ .provider_settings .tooltip .tooltiptext::after {
1509
+ content: " ";
1510
+ position: absolute;
1511
+ top: 100%; /* At the bottom of the tooltip */
1512
+ left: 58%;
1513
+ margin-left: -5px;
1514
+ border-width: 5px;
1515
+ border-style: solid;
1516
+ border-color: black transparent transparent transparent;
1517
  }
1518
+ /* Show the tooltip text when you mouse over the tooltip container */
1519
+ .provider_settings .tooltip:hover .tooltiptext {
1520
+ visibility: visible;
1521
  }
 
 
 
1522
  .dropdown_menu{
1523
  cursor: pointer;
1524
  padding: 0 5px 10px;
1525
  }
1526
+ ul.provider_settings_ul {
1527
+ margin: 5px 0 0;
1528
+ }
1529
+ .provider_settings_ul li {
1530
+ display: inline-block;
1531
+ margin: 0 5px;
1532
+ }
1533
+ .provider_settings_ul li a {
1534
+ text-decoration: none;
 
 
 
 
 
1535
  }
1536
  .mdl-dialog.add_custom_dialog{
1537
  width: 600px;
1577
  .popuprow {
1578
  display: inline-block;
1579
  vertical-align: middle;
1580
+ max-width: 310px;
1581
  background: #f9f9f9;
1582
+ padding: 15px 30px;
1583
  position: relative;
1584
  z-index: 10;
1585
  border-radius: 2px;
1587
  width: calc(100% - 5px);
1588
  max-height: 90%;
1589
  overflow-y: overlay;
1590
+ text-align: left;
1591
  }
1592
+ .how_to_video_popup .popuprow,.ts_video_popup .popuprow,.tracking_item_video_popup .popuprow{
1593
  max-width: 700px;
1594
  padding: 0;
1595
  }
1596
  .trackingpopup_row {
1597
  display: inline-block;
1598
  vertical-align: middle;
1599
+ max-width: 310px;
1600
+ text-align:left;
1601
  background: #f9f9f9;
1602
+ padding: 15px 30px;
1603
  position: relative;
1604
  z-index: 10;
1605
  border-radius: 2px;
1619
  .popupwrapper input[type=text],.trackingpopup_wrapper input[type=text]{
1620
  line-height: 24px;
1621
  color: #0d0d0d;
1622
+ width: 100%;
1623
+ margin-bottom: 10px;
 
1624
  }
1625
  .popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
1626
+ width: 77.5%;
1627
  }
1628
  .popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1629
  line-height: 24px;
1630
  color: #0d0d0d;
1631
+ width: 100%;
1632
  margin-bottom: 10px;
1633
+ height: 32px;
1634
+ }
1635
+ .custom_provider_instruction{
1636
+ text-align:left;
1637
+ margin-bottom: 10px;
1638
+ }
1639
+ .add_provider_popup .popuprow{
1640
+ max-width: 310px;
1641
+ text-align: left;
1642
+ }
1643
+ .popupwrapper #upload_image_button{
1644
+ min-height: 30px;
1645
  }
1646
  .close-button{
1647
  background: #000 none repeat scroll 0 0;
1654
  right: 10px;
1655
  height: 34px;
1656
  }
1657
+ .change_order_to_shipped_field ul{
1658
+ margin: 5px 0 0 0;
1659
+ }
1660
+ .change_order_to_shipped_field ul li {
1661
+ display: inline-block;
1662
+ margin-right: 5px;
1663
+ }
1664
  .provider-status .mdl-switch{
1665
  width: auto;
1666
  }
1744
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1745
  margin: 25px 0 0;
1746
  border-bottom: 0;
1747
+ background: #f5f8fa;
1748
  }
1749
  #wc_ast_settings_form table.form-table.heading-table tr,#wc_ast_trackship_form table.form-table.heading-table tr,#wc_ast_upload_csv_form table.form-table.heading-table tr{
1750
  border-bottom: 0;
1755
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1756
  margin: 0;
1757
  color:#005B9A;
1758
+ font-weight: 400;
1759
  }
1760
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1761
  text-align:right;
1767
  margin: 25px 0 0;
1768
  border-bottom: 0;
1769
  padding: 15px;
1770
+ font-weight: 400;
1771
  }
1772
  .zorem_admin_layout h3.table-heading:after{
1773
  content:'';
1778
  }
1779
  .woocommerce.zorem_admin_layout table.form-table th{
1780
  padding: 20px 24px 20px 15px;
1781
+ vertical-align: middle;
1782
  }
1783
  .woocommerce.zorem_admin_layout table.form-table td{
1784
  padding: 15px 15px;
1786
  .woocommerce.zorem_admin_layout table.form-table th label{
1787
  font-weight: 400;
1788
  color: #444;
1789
+ cursor: auto;
1790
  }
1791
  .woocommerce.zorem_admin_layout table.form-table p.description{
1792
  font-size: 0.9em;
1817
  width: auto;
1818
  max-width: 400px;
1819
  min-width: 90px;
1820
+ line-height: 20px;
1821
+ }
1822
+ .woocommerce.zorem_admin_layout table.form-table .input-text{
1823
+ width: 100%;
1824
+ max-width: 400px;
1825
+ min-width: 90px;
1826
+ line-height: 20px;
1827
  }
1828
  .trackship-icon{
1829
  width: 70px;
1833
  text-align:left;
1834
  }
1835
  .add_tracking_number_form input[type=checkbox]{
1836
+ margin: 0px 4px 0 0px;
1837
+ }
1838
+ .add_tracking_number_form .ast-product-table input[type=checkbox]{
1839
  margin: 0px 4px 0 4px;
1840
  }
1841
  .d_table{
1946
  width: 100%;
1947
  height: 100%;
1948
  }
1949
+
1950
+ .zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap label{
1951
+ margin: 0 5px 0 0!important;
1952
+ }
1953
+ .woocommerce.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap .input-text{
1954
+ line-height: 15px;
1955
+ }
1956
  @media (max-width: 767px) {
1957
  .notice.ast-admin-notice {
1958
  padding: 10px;
2059
  display: none;
2060
  }
2061
  input.widget_tab_input:checked + label {
2062
+ border-bottom-color: #74C2E1;
2063
+ color: #74C2E1;
2064
  }
2065
  label.widget_tab_label{
2066
  text-decoration: none;
2071
  display: inline-block;
2072
  margin-right: 12px;
2073
  line-height: 1;
2074
+ outline: none;
2075
  }
2076
  label.widget_tab_label.first_label{
2077
  margin-left: 12px;
2078
  }
2079
+ #tab_s_providers:checked ~ #content_s_providers,#tab_s_status:checked ~ #content_s_status,#tab_t_issues:checked ~ #content_t_issues{
2080
  display: block;
2081
  }
2082
+
2083
  section.widget_tab_section {
2084
  display: none;
2085
  border-top:1px solid #eee;
2086
+ height: 301px;
2087
+ overflow-y: auto;
2088
  }
2089
  /**** -------- ****/
2090
 
2120
  padding: 0;
2121
  margin: 0;
2122
  }
2123
+ span.tracking_product_list {
2124
+ display: list-item;
2125
+ list-style: none;
2126
+ }
2127
 
2128
+ .addons_inner_container{
2129
+ display: -webkit-box;
2130
+ display: -ms-flexbox;
2131
+ display: flex;
2132
+ -ms-flex-flow: wrap;
2133
+ flex-flow: wrap;
2134
+ -webkit-box-pack: justify;
2135
+ -ms-flex-pack: justify;
2136
+ justify-content: space-between;
2137
+ }
2138
+ .addons_inner_container .ast_addons_section{
2139
+ width: calc(50% - 12.5px);
2140
+ position: relative;
2141
+ padding: 0 0 0;
2142
+ margin-bottom: 25px;
2143
+ }
2144
+ .ast_admin_content .ast_addons_section .form-table th.titledesc{
2145
+ width: 35%;
2146
+ }
2147
+ .ast_admin_content .ast_addons_section span.api_connected{
2148
+ line-height: 36px;
2149
+ height: 40px;
2150
+ padding: 10px 20px;
2151
+ font-size: 15px;
2152
+ }
2153
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td{
2154
+ padding:0;
2155
+ }
2156
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td img{
2157
+ width:100%;
2158
+ }
2159
+ .ast_addons_section .submit .btn_ast2{
2160
+ display: inline-block;
2161
+ float: none;
2162
+ }
2163
+ .ast_addons_section .submit .pesan{
2164
+ width: 65%;
2165
+ /*display: inline-block;*/
2166
+ vertical-align: bottom;
2167
+ margin-left: 5px;
2168
+ line-height: 15px;
2169
+ }
2170
+ .ast_addons_section .submit{
2171
+ margin: 0;
2172
+ }
2173
+ .ast_addons_section .submit .pesan.license_active{
2174
+ color:green;
2175
+ }
2176
+ .ast_addons_section .submit:after{
2177
+ display: block;
2178
+ content: '';
2179
+ clear: both;
2180
+ }
2181
+ .ts_addons_header,.tracking_item_addons_header{
2182
+ position: relative;
2183
+ display: inline-block;
2184
+ cursor: pointer;
2185
+ }
2186
+ .ts_addons_header:before,.tracking_item_addons_header:before{
2187
+ color: #eee;
2188
+ }
2189
+ .ts_addons_header:after,.tracking_item_addons_header:after{
2190
+ position:absolute;
2191
+ top: 50%;
2192
+ left: 50%;
2193
+ transform: translate(-50%, -50%);
2194
+ -webkit-transform: translate(-50%, -50%);
2195
+ content: "\f01d";
2196
+ font-family: FontAwesome;
2197
+ font-size: 100px;
2198
+ color: #fff;
2199
+ opacity: .8;
2200
+ text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
2201
+ }
2202
+ .woocommerce.zorem_admin_layout .license_div{
2203
+ /*height: 118px;*/
2204
+ background: #fff;
2205
+ border: 1px solid #eee;
2206
+ margin-top: 0;
2207
+ margin-bottom: 0px;
2208
+ vertical-align: middle;
2209
+ padding-top: 20px;
2210
+ padding-bottom: 20px;
2211
+ }
2212
+ .woocommerce.zorem_admin_layout .license_div table.form-table{
2213
+ background: 0;
2214
+ border: 0;
2215
+ }
2216
+ /*.woocommerce.zorem_admin_layout .license_div table.form-table tr{
2217
+ height:50px;
2218
+ }*/
2219
+ .ast_admin_content .ast_addons_section .license_div .form-table th.titledesc {
2220
+ padding: 0px 24px 0px 15px;
2221
+ vertical-align: middle;
2222
+ }
2223
+ .ast_admin_content .ast_addons_section .license_div .form-table td {
2224
+ padding: 0 15px;
2225
+ }
2226
+ #wc_ast_addons_form .license_div .form-table tr{
2227
+ border-bottom:0;
2228
+ }
2229
+ #woocommerce-advanced-shipment-tracking.postbox{
2230
+ background: #f9f9f9;
2231
+ }
2232
+
2233
+ .order-status-table tr.disable_row{
2234
+ background: #eee;
2235
+ opacity: 0.7;
2236
+ }
2237
+ .order-status-table tr.disable_row td{
2238
+ pointer-events: none;
2239
+ }
2240
+ .order-status-table tr.disable_row td:first-child{
2241
+ pointer-events: auto;
2242
+ }
2243
+ .order-status-table td:last-child{
2244
+ text-align:right;
2245
+ }
2246
+ .order-status-table .order-label{
2247
+ display: -webkit-inline-box;
2248
+ display: -webkit-inline-flex;
2249
+ display: inline-flex;
2250
+ line-height: 2.2em;
2251
+ color: #777;
2252
+ background: #e5e5e5;
2253
+ border-radius: 4px;
2254
+ border-bottom: 1px solid rgba(0,0,0,.05);
2255
+ margin: -.25em 0;
2256
+ cursor: inherit!important;
2257
+ white-space: nowrap;
2258
+ max-width: 100%;
2259
+ padding: 0 1em;
2260
+ }
2261
+ .order-status-table tr td.custom-order-color-column{
2262
+ width: 50%;
2263
+ text-align:right;
2264
+ }
2265
+ .form-table .multiple_checkbox {
2266
+ display: inline-block;
2267
+ padding-right: 5px;
2268
+ padding-bottom: 5px;
2269
+ min-width: 160px;
2270
+ }
2271
+ .order-status-table .wp-picker-container,.tracking_page_table .wp-picker-container {
2272
+ display: inline-block;
2273
+ vertical-align: middle;
2274
+ }
2275
+ .form-table.order-status-table td .send_email_label {
2276
+ margin: 0 5px !important;
2277
+ vertical-align: inherit;
2278
+ }
2279
+ .add_custom_p_a{
2280
+ font-weight: 500;
2281
+ font-size: 14px;
2282
+ display: block;
2283
+ text-align: center;
2284
+ margin-top: 14px;
2285
+ }
2286
+ .add_custom_inner .dashicons{
2287
+ display: block;
2288
+ text-align: center;
2289
+ margin: 10px auto;
2290
+ font-size: 35px;
2291
+ width: 40px;
2292
+ height: 38px;
2293
+ cursor: pointer;
2294
+ color:#005B9A;
2295
+ }
2296
+ .add_custom_provider_div{
2297
+ background: #fff;
2298
+ border: 1px solid rgba(116, 194, 225, 0.5);
2299
+ padding: 10px 10px 0px 10px;
2300
+ }
2301
+ .ast_admin_content .tracking-layout-table.form-table th.titledesc{
2302
+ width: 50%;
2303
+ }
2304
+ .tracking_color_label{
2305
+ line-height:30px;
2306
+ }
2307
+ .tracking_layout_options_div label{
2308
+ margin-bottom: 5px;
2309
+ display: block;
2310
+ }
2311
+ span.select_t_layout_section {
2312
+ display: inline-block;
2313
+ width: 45%;
2314
+ margin-right: 10px;
2315
+ margin-top: 5px;
2316
+ }
2317
+ .tracking-layout-table .radio-img {
2318
+ position: absolute;
2319
+ left: -9999px;
2320
+ }
2321
+
2322
+ .tracking-layout-table .radio-img:checked + label>img {
2323
+ border: 1px solid #74C2E1;
2324
+ }
2325
+
2326
+ /* Stuff after this is only to make things more pretty */
2327
+ .tracking-layout-table .radio-img + label>img {
2328
+ border: 1px solid #bdbdbd;
2329
+ width: 100%;
2330
+ border-radius: 5px;
2331
+ }
2332
+ .tracking_layout_preview_1,.tracking_layout_preview_2{
2333
+ text-align:center;
2334
+ }
2335
+ table.form-table.heading-table.disable_tracking_page {
2336
+ background: #f5f8fa;
2337
+ color: #222629;
2338
+ }
2339
+ .tracking_preview_iframe{
2340
+ width:100%;
2341
+ display:none;
2342
+ }
2343
  /*** RTL CSS ***/
2344
  .rtl.shipment_tracking_admin_settings #wpcontent {
2345
  padding-right: 0;
2449
  width: 25%;
2450
  }
2451
  #search_provider{
2452
+ width: 210px;
2453
+ min-width: 210px;
2454
  }
2455
  .provider-thumb {
2456
  height: 40px;
2480
  padding: 15px 0 15px;
2481
  margin-left: 30px;
2482
  }
2483
+ .status_filter{
2484
+ width: auto;
2485
+ }
2486
+ .provider_settings{
2487
+ float: none;
2488
+ }
2489
  }
2490
  @media screen and (max-width: 500px) {
2491
  .provider{
2502
  #search_provider{
2503
  width: 100%;
2504
  }
2505
+ .plugin-logo{
2506
+ max-width: 300px;
2507
+ }
2508
  }
assets/css/customizer-styles.css CHANGED
@@ -1,13 +1,32 @@
1
  #accordion-section-default_controls_section>h3:before{
2
- font-family: 'Dashicons';
3
- font-size: 20px;
4
- font-weight: thin !important;
5
- position: relative;
6
- line-height: 0;
 
7
  vertical-align: middle;
8
- opacity: .6;
9
- top: -1px;
10
- content: "\f230";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  }
12
  #accordion-panel-wcast_emails_panel>h3:before{
13
  font-family: 'Dashicons';
@@ -33,7 +52,7 @@
33
  }
34
  #accordion-section-customer_delivered_email>h3:before{
35
  content: ' ';
36
- background-image: url(icons/delivered-v4.png);
37
  width: 20px;
38
  height: 20px;
39
  background-size: cover;
@@ -169,4 +188,12 @@
169
  }
170
  .customize-control-description{
171
  font-size: 12px;
 
 
 
 
 
 
 
 
172
  }
1
  #accordion-section-default_controls_section>h3:before{
2
+ content: ' ';
3
+ background-image: url(icons/ast-icon.png);
4
+ width: 20px;
5
+ height: 20px;
6
+ background-size: contain;
7
+ display: inline-block;
8
  vertical-align: middle;
9
+ background-repeat: no-repeat;
10
+ }
11
+ #accordion-section-customer_partial_shipped_email>h3:before{
12
+ content: ' ';
13
+ background-image: url(icons/partial-shipped-icon.png);
14
+ width: 20px;
15
+ height: 20px;
16
+ background-size: contain;
17
+ display: inline-block;
18
+ vertical-align: middle;
19
+ background-repeat: no-repeat;
20
+ }
21
+ #accordion-section-customer_updated_tracking_email>h3:before{
22
+ content: ' ';
23
+ background-image: url(icons/updated-tracking-icon.png);
24
+ width: 20px;
25
+ height: 20px;
26
+ background-size: contain;
27
+ display: inline-block;
28
+ vertical-align: middle;
29
+ background-repeat: no-repeat;
30
  }
31
  #accordion-panel-wcast_emails_panel>h3:before{
32
  font-family: 'Dashicons';
52
  }
53
  #accordion-section-customer_delivered_email>h3:before{
54
  content: ' ';
55
+ background-image: url(icons/Delivered-o.png);
56
  width: 20px;
57
  height: 20px;
58
  background-size: cover;
188
  }
189
  .customize-control-description{
190
  font-size: 12px;
191
+ }
192
+ #sub-accordion-section-default_controls_section .customize-control+.customize-control:not(.customize-control-kirki-code) {
193
+ border-top: 1px solid #000;
194
+ padding-top: 10px;
195
+ }
196
+ .customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-display_shipment_provider_name,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header_block,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-hide_table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_padding,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-shipment_link_header,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-tracking_link_font_color,.customize-control+.customize-control:not(.customize-control-kirki-code)#customize-control-table_content_header{
197
+ border-top: 0;
198
+ padding-top: 0;
199
  }
assets/css/front.css CHANGED
@@ -11,7 +11,15 @@
11
  margin-top: 50px;
12
  position: relative
13
  }
14
-
 
 
 
 
 
 
 
 
15
  @media (max-width: 575.98px) {
16
  .tracker-progress-bar-with-dots {
17
  font-size: 12px
@@ -162,9 +170,9 @@
162
  }
163
 
164
  @media screen and (prefers-reduced-motion: reduce) {
165
- .progress-bar {
166
- transition: none
167
- }
168
  }
169
  .progress-bar-striped {
170
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
@@ -192,14 +200,14 @@
192
  .tracking-detail .text-right {
193
  text-align: right;
194
  }
195
- .tracking-detail .text-secondary {
196
  color: #303F9F;
197
  }
198
- .tracking-detail .text-warning {
199
  color: #f0ad4e;
200
  }
201
- .tracking-detail .text-success {
202
- color: #0c8043;
203
  }
204
  .tracking-detail .border-light {
205
  border-color: #E4ECEF;
@@ -291,7 +299,7 @@
291
  padding-top: .5rem !important;
292
  }
293
  .tracking-detail .mb-3, .tracking-detail .my-3 {
294
- margin-bottom: 0 !important;
295
  }
296
  .col.tracking-detail {
297
  margin: 20px auto 20px;
@@ -307,18 +315,16 @@
307
  padding-bottom: 10px;
308
  font-weight: 600;
309
  }
310
- .shipment_status_heading{
311
- padding-top: 10px;
312
  font-weight: 600;
313
  color: #303F9F;
 
 
314
  }
315
  .tracker-top-level {
316
  display: flex;
317
  margin-bottom: 2rem;
318
  }
319
- .tracking-details{
320
- display: contents;
321
- }
322
  .tracking-table thead tr th{
323
  padding: 15px 0;
324
  border-bottom: 0;
@@ -331,9 +337,10 @@ display: contents;
331
  display: flex;
332
  margin-bottom: 30px;
333
  }
334
- .tracking-number {
335
  font-weight: 400;
336
- color: #303F9F;
 
337
  }
338
  .mobile-section{
339
  display:none;
@@ -347,23 +354,21 @@ table.tracking-table tr:nth-child(n+3) {
347
  table.tracking-table{
348
  margin-bottom: 5px;
349
  }
350
- .view_table_rows{
351
- color: #303F9F;
352
- text-decoration: underline;
353
- }
354
  .hide_table_rows{
355
- display:none;
356
- color: #303F9F;
357
- text-decoration: underline;
358
  }
359
  .shipment_progress_div {
 
360
  padding-bottom: 7px;
361
  }
362
- .h4-heading{
363
  border-bottom: 1px solid #eee;
 
 
 
364
  }
365
- .tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state{
366
- background-size: 50px;
367
  background-repeat: no-repeat;
368
  background-position: center center;
369
  }
@@ -373,6 +378,133 @@ table.tracking-table{
373
  .track-order-section{
374
  text-align: left;
375
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
376
  /*** RTL CSS ***/
377
 
378
  .rtl .track-order-section{
@@ -407,8 +539,8 @@ table.tracking-table{
407
 
408
  @media screen and (max-width: 767px) {
409
  .col.tracking-detail{
410
- padding: 20px 15px 0;
411
- width: 100%;
412
  }
413
  .tracking-detail .col-md-6{
414
  width: 100%;
@@ -427,6 +559,29 @@ table.tracking-table{
427
  background-repeat: no-repeat;
428
  background-position: center center;
429
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
430
  /*** RTL CSS ***/
431
  .rtl .tracking-detail .text-right {
432
  text-align: right;
@@ -452,11 +607,11 @@ table.tracking-table{
452
  }
453
  .mobile-section .tracker-progress-bar-with-dots .dot{
454
  background-size: cover;
455
- width: 60px;
456
  position: relative;
457
  display: inline-block;
458
  vertical-align: middle;
459
- height: 60px;
460
  margin: 0 auto;
461
  }
462
  .tracker-progress-bar-with-dots .state-1{
@@ -479,13 +634,13 @@ table.tracking-table{
479
  height: 93%;
480
  position: absolute;
481
  top: 10px;
482
- left: 48px;
483
  width: 5px;
484
  background-color: #C1C1C1;
485
  }
486
- .progress-bar{
487
  position: absolute;
488
- }
489
  .progress-bar.bg-secondary:before{
490
  content: '';
491
  height: 100%;
@@ -509,6 +664,20 @@ table.tracking-table{
509
  background-repeat: no-repeat;
510
  background-position: center center;
511
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
  .rtl .tracker-progress-bar-with-dots .state-1{
513
  right: 0;
514
  }
11
  margin-top: 50px;
12
  position: relative
13
  }
14
+ .progress-bar.bg-secondary {
15
+ background-color: #303F9F;
16
+ }
17
+ .progress-bar.bg-success {
18
+ background-color: #0f8042;
19
+ }
20
+ .progress-bar.bg-warning {
21
+ background-color: #f0ad4e;
22
+ }
23
  @media (max-width: 575.98px) {
24
  .tracker-progress-bar-with-dots {
25
  font-size: 12px
170
  }
171
 
172
  @media screen and (prefers-reduced-motion: reduce) {
173
+ .progress-bar {
174
+ transition: none
175
+ }
176
  }
177
  .progress-bar-striped {
178
  background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent);
200
  .tracking-detail .text-right {
201
  text-align: right;
202
  }
203
+ .tracking-detail .text-secondary,.tracking-header .text-secondary {
204
  color: #303F9F;
205
  }
206
+ .tracking-detail .text-warning,.tracking-header .text-warning {
207
  color: #f0ad4e;
208
  }
209
+ .tracking-detail .text-success,.tracking-header .text-success {
210
+ color: #0f8042;
211
  }
212
  .tracking-detail .border-light {
213
  border-color: #E4ECEF;
299
  padding-top: .5rem !important;
300
  }
301
  .tracking-detail .mb-3, .tracking-detail .my-3 {
302
+ margin-bottom: 0.3rem !important;
303
  }
304
  .col.tracking-detail {
305
  margin: 20px auto 20px;
315
  padding-bottom: 10px;
316
  font-weight: 600;
317
  }
318
+ .shipment_status_heading{
 
319
  font-weight: 600;
320
  color: #303F9F;
321
+ font-size: 36px;
322
+ margin-bottom: 0;
323
  }
324
  .tracker-top-level {
325
  display: flex;
326
  margin-bottom: 2rem;
327
  }
 
 
 
328
  .tracking-table thead tr th{
329
  padding: 15px 0;
330
  border-bottom: 0;
337
  display: flex;
338
  margin-bottom: 30px;
339
  }
340
+ .tracking-detail .tracking-number {
341
  font-weight: 400;
342
+ color: #757575;
343
+ font-size: 14px;
344
  }
345
  .mobile-section{
346
  display:none;
354
  table.tracking-table{
355
  margin-bottom: 5px;
356
  }
 
 
 
 
357
  .hide_table_rows{
358
+ display:none;
 
 
359
  }
360
  .shipment_progress_div {
361
+ margin-top: 60px;
362
  padding-bottom: 7px;
363
  }
364
+ .tracking-detail .h4-heading{
365
  border-bottom: 1px solid #eee;
366
+ color: #424242;
367
+ font-size: 14px;
368
+ font-weight: bold;
369
  }
370
+ .tracker-progress-bar-with-dots .dot.past-state,.tracker-progress-bar-with-dots .dot.future-state,.tracker-progress-bar-with-dots .dot.current-state{
371
+ background-size: 60px;
372
  background-repeat: no-repeat;
373
  background-position: center center;
374
  }
378
  .track-order-section{
379
  text-align: left;
380
  }
381
+
382
+ /**** Layout 2 CSS ***/
383
+ .tracking-layout-2 .shipment_status_heading{
384
+ padding-top: 0;
385
+ font-weight: 600;
386
+ margin-top: 0;
387
+ font-size: 36px;
388
+ }
389
+ .tracking-layout-2 .tracker-progress-bar .progress {
390
+ display: -ms-flexbox;
391
+ display: flex;
392
+ height: 40px;
393
+ overflow: hidden;
394
+ background-color: #f5f5f5;
395
+ border-radius: 5px;
396
+ border: 1px solid #bdbdbd;
397
+ }
398
+ .tracking-layout-2 .progress-bar {
399
+ display: -ms-flexbox;
400
+ display: flex;
401
+ -ms-flex-direction: column;
402
+ flex-direction: column;
403
+ -ms-flex-pack: center;
404
+ justify-content: center;
405
+ color: #fff;
406
+ text-align: center;
407
+ white-space: nowrap;
408
+ background-color: #303F9F;
409
+ transition: width 0.6s ease;
410
+ }
411
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-secondary {
412
+ background-color: #303F9F;
413
+ }
414
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-success {
415
+ background-color: #5cb85c;
416
+ }
417
+ .tracking-layout-2 .tracker-progress-bar .progress .bg-warning {
418
+ background-color: #f0ad4e;
419
+ }
420
+ .tracking-layout-2 .tracker-progress-bar-flat .progress-bar {
421
+ box-shadow: none;
422
+ }
423
+ .tracking-layout-2 .progress_top{
424
+ display:flex;
425
+ }
426
+ .tracking-layout-2 .col-md-6{
427
+ padding:0;
428
+ }
429
+ .tracking-detail .font-weight-demi-bold{
430
+ font-weight: 500;
431
+ }
432
+ .tracking-detail .font-weight-bold{
433
+ font-weight: 800;
434
+ }
435
+ .tracking-detail .text-uppercase {
436
+ text-transform: uppercase;
437
+ }
438
+ .tracking-detail .mt-6, .tracking-detail .my-6 {
439
+ margin-top: 2rem;
440
+ }
441
+ .tracking-detail .mb-4{
442
+ margin-bottom: 1rem;
443
+ }
444
+ .tracking-detail .tracking-details .date {
445
+ min-width: 160px;
446
+ }
447
+ .tracking-detail .tracking-details .time {
448
+ min-width: 85px;
449
+ margin-left: 10px;
450
+ }
451
+ .tracking-layout-2.tracking-detail .tracking-details .time {
452
+ margin-left: 0px;
453
+ }
454
+ .tracking-detail .tracking-details .location {
455
+ min-width: 200px;
456
+ }
457
+ .tracking-detail .w-100 {
458
+ width: 100%;
459
+ }
460
+ .tracking-detail .ml-auto, .tracking-detail .mx-auto {
461
+ margin-left: auto;
462
+ }
463
+ .tracking-detail .old-details{
464
+ display: none;
465
+ }
466
+ .tracking-detail .provider_image{
467
+ width: 60px;
468
+ }
469
+ .tracking-detail p.mb-2 {
470
+ margin-bottom: 1em;
471
+ }
472
+ .tracking-detail .tracking-details {
473
+ font-size: 14px;
474
+ }
475
+ .tracking-detail .tracking_group_by_date {
476
+ border-bottom: 1px solid #e0e0e0;
477
+ margin-bottom: 0.5rem;
478
+ }
479
+ .tracking-detail .tracking-details {
480
+ margin-top: 4rem;
481
+ }
482
+ .tracking-detail .view_table_rows, .tracking-detail .hide_table_rows, .tracking-detail .view_old_details, .tracking-detail .hide_old_details{
483
+ color: #303F9F;
484
+ border-bottom: 1px solid;
485
+ text-decoration: none;
486
+ }
487
+ .tracking-layout-2.tracking-detail .tracking-details {
488
+ margin-top: 2rem;
489
+ }
490
+ .tracking-detail .tracking-desktop-header{
491
+ display:flex;
492
+ }
493
+ .tracking-detail .tracking_details_desktop{
494
+ display:block;
495
+ }
496
+ .tracking-detail .tracking-mobile-header,.tracking-detail .tracking_details_mobile{
497
+ display:none;
498
+ }
499
+ @media (min-width: 768px){
500
+ .tracking-detail .d-md-flex {
501
+ display: -ms-flexbox;
502
+ display: flex;
503
+ }
504
+ .tracking-detail .text-md-right {
505
+ text-align: right;
506
+ }
507
+ }
508
  /*** RTL CSS ***/
509
 
510
  .rtl .track-order-section{
539
 
540
  @media screen and (max-width: 767px) {
541
  .col.tracking-detail{
542
+ padding: 20px 15px 10px;
543
+ width: 95%;
544
  }
545
  .tracking-detail .col-md-6{
546
  width: 100%;
559
  background-repeat: no-repeat;
560
  background-position: center center;
561
  }
562
+
563
+ .tracking-detail .header_top_left {
564
+ margin-right: 1rem;
565
+ width: 50px;
566
+ }
567
+ .tracking-detail .header_top1 {
568
+ margin-bottom: 15px;
569
+ }
570
+ .tracking-detail .tracking-mobile-header{
571
+ display:block;
572
+ }
573
+ .tracking-detail .tracking_details_mobile{
574
+ display:block;
575
+ }
576
+ .tracking-detail .tracking-desktop-header,.tracking-detail .tracking_details_desktop{
577
+ display:none;
578
+ }
579
+ .tracking-detail .tracking_details_mobile_row {
580
+ border-bottom: 1px solid #eee;
581
+ }
582
+ .tracking-detail .tracking-details .time {
583
+ margin-left: 0px;
584
+ }
585
  /*** RTL CSS ***/
586
  .rtl .tracking-detail .text-right {
587
  text-align: right;
607
  }
608
  .mobile-section .tracker-progress-bar-with-dots .dot{
609
  background-size: cover;
610
+ width: 45px;
611
  position: relative;
612
  display: inline-block;
613
  vertical-align: middle;
614
+ height: 45px;
615
  margin: 0 auto;
616
  }
617
  .tracker-progress-bar-with-dots .state-1{
634
  height: 93%;
635
  position: absolute;
636
  top: 10px;
637
+ left: 40px;
638
  width: 5px;
639
  background-color: #C1C1C1;
640
  }
641
+ /*.progress-bar{
642
  position: absolute;
643
+ }*/
644
  .progress-bar.bg-secondary:before{
645
  content: '';
646
  height: 100%;
664
  background-repeat: no-repeat;
665
  background-position: center center;
666
  }
667
+ .tracking-detail .tracking-details {
668
+ margin-top: 2rem;
669
+ }
670
+ .mobile-section .tracker-progress-bar .progress{
671
+ position: absolute;
672
+ width: 5px;
673
+ left: 26px;
674
+ }
675
+ .mobile-section .tracker-progress-bar .progress.bg-success{
676
+ background: #0f8042;
677
+ }
678
+ .mobile-section .tracker-progress-bar .progress.bg-warning{
679
+ background: #f0ad4e;
680
+ }
681
  .rtl .tracker-progress-bar-with-dots .state-1{
682
  right: 0;
683
  }
assets/css/icons/ast-icon.png ADDED
Binary file
assets/css/icons/invalid-v3.png CHANGED
Binary file
assets/css/icons/partial-shipped-icon.png ADDED
Binary file
assets/css/icons/updated-tracking-icon.png ADDED
Binary file
assets/css/welcome.css ADDED
@@ -0,0 +1,180 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .dashboard_page_ast-getting-started #wpcontent{
2
+ padding-left: 0px;
3
+ }
4
+ .dashboard_page_ast-getting-started #wpbody{
5
+ background: rgb(245, 248, 250);
6
+ }
7
+ .ast-admin-welcome-page {
8
+ position: relative;
9
+ -webkit-box-sizing: border-box;
10
+ box-sizing: border-box;
11
+ }
12
+ .ast-onboarding-header {
13
+ text-align: center;
14
+ }
15
+ .ast-header-navigation {
16
+ border-top: 4px solid #5f6197;
17
+ padding: 0 20px;
18
+ position: relative;
19
+ text-align: right;
20
+ }
21
+ @media (min-width:782px) {
22
+ .ast-header-navigation {
23
+ padding: 0 125px
24
+ }
25
+ }
26
+ .ast-exit-button {
27
+ background: #5f6197;
28
+ border-radius: 0 0 5px 5px;
29
+ color: #d7d7e5;
30
+ display: inline-block;
31
+ font-size: 14px;
32
+ line-height: 1;
33
+ padding: 9px 20px 12px;
34
+ text-decoration: none;
35
+ transition: color .1s ease;
36
+ -moz-transition: color .1s ease;
37
+ -ms-transition: color .1s ease;
38
+ -o-transition: color .1s ease;
39
+ -webkit-transition: color .1s ease;
40
+ }
41
+ .ast-onboarding-header h1 {
42
+ margin: 10px 0;
43
+ padding: 0 20px;
44
+ }
45
+ .ast-logo {
46
+ display: inline-block;
47
+ width: 400px;
48
+ max-width: 100%;
49
+ }
50
+
51
+ .ast-bg-img {
52
+ width: 100%;
53
+ padding-top: 66%;
54
+ position: relative;
55
+ }
56
+
57
+ .ast-logo .ast-bg-img {
58
+ padding-top: 0;
59
+ }
60
+
61
+ .ast-onboarding-wizard-container {
62
+ margin: 0 auto;
63
+ width: 750px;
64
+ }
65
+
66
+ .ast-onboarding-wizard-steps {
67
+ -webkit-box-align: center;
68
+ -ms-flex-align: center;
69
+ align-items: center;
70
+ display: -webkit-box;
71
+ display: -ms-flexbox;
72
+ display: flex;
73
+ margin-top: 15px;
74
+ }
75
+
76
+ .ast-onboarding-wizard-step {
77
+ border: 2px solid #005B9A;
78
+ border-radius: 50%;
79
+ -ms-flex-negative: 0;
80
+ flex-shrink: 0;
81
+ height: 16px;
82
+ width: 16px;
83
+ }
84
+
85
+ .ast-onboarding-wizard-step.ast-onboarding-wizard-step-active, .ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed {
86
+ background-color: #005B9A;
87
+ border-color: #005B9A;
88
+ position: relative;
89
+ }
90
+ .ast-onboarding-wizard-step.ast-onboarding-wizard-step-completed:after {
91
+ color: #fff;
92
+ display: block;
93
+ font-size: 15px;
94
+ font-weight: 400;
95
+ left: -1px;
96
+ position: absolute;
97
+ text-align: center;
98
+ top: 0px;
99
+ width: 100%;
100
+ content: "\f147";
101
+ font-family: dashicons;
102
+ }
103
+ .ast-onboarding-wizard-step-line {
104
+ background: #74C2E1;
105
+ height: 3px;
106
+ margin: 0 2px;
107
+ width: 100%;
108
+ }
109
+
110
+ .ast-onboarding-wizard-container {
111
+ margin: 0 auto;
112
+ width: 750px;
113
+ }
114
+ .ast-onboarding-wizard-content {
115
+ background: #fff;
116
+ border: 1px solid #eee;
117
+ color: #777;
118
+ font-size: 14px;
119
+ margin: 30px 0 10px;
120
+ padding: 45px 30px 20px;
121
+ }
122
+ .ast-onboarding-wizard-content h2 {
123
+ color: #393f4a;
124
+ font-size: 24px;
125
+ font-weight: 500;
126
+ margin: 0 0 5px;
127
+ }
128
+ .ast-onboarding-wizard-content .ast-separator {
129
+ border-top: 1px solid #eee;
130
+ clear: both;
131
+ margin: 26px 0;
132
+ }
133
+ .ast-onboarding-step-shipping,.ast-onboarding-step-delivered,.ast-onboarding-step-trackship{
134
+ display:none;
135
+ }
136
+ .ast-onboarding-wizard-container section.tab_section{
137
+ display: block;
138
+ background: #fff;
139
+ padding: 0;
140
+ }
141
+ .ast-onboarding-wizard-container .provider {
142
+ width: 33%;
143
+ }
144
+ .ast-onboarding-wizard-logo .plugin-logo{
145
+ padding: 15px 0;
146
+ }
147
+ .woocommerce.zorem_admin_layout table.form-table th{
148
+ width: 50%;
149
+ }
150
+ #wc_ast_delivered_settings_form .form-table tr,.ast-onboarding-step-trackship .form-table tr{
151
+ border-bottom: 1px solid #eee;
152
+ }
153
+ @media screen and (max-width: 767px) {
154
+ .ast-onboarding-wizard-container{
155
+ max-width: 100%;
156
+ width: auto;
157
+ margin: 0 10px;
158
+ }
159
+ .ast-onboarding-wizard-logo .plugin-logo {
160
+ max-width: 250px;
161
+ }
162
+ }
163
+ @media screen and (min-width: 768px) and (max-width: 1269px) {
164
+ .ast-onboarding-wizard-container .provider{
165
+ width: 25%;
166
+ }
167
+ }
168
+ @media screen and (max-width: 767px) {
169
+ .ast-onboarding-wizard-container .provider{
170
+ width: 33.3%;
171
+ }
172
+ .ast-onboarding-wizard-content{
173
+ padding: 20px 10px 20px;
174
+ }
175
+ }
176
+ @media screen and (max-width: 500px) {
177
+ .provider,.ast-onboarding-wizard-container .provider{
178
+ width: 50%;
179
+ }
180
+ }
assets/images/Tracking-Per-Item-addon.jpg ADDED
Binary file
assets/images/ast-addons-notice-image.jpg ADDED
Binary file
assets/images/t_layout_1.jpg ADDED
Binary file
assets/images/t_layout_2.jpg ADDED
Binary file
assets/images/tracking-1.png ADDED
Binary file
assets/images/tracking-2.png ADDED
Binary file
assets/images/ts-banner.jpg ADDED
Binary file
assets/js/admin.js CHANGED
@@ -13,13 +13,14 @@ jQuery( function( $ ) {
13
 
14
  // When a user enters a new tracking item
15
  save_form: function () {
16
- var error;
17
  var tracking_number = jQuery("#tracking_number");
18
  var tracking_provider = jQuery("#tracking_provider");
 
19
  if( tracking_number.val() === '' ){
20
  showerror( tracking_number );error = true;
21
  } else{
22
- var pattern = /^[0-9a-zA-Z \b]+$/;
23
  if(!pattern.test(tracking_number.val())){
24
  showerror( tracking_number );
25
  error = true;
@@ -34,6 +35,26 @@ jQuery( function( $ ) {
34
  jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
35
  hideerror(tracking_provider);
36
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  if(error == true){
38
  return false;
39
  }
@@ -48,13 +69,30 @@ jQuery( function( $ ) {
48
  opacity: 0.6
49
  }
50
  } );
51
-
52
- if($('input#change_order_to_shipped').prop("checked") == true){
53
- var checked = 'yes';
54
- } else{
55
- var checked = 'no';
 
 
 
 
 
56
  }
 
 
 
 
 
 
 
 
 
 
 
57
 
 
58
  var data = {
59
  action: 'wc_shipment_tracking_save_form',
60
  order_id: woocommerce_admin_meta_boxes.post_id,
@@ -63,31 +101,45 @@ jQuery( function( $ ) {
63
  custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
64
  tracking_number: $( 'input#tracking_number' ).val(),
65
  date_shipped: $( 'input#date_shipped' ).val(),
 
66
  change_order_to_shipped: checked,
67
  security: $( '#wc_shipment_tracking_create_nonce' ).val()
68
  };
69
-
70
-
71
- $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
72
- $( '#advanced-shipment-tracking-form' ).unblock();
73
- if ( response != '-1' ) {
74
- $( '#advanced-shipment-tracking-form' ).hide();
75
- $( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
76
- $( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
77
- $( '#tracking_provider' ).selectedIndex = 0;
78
- $( '#custom_tracking_provider' ).val( '' );
79
- $( 'input#custom_tracking_link' ).val( '' );
80
- $( 'input#tracking_number' ).val( '' );
81
- $( 'input#date_shipped' ).val( '' );
82
- if(checked == 'yes'){
83
- jQuery('#order_status').val('wc-completed');
84
- jQuery('#order_status').select2().trigger('change');
85
- jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
86
- //location.reload();
 
 
 
 
 
 
 
 
 
 
 
87
  }
 
 
 
88
  }
89
- });
90
-
91
  return false;
92
  },
93
 
@@ -221,11 +273,47 @@ function modelMatcher (params, data) {
221
  }
222
 
223
  jQuery(document).on("click", ".add_inline_tracking", function(){
 
 
 
 
 
 
 
 
 
224
  var order_id = jQuery(this).attr('href');
225
  order_id = order_id.replace("#", "");
226
  jQuery('.add_tracking_number_form #order_id').val(order_id);
227
- jQuery('.add_tracking_popup').show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
228
  });
 
 
 
 
 
 
 
 
229
  jQuery(document).on("click", ".popupclose", function(){
230
  jQuery('.add_tracking_popup').hide();
231
  });
@@ -250,7 +338,7 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
250
  showerror(tracking_number);
251
  error = true;
252
  } else{
253
- var pattern = /^[0-9a-zA-Z \b]+$/;
254
  if(!pattern.test(tracking_number.val())){
255
  showerror(tracking_number);
256
  error = true;
@@ -267,9 +355,28 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
267
  }
268
 
269
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
270
  if(error == true){
271
  return false;
272
  }
 
273
  jQuery("#add_tracking_number_form").block({
274
  message: null,
275
  overlayCSS: {
@@ -283,9 +390,6 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
283
  type: 'POST',
284
  success: function(response) {
285
  location.reload();
286
- //jQuery(".provider_list").replaceWith(response);
287
- //form[0].reset();
288
- //jQuery("#add_tracking_number_form").unblock();
289
  },
290
  error: function(response) {
291
  console.log(response);
@@ -331,19 +435,6 @@ jQuery(document).on("click", ".inline_tracking_delete", function(){
331
  }
332
  });
333
 
334
- /*jQuery(document).on("submit", ".post-type-shop_order #posts-filter", function(){
335
- var form = jQuery('.post-type-shop_order #posts-filter');
336
- var bulk_select = jQuery('#bulk-action-selector-top').val();
337
-
338
- if(bulk_select == 'get_shipment_status'){
339
- var checked_checkbox = jQuery(".type-shop_order .check-column input[type='checkbox']:checked");
340
- if(checked_checkbox.length > 100){
341
- alert(ast_admin_js.i18n.get_shipment_status_message);
342
- return false;
343
- }
344
- }
345
- });*/
346
-
347
  function showerror(element){
348
  element.css("border","1px solid red");
349
  }
13
 
14
  // When a user enters a new tracking item
15
  save_form: function () {
16
+ var error;
17
  var tracking_number = jQuery("#tracking_number");
18
  var tracking_provider = jQuery("#tracking_provider");
19
+
20
  if( tracking_number.val() === '' ){
21
  showerror( tracking_number );error = true;
22
  } else{
23
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
24
  if(!pattern.test(tracking_number.val())){
25
  showerror( tracking_number );
26
  error = true;
35
  jQuery("#tracking_provider").siblings('.select2-container').find('.select2-selection').css('border-color','#ddd');
36
  hideerror(tracking_provider);
37
  }
38
+
39
+
40
+ if(jQuery("tr").hasClass("ASTProduct_row")){
41
+ var qty = false;
42
+ jQuery(".ASTProduct_row").each(function(index){
43
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
44
+ if(ASTProduct_qty > 0){
45
+ qty = true;
46
+ return false;
47
+ }
48
+ });
49
+ }
50
+
51
+ if(qty == false){
52
+ jQuery('.qty_validation').show();
53
+ return false;
54
+ } else{
55
+ jQuery('.qty_validation').hide();
56
+ }
57
+
58
  if(error == true){
59
  return false;
60
  }
69
  opacity: 0.6
70
  }
71
  } );
72
+ var change_order_to_shipped = $('input[name=change_order_to_shipped]:checked').val();
73
+
74
+ if(change_order_to_shipped == 'change_order_to_partial_shipped'){
75
+ checked = 'change_order_to_partial_shipped';
76
+ } else if(change_order_to_shipped == 'change_order_to_shipped'){
77
+ checked = 'change_order_to_shipped';
78
+ } else if($('input#change_order_to_shipped').prop("checked") == true){
79
+ checked = 'change_order_to_shipped';
80
+ } else{
81
+ checked = 'no';
82
  }
83
+
84
+ var product_data = [];
85
+ jQuery(".ASTProduct_row").each(function(index){
86
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
87
+ if(ASTProduct_qty > 0){
88
+ product_data.push({
89
+ product: jQuery(this).find('.product_id').val(),
90
+ qty: jQuery(this).find('input[type="number"]').val(),
91
+ });
92
+ }
93
+ });
94
 
95
+ var jsonString = JSON.stringify(product_data);
96
  var data = {
97
  action: 'wc_shipment_tracking_save_form',
98
  order_id: woocommerce_admin_meta_boxes.post_id,
101
  custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
102
  tracking_number: $( 'input#tracking_number' ).val(),
103
  date_shipped: $( 'input#date_shipped' ).val(),
104
+ productlist: jsonString,
105
  change_order_to_shipped: checked,
106
  security: $( '#wc_shipment_tracking_create_nonce' ).val()
107
  };
108
+
109
+ jQuery.ajax({
110
+ url: woocommerce_admin_meta_boxes.ajax_url,
111
+ data: data,
112
+ type: 'POST',
113
+ success: function(response) {
114
+ $( '#advanced-shipment-tracking-form' ).unblock();
115
+ if ( response == 'reload' ) {
116
+ location.reload(true);
117
+ return false;
118
+ }
119
+ if ( response != '-1' ) {
120
+ $( '#advanced-shipment-tracking-form' ).hide();
121
+ $( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
122
+ $( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
123
+ $( '#tracking_provider' ).selectedIndex = 0;
124
+ $( '#custom_tracking_provider' ).val( '' );
125
+ $( 'input#custom_tracking_link' ).val( '' );
126
+ $( 'input#tracking_number' ).val( '' );
127
+ $( 'input#date_shipped' ).val( '' );
128
+ if(checked == 'change_order_to_shipped'){
129
+ jQuery('#order_status').val('wc-completed');
130
+ jQuery('#order_status').select2().trigger('change');
131
+ jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
132
+ } else if(checked == 'change_order_to_partial_shipped'){
133
+ jQuery('#order_status').val('wc-partial-shipped');
134
+ jQuery('#order_status').select2().trigger('change');
135
+ jQuery('#post').before('<div id="order_updated_message" class="updated notice notice-success is-dismissible"><p>Order updated.</p><button type="button" class="notice-dismiss update-dismiss"><span class="screen-reader-text">Dismiss this notice.</span></button></div>');
136
+ }
137
  }
138
+ },
139
+ error: function(response) {
140
+ console.log(response);
141
  }
142
+ });
 
143
  return false;
144
  },
145
 
273
  }
274
 
275
  jQuery(document).on("click", ".add_inline_tracking", function(){
276
+
277
+ jQuery(this).closest('.wc_actions').block({
278
+ message: null,
279
+ overlayCSS: {
280
+ background: "#fff",
281
+ opacity: .6
282
+ }
283
+ });
284
+
285
  var order_id = jQuery(this).attr('href');
286
  order_id = order_id.replace("#", "");
287
  jQuery('.add_tracking_number_form #order_id').val(order_id);
288
+
289
+ var ajax_data = {
290
+ action: 'ast_open_inline_tracking_form',
291
+ order_id: order_id,
292
+ };
293
+
294
+ jQuery.ajax({
295
+ url: ajaxurl,
296
+ data: ajax_data,
297
+ type: 'POST',
298
+ success: function(response) {
299
+ jQuery( ".add_tracking_popup" ).remove();
300
+ jQuery("body").append(response);
301
+ jQuery('.add_tracking_popup').show();
302
+ jQuery('.wc_actions').unblock();
303
+ },
304
+ error: function(response) {
305
+ jQuery('.wc_actions').unblock();
306
+ }
307
+ });
308
  });
309
+
310
+ jQuery(document).on("click", ".mark_shipped_checkbox", function(){
311
+ if(jQuery(this).prop("checked") == true){
312
+ jQuery('.mark_shipped_checkbox').prop('checked', false);
313
+ jQuery(this).prop('checked', true);
314
+ }
315
+ });
316
+
317
  jQuery(document).on("click", ".popupclose", function(){
318
  jQuery('.add_tracking_popup').hide();
319
  });
338
  showerror(tracking_number);
339
  error = true;
340
  } else{
341
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
342
  if(!pattern.test(tracking_number.val())){
343
  showerror(tracking_number);
344
  error = true;
355
  }
356
 
357
 
358
+ if(jQuery("tr").hasClass("ASTProduct_row")){
359
+ var qty = false;
360
+ jQuery(".ASTProduct_row").each(function(index){
361
+ var ASTProduct_qty = jQuery(this).find('input[type="number"]').val();
362
+ if(ASTProduct_qty > 0){
363
+ qty = true;
364
+ return false;
365
+ }
366
+ });
367
+ }
368
+
369
+ if(qty == false){
370
+ jQuery('.qty_validation').show();
371
+ return false;
372
+ } else{
373
+ jQuery('.qty_validation').hide();
374
+ }
375
+
376
  if(error == true){
377
  return false;
378
  }
379
+
380
  jQuery("#add_tracking_number_form").block({
381
  message: null,
382
  overlayCSS: {
390
  type: 'POST',
391
  success: function(response) {
392
  location.reload();
 
 
 
393
  },
394
  error: function(response) {
395
  console.log(response);
435
  }
436
  });
437
 
 
 
 
 
 
 
 
 
 
 
 
 
 
438
  function showerror(element){
439
  element.css("border","1px solid red");
440
  }
assets/js/customizer-scripts.js CHANGED
@@ -43,8 +43,181 @@ jQuery(document).ready(function() {
43
  jQuery('#customize-control-track_header_text').hide();
44
  }
45
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
 
 
 
 
 
 
 
47
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  jQuery(document).on("change", "#_customize-input-show_track_label", function(){
49
  if(jQuery(this).prop("checked") == true){
50
  jQuery('#customize-control-track_header_text').show();
@@ -52,6 +225,7 @@ jQuery(document).on("change", "#_customize-input-show_track_label", function(){
52
  jQuery('#customize-control-track_header_text').hide();
53
  }
54
  });
 
55
  jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
56
  if(jQuery(this).prop("checked") == true){
57
  jQuery('#customize-control-provider_header_text').hide();
@@ -142,30 +316,46 @@ jQuery(document).on("change", "#customize-control-woocommerce_customer_delivered
142
  } );
143
  } );
144
  } ( wp.customize ) );
 
145
  (function ( api ) {
146
- api.section( 'default_controls_section', function( section ) {
147
  section.expanded.bind( function( isExpanded ) {
148
  var url;
149
  if ( isExpanded ) {
150
  jQuery('#save').trigger('click');
151
- url = wcast_customizer.tracking_preview_url;
152
  api.previewer.previewUrl.set( url );
153
  }
154
  } );
155
  } );
156
  } ( wp.customize ) );
157
- /*(function ( api ) {
158
- api.section( 'tracking_page_section', function( section ) {
 
159
  section.expanded.bind( function( isExpanded ) {
160
  var url;
161
  if ( isExpanded ) {
162
  jQuery('#save').trigger('click');
163
- url = wcast_customizer.tracking_page_preview_url;
164
  api.previewer.previewUrl.set( url );
165
  }
166
  } );
167
  } );
168
- } ( wp.customize ) );*/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  (function ( api ) {
170
  api.section( 'customer_failure_email', function( section ) {
171
  section.expanded.bind( function( isExpanded ) {
43
  jQuery('#customize-control-track_header_text').hide();
44
  }
45
  }
46
+
47
+ if(jQuery('#_customize-input-tracking_number_link').prop("checked") == true){
48
+ jQuery('#customize-control-show_track_label').hide();
49
+ jQuery('#customize-control-shipment_link_header').hide();
50
+ jQuery('#customize-control-tracking_link_font_color').hide();
51
+ jQuery('#customize-control-tracking_link_bg_color').hide();
52
+ jQuery('#customize-control-tracking_link_border').hide();
53
+ jQuery('#customize-control-track_header_text').hide();
54
+ } else{
55
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
56
+ jQuery('#customize-control-track_header_text').show();
57
+ }
58
+ jQuery('#customize-control-show_track_label').show();
59
+ jQuery('#customize-control-shipment_link_header').show();
60
+ jQuery('#customize-control-tracking_link_font_color').show();
61
+ jQuery('#customize-control-tracking_link_bg_color').show();
62
+ jQuery('#customize-control-tracking_link_border').show();
63
+ }
64
+
65
+ var tracking_template = jQuery("#select_tracking_template").val();
66
+ if(tracking_template == 'simple_list'){
67
+ jQuery('#customize-control-table_content_header').hide();
68
+ jQuery('#customize-control-display_shipment_provider_image').hide();
69
+ jQuery('#customize-control-display_shipment_provider_name').hide();
70
+ jQuery('#customize-control-remove_date_from_tracking').hide();
71
+ jQuery('#customize-control-table_header_block').hide();
72
+ jQuery('#customize-control-hide_table_header').hide();
73
+ jQuery('#customize-control-provider_header_text').hide();
74
+ jQuery('#customize-control-tracking_number_header_text').hide();
75
+ jQuery('#customize-control-shipped_date_header_text').hide();
76
+ jQuery('#customize-control-shipped_date_header_text').hide();
77
+ jQuery('#customize-control-tracking_number_link').hide();
78
+ jQuery('#customize-control-show_track_label').hide();
79
+ jQuery('#customize-control-track_header_text').hide();
80
+ jQuery('#customize-control-table_header_font_size').hide();
81
+ jQuery('#customize-control-table_header_font_color').hide();
82
+ jQuery('#customize-control-table_header').hide();
83
+ jQuery('#customize-control-table_padding').hide();
84
+ jQuery('#customize-control-table_bg_color').hide();
85
+ jQuery('#customize-control-table_border_color').hide();
86
+ jQuery('#customize-control-table_border_size').hide();
87
+ jQuery('#customize-control-header_content_text_align').hide();
88
+ jQuery('#customize-control-table_content_font_size').hide();
89
+ jQuery('#customize-control-table_content_font_color').hide();
90
+ jQuery('#customize-control-table_content_line_height').hide();
91
+ jQuery('#customize-control-table_content_font_weight').hide();
92
+ jQuery('#customize-control-shipment_link_header').hide();
93
+ jQuery('#customize-control-tracking_link_font_color').hide();
94
+ jQuery('#customize-control-tracking_link_bg_color').hide();
95
+ jQuery('#customize-control-tracking_link_border').hide();
96
+ jQuery('#customize-control-simple_content_header').show();
97
+ jQuery('#customize-control-simple_provider_font_size').show();
98
+ jQuery('#customize-control-simple_provider_font_color').show();
99
+ jQuery('#customize-control-show_provider_border').show();
100
+ if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
101
+ jQuery('#customize-control-provider_border_color').show();
102
+ }
103
+ } else{
104
+ jQuery('#customize-control-simple_content_header').hide();
105
+ jQuery('#customize-control-simple_provider_font_size').hide();
106
+ jQuery('#customize-control-simple_provider_font_color').hide();
107
+ jQuery('#customize-control-show_provider_border').hide();
108
+ jQuery('#customize-control-provider_border_color').hide();
109
+ }
110
+ });
111
 
112
+ jQuery(document).on("click", "#_customize-input-show_provider_border", function(){
113
+ if(jQuery(this).prop("checked") == true){
114
+ jQuery('#customize-control-provider_border_color').show();
115
+ } else{
116
+ jQuery('#customize-control-provider_border_color').hide();
117
+ }
118
  });
119
+ jQuery(document).on("change", "#select_tracking_template", function(){
120
+ var tracking_template = jQuery(this).val();
121
+ if(tracking_template == 'simple_list'){
122
+ jQuery('#customize-control-table_content_header').hide();
123
+ jQuery('#customize-control-display_shipment_provider_image').hide();
124
+ jQuery('#customize-control-display_shipment_provider_name').hide();
125
+ jQuery('#customize-control-remove_date_from_tracking').hide();
126
+ jQuery('#customize-control-table_header_block').hide();
127
+ jQuery('#customize-control-hide_table_header').hide();
128
+ jQuery('#customize-control-provider_header_text').hide();
129
+ jQuery('#customize-control-tracking_number_header_text').hide();
130
+ jQuery('#customize-control-shipped_date_header_text').hide();
131
+ jQuery('#customize-control-shipped_date_header_text').hide();
132
+ jQuery('#customize-control-tracking_number_link').hide();
133
+ jQuery('#customize-control-show_track_label').hide();
134
+ jQuery('#customize-control-track_header_text').hide();
135
+ jQuery('#customize-control-table_header_font_size').hide();
136
+ jQuery('#customize-control-table_header_font_color').hide();
137
+ jQuery('#customize-control-table_header').hide();
138
+ jQuery('#customize-control-table_padding').hide();
139
+ jQuery('#customize-control-table_bg_color').hide();
140
+ jQuery('#customize-control-table_border_color').hide();
141
+ jQuery('#customize-control-table_border_size').hide();
142
+ jQuery('#customize-control-header_content_text_align').hide();
143
+ jQuery('#customize-control-table_content_font_size').hide();
144
+ jQuery('#customize-control-table_content_font_color').hide();
145
+ jQuery('#customize-control-table_content_line_height').hide();
146
+ jQuery('#customize-control-table_content_font_weight').hide();
147
+ jQuery('#customize-control-shipment_link_header').hide();
148
+ jQuery('#customize-control-tracking_link_font_color').hide();
149
+ jQuery('#customize-control-tracking_link_bg_color').hide();
150
+ jQuery('#customize-control-tracking_link_border').hide();
151
+ jQuery('#customize-control-simple_content_header').show();
152
+ jQuery('#customize-control-simple_provider_font_size').show();
153
+ jQuery('#customize-control-simple_provider_font_color').show();
154
+ jQuery('#customize-control-show_provider_border').show();
155
+ if(jQuery('#_customize-input-show_provider_border').prop("checked") == true){
156
+ jQuery('#customize-control-provider_border_color').show();
157
+ }
158
+ } else{
159
+ jQuery('#customize-control-simple_content_header').hide();
160
+ jQuery('#customize-control-simple_provider_font_size').hide();
161
+ jQuery('#customize-control-simple_provider_font_color').hide();
162
+ jQuery('#customize-control-show_provider_border').hide();
163
+ jQuery('#customize-control-provider_border_color').hide();
164
+ jQuery('#customize-control-table_content_header').show();
165
+ jQuery('#customize-control-display_shipment_provider_image').show();
166
+ jQuery('#customize-control-display_shipment_provider_name').show();
167
+ jQuery('#customize-control-remove_date_from_tracking').show();
168
+ jQuery('#customize-control-table_header_block').show();
169
+ jQuery('#customize-control-show_table_header').show();
170
+ jQuery('#customize-control-tracking_number_link').show();
171
+ jQuery('#customize-control-table_header').show();
172
+ jQuery('#customize-control-table_padding').show();
173
+ jQuery('#customize-control-table_bg_color').show();
174
+ jQuery('#customize-control-table_border_color').show();
175
+ jQuery('#customize-control-table_border_size').show();
176
+ jQuery('#customize-control-header_content_text_align').show();
177
+ jQuery('#customize-control-table_content_font_size').show();
178
+ jQuery('#customize-control-table_content_font_color').show();
179
+ jQuery('#customize-control-table_content_line_height').show();
180
+ jQuery('#customize-control-table_content_font_weight').show();
181
+ jQuery('#customize-control-hide_table_header').show();
182
+ if(jQuery('#_customize-input-hide_table_header').prop("checked") != true){
183
+ jQuery('#customize-control-provider_header_text').show();
184
+ jQuery('#customize-control-tracking_number_header_text').show();
185
+ jQuery('#customize-control-shipped_date_header_text').show();
186
+ jQuery('#customize-control-table_header_font_size').show();
187
+ jQuery('#customize-control-table_header_font_color').show();
188
+ }
189
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true && jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
190
+ jQuery('#customize-control-track_header_text').show();
191
+ }
192
+ if(jQuery('#_customize-input-tracking_number_link').prop("checked") != true){
193
+ jQuery('#customize-control-show_track_label').show();
194
+ jQuery('#customize-control-shipment_link_header').show();
195
+ jQuery('#customize-control-tracking_link_font_color').show();
196
+ jQuery('#customize-control-tracking_link_bg_color').show();
197
+ jQuery('#customize-control-tracking_link_border').show();
198
+ }
199
+ }
200
+ });
201
+ jQuery(document).on("change", "#_customize-input-tracking_number_link", function(){
202
+ if(jQuery(this).prop("checked") == true){
203
+ jQuery('#customize-control-show_track_label').hide();
204
+ jQuery('#customize-control-track_header_text').hide();
205
+ jQuery('#customize-control-shipment_link_header').hide();
206
+ jQuery('#customize-control-tracking_link_font_color').hide();
207
+ jQuery('#customize-control-tracking_link_bg_color').hide();
208
+ jQuery('#customize-control-tracking_link_border').hide();
209
+ } else{
210
+ if(jQuery("#_customize-input-show_track_label").prop("checked") == true){
211
+ jQuery('#customize-control-track_header_text').show();
212
+ }
213
+ jQuery('#customize-control-show_track_label').show();
214
+ jQuery('#customize-control-shipment_link_header').show();
215
+ jQuery('#customize-control-tracking_link_font_color').show();
216
+ jQuery('#customize-control-tracking_link_bg_color').show();
217
+ jQuery('#customize-control-tracking_link_border').show();
218
+ }
219
+ });
220
+
221
  jQuery(document).on("change", "#_customize-input-show_track_label", function(){
222
  if(jQuery(this).prop("checked") == true){
223
  jQuery('#customize-control-track_header_text').show();
225
  jQuery('#customize-control-track_header_text').hide();
226
  }
227
  });
228
+
229
  jQuery(document).on("change", "#_customize-input-hide_table_header", function(){
230
  if(jQuery(this).prop("checked") == true){
231
  jQuery('#customize-control-provider_header_text').hide();
316
  } );
317
  } );
318
  } ( wp.customize ) );
319
+
320
  (function ( api ) {
321
+ api.section( 'customer_partial_shipped_email', function( section ) {
322
  section.expanded.bind( function( isExpanded ) {
323
  var url;
324
  if ( isExpanded ) {
325
  jQuery('#save').trigger('click');
326
+ url = wcast_customizer.partial_shipped_email_preview_url;
327
  api.previewer.previewUrl.set( url );
328
  }
329
  } );
330
  } );
331
  } ( wp.customize ) );
332
+
333
+ (function ( api ) {
334
+ api.section( 'customer_updated_tracking_email', function( section ) {
335
  section.expanded.bind( function( isExpanded ) {
336
  var url;
337
  if ( isExpanded ) {
338
  jQuery('#save').trigger('click');
339
+ url = wcast_customizer.updated_tracking_email_preview_url;
340
  api.previewer.previewUrl.set( url );
341
  }
342
  } );
343
  } );
344
+ } ( wp.customize ) );
345
+
346
+ (function ( api ) {
347
+ api.section( 'default_controls_section', function( section ) {
348
+ section.expanded.bind( function( isExpanded ) {
349
+ var url;
350
+ if ( isExpanded ) {
351
+ jQuery('#save').trigger('click');
352
+ url = wcast_customizer.tracking_preview_url;
353
+ api.previewer.previewUrl.set( url );
354
+ }
355
+ } );
356
+ } );
357
+ } ( wp.customize ) );
358
+
359
  (function ( api ) {
360
  api.section( 'customer_failure_email', function( section ) {
361
  section.expanded.bind( function( isExpanded ) {
assets/js/front.js CHANGED
@@ -53,4 +53,15 @@ jQuery(document).on("click", ".hide_table_rows", function(){
53
  jQuery(this).hide();
54
  jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
55
  jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
 
 
 
 
 
 
 
 
 
 
 
56
  });
53
  jQuery(this).hide();
54
  jQuery(this).closest('.shipment_progress_div').find('.view_table_rows').show();
55
  jQuery(this).closest('.shipment_progress_div').find('table.tracking-table tr:nth-child(n+3)').hide();
56
+ });
57
+
58
+ jQuery(document).on("click", ".view_old_details", function(){
59
+ jQuery(this).hide();
60
+ jQuery(this).closest('.tracking-details').find('.hide_old_details').show();
61
+ jQuery(this).closest('.tracking-details').find('.old-details').fadeIn();
62
+ });
63
+ jQuery(document).on("click", ".hide_old_details", function(){
64
+ jQuery(this).hide();
65
+ jQuery(this).closest('.tracking-details').find('.view_old_details').show();
66
+ jQuery(this).closest('.tracking-details').find('.old-details').fadeOut();
67
  });
assets/js/preview-scripts.js CHANGED
@@ -224,6 +224,38 @@
224
  });
225
  });
226
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
227
 
228
  wp.customize( 'remove_trackship_branding', function( value ) {
229
  value.bind( function( remove_trackship_branding ) {
@@ -329,4 +361,39 @@
329
  }
330
  });
331
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
332
  } )( jQuery );
224
  });
225
  });
226
 
227
+ wp.customize( 'woocommerce_customer_partial_shipped_order_settings[heading]', function( value ) {
228
+ value.bind( function( wcast_partial_shipped_email_heading ) {
229
+
230
+ var str = wcast_partial_shipped_email_heading;
231
+ var res = str.replace("{site_title}", wcast_preview.site_title);
232
+
233
+ var res = res.replace("{order_number}", wcast_preview.order_number);
234
+
235
+ if( wcast_partial_shipped_email_heading ){
236
+ $( '#header_wrapper h1' ).text(res);
237
+ } else{
238
+ $( '#header_wrapper h1' ).text('');
239
+ }
240
+ });
241
+ });
242
+
243
+ wp.customize( 'woocommerce_customer_updated_tracking_order_settings[heading]', function( value ) {
244
+ value.bind( function( wcast_updated_tracking_email_heading ) {
245
+
246
+ var str = wcast_updated_tracking_email_heading;
247
+ var res = str.replace("{site_title}", wcast_preview.site_title);
248
+
249
+ var res = res.replace("{order_number}", wcast_preview.order_number);
250
+
251
+ if( wcast_updated_tracking_email_heading ){
252
+ $( '#header_wrapper h1' ).text(res);
253
+ } else{
254
+ $( '#header_wrapper h1' ).text('');
255
+ }
256
+ });
257
+ });
258
+
259
 
260
  wp.customize( 'remove_trackship_branding', function( value ) {
261
  value.bind( function( remove_trackship_branding ) {
361
  }
362
  });
363
  });
364
+
365
+ wp.customize( 'simple_provider_font_size', function( setting ) {
366
+ /* Deferred callback for when setting exists */
367
+ setting.bind( function( simple_provider_font_size ) {
368
+ /* Update callback for setting change */
369
+ $( '.tracking_list_div' ).css( 'font-size',simple_provider_font_size );
370
+ } );
371
+ } );
372
+
373
+ wp.customize( 'simple_provider_font_color', function( setting ) {
374
+ /* Deferred callback for when setting exists */
375
+ setting.bind( function( simple_provider_font_color ) {
376
+ /* Update callback for setting change */
377
+ $( '.tracking_list_div' ).css( 'color',simple_provider_font_color );
378
+ } );
379
+ } );
380
+
381
+ wp.customize( 'show_provider_border', function( setting ) {
382
+ /* Deferred callback for when setting exists */
383
+ setting.bind( function( show_provider_border ) {
384
+ if( show_provider_border ){
385
+ $( '.tracking_list_div' ).css( 'border-bottom','1px solid' );;
386
+ }
387
+ else{
388
+ $( '.tracking_list_div' ).css( 'border-bottom','0' );;
389
+ }
390
+ } );
391
+ } );
392
+
393
+ wp.customize( 'provider_border_color', function( setting ) {
394
+ /* Deferred callback for when setting exists */
395
+ setting.bind( function( provider_border_color ) {
396
+ $( '.tracking_list_div' ).css( 'border-bottom','1px solid '+provider_border_color );
397
+ } );
398
+ } );
399
  } )( jQuery );
assets/js/settings.js CHANGED
@@ -9,19 +9,27 @@ jQuery(document).on("click", ".shipping_provider_tab li", function(){
9
  });
10
  jQuery(document).on("click", "#wc_ast_status_delivered", function(){
11
  if(jQuery(this).prop("checked") == true){
12
- jQuery('.status_label_color_th').show();
13
- jQuery('label.tab_label[for="tab5"]').show();
14
  } else{
15
- jQuery('.status_label_color_th').hide();
16
- jQuery('label.tab_label[for="tab5"]').hide();
17
- }
18
- var email_type = jQuery('#wc_ast_select_email_type').val();
19
- if(email_type == 'wc_email' && jQuery(this).prop("checked") == true){
20
- jQuery('.manage_delivered_order_email_link').show();
21
- } else{
22
- jQuery('.manage_delivered_order_email_link').hide();
 
23
  }
24
  });
 
 
 
 
 
 
 
 
25
  jQuery(document).on("change", "#wc_ast_select_email_type", function(){
26
  jQuery("#content2 ").block({
27
  message: null,
@@ -59,17 +67,73 @@ jQuery(document).on("change", "#wc_ast_select_email_type", function(){
59
  });
60
  jQuery( document ).ready(function() {
61
  jQuery(".woocommerce-help-tip").tipTip();
 
62
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
63
- jQuery('.status_label_color_th').show();
64
- jQuery('label.tab_label[for="tab5"]').show();
65
  } else{
66
- jQuery('.status_label_color_th').hide();
67
- jQuery('label.tab_label[for="tab5"]').hide();
 
 
 
 
 
68
  }
69
 
70
- jQuery('#wc_ast_status_label_color').wpColorPicker();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  jQuery('.color_field input').wpColorPicker();
72
  });
 
 
 
 
 
 
 
 
 
 
 
 
73
  jQuery(document).on("click", '#variable_tag #var_input', function(e){
74
  jQuery(this).focus();
75
  jQuery(this).select();
9
  });
10
  jQuery(document).on("click", "#wc_ast_status_delivered", function(){
11
  if(jQuery(this).prop("checked") == true){
12
+ jQuery(this).closest('tr').removeClass('disable_row');
 
13
  } else{
14
+ jQuery(this).closest('tr').addClass('disable_row');
15
+ }
16
+ });
17
+
18
+ jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
19
+ if(jQuery(this).prop("checked") == true){
20
+ jQuery(this).closest('tr').removeClass('disable_row');
21
+ } else{
22
+ jQuery(this).closest('tr').addClass('disable_row');
23
  }
24
  });
25
+ jQuery(document).on("click", "#wc_ast_status_updated_tracking", function(){
26
+ if(jQuery(this).prop("checked") == true){
27
+ jQuery(this).closest('tr').removeClass('disable_row');
28
+ } else{
29
+ jQuery(this).closest('tr').addClass('disable_row');
30
+ }
31
+ });
32
+
33
  jQuery(document).on("change", "#wc_ast_select_email_type", function(){
34
  jQuery("#content2 ").block({
35
  message: null,
67
  });
68
  jQuery( document ).ready(function() {
69
  jQuery(".woocommerce-help-tip").tipTip();
70
+
71
  if(jQuery('#wc_ast_status_delivered').prop("checked") == true){
72
+ jQuery('.status_label_color_th').show();
 
73
  } else{
74
+ jQuery('.status_label_color_th').hide();
75
+ }
76
+
77
+ if(jQuery('#wc_ast_status_partial_shipped').prop("checked") == true){
78
+ jQuery('.partial_shipped_status_label_color_th').show();
79
+ } else{
80
+ jQuery('.partial_shipped_status_label_color_th').hide();
81
  }
82
 
83
+ jQuery('#wc_ast_status_label_color').wpColorPicker({
84
+ change: function(e, ui) {
85
+ var color = ui.color.toString();
86
+ jQuery('.order-status-table .order-label.wc-delivered').css('background',color);
87
+ },
88
+ });
89
+ jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker({
90
+ change: function(e, ui) {
91
+ var color = ui.color.toString();
92
+ jQuery('.order-status-table .order-label.wc-partially-shipped').css('background',color);
93
+ },
94
+ });
95
+ jQuery('#wc_ast_status_updated_tracking_label_color').wpColorPicker({
96
+ change: function(e, ui) {
97
+ var color = ui.color.toString();
98
+ jQuery('.order-status-table .order-label.wc-updated-tracking').css('background',color);
99
+ },
100
+ });
101
+ jQuery('#wc_ast_select_primary_color').wpColorPicker({
102
+ change: function(e, ui) {
103
+ var color = ui.color.toString();
104
+ jQuery('#tracking_preview_iframe').contents().find('.bg-secondary').css('background-color',color);
105
+ jQuery('#tracking_preview_iframe').contents().find('.tracker-progress-bar-with-dots .secondary .dot').css('border-color',color);
106
+ jQuery('#tracking_preview_iframe').contents().find('.text-secondary').css('color',color);
107
+ jQuery('#tracking_preview_iframe').contents().find('.progress-bar.bg-secondary:before').css('background-color',color);
108
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-number').css('color',color);
109
+ jQuery('#tracking_preview_iframe').contents().find('.view_table_rows').css('color',color);
110
+ jQuery('#tracking_preview_iframe').contents().find('.hide_table_rows').css('color',color);
111
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-detail.tracking-layout-2').css('color',color);
112
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').css('color',color);
113
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').css('color',color);
114
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-table tbody tr td').css('color',color);
115
+ },
116
+ });
117
+ jQuery('#wc_ast_select_border_color').wpColorPicker({
118
+ change: function(e, ui) {
119
+ var color = ui.color.toString();
120
+ jQuery('#tracking_preview_iframe').contents().find('.col.tracking-detail').css('border','1px solid '+color);
121
+ },
122
+ });
123
  jQuery('.color_field input').wpColorPicker();
124
  });
125
+ jQuery(document).on("change", "#wc_ast_status_label_font_color", function(){
126
+ var font_color = jQuery(this).val();
127
+ jQuery('.order-status-table .order-label.wc-delivered').css('color',font_color);
128
+ });
129
+ jQuery(document).on("change", "#wc_ast_status_partial_shipped_label_font_color", function(){
130
+ var font_color = jQuery(this).val();
131
+ jQuery('.order-status-table .order-label.wc-partially-shipped').css('color',font_color);
132
+ });
133
+ jQuery(document).on("change", "#wc_ast_status_updated_tracking_label_font_color", function(){
134
+ var font_color = jQuery(this).val();
135
+ jQuery('.order-status-table .order-label.wc-updated-tracking').css('color',font_color);
136
+ });
137
  jQuery(document).on("click", '#variable_tag #var_input', function(e){
138
  jQuery(this).focus();
139
  jQuery(this).select();
assets/js/shipping_row.js CHANGED
@@ -7,6 +7,7 @@
7
 
8
  var $wc_ast_settings_form = $("#wc_ast_settings_form");
9
  var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
 
10
 
11
 
12
  var wc_table_rate_rows = {
@@ -28,6 +29,7 @@
28
 
29
  $wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
30
  $wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
 
31
 
32
  $(".tipTip").tipTip();
33
 
@@ -59,7 +61,45 @@
59
  $wc_ast_trackship_form.find(".spinner").removeClass("active");
60
  var snackbarContainer = document.querySelector('#demo-toast-example');
61
  var data = {message: 'Data saved successfully.'};
62
- snackbarContainer.MaterialSnackbar.showSnackbar(data);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
  //$wc_ast_settings_form.find(".success_msg").show();
64
  });
65
 
@@ -201,6 +241,7 @@ jQuery(document).on("change", ".wc_ast_default_provider", function(){
201
  });
202
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
203
  jQuery('.csv_upload_status li').remove();
 
204
  jQuery('.progress_title').hide();
205
  var form = jQuery('#wc_ast_upload_csv_form');
206
  var error;
@@ -240,8 +281,11 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
240
  var reader = new FileReader();
241
  reader.onload = function (e) {
242
  var trackings = new Array();
243
- var rows = e.target.result.split("\r\n");
244
-
 
 
 
245
  for (var i = 1; i < rows.length; i++) {
246
  var cells = rows[i].split(",");
247
  if (cells.length > 1) {
@@ -256,7 +300,8 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
256
  }
257
  }
258
  }
259
- var csv_length = trackings.length;
 
260
  jQuery("#wc_ast_upload_csv_form")[0].reset();
261
  jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
262
  var querySelector = document.querySelector('#p1');
@@ -292,6 +337,7 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
292
 
293
  jQuery('.csv_upload_status').append(data);
294
  var progress = (index+1)*100/csv_length;
 
295
  jQuery('.progress_title').show();
296
  querySelector.MaterialProgress.setProgress(progress);
297
  if(progress == 100){
@@ -471,9 +517,9 @@ jQuery(document).on( "input", "#search_provider", function(){
471
  data: ajax_data,
472
  type: 'POST',
473
  success: function(response) {
474
- jQuery(".provider_list").replaceWith(response);
475
- //jQuery("#content1 ").unblock();
476
- componentHandler.upgradeAllRegistered();
477
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
478
  jQuery('.provider').each(function() {
479
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
@@ -483,11 +529,17 @@ jQuery(document).on( "input", "#search_provider", function(){
483
  var hascountry= country.indexOf(searchvalue)!==-1;
484
 
485
  if (hasprovider || hascountry) {
486
- jQuery(this).show();
487
- } else {
 
488
  jQuery(this).hide();
489
  }
490
  });
 
 
 
 
 
491
  },
492
  error: function(response) {
493
  }
@@ -502,6 +554,8 @@ jQuery(document).on("click", ".popupclose", function(){
502
  jQuery('.edit_provider_popup').hide();
503
  jQuery('.sync_provider_popup').hide();
504
  jQuery('.how_to_video_popup').hide();
 
 
505
  });
506
  jQuery(document).on("click", ".close_synch_popup", function(){
507
  jQuery('.sync_provider_popup').hide();
@@ -592,7 +646,7 @@ jQuery(document).on("click", ".remove", function(){
592
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
593
  if (r === true) {
594
  } else {
595
- $("#content1").unblock();
596
  return;
597
  }
598
  var id = jQuery(this).data('pid');
@@ -642,7 +696,7 @@ jQuery(document).on("click", ".edit_provider", function(){
642
  jQuery('.edit_provider_popup #thumb_url').val(image);
643
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
644
  jQuery('.edit_provider_popup #provider_id').val(id);
645
- $(".edit_provider_popup #shipping_country").val(shipping_country);
646
  jQuery('.edit_provider_popup').show();
647
  //console.log(provider_name);
648
  },
@@ -724,7 +778,7 @@ jQuery(document).on("click", ".reset_active", function(){
724
  var r = confirm( 'Do you really want to change all provider status to active?' );
725
  if (r === true) {
726
  } else {
727
- $("#content1").unblock();
728
  return;
729
  }
730
 
@@ -760,7 +814,7 @@ jQuery(document).on("click", ".reset_inactive", function(){
760
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
761
  if (r === true) {
762
  } else {
763
- $("#content1").unblock();
764
  return;
765
  }
766
 
@@ -799,27 +853,32 @@ jQuery(document).on("click", ".sync_providers_btn", function(){
799
  data: ajax_data,
800
  type: 'POST',
801
  dataType: "json",
802
- success: function(response) {
803
- console.log(response.updated_data);
804
  jQuery('.sync_provider_popup .spinner').removeClass('active');
805
  jQuery(".provider_list").replaceWith(response.html);
806
  jQuery('.status_filter a').removeClass('active');
807
  jQuery("[data-status=active]").addClass('active');
808
 
809
- jQuery(".providers_added span").text(response.added);
810
- if(response.added > 0 ){
811
- jQuery( ".providers_added" ).append( response.added_html );
812
- }
813
-
814
- jQuery(".providers_updated span").text(response.updated);
815
- if(response.updated > 0 ){
816
- jQuery( ".providers_updated" ).append( response.updated_html );
817
- }
818
-
819
- jQuery(".providers_deleted span").text(response.deleted);
820
- if(response.deleted > 0 ){
821
- jQuery( ".providers_deleted" ).append( response.deleted_html );
 
 
 
 
 
822
  }
 
823
  jQuery(".synch_result").show();
824
  jQuery(".sync_providers_btn").hide();
825
  jQuery(".close_synch_popup").show();
@@ -881,7 +940,25 @@ jQuery(document).on("change", "#wcast_enable_delivered_email", function(){
881
  }
882
  componentHandler.upgradeAllRegistered();
883
  });
884
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
885
 
886
  jQuery(document).click(function(){
887
  var $trigger = jQuery(".dropdown");
@@ -964,19 +1041,201 @@ jQuery(document).on("click", ".bulk_shipment_status_button_for_empty_balance", f
964
  return false;
965
  });
966
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
967
  jQuery(document).on("click", ".tab_input", function(){
968
  var tab = jQuery(this).data('tab');
969
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
970
  window.history.pushState({path:url},'',url);
971
  });
 
 
 
 
 
972
 
973
  jQuery(document).on("click", ".open_video_popup", function(){
974
  jQuery('.how_to_video_popup').show();
975
  });
976
 
 
 
 
 
 
 
 
977
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
978
  jQuery('#how_to_video').each(function(index) {
979
  jQuery(this).attr('src', jQuery(this).attr('src'));
980
  return false;
981
  });
982
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
7
 
8
  var $wc_ast_settings_form = $("#wc_ast_settings_form");
9
  var $wc_ast_trackship_form = $("#wc_ast_trackship_form");
10
+ var $wc_ast_addons_form = $("#wc_ast_addons_form");
11
 
12
 
13
  var wc_table_rate_rows = {
29
 
30
  $wc_ast_settings_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_settings_form );
31
  $wc_ast_trackship_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_trackship_form );
32
+ $wc_ast_addons_form.on( 'click', '.woocommerce-save-button', this.save_wc_ast_addons_form );
33
 
34
  $(".tipTip").tipTip();
35
 
61
  $wc_ast_trackship_form.find(".spinner").removeClass("active");
62
  var snackbarContainer = document.querySelector('#demo-toast-example');
63
  var data = {message: 'Data saved successfully.'};
64
+ snackbarContainer.MaterialSnackbar.showSnackbar(data);
65
+ });
66
+
67
+ },
68
+
69
+ save_wc_ast_addons_form: function( event ) {
70
+ event.preventDefault();
71
+
72
+ $wc_ast_addons_form.find(".spinner").addClass("active");
73
+ jQuery('.pesan').hide();
74
+ var action = jQuery('#ast-license-action').val();
75
+ //$wc_ast_settings_form.find(".success_msg").hide();
76
+ var ajax_data = $wc_ast_addons_form.serialize();
77
+
78
+ $.post( ajaxurl, ajax_data, function(data) {
79
+ $wc_ast_addons_form.find(".spinner").removeClass("active");
80
+ jQuery('.pesan').show();
81
+ //console.log(data);
82
+ var btn_value = 'Activate';
83
+ if(data.success == 'true'){
84
+ if(action == 'ast_product_license_activate'){
85
+ var btn_value = 'Deactivate';
86
+ jQuery('#ast-license-action').val('esre_license_deactivate');
87
+ jQuery('.pesan').html('Congratulation, your license successful activated');
88
+ jQuery('.activated').show();
89
+ window.location.reload();
90
+ } else {
91
+ jQuery('#ast-license-action').val('esre_license_activate');
92
+ jQuery('#ast_product_license_key').val('');
93
+ jQuery('#ast_product_license_email').val('');
94
+ jQuery('.pesan').html('<span style="color:green;">Congratulation, your license successful deactivated</span>');
95
+ jQuery('.activated').hide();
96
+ window.location.reload();
97
+ }
98
+ } else {
99
+ jQuery('.pesan').html('<span style="color:red;">'+data.message+'</span>');
100
+ }
101
+
102
+ jQuery('#saveS').prop('disabled', false).val(btn_value);
103
  //$wc_ast_settings_form.find(".success_msg").show();
104
  });
105
 
241
  });
242
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
243
  jQuery('.csv_upload_status li').remove();
244
+ jQuery('.bulk_upload_status_tr').hide();
245
  jQuery('.progress_title').hide();
246
  var form = jQuery('#wc_ast_upload_csv_form');
247
  var error;
281
  var reader = new FileReader();
282
  reader.onload = function (e) {
283
  var trackings = new Array();
284
+ var rows = e.target.result.split("\r\n");
285
+ if(rows.length <= 1){
286
+ alert('There are some issue with CSV file.');
287
+ return false;
288
+ }
289
  for (var i = 1; i < rows.length; i++) {
290
  var cells = rows[i].split(",");
291
  if (cells.length > 1) {
300
  }
301
  }
302
  }
303
+ var csv_length = trackings.length;
304
+
305
  jQuery("#wc_ast_upload_csv_form")[0].reset();
306
  jQuery("#p1 .progressbar").css('background-color','rgb(63,81,181)');
307
  var querySelector = document.querySelector('#p1');
337
 
338
  jQuery('.csv_upload_status').append(data);
339
  var progress = (index+1)*100/csv_length;
340
+ jQuery('.bulk_upload_status_tr').show();
341
  jQuery('.progress_title').show();
342
  querySelector.MaterialProgress.setProgress(progress);
343
  if(progress == 100){
517
  data: ajax_data,
518
  type: 'POST',
519
  success: function(response) {
520
+ jQuery(".provider_list").replaceWith(response);
521
+ componentHandler.upgradeAllRegistered();
522
+ var provider_found = false;
523
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
524
  jQuery('.provider').each(function() {
525
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
529
  var hascountry= country.indexOf(searchvalue)!==-1;
530
 
531
  if (hasprovider || hascountry) {
532
+ jQuery(this).show();
533
+ provider_found = true;
534
+ } else {
535
  jQuery(this).hide();
536
  }
537
  });
538
+ if(provider_found == false){
539
+ jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
540
+ } else{
541
+ jQuery(".not_found_label").remove();
542
+ }
543
  },
544
  error: function(response) {
545
  }
554
  jQuery('.edit_provider_popup').hide();
555
  jQuery('.sync_provider_popup').hide();
556
  jQuery('.how_to_video_popup').hide();
557
+ jQuery('.ts_video_popup').hide();
558
+ jQuery('.tracking_item_video_popup').hide();
559
  });
560
  jQuery(document).on("click", ".close_synch_popup", function(){
561
  jQuery('.sync_provider_popup').hide();
646
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
647
  if (r === true) {
648
  } else {
649
+ jQuery("#content1").unblock();
650
  return;
651
  }
652
  var id = jQuery(this).data('pid');
696
  jQuery('.edit_provider_popup #thumb_url').val(image);
697
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
698
  jQuery('.edit_provider_popup #provider_id').val(id);
699
+ jQuery(".edit_provider_popup #shipping_country").val(shipping_country);
700
  jQuery('.edit_provider_popup').show();
701
  //console.log(provider_name);
702
  },
778
  var r = confirm( 'Do you really want to change all provider status to active?' );
779
  if (r === true) {
780
  } else {
781
+ jQuery("#content1").unblock();
782
  return;
783
  }
784
 
814
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
815
  if (r === true) {
816
  } else {
817
+ jQuery("#content1").unblock();
818
  return;
819
  }
820
 
853
  data: ajax_data,
854
  type: 'POST',
855
  dataType: "json",
856
+ success: function(response) {
 
857
  jQuery('.sync_provider_popup .spinner').removeClass('active');
858
  jQuery(".provider_list").replaceWith(response.html);
859
  jQuery('.status_filter a').removeClass('active');
860
  jQuery("[data-status=active]").addClass('active');
861
 
862
+ if(response.sync_error == 1 ){
863
+ jQuery( ".sync_message" ).text( response.message );
864
+ jQuery( ".sync_providers_btn" ).text( 'Retry' );
865
+ } else{
866
+ jQuery(".providers_added span").text(response.added);
867
+ if(response.added > 0 ){
868
+ jQuery( ".providers_added" ).append( response.added_html );
869
+ }
870
+
871
+ jQuery(".providers_updated span").text(response.updated);
872
+ if(response.updated > 0 ){
873
+ jQuery( ".providers_updated" ).append( response.updated_html );
874
+ }
875
+
876
+ jQuery(".providers_deleted span").text(response.deleted);
877
+ if(response.deleted > 0 ){
878
+ jQuery( ".providers_deleted" ).append( response.deleted_html );
879
+ }
880
  }
881
+
882
  jQuery(".synch_result").show();
883
  jQuery(".sync_providers_btn").hide();
884
  jQuery(".close_synch_popup").show();
940
  }
941
  componentHandler.upgradeAllRegistered();
942
  });
943
+ jQuery(document).on("change", "#wc_ast_status_delivered", function(){
944
+ if(jQuery(this).prop("checked") == false){
945
+ jQuery('#wcast_enable_delivered_email')[0].checked = false;
946
+ }
947
+ if(jQuery(this).prop("checked") == true && jQuery("#wcast_enable_delivered_email").prop("checked") == true){
948
+ jQuery('.delivered_shipment_label').addClass('delivered_enabel');
949
+ jQuery('.delivered_shipment_label .email_heading').addClass('disabled_link');
950
+ jQuery('.delivered_shipment_label .edit_customizer_a').addClass('disabled_link');
951
+ jQuery('.delivered_shipment_label .delivered_message').addClass('disable_delivered');
952
+ jQuery('#wcast_enable_delivered_status_email').prop('disabled', true);
953
+ } else{
954
+ jQuery('.delivered_shipment_label').removeClass('delivered_enabel');
955
+ jQuery('.delivered_shipment_label .email_heading').removeClass('disabled_link');
956
+ jQuery('.delivered_shipment_label .edit_customizer_a').removeClass('disabled_link');
957
+ jQuery('.delivered_shipment_label .delivered_message').removeClass('disable_delivered');
958
+ jQuery('#wcast_enable_delivered_status_email').removeAttr('disabled');
959
+ }
960
+ componentHandler.upgradeAllRegistered();
961
+ });
962
 
963
  jQuery(document).click(function(){
964
  var $trigger = jQuery(".dropdown");
1041
  return false;
1042
  });
1043
 
1044
+ jQuery(document).on("click", ".bulk_shipment_status_button_for_do_connection", function(){
1045
+ jQuery("#content3").block({
1046
+ message: null,
1047
+ overlayCSS: {
1048
+ background: "#fff",
1049
+ opacity: .6
1050
+ }
1051
+ });
1052
+ var ajax_data = {
1053
+ action: 'bulk_shipment_status_for_do_connection_from_settings',
1054
+ };
1055
+ jQuery.ajax({
1056
+ url: ajaxurl,
1057
+ data: ajax_data,
1058
+ type: 'POST',
1059
+ success: function(response) {
1060
+ jQuery("#content3").unblock();
1061
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1062
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).attr("disabled", true);
1063
+ },
1064
+ error: function(response) {
1065
+ console.log(response);
1066
+ }
1067
+ });
1068
+ return false;
1069
+ });
1070
+
1071
  jQuery(document).on("click", ".tab_input", function(){
1072
  var tab = jQuery(this).data('tab');
1073
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1074
  window.history.pushState({path:url},'',url);
1075
  });
1076
+ jQuery(document).on("click", ".inner_tab_input", function(){
1077
+ var tab = jQuery(this).data('tab');
1078
+ var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1079
+ window.history.pushState({path:url},'',url);
1080
+ });
1081
 
1082
  jQuery(document).on("click", ".open_video_popup", function(){
1083
  jQuery('.how_to_video_popup').show();
1084
  });
1085
 
1086
+ jQuery(document).on("click", ".ts_addons_header", function(){
1087
+ jQuery('.ts_video_popup').show();
1088
+ });
1089
+ jQuery(document).on("click", ".tracking_item_addons_header", function(){
1090
+ jQuery('.tracking_item_video_popup').show();
1091
+ });
1092
+
1093
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
1094
  jQuery('#how_to_video').each(function(index) {
1095
  jQuery(this).attr('src', jQuery(this).attr('src'));
1096
  return false;
1097
  });
1098
+ });
1099
+ jQuery(document).on("click", ".ts_video_popup .popupclose", function(){
1100
+ jQuery('#ts_video').each(function(index) {
1101
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1102
+ return false;
1103
+ });
1104
+ });
1105
+ jQuery(document).on("click", ".tracking_item_video_popup .popupclose", function(){
1106
+ jQuery('#trackin_per_item_video').each(function(index) {
1107
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1108
+ return false;
1109
+ });
1110
+ });
1111
+ jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
1112
+ if(jQuery(this).prop("checked") == true){
1113
+ jQuery('.tracking_page_table').show();
1114
+ jQuery('#tracking_preview_iframe').height( '' );
1115
+ jQuery(this).closest('table').removeClass('disable_tracking_page');
1116
+ setTimeout(
1117
+ function()
1118
+ {
1119
+ var iframe = document.getElementById("tracking_preview_iframe");
1120
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1121
+ }, 1000);
1122
+ } else{
1123
+ jQuery('.tracking_page_table').hide();
1124
+ jQuery(this).closest('table').addClass('disable_tracking_page');
1125
+ }
1126
+ });
1127
+
1128
+ jQuery(document).on("change", ".select_t_layout_section .radio-img", function(){
1129
+ jQuery('#tracking_preview_iframe').height( '' );
1130
+ var val = jQuery(this).val();
1131
+ if(val == 't_layout_1'){
1132
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').show();
1133
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').hide();
1134
+ } else{
1135
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').hide();
1136
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').show();
1137
+ }
1138
+ var iframe = document.getElementById("tracking_preview_iframe");
1139
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1140
+ });
1141
+
1142
+ jQuery('#tracking_preview_iframe').load(function(){
1143
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1144
+ iframe.find(".view_old_details").click(function(){
1145
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').show();
1146
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeIn();
1147
+ jQuery('#tracking_preview_iframe').height( '' );
1148
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1149
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1150
+ });
1151
+ });
1152
+
1153
+ jQuery('#tracking_preview_iframe').load(function(){
1154
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1155
+ iframe.find(".hide_old_details").click(function(){
1156
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').show();
1157
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeOut();
1158
+ jQuery('#tracking_preview_iframe').height( '' );
1159
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1160
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1161
+ });
1162
+ });
1163
+
1164
+ jQuery(document).on("click", "#wc_ast_hide_tracking_provider_image", function(){
1165
+ if(jQuery(this).prop("checked") == true){
1166
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').hide();
1167
+ } else{
1168
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').show();
1169
+ }
1170
+ });
1171
+ jQuery(document).on("click", "#wc_ast_hide_tracking_events", function(){
1172
+ jQuery('#tracking_preview_iframe').height( '' );
1173
+ if(jQuery(this).prop("checked") == true){
1174
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').hide();
1175
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').hide();
1176
+ } else{
1177
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').show();
1178
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').show();
1179
+ }
1180
+ var iframe = document.getElementById("tracking_preview_iframe");
1181
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1182
+ });
1183
+ jQuery(document).on("click", "#wc_ast_remove_trackship_branding", function(){
1184
+ jQuery('#tracking_preview_iframe').height( '' );
1185
+ if(jQuery(this).prop("checked") == true){
1186
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').hide();
1187
+ } else{
1188
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').show();
1189
+ }
1190
+ var iframe = document.getElementById("tracking_preview_iframe");
1191
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1192
+ });
1193
+ jQuery(document).on("click", ".tracking_page_label", function(){
1194
+ setTimeout(
1195
+ function()
1196
+ {
1197
+ jQuery('#tracking_preview_iframe').height( '' );
1198
+ var iframe = document.getElementById("tracking_preview_iframe");
1199
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1200
+ }, 1000);
1201
+ });
1202
+ jQuery( document ).ready(function() {
1203
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1204
+ jQuery('.tracking_page_table').show();
1205
+ } else{
1206
+ jQuery('.tracking_page_table').hide();
1207
+ }
1208
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1209
+ jQuery('#wc_ast_use_tracking_page').closest('table').removeClass('disable_tracking_page');
1210
+ } else{
1211
+ jQuery('#wc_ast_use_tracking_page').closest('table').addClass('disable_tracking_page');
1212
+ }
1213
+ });
1214
+ jQuery(function(){
1215
+ jQuery('#tracking_preview_iframe').load(function(){
1216
+ var tab = getUrlParameter('tab');
1217
+ if(tab == 'tracking-page'){
1218
+ jQuery(this).show();
1219
+ var iframe = document.getElementById("tracking_preview_iframe");
1220
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1221
+ } else{
1222
+ jQuery(this).show();
1223
+ }
1224
+ });
1225
+ });
1226
+
1227
+ var getUrlParameter = function getUrlParameter(sParam) {
1228
+ var sPageURL = window.location.search.substring(1),
1229
+ sURLVariables = sPageURL.split('&'),
1230
+ sParameterName,
1231
+ i;
1232
+
1233
+ for (i = 0; i < sURLVariables.length; i++) {
1234
+ sParameterName = sURLVariables[i].split('=');
1235
+
1236
+ if (sParameterName[0] === sParam) {
1237
+ return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
1238
+ }
1239
+ }
1240
+ };
1241
+
assets/js/welcome.js ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ jQuery(document).on("click", ".ast-save-setup-settings", function(){
2
+ jQuery(".ast-onboarding-step-welcome").hide();
3
+ jQuery(".ast-onboarding-step-shipping").show();
4
+ jQuery(".ast-onboarding-step-delivered").hide();
5
+ jQuery(".ast-onboarding-step-trackship").hide();
6
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
7
+ jQuery(".step-welcome").addClass('ast-onboarding-wizard-step-completed');
8
+ jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-active');
9
+
10
+ var $wc_ast_settings_form = jQuery('#wc_ast_settings_form');
11
+ var ajax_data = $wc_ast_settings_form.serialize();
12
+
13
+ jQuery.post( ajaxurl, ajax_data, function(response) {
14
+ });
15
+ });
16
+
17
+ jQuery(document).on("click", ".ast-save-setup-providers", function(){
18
+ jQuery(".ast-onboarding-step-welcome").hide();
19
+ jQuery(".ast-onboarding-step-shipping").hide();
20
+ jQuery(".ast-onboarding-step-delivered").show();
21
+ jQuery(".ast-onboarding-step-trackship").hide();
22
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
23
+ jQuery(".step-shipping").addClass('ast-onboarding-wizard-step-completed');
24
+ jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-active');
25
+ });
26
+
27
+ jQuery(document).on("click", ".ast-save-setup-delivered", function(){
28
+ jQuery(".ast-onboarding-step-welcome").hide();
29
+ jQuery(".ast-onboarding-step-shipping").hide();
30
+ jQuery(".ast-onboarding-step-delivered").hide();
31
+ jQuery(".ast-onboarding-step-trackship").show();
32
+ jQuery(".ast-onboarding-wizard-step").removeClass('ast-onboarding-wizard-step-active');
33
+ jQuery(".step-delivered").addClass('ast-onboarding-wizard-step-completed');
34
+ jQuery(".step-trackship").addClass('ast-onboarding-wizard-step-active');
35
+
36
+ var $wc_ast_settings_form = jQuery('#wc_ast_delivered_settings_form');
37
+ var ajax_data = $wc_ast_settings_form.serialize();
38
+
39
+ jQuery.post( ajaxurl, ajax_data, function(response) {
40
+ });
41
+ });
assets/shipment-provider-img/apc-overnight.png ADDED
Binary file
assets/shipment-provider-img/bpost.png ADDED
Binary file
assets/shipment-provider-img/brt.png ADDED
Binary file
assets/shipment-provider-img/cj-logistics.png ADDED
Binary file
assets/shipment-provider-img/cj-packet.png ADDED
Binary file
assets/shipment-provider-img/cjpacket.png ADDED
Binary file
assets/shipment-provider-img/collectplus.png ADDED
Binary file
assets/shipment-provider-img/correos-espana.png ADDED
Binary file
assets/shipment-provider-img/dpd-fr.png ADDED
Binary file
assets/shipment-provider-img/ekart.png ADDED
Binary file
assets/shipment-provider-img/ethiopia-post.png ADDED
Binary file
assets/shipment-provider-img/gls-spain.png ADDED
Binary file
assets/shipment-provider-img/jcex.png ADDED
Binary file
assets/shipment-provider-img/kerry-express.png ADDED
Binary file
assets/shipment-provider-img/landmark-global.png ADDED
Binary file
assets/shipment-provider-img/lion-parcel.png ADDED
Binary file
assets/shipment-provider-img/lithuania-post.png ADDED
Binary file
assets/shipment-provider-img/loomis-express.png ADDED
Binary file
assets/shipment-provider-img/magyar-posta.png ADDED
Binary file
assets/shipment-provider-img/ontime.png ADDED
Binary file
assets/shipment-provider-img/poste-italiane.png ADDED
Binary file
assets/shipment-provider-img/redpack.png ADDED
Binary file
assets/shipment-provider-img/russian-post.png ADDED
Binary file
assets/shipment-provider-img/sagawa.png ADDED
Binary file
assets/shipment-provider-img/saudi-post.png ADDED
Binary file
assets/shipment-provider-img/serbia-post.png ADDED
Binary file
assets/shipment-provider-img/shadowfax.png ADDED
Binary file
assets/shipment-provider-img/spee-dee.png ADDED
Binary file
assets/shipment-provider-img/thailand-post.png ADDED
Binary file
assets/shipment-provider-img/toll-ipec.png ADDED
Binary file
assets/shipment-provider-img/toll.png ADDED
Binary file
assets/shipment-provider-img/trackon.png ADDED
Binary file
assets/shipment-provider-img/yodel.png ADDED
Binary file
assets/tracking.csv CHANGED
@@ -2,9 +2,3 @@ order_id,tracking_provider,tracking_number,date_shipped,status_shipped
2
  1,UPS,number123,12-03-2019,1
3
  2,USPS,dfsdf23123,12-03-2019,1
4
  3,DHL,dfsdf45swd,12-03-2019,0
5
- ,,,,
6
- ,,,,
7
- ,,,,
8
- ,,,,
9
- ,,,,
10
- ,,,,
2
  1,UPS,number123,12-03-2019,1
3
  2,USPS,dfsdf23123,12-03-2019,1
4
  3,DHL,dfsdf45swd,12-03-2019,0
 
 
 
 
 
 
includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php CHANGED
@@ -82,7 +82,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
82
  'schema' => array( $this, 'get_public_item_schema' ),
83
  ) );
84
 
85
- register_rest_route( $this->namespace, '/update_user_key', array(
86
  array(
87
  'methods' => WP_REST_Server::CREATABLE,
88
  'callback' => array( $this, 'update_user_key' ),
@@ -94,7 +94,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
94
  ) ),
95
  ),
96
  'schema' => array( $this, 'get_public_item_schema' ),
97
- ) );
98
 
99
  //disconnect_from_trackship
100
  register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
@@ -132,6 +132,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
132
  ) );
133
 
134
  //check_wcast_installed_from_third_party_tool
 
135
  register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
136
  array(
137
  'methods' => 'GET',
@@ -153,12 +154,12 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
153
  return rest_ensure_response( $data );
154
  }
155
 
156
- /*
157
  * check_wcast_installed
158
  */
159
  public function check_wcast_installed( $request ){
160
  $wc_ast_api_key = get_option('wc_ast_api_key');
161
- $wc_ast_api_enabled = get_option('wc_ast_api_enabled');
162
  if(empty($wc_ast_api_key)){
163
  update_option('wc_ast_api_key',$request['user_key']);
164
  }
@@ -166,6 +167,13 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
166
  update_option('wc_ast_api_enabled',1);
167
  }
168
 
 
 
 
 
 
 
 
169
  $data = array(
170
  'status' => 'installed'
171
  );
@@ -199,10 +207,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
199
 
200
  if( is_string($shipment_status) )$shipment_status = array();
201
 
202
- $st->trigger_tracking_email( $order_id, $shipment_status[$key]['status'], $tracking_event_status );
203
- //$logger->error( "order_id \n\n".$order_id."\n\n", $context );
204
- //$logger->error( "old_status \n\n".$shipment_status[$key]['status']."\n\n", $context );
205
- //$logger->error( "new_status \n\n".$tracking_event_status."\n\n", $context );
206
  $shipment_status[$key]['status'] = $tracking_event_status;
207
  $shipment_status[$key]['status_date'] = $tracking_event_date;
208
  if($tracking_est_delivery_date){
@@ -301,26 +306,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
301
  public function update_user_key($request){
302
  $add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
303
  $wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
304
- $trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
305
-
306
- $new_page_title = 'Shipment Tracking';
307
- $new_page_slug = 'ts-shipment-tracking';
308
- $new_page_content = '[wcast-track-order]';
309
- //don't change the code below, unless you know what you're doing
310
- $page_check = get_page_by_title($new_page_title);
311
- //echo $page_check;exit;
312
- $new_page = array(
313
- 'post_type' => 'page',
314
- 'post_title' => $new_page_title,
315
- 'post_name' => $new_page_slug,
316
- 'post_content' => $new_page_content,
317
- 'post_status' => 'publish',
318
- 'post_author' => 1,
319
- );
320
- if(!isset($page_check->ID)){
321
- $new_page_id = wp_insert_post($new_page);
322
- update_option( 'wc_ast_trackship_page_id', $new_page_id );
323
- }
324
  }
325
 
326
  /*
@@ -379,7 +365,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
379
  */
380
  public function create_item( $request ) {
381
  if ( ! empty( $request['tracking_id'] ) ) {
382
- return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woocommerce-shipment-tracking' ), array( 'status' => 400 ) );
383
  }
384
 
385
  $order_id = (int) $request['order_id'];
@@ -388,11 +374,23 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
388
  $order_id = $wast->get_formated_order_id($order_id);
389
 
390
  if ( ! $this->is_valid_order_id( $order_id ) ) {
391
- return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woocommerce-shipment-tracking' ), array( 'status' => 404 ) );
392
  }
393
-
 
 
 
 
 
 
 
 
 
 
 
 
394
  $args = array(
395
- 'tracking_provider' => wc_clean( sanitize_title( $request['tracking_provider'] ) ),
396
  'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
397
  'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
398
  'tracking_number' => wc_clean( $request['tracking_number'] ),
82
  'schema' => array( $this, 'get_public_item_schema' ),
83
  ) );
84
 
85
+ /*register_rest_route( $this->namespace, '/update_user_key', array(
86
  array(
87
  'methods' => WP_REST_Server::CREATABLE,
88
  'callback' => array( $this, 'update_user_key' ),
94
  ) ),
95
  ),
96
  'schema' => array( $this, 'get_public_item_schema' ),
97
+ ) );*/
98
 
99
  //disconnect_from_trackship
100
  register_rest_route( $this->namespace, '/disconnect_from_trackship', array(
132
  ) );
133
 
134
  //check_wcast_installed_from_third_party_tool
135
+ // this is use for sendle
136
  register_rest_route( $this->namespace, '/check_wcast_installed_from_third_party_tool', array(
137
  array(
138
  'methods' => 'GET',
154
  return rest_ensure_response( $data );
155
  }
156
 
157
+ /*
158
  * check_wcast_installed
159
  */
160
  public function check_wcast_installed( $request ){
161
  $wc_ast_api_key = get_option('wc_ast_api_key');
162
+ $wc_ast_api_enabled = get_option('wc_ast_api_enabled');
163
  if(empty($wc_ast_api_key)){
164
  update_option('wc_ast_api_key',$request['user_key']);
165
  }
167
  update_option('wc_ast_api_enabled',1);
168
  }
169
 
170
+ if($request['trackers_balance']){
171
+ update_option( 'trackers_balance', $request['trackers_balance'] );
172
+ }
173
+
174
+ $ast_install = new WC_Advanced_Shipment_Tracking_Install;
175
+ $ast_install->create_tracking_page();
176
+
177
  $data = array(
178
  'status' => 'installed'
179
  );
207
 
208
  if( is_string($shipment_status) )$shipment_status = array();
209
 
210
+ $st->trigger_tracking_email( $order_id, $shipment_status[$key]['status'], $tracking_event_status );
 
 
 
211
  $shipment_status[$key]['status'] = $tracking_event_status;
212
  $shipment_status[$key]['status_date'] = $tracking_event_date;
213
  if($tracking_est_delivery_date){
306
  public function update_user_key($request){
307
  $add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
308
  $wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
309
+ $trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
310
  }
311
 
312
  /*
365
  */
366
  public function create_item( $request ) {
367
  if ( ! empty( $request['tracking_id'] ) ) {
368
+ return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woo-advanced-shipment-tracking' ), array( 'status' => 400 ) );
369
  }
370
 
371
  $order_id = (int) $request['order_id'];
374
  $order_id = $wast->get_formated_order_id($order_id);
375
 
376
  if ( ! $this->is_valid_order_id( $order_id ) ) {
377
+ return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
378
  }
379
+
380
+ if(preg_match('/[^a-z0-9- \b]+/i', $request['tracking_number'])){
381
+ return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Special character not allowd in tracking number', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
382
+ }
383
+
384
+ global $wpdb;
385
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
386
+ $tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $ast_admin->table WHERE provider_name = '".$request['tracking_provider']."'" );
387
+
388
+ if(!$tracking_provider){
389
+ $tracking_provider = sanitize_title( $request['tracking_provider'] );
390
+ }
391
+
392
  $args = array(
393
+ 'tracking_provider' => wc_clean( $tracking_provider ),
394
  'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
395
  'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
396
  'tracking_number' => wc_clean( $request['tracking_number'] ),
includes/class-wc-advanced-shipment-tracking-admin.php CHANGED
@@ -5,11 +5,21 @@ if ( ! defined( 'ABSPATH' ) ) {
5
 
6
  class WC_Advanced_Shipment_Tracking_Admin {
7
 
 
 
 
 
 
 
8
  /**
9
  * Initialize the main plugin function
10
  */
11
  public function __construct() {
12
-
 
 
 
 
13
  global $wpdb;
14
  if( is_multisite() ){
15
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
@@ -55,44 +65,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
55
 
56
  //database check
57
  add_action( 'init', array( $this, 'database_table_check') );
58
-
59
- //rename order status + rename bulk action + rename filter
60
- add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
61
- add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
62
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
63
-
64
- //new order status
65
- $newstatus = get_option( "wc_ast_status_delivered", 0);
66
- if( $newstatus == true ){
67
- //register order status
68
- add_action( 'init', array( $this, 'register_order_status') );
69
- //add status after completed
70
- add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
71
- //Custom Statuses in admin reports
72
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
73
- // for automate woo to check order is paid
74
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
75
- //add bulk action
76
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
77
- }
78
-
79
  //cron_schedules
80
- add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
81
- //cron hook
82
- //add_action( WC_Advanced_Shipment_Tracking_Cron::CRON_HOOK, array( $this, 'wc_ast_cron_callback' ) );
83
-
84
- //filter in shipped orders
85
- add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
86
- add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
87
-
88
- $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
89
- if($wc_ast_status_delivered == 1){
90
- add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
91
- add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
92
- }
93
 
94
- //batch process cron hook
95
- //add_action( 'wc_ast_batch_process', array( $this, 'wc_ast_batch_process_callback' ) );
 
 
 
96
 
97
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
98
  if( $api_enabled == true ){
@@ -113,6 +94,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
113
  // Bulk shipment status sync for empty balance ajax call from settings
114
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
115
 
 
 
 
116
  // The results notice from bulk action on orders
117
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
118
 
@@ -122,9 +106,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
122
 
123
  // add bulk order filter for exported / non-exported orders
124
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
125
- add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
126
 
127
- add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets') );
 
128
  }
129
 
130
  // trigger when order status changed to shipped or completed
@@ -141,7 +126,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
141
 
142
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
143
 
144
- add_action( 'admin_footer', array( $this, 'footer_function') );
145
 
146
  // filter for shipment status
147
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
@@ -173,12 +158,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
173
 
174
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
175
 
176
- add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
177
 
178
- add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun') );
179
-
180
- // Hook for add admin body class in settings page
181
- add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
182
  }
183
 
184
  /*
@@ -199,143 +183,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
199
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
200
  }
201
  maybe_create_table( $table_name, $sql );
202
- }
203
-
204
- /*
205
- * Add class in admin settings page
206
- */
207
- public function ahipment_tracking_admin_body_class($classes){
208
- if( $_GET['page'] == 'woocommerce-advanced-shipment-tracking') {
209
- $classes .= 'shipment_tracking_admin_settings';
210
- }
211
- return $classes;
212
- }
213
-
214
- /*
215
- * Rename WooCommerce Order Status
216
- */
217
- function wc_renaming_order_status( $order_statuses ) {
218
-
219
- $enable = get_option( "wc_ast_status_shipped", 0);
220
- if( $enable == false )return $order_statuses;
221
-
222
- foreach ( $order_statuses as $key => $status ) {
223
- $new_order_statuses[ $key ] = $status;
224
- if ( 'wc-completed' === $key ) {
225
- $order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
226
- }
227
- }
228
- return $order_statuses;
229
- }
230
-
231
- /*
232
- * define the woocommerce_register_shop_order_post_statuses callback
233
- * rename filter
234
- * rename from completed to shipped
235
- */
236
- function filter_woocommerce_register_shop_order_post_statuses( $array ) {
237
-
238
- $enable = get_option( "wc_ast_status_shipped", 0);
239
- if( $enable == false )return $array;
240
-
241
- if( isset( $array[ 'wc-completed' ] ) ){
242
- $array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
243
- }
244
- return $array;
245
- }
246
-
247
- /*
248
- * rename bulk action
249
- */
250
- function modify_bulk_actions($bulk_actions) {
251
-
252
- $enable = get_option( "wc_ast_status_shipped", 0);
253
- if( $enable == false )return $bulk_actions;
254
-
255
- if( isset( $bulk_actions['mark_completed'] ) ){
256
- $bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
257
- }
258
- return $bulk_actions;
259
- }
260
-
261
- /**
262
- * Register new status : Delivered
263
- **/
264
- function register_order_status() {
265
- register_post_status( 'wc-delivered', array(
266
- 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
267
- 'public' => true,
268
- 'show_in_admin_status_list' => true,
269
- 'show_in_admin_all_list' => true,
270
- 'exclude_from_search' => false,
271
- 'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
272
- ) );
273
- $wc_ast_api_key = get_option('wc_ast_api_key');
274
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
275
- if($wc_ast_api_key && $api_enabled){
276
- register_post_status( 'wc-updated-tracking', array(
277
- 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
278
- 'public' => true,
279
- 'show_in_admin_status_list' => true,
280
- 'show_in_admin_all_list' => true,
281
- 'exclude_from_search' => false,
282
- 'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
283
- ) );
284
- }
285
- }
286
-
287
- /*
288
- * add status after completed
289
- */
290
- function add_delivered_to_order_statuses( $order_statuses ) {
291
- $new_order_statuses = array();
292
- foreach ( $order_statuses as $key => $status ) {
293
- $new_order_statuses[ $key ] = $status;
294
- if ( 'wc-completed' === $key ) {
295
- $new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
296
- //$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
297
- }
298
- }
299
- $wc_ast_api_key = get_option('wc_ast_api_key');
300
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
301
- if($wc_ast_api_key && $api_enabled){
302
- foreach ( $order_statuses as $key => $status ) {
303
- $new_order_statuses[ $key ] = $status;
304
- if ( 'wc-completed' === $key ) {
305
- //$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
306
- $new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
307
- }
308
- }
309
- }
310
- return $new_order_statuses;
311
- }
312
-
313
- /*
314
- * Adding the custom order status to the default woocommerce order statuses
315
- */
316
- function include_custom_order_status_to_reports( $statuses ){
317
- if($statuses)$statuses[] = 'delivered';
318
- if($statuses)$statuses[] = 'updated-tracking';
319
- return $statuses;
320
- }
321
-
322
- /*
323
- * mark status as a paid.
324
- */
325
- function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
326
- $statuses[] = 'delivered';
327
- $statuses[] = 'updated-tracking';
328
- return $statuses;
329
- }
330
-
331
- /*
332
- * add bulk action
333
- * Change order status to delivered
334
- */
335
- function add_bulk_actions( $bulk_actions ){
336
- $bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
337
- return $bulk_actions;
338
- }
339
 
340
  /*
341
  * add_cron_interval
@@ -390,61 +239,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
390
  }
391
  //$orders = wc_get_orders( $args );print_r($orders);exit;
392
  return $orders = wc_get_orders( $args );
393
- }
394
-
395
- /*
396
- * cron callback
397
- */
398
- function wc_ast_cron_callback(){
399
-
400
- //get shipped orders
401
- $orders = $this->get_shipped_orders();
402
-
403
- foreach( $orders as $order ){
404
- $order_shipped = apply_filters( 'is_order_shipped', true, $order );
405
-
406
- if( $order_shipped ){
407
- $this->add_in_batch_process( $order->get_id() );
408
- }
409
- }
410
-
411
- if ( ! wp_next_scheduled( 'wc_ast_batch_process' ) ) {
412
- wp_schedule_event( time(), 'wc_ast_2min', 'wc_ast_batch_process' );
413
- }
414
- }
415
-
416
- /*
417
- * tracking number filter
418
- * if number not found. return false
419
- * if number found. return true
420
- */
421
- function check_tracking_exist( $value, $order ){
422
-
423
- if($value == true){
424
-
425
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
426
- if( $tracking_items ){
427
- return true;
428
- } else {
429
- return false;
430
- }
431
- }
432
- return $value;
433
- }
434
-
435
- /*
436
- * If order status is "Updated Tracking" or "Completed" than retrn true else return false
437
- */
438
- function check_order_status($value, $order){
439
- $order_status = $order->get_status();
440
-
441
- if($order_status == 'updated-tracking' || $order_status == 'completed'){
442
- return true;
443
- } else {
444
- return false;
445
- }
446
- return $value;
447
- }
448
 
449
  /*
450
  * add in batch process
@@ -466,30 +261,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
466
  global $wpdb;
467
  $table_name = $wpdb->prefix.'shipment_batch_process';
468
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
469
- }
470
-
471
- /*
472
- * batch process cron func
473
- * this will run when data in table "shipment_batch_process"
474
- * if no data cron clear
475
- */
476
- function wc_ast_batch_process_callback(){
477
- error_reporting(E_ALL); ini_set('display_errors', 1);
478
- global $wpdb;
479
- $table_name = $wpdb->prefix.'shipment_batch_process';
480
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 30", ARRAY_A );
481
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 2", ARRAY_A );
482
-
483
- foreach( (array)$result as $row ){
484
- $order_id = $row['order_id'];
485
- $array = $this->shipment_api_call( $order_id );
486
- $this->remove_from_batch_process( $row['id'] );
487
- }
488
-
489
- if( count($result) == 0 ){
490
- wp_clear_scheduled_hook( 'wc_ast_batch_process' );
491
- }
492
- }
493
 
494
  /*
495
  * shipment api call
@@ -531,15 +303,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
531
 
532
  foreach ( $columns as $column_name => $column_info ) {
533
 
534
- $new_columns[ $column_name ] = $column_info;
535
-
536
- /*if ( 'order_status' === $column_name ) {
537
- $new_columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
538
- $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
539
- }*/
540
 
541
- if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
542
- //$new_columns['shipment_status_old'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
543
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
544
  }
545
  }
@@ -579,9 +345,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
579
 
580
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
581
  $tracking_items = $ast->get_tracking_items( $post->ID );
582
- $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
583
- //echo '<pre>';print_r($shipment_status);echo '</pre>';
584
-
 
 
 
 
585
  if ( count( $tracking_items ) > 0 ) {
586
  ?>
587
  <ul class="wcast-shipment-status-list">
@@ -593,11 +363,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
593
  $status = $shipment_status[$key]['status'];
594
  $status_date = $shipment_status[$key]['status_date'];
595
  if(isset($shipment_status[$key]['est_delivery_date'])){
596
- $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
597
  }
598
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
599
  $has_est_delivery = true;
600
- }
601
  ?>
602
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
603
  <div class="wcast-shipment-status-icon">
@@ -605,10 +375,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
605
  </div>
606
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
607
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
608
- <span class="showif_has_est_delivery_1 ft11">(<?php echo date( "d/m", strtotime($status_date))?>)</span>
609
- <span class="showif_has_est_delivery_0 ft11">on <?php echo date( "d/m", strtotime($status_date))?></span>
610
  <?php if( $has_est_delivery){?>
611
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
612
  <?php } ?>
613
  </div>
614
  </li>
@@ -648,6 +418,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
648
 
649
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
650
 
 
 
651
  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);
652
 
653
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
@@ -682,6 +454,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
682
 
683
  wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
684
 
 
 
685
  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 );
686
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
687
  'i18n' => array(
@@ -701,7 +475,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
701
  * WC sub menu
702
  */
703
  public function register_woocommerce_menu() {
704
- add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_options', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
705
  }
706
 
707
  /*
@@ -762,9 +536,12 @@ class WC_Advanced_Shipment_Tracking_Admin {
762
  <input id="tab4" type="radio" name="tabs" class="tab_input" data-tab="bulk-upload" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
763
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
764
 
765
- <input id="tab3" type="radio" name="tabs" class="tab_input" data-tab="trackship" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications')){ echo 'checked'; } ?>>
766
  <label for="tab3" class="tab_label">TrackShip</label>
767
 
 
 
 
768
  <div class="nav_doc_section">
769
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
770
  <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
@@ -774,6 +551,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
774
  <?php require_once( 'views/admin_options_settings.php' );?>
775
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
776
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
 
 
777
  </div>
778
  </div>
779
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
@@ -786,8 +565,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
786
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
787
  </div>
788
  </div>
789
- <div class="popupclose"></div>
790
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  <?php
792
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
793
  <script>
@@ -799,7 +595,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
799
  /*
800
  * get html of fields
801
  */
802
- private function get_html( $arrays ){
803
 
804
  $checked = '';
805
  ?>
@@ -828,12 +624,22 @@ class WC_Advanced_Shipment_Tracking_Admin {
828
  <?php if( $array['type'] == 'checkbox' ){
829
  if($id === 'wcast_enable_delivered_email'){
830
  $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
831
- if($wcast_enable_delivered_email['enabled'] === 'yes'){
 
 
832
  $checked = 'checked';
833
  } else{
834
- $checked = '';
 
 
 
 
 
 
 
 
835
  }
836
- } else{
837
  if(get_option($id)){
838
  $checked = 'checked';
839
  } else{
@@ -858,56 +664,49 @@ class WC_Advanced_Shipment_Tracking_Admin {
858
  <?php
859
  $op = 1;
860
  foreach((array)$array['options'] as $key => $val ){
861
- if($val['type'] == 'default'){
862
  $multi_checkbox_data = get_option($id);
863
- if(!$multi_checkbox_data){
864
- $multi_checkbox_data = array();
865
- $multi_checkbox_data['show_in_completed'] = 1;
866
- $data_array = array('show_in_completed' => 1);
867
- update_option( 'wc_ast_unclude_tracking_info', $data_array );
868
- }
869
- if(isset($multi_checkbox_data[$key])){
870
  $checked="checked";
871
  } else{
872
  $checked="";
873
  }?>
874
- <span class="mdl-list__item-secondary-action multiple_checkbox">
875
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
876
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
 
877
  <span class="multiple_label"><?php echo $val['status']; ?></span>
878
  </br>
879
  </label>
880
  </span>
881
- <?php }
 
 
882
  if($val['type'] == 'custom'){
883
- $multi_checkbox_data = get_option($id);
884
- if(!$multi_checkbox_data){
885
- $multi_checkbox_data = array();
886
- $multi_checkbox_data['show_in_completed'] = 1;
887
- $data_array = array('show_in_completed' => 1);
888
- update_option( 'wc_ast_unclude_tracking_info', $data_array );
889
- }
890
- if(isset($multi_checkbox_data[$key])){
891
  $checked="checked";
892
  } else{
893
  $checked="";
894
  }
895
  if($op == 1){ ?>
896
- <div style="margin: 10px 0 15px;">
897
  <strong style="font-weight: 700;padding-bottom: 3px;">
898
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
899
  </strong>
900
  </div>
901
  <?php } ?>
902
- <span class="mdl-list__item-secondary-action multiple_checkbox">
903
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
904
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
 
905
  <span class="multiple_label"><?php echo $val['status']; ?></span>
906
  </br>
907
  </label>
908
  </span>
909
  <?php $op++; }
910
- } ?>
 
911
 
912
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
913
  <?php
@@ -937,8 +736,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
937
  <?php } elseif( $array['type'] == 'title' ){?>
938
  <?php }
939
  elseif( $array['type'] == 'key_field' ){ ?>
940
- <fieldset>
941
- <!--input class="input-text regular-input " type="text" name="<?php echo $id?>" id="<?php echo $id?>" style="" value="<?php echo get_option($id)?>" placeholder="" readonly-->
942
  <?php if($array['connected'] == true){ ?>
943
  <a href="https://my.trackship.info/" target="_blank">
944
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
@@ -1036,6 +834,31 @@ class WC_Advanced_Shipment_Tracking_Admin {
1036
  } else{
1037
  $disable_bulk_sync_zero_balance = true;
1038
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1039
 
1040
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1041
 
@@ -1064,6 +887,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
1064
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
1065
  'class' => '',
1066
  ),
 
 
 
 
 
 
 
 
 
1067
  );
1068
  return $form_data;
1069
  }
@@ -1153,6 +985,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
1153
  'show' => $show_trackship_field,
1154
  'class' => '',
1155
  ),
 
 
 
 
 
 
 
 
 
 
 
1156
  'wc_ast_select_primary_color' => array(
1157
  'type' => 'color',
1158
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
@@ -1164,7 +1007,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
1164
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1165
  'class' => 'color_field',
1166
  'show' => $show_trackship_field,
1167
- ),
 
 
 
 
 
 
1168
  'wc_ast_hide_tracking_events' => array(
1169
  'type' => 'checkbox',
1170
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
@@ -1181,6 +1030,23 @@ class WC_Advanced_Shipment_Tracking_Admin {
1181
  return $form_data;
1182
 
1183
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1184
 
1185
  /*
1186
  * settings form save
@@ -1203,6 +1069,132 @@ class WC_Advanced_Shipment_Tracking_Admin {
1203
  }
1204
  }
1205
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1206
  /*
1207
  * trigger when order status changed to shipped or completed or update tracking
1208
  * param $order_id
@@ -1248,6 +1240,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1248
  'wc-on-hold' => 'On hold',
1249
  'wc-completed' => 'Completed',
1250
  'wc-delivered' => 'Delivered',
 
1251
  'wc-cancelled' => 'Cancelled',
1252
  'wc-refunded' => 'Refunded',
1253
  'wc-failed' => 'Failed'
@@ -1376,6 +1369,90 @@ class WC_Advanced_Shipment_Tracking_Admin {
1376
  );
1377
  return $form_data;
1378
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1379
  }
1380
 
1381
  /*
@@ -1383,31 +1460,98 @@ class WC_Advanced_Shipment_Tracking_Admin {
1383
  */
1384
  function wc_ast_settings_form_update_callback(){
1385
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1386
-
1387
  $data = $this->get_settings_data();
1388
 
1389
- foreach( $data as $key => $val ){
1390
- update_option( $key, $_POST[ $key ] );
 
 
1391
  }
1392
 
1393
  $data = $this->get_delivered_data();
1394
 
1395
  foreach( $data as $key => $val ){
1396
- if($key == 'wcast_enable_delivered_email'){
1397
- $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
1398
- if($_POST['wcast_enable_delivered_email'] == 1){
1399
- $enabled = 'yes';
1400
- } else{
1401
- $enabled = 'no';
1402
- }
1403
- $opt = array(
1404
- 'enabled' => $enabled,
1405
- 'subject' => $wcast_enable_delivered_email['subject'],
1406
- 'heading' => $wcast_enable_delivered_email['heading'],
1407
- );
1408
- update_option( 'woocommerce_customer_delivered_order_settings', $opt );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1409
  }
1410
- update_option( $key, $_POST[ $key ] );
1411
  }
1412
 
1413
  echo json_encode( array('success' => 'true') );die();
@@ -1419,16 +1563,32 @@ class WC_Advanced_Shipment_Tracking_Admin {
1419
  * change style of delivered order label
1420
  */
1421
  function footer_function(){
1422
- $bg_color = get_option('wc_ast_status_label_color');
1423
- $color = get_option('wc_ast_status_label_font_color','#fff');
1424
- ?>
1425
- <style>
1426
- .order-status.status-delivered{
1427
- background: <?php echo $bg_color; ?>;
 
 
 
 
 
 
 
1428
  color: <?php echo $color; ?>;
 
 
 
 
 
 
 
 
 
 
 
1429
  }
1430
- </style>
1431
- <?php
1432
  }
1433
 
1434
  /*
@@ -1454,13 +1614,14 @@ class WC_Advanced_Shipment_Tracking_Admin {
1454
  $woo_shippment_table_name = $this->table;
1455
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1456
 
 
1457
  if($shippment_provider == 0){
1458
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1459
  }
1460
  if(empty($tracking_number)){
1461
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1462
  }
1463
- if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
1464
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1465
  }
1466
  if(empty($date_shipped)){
@@ -1479,20 +1640,27 @@ class WC_Advanced_Shipment_Tracking_Admin {
1479
  if ( count( $tracking_items ) > 0 ) {
1480
  foreach ( $tracking_items as $key => $item ) {
1481
  $tracking_number = $item['tracking_number'];
1482
- if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
 
1483
 
1484
  } else{
1485
- unset( $tracking_items[ $key ] );
1486
- }
1487
  }
1488
  $wast->save_tracking_items( $order_id, $tracking_items );
1489
  }
1490
  }
1491
  }
1492
  if($tracking_provider && $tracking_number && $date_shipped){
1493
-
 
 
 
 
 
 
1494
  $args = array(
1495
- 'tracking_provider' => wc_clean( sanitize_title($_POST['tracking_provider']) ),
1496
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1497
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1498
  'status_shipped' => wc_clean( $_POST['status_shipped'] ),
@@ -1588,9 +1756,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1588
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
1589
  $tracking_items = $ast->get_tracking_items( $order_id, true );
1590
  if($tracking_items){
1591
- $shipment_status = get_post_meta( $order_id, "shipment_status", true);
1592
- //echo '<pre>';print_r($shipment_status);echo '</pre>';
1593
- //echo '<pre>';print_r($tracking_items);echo '</pre>';exit;
1594
  foreach ( $tracking_items as $key => $tracking_item ) {
1595
  if( !isset($shipment_status[$key]) ){
1596
  wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
@@ -1632,6 +1798,36 @@ class WC_Advanced_Shipment_Tracking_Admin {
1632
  echo $url;die();
1633
  }
1634
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1635
  /**
1636
  * Add 'get_shipment_status' link to order actions select box on edit order page
1637
  *
@@ -1662,8 +1858,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
1662
  $count = intval( $_REQUEST['processed_count'] );
1663
 
1664
  printf( '<div id="message" class="updated fade"><p>' .
1665
- _n( 'Tracking info sent to Trackship for %s Order.',
1666
- 'Tracking info sent to Trackship for %s Orders.',
1667
  $count,
1668
  'get_shipment_status'
1669
  ) . '</p></div>', $count );
@@ -1780,26 +1976,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
1780
  $this->trigger_woocommerce_order_status_completed( $order_id );
1781
  }
1782
 
1783
- /*
1784
- * define the item in the meta box by adding an item to the $actions array
1785
- */
1786
- function add_order_meta_box_actions( $actions ) {
1787
- $actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
1788
- return $actions;
1789
- }
1790
-
1791
- /*
1792
- * function call when resend delivered order email notification trigger
1793
- */
1794
- function process_order_meta_box_actions($order){
1795
- require_once( 'email-manager.php' );
1796
- $old_status = 'in_transit';
1797
- $new_status = 'delivered';
1798
- $order_id = $order->get_id();
1799
- //wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1800
- WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
1801
- }
1802
-
1803
  /*
1804
  * update preview order id in customizer
1805
  */
@@ -2006,10 +2182,19 @@ class WC_Advanced_Shipment_Tracking_Admin {
2006
  </div>
2007
  </div>
2008
  <?php } } else{
2009
- $status = 'active';
2010
  ?>
2011
- <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $status); ?></h3>
2012
- <?php } ?>
 
 
 
 
 
 
 
 
 
2013
  </div>
2014
  <?php
2015
  }
@@ -2041,6 +2226,35 @@ class WC_Advanced_Shipment_Tracking_Admin {
2041
  exit;
2042
  }
2043
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2044
  /**
2045
  * Add custom shipping provider function
2046
  */
@@ -2049,20 +2263,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
2049
  global $wpdb;
2050
 
2051
  $woo_shippment_table_name = $this->table;
2052
-
 
 
 
 
2053
  $data_array = array(
2054
  'shipping_country' => sanitize_text_field($_POST['shipping_country']),
2055
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2056
- 'ts_slug' => sanitize_title($_POST['shipping_provider']),
2057
  'provider_url' => sanitize_text_field($_POST['tracking_url']),
2058
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2059
  'display_in_order' => 1,
2060
  'shipping_default' => 0,
2061
  );
 
2062
  $result = $wpdb->insert( $woo_shippment_table_name, $data_array );
2063
 
2064
  $status = 'custom';
2065
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
2066
  $html = $this->get_provider_html($default_shippment_providers,$status);
2067
  echo $html;exit;
2068
  }
@@ -2158,168 +2377,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
2158
  exit;
2159
  }
2160
 
2161
- /**
2162
- * Synch provider function
2163
- */
2164
- public function sync_providers_fun(){
2165
- global $wpdb;
2166
-
2167
- $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
2168
- $resp = wp_remote_get( $url );
2169
- $providers = json_decode($resp['body'],true);
2170
-
2171
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
2172
-
2173
- foreach ( $default_shippment_providers as $key => $val ){
2174
- $shippment_providers[ $val->provider_name ] = $val;
2175
- }
2176
-
2177
- foreach ( $providers as $key => $val ){
2178
- $providers_name[ $val['provider_name'] ] = $val;
2179
- }
2180
-
2181
- $added = 0;
2182
- $updated = 0;
2183
- $deleted = 0;
2184
- $added_html = '';
2185
- $updated_html = '';
2186
- $deleted_html = '';
2187
-
2188
- foreach($providers as $provider){
2189
-
2190
- $provider_name = $provider['shipping_provider'];
2191
- $provider_url = $provider['provider_url'];
2192
- $shipping_country = $provider['shipping_country'];
2193
- $ts_slug = $provider['shipping_provider_slug'];
2194
-
2195
- if($shippment_providers[$provider_name]){
2196
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
2197
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
2198
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
2199
- if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
2200
- $data_array = array(
2201
- 'ts_slug' => $ts_slug,
2202
- 'provider_url' => $provider_url,
2203
- 'shipping_country' => $shipping_country,
2204
- );
2205
- $where_array = array(
2206
- 'provider_name' => $provider_name,
2207
- );
2208
- $wpdb->update( $this->table, $data_array, $where_array);
2209
- $updated_data[$updated] = array('provider_name' => $provider_name);
2210
- $updated++;
2211
- }
2212
- } else{
2213
- $img_url = $provider['img_url'];
2214
-
2215
- $img_slug = sanitize_title($provider_name);
2216
- $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
2217
-
2218
- $ch = curl_init();
2219
-
2220
- curl_setopt($ch, CURLOPT_HEADER, 0);
2221
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
2222
- curl_setopt($ch, CURLOPT_URL, $img_url);
2223
-
2224
- $data = curl_exec($ch);
2225
- curl_close($ch);
2226
-
2227
- file_put_contents($img, $data);
2228
-
2229
-
2230
- $data_array = array(
2231
- 'shipping_country' => sanitize_text_field($shipping_country),
2232
- 'provider_name' => sanitize_text_field($provider_name),
2233
- 'ts_slug' => $ts_slug,
2234
- 'provider_url' => sanitize_text_field($provider_url),
2235
- 'display_in_order' => 0,
2236
- 'shipping_default' => 1,
2237
- );
2238
- $result = $wpdb->insert( $this->table, $data_array );
2239
- $added_data[$added] = array('provider_name' => $provider_name);
2240
- $added++;
2241
- }
2242
- }
2243
- foreach($default_shippment_providers as $db_provider){
2244
- if(!isset($providers_name[$db_provider->provider_name])){
2245
- $where = array(
2246
- 'provider_name' => $db_provider->provider_name,
2247
- 'shipping_default' => 1
2248
- );
2249
- $wpdb->delete( $this->table, $where );
2250
- $deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
2251
- $deleted++;
2252
- }
2253
- }
2254
- if($added > 0){
2255
- ob_start();
2256
- $added_html = $this->added_html($added_data);
2257
- $added_html = ob_get_clean();
2258
- }
2259
- if($updated > 0){
2260
- ob_start();
2261
- $updated_html = $this->updated_html($updated_data);
2262
- $updated_html = ob_get_clean();
2263
- }
2264
- if($deleted > 0){
2265
- ob_start();
2266
- $deleted_html = $this->deleted_html($deleted_data);
2267
- $deleted_html = ob_get_clean();
2268
- }
2269
-
2270
- $status = 'active';
2271
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
2272
- ob_start();
2273
- $html = $this->get_provider_html($default_shippment_providers,$status);
2274
- $html = ob_get_clean();
2275
- echo json_encode( array('added' => $added,'added_html' =>$added_html,'updated' => $updated,'updated_html' =>$updated_html,'deleted' => $deleted,'deleted_html' =>$deleted_html,'html' => $html) );exit;
2276
- }
2277
-
2278
- /**
2279
- * Output html of added provider from sync providers
2280
- */
2281
- public function added_html($added_data){ ?>
2282
- <ul class="updated_details" id="added_providers">
2283
- <?php
2284
- foreach ( $added_data as $added ){ ?>
2285
- <li><?php echo $added['provider_name']; ?></li>
2286
- <?php }
2287
- ?>
2288
- </ul>
2289
- <a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2290
- <a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2291
- <?php }
2292
-
2293
- /**
2294
- * Output html of updated provider from sync providers
2295
- */
2296
- public function updated_html($updated_data){ ?>
2297
- <ul class="updated_details" id="updated_providers">
2298
- <?php
2299
- foreach ( $updated_data as $updated ){ ?>
2300
- <li><?php echo $updated['provider_name']; ?></li>
2301
- <?php }
2302
- ?>
2303
- </ul>
2304
- <a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2305
- <a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2306
- <?php }
2307
-
2308
- /**
2309
- * Output html of deleted provider from sync providers
2310
- */
2311
- public function deleted_html($deleted_data){ ?>
2312
- <ul class="updated_details" id="deleted_providers">
2313
- <?php
2314
- foreach ( $deleted_data as $deleted ){ ?>
2315
- <li><?php echo $deleted['provider_name']; ?></li>
2316
- <?php }
2317
- ?>
2318
- </ul>
2319
- <a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
2320
- <a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
2321
- <?php }
2322
-
2323
  /**
2324
  * Add bulk filter for Shipment status in orders list
2325
  *
@@ -2357,7 +2414,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
2357
  </select>
2358
  <?php
2359
  }
2360
- }
2361
 
2362
  /**
2363
  * Get the order count for orders by shipment status
@@ -2434,215 +2491,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
2434
 
2435
  return $vars;
2436
  }
 
2437
  /**
2438
- * Add a new dashboard widget.
2439
- */
2440
- public function ast_add_dashboard_widgets() {
2441
- wp_add_dashboard_widget( 'trackship_dashboard_widget', 'Tracking Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function') );
2442
- }
2443
- /**
2444
- * Output the contents of the dashboard widget
2445
- */
2446
- public function dashboard_widget_function( $post, $callback_args ) {
2447
-
2448
- wp_enqueue_script( 'amcharts');
2449
- wp_enqueue_script( 'amcharts-light-theme');
2450
-
2451
- // Get orders completed.
2452
- $args = array(
2453
- //'status' => 'wc-completed',
2454
- 'limit' => -1,
2455
- 'date_created' => '>' . ( time() - 2592000 ),
2456
- );
2457
- $orders = wc_get_orders( $args );
2458
- $shipment_trackers = 0;
2459
- $shipment_status_merge = array();
2460
- $tracking_item_merge = array();
2461
- foreach($orders as $order){
2462
- $order_id = $order->get_id();
2463
-
2464
- $ast = new WC_Advanced_Shipment_Tracking_Actions;
2465
- $tracking_items = $ast->get_tracking_items( $order_id, true );
2466
-
2467
- if($tracking_items){
2468
- $shipment_status = get_post_meta( $order_id, "shipment_status", true);
2469
- $shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
2470
- foreach ( $tracking_items as $key => $tracking_item ) {
2471
- if( isset($shipment_status[$key]) ){
2472
-
2473
- $tracking_item_merge[] = $tracking_item;
2474
- $shipment_trackers++;
2475
- }
2476
- }
2477
- }
2478
- }
2479
-
2480
- //echo '<pre>';print_r($tracking_item_merge);echo '</pre>';
2481
- $shipment_status_arr = array();
2482
-
2483
- foreach ($shipment_status_merge as $key => $item) {
2484
- $shipment_status_arr[$item['status']][$key] = $item;
2485
- }
2486
-
2487
- $tracking_provider_arr = array();
2488
-
2489
- foreach ($tracking_item_merge as $key => $item) {
2490
- $tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
2491
- }
2492
-
2493
- ksort($shipment_status_arr, SORT_NUMERIC);
2494
- ksort($tracking_provider_arr, SORT_NUMERIC);
2495
-
2496
-
2497
-
2498
- ?>
2499
- <script type="text/javascript">
2500
- AmCharts.makeChart("ast_dashboard_status_chart",
2501
- {
2502
- "type": "serial",
2503
- "categoryField": "shipment_status",
2504
- "startDuration": 1,
2505
- "handDrawScatter": 4,
2506
- "theme": "light",
2507
- "categoryAxis": {
2508
- "autoRotateAngle": 61.2,
2509
- "autoRotateCount": 0,
2510
- "autoWrap": true,
2511
- "gridPosition": "start",
2512
- "minHorizontalGap": 10,
2513
- "offset": 1
2514
- },
2515
- "trendLines": [],
2516
- "graphs": [
2517
- {
2518
- "balloonText": " [[shipment_status]] : [[value]]",
2519
- "bulletBorderThickness": 7,
2520
- "colorField": "color",
2521
- "fillAlphas": 1,
2522
- "id": "AmGraph-1",
2523
- "lineColorField": "color",
2524
- "title": "graph 1",
2525
- "type": "column",
2526
- "valueField": "count"
2527
- }
2528
- ],
2529
- "guides": [],
2530
- "valueAxes": [
2531
- {
2532
- "id": "ValueAxis-1",
2533
- "title": ""
2534
- }
2535
- ],
2536
- "allLabels": [],
2537
- "balloon": {},
2538
- "titles": [
2539
- {
2540
- "id": "Title-1",
2541
- "size": 15,
2542
- "text": ""
2543
- }
2544
- ],
2545
- "dataProvider": [
2546
- <?php
2547
- foreach($shipment_status_arr as $status => $array){ ?>
2548
- {
2549
- "shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
2550
- "count": <?php echo count($array); ?>,
2551
- "color": "#BBE285",
2552
- },
2553
- <?php
2554
- } ?>
2555
- ]
2556
- }
2557
- );
2558
- </script>
2559
- <script type="text/javascript">
2560
- AmCharts.makeChart("ast_dashboard_providers_chart",
2561
- {
2562
- "type": "serial",
2563
- "categoryField": "shipment_provider",
2564
- "startDuration": 1,
2565
- "handDrawScatter": 4,
2566
- "theme": "light",
2567
- "categoryAxis": {
2568
- "autoRotateAngle": 61.2,
2569
- "autoRotateCount": 0,
2570
- "autoWrap": true,
2571
- "gridPosition": "start",
2572
- "minHorizontalGap": 10,
2573
- "offset": 1
2574
- },
2575
- "trendLines": [],
2576
- "graphs": [
2577
- {
2578
- "balloonText": " [[shipment_provider]] : [[value]]",
2579
- "bulletBorderThickness": 7,
2580
- "colorField": "color",
2581
- "fillAlphas": 1,
2582
- "id": "AmGraph-1",
2583
- "lineColorField": "color",
2584
- "title": "graph 1",
2585
- "type": "column",
2586
- "valueField": "count"
2587
- }
2588
- ],
2589
- "guides": [],
2590
- "valueAxes": [
2591
- {
2592
- "id": "ValueAxis-1",
2593
- "title": ""
2594
- }
2595
- ],
2596
- "allLabels": [],
2597
- "balloon": {},
2598
- "titles": [
2599
- {
2600
- "id": "Title-1",
2601
- "size": 15,
2602
- "text": ""
2603
- }
2604
- ],
2605
- "dataProvider": [
2606
- <?php
2607
- foreach($tracking_provider_arr as $provider => $array){ ?>
2608
- {
2609
- "shipment_provider": "<?php echo $provider; ?>",
2610
- "count": <?php echo count($array); ?>,
2611
- "color": "#BBE285",
2612
- },
2613
- <?php
2614
- } ?>
2615
- ]
2616
- }
2617
- );
2618
- </script>
2619
- <div class="ast-dashborad-widget">
2620
-
2621
- <input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
2622
- <label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
2623
-
2624
- <input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
2625
- <label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
2626
-
2627
- <section id="content_s_providers" class="widget_tab_section">
2628
- <?php if($tracking_provider_arr){ ?>
2629
- <div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
2630
- <?php } else{ ?>
2631
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2632
- <?php } ?>
2633
- </section>
2634
-
2635
- <section id="content_s_status" class="widget_tab_section">
2636
- <?php if($shipment_status_arr){ ?>
2637
- <div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
2638
- <?php } else{ ?>
2639
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2640
- <?php } ?>
2641
- </section>
2642
-
2643
- </div>
2644
- <div class="widget_footer">
2645
- <a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View More Details In Trackship','woo-advanced-shipment-tracking' ); ?></a>
2646
- </div>
2647
- <?php }
2648
- }
5
 
6
  class WC_Advanced_Shipment_Tracking_Admin {
7
 
8
+ var $item_code = 'ast_per_product';
9
+ var $store_url = 'https://www.zorem.com/';
10
+ var $license_status;
11
+ var $license_key;
12
+ var $license_email;
13
+
14
  /**
15
  * Initialize the main plugin function
16
  */
17
  public function __construct() {
18
+
19
+ $this->license_status = 'ast_product_license_status';
20
+ $this->license_key = 'ast_product_license_key';
21
+ $this->license_email = 'ast_product_license_email';
22
+
23
  global $wpdb;
24
  if( is_multisite() ){
25
  if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
65
 
66
  //database check
67
  add_action( 'init', array( $this, 'database_table_check') );
68
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  //cron_schedules
70
+ add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
 
 
 
 
 
 
 
 
 
 
 
 
71
 
72
+ add_filter( 'cron_schedules', array( $this, 'ast_product_license_cron_schedule') );
73
+ add_action( 'ast_license_cron_hook', array( $this, 'check_license_valid' ) );
74
+ if (!wp_next_scheduled( 'ast_license_cron_hook' ) ) {
75
+ wp_schedule_event( time(), 'ast_product_license_cron_events', 'ast_license_cron_hook' );
76
+ }
77
 
78
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
79
  if( $api_enabled == true ){
94
  // Bulk shipment status sync for empty balance ajax call from settings
95
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
96
 
97
+ // Bulk shipment status sync for please do connection status ajax call from settings
98
+ add_action( 'wp_ajax_bulk_shipment_status_for_do_connection_from_settings', array( $this, 'bulk_shipment_status_for_do_connection_from_settings_fun' ) );
99
+
100
  // The results notice from bulk action on orders
101
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
102
 
106
 
107
  // add bulk order filter for exported / non-exported orders
108
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
109
+ add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
110
 
111
+ // add bulk order tracking number filter for exported / non-exported orders
112
+ add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
113
  }
114
 
115
  // trigger when order status changed to shipped or completed
126
 
127
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
128
 
129
+ add_action( 'admin_footer', array( $this, 'footer_function'),1 );
130
 
131
  // filter for shipment status
132
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
158
 
159
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
160
 
161
+ add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
162
 
163
+ if ( is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
164
+ if( $this->licence_valid() != 'true' )add_action( 'admin_notices', array( $this, 'ast_product_licence_notice') );
165
+ }
 
166
  }
167
 
168
  /*
183
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
184
  }
185
  maybe_create_table( $table_name, $sql );
186
+ }
187
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
188
 
189
  /*
190
  * add_cron_interval
239
  }
240
  //$orders = wc_get_orders( $args );print_r($orders);exit;
241
  return $orders = wc_get_orders( $args );
242
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
 
244
  /*
245
  * add in batch process
261
  global $wpdb;
262
  $table_name = $wpdb->prefix.'shipment_batch_process';
263
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
264
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
265
 
266
  /*
267
  * shipment api call
303
 
304
  foreach ( $columns as $column_name => $column_info ) {
305
 
306
+ $new_columns[ $column_name ] = $column_info;
 
 
 
 
 
307
 
308
+ if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
 
309
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
310
  }
311
  }
345
 
346
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
347
  $tracking_items = $ast->get_tracking_items( $post->ID );
348
+ $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
349
+ $wp_date_format = get_option( 'date_format' );
350
+ if($wp_date_format == 'd/m/Y'){
351
+ $date_format = 'd/m';
352
+ } else{
353
+ $date_format = 'm/d';
354
+ }
355
  if ( count( $tracking_items ) > 0 ) {
356
  ?>
357
  <ul class="wcast-shipment-status-list">
363
  $status = $shipment_status[$key]['status'];
364
  $status_date = $shipment_status[$key]['status_date'];
365
  if(isset($shipment_status[$key]['est_delivery_date'])){
366
+ $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
367
  }
368
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
369
  $has_est_delivery = true;
370
+ }
371
  ?>
372
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
373
  <div class="wcast-shipment-status-icon">
375
  </div>
376
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
377
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
378
+ <span class="showif_has_est_delivery_1 ft11">(<?php echo date( $date_format, strtotime($status_date))?>)</span>
379
+ <span class="showif_has_est_delivery_0 ft11">on <?php echo date( $date_format, strtotime($status_date))?></span>
380
  <?php if( $has_est_delivery){?>
381
+ <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date)); ?>)</span>
382
  <?php } ?>
383
  </div>
384
  </li>
418
 
419
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
420
 
421
+ wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
422
+
423
  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);
424
 
425
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
454
 
455
  wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
456
 
457
+ wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
458
+
459
  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 );
460
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
461
  'i18n' => array(
475
  * WC sub menu
476
  */
477
  public function register_woocommerce_menu() {
478
+ add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
479
  }
480
 
481
  /*
536
  <input id="tab4" type="radio" name="tabs" class="tab_input" data-tab="bulk-upload" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'bulk-upload'){ echo 'checked'; } ?>>
537
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
538
 
539
+ <input id="tab3" type="radio" name="tabs" class="tab_input" data-tab="trackship" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'trackship' || $_GET['tab'] == 'tracking-page' || $_GET['tab'] == 'shipment-status-notifications' || $_GET['tab'] == 'trackship-dashboard' || $_GET['tab'] == 'tools')){ echo 'checked'; } ?>>
540
  <label for="tab3" class="tab_label">TrackShip</label>
541
 
542
+ <input id="tab6" type="radio" name="tabs" class="tab_input" data-tab="addons" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'addons')){ echo 'checked'; } ?>>
543
+ <label for="tab6" class="tab_label"><?php _e('Add-ons', 'woo-advanced-shipment-tracking'); ?></label>
544
+
545
  <div class="nav_doc_section">
546
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
547
  <a href="JavaScript:void(0);" class="open_video_popup"><?php _e( 'How to Video', 'woo-advanced-shipment-tracking' ); ?></a>
551
  <?php require_once( 'views/admin_options_settings.php' );?>
552
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
553
  <?php require_once( 'views/admin_options_bulk_upload.php' );?>
554
+ <?php require_once( 'views/admin_options_addons.php' );?>
555
+
556
  </div>
557
  </div>
558
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
565
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
566
  </div>
567
  </div>
568
+ <div class="popupclose"></div>
569
+ </div>
570
+
571
+ <div id="" class="popupwrapper ts_video_popup" style="display:none;">
572
+ <div class="popuprow">
573
+ <div class="videoWrapper">
574
+ <iframe id="ts_video" src="https://www.youtube.com/embed/PhnqDorKN_c" frameborder="0" allowfullscreen></iframe>
575
+ </div>
576
+ </div>
577
+ <div class="popupclose"></div>
578
+ </div>
579
+ <div id="" class="popupwrapper tracking_item_video_popup" style="display:none;">
580
+ <div class="popuprow">
581
+ <div class="videoWrapper">
582
+ <iframe id="trackin_per_item_video" src="https://www.youtube.com/embed/L8uWc2sY_Go" frameborder="0" allowfullscreen></iframe>
583
+ </div>
584
+ </div>
585
+ <div class="popupclose"></div>
586
+ </div>
587
  <?php
588
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
589
  <script>
595
  /*
596
  * get html of fields
597
  */
598
+ public function get_html( $arrays ){
599
 
600
  $checked = '';
601
  ?>
624
  <?php if( $array['type'] == 'checkbox' ){
625
  if($id === 'wcast_enable_delivered_email'){
626
  $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
627
+ //echo '<pre>';print_r($wcast_enable_delivered_email);echo '</pre>';
628
+
629
+ if($wcast_enable_delivered_email['enabled'] == 'yes' || $wcast_enable_delivered_email['enabled'] == 1){
630
  $checked = 'checked';
631
  } else{
632
+ $checked = '';
633
+ }
634
+ } elseif($id === 'wcast_enable_partial_shipped_email'){
635
+ $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
636
+
637
+ if($wcast_enable_partial_shipped_email['enabled'] == 'yes' || $wcast_enable_partial_shipped_email['enabled'] == 1){
638
+ $checked = 'checked';
639
+ } else{
640
+ $checked = '';
641
  }
642
+ } else{
643
  if(get_option($id)){
644
  $checked = 'checked';
645
  } else{
664
  <?php
665
  $op = 1;
666
  foreach((array)$array['options'] as $key => $val ){
667
+ if($val['type'] == 'default'){
668
  $multi_checkbox_data = get_option($id);
669
+ if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
 
 
 
 
 
 
670
  $checked="checked";
671
  } else{
672
  $checked="";
673
  }?>
674
+ <span class=" multiple_checkbox">
675
+ <label class="" for="<?php echo $key?>">
676
+ <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
677
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
678
  <span class="multiple_label"><?php echo $val['status']; ?></span>
679
  </br>
680
  </label>
681
  </span>
682
+ <?php }
683
+ }
684
+ foreach((array)$array['options'] as $key => $val ){
685
  if($val['type'] == 'custom'){
686
+ $multi_checkbox_data = get_option($id);
687
+ if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
 
 
 
 
 
 
688
  $checked="checked";
689
  } else{
690
  $checked="";
691
  }
692
  if($op == 1){ ?>
693
+ <div style="margin: 10px 0;">
694
  <strong style="font-weight: 700;padding-bottom: 3px;">
695
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
696
  </strong>
697
  </div>
698
  <?php } ?>
699
+ <span class="multiple_checkbox">
700
+ <label class="" for="<?php echo $key?>">
701
+ <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
702
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
703
  <span class="multiple_label"><?php echo $val['status']; ?></span>
704
  </br>
705
  </label>
706
  </span>
707
  <?php $op++; }
708
+ }
709
+ ?>
710
 
711
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
712
  <?php
736
  <?php } elseif( $array['type'] == 'title' ){?>
737
  <?php }
738
  elseif( $array['type'] == 'key_field' ){ ?>
739
+ <fieldset>
 
740
  <?php if($array['connected'] == true){ ?>
741
  <a href="https://my.trackship.info/" target="_blank">
742
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
834
  } else{
835
  $disable_bulk_sync_zero_balance = true;
836
  }
837
+
838
+ $completed_order_with_do_connection = 0;
839
+
840
+ foreach($orders as $order){
841
+ $order_id = $order->get_id();
842
+
843
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
844
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
845
+ if($tracking_items){
846
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
847
+ foreach ( $tracking_items as $key => $tracking_item ) {
848
+ if(isset($shipment_status[$key]['status']) && $shipment_status[$key]['status'] == 'Please do connection'){
849
+ $completed_order_with_do_connection++;
850
+ }
851
+ }
852
+ }
853
+ }
854
+
855
+ if($completed_order_with_do_connection > 0){
856
+ $disable_bulk_sync_do_connection = false;
857
+ $show_bulk_sync_do_connection = true;
858
+ } else{
859
+ $disable_bulk_sync_do_connection = true;
860
+ $show_bulk_sync_do_connection = false;
861
+ }
862
 
863
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
864
 
887
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
888
  'class' => '',
889
  ),
890
+ 'wc_ast_bulk_shipment_status_for_please_do_connection' => array(
891
+ 'type' => 'button',
892
+ 'title' => sprintf(__('%s %s orders with “Please do connection”', 'woo-advanced-shipment-tracking'), $completed_order_with_do_connection , $completed_order_label),
893
+ 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
894
+ 'show' => $show_bulk_sync_do_connection,
895
+ 'disable' => $disable_bulk_sync_do_connection,
896
+ 'button_class' => 'bulk_shipment_status_button_for_do_connection',
897
+ 'class' => '',
898
+ ),
899
  );
900
  return $form_data;
901
  }
985
  'show' => $show_trackship_field,
986
  'class' => '',
987
  ),
988
+ 'wc_ast_select_tracking_page_layout' => array(
989
+ 'type' => 'radio',
990
+ 'title' => __( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ),
991
+ 'show' => $show_trackship_field,
992
+ 'options' => array(
993
+ "" =>__( 'Select', 'woocommerce' ),
994
+ "t_layout_1" =>__( 'Layout 1', '' ),
995
+ "t_layout_2" =>__( 'Layout 2', '' ),
996
+ ),
997
+ 'class' => '',
998
+ ),
999
  'wc_ast_select_primary_color' => array(
1000
  'type' => 'color',
1001
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
1007
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1008
  'class' => 'color_field',
1009
  'show' => $show_trackship_field,
1010
+ ),
1011
+ 'wc_ast_hide_tracking_provider_image' => array(
1012
+ 'type' => 'checkbox',
1013
+ 'title' => __( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ),
1014
+ 'show' => $show_trackship_field,
1015
+ 'class' => '',
1016
+ ),
1017
  'wc_ast_hide_tracking_events' => array(
1018
  'type' => 'checkbox',
1019
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
1030
  return $form_data;
1031
 
1032
  }
1033
+
1034
+ /*
1035
+ * get ast per product addons licence data
1036
+ * return array
1037
+ */
1038
+ function get_ast_product_license_data(){
1039
+ $form_data = array(
1040
+ 'ast_product_license_key' => array(
1041
+ 'type' => 'text',
1042
+ 'title' => __( 'License Key', 'woo-advanced-shipment-tracking' ),
1043
+ 'show' => true,
1044
+ 'tooltip' => __( 'Valid License to make All feature work correctly', 'woo-advanced-shipment-tracking' ),
1045
+ 'class' => '',
1046
+ ),
1047
+ );
1048
+ return $form_data;
1049
+ }
1050
 
1051
  /*
1052
  * settings form save
1069
  }
1070
  }
1071
 
1072
+ /*
1073
+ * AST per Product licence activate
1074
+ */
1075
+ function ast_product_license_activate_callback(){
1076
+
1077
+ if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
1078
+
1079
+ $data = $this->get_ast_product_license_data();
1080
+
1081
+ foreach( $data as $key => $val ){
1082
+ update_option( $key, sanitize_text_field( $_POST[ $key ] ) );
1083
+
1084
+ }
1085
+
1086
+ $return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'activate' );
1087
+
1088
+ if($return->success == 'true'){
1089
+ update_option( $this->license_key, sanitize_text_field($_POST['ast_product_license_key']));
1090
+ }
1091
+ header('Content-type: application/json');
1092
+ echo json_encode($return, JSON_PRETTY_PRINT);
1093
+ die();
1094
+ }
1095
+ }
1096
+
1097
+ /*
1098
+ * AST per Product licence deactivate
1099
+ */
1100
+ function ast_product_license_deactivate_callback(){
1101
+
1102
+ if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_addons_form', 'wc_ast_addons_form' ) ) {
1103
+
1104
+ if(isset($_POST['ast_product_license_key'])){
1105
+ $return = $this->license_authorize_action( sanitize_text_field($_POST['ast_product_license_key']), 'deactivate' );
1106
+ if($return->success == 'true'){
1107
+ update_option( $this->license_key, '');
1108
+ update_option( $this->license_status, false);
1109
+ }
1110
+ header('Content-type: application/json');
1111
+ echo json_encode($return, JSON_PRETTY_PRINT);
1112
+ die();
1113
+ }
1114
+ }
1115
+ }
1116
+
1117
+ /*
1118
+ * License authorize with server
1119
+ */
1120
+ public function license_authorize_action( $purchase_code = '', $action = 'validate' ) {
1121
+ global $wp_version;
1122
+
1123
+ $domain = home_url();
1124
+
1125
+ $api_params = array(
1126
+ 'wc-api' => 'validate_serial_key',
1127
+ 'serial' => $purchase_code,
1128
+ 'sku' => 'tracking-per-item-ast-add-on',
1129
+ 'uuid' => $domain,
1130
+ );
1131
+
1132
+ $request = add_query_arg( $api_params, $this->store_url );
1133
+
1134
+ $response = wp_remote_get( $request, array( 'timeout' => 15, 'sslverify' => false ) );
1135
+
1136
+ if ( is_wp_error( $response ) )
1137
+ return false;
1138
+
1139
+ $authorize_data = json_decode( wp_remote_retrieve_body( $response ) );
1140
+
1141
+ if(empty($authorize_data) || $authorize_data === NULL || $authorize_data === false) return false;
1142
+ update_option( $this->license_status, $authorize_data->success);
1143
+ return $authorize_data;
1144
+ }
1145
+
1146
+ /*
1147
+ * Check license valid
1148
+ */
1149
+ public function check_license_valid($action = 'validate') {
1150
+ $license = $this->get_license_key();
1151
+ $authorize = $this->license_authorize_action($license, $action);
1152
+ if($authorize->success == 'true'){
1153
+ return true;
1154
+ }
1155
+ return false;
1156
+ }
1157
+
1158
+ /*
1159
+ * return licence valid
1160
+ * return licence status
1161
+ * return licence key
1162
+ * return licence email
1163
+ */
1164
+ public function licence_valid() {
1165
+ return get_option( $this->license_status, false);
1166
+ }
1167
+ public function get_license_status() {
1168
+ return get_option( $this->license_status, false);
1169
+ }
1170
+ public function get_license_key() {
1171
+ return get_option( $this->license_key, false);
1172
+ }
1173
+ public function get_license_email() {
1174
+ return get_option( $this->license_email, false);
1175
+ }
1176
+
1177
+ /*
1178
+ * cron function for License schedule
1179
+ */
1180
+ function ast_product_license_cron_schedule( $schedules ){
1181
+ $schedules[ 'ast_product_license_cron_events' ] = array(
1182
+ 'interval' => 86400,//
1183
+ 'display' => __( 'Every day' ),
1184
+ );
1185
+ return $schedules;
1186
+ }
1187
+
1188
+ /*
1189
+ * License notice
1190
+ */
1191
+ function ast_product_licence_notice() {
1192
+ $class = 'notice notice-error';
1193
+ $message = __( 'Opps! your <strong>Tracking Per Item Add-on for AST</strong> licence key is not activated. To buy license <a href="'.admin_url( '/admin.php?page=woocommerce-advanced-shipment-tracking&tab=addons' ).'">click here</a> to activate it.', 'woo-advanced-shipment-tracking' );
1194
+
1195
+ printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
1196
+ }
1197
+
1198
  /*
1199
  * trigger when order status changed to shipped or completed or update tracking
1200
  * param $order_id
1240
  'wc-on-hold' => 'On hold',
1241
  'wc-completed' => 'Completed',
1242
  'wc-delivered' => 'Delivered',
1243
+ //'wc-partial-shipped' => 'Partially Shipped',
1244
  'wc-cancelled' => 'Cancelled',
1245
  'wc-refunded' => 'Refunded',
1246
  'wc-failed' => 'Failed'
1369
  );
1370
  return $form_data;
1371
 
1372
+ }
1373
+
1374
+ /*
1375
+ * get updated tracking status settings array data
1376
+ * return array
1377
+ */
1378
+ function get_updated_tracking_data(){
1379
+ $form_data = array(
1380
+ 'wc_ast_status_updated_tracking' => array(
1381
+ 'type' => 'checkbox',
1382
+ 'title' => __( 'Enable custom order status “Updated Tracking"', 'woo-advanced-shipment-tracking' ),
1383
+ 'tooltip' => __( 'if you enable the delivered item, you will have the option to send Updated Tracking email notifications.', 'woo-advanced-shipment-tracking' ),
1384
+ 'show' => true,
1385
+ 'class' => '',
1386
+ ),
1387
+ 'wc_ast_status_updated_tracking_label_color' => array(
1388
+ 'type' => 'color',
1389
+ 'title' => __( 'Updated Tracking Label color', 'woo-advanced-shipment-tracking' ),
1390
+ 'class' => 'updated_tracking_status_label_color_th',
1391
+ 'show' => true,
1392
+ ),
1393
+ 'wc_ast_status_updated_tracking_label_font_color' => array(
1394
+ 'type' => 'dropdown',
1395
+ 'title' => __( 'Updated Tracking Label font color', 'woo-advanced-shipment-tracking' ),
1396
+ 'options' => array(
1397
+ "" =>__( 'Select', 'woocommerce' ),
1398
+ "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1399
+ "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1400
+ ),
1401
+ 'class' => 'updated_tracking_status_label_color_th',
1402
+ 'show' => true,
1403
+ ),
1404
+ 'wcast_enable_updated_tracking_email' => array(
1405
+ 'type' => 'checkbox',
1406
+ 'title' => __( 'Enable the Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
1407
+ 'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1408
+ 'class' => 'updated_tracking_status_label_color_th',
1409
+ 'show' => true,
1410
+ ),
1411
+ );
1412
+ return $form_data;
1413
+
1414
+ }
1415
+
1416
+ /*
1417
+ * get Partially Shipped array data
1418
+ * return array
1419
+ */
1420
+ function get_partial_shipped_data(){
1421
+ $form_data = array(
1422
+ 'wc_ast_status_partial_shipped' => array(
1423
+ 'type' => 'checkbox',
1424
+ 'title' => __( 'Enable custom order status “Partially Shipped"', 'woo-advanced-shipment-tracking' ),
1425
+ 'tooltip' => __( 'if you enable the Partially Shipped item, you will have the option to send Partially Shipped email notifications.', 'woo-advanced-shipment-tracking' ),
1426
+ 'show' => true,
1427
+ 'class' => '',
1428
+ ),
1429
+ 'wc_ast_status_partial_shipped_label_color' => array(
1430
+ 'type' => 'color',
1431
+ 'title' => __( 'Partially Shipped Label color', 'woo-advanced-shipment-tracking' ),
1432
+ 'class' => 'partial_shipped_status_label_color_th',
1433
+ 'show' => true,
1434
+ ),
1435
+ 'wc_ast_status_partial_shipped_label_font_color' => array(
1436
+ 'type' => 'dropdown',
1437
+ 'title' => __( 'Partially Shipped Label font color', 'woo-advanced-shipment-tracking' ),
1438
+ 'options' => array(
1439
+ "" =>__( 'Select', 'woocommerce' ),
1440
+ "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1441
+ "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1442
+ ),
1443
+ 'class' => 'partial_shipped_status_label_color_th',
1444
+ 'show' => true,
1445
+ ),
1446
+ 'wcast_enable_partial_shipped_email' => array(
1447
+ 'type' => 'checkbox',
1448
+ 'title' => __( 'Enable the Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
1449
+ 'title_link'=> "<a class='settings_edit' href='".wcast_partial_shipped_customizer_email::get_customizer_url('customer_partial_shipped_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1450
+ 'class' => 'partial_shipped_status_label_color_th',
1451
+ 'show' => true,
1452
+ ),
1453
+ );
1454
+ return $form_data;
1455
+
1456
  }
1457
 
1458
  /*
1460
  */
1461
  function wc_ast_settings_form_update_callback(){
1462
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1463
+
1464
  $data = $this->get_settings_data();
1465
 
1466
+ foreach( $data as $key => $val ){
1467
+ if(isset($_POST[ $key ])){
1468
+ update_option( $key, $_POST[ $key ] );
1469
+ }
1470
  }
1471
 
1472
  $data = $this->get_delivered_data();
1473
 
1474
  foreach( $data as $key => $val ){
1475
+ if($key == 'wcast_enable_delivered_email'){
1476
+ if(isset($_POST['wcast_enable_delivered_email'])){
1477
+ $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
1478
+ if($_POST['wcast_enable_delivered_email'] == 1){
1479
+ update_option( 'customizer_delivered_order_settings_enabled',$_POST['wcast_enable_delivered_email']);
1480
+ $enabled = 'yes';
1481
+ } else{
1482
+ update_option( 'customizer_delivered_order_settings_enabled','');
1483
+ $enabled = 'no';
1484
+ }
1485
+ $opt = array(
1486
+ 'enabled' => $enabled,
1487
+ 'subject' => $wcast_enable_delivered_email['subject'],
1488
+ 'heading' => $wcast_enable_delivered_email['heading'],
1489
+ 'recipient' => $wcast_enable_delivered_email['recipient'],
1490
+ 'email_type' => $wcast_enable_delivered_email['email_type'],
1491
+ );
1492
+ update_option( 'woocommerce_customer_delivered_order_settings', $opt );
1493
+ }
1494
+ }
1495
+ if(isset($_POST[ $key ])){
1496
+ update_option( $key, $_POST[ $key ] );
1497
+ }
1498
+ }
1499
+
1500
+ $data = $this->get_partial_shipped_data();
1501
+
1502
+ foreach( $data as $key => $val ){
1503
+ if($key == 'wcast_enable_partial_shipped_email'){
1504
+ if(isset($_POST['wcast_enable_partial_shipped_email'])){
1505
+ $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
1506
+ if($_POST['wcast_enable_partial_shipped_email'] == 1){
1507
+ update_option( 'customizer_partial_shipped_order_settings_enabled',$_POST['wcast_enable_partial_shipped_email']);
1508
+ $enabled = 'yes';
1509
+ } else{
1510
+ update_option( 'customizer_partial_shipped_order_settings_enabled','');
1511
+ $enabled = 'no';
1512
+ }
1513
+
1514
+ $opt = array(
1515
+ 'enabled' => $enabled,
1516
+ 'subject' => $wcast_enable_partial_shipped_email['subject'],
1517
+ 'heading' => $wcast_enable_partial_shipped_email['heading'],
1518
+ 'email_type' => $wcast_enable_partial_shipped_email['email_type'],
1519
+ );
1520
+ update_option( 'woocommerce_customer_partial_shipped_order_settings', $opt );
1521
+ }
1522
+ }
1523
+ if(isset($_POST[ $key ])){
1524
+ update_option( $key, $_POST[ $key ] );
1525
+ }
1526
+ }
1527
+
1528
+ $data = $this->get_updated_tracking_data();
1529
+
1530
+ foreach( $data as $key => $val ){
1531
+ if($key == 'wcast_enable_updated_tracking_email'){
1532
+
1533
+ if(isset($_POST['wcast_enable_updated_tracking_email'])){
1534
+ $wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
1535
+ if($_POST['wcast_enable_updated_tracking_email'] == 1){
1536
+ update_option( 'customizer_updated_tracking_order_settings_enabled',$_POST['wcast_enable_updated_tracking_email']);
1537
+ $enabled = 'yes';
1538
+ } else{
1539
+ update_option( 'customizer_updated_tracking_order_settings_enabled','');
1540
+ $enabled = 'no';
1541
+ }
1542
+
1543
+ $opt = array(
1544
+ 'enabled' => $enabled,
1545
+ 'subject' => $wcast_enable_updated_tracking_email['subject'],
1546
+ 'heading' => $wcast_enable_updated_tracking_email['heading'],
1547
+ 'email_type' => $wcast_enable_updated_tracking_email['email_type'],
1548
+ );
1549
+ update_option( 'woocommerce_customer_updated_tracking_order_settings', $opt );
1550
+ }
1551
+ }
1552
+ if(isset($_POST[ $key ])){
1553
+ update_option( $key, $_POST[ $key ] );
1554
  }
 
1555
  }
1556
 
1557
  echo json_encode( array('success' => 'true') );die();
1563
  * change style of delivered order label
1564
  */
1565
  function footer_function(){
1566
+ if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
1567
+ $bg_color = get_option('wc_ast_status_label_color','#212c42');
1568
+ $color = get_option('wc_ast_status_label_font_color','#fff');
1569
+
1570
+ $ps_bg_color = get_option('wc_ast_status_partial_shipped_label_color','#0c0c0c');
1571
+ $ps_color = get_option('wc_ast_status_partial_shipped_label_font_color','#fff');
1572
+
1573
+ $ut_bg_color = get_option('wc_ast_status_updated_tracking_label_color','#d6d6d6');
1574
+ $ut_color = get_option('wc_ast_status_updated_tracking_label_font_color','#000');
1575
+ ?>
1576
+ <style>
1577
+ .order-status.status-delivered,.order-status-table .order-label.wc-delivered{
1578
+ background: <?php echo $bg_color; ?>;
1579
  color: <?php echo $color; ?>;
1580
+ }
1581
+ .order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
1582
+ background: <?php echo $ps_bg_color; ?>;
1583
+ color: <?php echo $ps_color; ?>;
1584
+ }
1585
+ .order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
1586
+ background: <?php echo $ut_bg_color; ?>;
1587
+ color: <?php echo $ut_color; ?>;
1588
+ }
1589
+ </style>
1590
+ <?php
1591
  }
 
 
1592
  }
1593
 
1594
  /*
1614
  $woo_shippment_table_name = $this->table;
1615
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1616
 
1617
+
1618
  if($shippment_provider == 0){
1619
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1620
  }
1621
  if(empty($tracking_number)){
1622
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1623
  }
1624
+ if(preg_match('/[^a-z0-9- \b]+/i', $tracking_number)){
1625
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1626
  }
1627
  if(empty($date_shipped)){
1640
  if ( count( $tracking_items ) > 0 ) {
1641
  foreach ( $tracking_items as $key => $item ) {
1642
  $tracking_number = $item['tracking_number'];
1643
+ unset( $tracking_items[ $key ] );
1644
+ /*if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
1645
 
1646
  } else{
1647
+
1648
+ } */
1649
  }
1650
  $wast->save_tracking_items( $order_id, $tracking_items );
1651
  }
1652
  }
1653
  }
1654
  if($tracking_provider && $tracking_number && $date_shipped){
1655
+
1656
+ $tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1657
+
1658
+ if(!$tracking_provider){
1659
+ $tracking_provider = sanitize_title($_POST['tracking_provider']);
1660
+ }
1661
+
1662
  $args = array(
1663
+ 'tracking_provider' => wc_clean( $tracking_provider ),
1664
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1665
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1666
  'status_shipped' => wc_clean( $_POST['status_shipped'] ),
1756
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
1757
  $tracking_items = $ast->get_tracking_items( $order_id, true );
1758
  if($tracking_items){
1759
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
 
 
1760
  foreach ( $tracking_items as $key => $tracking_item ) {
1761
  if( !isset($shipment_status[$key]) ){
1762
  wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
1798
  echo $url;die();
1799
  }
1800
 
1801
+ /*
1802
+ * bulk shipment status action for "TrackShip balance is 0" status
1803
+ */
1804
+ public static function bulk_shipment_status_for_do_connection_from_settings_fun(){
1805
+ $args = array(
1806
+ 'status' => 'wc-completed',
1807
+ 'limit' => -1,
1808
+ 'date_created' => '>' . ( time() - 2592000 ),
1809
+ );
1810
+ $orders = wc_get_orders( $args );
1811
+
1812
+ foreach($orders as $order){
1813
+ $order_id = $order->get_id();
1814
+
1815
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
1816
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
1817
+ if($tracking_items){
1818
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
1819
+ foreach ( $tracking_items as $key => $tracking_item ) {
1820
+ if($shipment_status[$key]['status'] == 'Please do connection'){
1821
+ wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
1822
+ }
1823
+ }
1824
+ }
1825
+ }
1826
+
1827
+ $url = admin_url('/edit.php?post_type=shop_order');
1828
+ echo $url;die();
1829
+ }
1830
+
1831
  /**
1832
  * Add 'get_shipment_status' link to order actions select box on edit order page
1833
  *
1858
  $count = intval( $_REQUEST['processed_count'] );
1859
 
1860
  printf( '<div id="message" class="updated fade"><p>' .
1861
+ _n( 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1862
+ 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1863
  $count,
1864
  'get_shipment_status'
1865
  ) . '</p></div>', $count );
1976
  $this->trigger_woocommerce_order_status_completed( $order_id );
1977
  }
1978
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1979
  /*
1980
  * update preview order id in customizer
1981
  */
2182
  </div>
2183
  </div>
2184
  <?php } } else{
2185
+ $p_status = 'active';
2186
  ?>
2187
+ <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $p_status); ?></h3>
2188
+ <?php }
2189
+ if($status == 'custom'){ ?>
2190
+ <div class="provider">
2191
+ <div class="provider_inner add_custom_provider_div">
2192
+ <div class="add_custom_p_a"><?php _e("Add Custom Provider", "woo-advanced-shipment-tracking")?></div>
2193
+ <a href="javascript:void(0);" class="add_custom_inner add_custom_provider"><span class="dashicons dashicons-plus-alt"></span></a>
2194
+ </div>
2195
+ </div>
2196
+ <?php }
2197
+ ?>
2198
  </div>
2199
  <?php
2200
  }
2226
  exit;
2227
  }
2228
 
2229
+ /**
2230
+ * Create slug from title
2231
+ */
2232
+ public static function create_slug($text){
2233
+ // replace non letter or digits by -
2234
+ $text = preg_replace('~[^\pL\d]+~u', '-', $text);
2235
+
2236
+ // transliterate
2237
+ $text = iconv('utf-8', 'us-ascii//TRANSLIT', $text);
2238
+
2239
+ // remove unwanted characters
2240
+ $text = preg_replace('~[^-\w]+~', '', $text);
2241
+
2242
+ // trim
2243
+ $text = trim($text, '-');
2244
+
2245
+ // remove duplicate -
2246
+ $text = preg_replace('~-+~', '-', $text);
2247
+
2248
+ // lowercase
2249
+ $text = strtolower($text);
2250
+
2251
+ if (empty($text)) {
2252
+ return '';
2253
+ }
2254
+
2255
+ return $text;
2256
+ }
2257
+
2258
  /**
2259
  * Add custom shipping provider function
2260
  */
2263
  global $wpdb;
2264
 
2265
  $woo_shippment_table_name = $this->table;
2266
+ $provider_slug = $this->create_slug($_POST['shipping_provider']);
2267
+ if($provider_slug == ''){
2268
+ $provider_slug = sanitize_text_field($_POST['shipping_provider']);
2269
+ }
2270
+
2271
  $data_array = array(
2272
  'shipping_country' => sanitize_text_field($_POST['shipping_country']),
2273
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2274
+ 'ts_slug' => $provider_slug,
2275
  'provider_url' => sanitize_text_field($_POST['tracking_url']),
2276
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2277
  'display_in_order' => 1,
2278
  'shipping_default' => 0,
2279
  );
2280
+
2281
  $result = $wpdb->insert( $woo_shippment_table_name, $data_array );
2282
 
2283
  $status = 'custom';
2284
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 0" );
2285
  $html = $this->get_provider_html($default_shippment_providers,$status);
2286
  echo $html;exit;
2287
  }
2377
  exit;
2378
  }
2379
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2380
  /**
2381
  * Add bulk filter for Shipment status in orders list
2382
  *
2414
  </select>
2415
  <?php
2416
  }
2417
+ }
2418
 
2419
  /**
2420
  * Get the order count for orders by shipment status
2491
 
2492
  return $vars;
2493
  }
2494
+
2495
  /**
2496
+ * Process bulk filter action for shipment status orders
2497
+ *
2498
+ * @since 2.7.4
2499
+ * @param array $vars query vars without filtering
2500
+ * @return array $vars query vars with (maybe) filtering
2501
+ */
2502
+ public function filter_orders_by_tracking_number_query( $search_fields ){
2503
+ $search_fields[] = '_wc_shipment_tracking_items';
2504
+ return $search_fields;
2505
+ }
2506
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/class-wc-advanced-shipment-tracking-front.php CHANGED
@@ -80,34 +80,32 @@ class WC_Advanced_Shipment_Tracking_Front {
80
  $success_color = get_option('wc_ast_select_success_color');
81
  $warning_color = get_option('wc_ast_select_warning_color');
82
  $border_color = get_option('wc_ast_select_border_color');
83
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
 
 
84
  ?>
85
- <style>
86
-
87
- <?php if($primary_color){ ?>
88
- .bg-secondary{
89
- background-color:<?php echo $primary_color; ?> !important;
90
- }
91
- .tracker-progress-bar-with-dots .secondary .dot {
92
- border-color: <?php echo $primary_color; ?>;
93
- }
94
- .text-secondary{
95
- color: <?php echo $primary_color; ?> !important;
96
- }
97
- .progress-bar.bg-secondary:before{
98
- background-color: <?php echo $primary_color; ?>;
99
- }
100
- .tracking-number{
101
- color: <?php echo $primary_color; ?> !important;
102
- }
103
- .view_table_rows,.hide_table_rows{
104
- color: <?php echo $primary_color; ?> !important;
105
- }
106
  <?php } ?>
107
  <?php if($border_color){ ?>
108
- .col.tracking-detail{
109
- border: 1px solid <?php echo $border_color; ?>;
110
- }
111
  <?php } ?>
112
  </style>
113
  <?php
@@ -117,28 +115,26 @@ class WC_Advanced_Shipment_Tracking_Front {
117
  if(isset($_GET['order_id']) && isset($_GET['order_key'])){
118
 
119
  $order_id = $_GET['order_id'];
120
- $order = new WC_Order( $order_id );
121
  $order_key = $order->get_order_key();
122
 
123
  if($order_key != $_GET['order_key']){
124
  return;
125
  }
126
-
127
- if(!get_post_status( $order_id )){
128
  return;
129
- }
130
 
131
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
132
  $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
133
- } else {
134
- $order = new WC_Order( $order_id );
135
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
136
  }
137
 
138
  if(!$tracking_items){
139
  unset($order_id);
140
- }
141
-
142
  }
143
 
144
  ?>
@@ -207,183 +203,49 @@ class WC_Advanced_Shipment_Tracking_Front {
207
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
208
  $tracking_detail_org = json_decode($tracker->tracking_detail);
209
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
210
- }
211
-
212
- if(!empty($decoded_data)){
213
-
214
- if($tracker->est_delivery_date){
215
- $unixTimestamp = strtotime($tracker->est_delivery_date);
216
- $day = date("l", $unixTimestamp);
217
  }
218
-
219
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
220
-
221
- if($tracker->ep_status == "return_to_sender" ){
222
- $state2_class = 'return_to_sender';
223
- } elseif($tracker->ep_status == "failure"){
224
- $state2_class = 'failure';
225
- } elseif($tracker->ep_status == "available_for_pickup"){
226
- $state2_class = 'available_for_pickup';
227
- } else{
228
- $state2_class = 'out_for_delivery';
229
- }
230
- ?>
231
 
232
  <div class="tracking-detail col">
233
  <?php if($total_trackings > 1 ){ ?>
234
  <p class="shipment_heading"><?php
235
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
236
- <?php } ?>
237
- <div class="tracking-header">
238
- <div class="col-md col-md-6">
239
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
240
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
241
- <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
242
- </div>
243
- <div class="col-md col-md-6">
244
- <?php
245
- if($tracker->est_delivery_date){
246
- ?>
247
- <div class="text-muted text-right">
248
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
249
- </div>
250
- <?php } else{ ?>
251
- <div class="text-muted text-right">
252
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
253
- </div>
254
- <?php } ?>
255
- </div>
256
- </div>
257
- <?php
258
  if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted' || $tracker->ep_status == 'pending'){
259
-
260
- }
261
- elseif(isset($tracker->ep_status)){ ?>
262
- <div class="status-section desktop-section">
263
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
264
- <div class="progress">
265
- <div class="progress-bar"></div>
266
- </div>
267
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
268
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
269
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
270
- <?php
271
- if($tracker->ep_status == "unknown"){
272
- echo apply_filters("trackship_status_filter",'unknown');
273
- } else{
274
- echo apply_filters("trackship_status_filter",'pre_transit');
275
- }
276
- ?>
277
- </span>
278
-
279
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
280
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
281
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
282
- </span>
283
-
284
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
285
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
286
- <?php
287
- if($tracker->ep_status == "return_to_sender"){
288
- echo apply_filters("trackship_status_filter",'return_to_sender');
289
- } elseif($tracker->ep_status == "failure"){
290
- echo apply_filters("trackship_status_filter",'failure');
291
- } else{
292
- echo apply_filters("trackship_status_filter",'out_for_delivery');
293
- }
294
- ?>
295
- </span>
296
-
297
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
298
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
299
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
300
- </span>
301
- </div>
302
- </div>
303
- </div>
304
-
305
- <div class="status-section mobile-section">
306
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
307
- <div class="progress">
308
- <div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>"></div>
309
- </div>
310
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
311
-
312
- <div class="dot-div">
313
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
314
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
315
- <?php
316
- if($tracker->ep_status == "unknown"){
317
- echo apply_filters("trackship_status_filter",'unknown');
318
- } else{
319
- echo apply_filters("trackship_status_filter",'pre_transit');
320
- }
321
- ?>
322
- </span>
323
- </div>
324
-
325
- <div class="dot-div">
326
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
327
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
328
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
329
- </span>
330
- </div>
331
-
332
- <div class="dot-div">
333
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
334
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
335
- <?php
336
- if($tracker->ep_status == "return_to_sender"){
337
- echo apply_filters("trackship_status_filter",'return_to_sender');
338
- } elseif($tracker->ep_status == "failure"){
339
- echo apply_filters("trackship_status_filter",'failure');
340
- } else{
341
- echo apply_filters("trackship_status_filter",'out_for_delivery');
342
- }
343
- ?>
344
- </span>
345
- </div>
346
-
347
- <div class="dot-div">
348
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
349
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
350
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
351
- </span>
352
- </div>
353
-
354
- </div>
355
- </div>
356
- </div>
357
- <?php } ?>
358
- <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
359
- <div class="shipment_progress_div">
360
- <div class="shipment_progress_heading_div">
361
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
362
- </div>
363
- <table class="tracking-table">
364
- <tbody>
365
- <?php
366
- $i=0;
367
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
368
- <tr>
369
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
370
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
371
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
372
- <td><?php echo $status_detail->message; ?></td>
373
- </tr>
374
- <?php }
375
- ?>
376
- </tbody>
377
- </table>
378
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
379
-
380
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
381
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
382
- <?php } ?>
383
- </div>
384
- <?php } ?>
385
- </div>
386
- <?php } else{ ?>
387
  <div class="tracking-detail col">
388
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
389
  <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
@@ -409,39 +271,70 @@ class WC_Advanced_Shipment_Tracking_Front {
409
 
410
  global $wpdb;
411
  $wc_ast_api_key = get_option('wc_ast_api_key');
412
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
413
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
414
  if(!$wc_ast_api_key){
415
  return;
416
  }
417
 
418
- $order_id = $_POST['order_id'];
419
-
420
  $email = $_POST['order_email'];
421
 
422
  $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
423
  $order_id = $wast->get_formated_order_id($order_id);
424
 
425
- if(!get_post_status( $order_id )){
 
 
426
  echo '';
427
  exit;
428
  }
429
-
430
- $order = new WC_Order( $order_id );
431
  $order_email = $order->get_billing_email();
432
 
433
- if($order_email != $email){
434
  echo '';
435
  exit;
436
  }
437
 
438
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
439
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
440
- $order_key = get_post_meta( $order_id, 'order_key', true );
441
- } else {
442
- $order = new WC_Order( $order_id );
443
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
444
- $order_key = $order->order_key;
445
  }
446
 
447
  if(!$tracking_items){
@@ -459,7 +352,7 @@ class WC_Advanced_Shipment_Tracking_Front {
459
  $tracking_provider = $item['tracking_provider'];
460
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
461
  $tracking_provider = $results->provider_name;
462
-
463
  /*** Update in 2.4.1
464
  * Change URL
465
  * Add User Key
@@ -471,83 +364,180 @@ class WC_Advanced_Shipment_Tracking_Front {
471
  'domain' => get_home_url(),
472
  'user_key' => $wc_ast_api_key,
473
  );
474
-
475
  $response = wp_remote_post( $url, $args );
476
-
477
  $data = $response['body'];
478
  $decoded_data = json_decode($data);
479
-
480
- $tracker->ep_status = '';
481
 
482
- $tracker = $decoded_data[0];
 
 
 
 
483
 
484
  $tracking_detail_org = '';
485
  $trackind_detail_by_status_rev = '';
486
 
487
- if(!$tracker){
488
- header("Status: 404 Not Found");
489
- exit;
490
- }
491
-
492
- $tracking_detail_org = '';
493
- if($tracker->tracking_detail != 'null'){
494
- $tracking_detail_org = json_decode($tracker->tracking_detail);
495
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
496
- }
497
-
498
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
499
-
500
- if($tracker->ep_status == "return_to_sender" ){
501
- $state2_class = 'return_to_sender';
502
- } elseif($tracker->ep_status == "failure"){
503
- $state2_class = 'failure';
504
- } elseif($tracker->ep_status == "available_for_pickup"){
505
- $state2_class = 'available_for_pickup';
506
- } else{
507
- $state2_class = 'out_for_delivery';
508
- }
509
-
510
- $unixTimestamp = strtotime($decoded_data[0]->est_delivery_date);
511
-
512
- //Get the day of the week using PHP's date function.
513
- $day = date("l", $unixTimestamp);
514
- if($decoded_data){ ?>
515
 
516
  <div class="tracking-detail col">
517
  <?php if($total_trackings > 1 ){ ?>
518
  <p class="shipment_heading"><?php
519
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
520
- <?php } ?>
521
- <div class="tracking-header">
522
- <div class="col-md col-md-6">
523
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
524
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
525
- <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-success'; } else{ echo 'text-secondary'; } ?>"><?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?></h1>
526
- </div>
527
- <div class="col-md col-md-6">
528
- <?php
529
- if($tracker->est_delivery_date){
530
- ?>
531
- <div class="text-muted text-right">
532
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number"><?php echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date)); ?></span>
533
- </div>
534
- <?php } else{ ?>
535
- <div class="text-muted text-right">
536
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
537
- </div>
538
- <?php } ?>
539
- </div>
540
- </div>
541
- <?php
542
 
543
- if(isset($tracker->ep_status)){ ?>
 
 
 
544
 
545
- <div class="status-section desktop-section">
546
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
547
- <div class="progress">
548
- <div class="progress-bar"></div>
549
- </div>
550
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
552
  <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
553
  <?php
@@ -558,141 +548,248 @@ class WC_Advanced_Shipment_Tracking_Front {
558
  }
559
  ?>
560
  </span>
561
-
 
 
562
  <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
563
  <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
564
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
565
  </span>
566
-
 
 
567
  <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
568
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
569
- <?php
570
- if($tracker->ep_status == "return_to_sender"){
571
- echo apply_filters("trackship_status_filter",'return_to_sender');
572
- } elseif($tracker->ep_status == "failure"){
573
- echo apply_filters("trackship_status_filter",'failure');
574
- } else{
575
- echo apply_filters("trackship_status_filter",'out_for_delivery');
576
- }
577
- ?>
578
  </span>
579
-
 
 
580
  <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
581
  <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
582
  <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
583
  </span>
584
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
585
  </div>
 
586
  </div>
587
-
588
- <div class="status-section mobile-section">
589
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
590
- <div class="progress">
591
- <div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>"></div>
592
- </div>
593
- <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
594
-
595
- <div class="dot-div">
596
- <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
597
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
598
- <?php
599
- if($tracker->ep_status == "unknown"){
600
- echo apply_filters("trackship_status_filter",'unknown');
601
- } else{
602
- echo apply_filters("trackship_status_filter",'pre_transit');
603
- }
604
- ?>
605
- </span>
606
- </div>
607
-
608
- <div class="dot-div">
609
- <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
610
- <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
611
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
612
- </span>
613
- </div>
614
-
615
- <div class="dot-div">
616
- <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
617
- <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
618
- <?php
619
- if($tracker->ep_status == "return_to_sender"){
620
- echo apply_filters("trackship_status_filter",'return_to_sender');
621
- } elseif($tracker->ep_status == "failure"){
622
- echo apply_filters("trackship_status_filter",'failure');
623
- } else{
624
- echo apply_filters("trackship_status_filter",'out_for_delivery');
625
- }
626
- ?>
627
- </span>
628
- </div>
629
-
630
- <div class="dot-div">
631
- <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
632
- <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
633
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
634
- </span>
635
- </div>
636
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
637
  </div>
 
638
  </div>
639
- </div>
640
- <?php }
641
-
642
- if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
643
-
644
- <div class="shipment_progress_div">
645
- <div class="shipment_progress_heading_div">
646
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
 
 
 
 
 
 
 
 
 
 
 
 
647
  </div>
648
- <table class="tracking-table">
649
- <tbody>
650
- <?php
651
- $i=0;
652
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
653
- <tr>
654
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
655
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
656
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
657
- <td><?php echo $status_detail->message; ?></td>
658
- </tr>
659
- <?php }
660
- ?>
661
- </tbody>
662
- </table>
663
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
664
-
665
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
666
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
667
- <?php } ?>
668
- </div>
669
- <?php } ?>
670
-
671
  </div>
672
-
673
- <?php } else{ ?>
674
-
675
- <div class="tracking-detail col">
676
- <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
677
- <h3 class="text-center"><?php _e( 'Invalid Tracking Number', 'woo-advanced-shipment-tracking' ); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
678
  </div>
679
- <?php
680
- }
681
- $num++;
682
- }
683
-
684
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
685
-
686
- if($remove_trackship_branding != 1){ ?>
687
-
688
- <div class="trackship_branding">
689
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
690
- </div>
691
-
692
- <?php }
693
-
694
- exit;
695
- }
696
 
697
  /**
698
  * convert string to date
@@ -710,36 +807,43 @@ class WC_Advanced_Shipment_Tracking_Front {
710
  }
711
 
712
  public static function preview_tracking_page(){
713
-
714
- if($_GET['action'] != 'preview_tracking_page')return;
715
-
716
- get_header();
717
 
718
  $wc_ast_api_key = get_option('wc_ast_api_key');
719
  $primary_color = get_option('wc_ast_select_primary_color');
720
  $border_color = get_option('wc_ast_select_border_color');
721
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
 
 
722
  ?>
723
 
724
  <style>
 
 
 
725
  <?php if($primary_color){ ?>
726
  .bg-secondary{
727
- background-color:<?php echo $primary_color; ?> !important;
728
  }
729
  .tracker-progress-bar-with-dots .secondary .dot {
730
  border-color: <?php echo $primary_color; ?>;
731
  }
732
  .text-secondary{
733
- color: <?php echo $primary_color; ?> !important;
734
  }
735
  .progress-bar.bg-secondary:before{
736
  background-color: <?php echo $primary_color; ?>;
737
  }
738
  .tracking-number{
739
- color: <?php echo $primary_color; ?> !important;
740
  }
741
- .view_table_rows,.hide_table_rows{
742
- color: <?php echo $primary_color; ?> !important;
 
 
 
743
  }
744
  <?php }
745
  if($border_color){ ?>
@@ -749,118 +853,280 @@ class WC_Advanced_Shipment_Tracking_Front {
749
  <?php } ?>
750
  </style>
751
 
752
- <div class="tracking-detail col">
753
- <div class="tracking-header">
754
- <div class="col-md col-md-6">
755
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#4542</span><br>
756
- USPS: <span class="tracking-number">9405511899561468285343</span>
757
- <h1 class="shipment_status_heading text-success">Delivered</h1>
 
758
  </div>
759
- <div class="col-md col-md-6">
760
- <div class="text-muted text-right">
761
- <?php _e( 'Estimated Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <span class="tracking-number">Friday, Jun 28</span>
762
  </div>
763
  </div>
764
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
765
  <div class="status-section desktop-section">
766
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
767
  <div class="progress">
768
- <div class="progress-bar bg-success" style=""></div>
769
  </div>
770
  <div style="background-color: transparent;" class="success">
771
- <span class="dot state-0 pre_transit past-state"></span>
772
- <span class="state-label past-state">
773
- Pre Transit
774
- </span>
775
  <span class="dot state-1 in_transit past-state"></span>
776
- <span class="state-label state-1 past-state">
777
- In Transit
778
- </span>
779
- <span class="dot state-2 out_for_delivery past-state"></span>
780
- <span class="state-label state-2 past-state">
781
- Out for delivery
782
- </span>
783
- <span class="dot state-3 delivered current-state"></span>
784
- <span class="state-label state-3 current-state">
785
- Delivered </span>
786
  </div>
787
  </div>
788
  </div>
789
  <div class="status-section mobile-section">
790
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
791
- <div class="progress">
792
- <div class="progress-bar bg-success" style=""></div>
793
  </div>
794
  <div style="background-color: transparent;" class="success">
795
  <div class="dot-div">
796
- <span class="dot state-0 pre_transit past-state"></span>
797
- <span class="state-label past-state">
798
- Pre Transit
799
- </span>
800
  </div>
801
  <div class="dot-div">
802
- <span class="dot state-1 in_transit past-state"></span>
803
- <span class="state-label state-1 past-state">
804
- In Transit
805
- </span>
806
  </div>
807
  <div class="dot-div">
808
- <span class="dot state-2 out_for_delivery past-state"></span>
809
- <span class="state-label state-2 past-state">
810
- Out for delivery
811
- </span>
812
  </div>
813
  <div class="dot-div">
814
- <span class="dot state-3 delivered current-state"></span>
815
- <span class="state-label state-3 current-state">
816
- Delivered </span>
817
  </div>
818
  </div>
819
  </div>
820
- </div>
821
-
822
- <?php if($hide_tracking_events != 1){ ?>
823
 
824
- <div class="shipment_progress_div">
825
- <div class="shipment_progress_heading_div">
826
- <h4 class="tracking-number h4-heading"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
827
  </div>
828
- <table class="tracking-table">
829
- <tbody>
830
- <tr>
831
- <td>June 28, 2019 1:46 pm</td>
832
- <td>Delivered</td>
833
- <td>Delivered, Garage or Other Location at Address</td>
834
- </tr>
835
- <tr>
836
- <td>June 28, 2019 8:31 am</td>
837
- <td>Out for delivery</td>
838
- <td>Out for Delivery</td>
839
- </tr>
840
- <tr style="display: none;">
841
- <td>June 28, 2019 8:21 am</td>
842
- <td>In Transit</td>
843
- <td>Sorting Complete</td>
844
- </tr>
845
- </tbody>
846
- </table>
847
- <a class="view_table_rows" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
848
- <a class="hide_table_rows" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
849
- </div>
850
-
851
- <?php } ?>
852
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
853
  </div>
854
- <?php
855
-
856
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
857
 
858
- if($remove_trackship_branding != 1){ ?>
859
- <div class="trackship_branding">
860
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
861
  </div>
862
- <?php }
863
- get_footer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
864
  exit;
865
  }
866
  }
80
  $success_color = get_option('wc_ast_select_success_color');
81
  $warning_color = get_option('wc_ast_select_warning_color');
82
  $border_color = get_option('wc_ast_select_border_color');
83
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
84
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
85
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
86
  ?>
87
+ <style>
88
+ <?php if($primary_color){ ?>
89
+ .tracker-progress-bar-with-dots .secondary .dot {
90
+ border-color: <?php echo $primary_color; ?>;
91
+ }
92
+ .progress-bar.bg-secondary:before{
93
+ background-color: <?php echo $primary_color; ?>;
94
+ }
95
+ .tracking-number{
96
+ color: <?php echo $primary_color; ?> !important;
97
+ }
98
+ .tracking-detail.tracking-layout-2{
99
+ color: <?php echo $primary_color; ?>;
100
+ }
101
+ .tracking-detail .tracking-details{
102
+ color: <?php echo $primary_color; ?>;
103
+ }
 
 
 
 
104
  <?php } ?>
105
  <?php if($border_color){ ?>
106
+ .col.tracking-detail{
107
+ border: 1px solid <?php echo $border_color; ?>;
108
+ }
109
  <?php } ?>
110
  </style>
111
  <?php
115
  if(isset($_GET['order_id']) && isset($_GET['order_key'])){
116
 
117
  $order_id = $_GET['order_id'];
118
+ $order = wc_get_order( $order_id );
119
  $order_key = $order->get_order_key();
120
 
121
  if($order_key != $_GET['order_key']){
122
  return;
123
  }
124
+
125
+ if(empty($order)){
126
  return;
127
+ }
128
 
129
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
130
  $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
131
+ } else {
 
132
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
133
  }
134
 
135
  if(!$tracking_items){
136
  unset($order_id);
137
+ }
 
138
  }
139
 
140
  ?>
203
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
204
  $tracking_detail_org = json_decode($tracker->tracking_detail);
205
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
 
 
 
 
 
 
 
206
  }
207
+ $tracking_details_by_date = array();
208
+ foreach((array)$trackind_detail_by_status_rev as $key => $details){
209
+ if(isset($details->datetime)){
210
+ $date = date('Y-m-d', strtotime($details->datetime));
211
+ $tracking_details_by_date[$date][] = $details;
212
+ }
213
+ }
214
+
215
+ if(!empty($decoded_data)){
216
+ if($tracking_page_layout == 't_layout_1'){ ?>
 
 
 
217
 
218
  <div class="tracking-detail col">
219
  <?php if($total_trackings > 1 ){ ?>
220
  <p class="shipment_heading"><?php
221
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
222
+ <?php }
223
+ echo $this->tracking_page_header($order_id,$tracking_provider,$tracker);
224
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted' || $tracker->ep_status == 'pending'){
226
+ } elseif(isset($tracker->ep_status)){
227
+ echo $this->layout1_progress_bar($tracker);
228
+ }
229
+
230
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
231
+ echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
232
+ } ?>
233
+ </div>
234
+ <?php } else{
235
+ ?>
236
+ <div class="tracking-detail tracking-layout-2 col">
237
+ <?php if($total_trackings > 1 ){ ?>
238
+ <p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
239
+ <?php }
240
+ echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracker);
241
+ echo $layout2_progress_bar = $this->layout2_progress_bar($tracker);
242
+
243
+ if($hide_tracking_events != 1){
244
+ echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
245
+ } ?>
246
+
247
+ </div>
248
+ <?php } } else{ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
249
  <div class="tracking-detail col">
250
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
251
  <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
271
 
272
  global $wpdb;
273
  $wc_ast_api_key = get_option('wc_ast_api_key');
274
+ $primary_color = get_option('wc_ast_select_primary_color');
275
+ $success_color = get_option('wc_ast_select_success_color');
276
+ $warning_color = get_option('wc_ast_select_warning_color');
277
+ $border_color = get_option('wc_ast_select_border_color');
278
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
279
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
280
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
281
+ ?>
282
+ <style>
283
+ <?php if($primary_color){ ?>
284
+ .tracker-progress-bar-with-dots .secondary .dot {
285
+ border-color: <?php echo $primary_color; ?>;
286
+ }
287
+ .text-secondary{
288
+ color: <?php echo $primary_color; ?> !important;
289
+ }
290
+ .progress-bar.bg-secondary:before{
291
+ background-color: <?php echo $primary_color; ?>;
292
+ }
293
+ .tracking-number{
294
+ color: <?php echo $primary_color; ?> !important;
295
+ }
296
+ .tracking-detail.tracking-layout-2{
297
+ color: <?php echo $primary_color; ?>;
298
+ }
299
+ .tracking-detail .tracking-details{
300
+ color: <?php echo $primary_color; ?>;
301
+ }
302
+ <?php } ?>
303
+ <?php if($border_color){ ?>
304
+ .col.tracking-detail{
305
+ border: 1px solid <?php echo $border_color; ?>;
306
+ }
307
+ <?php } ?>
308
+ </style>
309
+ <?php
310
  if(!$wc_ast_api_key){
311
  return;
312
  }
313
 
314
+ $order_id = $_POST['order_id'];
 
315
  $email = $_POST['order_email'];
316
 
317
  $wast = WC_Advanced_Shipment_Tracking_Actions::get_instance();
318
  $order_id = $wast->get_formated_order_id($order_id);
319
 
320
+ $order = wc_get_order( $order_id );
321
+
322
+ if(empty($order)){
323
  echo '';
324
  exit;
325
  }
326
+
 
327
  $order_email = $order->get_billing_email();
328
 
329
+ if(strtolower($order_email) != strtolower($email)){
330
  echo '';
331
  exit;
332
  }
333
 
334
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
335
+ $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
336
+ } else {
337
+ $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
 
 
 
338
  }
339
 
340
  if(!$tracking_items){
352
  $tracking_provider = $item['tracking_provider'];
353
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
354
  $tracking_provider = $results->provider_name;
355
+
356
  /*** Update in 2.4.1
357
  * Change URL
358
  * Add User Key
364
  'domain' => get_home_url(),
365
  'user_key' => $wc_ast_api_key,
366
  );
 
367
  $response = wp_remote_post( $url, $args );
 
368
  $data = $response['body'];
369
  $decoded_data = json_decode($data);
 
 
370
 
371
+ $tracker = new \stdClass();
372
+ $tracker->ep_status = '';
373
+ if(!empty($decoded_data)){
374
+ $tracker = $decoded_data[0];
375
+ }
376
 
377
  $tracking_detail_org = '';
378
  $trackind_detail_by_status_rev = '';
379
 
380
+ if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
381
+ $tracking_detail_org = json_decode($tracker->tracking_detail);
 
 
 
 
 
 
382
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
383
+ }
384
+ $tracking_details_by_date = array();
385
+ foreach((array)$trackind_detail_by_status_rev as $key => $details){
386
+ if(isset($details->datetime)){
387
+ $date = date('Y-m-d', strtotime($details->datetime));
388
+ $tracking_details_by_date[$date][] = $details;
389
+ }
390
+ }
391
+
392
+ if(!empty($decoded_data)){
393
+ if($tracking_page_layout == 't_layout_1'){ ?>
 
 
 
 
 
 
 
 
394
 
395
  <div class="tracking-detail col">
396
  <?php if($total_trackings > 1 ){ ?>
397
  <p class="shipment_heading"><?php
398
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
399
+ <?php }
400
+ echo $this->tracking_page_header($order_id,$tracking_provider,$tracker);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
401
 
402
+ if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted' || $tracker->ep_status == 'pending'){
403
+ } elseif(isset($tracker->ep_status)){
404
+ echo $this->layout1_progress_bar($tracker);
405
+ }
406
 
407
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
408
+ echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
409
+ } ?>
410
+ </div>
411
+ <?php } else{ ?>
412
+ <div class="tracking-detail tracking-layout-2 col">
413
+ <?php
414
+ if($total_trackings > 1 ){ ?>
415
+ <p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
416
+ <?php }
417
+ echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracker);
418
+ echo $layout2_progress_bar = $this->layout2_progress_bar($tracker);
419
+
420
+ if($hide_tracking_events != 1){
421
+ echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
422
+ } ?>
423
+
424
+ </div>
425
+ <?php } } else{ ?>
426
+ <div class="tracking-detail col">
427
+ <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
428
+ <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
429
+ </div>
430
+ <?php }
431
+ $num++;
432
+ }
433
+
434
+ $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
435
+
436
+ if($remove_trackship_branding != 1){ ?>
437
+
438
+ <div class="trackship_branding">
439
+ <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
440
+ </div>
441
+
442
+ <?php }
443
+
444
+ exit;
445
+ }
446
+
447
+ public function tracking_page_header($order_id,$tracking_provider,$tracker){
448
+ if($tracker->est_delivery_date){
449
+ $unixTimestamp = strtotime($tracker->est_delivery_date);
450
+ $day = date("l", $unixTimestamp);
451
+ }
452
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
453
+ ?>
454
+ <div class="tracking-header tracking-desktop-header">
455
+ <div class="col-md col-md-6">
456
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span><br>
457
+ <span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracker->tracking_code; ?></strong></span>
458
+ <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered" || $tracker->ep_status == "available_for_pickup") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-warning'; } else{ echo 'text-secondary'; } ?>">
459
+ <?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
460
+ </h1>
461
+ <span class="tracking-number">
462
+ <?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
463
+ <?php
464
+ if($tracker->est_delivery_date){
465
+ echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
466
+ } else{
467
+ echo 'N/A';
468
+ } ?></strong>
469
+ </span>
470
+ </div>
471
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
472
+ <div class="text-right">
473
+ <img class="provider_image" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($tracking_provider); ?>.png">
474
+ </div>
475
+ </div>
476
+ </div>
477
+ <div class="tracking-header tracking-mobile-header">
478
+ <div class="d-flex align-items-center header_top1">
479
+ <div class="header_top_left">
480
+ <img class="provider_image" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/<?php echo sanitize_title($tracking_provider); ?>.png">
481
+ </div>
482
+ <div class="header_top_right">
483
+ <span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracker->tracking_code; ?></strong></span><br>
484
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span>
485
+ </div>
486
+ </div>
487
+ <div class="col-md col-md-6 header_top2">
488
+ <h1 class="shipment_status_heading <?php if($tracker->ep_status == "delivered") { echo 'text-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure") { echo 'text-warning'; } else{ echo 'text-secondary'; } ?>">
489
+ <?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
490
+ </h1>
491
+ <span class="tracking-number">
492
+ <?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
493
+ <?php
494
+ if($tracker->est_delivery_date){
495
+ echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
496
+ } else{
497
+ echo 'N/A';
498
+ } ?></strong>
499
+ </span>
500
+ </div>
501
+ </div>
502
+ <?php }
503
+
504
+ public function layout1_progress_bar($tracker){
505
+ if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
506
+
507
+ if($tracker->ep_status == "return_to_sender" ){
508
+ $state2_class = 'return_to_sender';
509
+ } elseif($tracker->ep_status == "failure"){
510
+ $state2_class = 'failure';
511
+ } elseif($tracker->ep_status == "available_for_pickup"){
512
+ $state2_class = 'available_for_pickup';
513
+ } else{
514
+ $state2_class = 'out_for_delivery';
515
+ }
516
+ ?>
517
+ <div class="status-section desktop-section">
518
+ <div class="tracker-progress-bar tracker-progress-bar-with-dots">
519
+ <div class="progress">
520
+ <div class="progress-bar <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-success';} ?>" style="<?php if($tracker->ep_status == "in_transit") { echo 'width:33%;'; } elseif($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'width:67%';} elseif($tracker->ep_status == "delivered") { echo 'width:100%'; } ?>"></div>
521
+ </div>
522
+ <div class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
523
+ <span class="dot state-0 <?php echo $state0_class; echo ' '; if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
524
+
525
+ <span class="dot state-1 <?php echo 'in_transit'; echo ' '; if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
526
+
527
+ <span class="dot state-2 <?php echo $state2_class; echo ' '; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
528
+
529
+ <span class="dot state-3 <?php echo 'delivered'; echo ' '; if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; } ?>"></span>
530
+
531
+ </div>
532
+ </div>
533
+ </div>
534
+ <div class="status-section mobile-section">
535
+ <div class="tracker-progress-bar tracker-progress-bar-with-dots">
536
+ <div class="progress <?php if($tracker->ep_status == "delivered") { echo 'bg-success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'bg-warning'; } else{ echo 'bg-secondary';} ?>" style="<?php if($tracker->ep_status == "in_transit") { echo 'height:33%;'; } elseif($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'height:67%';} elseif($tracker->ep_status == "delivered") { echo 'height:100%'; } ?>">
537
+ <div class="progress-bar" style=""></div>
538
+ </div>
539
+ <div style="background-color: transparent;" class="<?php if($tracker->ep_status == "delivered") { echo 'success'; } elseif($tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure" || $tracker->ep_status == "unknown") { echo 'warning'; } else{ echo 'secondary';} ?>">
540
+ <div class="dot-div">
541
  <span class="dot state-0 <?php echo $state0_class?> <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo ' current-state'; } else{ echo 'past-state';} ?>"></span>
542
  <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
543
  <?php
548
  }
549
  ?>
550
  </span>
551
+ </div>
552
+
553
+ <div class="dot-div">
554
  <span class="dot state-1 in_transit <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>"></span>
555
  <span class="state-label state-1 <?php if($tracker->ep_status == "in_transit"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown"){ echo 'future-state'; } else{ echo 'past-state'; } ?>">
556
+ <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
557
  </span>
558
+ </div>
559
+
560
+ <div class="dot-div">
561
  <span class="dot state-2 <?php echo $state2_class; if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo ' current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo ' future-state'; } else{ echo ' past-state'; } ?>"></span>
562
+ <span class="state-label state-2 <?php if($tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "failure" || $tracker->ep_status == "return_to_sender"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit"){ echo 'future-state'; } else{ echo ' past-state'; } ?>">
563
+ <?php
564
+ if($tracker->ep_status == "return_to_sender"){
565
+ echo apply_filters("trackship_status_filter",'return_to_sender');
566
+ } elseif($tracker->ep_status == "failure"){
567
+ echo apply_filters("trackship_status_filter",'failure');
568
+ } else{
569
+ echo apply_filters("trackship_status_filter",'out_for_delivery');
570
+ }
571
+ ?>
572
  </span>
573
+ </div>
574
+
575
+ <div class="dot-div">
576
  <span class="dot state-3 delivered <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>"></span>
577
  <span class="state-label state-3 <?php if($tracker->ep_status == "delivered"){ echo 'current-state'; } elseif($tracker->ep_status == "pre_transit" || $tracker->ep_status =="unknown" || $tracker->ep_status == "in_transit" || $tracker->ep_status == "out_for_delivery" || $tracker->ep_status == "available_for_pickup" || $tracker->ep_status == "return_to_sender" || $tracker->ep_status == "failure"){ echo 'future-state'; }?>">
578
  <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
579
  </span>
580
+ </div>
581
+ </div>
582
+ </div>
583
+ </div>
584
+ <?php }
585
+
586
+ public function layout2_progress_bar($tracker){
587
+ if($tracker->ep_status == 'pending_trackship' || $tracker->ep_status == 'INVALID_TRACKING_NUM' || $tracker->ep_status == 'carrier_unsupported' || $tracker->ep_status == 'invalid_user_key' || $tracker->ep_status == 'wrong_shipping_provider' || $tracker->ep_status == 'deleted' || $tracker->ep_status == 'pending' || $tracker->ep_status == 'unknown' || $tracker->ep_status == 'pre_transit'){
588
+ $width = '0';
589
+ $progress_bar_class = 'bg-secondary';
590
+ } else if($tracker->ep_status == 'in_transit'){
591
+ $width = '33%';
592
+ $progress_bar_class = 'bg-secondary';
593
+ } else if($tracker->ep_status == 'out_for_delivery'){
594
+ $width = '67%';
595
+ $progress_bar_class = 'bg-secondary';
596
+ } else if($tracker->ep_status == 'available_for_pickup'){
597
+ $width = '67%';
598
+ $progress_bar_class = 'bg-success';
599
+ } else if($tracker->ep_status == 'return_to_sender'){
600
+ $width = '67%';
601
+ $progress_bar_class = 'bg-warning';
602
+ } else if($tracker->ep_status == 'delivered'){
603
+ $width = '100%';
604
+ $progress_bar_class = 'bg-success';
605
+ }
606
+ ?>
607
+ <div class="tracker-progress-bar tracker-progress-bar-flat">
608
+ <div class="progress">
609
+ <div class="progress-bar <?php echo $progress_bar_class; ?>" style="width: <?php echo $width; ?>;"></div>
610
+ </div>
611
+ </div>
612
+ <?php }
613
+
614
+ public function layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){
615
+ ?>
616
+ <div class="tracking-details" style="">
617
+ <div class="shipment_progress_heading_div">
618
+ <h4 class="tracking-number h4-heading text-uppercase"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
619
+ </div>
620
+ <?php if(!empty($tracking_details_by_date)){ ?>
621
+ <div class="tracking_details_desktop">
622
+ <div class="tracking_group_by_date">
623
+ <?php
624
+ $a = 1;
625
+ foreach($tracking_details_by_date as $date => $date_details){
626
+ if($a > 1)break;
627
+ foreach($date_details as $key => $value){
628
+ ?>
629
+ <div class="d-flex mb-3">
630
+ <div class="d-md-flex w-100">
631
+ <div class="date text-uppercase font-weight-demi-bold"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
632
+ <div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
633
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
634
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
635
+ </div>
636
+ </div>
637
+ <?php } $a++; } ?>
638
+ </div>
639
+ <div class="old-details" style="">
640
+ <?php
641
+ $a = 1;
642
+ foreach($tracking_details_by_date as $date => $date_details){
643
+ if($a == 1){
644
+ $a++;
645
+ continue;
646
+ } ?>
647
+ <div class="tracking_group_by_date">
648
+ <?php foreach($date_details as $key => $value){ ?>
649
+ <div class="d-flex mb-3">
650
+ <div class="d-md-flex w-100">
651
+ <div class="date text-uppercase font-weight-demi-bold"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
652
+ <div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
653
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
654
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
655
+ </div>
656
+ </div>
657
+ <?php } ?>
658
  </div>
659
+ <?php } ?>
660
  </div>
661
+ </div>
662
+ <div class="tracking_details_mobile">
663
+ <?php
664
+ $a = 1;
665
+ foreach($tracking_details_by_date as $date => $date_details){
666
+ if($a > 1)break;
667
+ foreach($date_details as $key => $value){ ?>
668
+ <div class="d-flex mb-3 tracking_details_mobile_row">
669
+ <div class="d-md-flex w-100">
670
+ <div class="time mr-md-2"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
671
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
672
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
673
+ </div>
674
+ </div>
675
+ <?php }
676
+ $a++;
677
+ }
678
+ ?>
679
+ <div class="old-details" style="">
680
+ <?php
681
+ $a = 1;
682
+ foreach($tracking_details_by_date as $date => $date_details){
683
+ if($a == 1){
684
+ $a++;
685
+ continue;
686
+ }
687
+ foreach($date_details as $key => $value){
688
+ ?>
689
+ <div class="d-flex mb-3 tracking_details_mobile_row">
690
+ <div class="d-md-flex w-100">
691
+ <div class="time mr-md-2"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
692
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
693
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
694
+ </div>
695
+ </div>
696
+ <?php } } ?>
697
+ </div>
698
+ </div>
699
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
700
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
701
+ <?php } ?>
702
+ </div>
703
+ <?php }
704
+
705
+ public function layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){ ?>
706
+ <div class="tracking-details">
707
+ <div class="shipment_progress_heading_div">
708
+ <h4 class="tracking-number h4-heading text-uppercase" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
709
+ </div>
710
+ <div class="tracking_details_desktop">
711
+ <?php
712
+ $a = 1;
713
+ foreach($tracking_details_by_date as $date => $date_details){
714
+ if($a > 1)break;
715
+ ?>
716
+ <div class="tracking_group_by_date">
717
+ <div class="date text-uppercase font-weight-bold mb-3"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
718
+ <?php foreach($date_details as $key => $value){ ?>
719
+ <div class="d-flex mb-3">
720
+ <div class="d-md-flex w-100">
721
+ <div class="time mr-md-2"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
722
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
723
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
724
+ </div>
725
  </div>
726
+ <?php } ?>
727
  </div>
728
+ <?php $a++; } ?>
729
+ <div class="old-details" style="">
730
+ <?php
731
+ $a = 1;
732
+ foreach($tracking_details_by_date as $date => $date_details){
733
+ if($a == 1){
734
+ $a++;
735
+ continue;
736
+ } ?>
737
+ <div class="tracking_group_by_date">
738
+ <div class="date text-uppercase font-weight-bold mb-3"><?php echo date( 'F j, Y', strtotime($date)); ?></div>
739
+ <?php foreach($date_details as $key => $value){ ?>
740
+ <div class="d-flex mb-3">
741
+ <div class="d-md-flex w-100">
742
+ <div class="time text-gray-300 mr-md-2 text-success"><?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
743
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
744
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
745
+ </div>
746
+ </div>
747
+ <?php } ?>
748
  </div>
749
+ <?php } ?>
750
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  </div>
752
+ <div class="tracking_details_mobile">
753
+ <?php
754
+ $a = 1;
755
+ foreach($tracking_details_by_date as $date => $date_details){
756
+ if($a > 1)break;
757
+ foreach($date_details as $key => $value){ ?>
758
+ <div class="d-flex mb-3 tracking_details_mobile_row">
759
+ <div class="d-md-flex w-100">
760
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
761
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
762
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
763
+ </div>
764
+ </div>
765
+ <?php }
766
+ $a++;
767
+ }
768
+ ?>
769
+ <div class="old-details" style="">
770
+ <?php
771
+ $a = 1;
772
+ foreach($tracking_details_by_date as $date => $date_details){
773
+ if($a == 1){
774
+ $a++;
775
+ continue;
776
+ }
777
+ foreach($date_details as $key => $value){
778
+ ?>
779
+ <div class="d-flex mb-3 tracking_details_mobile_row">
780
+ <div class="d-md-flex w-100">
781
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase"><?php echo date( 'F j, Y', strtotime($date)); ?></span> <?php echo date( 'g:i a', strtotime($value->datetime)); ?></div>
782
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
783
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
784
+ </div>
785
+ </div>
786
+ <?php } } ?>
787
+ </div>
788
  </div>
789
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
790
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
791
+ </div>
792
+ <?php }
 
 
 
 
 
 
 
 
 
 
 
 
 
793
 
794
  /**
795
  * convert string to date
807
  }
808
 
809
  public static function preview_tracking_page(){
810
+ $action = (isset($_REQUEST["action"])?$_REQUEST["action"]:"");
811
+ if($action != 'preview_tracking_page')return;
812
+ wp_head();
 
813
 
814
  $wc_ast_api_key = get_option('wc_ast_api_key');
815
  $primary_color = get_option('wc_ast_select_primary_color');
816
  $border_color = get_option('wc_ast_select_border_color');
817
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
818
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
819
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
820
  ?>
821
 
822
  <style>
823
+ html{
824
+ background-color:#fff;
825
+ }
826
  <?php if($primary_color){ ?>
827
  .bg-secondary{
828
+ background-color:<?php echo $primary_color; ?>;
829
  }
830
  .tracker-progress-bar-with-dots .secondary .dot {
831
  border-color: <?php echo $primary_color; ?>;
832
  }
833
  .text-secondary{
834
+ color: <?php echo $primary_color; ?>;
835
  }
836
  .progress-bar.bg-secondary:before{
837
  background-color: <?php echo $primary_color; ?>;
838
  }
839
  .tracking-number{
840
+ color: <?php echo $primary_color; ?>;
841
  }
842
+ .tracking-detail .tracking-number{
843
+ color: <?php echo $primary_color; ?>;
844
+ }
845
+ .tracking-detail.tracking-layout-2{
846
+ color: <?php echo $primary_color; ?>;
847
  }
848
  <?php }
849
  if($border_color){ ?>
853
  <?php } ?>
854
  </style>
855
 
856
+ <div class="tracking-detail tracking-layout-1 col" style="<?php if($tracking_page_layout != 't_layout_1'){ echo 'display:none;'; } ?>">
857
+ <div class="tracking-header tracking-desktop-header">
858
+ <div class="col-md col-md-6">
859
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
860
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
861
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
862
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
863
  </div>
864
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
865
+ <div class="text-right">
866
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
867
  </div>
868
  </div>
869
  </div>
870
+ <div class="tracking-header tracking-mobile-header">
871
+ <div class="d-flex align-items-center header_top1">
872
+ <div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
873
+ <div class="header_top_right">
874
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
875
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
876
+ </div>
877
+ </div>
878
+ <div class="col-md col-md-6 header_top2">
879
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
880
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
881
+ </div>
882
+ </div>
883
  <div class="status-section desktop-section">
884
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
885
  <div class="progress">
886
+ <div class="progress-bar bg-success bg-success" style="width:67%"></div>
887
  </div>
888
  <div style="background-color: transparent;" class="success">
889
+ <span class="dot state-0 pre_transit past-state"></span>
890
+
 
 
891
  <span class="dot state-1 in_transit past-state"></span>
892
+
893
+ <span class="dot state-2 out_for_delivery current-state"></span>
894
+
895
+ <span class="dot state-3 delivered future-state"></span>
896
+
 
 
 
 
 
897
  </div>
898
  </div>
899
  </div>
900
  <div class="status-section mobile-section">
901
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
902
+ <div class="progress bg-success" style="height: 62%;">
903
+ <div class="progress-bar" style=""></div>
904
  </div>
905
  <div style="background-color: transparent;" class="success">
906
  <div class="dot-div">
907
+ <span class="dot state-0 pre_transit past-state"></span>
908
+ <span class="state-label past-state">Pre Transit</span>
 
 
909
  </div>
910
  <div class="dot-div">
911
+ <span class="dot state-1 in_transit past-state"></span>
912
+ <span class="state-label state-1 past-state">In Transit</span>
 
 
913
  </div>
914
  <div class="dot-div">
915
+ <span class="dot state-2 out_for_delivery current-state"></span>
916
+ <span class="state-label state-2 past-state">Out for delivery</span>
 
 
917
  </div>
918
  <div class="dot-div">
919
+ <span class="dot state-3 delivered future-state"></span>
920
+ <span class="state-label state-3 current-state">Delivered</span>
 
921
  </div>
922
  </div>
923
  </div>
924
+ </div>
 
 
925
 
926
+ <div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
927
+ <div class="shipment_progress_heading_div">
928
+ <h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
929
  </div>
930
+ <div class="tracking_details_desktop">
931
+ <div class="tracking_group_by_date">
932
+ <div class="d-flex mb-3">
933
+ <div class="d-md-flex w-100">
934
+ <div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
935
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
936
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
937
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
938
+ </div>
939
+ </div>
940
+ <div class="d-flex mb-3">
941
+ <div class="d-md-flex w-100">
942
+ <div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
943
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
944
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
945
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
946
+ </div>
947
+ </div>
948
+ </div>
949
+ <div class="old-details" style="">
950
+ <div class="tracking_group_by_date">
951
+ <div class="d-flex mb-3">
952
+ <div class="d-md-flex w-100">
953
+ <div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
954
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
955
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
956
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
957
+ </div>
958
+ </div>
959
+ <div class="d-flex mb-3">
960
+ <div class="d-md-flex w-100">
961
+ <div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
962
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
963
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
964
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
965
+ </div>
966
+ </div>
967
+ </div>
968
+ </div>
969
+ </div>
970
+ <div class="tracking_details_mobile">
971
+ <div class="d-flex mb-3 tracking_details_mobile_row">
972
+ <div class="d-md-flex w-100">
973
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
974
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
975
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
976
+ </div>
977
+ </div>
978
+ <div class="d-flex mb-3 tracking_details_mobile_row">
979
+ <div class="d-md-flex w-100">
980
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
981
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
982
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
983
+ </div>
984
+ </div>
985
+ <div class="old-details" style="">
986
+ <div class="tracking_group_by_date">
987
+ <div class="d-flex mb-3 tracking_details_mobile_row">
988
+ <div class="d-md-flex w-100">
989
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
990
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
991
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
992
+ </div>
993
+ </div>
994
+ <div class="d-flex mb-3 tracking_details_mobile_row">
995
+ <div class="d-md-flex w-100">
996
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
997
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
998
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
999
+ </div>
1000
+ </div>
1001
+ </div>
1002
+ </div>
1003
+ </div>
1004
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
1005
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
1006
+ </div>
1007
  </div>
 
 
 
1008
 
1009
+ <div class="tracking-detail tracking-layout-2 col" style="<?php if($tracking_page_layout != 't_layout_2'){ echo 'display:none;'; } ?>">
1010
+ <div class="tracking-header tracking-desktop-header">
1011
+ <div class="col-md col-md-6">
1012
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
1013
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
1014
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
1015
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
1016
+ </div>
1017
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
1018
+ <div class="text-right">
1019
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
1020
+ </div>
1021
+ </div>
1022
+ </div>
1023
+ <div class="tracking-header tracking-mobile-header">
1024
+ <div class="d-flex align-items-center header_top1">
1025
+ <div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
1026
+ <div class="header_top_right">
1027
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
1028
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
1029
+ </div>
1030
+ </div>
1031
+ <div class="col-md col-md-6 header_top2">
1032
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
1033
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
1034
+ </div>
1035
  </div>
1036
+
1037
+ <div class="tracker-progress-bar tracker-progress-bar-flat">
1038
+ <div class="progress">
1039
+ <div class="progress-bar bg-success" style="width: 67%;"></div>
1040
+ </div>
1041
+ </div>
1042
+ <div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
1043
+ <div class="shipment_progress_heading_div">
1044
+ <h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
1045
+ </div>
1046
+ <div class="tracking_details_desktop">
1047
+ <div class="tracking_group_by_date">
1048
+ <div class="date text-uppercase font-weight-bold mb-3">December 23, 2019</div>
1049
+ <div class="d-flex mb-3">
1050
+ <div class="d-md-flex w-100">
1051
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
1052
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
1053
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1054
+ </div>
1055
+ </div>
1056
+ <div class="d-flex mb-3">
1057
+ <div class="d-md-flex w-100">
1058
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
1059
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1060
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1061
+ </div>
1062
+ </div>
1063
+ </div>
1064
+ <div class="old-details" style="">
1065
+ <div class="tracking_group_by_date">
1066
+ <div class="date text-uppercase font-weight-bold mb-3">December 22, 2019</div>
1067
+ <div class="d-flex mb-3">
1068
+ <div class="d-md-flex w-100">
1069
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
1070
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
1071
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1072
+ </div>
1073
+ </div>
1074
+ <div class="d-flex mb-3">
1075
+ <div class="d-md-flex w-100">
1076
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
1077
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1078
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1079
+ </div>
1080
+ </div>
1081
+ </div>
1082
+ </div>
1083
+ </div>
1084
+ <div class="tracking_details_mobile">
1085
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1086
+ <div class="d-md-flex w-100">
1087
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
1088
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
1089
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1090
+ </div>
1091
+ </div>
1092
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1093
+ <div class="d-md-flex w-100">
1094
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
1095
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1096
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1097
+ </div>
1098
+ </div>
1099
+ <div class="old-details" style="">
1100
+ <div class="tracking_group_by_date">
1101
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1102
+ <div class="d-md-flex w-100">
1103
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
1104
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
1105
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1106
+ </div>
1107
+ </div>
1108
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1109
+ <div class="d-md-flex w-100">
1110
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
1111
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1112
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1113
+ </div>
1114
+ </div>
1115
+ </div>
1116
+ </div>
1117
+ </div>
1118
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
1119
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
1120
+ </div>
1121
+ </div>
1122
+ <?php
1123
+ $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
1124
+ ?>
1125
+ <div class="trackship_branding" style="<?php if($remove_trackship_branding == 1){ echo 'display:none'; }?>">
1126
+ <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
1127
+ </div>
1128
+ <?php
1129
+ //wp_footer();
1130
  exit;
1131
  }
1132
  }
includes/class-wc-advanced-shipment-tracking-install.php CHANGED
@@ -54,11 +54,19 @@ class WC_Advanced_Shipment_Tracking_Install {
54
  * init from parent mail class
55
  */
56
  public function init(){
57
- add_action( 'init', array( $this, 'update_database_check'));
 
58
  $wc_ast_api_key = get_option('wc_ast_api_key');
 
 
 
 
 
 
 
 
59
  if(!$wc_ast_api_key){
60
- //require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
61
- //add_action( 'admin_init', array( 'PAnD', 'init' ) );
62
  //add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
63
  }
64
  }
@@ -76,6 +84,9 @@ class WC_Advanced_Shipment_Tracking_Install {
76
 
77
  global $wpdb;
78
 
 
 
 
79
  $woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
80
  $woo_shippment_status_email_table = $wpdb->prefix . 'woo_shipment_status_email';
81
  // create the ECPT metabox database table
@@ -1502,6 +1513,33 @@ class WC_Advanced_Shipment_Tracking_Install {
1502
  $this->update_shipping_providers();
1503
  update_option( 'wc_advanced_shipment_tracking', '3.3');
1504
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1505
  }
1506
  }
1507
 
@@ -1512,82 +1550,191 @@ class WC_Advanced_Shipment_Tracking_Install {
1512
  global $wpdb;
1513
  $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
1514
  $resp = wp_remote_get( $url );
1515
- $providers = json_decode($resp['body'],true);
1516
-
1517
- $providers_name = array();
1518
 
1519
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
1520
 
1521
- foreach ( $default_shippment_providers as $key => $val ){
1522
- $shippment_providers[ $val->provider_name ] = $val;
1523
- }
1524
-
1525
- foreach ( $providers as $key => $val ){
1526
- $providers_name[ $val['provider_name'] ] = $val;
1527
- }
1528
-
1529
- foreach($providers as $provider){
1530
 
1531
- $provider_name = $provider['shipping_provider'];
1532
- $provider_url = $provider['provider_url'];
1533
- $shipping_country = $provider['shipping_country'];
1534
- $ts_slug = $provider['shipping_provider_slug'];
1535
 
1536
- if(isset($shippment_providers[$provider_name])){
1537
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
1538
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
1539
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
1540
- if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
1541
- $data_array = array(
1542
- 'ts_slug' => $ts_slug,
1543
- 'provider_url' => $provider_url,
1544
- 'shipping_country' => $shipping_country,
1545
- );
1546
- $where_array = array(
1547
- 'provider_name' => $provider_name,
1548
- );
1549
- $wpdb->update( $this->table, $data_array, $where_array);
1550
- }
1551
- } else{
1552
- $img_url = $provider['img_url'];
1553
- $img_slug = sanitize_title($provider_name);
1554
- $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
1555
-
1556
- $ch = curl_init();
1557
-
1558
- curl_setopt($ch, CURLOPT_HEADER, 0);
1559
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1560
- curl_setopt($ch, CURLOPT_URL, $img_url);
1561
 
1562
- $data = curl_exec($ch);
1563
- curl_close($ch);
 
 
 
 
1564
 
1565
- file_put_contents($img, $data);
1566
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1567
 
1568
- $data_array = array(
1569
- 'shipping_country' => sanitize_text_field($shipping_country),
1570
- 'provider_name' => sanitize_text_field($provider_name),
1571
- 'ts_slug' => $ts_slug,
1572
- 'provider_url' => sanitize_text_field($provider_url),
1573
- 'display_in_order' => 0,
1574
- 'shipping_default' => 1,
1575
- );
1576
- $result = $wpdb->insert( $this->table, $data_array );
 
 
1577
  }
1578
- }
1579
- foreach($default_shippment_providers as $db_provider){
1580
-
1581
- if(!isset($providers_name[$db_provider->provider_name])){
1582
- $where = array(
1583
- 'provider_name' => $db_provider->provider_name,
1584
- 'shipping_default' => 1
1585
- );
1586
- $wpdb->delete( $this->table, $where );
1587
  }
1588
- }
1589
  }
1590
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1591
  /*
1592
  * Display admin notice on plugin install or update
1593
  */
@@ -1694,5 +1841,234 @@ class WC_Advanced_Shipment_Tracking_Install {
1694
  </div>
1695
  </div>
1696
  <?php
1697
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1698
  }
54
  * init from parent mail class
55
  */
56
  public function init(){
57
+ add_action( 'init', array( $this, 'update_database_check'));
58
+ add_action( 'wp_ajax_ast_hide_admin_menu_tooltip', array( $this, 'ast_mark_admin_menu_tooltip_hidden') );
59
  $wc_ast_api_key = get_option('wc_ast_api_key');
60
+
61
+ require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
62
+ add_action( 'admin_init', array( 'PAnD', 'init' ) );
63
+
64
+ if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
65
+ add_action( 'admin_notices', array( $this, 'admin_notice_for_addon' ) );
66
+ }
67
+
68
  if(!$wc_ast_api_key){
69
+ add_action( 'adminmenu', array( $this, 'admin_notice_menu_tooltip') );
 
70
  //add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
71
  }
72
  }
84
 
85
  global $wpdb;
86
 
87
+ // Add transient to trigger redirect.
88
+ set_transient( '_ast_activation_redirect', 1, 30 );
89
+
90
  $woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
91
  $woo_shippment_status_email_table = $wpdb->prefix . 'woo_shipment_status_email';
92
  // create the ECPT metabox database table
1513
  $this->update_shipping_providers();
1514
  update_option( 'wc_advanced_shipment_tracking', '3.3');
1515
  }
1516
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.4', '<') ){
1517
+ $multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
1518
+ $data_array = array('completed' => 1);
1519
+ if($multi_checkbox_data){
1520
+ $data_array = array_merge($multi_checkbox_data,$data_array);
1521
+ }
1522
+ update_option( 'wc_ast_unclude_tracking_info', $data_array );
1523
+ update_option( 'wc_advanced_shipment_tracking', '3.4');
1524
+ }
1525
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.5', '<') ){
1526
+ $multi_checkbox_data = get_option('wc_ast_unclude_tracking_info');
1527
+ $data_array = array('partial-shipped' => 1);
1528
+ if($multi_checkbox_data){
1529
+ $data_array = array_merge($multi_checkbox_data,$data_array);
1530
+ }
1531
+ update_option( 'wc_ast_unclude_tracking_info', $data_array );
1532
+ update_option( 'wc_advanced_shipment_tracking', '3.5');
1533
+ }
1534
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.6', '<') ){
1535
+ set_theme_mod('display_shipment_provider_name', 1);
1536
+ set_theme_mod('select_tracking_template', 'default_table');
1537
+ set_theme_mod('simple_provider_font_size', '14');
1538
+ set_theme_mod('simple_provider_font_color', '#575f6d');
1539
+ set_theme_mod('show_provider_border', 1);
1540
+ set_theme_mod('provider_border_color', '#e0e0e0');
1541
+ update_option( 'wc_advanced_shipment_tracking', '3.6');
1542
+ }
1543
  }
1544
  }
1545
 
1550
  global $wpdb;
1551
  $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
1552
  $resp = wp_remote_get( $url );
 
 
 
1553
 
1554
+ if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
1555
 
1556
+ $providers = json_decode($resp['body'],true);
 
 
 
 
 
 
 
 
1557
 
1558
+ $providers_name = array();
 
 
 
1559
 
1560
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
1561
+
1562
+ foreach ( $default_shippment_providers as $key => $val ){
1563
+ $shippment_providers[ $val->provider_name ] = $val;
1564
+ }
1565
+
1566
+ foreach ( $providers as $key => $val ){
1567
+ $providers_name[ $val['provider_name'] ] = $val;
1568
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1569
 
1570
+ foreach($providers as $provider){
1571
+
1572
+ $provider_name = $provider['shipping_provider'];
1573
+ $provider_url = $provider['provider_url'];
1574
+ $shipping_country = $provider['shipping_country'];
1575
+ $ts_slug = $provider['shipping_provider_slug'];
1576
 
1577
+ if(isset($shippment_providers[$provider_name])){
1578
+ $db_provider_url = $shippment_providers[$provider_name]->provider_url;
1579
+ $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
1580
+ $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
1581
+ if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
1582
+ $data_array = array(
1583
+ 'ts_slug' => $ts_slug,
1584
+ 'provider_url' => $provider_url,
1585
+ 'shipping_country' => $shipping_country,
1586
+ );
1587
+ $where_array = array(
1588
+ 'provider_name' => $provider_name,
1589
+ );
1590
+ $wpdb->update( $this->table, $data_array, $where_array);
1591
+ }
1592
+ } else{
1593
+ $img_url = $provider['img_url'];
1594
+ $img_slug = sanitize_title($provider_name);
1595
+ $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
1596
+
1597
+ $ch = curl_init();
1598
+
1599
+ curl_setopt($ch, CURLOPT_HEADER, 0);
1600
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
1601
+ curl_setopt($ch, CURLOPT_URL, $img_url);
1602
+
1603
+ $data = curl_exec($ch);
1604
+ curl_close($ch);
1605
+
1606
+ file_put_contents($img, $data);
1607
 
1608
+
1609
+ $data_array = array(
1610
+ 'shipping_country' => sanitize_text_field($shipping_country),
1611
+ 'provider_name' => sanitize_text_field($provider_name),
1612
+ 'ts_slug' => $ts_slug,
1613
+ 'provider_url' => sanitize_text_field($provider_url),
1614
+ 'display_in_order' => 0,
1615
+ 'shipping_default' => 1,
1616
+ );
1617
+ $result = $wpdb->insert( $this->table, $data_array );
1618
+ }
1619
  }
1620
+ foreach($default_shippment_providers as $db_provider){
1621
+
1622
+ if(!isset($providers_name[$db_provider->provider_name])){
1623
+ $where = array(
1624
+ 'provider_name' => $db_provider->provider_name,
1625
+ 'shipping_default' => 1
1626
+ );
1627
+ $wpdb->delete( $this->table, $where );
1628
+ }
1629
  }
1630
+ }
1631
  }
1632
+
1633
+ /*
1634
+ * Display admin notice addons
1635
+ */
1636
+ public function admin_notice_for_addon(){
1637
+ if ( ! PAnD::is_admin_notice_active( 'disable-ast-addon-forever' ) ) {
1638
+ return;
1639
+ }
1640
+ ?>
1641
+ <style>
1642
+ .notice.addon-admin-notice {
1643
+ padding: 20px;
1644
+ background: #F6FBFF;
1645
+ border: 1px solid #eee;
1646
+ border-left: 4px solid #005B9A !important;
1647
+ }
1648
+ .rtl .notice.addon-admin-notice {
1649
+ border-right-color: #83bd31 !important;
1650
+ }
1651
+ .notice.addon-admin-notice .ast-admin-notice-inner {
1652
+ display: table;
1653
+ width: 100%;
1654
+ }
1655
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1656
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
1657
+ .notice.addon-admin-notice .ast-admin-notice-inner .trackship-install-now {
1658
+ display: table-cell;
1659
+ vertical-align: middle;
1660
+ }
1661
+ .notice.addon-admin-notice .ast-admin-notice-icon {
1662
+ color: #83bd31;
1663
+ }
1664
+ .notice.addon-admin-notice .ast-admin-notice-icon .notice-logo{
1665
+ width: 200px;
1666
+ }
1667
+ .notice.addon-admin-notice .ast-admin-notice-content {
1668
+ padding: 0 20px;
1669
+ }
1670
+ .notice.addon-admin-notice p {
1671
+ padding: 0;
1672
+ margin: 0;
1673
+ }
1674
+ .notice.addon-admin-notice h3 {
1675
+ margin: 0 0 5px;
1676
+ color: #005B9A;
1677
+ }
1678
+ .notice.addon-admin-notice .trackship-install-now {
1679
+ text-align: center;
1680
+ }
1681
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button {
1682
+ padding: 5px 30px;
1683
+ height: auto;
1684
+ line-height: 20px;
1685
+ text-transform: capitalize;
1686
+ }
1687
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1688
+ padding-right: 5px;
1689
+ }
1690
+ .rtl .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1691
+ padding-right: 0;
1692
+ padding-left: 5px;
1693
+ }
1694
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button:active {
1695
+ transform: translateY(1px);
1696
+ }
1697
+ .addon-admin-notice .notice-dismiss:before{
1698
+ color: #005B9A;
1699
+ font: normal 20px/20px dashicons;
1700
+ }
1701
+ .wp-core-ui .btn_blue {
1702
+ background: #005B9A;
1703
+ text-shadow: none;
1704
+ border-color: #005B9A;
1705
+ box-shadow: none;
1706
+ font-size: 14px;
1707
+ line-height: 32px;
1708
+ height: 35px;
1709
+ padding: 0 20px;
1710
+ }
1711
+ .wp-core-ui .btn_blue:hover, .wp-core-ui .btn_blue:focus {
1712
+ background: #005B9A;
1713
+ border-color: rgba(0,0,0,0.05);
1714
+ color: #fff;
1715
+ text-shadow: none;
1716
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1717
+ }
1718
+ </style>
1719
+ <div data-dismissible="disable-ast-addon-forever" class="notice updated is-dismissible addon-admin-notice">
1720
+ <div class="ast-admin-notice-inner">
1721
+ <div class="ast-admin-notice-icon">
1722
+ <img class="notice-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url().'/assets/images/ast-addons-notice-image.jpg'; ?>" alt="Tracking Per Item Add-on" />
1723
+ </div>
1724
+
1725
+ <div class="ast-admin-notice-content">
1726
+ <h3>New AST Add-on!</h3>
1727
+ <p>The Tracking Per Item add-on allows attaching the tracking numbers to specific order items.</p>
1728
+ </div>
1729
+
1730
+ <div data-dismissible="disable-ast-addon-forever" class="trackship-install-now">
1731
+ <a class="button button-primary btn_blue btn_large" href="<?php echo admin_url( '/admin.php?page=woocommerce-advanced-shipment-tracking&tab=addons' )?>">For more info</a>
1732
+ </div>
1733
+ </div>
1734
+ </div>
1735
+ <?php
1736
+ }
1737
+
1738
  /*
1739
  * Display admin notice on plugin install or update
1740
  */
1841
  </div>
1842
  </div>
1843
  <?php
1844
+ }
1845
+ /**
1846
+ * Admin menu tooltip.
1847
+ */
1848
+ function admin_notice_menu_tooltip() {
1849
+
1850
+ $show_tooltip = get_option( 'ast_admin_menu_tooltip', 0 );
1851
+
1852
+ if ( $show_tooltip ) {
1853
+ // Dismissed less than 30 days ago.
1854
+ return;
1855
+ }
1856
+
1857
+ $url = 'https://trackship.info/?utm_source=wpadmin&utm_campaign=astpopup';
1858
+ ?>
1859
+ <div id="ast-admin-menu-tooltip" class="ast-admin-menu-tooltip-hide">
1860
+ <div class="ast-admin-menu-tooltip-header">
1861
+ <!--span class="ast-admin-menu-tooltip-icon"><span class="dashicons dashicons-megaphone"></span></span-->
1862
+ Automate your Post-Shipping Operations
1863
+ <a href="#" class="ast-admin-menu-tooltip-close"><span class="dashicons dashicons-dismiss"></span></a>
1864
+ </div>
1865
+ <div class="ast-admin-menu-tooltip-content">
1866
+ <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 50%;">
1867
+ <p>TrackShip will auto-track your shipments with 140+ carriers around the globe and display real-time shipment status on your orders admin. You can automate the order management flow, direct customers to a tracking page on your store, automatically send shipment status notifications to your customer and more…</p>
1868
+ <p>
1869
+ <a href="<?php echo esc_url( $url ); ?>" target="blank" class="button button-primary btn_green2 btn_large">Try TrackShip for free!</a>
1870
+ </p>
1871
+ </div>
1872
+ </div>
1873
+ <style type="text/css">
1874
+ #ast-admin-menu-tooltip {
1875
+ position: absolute;
1876
+ left: 100%;
1877
+ top: 100%;
1878
+ background: #fff;
1879
+ margin-left: 16px;
1880
+ width: 350px;
1881
+ box-shadow: 0px 4px 7px 0px #ccc;
1882
+ }
1883
+
1884
+ #ast-admin-menu-tooltip:before {
1885
+ content: '';
1886
+ width: 0;
1887
+ height: 0;
1888
+ border-style: solid;
1889
+ border-width: 12px 12px 12px 0;
1890
+ border-color: transparent #fff transparent transparent;
1891
+ position: absolute;
1892
+ right: 100%;
1893
+ top: 130px;
1894
+ z-index: 10;
1895
+ }
1896
+
1897
+ #ast-admin-menu-tooltip:after {
1898
+ content: '';
1899
+ width: 0;
1900
+ height: 0;
1901
+ border-style: solid;
1902
+ border-width: 13px 13px 13px 0;
1903
+ border-color: transparent #ccc transparent transparent;
1904
+ position: absolute;
1905
+ right: 100%;
1906
+ margin-left: -1px;
1907
+ top: 129px;
1908
+ z-index: 5;
1909
+ }
1910
+
1911
+ #ast-admin-menu-tooltip.ast-tooltip-arrow-top:before {
1912
+ top: 55px;
1913
+ }
1914
+
1915
+ #ast-admin-menu-tooltip.ast-tooltip-arrow-top:after {
1916
+ top: 54px;
1917
+ }
1918
+
1919
+ .ast-admin-menu-tooltip-header {
1920
+ background: #83bd31;
1921
+ padding: 10px 12px;
1922
+ font-size: 14px;
1923
+ font-weight: 700;
1924
+ font-family: Arial, Helvetica, "Trebuchet MS", sans-serif;
1925
+ color: #fff;
1926
+ line-height: 1.6;
1927
+ }
1928
+
1929
+ .ast-admin-menu-tooltip-icon {
1930
+ background: #fff;
1931
+ border-radius: 50%;
1932
+ width: 28px;
1933
+ height: 25px;
1934
+ display: inline-block;
1935
+ color: #83bd31;
1936
+ text-align: center;
1937
+ padding: 3px 0 0;
1938
+ margin-right: 6px;
1939
+ }
1940
+
1941
+ .ast-admin-menu-tooltip-hide {
1942
+ display: none;
1943
+ }
1944
+
1945
+ .ast-admin-menu-tooltip-content {
1946
+ padding: 20px 15px 7px;
1947
+ }
1948
+
1949
+ .ast-admin-menu-tooltip-content strong {
1950
+ font-size: 14px;
1951
+ }
1952
+
1953
+ .ast-admin-menu-tooltip-content p strong {
1954
+ font-size: 13px;
1955
+ }
1956
+
1957
+ .ast-admin-menu-tooltip-close {
1958
+ color: #fff;
1959
+ text-decoration: none;
1960
+ position: absolute;
1961
+ right: 10px;
1962
+ top: 14px;
1963
+ display: block;
1964
+ }
1965
+
1966
+ .ast-admin-menu-tooltip-close:hover {
1967
+ color: #fff;
1968
+ text-decoration: none;
1969
+ }
1970
+
1971
+ .ast-admin-menu-tooltip-close .dashicons {
1972
+ font-size: 14px;
1973
+ }
1974
+
1975
+ @media ( max-width: 782px ) {
1976
+ #ast-admin-menu-tooltip {
1977
+ display: none;
1978
+ }
1979
+ }
1980
+ </style>
1981
+ <script type="text/javascript">
1982
+ if ( 'undefined' !== typeof jQuery ) {
1983
+ jQuery( function ( $ ) {
1984
+ var $tooltip = $( document.getElementById( 'ast-admin-menu-tooltip' ) );
1985
+ var $menuwrapper = $( document.getElementById( 'adminmenuwrap' ) );
1986
+ var $menuitem = $( document.getElementById( 'toplevel_page_woocommerce' ) );
1987
+
1988
+ if ( $menuitem.length ) {
1989
+ $menuwrapper.append( $tooltip );
1990
+ $tooltip.removeClass( 'ast-admin-menu-tooltip-hide' );
1991
+ }
1992
+
1993
+ function alignTooltip() {
1994
+ var sticky = $( 'body' ).hasClass( 'sticky-menu' );
1995
+
1996
+ var menuitem_pos = $menuitem.position();
1997
+
1998
+ var tooltip_top = menuitem_pos.top - 124;
1999
+
2000
+ if ( sticky && $( window ).height() > $menuwrapper.height() + 150 ) {
2001
+ $tooltip.removeClass( 'ast-tooltip-arrow-top' );
2002
+ } else {
2003
+ tooltip_top = menuitem_pos.top - 50;
2004
+ $tooltip.addClass( 'ast-tooltip-arrow-top' );
2005
+ }
2006
+
2007
+ $tooltip.css( {
2008
+ top: tooltip_top + 'px'
2009
+ } );
2010
+ }
2011
+
2012
+ var $document = $( document );
2013
+ var timeout = setTimeout( alignTooltip, 10 );
2014
+ $document.on( 'wp-pin-menu wp-window-resized.pin-menu postboxes-columnchange.pin-menu postbox-toggled.pin-menu wp-collapse-menu.pin-menu wp-scroll-start.pin-menu', function () {
2015
+ if ( timeout ) {
2016
+ clearTimeout( timeout );
2017
+ }
2018
+ timeout = setTimeout( alignTooltip, 10 );
2019
+ } );
2020
+
2021
+ $( '.ast-admin-menu-tooltip-close' ).on( 'click', function ( e ) {
2022
+ e.preventDefault();
2023
+ hideTooltip();
2024
+ } );
2025
+
2026
+ function hideTooltip() {
2027
+ $tooltip.addClass( 'ast-admin-menu-tooltip-hide' );
2028
+ $.post( ajaxurl, {
2029
+ action: 'ast_hide_admin_menu_tooltip',
2030
+ nonce: '<?php echo esc_js( wp_create_nonce( 'ast-admin-tooltip-nonce' ) ); ?>',
2031
+ } );
2032
+ }
2033
+ } );
2034
+ }
2035
+ </script>
2036
+ <?php
2037
+ }
2038
+
2039
+ /**
2040
+ * Store the time when the float bar was hidden so it won't show again for 14 days.
2041
+ */
2042
+ function ast_mark_admin_menu_tooltip_hidden() {
2043
+ check_ajax_referer( 'ast-admin-tooltip-nonce', 'nonce' );
2044
+ update_option( 'ast_admin_menu_tooltip', time() );
2045
+ wp_send_json_success();
2046
+ }
2047
+
2048
+ /**
2049
+ * Create tracking page after store is connected
2050
+ */
2051
+ public function create_tracking_page(){
2052
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking_ts_page' ),'1.0', '<') ){
2053
+ $new_page_title = 'Shipment Tracking';
2054
+ $new_page_slug = 'ts-shipment-tracking';
2055
+ $new_page_content = '[wcast-track-order]';
2056
+ //don't change the code below, unless you know what you're doing
2057
+ $page_check = get_page_by_title($new_page_title);
2058
+
2059
+ if(!isset($page_check->ID)){
2060
+ $new_page = array(
2061
+ 'post_type' => 'page',
2062
+ 'post_title' => $new_page_title,
2063
+ 'post_name' => $new_page_slug,
2064
+ 'post_content' => $new_page_content,
2065
+ 'post_status' => 'publish',
2066
+ 'post_author' => 1,
2067
+ );
2068
+ $new_page_id = wp_insert_post($new_page);
2069
+ update_option( 'wc_ast_trackship_page_id', $new_page_id );
2070
+ }
2071
+ update_option( 'wc_advanced_shipment_tracking_ts_page', '1.0');
2072
+ }
2073
+ }
2074
  }
includes/class-wc-advanced-shipment-tracking-settings.php ADDED
@@ -0,0 +1,960 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+
6
+ class WC_Advanced_Shipment_Tracking_Settings {
7
+
8
+ /**
9
+ * Initialize the main plugin function
10
+ */
11
+ public function __construct() {
12
+
13
+ global $wpdb;
14
+ if( is_multisite() ){
15
+ if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
16
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
17
+ }
18
+ if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
19
+ $main_blog_prefix = $wpdb->get_blog_prefix(BLOG_ID_CURRENT_SITE);
20
+ $this->table = $main_blog_prefix."woo_shippment_provider";
21
+ } else{
22
+ $this->table = $wpdb->prefix."woo_shippment_provider";
23
+ }
24
+ } else{
25
+ $this->table = $wpdb->prefix."woo_shippment_provider";
26
+ }
27
+
28
+ }
29
+
30
+ /**
31
+ * Instance of this class.
32
+ *
33
+ * @var object Class Instance
34
+ */
35
+ private static $instance;
36
+
37
+ /**
38
+ * Get the class instance
39
+ *
40
+ * @return WC_Advanced_Shipment_Tracking_Settings
41
+ */
42
+ public static function get_instance() {
43
+
44
+ if ( null === self::$instance ) {
45
+ self::$instance = new self;
46
+ }
47
+
48
+ return self::$instance;
49
+ }
50
+
51
+ /*
52
+ * init from parent mail class
53
+ */
54
+ public function init(){
55
+
56
+ //rename order status + rename bulk action + rename filter
57
+ add_filter( 'wc_order_statuses', array( $this, 'wc_renaming_order_status') );
58
+ add_filter( 'woocommerce_register_shop_order_post_statuses', array( $this, 'filter_woocommerce_register_shop_order_post_statuses'), 10, 1 );
59
+ add_filter( 'bulk_actions-edit-shop_order', array( $this, 'modify_bulk_actions'), 50, 1 );
60
+
61
+ add_action( 'woocommerce_update_options_email_customer_delivered_order', array( $this, 'save_delivered_email' ) ,100, 1);
62
+ add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ) ,100, 1);
63
+ add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun') );
64
+
65
+ //new order status
66
+ $newstatus = get_option( "wc_ast_status_delivered", 0);
67
+ if( $newstatus == true ){
68
+ //register order status
69
+ add_action( 'init', array( $this, 'register_order_status') );
70
+ //add status after completed
71
+ add_filter( 'wc_order_statuses', array( $this, 'add_delivered_to_order_statuses') );
72
+ //Custom Statuses in admin reports
73
+ add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_custom_order_status_to_reports'), 20, 1 );
74
+ // for automate woo to check order is paid
75
+ add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'delivered_woocommerce_order_is_paid_statuses' ) );
76
+ //add bulk action
77
+ add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions'), 50, 1 );
78
+ }
79
+
80
+ //new order status
81
+ $updated_tracking_status = get_option( "wc_ast_status_updated_tracking", 0);
82
+ if( $updated_tracking_status == true ){
83
+ //register order status
84
+ add_action( 'init', array( $this, 'register_updated_tracking_order_status') );
85
+ //add status after completed
86
+ add_filter( 'wc_order_statuses', array( $this, 'add_updated_tracking_to_order_statuses') );
87
+ //Custom Statuses in admin reports
88
+ add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_updated_tracking_order_status_to_reports'), 20, 1 );
89
+ // for automate woo to check order is paid
90
+ add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'updated_tracking_woocommerce_order_is_paid_statuses' ) );
91
+ //add bulk action
92
+ add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_updated_tracking'), 50, 1 );
93
+ }
94
+
95
+ //new order status
96
+ $partial_shipped_status = get_option( "wc_ast_status_partial_shipped", 0);
97
+ if( $partial_shipped_status == true ){
98
+ //register order status
99
+ add_action( 'init', array( $this, 'register_partial_shipped_order_status') );
100
+ //add status after completed
101
+ add_filter( 'wc_order_statuses', array( $this, 'add_partial_shipped_to_order_statuses') );
102
+ //Custom Statuses in admin reports
103
+ add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports'), 20, 1 );
104
+ // for automate woo to check order is paid
105
+ add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
106
+ //add bulk action
107
+ add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped'), 50, 1 );
108
+ }
109
+
110
+ //filter in shipped orders
111
+ add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
112
+ add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
113
+
114
+ // Hook for add admin body class in settings page
115
+ add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
116
+
117
+ // Ajax hook for open inline tracking form
118
+ add_action( 'wp_ajax_ast_open_inline_tracking_form', array( $this, 'ast_open_inline_tracking_form_fun' ) );
119
+
120
+ $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
121
+ if($wc_ast_status_delivered == 1){
122
+ add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
123
+ add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
124
+ }
125
+
126
+ $api_enabled = get_option( "wc_ast_api_enabled", 0);
127
+ if( $api_enabled == true ){
128
+ add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets') );
129
+ }
130
+ }
131
+
132
+ /**
133
+ * Register new status : Delivered
134
+ **/
135
+ function register_order_status() {
136
+ register_post_status( 'wc-delivered', array(
137
+ 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
138
+ 'public' => true,
139
+ 'show_in_admin_status_list' => true,
140
+ 'show_in_admin_all_list' => true,
141
+ 'exclude_from_search' => false,
142
+ 'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
143
+ ) );
144
+ }
145
+
146
+ /**
147
+ * Register new status : Updated Tracking
148
+ **/
149
+ function register_updated_tracking_order_status() {
150
+ register_post_status( 'wc-updated-tracking', array(
151
+ 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
152
+ 'public' => true,
153
+ 'show_in_admin_status_list' => true,
154
+ 'show_in_admin_all_list' => true,
155
+ 'exclude_from_search' => false,
156
+ 'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
157
+ ) );
158
+ }
159
+
160
+ /**
161
+ * Register new status : Partially Shipped
162
+ **/
163
+ function register_partial_shipped_order_status() {
164
+ register_post_status( 'wc-partial-shipped', array(
165
+ 'label' => __( 'Partially Shipped', 'woo-advanced-shipment-tracking' ),
166
+ 'public' => true,
167
+ 'show_in_admin_status_list' => true,
168
+ 'show_in_admin_all_list' => true,
169
+ 'exclude_from_search' => false,
170
+ 'label_count' => _n_noop( 'Partially Shipped <span class="count">(%s)</span>', 'Partially Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
171
+ ) );
172
+ }
173
+
174
+ /*
175
+ * add status after completed
176
+ */
177
+ function add_delivered_to_order_statuses( $order_statuses ) {
178
+ $new_order_statuses = array();
179
+ foreach ( $order_statuses as $key => $status ) {
180
+ $new_order_statuses[ $key ] = $status;
181
+ if ( 'wc-completed' === $key ) {
182
+ $new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
183
+ }
184
+ }
185
+
186
+ return $new_order_statuses;
187
+ }
188
+
189
+ /*
190
+ * add status after completed
191
+ */
192
+ function add_updated_tracking_to_order_statuses( $order_statuses ) {
193
+ $new_order_statuses = array();
194
+ foreach ( $order_statuses as $key => $status ) {
195
+ $new_order_statuses[ $key ] = $status;
196
+ if ( 'wc-completed' === $key ) {
197
+ $new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
198
+ }
199
+ }
200
+ return $new_order_statuses;
201
+ }
202
+
203
+ /*
204
+ * add status after completed
205
+ */
206
+ function add_partial_shipped_to_order_statuses( $order_statuses ) {
207
+ $new_order_statuses = array();
208
+ foreach ( $order_statuses as $key => $status ) {
209
+ $new_order_statuses[ $key ] = $status;
210
+ if ( 'wc-completed' === $key ) {
211
+ $new_order_statuses['wc-partial-shipped'] = __( 'Partially Shipped', 'woo-advanced-shipment-tracking' );
212
+ }
213
+ }
214
+ return $new_order_statuses;
215
+ }
216
+
217
+ /*
218
+ * Adding the custom order status to the default woocommerce order statuses
219
+ */
220
+ function include_custom_order_status_to_reports( $statuses ){
221
+ if($statuses)$statuses[] = 'delivered';
222
+ return $statuses;
223
+ }
224
+
225
+ /*
226
+ * Adding the updated-tracking order status to the default woocommerce order statuses
227
+ */
228
+ function include_updated_tracking_order_status_to_reports( $statuses ){
229
+ if($statuses)$statuses[] = 'updated-tracking';
230
+ return $statuses;
231
+ }
232
+
233
+ /*
234
+ * Adding the partial-shipped order status to the default woocommerce order statuses
235
+ */
236
+ function include_partial_shipped_order_status_to_reports( $statuses ){
237
+ if($statuses)$statuses[] = 'partial-shipped';
238
+ return $statuses;
239
+ }
240
+
241
+ /*
242
+ * mark status as a paid.
243
+ */
244
+ function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
245
+ $statuses[] = 'delivered';
246
+ return $statuses;
247
+ }
248
+
249
+ /*
250
+ * mark status as a paid.
251
+ */
252
+ function updated_tracking_woocommerce_order_is_paid_statuses( $statuses ) {
253
+ $statuses[] = 'updated-tracking';
254
+ return $statuses;
255
+ }
256
+
257
+ /*
258
+ * mark status as a paid.
259
+ */
260
+ function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
261
+ $statuses[] = 'partial-shipped';
262
+ return $statuses;
263
+ }
264
+
265
+ /*
266
+ * add bulk action
267
+ * Change order status to delivered
268
+ */
269
+ function add_bulk_actions( $bulk_actions ){
270
+ $bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
271
+ return $bulk_actions;
272
+ }
273
+
274
+ /*
275
+ * add bulk action
276
+ * Change order status to Updated Tracking
277
+ */
278
+ function add_bulk_actions_updated_tracking( $bulk_actions ){
279
+ $bulk_actions['mark_updated-tracking'] = __( 'Change status to Updated Tracking', 'woo-advanced-shipment-tracking' );
280
+ return $bulk_actions;
281
+ }
282
+
283
+ /*
284
+ * add bulk action
285
+ * Change order status to Partially Shipped
286
+ */
287
+ function add_bulk_actions_partial_shipped( $bulk_actions ){
288
+ $bulk_actions['mark_partial-shipped'] = __( 'Change status to Partially Shipped', 'woo-advanced-shipment-tracking' );
289
+ return $bulk_actions;
290
+ }
291
+
292
+ /*
293
+ * Rename WooCommerce Order Status
294
+ */
295
+ function wc_renaming_order_status( $order_statuses ) {
296
+
297
+ $enable = get_option( "wc_ast_status_shipped", 0);
298
+ if( $enable == false )return $order_statuses;
299
+
300
+ foreach ( $order_statuses as $key => $status ) {
301
+ $new_order_statuses[ $key ] = $status;
302
+ if ( 'wc-completed' === $key ) {
303
+ $order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
304
+ }
305
+ }
306
+ return $order_statuses;
307
+ }
308
+
309
+ /*
310
+ * define the woocommerce_register_shop_order_post_statuses callback
311
+ * rename filter
312
+ * rename from completed to shipped
313
+ */
314
+ function filter_woocommerce_register_shop_order_post_statuses( $array ) {
315
+
316
+ $enable = get_option( "wc_ast_status_shipped", 0);
317
+ if( $enable == false )return $array;
318
+
319
+ if( isset( $array[ 'wc-completed' ] ) ){
320
+ $array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
321
+ }
322
+ return $array;
323
+ }
324
+
325
+ /*
326
+ * rename bulk action
327
+ */
328
+ function modify_bulk_actions($bulk_actions) {
329
+
330
+ $enable = get_option( "wc_ast_status_shipped", 0);
331
+ if( $enable == false )return $bulk_actions;
332
+
333
+ if( isset( $bulk_actions['mark_completed'] ) ){
334
+ $bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
335
+ }
336
+ return $bulk_actions;
337
+ }
338
+
339
+ /*
340
+ * tracking number filter
341
+ * if number not found. return false
342
+ * if number found. return true
343
+ */
344
+ function check_tracking_exist( $value, $order ){
345
+
346
+ if($value == true){
347
+
348
+ $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
349
+ if( $tracking_items ){
350
+ return true;
351
+ } else {
352
+ return false;
353
+ }
354
+ }
355
+ return $value;
356
+ }
357
+
358
+ /*
359
+ * If order status is "Updated Tracking" or "Completed" than retrn true else return false
360
+ */
361
+ function check_order_status($value, $order){
362
+ $order_status = $order->get_status();
363
+
364
+ $all_order_status = wc_get_order_statuses();
365
+
366
+ $default_order_status = array(
367
+ 'wc-pending' => 'Pending payment',
368
+ 'wc-processing' => 'Processing',
369
+ 'wc-on-hold' => 'On hold',
370
+ 'wc-completed' => 'Completed',
371
+ 'wc-delivered' => 'Delivered',
372
+ 'wc-cancelled' => 'Cancelled',
373
+ 'wc-refunded' => 'Refunded',
374
+ 'wc-failed' => 'Failed'
375
+ );
376
+
377
+ foreach($default_order_status as $key=>$value){
378
+ unset($all_order_status[$key]);
379
+ }
380
+
381
+ $custom_order_status = $all_order_status;
382
+
383
+ foreach($custom_order_status as $key=>$value){
384
+ unset($custom_order_status[$key]);
385
+ $key = str_replace("wc-", "", $key);
386
+ $custom_order_status[] = $key;
387
+ }
388
+
389
+ if($order_status == 'updated-tracking' || $order_status == 'completed' || in_array($order_status, $custom_order_status)){
390
+ return true;
391
+ } else {
392
+ return false;
393
+ }
394
+ return $value;
395
+ }
396
+
397
+ /*
398
+ * Add class in admin settings page
399
+ */
400
+ public function ahipment_tracking_admin_body_class($classes){
401
+ $page = (isset($_REQUEST["page"])?$_REQUEST["page"]:"");
402
+ if( $page == 'woocommerce-advanced-shipment-tracking') {
403
+ $classes .= 'shipment_tracking_admin_settings';
404
+ }
405
+ return $classes;
406
+ }
407
+
408
+ public function ast_open_inline_tracking_form_fun(){
409
+ $order_id = wc_clean($_POST['order_id']);
410
+ global $wpdb;
411
+ $WC_Countries = new WC_Countries();
412
+ $countries = $WC_Countries->get_countries();
413
+
414
+ $woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
415
+
416
+ if( is_multisite() ){
417
+ if ( ! function_exists( 'is_plugin_active_for_network' ) ) {
418
+ require_once( ABSPATH . '/wp-admin/includes/plugin.php' );
419
+ }
420
+ if ( is_plugin_active_for_network( 'woo-advanced-shipment-tracking/woocommerce-advanced-shipment-tracking.php' ) ) {
421
+ $main_blog_prefix = $wpdb->get_blog_prefix(BLOG_ID_CURRENT_SITE);
422
+ $woo_shippment_table_name = $main_blog_prefix."woo_shippment_provider";
423
+ } else{
424
+ $woo_shippment_table_name = $wpdb->prefix."woo_shippment_provider";
425
+ }
426
+ } else{
427
+ $woo_shippment_table_name = $wpdb->prefix."woo_shippment_provider";
428
+ }
429
+ $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $woo_shippment_table_name WHERE display_in_order = 1 GROUP BY shipping_country" );
430
+
431
+ $shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
432
+
433
+ $default_provider = get_option("wc_ast_default_provider" );
434
+ $wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
435
+
436
+ $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
437
+ if($wc_ast_status_shipped == 1){
438
+ $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
439
+ $shipped_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
440
+ } else{
441
+ $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
442
+ $shipped_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
443
+ }
444
+
445
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
446
+ ob_start();
447
+ ?>
448
+ <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
449
+ <div class="trackingpopup_row">
450
+ <h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
451
+ <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
452
+ <p class="form-field">
453
+ <label for="tracking_number"><?php _e( 'Provider:', 'woo-advanced-shipment-tracking'); ?></label>
454
+ <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;max-width:100%;">
455
+ <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
456
+ <?php
457
+ foreach($shippment_countries as $s_c){
458
+ if($s_c->shipping_country != 'Global'){
459
+ $country_name = esc_attr( $WC_Countries->countries[$s_c->shipping_country] );
460
+ } else{
461
+ $country_name = 'Global';
462
+ }
463
+ echo '<optgroup label="' . $country_name . '">';
464
+ $country = $s_c->shipping_country;
465
+ $shippment_providers_by_country = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE shipping_country = '$country' AND display_in_order = 1" );
466
+ foreach ( $shippment_providers_by_country as $providers ) {
467
+ $selected = ( $default_provider == esc_attr( $providers->ts_slug ) ) ? 'selected' : '';
468
+ echo '<option value="' . esc_attr( $providers->ts_slug ) . '" '.$selected. '>' . esc_html( $providers->provider_name ) . '</option>';
469
+ }
470
+ echo '</optgroup>';
471
+ } ?>
472
+ </select>
473
+ </p>
474
+ <p class="form-field tracking_number_field ">
475
+ <label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
476
+ <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
477
+ </p>
478
+ <p class="form-field date_shipped_field">
479
+ <label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
480
+ <input type="text" class="date-picker-field" style="" name="date_shipped" id="date_shipped" value="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ); ?>" placeholder="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ); ?>">
481
+ </p>
482
+ <?php
483
+
484
+ do_action("ast_tracking_form_between_form", $order_id);
485
+
486
+ if($wc_ast_status_partial_shipped){ ?>
487
+ <fieldset class="form-field change_order_to_shipped_field">
488
+ <span><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
489
+ <ul class="wc-radios">
490
+ <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short mark_shipped_checkbox" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
491
+ <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short mark_shipped_checkbox"><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
492
+ </ul>
493
+ </fieldset>
494
+ <?php } else{ ?>
495
+ <p class="form-field change_order_to_shipped_field ">
496
+ <label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
497
+ <input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
498
+ </p>
499
+ <?php } ?>
500
+ <p class="" style="text-align:left;">
501
+ <input type="hidden" name="action" value="add_inline_tracking_number">
502
+ <input type="hidden" name="order_id" id="order_id" value="<?php echo $order_id; ?>">
503
+ <input type="submit" name="Submit" value="Save Tracking" class="button-primary btn_green">
504
+ </p>
505
+ </form>
506
+ </div>
507
+ <div class="popupclose"></div>
508
+ </div>
509
+ <?php
510
+ $html = ob_get_clean();
511
+ echo $html;exit;
512
+ }
513
+
514
+ /*
515
+ * define the item in the meta box by adding an item to the $actions array
516
+ */
517
+ function add_order_meta_box_actions( $actions ) {
518
+ $actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
519
+ return $actions;
520
+ }
521
+
522
+ /*
523
+ * function call when resend delivered order email notification trigger
524
+ */
525
+ function process_order_meta_box_actions($order){
526
+ require_once( 'email-manager.php' );
527
+ $old_status = 'in_transit';
528
+ $new_status = 'delivered';
529
+ $order_id = $order->get_id();
530
+ //wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
531
+ WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
532
+ }
533
+
534
+ /**
535
+ * Add a new dashboard widget.
536
+ */
537
+ public function ast_add_dashboard_widgets() {
538
+ wp_add_dashboard_widget( 'trackship_dashboard_widget', 'Tracking Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function') );
539
+ }
540
+
541
+ /**
542
+ * Output the contents of the dashboard widget
543
+ */
544
+ public function dashboard_widget_function( $post, $callback_args ) {
545
+
546
+ wp_enqueue_script( 'amcharts');
547
+ wp_enqueue_script( 'amcharts-light-theme');
548
+
549
+ // Get orders completed.
550
+ $args = array(
551
+ //'status' => 'wc-completed',
552
+ 'limit' => -1,
553
+ 'date_created' => '>' . ( time() - 2592000 ),
554
+ );
555
+ $orders = wc_get_orders( $args );
556
+ $shipment_trackers = 0;
557
+ $shipment_status = array();
558
+ $shipment_status_merge = array();
559
+ $tracking_item_merge = array();
560
+ foreach($orders as $order){
561
+ $order_id = $order->get_id();
562
+
563
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
564
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
565
+
566
+ if($tracking_items){
567
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
568
+
569
+ if(is_array($shipment_status)){
570
+ $shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
571
+ }
572
+ //echo '<pre>';print_r($shipment_status_merge);echo '</pre>';
573
+ foreach ( $tracking_items as $key => $tracking_item ) {
574
+ if( isset($shipment_status[$key]) ){
575
+ $tracking_item_merge[] = $tracking_item;
576
+ $shipment_trackers++;
577
+ }
578
+ }
579
+ }
580
+ }
581
+
582
+ $shipment_status_arr = array();
583
+
584
+ foreach ((array)$shipment_status_merge as $key => $item) {
585
+ $shipment_status_arr[$item['status']][$key] = $item;
586
+ }
587
+
588
+ $tracking_provider_arr = array();
589
+
590
+ foreach ($tracking_item_merge as $key => $item) {
591
+ $tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
592
+ }
593
+
594
+ $tracking_issue_array = array();
595
+ foreach($shipment_status_arr as $status => $val){
596
+ if($status == 'carrier_unsupported' || $status == 'INVALID_TRACKING_NUM' || $status == 'unknown' || $status == 'wrong_shipping_provider'){
597
+ $tracking_issue_array[$status] = $val;
598
+ }
599
+ }
600
+
601
+ ksort($shipment_status_arr, SORT_NUMERIC);
602
+ ksort($tracking_provider_arr, SORT_NUMERIC);
603
+
604
+
605
+
606
+ ?>
607
+ <script type="text/javascript">
608
+ AmCharts.makeChart("ast_dashboard_status_chart",
609
+ {
610
+ "type": "serial",
611
+ "categoryField": "shipment_status",
612
+ "startDuration": 1,
613
+ "handDrawScatter": 4,
614
+ "theme": "light",
615
+ "categoryAxis": {
616
+ "autoRotateAngle": 0,
617
+ "autoRotateCount": 0,
618
+ "autoWrap": true,
619
+ "gridPosition": "start",
620
+ "minHorizontalGap": 10,
621
+ "offset": 1
622
+ },
623
+ "trendLines": [],
624
+ "graphs": [
625
+ {
626
+ "balloonText": " [[shipment_status]] : [[value]]",
627
+ "bulletBorderThickness": 7,
628
+ "colorField": "color",
629
+ "fillAlphas": 1,
630
+ "id": "AmGraph-1",
631
+ "lineColorField": "color",
632
+ "title": "graph 1",
633
+ "type": "column",
634
+ "valueField": "count"
635
+ }
636
+ ],
637
+ "guides": [],
638
+ "valueAxes": [
639
+ {
640
+ "id": "ValueAxis-1",
641
+ "title": ""
642
+ }
643
+ ],
644
+ "allLabels": [],
645
+ "balloon": {},
646
+ "titles": [
647
+ {
648
+ "id": "Title-1",
649
+ "size": 15,
650
+ "text": ""
651
+ }
652
+ ],
653
+ "dataProvider": [
654
+ <?php
655
+ foreach($shipment_status_arr as $status => $array){ ?>
656
+ {
657
+ "shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
658
+ "count": <?php echo count($array); ?>,
659
+ "color": "#BBE285",
660
+ },
661
+ <?php
662
+ } ?>
663
+ ]
664
+ }
665
+ );
666
+ </script>
667
+ <script type="text/javascript">
668
+ AmCharts.makeChart("ast_dashboard_providers_chart",
669
+ {
670
+ "type": "serial",
671
+ "categoryField": "shipment_provider",
672
+ "startDuration": 1,
673
+ "handDrawScatter": 4,
674
+ "theme": "light",
675
+ "categoryAxis": {
676
+ "autoRotateAngle": 0,
677
+ "autoRotateCount": 0,
678
+ "autoWrap": true,
679
+ "gridPosition": "start",
680
+ "minHorizontalGap": 10,
681
+ "offset": 1
682
+ },
683
+ "trendLines": [],
684
+ "graphs": [
685
+ {
686
+ "balloonText": " [[shipment_provider]] : [[value]]",
687
+ "bulletBorderThickness": 7,
688
+ "colorField": "color",
689
+ "fillAlphas": 1,
690
+ "id": "AmGraph-1",
691
+ "lineColorField": "color",
692
+ "title": "graph 1",
693
+ "type": "column",
694
+ "valueField": "count"
695
+ }
696
+ ],
697
+ "guides": [],
698
+ "valueAxes": [
699
+ {
700
+ "id": "ValueAxis-1",
701
+ "title": ""
702
+ }
703
+ ],
704
+ "allLabels": [],
705
+ "balloon": {},
706
+ "titles": [
707
+ {
708
+ "id": "Title-1",
709
+ "size": 15,
710
+ "text": ""
711
+ }
712
+ ],
713
+ "dataProvider": [
714
+ <?php
715
+ foreach($tracking_provider_arr as $provider => $array){ ?>
716
+ {
717
+ "shipment_provider": "<?php echo $provider; ?>",
718
+ "count": <?php echo count($array); ?>,
719
+ "color": "#BBE285",
720
+ },
721
+ <?php
722
+ } ?>
723
+ ]
724
+ }
725
+ );
726
+ </script>
727
+ <div class="ast-dashborad-widget">
728
+
729
+ <input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
730
+ <label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
731
+
732
+ <input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
733
+ <label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
734
+
735
+ <input id="tab_t_issues" type="radio" name="tabs" class="widget_tab_input">
736
+ <label for="tab_t_issues" class="widget_tab_label"><?php _e('Tracking issues', 'woo-advanced-shipment-tracking'); ?></label>
737
+
738
+ <section id="content_s_providers" class="widget_tab_section">
739
+ <?php if($tracking_provider_arr){ ?>
740
+ <div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
741
+ <?php } else{ ?>
742
+ <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
743
+ <?php } ?>
744
+ </section>
745
+
746
+ <section id="content_s_status" class="widget_tab_section">
747
+ <?php if($shipment_status_arr){ ?>
748
+ <div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
749
+ <?php } else{ ?>
750
+ <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
751
+ <?php } ?>
752
+ </section>
753
+
754
+ <section id="content_t_issues" class="widget_tab_section">
755
+ <?php if($tracking_issue_array){ ?>
756
+ <table class="table widefat fixed striped" style="border: 0;border-bottom: 1px solid #e5e5e5;">
757
+ <tbody>
758
+ <?php foreach($tracking_issue_array as $status => $array){ ?>
759
+ <tr>
760
+ <td><a href="<?php echo get_site_url(); ?>/wp-admin/edit.php?s&post_status=all&post_type=shop_order&_shop_order_shipment_status=<?php echo $status; ?>"><?php echo apply_filters("trackship_status_filter",$status); ?></a></td>
761
+ <td><?php echo count($array); ?></td>
762
+ </tr>
763
+ <?php } ?>
764
+ </tbody>
765
+ </table>
766
+ <?php } else{ ?>
767
+ <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
768
+ <?php } ?>
769
+ </section>
770
+
771
+ </div>
772
+ <div class="widget_footer">
773
+ <a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View more on TrackShip','woo-advanced-shipment-tracking' ); ?></a>
774
+ </div>
775
+ <?php }
776
+
777
+ /**
778
+ * Update Delivered order email enable/disable in customizer
779
+ */
780
+ public function save_delivered_email($data){
781
+ $woocommerce_customer_delivered_order_enabled = (isset($_POST["woocommerce_customer_delivered_order_enabled"])?$_REQUEST["woocommerce_customer_delivered_order_enabled"]:"");
782
+ update_option( 'customizer_delivered_order_settings_enabled',$woocommerce_customer_delivered_order_enabled);
783
+ }
784
+
785
+ /**
786
+ * Update Partially Shipped order email enable/disable in customizer
787
+ */
788
+ public function save_partial_shipped_email($data){
789
+ $woocommerce_customer_partial_shipped_order_enabled = (isset($_POST["woocommerce_customer_partial_shipped_order_enabled"])?$_REQUEST["woocommerce_customer_partial_shipped_order_enabled"]:"");
790
+ update_option( 'customizer_partial_shipped_order_settings_enabled',$woocommerce_customer_partial_shipped_order_enabled);
791
+ }
792
+
793
+ /**
794
+ * Synch provider function
795
+ */
796
+ public function sync_providers_fun(){
797
+ global $wpdb;
798
+
799
+ $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
800
+ $resp = wp_remote_get( $url );
801
+
802
+ if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
803
+ $providers = json_decode($resp['body'],true);
804
+
805
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
806
+
807
+ foreach ( $default_shippment_providers as $key => $val ){
808
+ $shippment_providers[ $val->provider_name ] = $val;
809
+ }
810
+
811
+ foreach ( $providers as $key => $val ){
812
+ $providers_name[ $val['provider_name'] ] = $val;
813
+ }
814
+
815
+ $added = 0;
816
+ $updated = 0;
817
+ $deleted = 0;
818
+ $added_html = '';
819
+ $updated_html = '';
820
+ $deleted_html = '';
821
+
822
+ foreach($providers as $provider){
823
+
824
+ $provider_name = $provider['shipping_provider'];
825
+ $provider_url = $provider['provider_url'];
826
+ $shipping_country = $provider['shipping_country'];
827
+ $ts_slug = $provider['shipping_provider_slug'];
828
+
829
+ if(isset($shippment_providers[$provider_name])){
830
+ $db_provider_url = $shippment_providers[$provider_name]->provider_url;
831
+ $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
832
+ $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
833
+ if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
834
+ $data_array = array(
835
+ 'ts_slug' => $ts_slug,
836
+ 'provider_url' => $provider_url,
837
+ 'shipping_country' => $shipping_country,
838
+ );
839
+ $where_array = array(
840
+ 'provider_name' => $provider_name,
841
+ );
842
+ $wpdb->update( $this->table, $data_array, $where_array);
843
+ $updated_data[$updated] = array('provider_name' => $provider_name);
844
+ $updated++;
845
+ }
846
+ } else{
847
+ $img_url = $provider['img_url'];
848
+
849
+ $img_slug = sanitize_title($provider_name);
850
+ $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
851
+
852
+ $ch = curl_init();
853
+
854
+ curl_setopt($ch, CURLOPT_HEADER, 0);
855
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
856
+ curl_setopt($ch, CURLOPT_URL, $img_url);
857
+
858
+ $data = curl_exec($ch);
859
+ curl_close($ch);
860
+
861
+ file_put_contents($img, $data);
862
+
863
+
864
+ $data_array = array(
865
+ 'shipping_country' => sanitize_text_field($shipping_country),
866
+ 'provider_name' => sanitize_text_field($provider_name),
867
+ 'ts_slug' => $ts_slug,
868
+ 'provider_url' => sanitize_text_field($provider_url),
869
+ 'display_in_order' => 0,
870
+ 'shipping_default' => 1,
871
+ );
872
+ $result = $wpdb->insert( $this->table, $data_array );
873
+ $added_data[$added] = array('provider_name' => $provider_name);
874
+ $added++;
875
+ }
876
+ }
877
+ foreach($default_shippment_providers as $db_provider){
878
+ if(!isset($providers_name[$db_provider->provider_name])){
879
+ $where = array(
880
+ 'provider_name' => $db_provider->provider_name,
881
+ 'shipping_default' => 1
882
+ );
883
+ $wpdb->delete( $this->table, $where );
884
+ $deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
885
+ $deleted++;
886
+ }
887
+ }
888
+ if($added > 0){
889
+ ob_start();
890
+ $added_html = $this->added_html($added_data);
891
+ $added_html = ob_get_clean();
892
+ }
893
+ if($updated > 0){
894
+ ob_start();
895
+ $updated_html = $this->updated_html($updated_data);
896
+ $updated_html = ob_get_clean();
897
+ }
898
+ if($deleted > 0){
899
+ ob_start();
900
+ $deleted_html = $this->deleted_html($deleted_data);
901
+ $deleted_html = ob_get_clean();
902
+ }
903
+
904
+ $status = 'active';
905
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
906
+ ob_start();
907
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
908
+ $html = $admin->get_provider_html($default_shippment_providers,$status);
909
+ $html = ob_get_clean();
910
+ echo json_encode( array('added' => $added,'added_html' =>$added_html,'updated' => $updated,'updated_html' =>$updated_html,'deleted' => $deleted,'deleted_html' =>$deleted_html,'html' => $html) );exit;
911
+ } else{
912
+ echo json_encode( array('sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking')) );exit;
913
+ }
914
+ }
915
+
916
+ /**
917
+ * Output html of added provider from sync providers
918
+ */
919
+ public function added_html($added_data){ ?>
920
+ <ul class="updated_details" id="added_providers">
921
+ <?php
922
+ foreach ( $added_data as $added ){ ?>
923
+ <li><?php echo $added['provider_name']; ?></li>
924
+ <?php }
925
+ ?>
926
+ </ul>
927
+ <a class="view_synch_details" id="view_added_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
928
+ <a class="view_synch_details" id="hide_added_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
929
+ <?php }
930
+
931
+ /**
932
+ * Output html of updated provider from sync providers
933
+ */
934
+ public function updated_html($updated_data){ ?>
935
+ <ul class="updated_details" id="updated_providers">
936
+ <?php
937
+ foreach ( $updated_data as $updated ){ ?>
938
+ <li><?php echo $updated['provider_name']; ?></li>
939
+ <?php }
940
+ ?>
941
+ </ul>
942
+ <a class="view_synch_details" id="view_updated_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
943
+ <a class="view_synch_details" id="hide_updated_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
944
+ <?php }
945
+
946
+ /**
947
+ * Output html of deleted provider from sync providers
948
+ */
949
+ public function deleted_html($deleted_data){ ?>
950
+ <ul class="updated_details" id="deleted_providers">
951
+ <?php
952
+ foreach ( $deleted_data as $deleted ){ ?>
953
+ <li><?php echo $deleted['provider_name']; ?></li>
954
+ <?php }
955
+ ?>
956
+ </ul>
957
+ <a class="view_synch_details" id="view_deleted_details" href="javaScript:void(0);" style="display: block;"><?php _e( 'view details', 'woo-advanced-shipment-tracking'); ?></a>
958
+ <a class="view_synch_details" id="hide_deleted_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'hide details', 'woo-advanced-shipment-tracking'); ?></a>
959
+ <?php }
960
+ }
includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -181,18 +181,25 @@ class WC_Advanced_Shipment_Tracking_Actions {
181
 
182
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
183
  if($wc_ast_status_shipped == 1){
184
- $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
 
185
  } else{
186
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
 
187
  }
 
 
188
  ?>
189
  <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
190
  <div class="trackingpopup_row">
191
  <h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
192
  <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
193
-
 
 
 
194
  <p class="form-field">
195
- <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 90%;">
196
  <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
197
  <?php
198
  foreach($shippment_countries as $s_c){
@@ -215,31 +222,40 @@ class WC_Advanced_Shipment_Tracking_Actions {
215
  <p class="form-field tracking_number_field ">
216
  <label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
217
  <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
218
- </p>
219
- <?php
220
- woocommerce_wp_text_input( array(
221
- 'id' => 'date_shipped',
222
- 'label' => __( 'Date shipped:', 'woo-advanced-shipment-tracking' ),
223
- 'placeholder' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ),
224
- 'description' => '',
225
- 'class' => 'date-picker-field',
226
- 'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
227
- ) );
228
- ?>
229
- <p class="form-field change_order_to_shipped_field ">
230
- <label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
231
- <input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
232
  </p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
233
  <p class="" style="text-align:left;">
234
  <input type="hidden" name="action" value="add_inline_tracking_number">
235
  <input type="hidden" name="order_id" id="order_id" value="">
236
- <input type="submit" name="Submit" value="Submit" class="button-primary btn_green">
237
  </p>
238
  </form>
239
  </div>
240
  <div class="popupclose"></div>
241
  </div>
242
  <?php
 
243
  }
244
 
245
  /**
@@ -256,21 +272,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
256
  $formatted = $this->get_formatted_tracking_item( $order_id, $item );
257
  ?>
258
  <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
259
- <p class="tracking-content">
260
- <strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
261
-
262
- <?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
263
- - <?php
264
- $url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
265
- echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Click here to track your shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( 'Track', 'woo-advanced-shipment-tracking' ) . '</a>', esc_url( $url ) ); ?>
266
- <?php endif; ?>
267
- <br/>
268
- <em><?php echo esc_html( $item['tracking_number'] ); ?></em>
269
- <?php $this->display_shipment_tracking_info( $order_id, $item );?>
270
- </p>
 
271
  <p class="meta">
272
  <?php /* translators: 1: shipping date */ ?>
273
- <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
274
  <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
275
  </p>
276
  </div>
@@ -284,6 +301,12 @@ class WC_Advanced_Shipment_Tracking_Actions {
284
  $shipment_status = get_post_meta( $order_id, "shipment_status", true);
285
  $tracking_id = $item['tracking_id'];
286
  $tracking_items = $this->get_tracking_items( $order_id );
 
 
 
 
 
 
287
  if ( count( $tracking_items ) > 0 ) {
288
  foreach ( $tracking_items as $key => $tracking_item ) {
289
  if( $tracking_id == $tracking_item['tracking_id'] ){
@@ -298,14 +321,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
298
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
299
  $has_est_delivery = true;
300
  }
301
- ?>
302
- </br>
303
  <span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
304
- <span class="">on <?php echo date( "d/m", strtotime($status_date))?></span>
305
  <br>
306
  <?php if( $has_est_delivery ){?>
307
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
308
  <?php } ?>
 
309
  <?php
310
  }
311
  }
@@ -347,23 +371,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
347
 
348
  $default_provider = get_option("wc_ast_default_provider" );
349
  $wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
 
350
  $value = 1;
351
  $cbvalue = '';
352
  if($wc_ast_default_mark_shipped == 1){
353
- $cbvalue = 1;
 
 
 
 
354
  }
355
 
356
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
357
  if($wc_ast_status_shipped == 1){
358
- $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
 
359
  } else{
360
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
 
361
  }
362
 
 
363
 
364
  echo '<div id="tracking-items">';
365
  if ( count( $tracking_items ) > 0 ) {
366
- foreach ( $tracking_items as $tracking_item ) {
367
  $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
368
  }
369
  }
@@ -424,18 +456,31 @@ class WC_Advanced_Shipment_Tracking_Actions {
424
  'description' => '',
425
  'class' => 'date-picker-field',
426
  'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
427
- ) );
 
 
428
 
429
- woocommerce_wp_checkbox( array(
430
- 'id' => 'change_order_to_shipped',
431
- 'label' => __( $change_order_status_label, 'woo-advanced-shipment-tracking' ),
432
- 'description' => '',
433
- 'cbvalue' => $cbvalue,
434
- 'value' => $value,
435
- ) );
436
-
437
- echo '<button class="button button-primary button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
438
- echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Click here to track your shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
 
 
 
 
 
 
 
 
 
 
 
439
 
440
  echo '</div>';
441
  $provider_array = array();
@@ -493,6 +538,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
493
 
494
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
495
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
 
 
496
  }
497
 
498
  /**
@@ -554,11 +601,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
554
 
555
  $tracking_item = $this->add_tracking_item( $order_id, $args );
556
 
557
- if($_POST['change_order_to_shipped'] == 'yes'){
558
  $order = new WC_Order($order_id);
559
  $order->update_status('completed');
560
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
561
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
 
 
 
 
 
 
 
 
 
 
 
562
  }
563
 
564
  $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
@@ -573,8 +631,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
573
  * Function for saving tracking items via AJAX
574
  */
575
  public function save_inline_tracking_number() {
576
- if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
577
-
578
  $order_id = wc_clean( $_POST['order_id'] );
579
  $args = array(
580
  'tracking_provider' => $_POST['tracking_provider'],
@@ -582,16 +639,26 @@ class WC_Advanced_Shipment_Tracking_Actions {
582
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
583
  );
584
 
585
- $tracking_item = $this->add_tracking_item( $order_id, $args );
586
 
587
- if($_POST['change_order_to_shipped'] == 'yes'){
588
  $order = new WC_Order($order_id);
589
  $order->update_status('completed');
590
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
591
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
592
- }
593
-
594
- $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
 
 
 
 
 
 
 
 
 
 
595
  }
596
  }
597
 
@@ -645,7 +712,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
645
  * Display Shipment info in the frontend (order view/tracking page).
646
  */
647
  public function show_tracking_info_order( $order_id ) {
648
- wc_get_template( 'myaccount/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
649
  }
650
 
651
  /**
@@ -681,21 +748,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
681
 
682
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
683
  $order = wc_get_order( $order_id );
684
- $order_status = $order->get_status();
685
- //echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
686
 
687
- if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && !isset($wc_ast_unclude_tracking_info['show_in_customer_invoice'])){
688
  return;
689
- } elseif(!isset($wc_ast_unclude_tracking_info[$order_status])){
 
690
  return;
691
  }
692
-
693
  $tracking_items = $this->get_tracking_items( $order_id, true );
694
 
695
  if ( true === $plain_text ) {
696
- wc_get_template( 'emails/plain/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
697
  } else {
698
- wc_get_template( 'emails/tracking-info.php', array( 'tracking_items' => $this->get_tracking_items( $order_id, true ) ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
699
  }
700
  }
701
 
@@ -805,6 +872,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
805
  */
806
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
807
  $formatted = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
 
809
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
810
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
@@ -823,7 +904,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
823
  $formatted['formatted_tracking_provider'] = '';
824
  $formatted['formatted_tracking_link'] = '';
825
 
826
- if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider'] ) ) {
827
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
828
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
829
  } else {
@@ -846,7 +927,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
846
  $wc_ast_api_key = get_option('wc_ast_api_key');
847
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
848
 
849
- if( $wc_ast_api_key && $use_tracking_page){
850
  $order_key = $order->get_order_key();
851
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
852
  } else {
@@ -860,19 +941,39 @@ class WC_Advanced_Shipment_Tracking_Actions {
860
  $shipping_country = $order->get_shipping_country();
861
  } else{
862
  $shipping_country = $order->get_billing_country();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  }
864
 
865
  if($order->get_shipping_postcode() != null){
866
  $shipping_postal_code = $order->get_shipping_postcode();
867
  } else{
868
  $shipping_postal_code = $order->get_billing_postcode();
869
- }
870
-
871
- $country_code = array("%country_code%", str_replace(' ', '', "%2 $ s") );
872
- $link_format = str_replace($country_code, $shipping_country, $link_format);
873
-
874
- $postal_code = array("%postal_code%", str_replace(' ', '', "%2 $ s") );
875
- $link_format = str_replace($postal_code, $shipping_postal_code, $link_format);
 
 
 
 
876
 
877
  $formatted['formatted_tracking_link'] = $link_format;
878
  }
@@ -944,6 +1045,10 @@ class WC_Advanced_Shipment_Tracking_Actions {
944
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
945
  }
946
 
 
 
 
 
947
  if(isset($args['status_shipped'])){
948
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
949
  }
@@ -963,11 +1068,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
963
 
964
  $this->save_tracking_items( $order_id, $tracking_items );
965
 
966
- if( !empty($tracking_item['status_shipped'] )){
 
 
967
  $order = new WC_Order( $order_id );
968
  $order->update_status('completed');
969
  }
970
 
 
 
 
 
 
 
 
 
971
  $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
972
  $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
973
 
@@ -1029,10 +1144,17 @@ class WC_Advanced_Shipment_Tracking_Actions {
1029
  $this->save_tracking_items( $order_id, $tracking_items );
1030
  }
1031
 
1032
- if( !empty($tracking_item['status_shipped'] )){
 
 
1033
  $order = new WC_Order( $order_id );
1034
  $order->update_status('completed');
1035
  }
 
 
 
 
 
1036
  return $tracking_item;
1037
  }
1038
 
@@ -1171,7 +1293,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1171
  tracking_number.css( "border-color", "red" );
1172
  error = true;
1173
  } else {
1174
- var pattern = /^[A-Za-z0-9]+$/;
1175
  if(!pattern.test(tracking_number.val())){
1176
  tracking_number.css( "border-color", "red" );
1177
  error = true;
@@ -1200,7 +1322,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
1200
  wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1201
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1202
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1203
- }
 
1204
  }
1205
  }
1206
 
@@ -1292,11 +1415,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
1292
  'post_type' => 'shop_order',
1293
  'posts_per_page' => '1',
1294
  'meta_query' => array(
1295
- 'relation' => 'AND',
1296
  array(
1297
- 'key' => '_ebay_extended_order_id',
1298
- 'value' => $order_id
1299
  ),
 
 
 
 
1300
  ),
1301
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1302
  );
181
 
182
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
183
  if($wc_ast_status_shipped == 1){
184
+ $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
185
+ $shipped_label = __( 'Shipped', 'woo-advanced-shipment-tracking' );
186
  } else{
187
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
188
+ $shipped_label = __( 'Completed', 'woo-advanced-shipment-tracking' );
189
  }
190
+
191
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
192
  ?>
193
  <div id="" class="trackingpopup_wrapper add_tracking_popup" style="display:none;">
194
  <div class="trackingpopup_row">
195
  <h3 class="popup_title"><?php _e( 'Add Tracking Number', 'woo-advanced-shipment-tracking'); ?></h2>
196
  <form id="add_tracking_number_form" method="POST" class="add_tracking_number_form">
197
+ <p class="form-field tracking_number_field ">
198
+ <label for="tracking_number"><?php _e( 'Provider:', 'woo-advanced-shipment-tracking'); ?></label>
199
+ <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
200
+ </p>
201
  <p class="form-field">
202
+ <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;max-width: 100%;">
203
  <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
204
  <?php
205
  foreach($shippment_countries as $s_c){
222
  <p class="form-field tracking_number_field ">
223
  <label for="tracking_number"><?php _e( 'Tracking number:', 'woo-advanced-shipment-tracking'); ?></label>
224
  <input type="text" class="short" style="" name="tracking_number" id="tracking_number" value="" placeholder="">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
225
  </p>
226
+ <p class="form-field date_shipped_field">
227
+ <label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
228
+ <input type="text" class="date-picker-field" style="" name="date_shipped" id="date_shipped" value="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ); ?>" placeholder="<?php echo date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), time() ); ?>">
229
+ </p>
230
+ <?php
231
+
232
+ //do_action("ast_tracking_form_between_form", $post->ID);
233
+
234
+ if($wc_ast_status_partial_shipped){ ?>
235
+ <fieldset class="form-field change_order_to_shipped_field ">
236
+ <legend><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></legend>
237
+ <ul class="wc-radios">
238
+ <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short" style=""><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
239
+ <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short" style=""><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
240
+ </ul>
241
+ </fieldset>
242
+ <?php } else{ ?>
243
+ <p class="form-field change_order_to_shipped_field ">
244
+ <label for="change_order_to_shipped"><?php echo $change_order_status_label; ?></label>
245
+ <input type="checkbox" class="checkbox" style="" name="change_order_to_shipped" id="change_order_to_shipped" value="yes" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>>
246
+ </p>
247
+ <?php } ?>
248
  <p class="" style="text-align:left;">
249
  <input type="hidden" name="action" value="add_inline_tracking_number">
250
  <input type="hidden" name="order_id" id="order_id" value="">
251
+ <input type="submit" name="Submit" value="Save Tracking" class="button-primary btn_green">
252
  </p>
253
  </form>
254
  </div>
255
  <div class="popupclose"></div>
256
  </div>
257
  <?php
258
+ //wp_enqueue_script( 'wc-admin-meta-boxes' );
259
  }
260
 
261
  /**
272
  $formatted = $this->get_formatted_tracking_item( $order_id, $item );
273
  ?>
274
  <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
275
+ <div class="tracking-content">
276
+ <div class="tracking-content-div">
277
+ <strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
278
+ <?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
279
+ - <?php
280
+ $url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
281
+ echo sprintf( '<a href="%s" target="_blank" title="' . esc_attr( __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) ) . '">' . __( $item['tracking_number'] ) . '</a>', esc_url( $url ) ); ?>
282
+ <?php endif; ?>
283
+ </div>
284
+ <?php do_action('ast_after_tracking_number',$order_id,$item['tracking_id']); ?>
285
+ <?php
286
+ $this->display_shipment_tracking_info( $order_id, $item );?>
287
+ </div>
288
  <p class="meta">
289
  <?php /* translators: 1: shipping date */ ?>
290
+ <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( get_option( 'date_format' ), $item['date_shipped'] ) ) ); ?>
291
  <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
292
  </p>
293
  </div>
301
  $shipment_status = get_post_meta( $order_id, "shipment_status", true);
302
  $tracking_id = $item['tracking_id'];
303
  $tracking_items = $this->get_tracking_items( $order_id );
304
+ $wp_date_format = get_option( 'date_format' );
305
+ if($wp_date_format == 'd/m/Y'){
306
+ $date_format = 'd/m';
307
+ } else{
308
+ $date_format = 'm/d';
309
+ }
310
  if ( count( $tracking_items ) > 0 ) {
311
  foreach ( $tracking_items as $key => $tracking_item ) {
312
  if( $tracking_id == $tracking_item['tracking_id'] ){
321
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
322
  $has_est_delivery = true;
323
  }
324
+ ?>
325
+ <div class="ast-shipment-status-div">
326
  <span class="ast-shipment-status shipment-<?php echo sanitize_title($status)?>"><?php echo apply_filters( "trackship_status_icon_filter", "", $status )?> <strong><?php echo apply_filters("trackship_status_filter",$status)?></strong></span>
327
+ <span class="">on <?php echo date( $date_format, strtotime($status_date))?></span>
328
  <br>
329
  <?php if( $has_est_delivery ){?>
330
+ <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date))?>)</span>
331
  <?php } ?>
332
+ </div>
333
  <?php
334
  }
335
  }
371
 
372
  $default_provider = get_option("wc_ast_default_provider" );
373
  $wc_ast_default_mark_shipped = get_option("wc_ast_default_mark_shipped" );
374
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
375
  $value = 1;
376
  $cbvalue = '';
377
  if($wc_ast_default_mark_shipped == 1){
378
+ if($wc_ast_status_partial_shipped){
379
+ $cbvalue = 'change_order_to_shipped';
380
+ } else{
381
+ $cbvalue = 1;
382
+ }
383
  }
384
 
385
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
386
  if($wc_ast_status_shipped == 1){
387
+ $change_order_status_label = __( 'Mark as Shipped?', 'woo-advanced-shipment-tracking' );
388
+ $shipped_label = 'Shipped';
389
  } else{
390
  $change_order_status_label = __( 'Mark as Completed?', 'woo-advanced-shipment-tracking' );
391
+ $shipped_label = 'Completed';
392
  }
393
 
394
+
395
 
396
  echo '<div id="tracking-items">';
397
  if ( count( $tracking_items ) > 0 ) {
398
+ foreach ( $tracking_items as $tracking_item ) {
399
  $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
400
  }
401
  }
456
  'description' => '',
457
  'class' => 'date-picker-field',
458
  'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
459
+ ) );
460
+
461
+ do_action("ast_tracking_form_between_form", $post->ID);
462
 
463
+ if($wc_ast_status_partial_shipped){
464
+ ?>
465
+ <fieldset class="form-field change_order_to_shipped_field" style="margin-bottom: 10px;">
466
+ <span><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></span>
467
+ <ul class="wc-radios">
468
+ <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="checkbox" class="select short mark_shipped_checkbox" <?php if($wc_ast_default_mark_shipped == 1){ echo 'checked'; }?>><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
469
+ <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="checkbox" class="select short mark_shipped_checkbox"><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
470
+ </ul>
471
+ </fieldset>
472
+ <?php
473
+ } else{
474
+ woocommerce_wp_checkbox( array(
475
+ 'id' => 'change_order_to_shipped',
476
+ 'label' => __( $change_order_status_label, 'woo-advanced-shipment-tracking' ),
477
+ 'description' => '',
478
+ 'cbvalue' => $cbvalue,
479
+ 'value' => $value,
480
+ ) );
481
+ }
482
+ echo '<button class="button button-primary btn_green button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
483
+ echo '<p class="preview_tracking_link">' . __( 'Preview:', 'woo-advanced-shipment-tracking' ) . ' <a href="" target="_blank">' . __( 'Track Shipment', 'woo-advanced-shipment-tracking' ) . '</a></p>';
484
 
485
  echo '</div>';
486
  $provider_array = array();
538
 
539
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
540
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
541
+
542
+ do_action("ast_tracking_form_end_meta_box");
543
  }
544
 
545
  /**
601
 
602
  $tracking_item = $this->add_tracking_item( $order_id, $args );
603
 
604
+ if($_POST['change_order_to_shipped'] == 'change_order_to_shipped'){
605
  $order = new WC_Order($order_id);
606
  $order->update_status('completed');
607
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
608
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
609
+ } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
610
+ $order = new WC_Order($order_id);
611
+ $previous_order_status = $order->get_status();
612
+
613
+ if('partial-shipped' == $previous_order_status){
614
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
615
+ }
616
+
617
+ $order->update_status('partial-shipped');
618
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
619
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
620
  }
621
 
622
  $this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
631
  * Function for saving tracking items via AJAX
632
  */
633
  public function save_inline_tracking_number() {
634
+ if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
 
635
  $order_id = wc_clean( $_POST['order_id'] );
636
  $args = array(
637
  'tracking_provider' => $_POST['tracking_provider'],
639
  'date_shipped' => wc_clean( $_POST['date_shipped'] ),
640
  );
641
 
642
+ $tracking_item = $this->add_tracking_item( $order_id, $args );
643
 
644
+ if($_POST['change_order_to_shipped'] == 'change_order_to_shipped' || $_POST['change_order_to_shipped'] == 'yes'){
645
  $order = new WC_Order($order_id);
646
  $order->update_status('completed');
647
  $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
648
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
649
+ } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
650
+ $order = new WC_Order($order_id);
651
+
652
+ $previous_order_status = $order->get_status();
653
+
654
+ if('partial-shipped' == $previous_order_status){
655
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
656
+ }
657
+
658
+ $order->update_status('partial-shipped');
659
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
660
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
661
+ }
662
  }
663
  }
664
 
712
  * Display Shipment info in the frontend (order view/tracking page).
713
  */
714
  public function show_tracking_info_order( $order_id ) {
715
+ 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/' );
716
  }
717
 
718
  /**
748
 
749
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
750
  $order = wc_get_order( $order_id );
751
+ $order_status = $order->get_status();
 
752
 
753
+ if ( is_a( $email, 'WC_Email_Customer_Invoice' ) && isset($wc_ast_unclude_tracking_info['show_in_customer_invoice']) && $wc_ast_unclude_tracking_info['show_in_customer_invoice'] == 0){
754
  return;
755
+ }
756
+ if(isset($wc_ast_unclude_tracking_info[$order_status]) && $wc_ast_unclude_tracking_info[$order_status] == 0 && !is_a( $email, 'WC_Email_Customer_Invoice' )){
757
  return;
758
  }
759
+
760
  $tracking_items = $this->get_tracking_items( $order_id, true );
761
 
762
  if ( true === $plain_text ) {
763
+ wc_get_template( 'emails/plain/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/' );
764
  } else {
765
+ 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/' );
766
  }
767
  }
768
 
872
  */
873
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
874
  $formatted = array();
875
+ $tracking_items = $this->get_tracking_items( $order_id );
876
+
877
+ foreach($tracking_items as $key=>$item){
878
+ if($item['tracking_id'] == $tracking_item['tracking_id']){
879
+ $shipmet_key = $key;
880
+ }
881
+ }
882
+
883
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
884
+
885
+ $status = '';
886
+ if(isset($shipment_status[$shipmet_key])){
887
+ $status = $shipment_status[$shipmet_key]['status'];
888
+ }
889
 
890
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
891
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
904
  $formatted['formatted_tracking_provider'] = '';
905
  $formatted['formatted_tracking_link'] = '';
906
 
907
+ if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider']) ) {
908
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
909
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
910
  } else {
927
  $wc_ast_api_key = get_option('wc_ast_api_key');
928
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
929
 
930
+ if( $wc_ast_api_key && $use_tracking_page && $status != 'carrier_unsupported'){
931
  $order_key = $order->get_order_key();
932
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
933
  } else {
941
  $shipping_country = $order->get_shipping_country();
942
  } else{
943
  $shipping_country = $order->get_billing_country();
944
+ }
945
+
946
+ if($shipping_country){
947
+
948
+ if($tracking_item['tracking_provider'] == 'jp-post' && $shipping_country != 'JP'){
949
+ $local_en = '&locale=en';
950
+ $link_format = $link_format.$local_en;
951
+ }
952
+
953
+ if($tracking_item['tracking_provider'] == 'dhl-ecommerce'){
954
+ $link_format = str_replace('us-en', strtolower($shipping_country).'-en', $link_format);
955
+ }
956
+
957
+ if($tracking_item['tracking_provider'] == 'dhl-freight'){
958
+ $link_format = str_replace('global-en', strtolower($shipping_country).'-en', $link_format);
959
+ }
960
  }
961
 
962
  if($order->get_shipping_postcode() != null){
963
  $shipping_postal_code = $order->get_shipping_postcode();
964
  } else{
965
  $shipping_postal_code = $order->get_billing_postcode();
966
+ }
967
+
968
+ $shipping_country = str_replace(' ', '', $shipping_country);
969
+ $link_format = str_replace("%country_code%", $shipping_country, $link_format);
970
+
971
+ if($tracking_item['tracking_provider'] == 'apc-overnight'){
972
+ $shipping_postal_code = str_replace(' ', '+', $shipping_postal_code);
973
+ } else{
974
+ $shipping_postal_code = str_replace(' ', '', $shipping_postal_code);
975
+ }
976
+ $link_format = str_replace("%postal_code%", $shipping_postal_code, $link_format);
977
 
978
  $formatted['formatted_tracking_link'] = $link_format;
979
  }
1045
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1046
  }
1047
 
1048
+ if(isset($args['products_list'])){
1049
+ $tracking_item['products_list'] = $args['products_list'];
1050
+ }
1051
+
1052
  if(isset($args['status_shipped'])){
1053
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
1054
  }
1068
 
1069
  $this->save_tracking_items( $order_id, $tracking_items );
1070
 
1071
+ $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1072
+
1073
+ if( $status_shipped == 1){
1074
  $order = new WC_Order( $order_id );
1075
  $order->update_status('completed');
1076
  }
1077
 
1078
+ if( $status_shipped == 2){
1079
+ $wc_ast_status_partial_shipped = get_option('wc_ast_status_partial_shipped');
1080
+ if($wc_ast_status_partial_shipped){
1081
+ $order = new WC_Order( $order_id );
1082
+ $order->update_status('partial-shipped');
1083
+ }
1084
+ }
1085
+
1086
  $formated_tracking_item = $this->get_formatted_tracking_item( $order_id, $tracking_item );
1087
  $tracking_provider = $formated_tracking_item['formatted_tracking_provider'];
1088
 
1144
  $this->save_tracking_items( $order_id, $tracking_items );
1145
  }
1146
 
1147
+ $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1148
+
1149
+ if( $status_shipped == 1){
1150
  $order = new WC_Order( $order_id );
1151
  $order->update_status('completed');
1152
  }
1153
+
1154
+ if( $status_shipped == 2){
1155
+ $order = new WC_Order( $order_id );
1156
+ $order->update_status('partial-shipped');
1157
+ }
1158
  return $tracking_item;
1159
  }
1160
 
1293
  tracking_number.css( "border-color", "red" );
1294
  error = true;
1295
  } else {
1296
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
1297
  if(!pattern.test(tracking_number.val())){
1298
  tracking_number.css( "border-color", "red" );
1299
  error = true;
1322
  wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1323
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1324
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1325
+ }
1326
+ do_action( 'ast_trigger_ts_status_change',$order_id, $old_status, $new_status );
1327
  }
1328
  }
1329
 
1415
  'post_type' => 'shop_order',
1416
  'posts_per_page' => '1',
1417
  'meta_query' => array(
1418
+ 'relation' => 'OR',
1419
  array(
1420
+ 'key' => '_ebay_extended_order_id',
1421
+ 'value' => $order_id
1422
  ),
1423
+ array(
1424
+ 'key' => '_ebay_order_id',
1425
+ 'value' => $order_id
1426
+ ),
1427
  ),
1428
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1429
  );
includes/class-wc-advanced-shipment-welcome.php ADDED
@@ -0,0 +1,365 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Class AST_Welcome
5
+ */
6
+ class AST_Welcome {
7
+
8
+ /**
9
+ * AST_Welcome constructor.
10
+ */
11
+ public function __construct() {
12
+
13
+ // If we are not in admin or admin ajax, return
14
+ if ( ! is_admin() ) {
15
+ return;
16
+ }
17
+
18
+ add_action( 'admin_init', array( $this, 'maybe_redirect' ), 9999 );
19
+ add_action( 'admin_menu', array( $this, 'register_welcome_page' ) );
20
+ add_action( 'admin_head', array( $this, 'hide_menu' ) );
21
+
22
+ add_action( 'admin_enqueue_scripts', array( $this, 'welcome_scripts' ) );
23
+ add_action( 'in_admin_header', array( $this, 'remove_all_admin_notice' ), 1000 );
24
+ }
25
+
26
+ /**
27
+ * Register the pages to be used for the Welcome screen.
28
+ *
29
+ * These pages will be removed from the Dashboard menu, so they will
30
+ * not actually show. Sneaky, sneaky.
31
+ *
32
+ * @since 1.0.0
33
+ */
34
+ public function register_welcome_page() {
35
+
36
+ // Getting started - shows after installation.
37
+ add_dashboard_page(
38
+ esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
39
+ esc_html__( 'Welcome to Advanced Shipment Tracking', 'woo-advanced-shipment-tracking' ),
40
+ apply_filters( 'ast_welcome_cap', 'manage_options' ),
41
+ 'ast-getting-started',
42
+ array( $this, 'welcome_screen' )
43
+ );
44
+ }
45
+
46
+ /**
47
+ * Removed the dashboard pages from the admin menu.
48
+ *
49
+ * This means the pages are still available to us, but hidden.
50
+ *
51
+ * @since 1.0.0
52
+ */
53
+ public function hide_menu() {
54
+ remove_submenu_page( 'index.php', 'ast-getting-started' );
55
+ }
56
+
57
+ /**
58
+ * Load the welcome screen content.
59
+ */
60
+ public function welcome_screen() { ?>
61
+ <div class="ast-admin-welcome-page">
62
+ <header class="ast-onboarding-header">
63
+ <!--nav class="ast-header-navigation"><a href="https://www.inearu.com/wp-admin/admin.php?page=ast_settings" class="ast-exit-button"><i class="monstericon-times-circle"></i><span>Exit Setup</span></a></nav-->
64
+ <h1 class="ast-onboarding-wizard-logo"><div class="ast-logo"><div class="ast-bg-img"><img class="plugin-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ast-logo.png"></div></div></h1></header>
65
+ <div class="ast-onboarding-wizard-container">
66
+ <div class="ast-onboarding-wizard-steps">
67
+ <!---->
68
+ <div class="ast-onboarding-wizard-step step-welcome ast-onboarding-wizard-step-active"></div>
69
+ <div class="ast-onboarding-wizard-step-line"></div>
70
+ <div class="ast-onboarding-wizard-step step-shipping"></div>
71
+ <div class="ast-onboarding-wizard-step-line"></div>
72
+ <div class="ast-onboarding-wizard-step step-delivered"></div>
73
+ <div class="ast-onboarding-wizard-step-line"></div>
74
+ <div class="ast-onboarding-wizard-step step-trackship"></div>
75
+ </div>
76
+ </div>
77
+ <div class="ast-onboarding-wizard-container">
78
+ <div class="woocommerce zorem_admin_layout ast-onboarding-wizard-content">
79
+ <div class="ast-onboarding-step-welcome">
80
+ <header>
81
+ <h2>General Settings</h2>
82
+ </header>
83
+ <div class="ast-onboarding-wizard-form">
84
+ <div class="ast-separator"></div>
85
+ <form method="post" id="wc_ast_settings_form" action="" enctype="multipart/form-data">
86
+ <?php
87
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
88
+ $admin->get_html( $admin->get_settings_data() ); ?>
89
+ <div class="submit">
90
+ <button name="save" class="button-primary ast-save-setup-settings btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
91
+ <div class="spinner"></div>
92
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
93
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
94
+ </div>
95
+ </form>
96
+ </div>
97
+ </div>
98
+ <div class="ast-onboarding-step-shipping">
99
+ <header>
100
+ <h2>Shipping Providers</h2>
101
+ </header>
102
+ <div class="ast-onboarding-wizard-form">
103
+ <div class="ast-separator"></div>
104
+ <?php
105
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
106
+ global $order;
107
+ $WC_Countries = new WC_Countries();
108
+ $countries = $WC_Countries->get_countries();
109
+
110
+ global $wpdb;
111
+ $woo_shippment_table_name = $admin->table;
112
+
113
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name WHERE display_in_order = 1" );
114
+
115
+ foreach($default_shippment_providers as $key => $value){
116
+ $search = array('(US)', '(UK)');
117
+ $replace = array('', '');
118
+ if($value->shipping_country && $value->shipping_country != 'Global'){
119
+ $country = str_replace($search, $replace, $WC_Countries->countries[$value->shipping_country]);
120
+ $default_shippment_providers[$key]->country = $country;
121
+ } elseif($value->shipping_country && $value->shipping_country == 'Global'){
122
+ $default_shippment_providers[$key]->country = 'Global';
123
+ }
124
+ }
125
+ //$admin->get_html( $admin->get_settings_data() );
126
+ require_once( 'views/admin_options_shipping_provider.php' );
127
+ ?>
128
+ <div class="submit">
129
+ <button name="save" class="button-primary ast-save-setup-providers btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
130
+ <div class="spinner"></div>
131
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
132
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
133
+ </div>
134
+ </div>
135
+ </div>
136
+ <div class="ast-onboarding-step-delivered">
137
+ <header>
138
+ <h2>Delivered Order Status</h2>
139
+ </header>
140
+ <div class="ast-onboarding-wizard-form">
141
+ <div class="ast-separator"></div>
142
+ <form method="post" id="wc_ast_delivered_settings_form" action="" enctype="multipart/form-data">
143
+ <?php
144
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
145
+ $admin->get_html( $admin->get_delivered_data() );?>
146
+ <div class="submit">
147
+ <button name="save" class="button-primary ast-save-setup-delivered btn_ast2 btn_large" type="button" value="Save changes"><?php _e( 'Save and Continue', 'woo-advanced-shipment-tracking' ); ?></button>
148
+ <div class="spinner"></div>
149
+ <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
150
+ <input type="hidden" name="action" value="wc_ast_settings_form_update">
151
+ </div>
152
+ </form>
153
+ </div>
154
+ </div>
155
+ <div class="ast-onboarding-step-trackship">
156
+
157
+ <?php
158
+ $wc_ast_api_key = get_option('wc_ast_api_key');
159
+ if($wc_ast_api_key){
160
+ $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
161
+ $args['body'] = array(
162
+ 'user_key' => $wc_ast_api_key,
163
+ );
164
+ $response = wp_remote_post( $url, $args );
165
+ $plan_data = json_decode($response['body']);
166
+ ?>
167
+ <header>
168
+ <?php if($wc_ast_api_key){ ?>
169
+ <h2>TrackShip</h2>
170
+ <?php } else{ ?>
171
+ <h2>Connect TrackShip to Your Website</h2>
172
+ <?php } ?>
173
+ </header>
174
+ <table class="form-table heading-table">
175
+ <tbody>
176
+ <tr valign="top">
177
+ <td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
178
+ </tr>
179
+ </tbody>
180
+ </table>
181
+ <table class="form-table">
182
+ <tbody>
183
+ <tr valign="top">
184
+ <td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
185
+ <td class="forminp">
186
+ <fieldset>
187
+ <a href="https://my.trackship.info/" target="_blank">
188
+ <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
189
+ </a>
190
+ </fieldset>
191
+ </td>
192
+ </tr>
193
+ <tr valign="top">
194
+ <td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
195
+ <td class="forminp">
196
+ <fieldset>
197
+ <strong><?php echo get_option('trackers_balance'); ?></strong>
198
+ </fieldset>
199
+ </td>
200
+ </tr>
201
+ <tr valign="top">
202
+ <td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
203
+ <td class="forminp">
204
+ <fieldset>
205
+ <strong>
206
+ <?php
207
+ if(isset($plan_data->subscription_plan)){
208
+ echo $plan_data->subscription_plan;
209
+ }
210
+ ?>
211
+ </strong>
212
+ </fieldset>
213
+ </td>
214
+ </tr>
215
+ <tr valign="top">
216
+ <td colspan="2">
217
+ <?php _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' ); ?>
218
+ </td>
219
+ </tr>
220
+ <tr valign="top">
221
+ <td colspan="2">
222
+ <a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
223
+ <a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
224
+ </td>
225
+ </tr>
226
+ </tbody>
227
+ </table>
228
+
229
+ <?php } else{ ?>
230
+ <div class="section-content trackship_section">
231
+ <div class="trackship-upsell-overlay">
232
+ <div class="trackship-upsell-top">
233
+ <h3><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="trackship_logo"></h3>
234
+ <p class="trackship-upsell-subtitle">TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.</p>
235
+ <p class="trackship-upsell-subtitle">You must have account TracksShip and connect your store in order to activate these advanced features:</p>
236
+ </div>
237
+ <div class="trackship-upsell-content">
238
+ <ul>
239
+ <li>Automatically track your shipments with 100+ shipping providers.</li>
240
+ <li>Display Shipment Status and latest shipment status, update date and est. delivery date on WooCommerce orders admin.</li>
241
+ <li>Option to manually get shipment tracking updates for orders.</li>
242
+ <li>Automatically change order status to Delivered once the shipment is delivered to your customers.</li>
243
+ <li>Option to filter orders with invalid tracking numbers or by shipment status event in orders admin</li>
244
+ <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
245
+ <li>Direct customers to a Tracking page on your store.</li>
246
+ </ul>
247
+ <div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
248
+ </div>
249
+ </div>
250
+ </div>
251
+ <?php } ?>
252
+ <div class="submit">
253
+ <a href="<?php echo admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' ); ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Save', 'woo-advanced-shipment-tracking' ); ?></a>
254
+ </div>
255
+ </div>
256
+ </div>
257
+ </div>
258
+ <!---->
259
+ </div>
260
+ <?php }
261
+
262
+ /**
263
+ * Check if we should do any redirect.
264
+ */
265
+ public function maybe_redirect() {
266
+
267
+ // Bail if no activation redirect.
268
+ if ( ! get_transient( '_ast_activation_redirect' ) ) {
269
+ return;
270
+ }
271
+
272
+ // Delete the redirect transient.
273
+ delete_transient( '_ast_activation_redirect' );
274
+
275
+ // Bail if activating from network, or bulk.
276
+ if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) { // WPCS: CSRF ok, input var ok.
277
+ return;
278
+ }
279
+
280
+ $redirect = admin_url( 'index.php?page=ast-getting-started' );
281
+ wp_safe_redirect( $redirect );
282
+ exit;
283
+ }
284
+
285
+ /**
286
+ * Scripts for loading the welcome screen Vue instance.
287
+ */
288
+ public function welcome_scripts() {
289
+
290
+ if(!isset($_GET['page'])) {
291
+ return;
292
+ }
293
+
294
+ if( $_GET['page'] != 'ast-getting-started') {
295
+ return;
296
+ }
297
+ $suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
298
+
299
+ wp_enqueue_style( 'font-awesome', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/font-awesome.min.css', array(), '4.7' );
300
+
301
+ wp_register_script( 'select2', WC()->plugin_url() . '/assets/js/select2/select2.full' . $suffix . '.js', array( 'jquery' ), '4.0.3' );
302
+ wp_enqueue_script( 'select2');
303
+
304
+ wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
305
+
306
+ 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);
307
+
308
+ wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
309
+ 'i18n' => array(
310
+ 'get_shipment_status_message' => __( 'Get Shipment Status is limited to 100 orders at a time, please select up to 100 orders.', 'woo-advanced-shipment-tracking' ),
311
+ ),
312
+ ) );
313
+
314
+ wp_register_script( 'selectWoo', WC()->plugin_url() . '/assets/js/selectWoo/selectWoo.full' . $suffix . '.js', array( 'jquery' ), '1.0.4' );
315
+ wp_register_script( 'wc-enhanced-select', WC()->plugin_url() . '/assets/js/admin/wc-enhanced-select' . $suffix . '.js', array( 'jquery', 'selectWoo' ), WC_VERSION );
316
+ wp_register_script( 'jquery-blockui', WC()->plugin_url() . '/assets/js/jquery-blockui/jquery.blockUI' . $suffix . '.js', array( 'jquery' ), '2.70', true );
317
+
318
+ wp_enqueue_script( 'selectWoo');
319
+ wp_enqueue_script( 'wc-enhanced-select');
320
+
321
+ wp_register_style( 'woocommerce_admin_styles', WC()->plugin_url() . '/assets/css/admin.css', array(), WC_VERSION );
322
+ wp_enqueue_style( 'woocommerce_admin_styles' );
323
+
324
+ wp_register_script( 'jquery-tiptip', WC()->plugin_url() . '/assets/js/jquery-tiptip/jquery.tipTip.min.js', array( 'jquery' ), WC_VERSION, true );
325
+ wp_enqueue_script( 'jquery-tiptip' );
326
+ wp_enqueue_script( 'jquery-blockui' );
327
+ wp_enqueue_script( 'wp-color-picker' );
328
+ wp_enqueue_script( 'jquery-ui-sortable' );
329
+ wp_enqueue_script('media-upload');
330
+ wp_enqueue_script('thickbox');
331
+ wp_enqueue_style('thickbox');
332
+
333
+ wp_enqueue_style( 'material-css', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/material.css', array(), wc_advanced_shipment_tracking()->version );
334
+ wp_enqueue_script( 'material-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/material.min.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
335
+
336
+ 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);
337
+
338
+ wp_enqueue_script( 'advanced_shipment_tracking_settings', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/settings.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
339
+
340
+ wp_enqueue_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 );
341
+ wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
342
+ 'i18n' => array(
343
+ 'data_saved' => __( 'Data saved successfully.', 'woo-advanced-shipment-tracking' ),
344
+ 'delete_provider' => __( 'Really delete this entry? This will not be undo.', 'woo-advanced-shipment-tracking' ),
345
+ 'upload_only_csv_file' => __( 'You can upload only csv file.', 'woo-advanced-shipment-tracking' ),
346
+ 'browser_not_html' => __( 'This browser does not support HTML5.', 'woo-advanced-shipment-tracking' ),
347
+ 'upload_valid_csv_file' => __( 'Please upload a valid CSV file.', 'woo-advanced-shipment-tracking' ),
348
+ ),
349
+ 'delete_rates_nonce' => wp_create_nonce( "delete-rate" ),
350
+ ) );
351
+ wp_enqueue_media();
352
+
353
+ wp_enqueue_style( 'shipment_tracking_welcome_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/welcome.css', array(), wc_advanced_shipment_tracking()->version );
354
+ wp_enqueue_script( 'shipment_tracking_welcome_script', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/welcome.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
355
+ }
356
+
357
+ public function remove_all_admin_notice(){
358
+ if( isset($_GET['page']) && $_GET['page'] == 'ast-getting-started'){
359
+ remove_all_actions('admin_notices');
360
+ remove_all_actions('all_admin_notices');
361
+ }
362
+ }
363
+ }
364
+
365
+ new AST_Welcome();
includes/customizer/class-wc-availableforpickup-email-customizer.php CHANGED
@@ -234,7 +234,7 @@ class wcast_availableforpickup_customizer_email {
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,7 +243,7 @@ class wcast_availableforpickup_customizer_email {
243
  $wp_customize->add_setting( 'wcast_availableforpickup_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_availableforpickup_email_heading'],
246
- 'transport' => 'postMessage',
247
  'sanitize_callback' => ''
248
  )
249
  );
@@ -256,7 +256,7 @@ class wcast_availableforpickup_customizer_email {
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
@@ -364,6 +364,7 @@ class wcast_availableforpickup_customizer_email {
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
 
367
  )
368
  )
369
  ) );
@@ -378,7 +379,7 @@ class wcast_availableforpickup_customizer_email {
378
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_code_block',
379
  array(
380
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
381
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
382
  'section' => 'customer_availableforpickup_email',
383
  )
384
  ) );
@@ -410,11 +411,21 @@ class wcast_availableforpickup_customizer_email {
410
  $preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
411
 
412
 
413
- $email_heading = get_theme_mod('wcast_availableforpickup_email_heading');
 
 
 
 
 
414
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
415
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
416
 
417
- $email_content = get_theme_mod('wcast_availableforpickup_email_content');
 
 
 
 
 
418
  $wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
419
  $wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
420
  $wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
@@ -429,6 +440,13 @@ class wcast_availableforpickup_customizer_email {
429
  return;
430
  }
431
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
432
  $mailer = WC()->mailer();
433
 
434
  // get the preview email subject
@@ -449,7 +467,8 @@ class wcast_availableforpickup_customizer_email {
449
  if($wcast_show_tracking_details == 1){
450
  ob_start();
451
  wc_get_template( 'emails/tracking-info.php', array(
452
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
453
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
454
  $message .= ob_get_clean();
455
  }
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
+ 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_subject'], 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
243
  $wp_customize->add_setting( 'wcast_availableforpickup_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_availableforpickup_email_heading'],
246
+ 'transport' => 'refresh',
247
  'sanitize_callback' => ''
248
  )
249
  );
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
+ 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_heading'], 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
367
+ 'placeholder' => __( $this->defaults['wcast_availableforpickup_email_content'], 'woo-advanced-shipment-tracking' ),
368
  )
369
  )
370
  ) );
379
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_code_block',
380
  array(
381
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
382
+ '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>',
383
  'section' => 'customer_availableforpickup_email',
384
  )
385
  ) );
411
  $preview_id = get_theme_mod('wcast_availableforpickup_email_preview_order_id');
412
 
413
 
414
+ $email_heading = get_theme_mod('wcast_availableforpickup_email_heading',$this->defaults['wcast_availableforpickup_email_heading']);
415
+
416
+ if($email_heading == ''){
417
+ $email_heading = $this->defaults['wcast_availableforpickup_email_heading'];
418
+ }
419
+
420
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
421
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
422
 
423
+ $email_content = get_theme_mod('wcast_availableforpickup_email_content',$this->defaults['wcast_availableforpickup_email_content']);
424
+
425
+ if($email_content == ''){
426
+ $email_content = $this->defaults['wcast_availableforpickup_email_content'];
427
+ }
428
+
429
  $wcast_show_tracking_details = get_theme_mod('wcast_availableforpickup_show_tracking_details');
430
  $wcast_show_order_details = get_theme_mod('wcast_availableforpickup_show_order_details');
431
  $wcast_show_billing_address = get_theme_mod('wcast_availableforpickup_show_billing_address');
440
  return;
441
  }
442
  $order = wc_get_order( $preview_id );
443
+
444
+ if(!$order){
445
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
446
+ echo $content;
447
+ return;
448
+ }
449
+
450
  $mailer = WC()->mailer();
451
 
452
  // get the preview email subject
467
  if($wcast_show_tracking_details == 1){
468
  ob_start();
469
  wc_get_template( 'emails/tracking-info.php', array(
470
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
471
+ 'order_id' => $preview_id,
472
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
473
  $message .= ob_get_clean();
474
  }
includes/customizer/class-wc-delivered-email-customizer.php CHANGED
@@ -235,7 +235,7 @@ class wcast_delivered_customizer_email {
235
  'input_attrs' => array(
236
  'class' => '',
237
  'style' => '',
238
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
239
  ),
240
  )
241
  );
@@ -244,7 +244,7 @@ class wcast_delivered_customizer_email {
244
  $wp_customize->add_setting( 'wcast_delivered_status_email_heading',
245
  array(
246
  'default' => $this->defaults['wcast_delivered_status_email_heading'],
247
- 'transport' => 'postMessage',
248
  'sanitize_callback' => ''
249
  )
250
  );
@@ -257,7 +257,7 @@ class wcast_delivered_customizer_email {
257
  'input_attrs' => array(
258
  'class' => '',
259
  'style' => '',
260
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
261
  ),
262
  )
263
  );
@@ -365,6 +365,7 @@ class wcast_delivered_customizer_email {
365
  'input_attrs' => array(
366
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
367
  'mediaButtons' => true,
 
368
  )
369
  )
370
  ) );
@@ -380,7 +381,7 @@ class wcast_delivered_customizer_email {
380
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_status_email_code_block',
381
  array(
382
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
383
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
384
  'section' => 'customer_delivered_status_email',
385
  )
386
  ) );
@@ -412,11 +413,21 @@ class wcast_delivered_customizer_email {
412
  $preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
413
 
414
 
415
- $email_heading = get_theme_mod('wcast_delivered_status_email_heading');
 
 
 
 
 
416
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
417
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
418
 
419
- $email_content = get_theme_mod('wcast_delivered_status_email_content');
 
 
 
 
 
420
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
421
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
422
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
@@ -431,6 +442,13 @@ class wcast_delivered_customizer_email {
431
  return;
432
  }
433
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
434
  $mailer = WC()->mailer();
435
 
436
  // get the preview email subject
@@ -451,7 +469,8 @@ class wcast_delivered_customizer_email {
451
  if($wcast_show_tracking_details == 1){
452
  ob_start();
453
  wc_get_template( 'emails/tracking-info.php', array(
454
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
455
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
456
  $message .= ob_get_clean();
457
  }
235
  'input_attrs' => array(
236
  'class' => '',
237
  'style' => '',
238
+ 'placeholder' => __( $this->defaults['wcast_delivered_status_email_subject'], 'woo-advanced-shipment-tracking' ),
239
  ),
240
  )
241
  );
244
  $wp_customize->add_setting( 'wcast_delivered_status_email_heading',
245
  array(
246
  'default' => $this->defaults['wcast_delivered_status_email_heading'],
247
+ 'transport' => 'refresh',
248
  'sanitize_callback' => ''
249
  )
250
  );
257
  'input_attrs' => array(
258
  'class' => '',
259
  'style' => '',
260
+ 'placeholder' => __( $this->defaults['wcast_delivered_status_email_heading'], 'woo-advanced-shipment-tracking' ),
261
  ),
262
  )
263
  );
365
  'input_attrs' => array(
366
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
367
  'mediaButtons' => true,
368
+ 'placeholder' => __( $this->defaults['wcast_delivered_status_email_content'], 'woo-advanced-shipment-tracking' ),
369
  )
370
  )
371
  ) );
381
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_status_email_code_block',
382
  array(
383
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
384
+ '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>',
385
  'section' => 'customer_delivered_status_email',
386
  )
387
  ) );
413
  $preview_id = get_theme_mod('wcast_delivered_status_email_preview_order_id');
414
 
415
 
416
+ $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$this->defaults['wcast_delivered_status_email_heading']);
417
+
418
+ if($email_heading == ''){
419
+ $email_heading = $this->defaults['wcast_delivered_status_email_heading'];
420
+ }
421
+
422
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
423
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
424
 
425
+ $email_content = get_theme_mod('wcast_delivered_status_email_content',$this->defaults['wcast_delivered_status_email_content']);
426
+
427
+ if($email_content == ''){
428
+ $email_content = $this->defaults['wcast_delivered_status_email_content'];
429
+ }
430
+
431
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
432
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
433
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
442
  return;
443
  }
444
  $order = wc_get_order( $preview_id );
445
+
446
+ if(!$order){
447
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
448
+ echo $content;
449
+ return;
450
+ }
451
+
452
  $mailer = WC()->mailer();
453
 
454
  // get the preview email subject
469
  if($wcast_show_tracking_details == 1){
470
  ob_start();
471
  wc_get_template( 'emails/tracking-info.php', array(
472
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
473
+ 'order_id' => $preview_id,
474
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
475
  $message .= ob_get_clean();
476
  }
includes/customizer/class-wc-email-customizer.php CHANGED
@@ -40,7 +40,7 @@ class wcast_initialise_customizer_email {
40
 
41
  add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
 
43
- add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
  }
45
 
46
  public function enqueue_preview_scripts() {
@@ -166,7 +166,7 @@ class wcast_initialise_customizer_email {
166
  )
167
  ) );
168
  // Display Shipment Provider image/thumbnail
169
- $wp_customize->add_setting( 'woocommerce_customer_delivered_order_settings[enabled]',
170
  array(
171
  'default' => $this->defaults['wcast_enable_delivered_email'],
172
  'transport' => 'postMessage',
@@ -174,7 +174,7 @@ class wcast_initialise_customizer_email {
174
  'sanitize_callback' => ''
175
  )
176
  );
177
- $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[enabled]',
178
  array(
179
  'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
180
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
@@ -246,7 +246,7 @@ class wcast_initialise_customizer_email {
246
  'input_attrs' => array(
247
  'class' => '',
248
  'style' => '',
249
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
250
  ),
251
  )
252
  );
@@ -269,7 +269,7 @@ class wcast_initialise_customizer_email {
269
  'input_attrs' => array(
270
  'class' => '',
271
  'style' => '',
272
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
273
  ),
274
  )
275
  );
@@ -291,6 +291,7 @@ class wcast_initialise_customizer_email {
291
  'input_attrs' => array(
292
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
293
  'mediaButtons' => true,
 
294
  )
295
  )
296
  ) );
@@ -411,7 +412,7 @@ class wcast_initialise_customizer_email {
411
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_email_code_block',
412
  array(
413
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
414
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}</code>',
415
  'section' => 'customer_delivered_email',
416
  )
417
  ) );
@@ -543,10 +544,27 @@ class wcast_initialise_customizer_email {
543
  return $order;
544
  }
545
 
546
- }
547
  }
548
  /**
549
  * Initialise our Customizer settings
550
  */
551
 
552
- $wcast_customizer_settings = new wcast_initialise_customizer_email();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
 
41
  add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
 
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
  }
45
 
46
  public function enqueue_preview_scripts() {
166
  )
167
  ) );
168
  // Display Shipment Provider image/thumbnail
169
+ $wp_customize->add_setting( 'customizer_delivered_order_settings_enabled',
170
  array(
171
  'default' => $this->defaults['wcast_enable_delivered_email'],
172
  'transport' => 'postMessage',
174
  'sanitize_callback' => ''
175
  )
176
  );
177
+ $wp_customize->add_control( 'customizer_delivered_order_settings_enabled',
178
  array(
179
  'label' => __( 'Enable Delivered order status email', 'woo-advanced-shipment-tracking' ),
180
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
246
  'input_attrs' => array(
247
  'class' => '',
248
  'style' => '',
249
+ 'placeholder' => __( $this->defaults['wcast_delivered_email_subject'], 'woo-advanced-shipment-tracking' ),
250
  ),
251
  )
252
  );
269
  'input_attrs' => array(
270
  'class' => '',
271
  'style' => '',
272
+ 'placeholder' => __( $this->defaults['wcast_delivered_email_heading'], 'woo-advanced-shipment-tracking' ),
273
  ),
274
  )
275
  );
291
  'input_attrs' => array(
292
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
293
  'mediaButtons' => true,
294
+ 'placeholder' => __( $this->defaults['wcast_delivered_email_content'], 'woo-advanced-shipment-tracking' ),
295
  )
296
  )
297
  ) );
412
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_email_code_block',
413
  array(
414
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
415
+ '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}</code>',
416
  'section' => 'customer_delivered_email',
417
  )
418
  ) );
544
  return $order;
545
  }
546
 
547
+ }
548
  }
549
  /**
550
  * Initialise our Customizer settings
551
  */
552
 
553
+ $wcast_customizer_settings = new wcast_initialise_customizer_email();
554
+ add_action( 'customize_save_customizer_delivered_order_settings_enabled', 'woocommerce_customer_delivered_order_settings_fun', 100, 1 );
555
+
556
+ /**
557
+ * Update Delivered order email enable/disable
558
+ *
559
+ */
560
+ function woocommerce_customer_delivered_order_settings_fun($data){
561
+ $post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
562
+ $delivered_order_settings = get_option( 'woocommerce_customer_delivered_order_settings');
563
+
564
+ if(isset($post_values['customizer_delivered_order_settings_enabled']) && ($post_values['customizer_delivered_order_settings_enabled'] == 1)){
565
+ $delivered_order_settings['enabled'] = 'yes';
566
+ } else{
567
+ $delivered_order_settings['enabled'] = 'no';
568
+ }
569
+ update_option( 'woocommerce_customer_delivered_order_settings',$delivered_order_settings);
570
+ }
includes/customizer/class-wc-failure-email-customizer.php CHANGED
@@ -234,7 +234,7 @@ class wcast_failure_customizer_email {
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,7 +243,7 @@ class wcast_failure_customizer_email {
243
  $wp_customize->add_setting( 'wcast_failure_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_failure_email_heading'],
246
- 'transport' => 'postMessage',
247
  'sanitize_callback' => ''
248
  )
249
  );
@@ -256,7 +256,7 @@ class wcast_failure_customizer_email {
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
@@ -364,6 +364,7 @@ class wcast_failure_customizer_email {
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
 
367
  )
368
  )
369
  ) );
@@ -379,7 +380,7 @@ class wcast_failure_customizer_email {
379
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_code_block',
380
  array(
381
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
382
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_failure_email',
384
  )
385
  ) );
@@ -411,11 +412,21 @@ class wcast_failure_customizer_email {
411
  $preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
412
 
413
 
414
- $email_heading = get_theme_mod('wcast_failure_email_heading');
 
 
 
 
 
415
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
416
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
417
 
418
- $email_content = get_theme_mod('wcast_failure_email_content');
 
 
 
 
 
419
  $wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
420
  $wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
421
  $wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
@@ -429,7 +440,15 @@ class wcast_failure_customizer_email {
429
  echo $content;
430
  return;
431
  }
 
432
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
433
  $mailer = WC()->mailer();
434
 
435
  // get the preview email subject
@@ -450,7 +469,8 @@ class wcast_failure_customizer_email {
450
  if($wcast_show_tracking_details == 1){
451
  ob_start();
452
  wc_get_template( 'emails/tracking-info.php', array(
453
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
454
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
455
  $message .= ob_get_clean();
456
  }
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
+ 'placeholder' => __( $this->defaults['wcast_failure_email_subject'], 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
243
  $wp_customize->add_setting( 'wcast_failure_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_failure_email_heading'],
246
+ 'transport' => 'refresh',
247
  'sanitize_callback' => ''
248
  )
249
  );
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
+ 'placeholder' => __( $this->defaults['wcast_failure_email_heading'], 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
367
+ 'placeholder' => __( $this->defaults['wcast_failure_email_content'], 'woo-advanced-shipment-tracking' ),
368
  )
369
  )
370
  ) );
380
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_code_block',
381
  array(
382
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
383
+ '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>',
384
  'section' => 'customer_failure_email',
385
  )
386
  ) );
412
  $preview_id = get_theme_mod('wcast_failure_email_preview_order_id');
413
 
414
 
415
+ $email_heading = get_theme_mod('wcast_failure_email_heading',$this->defaults['wcast_failure_email_heading']);
416
+
417
+ if($email_heading == ''){
418
+ $email_heading = $this->defaults['wcast_failure_email_heading'];
419
+ }
420
+
421
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
422
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
423
 
424
+ $email_content = get_theme_mod('wcast_failure_email_content',$this->defaults['wcast_failure_email_content']);
425
+
426
+ if($email_content == ''){
427
+ $email_content = $this->defaults['wcast_failure_email_content'];
428
+ }
429
+
430
  $wcast_show_tracking_details = get_theme_mod('wcast_failure_show_tracking_details');
431
  $wcast_show_order_details = get_theme_mod('wcast_failure_show_order_details');
432
  $wcast_show_billing_address = get_theme_mod('wcast_failure_show_billing_address');
440
  echo $content;
441
  return;
442
  }
443
+
444
  $order = wc_get_order( $preview_id );
445
+
446
+ if(!$order){
447
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
448
+ echo $content;
449
+ return;
450
+ }
451
+
452
  $mailer = WC()->mailer();
453
 
454
  // get the preview email subject
469
  if($wcast_show_tracking_details == 1){
470
  ob_start();
471
  wc_get_template( 'emails/tracking-info.php', array(
472
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
473
+ 'order_id' => $preview_id,
474
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
475
  $message .= ob_get_clean();
476
  }
includes/customizer/class-wc-intransit-email-customizer.php CHANGED
@@ -238,7 +238,7 @@ class wcast_intransit_customizer_email {
238
  'input_attrs' => array(
239
  'class' => '',
240
  'style' => '',
241
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
242
  ),
243
  )
244
  );
@@ -247,7 +247,7 @@ class wcast_intransit_customizer_email {
247
  $wp_customize->add_setting( 'wcast_intransit_email_heading',
248
  array(
249
  'default' => $this->defaults['wcast_intransit_email_heading'],
250
- 'transport' => 'postMessage',
251
  'sanitize_callback' => ''
252
  )
253
  );
@@ -260,7 +260,7 @@ class wcast_intransit_customizer_email {
260
  'input_attrs' => array(
261
  'class' => '',
262
  'style' => '',
263
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
264
  ),
265
  )
266
  );
@@ -347,6 +347,7 @@ class wcast_intransit_customizer_email {
347
  'input_attrs' => array(
348
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
349
  'mediaButtons' => true,
 
350
  )
351
  )
352
  ) );
@@ -383,7 +384,7 @@ class wcast_intransit_customizer_email {
383
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_code_block',
384
  array(
385
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
386
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
387
  'section' => 'customer_intransit_email',
388
  )
389
  ) );
@@ -414,11 +415,21 @@ class wcast_intransit_customizer_email {
414
  $emails = $wc_emails->get_emails();
415
  $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
416
 
417
- $email_heading = get_theme_mod('wcast_intransit_email_heading');
 
 
 
 
 
418
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
419
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
420
 
421
- $email_content = get_theme_mod('wcast_intransit_email_content');
 
 
 
 
 
422
  $wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
423
  $wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
424
  $wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
@@ -434,6 +445,13 @@ class wcast_intransit_customizer_email {
434
  }
435
 
436
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
437
  $mailer = WC()->mailer();
438
 
439
  // get the preview email subject
@@ -454,7 +472,8 @@ class wcast_intransit_customizer_email {
454
  if($wcast_show_tracking_details == 1){
455
  ob_start();
456
  wc_get_template( 'emails/tracking-info.php', array(
457
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
458
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
459
  $message .= ob_get_clean();
460
  }
238
  'input_attrs' => array(
239
  'class' => '',
240
  'style' => '',
241
+ 'placeholder' => __( $this->defaults['wcast_intransit_email_subject'], 'woo-advanced-shipment-tracking' ),
242
  ),
243
  )
244
  );
247
  $wp_customize->add_setting( 'wcast_intransit_email_heading',
248
  array(
249
  'default' => $this->defaults['wcast_intransit_email_heading'],
250
+ 'transport' => 'refresh',
251
  'sanitize_callback' => ''
252
  )
253
  );
260
  'input_attrs' => array(
261
  'class' => '',
262
  'style' => '',
263
+ 'placeholder' => __( $this->defaults['wcast_intransit_email_heading'], 'woo-advanced-shipment-tracking' ),
264
  ),
265
  )
266
  );
347
  'input_attrs' => array(
348
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
349
  'mediaButtons' => true,
350
+ 'placeholder' => __( $this->defaults['wcast_intransit_email_content'], 'woo-advanced-shipment-tracking' ),
351
  )
352
  )
353
  ) );
384
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_code_block',
385
  array(
386
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
387
+ '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>',
388
  'section' => 'customer_intransit_email',
389
  )
390
  ) );
415
  $emails = $wc_emails->get_emails();
416
  $preview_id = get_theme_mod('wcast_intransit_email_preview_order_id');
417
 
418
+ $email_heading = get_theme_mod('wcast_intransit_email_heading',$this->defaults['wcast_intransit_email_heading']);
419
+
420
+ if($email_heading == ''){
421
+ $email_heading = $this->defaults['wcast_intransit_email_heading'];
422
+ }
423
+
424
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
425
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
426
 
427
+ $email_content = get_theme_mod('wcast_intransit_email_content',$this->defaults['wcast_intransit_email_content']);
428
+
429
+ if($email_content == ''){
430
+ $email_content = $this->defaults['wcast_intransit_email_content'];
431
+ }
432
+
433
  $wcast_show_tracking_details = get_theme_mod('wcast_intransit_show_tracking_details');
434
  $wcast_show_order_details = get_theme_mod('wcast_intransit_show_order_details');
435
  $wcast_show_billing_address = get_theme_mod('wcast_intransit_show_billing_address');
445
  }
446
 
447
  $order = wc_get_order( $preview_id );
448
+
449
+ if(!$order){
450
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
451
+ echo $content;
452
+ return;
453
+ }
454
+
455
  $mailer = WC()->mailer();
456
 
457
  // get the preview email subject
472
  if($wcast_show_tracking_details == 1){
473
  ob_start();
474
  wc_get_template( 'emails/tracking-info.php', array(
475
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
476
+ 'order_id' => $preview_id,
477
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
478
  $message .= ob_get_clean();
479
  }
includes/customizer/class-wc-outfordelivery-email-customizer.php CHANGED
@@ -236,7 +236,7 @@ class wcast_outfordelivery_customizer_email {
236
  'input_attrs' => array(
237
  'class' => '',
238
  'style' => '',
239
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
240
  ),
241
  )
242
  );
@@ -245,7 +245,7 @@ class wcast_outfordelivery_customizer_email {
245
  $wp_customize->add_setting( 'wcast_outfordelivery_email_heading',
246
  array(
247
  'default' => $this->defaults['wcast_outfordelivery_email_heading'],
248
- 'transport' => 'postMessage',
249
  'sanitize_callback' => ''
250
  )
251
  );
@@ -258,7 +258,7 @@ class wcast_outfordelivery_customizer_email {
258
  'input_attrs' => array(
259
  'class' => '',
260
  'style' => '',
261
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
262
  ),
263
  )
264
  );
@@ -366,6 +366,7 @@ class wcast_outfordelivery_customizer_email {
366
  'input_attrs' => array(
367
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
368
  'mediaButtons' => true,
 
369
  )
370
  )
371
  ) );
@@ -381,7 +382,7 @@ class wcast_outfordelivery_customizer_email {
381
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_code_block',
382
  array(
383
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
384
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
385
  'section' => 'customer_outfordelivery_email',
386
  )
387
  ) );
@@ -412,11 +413,21 @@ class wcast_outfordelivery_customizer_email {
412
  $emails = $wc_emails->get_emails();
413
  $preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
414
 
415
- $email_heading = get_theme_mod('wcast_outfordelivery_email_heading');
 
 
 
 
 
416
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
417
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
418
 
419
- $email_content = get_theme_mod('wcast_outfordelivery_email_content');
 
 
 
 
 
420
  $wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
421
  $wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
422
  $wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
@@ -432,6 +443,13 @@ class wcast_outfordelivery_customizer_email {
432
  }
433
 
434
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
435
  $mailer = WC()->mailer();
436
 
437
  // get the preview email subject
@@ -452,7 +470,8 @@ class wcast_outfordelivery_customizer_email {
452
  if($wcast_show_tracking_details == 1){
453
  ob_start();
454
  wc_get_template( 'emails/tracking-info.php', array(
455
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
456
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
457
  $message .= ob_get_clean();
458
  }
236
  'input_attrs' => array(
237
  'class' => '',
238
  'style' => '',
239
+ 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_subject'], 'woo-advanced-shipment-tracking' ),
240
  ),
241
  )
242
  );
245
  $wp_customize->add_setting( 'wcast_outfordelivery_email_heading',
246
  array(
247
  'default' => $this->defaults['wcast_outfordelivery_email_heading'],
248
+ 'transport' => 'refresh',
249
  'sanitize_callback' => ''
250
  )
251
  );
258
  'input_attrs' => array(
259
  'class' => '',
260
  'style' => '',
261
+ 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_heading'], 'woo-advanced-shipment-tracking' ),
262
  ),
263
  )
264
  );
366
  'input_attrs' => array(
367
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
368
  'mediaButtons' => true,
369
+ 'placeholder' => __( $this->defaults['wcast_outfordelivery_email_content'], 'woo-advanced-shipment-tracking' ),
370
  )
371
  )
372
  ) );
382
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_code_block',
383
  array(
384
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
385
+ '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>',
386
  'section' => 'customer_outfordelivery_email',
387
  )
388
  ) );
413
  $emails = $wc_emails->get_emails();
414
  $preview_id = get_theme_mod('wcast_outfordelivery_email_preview_order_id');
415
 
416
+ $email_heading = get_theme_mod('wcast_outfordelivery_email_heading',$this->defaults['wcast_outfordelivery_email_heading']);
417
+
418
+ if($email_heading == ''){
419
+ $email_heading = $this->defaults['wcast_outfordelivery_email_heading'];
420
+ }
421
+
422
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
423
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
424
 
425
+ $email_content = get_theme_mod('wcast_outfordelivery_email_content',$this->defaults['wcast_outfordelivery_email_content']);
426
+
427
+ if($email_content == ''){
428
+ $email_content = $this->defaults['wcast_outfordelivery_email_content'];
429
+ }
430
+
431
  $wcast_show_tracking_details = get_theme_mod('wcast_outfordelivery_show_tracking_details');
432
  $wcast_show_order_details = get_theme_mod('wcast_outfordelivery_show_order_details');
433
  $wcast_show_billing_address = get_theme_mod('wcast_outfordelivery_show_billing_address');
443
  }
444
 
445
  $order = wc_get_order( $preview_id );
446
+
447
+ if(!$order){
448
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
449
+ echo $content;
450
+ return;
451
+ }
452
+
453
  $mailer = WC()->mailer();
454
 
455
  // get the preview email subject
470
  if($wcast_show_tracking_details == 1){
471
  ob_start();
472
  wc_get_template( 'emails/tracking-info.php', array(
473
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
474
+ 'order_id' => $preview_id,
475
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
476
  $message .= ob_get_clean();
477
  }
includes/customizer/class-wc-partial-shipped-email-customizer.php ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_partial_shipped_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
+ // Register our sample default controls
17
+ add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
18
+
19
+ // Only proceed if this is own request.
20
+ if ( ! wcast_partial_shipped_customizer_email::is_own_customizer_request() && ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
21
+ return;
22
+ }
23
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
24
+ // Register our sections
25
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
26
+
27
+ // Remove unrelated components.
28
+ add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
29
+
30
+ // Remove unrelated sections.
31
+ add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
32
+
33
+ // Unhook divi front end.
34
+ add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
35
+
36
+ // Unhook Flatsome js
37
+ add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
38
+
39
+ add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
40
+
41
+ add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
+
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
+ }
45
+
46
+ public function enqueue_preview_scripts() {
47
+ 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);
48
+ wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
49
+ // Send variables to Javascript
50
+ $preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
51
+ wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
52
+ 'site_title' => $this->get_blogname(),
53
+ 'order_number' => $preview_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
+ * Checks to see if we are opening our custom customizer preview
68
+ *
69
+ * @access public
70
+ * @return bool
71
+ */
72
+ public static function is_own_preview_request() {
73
+ return isset( $_REQUEST['wcast-partial-shipped-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-partial-shipped-email-customizer-preview'];
74
+ }
75
+
76
+ /**
77
+ * Checks to see if we are opening our custom customizer controls
78
+ *
79
+ * @access public
80
+ * @return bool
81
+ */
82
+ public static function is_own_customizer_request() {
83
+ return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_partial_shipped_email';
84
+ }
85
+
86
+ /**
87
+ * Get Customizer URL
88
+ *
89
+ */
90
+ public static function get_customizer_url($email) {
91
+ $customizer_url = add_query_arg( array(
92
+ 'wcast-customizer' => '1',
93
+ 'email' => $email,
94
+ 'url' => urlencode( add_query_arg( array( 'wcast-partial-shipped-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
95
+ 'return' => urlencode( wcast_partial_shipped_customizer_email::get_email_settings_page_url() ),
96
+ ), admin_url( 'customize.php' ) );
97
+
98
+ return $customizer_url;
99
+ }
100
+
101
+ /**
102
+ * Get WooCommerce email settings page URL
103
+ *
104
+ * @access public
105
+ * @return string
106
+ */
107
+ public static function get_email_settings_page_url() {
108
+ return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
109
+ }
110
+
111
+ /**
112
+ * code for initialize default value for customizer
113
+ */
114
+ public function wcast_generate_defaults() {
115
+ $customizer_defaults = array(
116
+ 'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partially shipped', 'woo-advanced-shipment-tracking' ),
117
+ 'wcast_partial_shipped_email_heading' => __( 'Your Order is Partially Shipped', 'woocommerce' ),
118
+ 'wcast_partial_shipped_email_content' => __( "Hi there. we thought you'd like to know that your recent order from {site_title} has been partially shipped.", 'woo-advanced-shipment-tracking' ),
119
+ 'wcast_enable_partial_shipped_email' => 'no',
120
+ );
121
+
122
+ return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
123
+ }
124
+
125
+ /**
126
+ * Register our sample default controls
127
+ */
128
+ public function wcast_register_sample_default_controls( $wp_customize ) {
129
+ /**
130
+ * Load all our Customizer Custom Controls
131
+ */
132
+ require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
133
+
134
+ $wp_customize->add_setting( 'partial_shipped_order_email_heading',
135
+ array(
136
+ 'default' => '',
137
+ 'transport' => 'postMessage',
138
+ 'sanitize_callback' => ''
139
+ )
140
+ );
141
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'partial_shipped_order_email_heading',
142
+ array(
143
+ 'label' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
144
+ 'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
145
+ 'section' => 'customer_partial_shipped_email'
146
+ )
147
+ ) );
148
+ // Display Shipment Provider image/thumbnail
149
+ $wp_customize->add_setting( 'customizer_partial_shipped_order_settings_enabled',
150
+ array(
151
+ 'default' => $this->defaults['wcast_enable_partial_shipped_email'],
152
+ 'transport' => 'postMessage',
153
+ 'type' => 'option',
154
+ 'sanitize_callback' => ''
155
+ )
156
+ );
157
+ $wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
158
+ array(
159
+ 'label' => __( 'Enable Partially Shipped order status email', 'woo-advanced-shipment-tracking' ),
160
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
161
+ 'section' => 'customer_partial_shipped_email',
162
+ 'type' => 'checkbox',
163
+
164
+ )
165
+ );
166
+
167
+ // Preview Order
168
+ $wp_customize->add_setting( 'wcast_partial_shipped_preview_order_id',
169
+ array(
170
+ 'default' => 'mockup',
171
+ 'transport' => 'refresh',
172
+ 'sanitize_callback' => ''
173
+ )
174
+ );
175
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_partial_shipped_preview_order_id',
176
+ array(
177
+ 'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
178
+ 'description' => '',
179
+ 'section' => 'customer_partial_shipped_email',
180
+ 'input_attrs' => array(
181
+ 'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
182
+ 'class' => 'preview_order_select',
183
+ ),
184
+ 'choices' => wcast_customizer()->get_order_ids(),
185
+ )
186
+ ) );
187
+
188
+ // Header Text
189
+ $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[subject]',
190
+ array(
191
+ 'default' => $this->defaults['wcast_partial_shipped_email_subject'],
192
+ 'transport' => 'postMessage',
193
+ 'type' => 'option',
194
+ 'sanitize_callback' => ''
195
+ )
196
+ );
197
+ $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
198
+ array(
199
+ 'label' => __( 'Subject', 'woocommerce' ),
200
+ 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
201
+ 'section' => 'customer_partial_shipped_email',
202
+ 'type' => 'text',
203
+ 'input_attrs' => array(
204
+ 'class' => '',
205
+ 'style' => '',
206
+ 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_subject'], 'woo-advanced-shipment-tracking' ),
207
+ ),
208
+ )
209
+ );
210
+
211
+ // Header Text
212
+ $wp_customize->add_setting( 'woocommerce_customer_partial_shipped_order_settings[heading]',
213
+ array(
214
+ 'default' => $this->defaults['wcast_partial_shipped_email_heading'],
215
+ 'transport' => 'postMessage',
216
+ 'type' => 'option',
217
+ 'sanitize_callback' => ''
218
+ )
219
+ );
220
+ $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[heading]',
221
+ array(
222
+ 'label' => __( 'Email heading', 'woocommerce' ),
223
+ 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
224
+ 'section' => 'customer_partial_shipped_email',
225
+ 'type' => 'text',
226
+ 'input_attrs' => array(
227
+ 'class' => '',
228
+ 'style' => '',
229
+ 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_heading'], 'woo-advanced-shipment-tracking' ),
230
+ ),
231
+ )
232
+ );
233
+
234
+
235
+ // Test of TinyMCE control
236
+ $wp_customize->add_setting( 'wcast_partial_shipped_email_content',
237
+ array(
238
+ 'default' => $this->defaults['wcast_partial_shipped_email_content'],
239
+ 'transport' => 'refresh',
240
+ 'sanitize_callback' => 'wp_kses_post'
241
+ )
242
+ );
243
+ $wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_partial_shipped_email_content',
244
+ array(
245
+ 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
246
+ 'description' => __( 'available variables: {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}', 'woo-advanced-shipment-tracking' ),
247
+ 'section' => 'customer_partial_shipped_email',
248
+ 'input_attrs' => array(
249
+ 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
250
+ 'mediaButtons' => true,
251
+ 'placeholder' => __( $this->defaults['wcast_partial_shipped_email_content'], 'woo-advanced-shipment-tracking' ),
252
+ )
253
+ )
254
+ ) );
255
+
256
+ $wp_customize->add_setting( 'wcast_partial_shipped_code_block',
257
+ array(
258
+ 'default' => '',
259
+ 'transport' => 'postMessage',
260
+ 'sanitize_callback' => ''
261
+ )
262
+ );
263
+ $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
264
+ array(
265
+ 'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
266
+ '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}</code>',
267
+ 'section' => 'customer_partial_shipped_email',
268
+ )
269
+ ) );
270
+ }
271
+
272
+ /**
273
+ * Set up preview
274
+ *
275
+ * @access public
276
+ * @return void
277
+ */
278
+ public function set_up_preview() {
279
+
280
+ // Make sure this is own preview request.
281
+ if ( ! wcast_partial_shipped_customizer_email::is_own_preview_request() ) {
282
+ return;
283
+ }
284
+ include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/partial_shipped_preview.php';
285
+ exit;
286
+ }
287
+
288
+ /**
289
+ * code for preview of delivered order status email
290
+ */
291
+ public function preview_partial_shipped_email(){
292
+ // Load WooCommerce emails.
293
+ $wc_emails = WC_Emails::instance();
294
+ $emails = $wc_emails->get_emails();
295
+ $preview_id = get_theme_mod('wcast_partial_shipped_preview_order_id');
296
+
297
+ if($preview_id == '' || $preview_id == 'mockup') {
298
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
299
+ echo $content;
300
+ return;
301
+ }
302
+
303
+ $email_type = 'WC_Email_Customer_Partial_Shipped_Order';
304
+
305
+ if ( false === $email_type ) {
306
+ return false;
307
+ }
308
+
309
+
310
+
311
+ // Reference email.
312
+ if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
313
+ $email = $emails[ $email_type ];
314
+ }
315
+ $order_status = 'partial-shipped';
316
+ // Get an order
317
+ $order = self::get_wc_order_for_preview( $order_status, $preview_id );
318
+
319
+ // Make sure gateways are running in case the email needs to input content from them.
320
+ WC()->payment_gateways();
321
+ // Make sure shipping is running in case the email needs to input content from it.
322
+ WC()->shipping();
323
+
324
+ $email->object = $order;
325
+ $email->find['order-date'] = '{order_date}';
326
+ $email->find['order-number'] = '{order_number}';
327
+ if ( is_object( $order ) ) {
328
+ $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
329
+ $email->replace['order-number'] = $email->object->get_order_number();
330
+ // Other properties
331
+ $email->recipient = $email->object->get_billing_email();
332
+ }
333
+
334
+ // Get email content and apply styles.
335
+ $content = $email->get_content();
336
+
337
+ $content = $email->style_inline( $content );
338
+ $content = apply_filters( 'woocommerce_mail_content', $content );
339
+
340
+ echo $content;
341
+ }
342
+
343
+ /**
344
+ * Get WooCommerce order for preview
345
+ *
346
+ * @access public
347
+ * @param string $order_status
348
+ * @return object
349
+ */
350
+ public static function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
351
+ if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
352
+ return wc_get_order( $order_id );
353
+ } else {
354
+ // Use mockup order
355
+
356
+ // Instantiate order object
357
+ $order = new WC_Order();
358
+
359
+ // Other order properties
360
+ $order->set_props( array(
361
+ 'id' => 1,
362
+ 'status' => ( null === $order_status ? 'processing' : $order_status ),
363
+ 'billing_first_name' => 'Sherlock',
364
+ 'billing_last_name' => 'Holmes',
365
+ 'billing_company' => 'Detectives Ltd.',
366
+ 'billing_address_1' => '221B Baker Street',
367
+ 'billing_city' => 'London',
368
+ 'billing_postcode' => 'NW1 6XE',
369
+ 'billing_country' => 'GB',
370
+ 'billing_email' => 'sherlock@holmes.co.uk',
371
+ 'billing_phone' => '02079304832',
372
+ 'date_created' => date( 'Y-m-d H:i:s' ),
373
+ 'total' => 24.90,
374
+ ) );
375
+
376
+ // Item #1
377
+ $order_item = new WC_Order_Item_Product();
378
+ $order_item->set_props( array(
379
+ 'name' => 'A Study in Scarlet',
380
+ 'subtotal' => '9.95',
381
+ 'sku' => 'kwd_ex_1',
382
+ ) );
383
+ $order->add_item( $order_item );
384
+
385
+ // Item #2
386
+ $order_item = new WC_Order_Item_Product();
387
+ $order_item->set_props( array(
388
+ 'name' => 'The Hound of the Baskervilles',
389
+ 'subtotal' => '14.95',
390
+ 'sku' => 'kwd_ex_2',
391
+ ) );
392
+ $order->add_item( $order_item );
393
+
394
+ // Return mockup order
395
+ return $order;
396
+ }
397
+
398
+ }
399
+ }
400
+ /**
401
+ * Initialise our Customizer settings
402
+ */
403
+
404
+ $wcast_partial_shipped_customizer_settings = new wcast_partial_shipped_customizer_email();
405
+ add_action( 'customize_save_customizer_partial_shipped_order_settings_enabled', 'woocommerce_customer_partial_shipped_order_settings_fun', 100, 1 );
406
+
407
+ /**
408
+ * Update Delivered order email enable/disable
409
+ *
410
+ */
411
+ function woocommerce_customer_partial_shipped_order_settings_fun($data){
412
+ $post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
413
+ $partial_shipped_order_settings = get_option( 'woocommerce_customer_partial_shipped_order_settings');
414
+
415
+ if(isset($post_values['customizer_partial_shipped_order_settings_enabled']) && ($post_values['customizer_partial_shipped_order_settings_enabled'] == 1)){
416
+ $partial_shipped_order_settings['enabled'] = 'yes';
417
+ } else{
418
+ $partial_shipped_order_settings['enabled'] = 'no';
419
+ }
420
+ update_option( 'woocommerce_customer_partial_shipped_order_settings',$partial_shipped_order_settings);
421
+ }
includes/customizer/class-wc-returntosender-email-customizer.php CHANGED
@@ -234,7 +234,7 @@ class wcast_returntosender_customizer_email {
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,7 +243,7 @@ class wcast_returntosender_customizer_email {
243
  $wp_customize->add_setting( 'wcast_returntosender_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_returntosender_email_heading'],
246
- 'transport' => 'postMessage',
247
  'sanitize_callback' => ''
248
  )
249
  );
@@ -256,7 +256,7 @@ class wcast_returntosender_customizer_email {
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
@@ -364,6 +364,7 @@ class wcast_returntosender_customizer_email {
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
 
367
  )
368
  )
369
  ) );
@@ -379,7 +380,7 @@ class wcast_returntosender_customizer_email {
379
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
380
  array(
381
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
382
- 'description' => '<code>{site_title}<br>{customer_email}<br>{customer_first_name}<br>{customer_last_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_returntosender_email',
384
  )
385
  ) );
@@ -410,11 +411,21 @@ class wcast_returntosender_customizer_email {
410
  $emails = $wc_emails->get_emails();
411
  $preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
412
 
413
- $email_heading = get_theme_mod('wcast_returntosender_email_heading');
 
 
 
 
 
414
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
415
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
416
 
417
- $email_content = get_theme_mod('wcast_returntosender_email_content');
 
 
 
 
 
418
  $wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
419
  $wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
420
  $wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
@@ -430,6 +441,13 @@ class wcast_returntosender_customizer_email {
430
  }
431
 
432
  $order = wc_get_order( $preview_id );
 
 
 
 
 
 
 
433
  $mailer = WC()->mailer();
434
 
435
  // get the preview email subject
@@ -450,7 +468,8 @@ class wcast_returntosender_customizer_email {
450
  if($wcast_show_tracking_details == 1){
451
  ob_start();
452
  wc_get_template( 'emails/tracking-info.php', array(
453
- 'tracking_items' => $wast->get_tracking_items( $preview_id, true )
 
454
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
455
  $message .= ob_get_clean();
456
  }
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
+ 'placeholder' => __( $this->defaults['wcast_returntosender_email_subject'], 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
243
  $wp_customize->add_setting( 'wcast_returntosender_email_heading',
244
  array(
245
  'default' => $this->defaults['wcast_returntosender_email_heading'],
246
+ 'transport' => 'refresh',
247
  'sanitize_callback' => ''
248
  )
249
  );
256
  'input_attrs' => array(
257
  'class' => '',
258
  'style' => '',
259
+ 'placeholder' => __( $this->defaults['wcast_returntosender_email_heading'], 'woo-advanced-shipment-tracking' ),
260
  ),
261
  )
262
  );
364
  'input_attrs' => array(
365
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
366
  'mediaButtons' => true,
367
+ 'placeholder' => __( $this->defaults['wcast_returntosender_email_content'], 'woo-advanced-shipment-tracking' ),
368
  )
369
  )
370
  ) );
380
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
381
  array(
382
  'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
383
+ '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>',
384
  'section' => 'customer_returntosender_email',
385
  )
386
  ) );
411
  $emails = $wc_emails->get_emails();
412
  $preview_id = get_theme_mod('wcast_returntosender_email_preview_order_id');
413
 
414
+ $email_heading = get_theme_mod('wcast_returntosender_email_heading',$this->defaults['wcast_returntosender_email_heading']);
415
+
416
+ if($email_heading == ''){
417
+ $email_heading = $this->defaults['wcast_returntosender_email_heading'];
418
+ }
419
+
420
  $email_heading = str_replace( '{site_title}', $this->get_blogname(), $email_heading );
421
  $email_heading = str_replace( '{order_number}', $preview_id, $email_heading );
422
 
423
+ $email_content = get_theme_mod('wcast_returntosender_email_content',$this->defaults['wcast_returntosender_email_content']);
424
+
425
+ if($email_content == ''){
426
+ $email_content = $this->defaults['wcast_returntosender_email_content'];
427
+ }
428
+
429
  $wcast_show_tracking_details = get_theme_mod('wcast_returntosender_show_tracking_details');
430
  $wcast_show_order_details = get_theme_mod('wcast_returntosender_show_order_details');
431
  $wcast_show_billing_address = get_theme_mod('wcast_returntosender_show_billing_address');
441
  }
442
 
443
  $order = wc_get_order( $preview_id );
444
+
445
+ if(!$order){
446
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
447
+ echo $content;
448
+ return;
449
+ }
450
+
451
  $mailer = WC()->mailer();
452
 
453
  // get the preview email subject
468
  if($wcast_show_tracking_details == 1){
469
  ob_start();
470
  wc_get_template( 'emails/tracking-info.php', array(
471
+ 'tracking_items' => $wast->get_tracking_items( $preview_id, true ),
472
+ 'order_id' => $preview_id,
473
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
474
  $message .= ob_get_clean();
475
  }
includes/customizer/class-wc-tracking-info-customizer.php CHANGED
@@ -146,6 +146,11 @@ class wcast_initialise_customizer_settings {
146
  'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
147
  'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
148
  'display_tracking_info_at' => 'before_order',
 
 
 
 
 
149
  );
150
 
151
  return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
@@ -176,7 +181,7 @@ class wcast_initialise_customizer_settings {
176
  $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
177
  array(
178
  'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
179
- 'description' => esc_html__( 'select from last 20 orders one order that you added tracking info in order to preview and design the tracking info table.', 'woo-advanced-shipment-tracking' ),
180
  'section' => 'default_controls_section',
181
  'input_attrs' => array(
182
  'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
@@ -184,22 +189,8 @@ class wcast_initialise_customizer_settings {
184
  ),
185
  'choices' => wcast_customizer()->get_order_ids(),
186
  )
187
- ) );
188
-
189
- $wp_customize->add_setting( 'general_settings_header',
190
- array(
191
- 'default' => '',
192
- 'transport' => 'postMessage',
193
- 'sanitize_callback' => ''
194
- )
195
- );
196
- $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'general_settings_header',
197
- array(
198
- 'label' => __( 'General Settings', 'woo-advanced-shipment-tracking' ),
199
- 'section' => 'default_controls_section'
200
- )
201
  ) );
202
-
203
  // Tracking Display Position
204
  $wp_customize->add_setting( 'display_tracking_info_at',
205
  array(
@@ -218,7 +209,7 @@ class wcast_initialise_customizer_settings {
218
  'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
219
  )
220
  )
221
- );
222
 
223
  // Header Text
224
  $wp_customize->add_setting( 'header_text_change',
@@ -230,7 +221,7 @@ class wcast_initialise_customizer_settings {
230
  );
231
  $wp_customize->add_control( 'header_text_change',
232
  array(
233
- 'label' => __( 'Main Header text', 'woo-advanced-shipment-tracking' ),
234
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
235
  'section' => 'default_controls_section',
236
  'type' => 'text',
@@ -263,6 +254,113 @@ class wcast_initialise_customizer_settings {
263
  )
264
  );
265
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
266
  // Test of Toggle Switch Custom Control
267
  $wp_customize->add_setting( 'table_content_header',
268
  array(
@@ -273,27 +371,44 @@ class wcast_initialise_customizer_settings {
273
  );
274
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
275
  array(
276
- 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
277
  'section' => 'default_controls_section'
278
  )
279
  ) );
280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
  // Display Shipment Provider image/thumbnail
282
  $wp_customize->add_setting( 'display_shipment_provider_image',
283
  array(
284
  'default' => $this->defaults['display_shipment_provider_image'],
285
- 'transport' => 'postMessage',
286
  'sanitize_callback' => ''
287
  )
288
  );
289
  $wp_customize->add_control( 'display_shipment_provider_image',
290
  array(
291
- 'label' => __( 'Display Shipment Provider image', 'woo-advanced-shipment-tracking' ),
292
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
293
  'section' => 'default_controls_section',
294
  'type' => 'checkbox'
295
  )
296
- );
297
 
298
  // Remove date from tracking info
299
  $wp_customize->add_setting( 'remove_date_from_tracking',
@@ -305,7 +420,24 @@ class wcast_initialise_customizer_settings {
305
  );
306
  $wp_customize->add_control( 'remove_date_from_tracking',
307
  array(
308
- 'label' => __( 'Hide date', 'woo-advanced-shipment-tracking' ),
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
309
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
310
  'section' => 'default_controls_section',
311
  'type' => 'checkbox'
@@ -322,7 +454,7 @@ class wcast_initialise_customizer_settings {
322
  );
323
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
324
  array(
325
- 'label' => __( 'Table Header', 'woo-advanced-shipment-tracking' ),
326
  'section' => 'default_controls_section'
327
  )
328
  ) );
@@ -337,7 +469,7 @@ class wcast_initialise_customizer_settings {
337
  );
338
  $wp_customize->add_control( 'hide_table_header',
339
  array(
340
- 'label' => __( 'Hide Header', 'woo-advanced-shipment-tracking' ),
341
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
342
  'section' => 'default_controls_section',
343
  'type' => 'checkbox'
@@ -354,7 +486,7 @@ class wcast_initialise_customizer_settings {
354
  );
355
  $wp_customize->add_control( 'provider_header_text',
356
  array(
357
- 'label' => __( 'Provider Header Text', 'woo-advanced-shipment-tracking' ),
358
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
359
  'section' => 'default_controls_section',
360
  'type' => 'text',
@@ -376,7 +508,7 @@ class wcast_initialise_customizer_settings {
376
  );
377
  $wp_customize->add_control( 'tracking_number_header_text',
378
  array(
379
- 'label' => __( 'Tracking Number Header Text', 'woo-advanced-shipment-tracking' ),
380
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
381
  'section' => 'default_controls_section',
382
  'type' => 'text',
@@ -397,7 +529,7 @@ class wcast_initialise_customizer_settings {
397
  );
398
  $wp_customize->add_control( 'shipped_date_header_text',
399
  array(
400
- 'label' => __( 'Shipped Date Header Text', 'woo-advanced-shipment-tracking' ),
401
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
402
  'section' => 'default_controls_section',
403
  'type' => 'text',
@@ -408,6 +540,7 @@ class wcast_initialise_customizer_settings {
408
  ),
409
  )
410
  );
 
411
  // Show track label
412
  $wp_customize->add_setting( 'show_track_label',
413
  array(
@@ -423,7 +556,8 @@ class wcast_initialise_customizer_settings {
423
  'section' => 'default_controls_section',
424
  'type' => 'checkbox'
425
  )
426
- );
 
427
  // Track Header Text
428
  $wp_customize->add_setting( 'track_header_text',
429
  array(
@@ -434,7 +568,7 @@ class wcast_initialise_customizer_settings {
434
  );
435
  $wp_customize->add_control( 'track_header_text',
436
  array(
437
- 'label' => __( 'Track Header Text', 'woo-advanced-shipment-tracking' ),
438
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
439
  'section' => 'default_controls_section',
440
  'type' => 'text',
@@ -456,7 +590,7 @@ class wcast_initialise_customizer_settings {
456
  );
457
  $wp_customize->add_control( 'table_header_font_size',
458
  array(
459
- 'label' => __( 'Table header font size', 'woo-advanced-shipment-tracking' ),
460
  'section' => 'default_controls_section',
461
  'type' => 'select',
462
  'choices' => $font_size_array
@@ -473,7 +607,7 @@ class wcast_initialise_customizer_settings {
473
  );
474
  $wp_customize->add_control( 'table_header_font_color',
475
  array(
476
- 'label' => __( 'Table header font color', 'woo-advanced-shipment-tracking' ),
477
  'section' => 'default_controls_section',
478
  'type' => 'color'
479
  )
@@ -489,7 +623,7 @@ class wcast_initialise_customizer_settings {
489
  );
490
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
491
  array(
492
- 'label' => __( 'Table Design', 'woo-advanced-shipment-tracking' ),
493
  'section' => 'default_controls_section'
494
  )
495
  ) );
@@ -529,18 +663,6 @@ class wcast_initialise_customizer_settings {
529
  'type' => 'color',
530
  )
531
  );
532
- /* $wp_customize->add_control( new Skyrocket_Customize_Alpha_Color_Control( $wp_customize, 'table_bg_color',
533
- array(
534
- 'label' => __( 'Content font weight', 'woo-advanced-shipment-tracking' ),
535
- 'section' => 'default_controls_section',
536
- 'input_attrs' => array(
537
- 'default' => $this->defaults['table_bg_color'],
538
- 'step' => 100,
539
- 'min' => 100,
540
- 'max' => 900,
541
- ),
542
- )
543
- ));*/
544
 
545
  // Table Border color
546
  $wp_customize->add_setting( 'table_border_color',
@@ -592,7 +714,7 @@ class wcast_initialise_customizer_settings {
592
  );
593
  $wp_customize->add_control( 'header_content_text_align',
594
  array(
595
- 'label' => __( 'Table text align', 'woo-advanced-shipment-tracking' ),
596
  'section' => 'default_controls_section',
597
  'type' => 'select',
598
  'choices' => array(
@@ -604,39 +726,38 @@ class wcast_initialise_customizer_settings {
604
  )
605
  );
606
 
607
-
608
- // Table content font size
609
- $wp_customize->add_setting( 'table_content_font_size',
610
  array(
611
- 'default' => $this->defaults['table_content_font_size'],
612
  'transport' => 'postMessage',
613
  'sanitize_callback' => ''
614
  )
615
  );
616
- $wp_customize->add_control( 'table_content_font_size',
617
  array(
618
- 'label' => __( 'Table content font size', 'woo-advanced-shipment-tracking' ),
619
  'section' => 'default_controls_section',
620
- 'type' => 'select',
621
- 'choices' => $font_size_array
622
  )
623
- );
624
 
625
- // Table content font color
626
- $wp_customize->add_setting( 'table_content_font_color',
627
  array(
628
- 'default' => $this->defaults['table_content_font_color'],
629
  'transport' => 'postMessage',
630
  'sanitize_callback' => ''
631
  )
632
  );
633
- $wp_customize->add_control( 'table_content_font_color',
634
  array(
635
- 'label' => __( 'Table content font color', 'woo-advanced-shipment-tracking' ),
636
  'section' => 'default_controls_section',
637
- 'type' => 'color'
 
638
  )
639
- );
640
 
641
  // Table content line height
642
  $wp_customize->add_setting( 'table_content_line_height',
@@ -691,7 +812,7 @@ class wcast_initialise_customizer_settings {
691
 
692
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
693
  array(
694
- 'label' => __( 'Track Button Design', 'woo-advanced-shipment-tracking' ),
695
  'section' => 'default_controls_section'
696
  )
697
  ) );
@@ -705,7 +826,7 @@ class wcast_initialise_customizer_settings {
705
  );
706
  $wp_customize->add_control( 'tracking_link_font_color',
707
  array(
708
- 'label' => __( 'Track Link Font Color', 'woo-advanced-shipment-tracking' ),
709
  'section' => 'default_controls_section',
710
  'type' => 'color'
711
  )
@@ -721,7 +842,7 @@ class wcast_initialise_customizer_settings {
721
  );
722
  $wp_customize->add_control( 'tracking_link_bg_color',
723
  array(
724
- 'label' => __( 'Track Link Background Color', 'woo-advanced-shipment-tracking' ),
725
  'section' => 'default_controls_section',
726
  'type' => 'color'
727
  )
@@ -736,7 +857,7 @@ class wcast_initialise_customizer_settings {
736
  );
737
  $wp_customize->add_control( 'tracking_link_border',
738
  array(
739
- 'label' => __( 'Track link Border', 'woo-advanced-shipment-tracking' ),
740
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
741
  'section' => 'default_controls_section',
742
  'type' => 'checkbox'
@@ -788,7 +909,7 @@ class wcast_initialise_customizer_settings {
788
  $order_status = 'completed';
789
 
790
  if($preview_id == '' || $preview_id == 'mockup') {
791
- $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
792
  echo $content;
793
  return;
794
  }
146
  'shipped_date_header_text' => __( 'Shipped Date', 'woo-advanced-shipment-tracking' ),
147
  'track_header_text' => __( 'Track', 'woo-advanced-shipment-tracking' ),
148
  'display_tracking_info_at' => 'before_order',
149
+ 'select_tracking_template' => 'default_table',
150
+ 'simple_provider_font_size' => '14',
151
+ 'simple_provider_font_color' => '#575f6d',
152
+ 'show_provider_border' => 1,
153
+ 'provider_border_color' => '#e0e0e0',
154
  );
155
 
156
  return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
181
  $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_preview_order_id',
182
  array(
183
  'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
184
+ 'description' => esc_html__( 'Select an order to preview and design the tracking info display.', 'woo-advanced-shipment-tracking' ),
185
  'section' => 'default_controls_section',
186
  'input_attrs' => array(
187
  'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
189
  ),
190
  'choices' => wcast_customizer()->get_order_ids(),
191
  )
 
 
 
 
 
 
 
 
 
 
 
 
 
 
192
  ) );
193
+
194
  // Tracking Display Position
195
  $wp_customize->add_setting( 'display_tracking_info_at',
196
  array(
209
  'after_order' => __( 'After Order Details', 'woo-advanced-shipment-tracking' ),
210
  )
211
  )
212
+ );
213
 
214
  // Header Text
215
  $wp_customize->add_setting( 'header_text_change',
221
  );
222
  $wp_customize->add_control( 'header_text_change',
223
  array(
224
+ 'label' => __( 'Tracking Header text', 'woo-advanced-shipment-tracking' ),
225
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
226
  'section' => 'default_controls_section',
227
  'type' => 'text',
254
  )
255
  );
256
 
257
+ // Preview Order
258
+ $wp_customize->add_setting( 'select_tracking_template',
259
+ array(
260
+ 'default' => $this->defaults['select_tracking_template'],
261
+ 'transport' => 'refresh',
262
+ 'sanitize_callback' => ''
263
+ )
264
+ );
265
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'select_tracking_template',
266
+ array(
267
+ 'label' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
268
+ 'section' => 'default_controls_section',
269
+ 'input_attrs' => array(
270
+ 'placeholder' => __( 'Tracking display template', 'woo-advanced-shipment-tracking' ),
271
+ 'class' => 'tracking_template_select',
272
+ ),
273
+ 'choices' => array(
274
+ '' => __( 'Select Template', 'woo-advanced-shipment-tracking' ),
275
+ 'default_table' => __( 'Table Layout', 'woo-advanced-shipment-tracking' ),
276
+ 'simple_list' => 'Simple Layout',
277
+ ),
278
+ )
279
+ ) );
280
+
281
+ // Test of Toggle Switch Custom Control
282
+ $wp_customize->add_setting( 'simple_content_header',
283
+ array(
284
+ 'default' => '',
285
+ 'transport' => 'postMessage',
286
+ 'sanitize_callback' => ''
287
+ )
288
+ );
289
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'simple_content_header',
290
+ array(
291
+ 'label' => __( 'Simple Layout Design', 'woo-advanced-shipment-tracking' ),
292
+ 'section' => 'default_controls_section'
293
+ )
294
+ ) );
295
+
296
+ // Simple Layout Provider font size
297
+ $wp_customize->add_setting( 'simple_provider_font_size',
298
+ array(
299
+ 'default' => $this->defaults['simple_provider_font_size'],
300
+ 'transport' => 'postMessage',
301
+ 'sanitize_callback' => ''
302
+ )
303
+ );
304
+ $wp_customize->add_control( 'simple_provider_font_size',
305
+ array(
306
+ 'label' => __( 'Provider font size', 'woo-advanced-shipment-tracking' ),
307
+ 'section' => 'default_controls_section',
308
+ 'type' => 'select',
309
+ 'choices' => $font_size_array
310
+ )
311
+ );
312
+
313
+ // Table header font color
314
+ $wp_customize->add_setting( 'simple_provider_font_color',
315
+ array(
316
+ 'default' => $this->defaults['simple_provider_font_color'],
317
+ 'transport' => 'postMessage',
318
+ 'sanitize_callback' => ''
319
+ )
320
+ );
321
+ $wp_customize->add_control( 'simple_provider_font_color',
322
+ array(
323
+ 'label' => __( 'Provider font color', 'woo-advanced-shipment-tracking' ),
324
+ 'section' => 'default_controls_section',
325
+ 'type' => 'color'
326
+ )
327
+ );
328
+
329
+ // Show track label
330
+ $wp_customize->add_setting( 'show_provider_border',
331
+ array(
332
+ 'default' => $this->defaults['show_provider_border'],
333
+ 'transport' => 'postMessage',
334
+ 'sanitize_callback' => ''
335
+ )
336
+ );
337
+ $wp_customize->add_control( 'show_provider_border',
338
+ array(
339
+ 'label' => __( 'Show bottom border', 'woo-advanced-shipment-tracking' ),
340
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
341
+ 'section' => 'default_controls_section',
342
+ 'type' => 'checkbox'
343
+ )
344
+ );
345
+
346
+ // Table header font color
347
+ $wp_customize->add_setting( 'provider_border_color',
348
+ array(
349
+ 'default' => $this->defaults['provider_border_color'],
350
+ 'transport' => 'postMessage',
351
+ 'sanitize_callback' => ''
352
+ )
353
+ );
354
+ $wp_customize->add_control( 'provider_border_color',
355
+ array(
356
+ 'label' => __( 'Bottom border color', 'woo-advanced-shipment-tracking' ),
357
+ 'section' => 'default_controls_section',
358
+ 'type' => 'color'
359
+ )
360
+ );
361
+
362
+
363
+
364
  // Test of Toggle Switch Custom Control
365
  $wp_customize->add_setting( 'table_content_header',
366
  array(
371
  );
372
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_content_header',
373
  array(
374
+ 'label' => __( 'Table layout Design', 'woo-advanced-shipment-tracking' ),
375
  'section' => 'default_controls_section'
376
  )
377
  ) );
378
 
379
+ // Hide Shipment Provider name
380
+ $wp_customize->add_setting( 'display_shipment_provider_name',
381
+ array(
382
+ 'default' => '',
383
+ 'transport' => 'refresh',
384
+ 'sanitize_callback' => ''
385
+ )
386
+ );
387
+ $wp_customize->add_control( 'display_shipment_provider_name',
388
+ array(
389
+ 'label' => __( 'Display shipping provider name', 'woo-advanced-shipment-tracking' ),
390
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
391
+ 'section' => 'default_controls_section',
392
+ 'type' => 'checkbox'
393
+ )
394
+ );
395
+
396
  // Display Shipment Provider image/thumbnail
397
  $wp_customize->add_setting( 'display_shipment_provider_image',
398
  array(
399
  'default' => $this->defaults['display_shipment_provider_image'],
400
+ 'transport' => 'refresh',
401
  'sanitize_callback' => ''
402
  )
403
  );
404
  $wp_customize->add_control( 'display_shipment_provider_image',
405
  array(
406
+ 'label' => __( 'Display shipping provider image', 'woo-advanced-shipment-tracking' ),
407
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
408
  'section' => 'default_controls_section',
409
  'type' => 'checkbox'
410
  )
411
+ );
412
 
413
  // Remove date from tracking info
414
  $wp_customize->add_setting( 'remove_date_from_tracking',
420
  );
421
  $wp_customize->add_control( 'remove_date_from_tracking',
422
  array(
423
+ 'label' => __( 'Hide the ship date', 'woo-advanced-shipment-tracking' ),
424
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
425
+ 'section' => 'default_controls_section',
426
+ 'type' => 'checkbox'
427
+ )
428
+ );
429
+
430
+ // Use tracking number as a link
431
+ $wp_customize->add_setting( 'tracking_number_link',
432
+ array(
433
+ 'default' => '',
434
+ 'transport' => 'refresh',
435
+ 'sanitize_callback' => ''
436
+ )
437
+ );
438
+ $wp_customize->add_control( 'tracking_number_link',
439
+ array(
440
+ 'label' => __( 'Use tracking number as a link', 'woo-advanced-shipment-tracking' ),
441
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
442
  'section' => 'default_controls_section',
443
  'type' => 'checkbox'
454
  );
455
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header_block',
456
  array(
457
+ 'label' => __( 'Table Headers', 'woo-advanced-shipment-tracking' ),
458
  'section' => 'default_controls_section'
459
  )
460
  ) );
469
  );
470
  $wp_customize->add_control( 'hide_table_header',
471
  array(
472
+ 'label' => __( 'Hide Table Headers', 'woo-advanced-shipment-tracking' ),
473
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
474
  'section' => 'default_controls_section',
475
  'type' => 'checkbox'
486
  );
487
  $wp_customize->add_control( 'provider_header_text',
488
  array(
489
+ 'label' => __( 'Provider header text', 'woo-advanced-shipment-tracking' ),
490
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
491
  'section' => 'default_controls_section',
492
  'type' => 'text',
508
  );
509
  $wp_customize->add_control( 'tracking_number_header_text',
510
  array(
511
+ 'label' => __( 'Tracking Number header text', 'woo-advanced-shipment-tracking' ),
512
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
513
  'section' => 'default_controls_section',
514
  'type' => 'text',
529
  );
530
  $wp_customize->add_control( 'shipped_date_header_text',
531
  array(
532
+ 'label' => __( 'Ship date header text', 'woo-advanced-shipment-tracking' ),
533
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
534
  'section' => 'default_controls_section',
535
  'type' => 'text',
540
  ),
541
  )
542
  );
543
+
544
  // Show track label
545
  $wp_customize->add_setting( 'show_track_label',
546
  array(
556
  'section' => 'default_controls_section',
557
  'type' => 'checkbox'
558
  )
559
+ );
560
+
561
  // Track Header Text
562
  $wp_customize->add_setting( 'track_header_text',
563
  array(
568
  );
569
  $wp_customize->add_control( 'track_header_text',
570
  array(
571
+ 'label' => __( 'Track header text', 'woo-advanced-shipment-tracking' ),
572
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
573
  'section' => 'default_controls_section',
574
  'type' => 'text',
590
  );
591
  $wp_customize->add_control( 'table_header_font_size',
592
  array(
593
+ 'label' => __( 'Headers font size', 'woo-advanced-shipment-tracking' ),
594
  'section' => 'default_controls_section',
595
  'type' => 'select',
596
  'choices' => $font_size_array
607
  );
608
  $wp_customize->add_control( 'table_header_font_color',
609
  array(
610
+ 'label' => __( 'Headers font color', 'woo-advanced-shipment-tracking' ),
611
  'section' => 'default_controls_section',
612
  'type' => 'color'
613
  )
623
  );
624
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'table_header',
625
  array(
626
+ 'label' => __( 'Table Content', 'woo-advanced-shipment-tracking' ),
627
  'section' => 'default_controls_section'
628
  )
629
  ) );
663
  'type' => 'color',
664
  )
665
  );
 
 
 
 
 
 
 
 
 
 
 
 
666
 
667
  // Table Border color
668
  $wp_customize->add_setting( 'table_border_color',
714
  );
715
  $wp_customize->add_control( 'header_content_text_align',
716
  array(
717
+ 'label' => __( 'Content Text align', 'woo-advanced-shipment-tracking' ),
718
  'section' => 'default_controls_section',
719
  'type' => 'select',
720
  'choices' => array(
726
  )
727
  );
728
 
729
+ // Table content font color
730
+ $wp_customize->add_setting( 'table_content_font_color',
 
731
  array(
732
+ 'default' => $this->defaults['table_content_font_color'],
733
  'transport' => 'postMessage',
734
  'sanitize_callback' => ''
735
  )
736
  );
737
+ $wp_customize->add_control( 'table_content_font_color',
738
  array(
739
+ 'label' => __( 'Content font color', 'woo-advanced-shipment-tracking' ),
740
  'section' => 'default_controls_section',
741
+ 'type' => 'color'
 
742
  )
743
+ );
744
 
745
+ // Table content font size
746
+ $wp_customize->add_setting( 'table_content_font_size',
747
  array(
748
+ 'default' => $this->defaults['table_content_font_size'],
749
  'transport' => 'postMessage',
750
  'sanitize_callback' => ''
751
  )
752
  );
753
+ $wp_customize->add_control( 'table_content_font_size',
754
  array(
755
+ 'label' => __( 'Content font size', 'woo-advanced-shipment-tracking' ),
756
  'section' => 'default_controls_section',
757
+ 'type' => 'select',
758
+ 'choices' => $font_size_array
759
  )
760
+ );
761
 
762
  // Table content line height
763
  $wp_customize->add_setting( 'table_content_line_height',
812
 
813
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'shipment_link_header',
814
  array(
815
+ 'label' => __( 'Tracking Link', 'woo-advanced-shipment-tracking' ),
816
  'section' => 'default_controls_section'
817
  )
818
  ) );
826
  );
827
  $wp_customize->add_control( 'tracking_link_font_color',
828
  array(
829
+ 'label' => __( 'Font Color', 'woo-advanced-shipment-tracking' ),
830
  'section' => 'default_controls_section',
831
  'type' => 'color'
832
  )
842
  );
843
  $wp_customize->add_control( 'tracking_link_bg_color',
844
  array(
845
+ 'label' => __( 'Background Color', 'woo-advanced-shipment-tracking' ),
846
  'section' => 'default_controls_section',
847
  'type' => 'color'
848
  )
857
  );
858
  $wp_customize->add_control( 'tracking_link_border',
859
  array(
860
+ 'label' => __( 'Border', 'woo-advanced-shipment-tracking' ),
861
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
862
  'section' => 'default_controls_section',
863
  'type' => 'checkbox'
909
  $order_status = 'completed';
910
 
911
  if($preview_id == '' || $preview_id == 'mockup') {
912
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'To preview the tracking display, please add tracking information to at least one order and choose it in the preview order selection.', 'woo-advanced-shipment-tracking' ) . '</div>';
913
  echo $content;
914
  return;
915
  }
includes/customizer/class-wc-updated-tracking-email-customizer.php ADDED
@@ -0,0 +1,421 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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_updated_tracking_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
+ // Register our sample default controls
17
+ add_action( 'customize_register', array( $this, 'wcast_register_sample_default_controls' ) );
18
+
19
+ // Only proceed if this is own request.
20
+ if ( ! wcast_updated_tracking_customizer_email::is_own_customizer_request() && ! wcast_updated_tracking_customizer_email::is_own_preview_request() ) {
21
+ return;
22
+ }
23
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_panels' ) );
24
+ // Register our sections
25
+ add_action( 'customize_register', array( wcast_customizer(), 'wcast_add_customizer_sections' ) );
26
+
27
+ // Remove unrelated components.
28
+ add_filter( 'customize_loaded_components', array( wcast_customizer(), 'remove_unrelated_components' ), 99, 2 );
29
+
30
+ // Remove unrelated sections.
31
+ add_filter( 'customize_section_active', array( wcast_customizer(), 'remove_unrelated_sections' ), 10, 2 );
32
+
33
+ // Unhook divi front end.
34
+ add_action( 'woomail_footer', array( wcast_customizer(), 'unhook_divi' ), 10 );
35
+
36
+ // Unhook Flatsome js
37
+ add_action( 'customize_preview_init', array( wcast_customizer(), 'unhook_flatsome' ), 50 );
38
+
39
+ add_filter( 'customize_controls_enqueue_scripts', array( wcast_customizer(), 'enqueue_customizer_scripts' ) );
40
+
41
+ add_action( 'parse_request', array( $this, 'set_up_preview' ) );
42
+
43
+ add_action( 'customize_preview_init', array( $this, 'enqueue_preview_scripts' ) );
44
+ }
45
+
46
+ public function enqueue_preview_scripts() {
47
+ 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);
48
+ wp_enqueue_style('wcast-preview-styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/preview-styles.css', array(), wc_advanced_shipment_tracking()->version );
49
+ // Send variables to Javascript
50
+ $preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
51
+ wp_localize_script('wcast-email-preview-scripts', 'wcast_preview', array(
52
+ 'site_title' => $this->get_blogname(),
53
+ 'order_number' => $preview_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
+ * Checks to see if we are opening our custom customizer preview
68
+ *
69
+ * @access public
70
+ * @return bool
71
+ */
72
+ public static function is_own_preview_request() {
73
+ return isset( $_REQUEST['wcast-updated-tracking-email-customizer-preview'] ) && '1' === $_REQUEST['wcast-updated-tracking-email-customizer-preview'];
74
+ }
75
+
76
+ /**
77
+ * Checks to see if we are opening our custom customizer controls
78
+ *
79
+ * @access public
80
+ * @return bool
81
+ */
82
+ public static function is_own_customizer_request() {
83
+ return isset( $_REQUEST['email'] ) && $_REQUEST['email'] === 'customer_updated_tracking_email';
84
+ }
85
+
86
+ /**
87
+ * Get Customizer URL
88
+ *
89
+ */
90
+ public static function get_customizer_url($email) {
91
+ $customizer_url = add_query_arg( array(
92
+ 'wcast-customizer' => '1',
93
+ 'email' => $email,
94
+ 'url' => urlencode( add_query_arg( array( 'wcast-updated-tracking-email-customizer-preview' => '1' ), home_url( '/' ) ) ),
95
+ 'return' => urlencode( wcast_updated_tracking_customizer_email::get_email_settings_page_url() ),
96
+ ), admin_url( 'customize.php' ) );
97
+
98
+ return $customizer_url;
99
+ }
100
+
101
+ /**
102
+ * Get WooCommerce email settings page URL
103
+ *
104
+ * @access public
105
+ * @return string
106
+ */
107
+ public static function get_email_settings_page_url() {
108
+ return admin_url( 'admin.php?page=woocommerce-advanced-shipment-tracking' );
109
+ }
110
+
111
+ /**
112
+ * code for initialize default value for customizer
113
+ */
114
+ public function wcast_generate_defaults() {
115
+ $customizer_defaults = array(
116
+ 'wcast_updated_tracking_email_subject' => __( 'Your {site_title} order is now updated tracking', 'woo-advanced-shipment-tracking' ),
117
+ 'wcast_updated_tracking_email_heading' => __( 'Tracking information Update', 'woocommerce' ),
118
+ 'wcast_updated_tracking_email_content' => __( "Hi there. we thought you'd like to know that the shipment tracking for your recent order from {site_title} has been updated.", 'woo-advanced-shipment-tracking' ),
119
+ 'wcast_enable_updated_tracking_email' => 'no',
120
+ );
121
+
122
+ return apply_filters( 'skyrocket_customizer_defaults', $customizer_defaults );
123
+ }
124
+
125
+ /**
126
+ * Register our sample default controls
127
+ */
128
+ public function wcast_register_sample_default_controls( $wp_customize ) {
129
+ /**
130
+ * Load all our Customizer Custom Controls
131
+ */
132
+ require_once trailingslashit( dirname(__FILE__) ) . 'custom-controls.php';
133
+
134
+ $wp_customize->add_setting( 'updated_tracking_order_email_heading',
135
+ array(
136
+ 'default' => '',
137
+ 'transport' => 'postMessage',
138
+ 'sanitize_callback' => ''
139
+ )
140
+ );
141
+ $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'updated_tracking_order_email_heading',
142
+ array(
143
+ 'label' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
144
+ 'description' => __( 'This section lets you customize the Email Content.', 'woo-advanced-shipment-tracking' ),
145
+ 'section' => 'customer_updated_tracking_email'
146
+ )
147
+ ) );
148
+ // Display Shipment Provider image/thumbnail
149
+ $wp_customize->add_setting( 'customizer_updated_tracking_order_settings_enabled',
150
+ array(
151
+ 'default' => $this->defaults['wcast_enable_updated_tracking_email'],
152
+ 'transport' => 'postMessage',
153
+ 'type' => 'option',
154
+ 'sanitize_callback' => ''
155
+ )
156
+ );
157
+ $wp_customize->add_control( 'customizer_updated_tracking_order_settings_enabled',
158
+ array(
159
+ 'label' => __( 'Enable Updated Tracking order status email', 'woo-advanced-shipment-tracking' ),
160
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
161
+ 'section' => 'customer_updated_tracking_email',
162
+ 'type' => 'checkbox',
163
+
164
+ )
165
+ );
166
+
167
+ // Preview Order
168
+ $wp_customize->add_setting( 'wcast_updated_tracking_preview_order_id',
169
+ array(
170
+ 'default' => 'mockup',
171
+ 'transport' => 'refresh',
172
+ 'sanitize_callback' => ''
173
+ )
174
+ );
175
+ $wp_customize->add_control( new Skyrocket_Dropdown_Select_Custom_Control( $wp_customize, 'wcast_updated_tracking_preview_order_id',
176
+ array(
177
+ 'label' => __( 'Preview order', 'woo-advanced-shipment-tracking' ),
178
+ 'description' => '',
179
+ 'section' => 'customer_updated_tracking_email',
180
+ 'input_attrs' => array(
181
+ 'placeholder' => __( 'Please select a order...', 'woo-advanced-shipment-tracking' ),
182
+ 'class' => 'preview_order_select',
183
+ ),
184
+ 'choices' => wcast_customizer()->get_order_ids(),
185
+ )
186
+ ) );
187
+
188
+ // Header Text
189
+ $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[subject]',
190
+ array(
191
+ 'default' => $this->defaults['wcast_updated_tracking_email_subject'],
192
+ 'transport' => 'postMessage',
193
+ 'type' => 'option',
194
+ 'sanitize_callback' => ''
195
+ )
196
+ );
197
+ $wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[subject]',
198
+ array(
199
+ 'label' => __( 'Subject', 'woocommerce' ),
200
+ 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
201
+ 'section' => 'customer_updated_tracking_email',
202
+ 'type' => 'text',
203
+ 'input_attrs' => array(
204
+ 'class' => '',
205
+ 'style' => '',
206
+ 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_subject'], 'woo-advanced-shipment-tracking' ),
207
+ ),
208
+ )
209
+ );
210
+
211
+ // Header Text
212
+ $wp_customize->add_setting( 'woocommerce_customer_updated_tracking_order_settings[heading]',
213
+ array(
214
+ 'default' => $this->defaults['wcast_updated_tracking_email_heading'],
215
+ 'transport' => 'postMessage',
216
+ 'type' => 'option',
217
+ 'sanitize_callback' => ''
218
+ )
219
+ );
220
+ $wp_customize->add_control( 'woocommerce_customer_updated_tracking_order_settings[heading]',
221
+ array(
222
+ 'label' => __( 'Email heading', 'woocommerce' ),
223
+ 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
224
+ 'section' => 'customer_updated_tracking_email',
225
+ 'type' => 'text',
226
+ 'input_attrs' => array(
227
+ 'class' => '',
228
+ 'style' => '',
229
+ 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_heading'], 'woo-advanced-shipment-tracking' ),
230
+ ),
231
+ )
232
+ );
233
+
234
+
235
+ // Test of TinyMCE control
236
+ $wp_customize->add_setting( 'wcast_updated_tracking_email_content',
237
+ array(
238
+ 'default' => $this->defaults['wcast_updated_tracking_email_content'],
239
+ 'transport' => 'refresh',
240
+ 'sanitize_callback' => 'wp_kses_post'
241
+ )
242
+ );
243
+ $wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_updated_tracking_email_content',
244
+ array(
245
+ 'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
246
+ 'description' => __( 'available variables: {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}', 'woo-advanced-shipment-tracking' ),
247
+ 'section' => 'customer_updated_tracking_email',
248
+ 'input_attrs' => array(
249
+ 'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
250
+ 'mediaButtons' => true,
251
+ 'placeholder' => __( $this->defaults['wcast_updated_tracking_email_content'], 'woo-advanced-shipment-tracking' ),
252
+ )
253
+ )
254
+ ) );
255
+
256
+ $wp_customize->add_setting( 'wcast_updated_tracking_code_block',
257
+ array(
258
+ 'default' => '',
259
+ 'transport' => 'postMessage',
260
+ 'sanitize_callback' => ''
261
+ )
262
+ );
263
+ $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_updated_tracking_code_block',
264
+ array(
265
+ 'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
266
+ '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}</code>',
267
+ 'section' => 'customer_updated_tracking_email',
268
+ )
269
+ ) );
270
+ }
271
+
272
+ /**
273
+ * Set up preview
274
+ *
275
+ * @access public
276
+ * @return void
277
+ */
278
+ public function set_up_preview() {
279
+
280
+ // Make sure this is own preview request.
281
+ if ( ! wcast_updated_tracking_customizer_email::is_own_preview_request() ) {
282
+ return;
283
+ }
284
+ include wc_advanced_shipment_tracking()->get_plugin_path() . '/includes/customizer/preview/updated_tracking_preview.php';
285
+ exit;
286
+ }
287
+
288
+ /**
289
+ * code for preview of delivered order status email
290
+ */
291
+ public function preview_updated_tracking_email(){
292
+ // Load WooCommerce emails.
293
+ $wc_emails = WC_Emails::instance();
294
+ $emails = $wc_emails->get_emails();
295
+ $preview_id = get_theme_mod('wcast_updated_tracking_preview_order_id');
296
+
297
+ if($preview_id == '' || $preview_id == 'mockup') {
298
+ $content = '<div style="padding: 35px 40px; background-color: white;">' . __( 'Please select order to preview.', 'woo-advanced-shipment-tracking' ) . '</div>';
299
+ echo $content;
300
+ return;
301
+ }
302
+
303
+ $email_type = 'WC_Email_Customer_Updated_Tracking_Order';
304
+
305
+ if ( false === $email_type ) {
306
+ return false;
307
+ }
308
+
309
+
310
+
311
+ // Reference email.
312
+ if ( isset( $emails[ $email_type ] ) && is_object( $emails[ $email_type ] ) ) {
313
+ $email = $emails[ $email_type ];
314
+ }
315
+ $order_status = 'updated-tracking';
316
+ // Get an order
317
+ $order = self::get_wc_order_for_preview( $order_status, $preview_id );
318
+
319
+ // Make sure gateways are running in case the email needs to input content from them.
320
+ WC()->payment_gateways();
321
+ // Make sure shipping is running in case the email needs to input content from it.
322
+ WC()->shipping();
323
+
324
+ $email->object = $order;
325
+ $email->find['order-date'] = '{order_date}';
326
+ $email->find['order-number'] = '{order_number}';
327
+ if ( is_object( $order ) ) {
328
+ $email->replace['order-date'] = wc_format_datetime( $email->object->get_date_created() );
329
+ $email->replace['order-number'] = $email->object->get_order_number();
330
+ // Other properties
331
+ $email->recipient = $email->object->get_billing_email();
332
+ }
333
+
334
+ // Get email content and apply styles.
335
+ $content = $email->get_content();
336
+
337
+ $content = $email->style_inline( $content );
338
+ $content = apply_filters( 'woocommerce_mail_content', $content );
339
+
340
+ echo $content;
341
+ }
342
+
343
+ /**
344
+ * Get WooCommerce order for preview
345
+ *
346
+ * @access public
347
+ * @param string $order_status
348
+ * @return object
349
+ */
350
+ public static function get_wc_order_for_preview( $order_status = null, $order_id = null ) {
351
+ if ( ! empty( $order_id ) && 'mockup' != $order_id ) {
352
+ return wc_get_order( $order_id );
353
+ } else {
354
+ // Use mockup order
355
+
356
+ // Instantiate order object
357
+ $order = new WC_Order();
358
+
359
+ // Other order properties
360
+ $order->set_props( array(
361
+ 'id' => 1,
362
+ 'status' => ( null === $order_status ? 'processing' : $order_status ),
363
+ 'billing_first_name' => 'Sherlock',
364
+ 'billing_last_name' => 'Holmes',
365
+ 'billing_company' => 'Detectives Ltd.',
366
+ 'billing_address_1' => '221B Baker Street',
367
+ 'billing_city' => 'London',
368
+ 'billing_postcode' => 'NW1 6XE',
369
+ 'billing_country' => 'GB',
370
+ 'billing_email' => 'sherlock@holmes.co.uk',
371
+ 'billing_phone' => '02079304832',
372
+ 'date_created' => date( 'Y-m-d H:i:s' ),
373
+ 'total' => 24.90,
374
+ ) );
375
+
376
+ // Item #1
377
+ $order_item = new WC_Order_Item_Product();
378
+ $order_item->set_props( array(
379
+ 'name' => 'A Study in Scarlet',
380
+ 'subtotal' => '9.95',
381
+ 'sku' => 'kwd_ex_1',
382
+ ) );
383
+ $order->add_item( $order_item );
384
+
385
+ // Item #2
386
+ $order_item = new WC_Order_Item_Product();
387
+ $order_item->set_props( array(
388
+ 'name' => 'The Hound of the Baskervilles',
389
+ 'subtotal' => '14.95',
390
+ 'sku' => 'kwd_ex_2',
391
+ ) );
392
+ $order->add_item( $order_item );
393
+
394
+ // Return mockup order
395
+ return $order;
396
+ }
397
+
398
+ }
399
+ }
400
+ /**
401
+ * Initialise our Customizer settings
402
+ */
403
+
404
+ $wcast_updated_tracking_customizer_settings = new wcast_updated_tracking_customizer_email();
405
+ add_action( 'customize_save_customizer_updated_tracking_order_settings_enabled', 'woocommerce_customer_updated_tracking_order_settings_fun', 100, 1 );
406
+
407
+ /**
408
+ * Update Delivered order email enable/disable
409
+ *
410
+ */
411
+ function woocommerce_customer_updated_tracking_order_settings_fun($data){
412
+ $post_values = json_decode( wp_unslash( $_POST['customized'] ), true );
413
+ $updated_tracking_order_settings = get_option( 'woocommerce_customer_updated_tracking_order_settings');
414
+
415
+ if(isset($post_values['customizer_updated_tracking_order_settings_enabled']) && ($post_values['customizer_updated_tracking_order_settings_enabled'] == 1)){
416
+ $updated_tracking_order_settings['enabled'] = 'yes';
417
+ } else{
418
+ $updated_tracking_order_settings['enabled'] = 'no';
419
+ }
420
+ update_option( 'woocommerce_customer_updated_tracking_order_settings',$updated_tracking_order_settings);
421
+ }
includes/customizer/class-wcast-customizer.php CHANGED
@@ -63,6 +63,22 @@ class WC_Advanced_Shipment_Tracking_Customizer {
63
  )
64
  );
65
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
66
  $wp_customize->add_section( 'customer_failure_email',
67
  array(
68
  'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
@@ -131,6 +147,8 @@ class WC_Advanced_Shipment_Tracking_Customizer {
131
  wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
132
  'ajax_url' => admin_url('admin-ajax.php'),
133
  'email_preview_url' => $this->get_email_preview_url(),
 
 
134
  'tracking_preview_url' => $this->get_tracking_preview_url(),
135
  'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
136
  'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
@@ -157,6 +175,30 @@ class WC_Advanced_Shipment_Tracking_Customizer {
157
  return $email_preview_url;
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /**
161
  * Get Customizer URL
162
  *
@@ -332,7 +374,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
332
  */
333
  public static function is_own_section( $key ) {
334
 
335
- if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
336
  return true;
337
  }
338
 
@@ -371,14 +413,22 @@ class WC_Advanced_Shipment_Tracking_Customizer {
371
  array(
372
  'post_type' => 'shop_order',
373
  'post_status' => array_keys( wc_get_order_statuses() ),
374
- 'posts_per_page' => 20,
375
  )
376
  );
 
 
377
  if ( $orders->posts ) {
378
  foreach ( $orders->posts as $order ) {
379
  // Get order object.
380
  $order_object = new WC_Order( $order->ID );
381
- $order_array[ $order_object->get_id() ] = $order_object->get_id() . ' - ' . $order_object->get_billing_first_name() . ' ' . $order_object->get_billing_last_name();
 
 
 
 
 
 
382
  }
383
  }
384
  return $order_array;
63
  )
64
  );
65
 
66
+ $wp_customize->add_section( 'customer_partial_shipped_email',
67
+ array(
68
+ 'title' => __( 'Partially Shipped status email', 'woo-advanced-shipment-tracking' ),
69
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
70
+ 'panel' => 'wcast_naviation_panel'
71
+ )
72
+ );
73
+
74
+ $wp_customize->add_section( 'customer_updated_tracking_email',
75
+ array(
76
+ 'title' => __( 'Updated Tracking status email', 'woo-advanced-shipment-tracking' ),
77
+ 'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
78
+ 'panel' => 'wcast_naviation_panel'
79
+ )
80
+ );
81
+
82
  $wp_customize->add_section( 'customer_failure_email',
83
  array(
84
  'title' => __( 'Pre Transit', 'woo-advanced-shipment-tracking' ),
147
  wp_localize_script('wcast-customizer-scripts', 'wcast_customizer', array(
148
  'ajax_url' => admin_url('admin-ajax.php'),
149
  'email_preview_url' => $this->get_email_preview_url(),
150
+ 'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
151
+ 'updated_tracking_email_preview_url' => $this->get_updated_tracking_email_preview_url(),
152
  'tracking_preview_url' => $this->get_tracking_preview_url(),
153
  'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
154
  'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
175
  return $email_preview_url;
176
  }
177
 
178
+ /**
179
+ * Get Customizer URL
180
+ *
181
+ */
182
+ public static function get_partial_shipped_email_preview_url() {
183
+ $email_preview_url = add_query_arg( array(
184
+ 'wcast-partial-shipped-email-customizer-preview' => '1',
185
+ ), home_url( '' ) );
186
+
187
+ return $email_preview_url;
188
+ }
189
+
190
+ /**
191
+ * Get Customizer URL
192
+ *
193
+ */
194
+ public static function get_updated_tracking_email_preview_url() {
195
+ $email_preview_url = add_query_arg( array(
196
+ 'wcast-updated-tracking-email-customizer-preview' => '1',
197
+ ), home_url( '' ) );
198
+
199
+ return $email_preview_url;
200
+ }
201
+
202
  /**
203
  * Get Customizer URL
204
  *
374
  */
375
  public static function is_own_section( $key ) {
376
 
377
+ if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_partial_shipped_email' || $key === 'customer_updated_tracking_email' || $key === 'customer_failure_email' || $key === 'customer_intransit_email' || $key === 'customer_outfordelivery_email' || $key === 'customer_delivered_status_email' || $key === 'customer_returntosender_email' || $key === 'customer_availableforpickup_email') {
378
  return true;
379
  }
380
 
413
  array(
414
  'post_type' => 'shop_order',
415
  'post_status' => array_keys( wc_get_order_statuses() ),
416
+ 'posts_per_page' => -1,
417
  )
418
  );
419
+ $max = 20;
420
+ $n = 1;
421
  if ( $orders->posts ) {
422
  foreach ( $orders->posts as $order ) {
423
  // Get order object.
424
  $order_object = new WC_Order( $order->ID );
425
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
426
+ $tracking_items = $ast->get_tracking_items( $order->ID, true );
427
+ if($tracking_items){
428
+ $order_array[ $order_object->get_id() ] = $order_object->get_id() . ' - ' . $order_object->get_billing_first_name() . ' ' . $order_object->get_billing_last_name();
429
+ $n++;
430
+ if($n > $max)break;
431
+ }
432
  }
433
  }
434
  return $order_array;
includes/customizer/custom-controls.php CHANGED
@@ -655,7 +655,7 @@ if ( class_exists( 'WP_Customize_Control' ) ) {
655
  <?php if( !empty( $this->description ) ) { ?>
656
  <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
657
  <?php } ?>
658
- <textarea id="<?php echo esc_attr( $this->id ); ?>" class="customize-control-tinymce-editor" <?php $this->link(); ?>><?php echo esc_attr( $this->value() ); ?></textarea>
659
  </div>
660
  <?php
661
  }
655
  <?php if( !empty( $this->description ) ) { ?>
656
  <span class="customize-control-description"><?php echo esc_html( $this->description ); ?></span>
657
  <?php } ?>
658
+ <textarea id="<?php echo esc_attr( $this->id ); ?>" placeholder="<?php echo esc_attr( $this->input_attrs['placeholder'] ); ?>" class="" <?php $this->link(); ?>><?php echo esc_attr( $this->value() ); ?></textarea>
659
  </div>
660
  <?php
661
  }
includes/customizer/preview/partial_shipped_preview.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
20
+ <?php wcast_partial_shipped_customizer_email::preview_partial_shipped_email(); ?>
21
+
22
+ </div>
23
+
24
+ <?php
25
+ do_action( 'woomail_footer' );
26
+ wp_footer(); ?>
27
+
28
+ </body>
29
+
30
+ </html>
includes/customizer/preview/updated_tracking_preview.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+
20
+ <?php wcast_updated_tracking_customizer_email::preview_updated_tracking_email(); ?>
21
+
22
+ </div>
23
+
24
+ <?php
25
+ do_action( 'woomail_footer' );
26
+ wp_footer(); ?>
27
+
28
+ </body>
29
+
30
+ </html>
includes/email-manager.php CHANGED
@@ -24,7 +24,15 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
24
  // Include the email class file if it's not included already
25
  if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
26
  $emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
27
- }
 
 
 
 
 
 
 
 
28
  return $emails;
29
  }
30
 
@@ -35,6 +43,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
35
  $order_id = $order->get_id();
36
  $wcast_customizer_settings = new wcast_initialise_customizer_email();
37
  $email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
 
 
 
 
 
38
  $subject = $this->email_subject($email_subject,$order_id,$order);
39
 
40
  $email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
@@ -46,8 +59,18 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
46
  $email_to = explode(",",$email_to);
47
 
48
  foreach($email_to as $email){
49
- $email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
50
- $email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
 
 
 
 
 
 
 
 
 
 
51
  $wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
52
  $wcast_show_order_details = get_theme_mod('wcast_show_order_details');
53
  $wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
@@ -69,7 +92,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
69
  if($wcast_show_tracking_details == 1){
70
  ob_start();
71
  wc_get_template( 'emails/tracking-info.php', array(
72
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
73
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
74
  $message .= ob_get_clean();
75
  }
@@ -136,6 +160,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
136
  $status_class = 'wcast_'.$status.'_customizer_email';
137
  $wcast_status_customizer_email = new $status_class();
138
  $email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
 
 
 
 
 
139
  $subject = $this->email_subject($email_subject,$order_id,$order);
140
  $email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
141
  $enable = get_theme_mod('wcast_enable_'.$status.'_email');
@@ -144,7 +173,17 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
144
  if($enable == 1){
145
  foreach($email_to as $email){
146
  $email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
147
- $email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
 
 
 
 
 
 
 
 
 
 
148
  $wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
149
  $wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
150
  $wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
@@ -169,7 +208,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
169
 
170
  ob_start();
171
  wc_get_template( 'emails/tracking-info.php', array(
172
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
173
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
174
  $message .= ob_get_clean();
175
  }
@@ -270,7 +310,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
270
 
271
  ob_start();
272
  wc_get_template( 'emails/tracking-info.php', array(
273
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
274
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
275
  $message .= ob_get_clean();
276
  }
@@ -390,10 +431,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
390
  /**
391
  * code for format email content
392
  */
393
- public function email_content($email_content, $order_id, $order){
394
  $customer_email = $order->get_billing_email();
395
  $first_name = $order->get_billing_first_name();
396
  $last_name = $order->get_billing_last_name();
 
397
  $user = $order->get_user();
398
  if($user){
399
  $username = $user->user_login;
@@ -408,7 +450,14 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
408
  $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
409
  $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
410
  $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
411
- $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
 
 
 
 
 
 
 
412
  if(isset($username)){
413
  $email_content = str_replace( '{customer_username}', $username, $email_content );
414
  } else{
@@ -470,8 +519,7 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
470
  $decoded_data = json_decode($data);
471
 
472
  if(!empty($decoded_data)){
473
- $tracker = $decoded_data[0];
474
- //echo '<pre>';print_r($tracker);echo '</pre>';
475
  if($tracker->est_delivery_date){
476
  $unixTimestamp = strtotime($tracker->est_delivery_date);
477
  //Get the day of the week using PHP's date function.
24
  // Include the email class file if it's not included already
25
  if ( ! isset( $emails[ 'WC_Email_Customer_Delivered_Order' ] ) ) {
26
  $emails[ 'WC_Email_Customer_Delivered_Order' ] = include_once( 'emails/class-shipment-delivered-email.php' );
27
+ }
28
+
29
+ if ( ! isset( $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] ) ) {
30
+ $emails[ 'WC_Email_Customer_Partial_Shipped_Order' ] = include_once( 'emails/class-shipment-partial-shipped-email.php' );
31
+ }
32
+
33
+ if ( ! isset( $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] ) ) {
34
+ $emails[ 'WC_Email_Customer_Updated_Tracking_Order' ] = include_once( 'emails/class-shipment-updated-tracking-email.php' );
35
+ }
36
  return $emails;
37
  }
38
 
43
  $order_id = $order->get_id();
44
  $wcast_customizer_settings = new wcast_initialise_customizer_email();
45
  $email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
46
+
47
+ if($email_subject == ''){
48
+ $email_subject = $wcast_customizer_settings->defaults['wcast_delivered_email_subject'];
49
+ }
50
+
51
  $subject = $this->email_subject($email_subject,$order_id,$order);
52
 
53
  $email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
59
  $email_to = explode(",",$email_to);
60
 
61
  foreach($email_to as $email){
62
+ $email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
63
+
64
+ if($email_heading == ''){
65
+ $email_heading = $wcast_customizer_settings->defaults['wcast_delivered_email_heading'];
66
+ }
67
+
68
+ $email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
69
+
70
+ if($email_content == ''){
71
+ $email_content = $wcast_customizer_settings->defaults['wcast_delivered_email_content'];
72
+ }
73
+
74
  $wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
75
  $wcast_show_order_details = get_theme_mod('wcast_show_order_details');
76
  $wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
92
  if($wcast_show_tracking_details == 1){
93
  ob_start();
94
  wc_get_template( 'emails/tracking-info.php', array(
95
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
96
+ 'order_id' => $order_id,
97
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
98
  $message .= ob_get_clean();
99
  }
160
  $status_class = 'wcast_'.$status.'_customizer_email';
161
  $wcast_status_customizer_email = new $status_class();
162
  $email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
163
+
164
+ if($email_subject == ''){
165
+ $email_subject = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject'];
166
+ }
167
+
168
  $subject = $this->email_subject($email_subject,$order_id,$order);
169
  $email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
170
  $enable = get_theme_mod('wcast_enable_'.$status.'_email');
173
  if($enable == 1){
174
  foreach($email_to as $email){
175
  $email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
176
+
177
+ if($email_heading == ''){
178
+ $email_heading = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading'];
179
+ }
180
+
181
+ $email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
182
+
183
+ if($email_content == ''){
184
+ $email_content = $wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content'];
185
+ }
186
+
187
  $wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
188
  $wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
189
  $wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
208
 
209
  ob_start();
210
  wc_get_template( 'emails/tracking-info.php', array(
211
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
212
+ 'order_id' => $order_id,
213
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
214
  $message .= ob_get_clean();
215
  }
310
 
311
  ob_start();
312
  wc_get_template( 'emails/tracking-info.php', array(
313
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
314
+ 'order_id' => $order_id,
315
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
316
  $message .= ob_get_clean();
317
  }
431
  /**
432
  * code for format email content
433
  */
434
+ public function email_content($email_content, $order_id, $order){
435
  $customer_email = $order->get_billing_email();
436
  $first_name = $order->get_billing_first_name();
437
  $last_name = $order->get_billing_last_name();
438
+ $company_name = $order->get_billing_company();
439
  $user = $order->get_user();
440
  if($user){
441
  $username = $user->user_login;
450
  $email_content = str_replace( '{customer_email}', $customer_email, $email_content );
451
  $email_content = str_replace( '{site_title}', $this->get_blogname(), $email_content );
452
  $email_content = str_replace( '{customer_first_name}', $first_name, $email_content );
453
+ $email_content = str_replace( '{customer_last_name}', $last_name, $email_content );
454
+
455
+ if(isset($company_name)){
456
+ $email_content = str_replace( '{customer_company_name}', $company_name, $email_content );
457
+ } else{
458
+ $email_content = str_replace( '{customer_company_name}','', $email_content );
459
+ }
460
+
461
  if(isset($username)){
462
  $email_content = str_replace( '{customer_username}', $username, $email_content );
463
  } else{
519
  $decoded_data = json_decode($data);
520
 
521
  if(!empty($decoded_data)){
522
+ $tracker = $decoded_data[0];
 
523
  if($tracker->est_delivery_date){
524
  $unixTimestamp = strtotime($tracker->est_delivery_date);
525
  //Get the day of the week using PHP's date function.
includes/emails/class-shipment-delivered-email.php CHANGED
@@ -56,7 +56,7 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
56
  $recipients = array_map( 'trim', explode( ',', $recipient ) );
57
  return implode( ', ', $recipients );
58
  }
59
-
60
  /**
61
  * Trigger the sending of this email.
62
  *
@@ -75,8 +75,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
75
  $this->object = $order;
76
  $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
77
  $this->placeholders['{order_number}'] = $this->object->get_order_number();
78
- }
79
-
80
  if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
81
  $this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
82
  }
@@ -158,7 +158,8 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
158
  if($wcast_show_tracking_details == 1){
159
  ob_start();
160
  wc_get_template( 'emails/tracking-info.php', array(
161
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
162
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
163
  $message .= ob_get_clean();
164
  }
@@ -230,12 +231,12 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
230
  /**
231
  * Initialise settings form fields.
232
  */
233
- public function init_form_fields() {
234
  $this->form_fields = array(
235
  'enabled' => array(
236
  'title' => __( 'Enable/Disable', 'woocommerce' ),
237
  'type' => 'checkbox',
238
- 'label' => __( 'Enable this email notification', 'woocommerce' ),
239
  'default' => 'yes',
240
  ),
241
  'recipient' => array(
@@ -285,4 +286,4 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
285
 
286
  endif;
287
 
288
- return new WC_Email_Customer_Delivered_Order();
56
  $recipients = array_map( 'trim', explode( ',', $recipient ) );
57
  return implode( ', ', $recipients );
58
  }
59
+
60
  /**
61
  * Trigger the sending of this email.
62
  *
75
  $this->object = $order;
76
  $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
77
  $this->placeholders['{order_number}'] = $this->object->get_order_number();
78
+ }
79
+
80
  if ( $this->is_enabled() && $this->get_delivered_recipient() ) {
81
  $this->send( $this->get_delivered_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
82
  }
158
  if($wcast_show_tracking_details == 1){
159
  ob_start();
160
  wc_get_template( 'emails/tracking-info.php', array(
161
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
162
+ 'order_id' => $order_id
163
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
164
  $message .= ob_get_clean();
165
  }
231
  /**
232
  * Initialise settings form fields.
233
  */
234
+ public function init_form_fields() {
235
  $this->form_fields = array(
236
  'enabled' => array(
237
  'title' => __( 'Enable/Disable', 'woocommerce' ),
238
  'type' => 'checkbox',
239
+ 'label' => __( 'Enable this email notification', 'woocommerce' ),
240
  'default' => 'yes',
241
  ),
242
  'recipient' => array(
286
 
287
  endif;
288
 
289
+ return new WC_Email_Customer_Delivered_Order();
includes/emails/class-shipment-partial-shipped-email.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_Email_Customer_Partial_Shipped_Order file.
4
+ *
5
+ * @package WooCommerce\Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
13
+
14
+ /**
15
+ * Customer Completed Order Email.
16
+ *
17
+ * Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
18
+ *
19
+ * @class WC_Email_Customer_Partial_Shipped_Order
20
+ * @version 2.0.0
21
+ * @package WooCommerce/Classes/Emails
22
+ * @extends WC_Email
23
+ */
24
+ class WC_Email_Customer_Partial_Shipped_Order extends WC_Email {
25
+
26
+ /**
27
+ * Constructor.
28
+ */
29
+ public function __construct() {
30
+ $this->id = 'customer_partial_shipped_order';
31
+ $this->customer_email = true;
32
+ $this->title = __( 'Partially Shipped order', 'woocommerce' );
33
+ $this->description = __( 'Order partially shipped emails are sent to customers when their orders are marked partially shipped and usually indicate that their orders have been partially shipped.', 'woocommerce' );
34
+ $this->template_html = 'emails/customer-partial-shipped-order.php';
35
+ $this->template_plain = 'emails/plain/customer-completed-order.php';
36
+ $this->placeholders = array(
37
+ '{order_date}' => '',
38
+ '{order_number}' => '',
39
+ );
40
+ $this->template_base = AST_TEMPLATE_PATH;
41
+ // Triggers for this email.
42
+ //add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
43
+
44
+ // Call parent constructor.
45
+ parent::__construct();
46
+ }
47
+
48
+ /**
49
+ * Trigger the sending of this email.
50
+ *
51
+ * @param int $order_id The order ID.
52
+ * @param WC_Order|false $order Order object.
53
+ */
54
+ public function trigger( $order_id, $order = false ) {
55
+ $this->setup_locale();
56
+
57
+ if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
58
+ $order = wc_get_order( $order_id );
59
+ }
60
+
61
+ if ( is_a( $order, 'WC_Order' ) ) {
62
+ $this->object = $order;
63
+ $this->recipient = $this->object->get_billing_email();
64
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
65
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
66
+ }
67
+
68
+ if ( $this->is_enabled() && $this->get_recipient() ) {
69
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
70
+ }
71
+
72
+ $this->restore_locale();
73
+ }
74
+
75
+ /**
76
+ * Get email subject.
77
+ *
78
+ * @since 3.1.0
79
+ * @return string
80
+ */
81
+ public function get_default_subject() {
82
+ return __( 'Your {site_title} order is now partially shipped', 'woocommerce' );
83
+ }
84
+
85
+ /**
86
+ * Get email heading.
87
+ *
88
+ * @since 3.1.0
89
+ * @return string
90
+ */
91
+ public function get_default_heading() {
92
+ return __( 'Your Order is Partially Shipped', 'woocommerce' );
93
+ }
94
+
95
+ /**
96
+ * Get content html.
97
+ *
98
+ * @return string
99
+ */
100
+ public function get_content_html() {
101
+ $template = $this->get_template( 'template_html' );
102
+ $local_file = $this->get_theme_template_file( $template );
103
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
104
+ //echo $local_file;exit;
105
+ return wc_get_template_html(
106
+ $this->template_html,
107
+ array(
108
+ 'order' => $this->object,
109
+ 'email_heading' => $this->get_heading(),
110
+ 'additional_content' => $this->get_additional_content(),
111
+ 'sent_to_admin' => false,
112
+ 'plain_text' => false,
113
+ 'email' => $this,
114
+ )
115
+ );
116
+ } else{
117
+ return wc_get_template_html(
118
+ 'emails/customer-partial-shipped-order.php',
119
+ array(
120
+ 'order' => $this->object,
121
+ 'email_heading' => $this->get_heading(),
122
+ 'additional_content' => $this->get_additional_content(),
123
+ 'sent_to_admin' => false,
124
+ 'plain_text' => false,
125
+ 'email' => $this,
126
+ ),
127
+ 'woocommerce-advanced-shipment-tracking/',
128
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
129
+ );
130
+ }
131
+ }
132
+
133
+ /**
134
+ * Get content plain.
135
+ *
136
+ * @return string
137
+ */
138
+ public function get_content_plain() {
139
+ $template = $this->get_template( 'template_html' );
140
+ $local_file = $this->get_theme_template_file( $template );
141
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
142
+ //echo $local_file;exit;
143
+ return wc_get_template_html(
144
+ $this->template_html,
145
+ array(
146
+ 'order' => $this->object,
147
+ 'email_heading' => $this->get_heading(),
148
+ 'additional_content' => $this->get_additional_content(),
149
+ 'sent_to_admin' => false,
150
+ 'plain_text' => false,
151
+ 'email' => $this,
152
+ )
153
+ );
154
+ } else{
155
+ return wc_get_template_html(
156
+ 'emails/customer-partial-shipped-order.php',
157
+ array(
158
+ 'order' => $this->object,
159
+ 'email_heading' => $this->get_heading(),
160
+ 'additional_content' => $this->get_additional_content(),
161
+ 'sent_to_admin' => false,
162
+ 'plain_text' => false,
163
+ 'email' => $this,
164
+ ),
165
+ 'woocommerce-advanced-shipment-tracking/',
166
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
167
+ );
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Default content to show below main email content.
173
+ *
174
+ * @since 3.7.0
175
+ * @return string
176
+ */
177
+ public function get_default_additional_content() {
178
+ return __( 'Thanks for shopping with us.', 'woocommerce' );
179
+ }
180
+ }
181
+
182
+ endif;
183
+
184
+ return new WC_Email_Customer_Partial_Shipped_Order();
includes/emails/class-shipment-updated-tracking-email.php ADDED
@@ -0,0 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Class WC_Email_Customer_Updated_Tracking_Order file.
4
+ *
5
+ * @package WooCommerce\Emails
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'WC_Email_Customer_Updated_Tracking_Order', false ) ) :
13
+
14
+ /**
15
+ * Customer Completed Order Email.
16
+ *
17
+ * Order complete emails are sent to the customer when the order is marked complete and usual indicates that the order has been shipped.
18
+ *
19
+ * @class WC_Email_Customer_Updated_Tracking_Order
20
+ * @version 2.0.0
21
+ * @package WooCommerce/Classes/Emails
22
+ * @extends WC_Email
23
+ */
24
+ class WC_Email_Customer_Updated_Tracking_Order extends WC_Email {
25
+
26
+ /**
27
+ * Constructor.
28
+ */
29
+ public function __construct() {
30
+ $this->id = 'customer_updated_tracking_order';
31
+ $this->customer_email = true;
32
+ $this->title = __( 'Updated Tracking order', 'woocommerce' );
33
+ $this->description = __( 'Order updated tracking emails are sent to customers when their orders are marked updated tracking and usually indicate that their orders have been updated tracking.', 'woocommerce' );
34
+ $this->template_html = 'emails/customer-updated-tracking-order.php';
35
+ $this->template_plain = 'emails/plain/customer-updated-tracking-order.php';
36
+ $this->placeholders = array(
37
+ '{order_date}' => '',
38
+ '{order_number}' => '',
39
+ );
40
+ $this->template_base = AST_TEMPLATE_PATH;
41
+ // Triggers for this email.
42
+ //add_action( 'woocommerce_order_status_completed_notification', array( $this, 'trigger' ), 10, 2 );
43
+
44
+ // Call parent constructor.
45
+ parent::__construct();
46
+ }
47
+
48
+ /**
49
+ * Trigger the sending of this email.
50
+ *
51
+ * @param int $order_id The order ID.
52
+ * @param WC_Order|false $order Order object.
53
+ */
54
+ public function trigger( $order_id, $order = false ) {
55
+ $this->setup_locale();
56
+
57
+ if ( $order_id && ! is_a( $order, 'WC_Order' ) ) {
58
+ $order = wc_get_order( $order_id );
59
+ }
60
+
61
+ if ( is_a( $order, 'WC_Order' ) ) {
62
+ $this->object = $order;
63
+ $this->recipient = $this->object->get_billing_email();
64
+ $this->placeholders['{order_date}'] = wc_format_datetime( $this->object->get_date_created() );
65
+ $this->placeholders['{order_number}'] = $this->object->get_order_number();
66
+ }
67
+
68
+ if ( $this->is_enabled() && $this->get_recipient() ) {
69
+ $this->send( $this->get_recipient(), $this->get_subject(), $this->get_content(), $this->get_headers(), $this->get_attachments() );
70
+ }
71
+
72
+ $this->restore_locale();
73
+ }
74
+
75
+ /**
76
+ * Get email subject.
77
+ *
78
+ * @since 3.1.0
79
+ * @return string
80
+ */
81
+ public function get_default_subject() {
82
+ return __( 'Your {site_title} order is now updated tracking', 'woocommerce' );
83
+ }
84
+
85
+ /**
86
+ * Get email heading.
87
+ *
88
+ * @since 3.1.0
89
+ * @return string
90
+ */
91
+ public function get_default_heading() {
92
+ return __( 'Tracking information Update', 'woocommerce' );
93
+ }
94
+
95
+ /**
96
+ * Get content html.
97
+ *
98
+ * @return string
99
+ */
100
+ public function get_content_html() {
101
+ $template = $this->get_template( 'template_html' );
102
+ $local_file = $this->get_theme_template_file( $template );
103
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
104
+ //echo $local_file;exit;
105
+ return wc_get_template_html(
106
+ $this->template_html,
107
+ array(
108
+ 'order' => $this->object,
109
+ 'email_heading' => $this->get_heading(),
110
+ 'additional_content' => $this->get_additional_content(),
111
+ 'sent_to_admin' => false,
112
+ 'plain_text' => false,
113
+ 'email' => $this,
114
+ )
115
+ );
116
+ } else{
117
+ return wc_get_template_html(
118
+ 'emails/customer-updated-tracking-order.php',
119
+ array(
120
+ 'order' => $this->object,
121
+ 'email_heading' => $this->get_heading(),
122
+ 'additional_content' => $this->get_additional_content(),
123
+ 'sent_to_admin' => false,
124
+ 'plain_text' => false,
125
+ 'email' => $this,
126
+ ),
127
+ 'woocommerce-advanced-shipment-tracking/',
128
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
129
+ );
130
+ }
131
+ }
132
+
133
+ /**
134
+ * Get content plain.
135
+ *
136
+ * @return string
137
+ */
138
+ public function get_content_plain() {
139
+ $template = $this->get_template( 'template_html' );
140
+ $local_file = $this->get_theme_template_file( $template );
141
+ if ( file_exists( $local_file ) && is_writable( $local_file )){
142
+ //echo $local_file;exit;
143
+ return wc_get_template_html(
144
+ $this->template_html,
145
+ array(
146
+ 'order' => $this->object,
147
+ 'email_heading' => $this->get_heading(),
148
+ 'additional_content' => $this->get_additional_content(),
149
+ 'sent_to_admin' => false,
150
+ 'plain_text' => false,
151
+ 'email' => $this,
152
+ )
153
+ );
154
+ } else{
155
+ return wc_get_template_html(
156
+ 'emails/customer-updated-tracking-order.php',
157
+ array(
158
+ 'order' => $this->object,
159
+ 'email_heading' => $this->get_heading(),
160
+ 'additional_content' => $this->get_additional_content(),
161
+ 'sent_to_admin' => false,
162
+ 'plain_text' => false,
163
+ 'email' => $this,
164
+ ),
165
+ 'woocommerce-advanced-shipment-tracking/',
166
+ wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/'
167
+ );
168
+ }
169
+ }
170
+
171
+ /**
172
+ * Default content to show below main email content.
173
+ *
174
+ * @since 3.7.0
175
+ * @return string
176
+ */
177
+ public function get_default_additional_content() {
178
+ return __( 'Thanks for shopping with us.', 'woocommerce' );
179
+ }
180
+ }
181
+
182
+ endif;
183
+
184
+ return new WC_Email_Customer_Updated_Tracking_Order();
includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js CHANGED
@@ -25,6 +25,43 @@
25
 
26
  // We can also pass the url value separately from ajaxurl for front end AJAX implementations
27
  $.post( ajaxurl, data );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
28
  }
29
  );
30
  }
25
 
26
  // We can also pass the url value separately from ajaxurl for front end AJAX implementations
27
  $.post( ajaxurl, data );
28
+
29
+ }
30
+ );
31
+ $( 'div[data-dismissible] a.button-primary' ).click(
32
+ function (event) {
33
+ event.preventDefault();
34
+ var $this = $( this );
35
+
36
+ var attr_value, option_name, dismissible_length, data;
37
+ var href = $(this).attr('href');
38
+ attr_value = $this.parent().attr( 'data-dismissible' ).split( '-' );
39
+
40
+ // remove the dismissible length from the attribute value and rejoin the array.
41
+ dismissible_length = attr_value.pop();
42
+
43
+ option_name = attr_value.join( '-' );
44
+
45
+ data = {
46
+ 'action': 'dismiss_admin_notice',
47
+ 'option_name': option_name,
48
+ 'dismissible_length': dismissible_length,
49
+ 'nonce': dismissible_notice.nonce
50
+ };
51
+
52
+ // We can also pass the url value separately from ajaxurl for front end AJAX implementations
53
+ jQuery.ajax({
54
+ url: ajaxurl,
55
+ data: data,
56
+ type: 'POST',
57
+ success: function(response) {
58
+ window.location.replace(href);
59
+ },
60
+ error: function(response) {
61
+ console.log(response);
62
+ }
63
+ });
64
+
65
  }
66
  );
67
  }
includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php CHANGED
@@ -90,7 +90,7 @@ if ( ! class_exists( 'PAnD' ) ) {
90
  'dismissible-notices',
91
  $js_url,
92
  array( 'jquery', 'common' ),
93
- false,
94
  true
95
  );
96
 
90
  'dismissible-notices',
91
  $js_url,
92
  array( 'jquery', 'common' ),
93
+ wc_advanced_shipment_tracking()->version,
94
  true
95
  );
96
 
includes/views/admin_options_addons.php ADDED
@@ -0,0 +1,133 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * html code for tools tab
4
+ */
5
+ ?>
6
+ <section id="content6" class="tab_section">
7
+ <div class="d_table" style="">
8
+ <div class="tab_inner_container">
9
+ <form method="post" id="wc_ast_addons_form" class="addons_inner_container" action="" enctype="multipart/form-data">
10
+ <div class="ast_addons_section">
11
+ <table class="form-table heading-table">
12
+ <tbody>
13
+ <tr valign="top" class="addons_header ts_addons_header">
14
+ <td>
15
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/ts-banner.jpg">
16
+ </td>
17
+ </tr>
18
+ <tr valign="top">
19
+ <td>
20
+ <h3 style=""><?php _e( 'TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
21
+ </td>
22
+ </tr>
23
+ </tbody>
24
+ </table>
25
+ <table class="form-table">
26
+ <tbody>
27
+ <tr style="height: 140px;">
28
+ <td>
29
+ <?php
30
+ $wc_ast_api_key = get_option('wc_ast_api_key');
31
+ if($wc_ast_api_key){
32
+ echo '<p>';
33
+ _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' );
34
+ echo '</p>';
35
+ } else{ ?>
36
+ <p style="margin-top: 4px;"><?php _e( 'TracksShip is a premium shipment tracking API flatform that fully integrates with WooCommerce with the Advanced Shipment Tracking. TrackShip automates the order management workflows, reduces customer inquiries, reduces time spent on customer service, and improves the post-purchase experience and satisfaction of your customers.', 'woo-advanced-shipment-tracking' ); ?></p>
37
+ <p style="margin-top: 4px;"><?php _e( 'You must have account TracksShip and connect your store in order to activate these advanced features:', 'woo-advanced-shipment-tracking' ); ?></p>
38
+ <?php } ?>
39
+ </td>
40
+ </tr>
41
+ <tr>
42
+ <td class="forminp">
43
+ <?php if($wc_ast_api_key){ ?>
44
+ <fieldset>
45
+ <a href="https://my.trackship.info/" target="_blank" class="button-primary btn_green2 btn_large">
46
+ <span class=""><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
47
+ </a>
48
+ </fieldset>
49
+ <?php } else{ ?>
50
+ <fieldset>
51
+ <a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_ast2 btn_large"><?php _e( 'SIGNUP NOW', 'woo-advanced-shipment-tracking' ); ?></a>
52
+ </fieldset>
53
+ <?php } ?>
54
+ </td>
55
+ </tr>
56
+ </tbody>
57
+ </table>
58
+ </div>
59
+ <div class="ast_addons_section">
60
+ <table class="form-table heading-table">
61
+ <tbody>
62
+ <tr valign="top" class="addons_header tracking_item_addons_header">
63
+ <td>
64
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/Tracking-Per-Item-addon.jpg">
65
+ </td>
66
+ </tr>
67
+ <tr valign="top">
68
+ <td>
69
+ <h3 style="">Tracking Per Item Add-on</h3>
70
+ </td>
71
+ </tr>
72
+ </tbody>
73
+ </table>
74
+ <?php if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
75
+ ?>
76
+ <table class="form-table">
77
+ <tbody>
78
+ <tr style="height: 140px;">
79
+ <td>
80
+ <p style="margin-top: 4px;"><?php _e( 'The Tracking Per Item add-on extends the AST plugin and allows you to attach tracking numbers to specific line items and to line item quantities.', 'woo-advanced-shipment-tracking' ); ?></p>
81
+ </td>
82
+ </tr>
83
+ </tbody>
84
+ </table>
85
+ <table class="form-table">
86
+ <tbody>
87
+ <tr valign="top">
88
+ <td class="button-column">
89
+ <div class="submit">
90
+ <a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/" target="blank" class="button-primary btn_ast2 btn_large"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
91
+ </div>
92
+ </td>
93
+ </tr>
94
+ </tbody>
95
+ </table>
96
+ <?php } else{ ?>
97
+ <div class="license_div">
98
+ <?php
99
+ $this->get_html( $this->get_ast_product_license_data() );
100
+ ?>
101
+ </div>
102
+ <table class="form-table">
103
+ <tbody>
104
+ <tr valign="top">
105
+ <td class="button-column">
106
+ <div class="submit">
107
+ <?php
108
+ if($this->licence_valid() == 'true'){ ?>
109
+ <a href="https://www.zorem.com/my-account/manage-license-key/" class="button-primary btn_green2 btn_large" target="blank"><?php _e('Active','woo-advanced-shipment-tracking');?> <span class="dashicons dashicons-yes"></span></a>
110
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Deactivate"><?php _e('Deactivate','woo-advanced-shipment-tracking');?></button>
111
+ <?php } else{ ?>
112
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e('Activate','woo-advanced-shipment-tracking');?></button>
113
+ <?php }
114
+ ?>
115
+ <p class="pesan"></p>
116
+ <div class="spinner"></div>
117
+ <?php wp_nonce_field( 'wc_ast_addons_form', 'wc_ast_addons_form' );?>
118
+ <input type="hidden" id="ast-license-action" name="action" value="<?=$this->licence_valid() == 'true' ? 'ast_product_license_deactivate':'ast_product_license_activate';?>" />
119
+ </div>
120
+ </td>
121
+ </tr>
122
+ </tbody>
123
+ </table>
124
+ <?php
125
+ } ?>
126
+ </div>
127
+ </form>
128
+ </div>
129
+ <?php
130
+ include 'zorem_admin_sidebar.php';
131
+ ?>
132
+ </div>
133
+ </section>
includes/views/admin_options_bulk_upload.php CHANGED
@@ -34,14 +34,19 @@
34
  <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
35
  </div>
36
  </th>
37
- </tr>
38
- </tbody>
39
- </table>
40
- <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
41
- <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?><span class="progress_number"></span></h3>
42
- <ol class="csv_upload_status">
43
-
44
- </ol>
 
 
 
 
 
45
  <h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
46
  <table class="form-table">
47
  <tbody>
@@ -49,7 +54,7 @@
49
  <td>
50
  <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
51
  </td>
52
- <td>
53
  <a class="button-primary btn_ast2 btn_large" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
54
  </td>
55
  </tr>
34
  <input type="hidden" name="action" value="wc_ast_upload_csv_form_update">
35
  </div>
36
  </th>
37
+ </tr>
38
+ <tr class="bulk_upload_status_tr" style="display:none;">
39
+ <td scope="row" colspan="2">
40
+ <div id="p1" class="mdl-progress mdl-js-progress" style="display:none;"></div>
41
+ <h3 class="progress_title" style="display:none;"><?php _e('Upload Progress - ', 'woo-advanced-shipment-tracking'); ?>
42
+ <span class="progress_number"></span>
43
+ </h3>
44
+ <ol class="csv_upload_status">
45
+ </ol>
46
+ </td>
47
+ </tr>
48
+ </tbody>
49
+ </table>
50
  <h3 class="table-heading"><?php _e('Sample CSV', 'woo-advanced-shipment-tracking'); ?></h3>
51
  <table class="form-table">
52
  <tbody>
54
  <td>
55
  <p><?php _e('You can download an example of the csv file:', 'woo-advanced-shipment-tracking'); ?></p>
56
  </td>
57
+ <td style="text-align:right;">
58
  <a class="button-primary btn_ast2 btn_large" href="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>/assets/tracking.csv"><?php _e('Download sample csv file', 'woo-advanced-shipment-tracking'); ?></a>
59
  </td>
60
  </tr>
includes/views/admin_options_settings.php CHANGED
@@ -48,7 +48,7 @@
48
  <td>
49
  <p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
50
  </td>
51
- <td>
52
  <a href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Launch Customizer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span></a>
53
  </td>
54
  </tr>
@@ -59,13 +59,120 @@
59
  <tbody>
60
  <tr valign="top">
61
  <td>
62
- <h3 style=""><?php _e( 'Delivered Order Status', 'woo-advanced-shipment-tracking' ); ?></h3>
63
  </td>
64
  </tr>
65
  </tbody>
66
  </table>
67
- <?php $this->get_html( $this->get_delivered_data() );?>
68
- <p class="description-below-table"><?php echo sprintf(__('<strong>PLEASE NOTE</strong> - If you use the custom order status "Delivered", when you deactivate the plugin, you must register this order status in function.php in order to see these orders in the orders admin. You can find the <a href="%s" target="blank">snippet</a> to use in functions.php here or you can manually change all your "delivered" order to "completed" before deactivating the plugin.', 'woo-advanced-shipment-tracking'), 'https://gist.github.com/zorem/6f09162fe91eab180a76a621ce523441'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
69
  <table class="form-table">
70
  <tbody>
71
  <tr valign="top">
@@ -79,7 +186,8 @@
79
  </td>
80
  </tr>
81
  </tbody>
82
- </table>
 
83
  </form>
84
  </div>
85
  <?php include 'zorem_admin_sidebar.php';?>
48
  <td>
49
  <p style=""><?php _e( 'You can customize the tracking info display on emails and my account', 'woo-advanced-shipment-tracking' ); ?></p>
50
  </td>
51
+ <td style="text-align:right;">
52
  <a href="<?php echo wcast_initialise_customizer_settings::get_customizer_url('default_controls_section','settings') ?>" class="button-primary btn_ast2 btn_large"><?php _e( 'Launch Customizer', 'woo-advanced-shipment-tracking' ); ?> <span class="dashicons dashicons-welcome-view-site"></span></a>
53
  </td>
54
  </tr>
59
  <tbody>
60
  <tr valign="top">
61
  <td>
62
+ <h3 style=""><?php _e( 'Custom Order Statuses', 'woo-advanced-shipment-tracking' ); ?></h3>
63
  </td>
64
  </tr>
65
  </tbody>
66
  </table>
67
+
68
+ <table class="form-table order-status-table">
69
+ <tbody>
70
+ <tr valign="top" class="<?php if(!get_option('wc_ast_status_delivered')){echo 'disable_row'; } ?>">
71
+ <td class="forminp" style="width: 30px;">
72
+ <span class="mdl-list__item-secondary-action">
73
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_delivered">
74
+ <input type="hidden" name="wc_ast_status_delivered" value="0"/>
75
+ <input type="checkbox" id="wc_ast_status_delivered" name="wc_ast_status_delivered" class="mdl-switch__input" <?php if(get_option('wc_ast_status_delivered')){echo 'checked'; } ?> value="1"/>
76
+ </label>
77
+ </span>
78
+ </td>
79
+ <td class="forminp">
80
+ <span class="order-label wc-delivered"><?php _e( 'Delivered', 'woo-advanced-shipment-tracking' ); ?></span>
81
+ </td>
82
+ <td class="forminp">
83
+ <?php
84
+ $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
85
+ if($wcast_enable_delivered_email['enabled'] == 'yes' || $wcast_enable_delivered_email['enabled'] == 1){
86
+ $delivered_checked = 'checked';
87
+ } else{
88
+ $delivered_checked = '';
89
+ }
90
+ ?>
91
+ <fieldset>
92
+ <input class="input-text regular-input " type="text" name="wc_ast_status_label_color" id="wc_ast_status_label_color" style="" value="<?php echo get_option('wc_ast_status_label_color')?>" placeholder="">
93
+ <select class="select" id="wc_ast_status_label_font_color" name="wc_ast_status_label_font_color">
94
+ <option value="#fff" <?php if(get_option('wc_ast_status_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
95
+ <option value="#000" <?php if(get_option('wc_ast_status_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
96
+ </select>
97
+ <label class="send_email_label">
98
+ <input type="hidden" name="wcast_enable_delivered_email" value="0"/>
99
+ <input type="checkbox" name="wcast_enable_delivered_email" id="wcast_enable_delivered_email" <?php echo $delivered_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
100
+ </label>
101
+ <a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
102
+ </fieldset>
103
+ </td>
104
+ </tr>
105
+ <tr valign="top" class="<?php if(!get_option('wc_ast_status_partial_shipped')){echo 'disable_row'; } ?>">
106
+ <td class="forminp" style="width: 30px;">
107
+ <span class="mdl-list__item-secondary-action">
108
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_partial_shipped">
109
+ <input type="hidden" name="wc_ast_status_partial_shipped" value="0"/>
110
+ <input type="checkbox" id="wc_ast_status_partial_shipped" name="wc_ast_status_partial_shipped" class="mdl-switch__input" <?php if(get_option('wc_ast_status_partial_shipped')){echo 'checked'; } ?> value="1"/>
111
+ </label>
112
+ </span>
113
+ </td>
114
+ <td class="forminp">
115
+ <span class="order-label wc-partially-shipped"><?php _e( 'Partially Shipped', 'woo-advanced-shipment-tracking' ); ?></span>
116
+ </td>
117
+ <td class="forminp">
118
+ <?php
119
+ $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
120
+ if($wcast_enable_partial_shipped_email['enabled'] == 'yes' || $wcast_enable_partial_shipped_email['enabled'] == 1){
121
+ $partial_checked = 'checked';
122
+ } else{
123
+ $partial_checked = '';
124
+ }
125
+ ?>
126
+ <fieldset>
127
+ <input class="input-text regular-input " type="text" name="wc_ast_status_partial_shipped_label_color" id="wc_ast_status_partial_shipped_label_color" style="" value="<?php echo get_option('wc_ast_status_partial_shipped_label_color')?>" placeholder="">
128
+ <select class="select" id="wc_ast_status_partial_shipped_label_font_color" name="wc_ast_status_partial_shipped_label_font_color">
129
+ <option value="#fff" <?php if(get_option('wc_ast_status_partial_shipped_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
130
+ <option value="#000" <?php if(get_option('wc_ast_status_partial_shipped_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
131
+ </select>
132
+ <label class="send_email_label">
133
+ <input type="hidden" name="wcast_enable_partial_shipped_email" value="0"/>
134
+ <input type="checkbox" name="wcast_enable_partial_shipped_email" id="wcast_enable_partial_shipped_email" <?php echo $partial_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?></label>
135
+ <a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_partial_shipped_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
136
+ </fieldset>
137
+ </td>
138
+ </tr>
139
+ <tr valign="top" class="<?php if(!get_option('wc_ast_status_updated_tracking')){echo 'disable_row'; } ?>">
140
+ <td class="forminp" style="width: 30px;">
141
+ <span class="mdl-list__item-secondary-action">
142
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_status_updated_tracking">
143
+ <input type="hidden" name="wc_ast_status_updated_tracking" value="0"/>
144
+ <input type="checkbox" id="wc_ast_status_updated_tracking" name="wc_ast_status_updated_tracking" class="mdl-switch__input" <?php if(get_option('wc_ast_status_updated_tracking')){echo 'checked'; } ?> value="1"/>
145
+ </label>
146
+ </span>
147
+ </td>
148
+ <td class="forminp">
149
+ <span class="order-label wc-updated-tracking"><?php _e( 'Updated Tracking', 'woo-advanced-shipment-tracking' ); ?></span>
150
+ </td>
151
+ <td class="forminp">
152
+ <?php
153
+ $wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
154
+ if($wcast_enable_updated_tracking_email['enabled'] == 'yes' || $wcast_enable_updated_tracking_email['enabled'] == 1){
155
+ $updated_tracking_checked = 'checked';
156
+ } else{
157
+ $updated_tracking_checked = '';
158
+ }
159
+ ?>
160
+ <fieldset>
161
+ <input class="input-text regular-input " type="text" name="wc_ast_status_updated_tracking_label_color" id="wc_ast_status_updated_tracking_label_color" style="" value="<?php echo get_option('wc_ast_status_updated_tracking_label_color')?>" placeholder="">
162
+ <select class="select" id="wc_ast_status_updated_tracking_label_font_color" name="wc_ast_status_updated_tracking_label_font_color">
163
+ <option value="#fff" <?php if(get_option('wc_ast_status_updated_tracking_label_font_color') == '#fff'){ echo 'selected'; }?>><?php _e( 'Light Font', 'woo-advanced-shipment-tracking' ); ?></option>
164
+ <option value="#000" <?php if(get_option('wc_ast_status_updated_tracking_label_font_color') == '#000'){ echo 'selected'; }?>><?php _e( 'Dark Font', 'woo-advanced-shipment-tracking' ); ?></option>
165
+ </select>
166
+ <label class="send_email_label">
167
+ <input type="hidden" name="wcast_enable_updated_tracking_email" value="0"/>
168
+ <input type="checkbox" name="wcast_enable_updated_tracking_email" id="wcast_enable_updated_tracking_email" <?php echo $updated_tracking_checked; ?> value="1"><?php _e( 'Send Email', 'woo-advanced-shipment-tracking' ); ?>
169
+ </label>
170
+ <a class='settings_edit' href="<?php echo wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email'); ?>"><?php _e( 'Edit', 'woocommerce' ) ?></a>
171
+ </fieldset>
172
+ </td>
173
+ </tr>
174
+ </tbody>
175
+ </table>
176
  <table class="form-table">
177
  <tbody>
178
  <tr valign="top">
186
  </td>
187
  </tr>
188
  </tbody>
189
+ </table>
190
+ <p class="description-below-table"><?php echo sprintf(__('<strong>Note:</strong> - If you use the custom order status, when you deactivate the plugin, you must register the order status, otherwise these orders will not display on your orders admin. You can find more information and the code <a href="%s" target="blank">snippet</a> to use in functions.php here.', 'woo-advanced-shipment-tracking'), 'https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/code-snippets/'); ?></p>
191
  </form>
192
  </div>
193
  <?php include 'zorem_admin_sidebar.php';?>
includes/views/admin_options_shipping_provider.php CHANGED
@@ -13,19 +13,20 @@
13
  <a href="javaScript:void(0);" data-status="inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a>
14
  <a href="javaScript:void(0);" data-status="custom"><?php _e( 'Custom', 'woo-advanced-shipment-tracking'); ?></a>
15
  <a href="javaScript:void(0);" data-status="all"><?php _e( 'All', 'woocommerce'); ?></a>
16
- </div>
17
- <div class="provider_settings dropdown">
18
- <span class="dashicons dashicons-admin-generic dropdown_menu"></span>
19
- </div>
20
- <ul class="dropdown-content">
21
- <li><a href="javaScript:void(0);" class="add_custom_provider" id="add-custom"><?php _e( 'Add Custom Provider', 'woo-advanced-shipment-tracking'); ?></a></li>
22
- <li><a href="javaScript:void(0);" class="sync_providers"><?php _e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></a></a></li>
23
- <li><?php _e( 'Reset', 'woo-advanced-shipment-tracking'); ?> <a href="javaScript:void(0);" class="reset_active"><?php _e( 'Active', 'woo-advanced-shipment-tracking'); ?></a> | <a href="javaScript:void(0);" class="reset_inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a></li>
24
- </ul>
25
  <div class="search_section">
26
  <span class="dashicons dashicons-search search-icon"></span>
27
  <input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="<?php _e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
28
  </div>
 
 
 
 
 
 
 
 
29
  </div>
30
  <div class="provider_list">
31
  <?php
@@ -121,10 +122,13 @@
121
  <div>
122
  <input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
123
  </div>
124
- <div>
 
 
 
125
  <input type="hidden" name="action" value="add_custom_shipment_provider">
126
  <input type="submit" name="Submit" value="Submit" class="button-primary btn_ast2 btn_large">
127
- </div>
128
  </form>
129
  </div>
130
  <div class="popupclose"></div>
@@ -155,11 +159,14 @@
155
  <div>
156
  <input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
157
  </div>
158
- <div>
 
 
 
159
  <input type="hidden" name="action" value="update_custom_shipment_provider">
160
  <input type="hidden" name="provider_id" id="provider_id" value="">
161
  <input type="submit" name="Submit" value="Update" class="button-primary btn_ast2 btn_large">
162
- </div>
163
  </form>
164
  </div>
165
  <div class="popupclose"></div>
13
  <a href="javaScript:void(0);" data-status="inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a>
14
  <a href="javaScript:void(0);" data-status="custom"><?php _e( 'Custom', 'woo-advanced-shipment-tracking'); ?></a>
15
  <a href="javaScript:void(0);" data-status="all"><?php _e( 'All', 'woocommerce'); ?></a>
16
+ </div>
17
+
 
 
 
 
 
 
 
18
  <div class="search_section">
19
  <span class="dashicons dashicons-search search-icon"></span>
20
  <input class="provider_search_bar " type="text" name="search_provider" id="search_provider" placeholder="<?php _e( 'Search by provider / country', 'woo-advanced-shipment-tracking'); ?>">
21
  </div>
22
+
23
+ <div class="provider_settings">
24
+ <ul class="provider_settings_ul">
25
+ <li><?php _e( 'Reset all:', 'woo-advanced-shipment-tracking'); ?> <a href="javaScript:void(0);" class="reset_active"><?php _e( 'Active', 'woo-advanced-shipment-tracking'); ?></a> | <a href="javaScript:void(0);" class="reset_inactive"><?php _e( 'Inactive', 'woo-advanced-shipment-tracking'); ?></a></li>
26
+ <li><a href="javaScript:void(0);" class="sync_providers tooltip"><span class="dashicons dashicons-update"></span><span class="tooltiptext tooltip-top"><?php _e( 'Sync Shipping Providers', 'woo-advanced-shipment-tracking'); ?></span></a></li>
27
+ <li><a href="javaScript:void(0);" class="add_custom_provider tooltip" id="add-custom"><span class="dashicons dashicons-plus-alt"></span><span class="tooltiptext tooltip-top"><?php _e( 'Add Custom Provider', 'woo-advanced-shipment-tracking'); ?></span></a></li>
28
+ </ul>
29
+ </div>
30
  </div>
31
  <div class="provider_list">
32
  <?php
122
  <div>
123
  <input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
124
  </div>
125
+ <div class="custom_provider_instruction">
126
+ <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider" target="blank"><?php _e( 'How to add Tracking URL' , 'woo-advanced-shipment-tracking'); ?></a>
127
+ </div>
128
+ <p>
129
  <input type="hidden" name="action" value="add_custom_shipment_provider">
130
  <input type="submit" name="Submit" value="Submit" class="button-primary btn_ast2 btn_large">
131
+ </p>
132
  </form>
133
  </div>
134
  <div class="popupclose"></div>
159
  <div>
160
  <input type="text" name="tracking_url" id="tracking_url" placeholder="Tracking URL">
161
  </div>
162
+ <div class="custom_provider_instruction">
163
+ <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/setting-shipping-providers/#adding-custom-shipping-provider" target="blank"><?php _e( 'How to add Tracking URL' , 'woo-advanced-shipment-tracking'); ?></a>
164
+ </div>
165
+ <p>
166
  <input type="hidden" name="action" value="update_custom_shipment_provider">
167
  <input type="hidden" name="provider_id" id="provider_id" value="">
168
  <input type="submit" name="Submit" value="Update" class="button-primary btn_ast2 btn_large">
169
+ </p>
170
  </form>
171
  </div>
172
  <div class="popupclose"></div>
includes/views/admin_options_tools.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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="tab_inner_container">
10
+ <table class="form-table heading-table">
11
+ <tbody>
12
+ <tr valign="top">
13
+ <td>
14
+ <h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
15
+ </td>
16
+ </tr>
17
+ </tbody>
18
+ </table>
19
+ <table class="form-table">
20
+ <tbody>
21
+ <tr>
22
+ <td>
23
+ <p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
24
+ </td>
25
+ </tr>
26
+ </tbody>
27
+ </table>
28
+ <?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
29
+ </div>
30
+ </div>
31
+ </div>
32
+ <?php include 'zorem_admin_sidebar.php'; ?>
33
+ </section>
includes/views/admin_options_trackship_integration.php CHANGED
@@ -6,10 +6,21 @@
6
  ?>
7
  <section id="content3" class="tab_section">
8
  <div class="d_table" style="">
9
- <div class="tab_inner_container">
10
- <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
11
- <?php
12
- $wc_ast_api_key = get_option('wc_ast_api_key');
 
 
 
 
 
 
 
 
 
 
 
13
 
14
  if($wc_ast_api_key){
15
  $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
@@ -18,242 +29,13 @@
18
  );
19
  $response = wp_remote_post( $url, $args );
20
  $plan_data = json_decode($response['body']);
21
- ?>
22
-
23
- <table class="form-table heading-table">
24
- <tbody>
25
- <tr valign="top">
26
- <td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
27
- </tr>
28
- </tbody>
29
- </table>
30
- <table class="form-table">
31
- <tbody>
32
- <tr valign="top">
33
- <td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
34
- <td class="forminp">
35
- <fieldset>
36
- <a href="https://my.trackship.info/" target="_blank">
37
- <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
38
- </a>
39
- </fieldset>
40
- </td>
41
- </tr>
42
- <tr valign="top">
43
- <td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
44
- <td class="forminp">
45
- <fieldset>
46
- <strong><?php echo get_option('trackers_balance'); ?></strong>
47
- </fieldset>
48
- </td>
49
- </tr>
50
- <tr valign="top">
51
- <td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
52
- <td class="forminp">
53
- <fieldset>
54
- <strong>
55
- <?php
56
- if(isset($plan_data->subscription_plan)){
57
- echo $plan_data->subscription_plan;
58
- }
59
- ?>
60
- </strong>
61
- </fieldset>
62
- </td>
63
- </tr>
64
- <tr valign="top">
65
- <td colspan="2">
66
- <?php _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' ); ?>
67
- </td>
68
- </tr>
69
- <tr valign="top">
70
- <td colspan="2">
71
- <a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
72
- <a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
73
- </td>
74
- </tr>
75
- </tbody>
76
- </table>
77
-
78
- <table class="form-table heading-table">
79
- <tbody>
80
- <tr valign="top">
81
- <td>
82
- <h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
83
- </td>
84
- </tr>
85
- </tbody>
86
- </table>
87
- <?php $this->get_html( $this->get_trackship_general_data() ); ?>
88
- <table class="form-table">
89
- <tbody>
90
- <tr valign="top">
91
- <td class="button-column">
92
- <div class="submit">
93
- <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
94
- <div class="spinner"></div>
95
- <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
96
- <input type="hidden" name="action" value="wc_ast_trackship_form_update">
97
- </div>
98
- </td>
99
- </tr>
100
- </tbody>
101
- </table>
102
-
103
- <table class="form-table heading-table">
104
- <tbody>
105
- <tr valign="top">
106
- <td>
107
- <h3 style=""><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
108
- </td>
109
- </tr>
110
- </tbody>
111
- </table>
112
- <?php $this->get_html( $this->get_trackship_page_data() ); ?>
113
- <table class="form-table">
114
- <tbody>
115
- <tr valign="top">
116
- <td>
117
- <a href="<?php echo get_home_url(); ?>?action=preview_tracking_page" class="tracking-preview-link" target="_blank" style="line-height: 30px;"><?php _e('Click to preview the tracking page', 'woo-advanced-shipment-tracking'); ?></a>
118
- <p class="tracking-preview-desc"><?php _e('PLEASE NOTE - make sure to save your settings before preview.', 'woo-advanced-shipment-tracking'); ?></p>
119
- </td>
120
- </tr>
121
- <tr valign="top">
122
- <td class="button-column">
123
- <div class="submit">
124
- <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
125
- <div class="spinner"></div>
126
- <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
127
- <input type="hidden" name="action" value="wc_ast_trackship_form_update">
128
- </div>
129
- </td>
130
- </tr>
131
- </tbody>
132
- </table>
133
- <?php
134
- if($wc_ast_api_key){
135
- ?>
136
- <?php } ?>
137
- <h3 class="table-heading"><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
138
  <?php
139
- $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
140
- $wcast_enable_pretransit_email = get_theme_mod('wcast_enable_pretransit_email');
141
- $wcast_enable_intransit_email = get_theme_mod('wcast_enable_intransit_email');
142
- $wcast_enable_outfordelivery_email = get_theme_mod('wcast_enable_outfordelivery_email');
143
- $wcast_enable_failure_email = get_theme_mod('wcast_enable_failure_email');
144
- $wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
145
- $wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
146
- $wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
147
- $wc_ast_api_key = get_option('wc_ast_api_key');
148
- //echo '<pre>';print_r($wcast_enable_delivered_email['enabled']);echo '</pre>';
149
- ?>
150
- <section class="ac-container">
151
-
152
- <div class="headig_label <?php if($wcast_enable_intransit_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
153
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/In-Transit-512.png">
154
- <span class="email_status_span">
155
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
156
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_intransit_email">
157
- <input type="checkbox" name="wcast_enable_intransit_email" id="wcast_enable_intransit_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_intransit_email == 1) { echo 'checked'; } ?> />
158
- </label>
159
- </span>
160
- </span>
161
- <a href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('In Transit', 'woo-advanced-shipment-tracking'); ?></a>
162
- <a class="edit_customizer_a" href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
163
- <p class="shipment_about"><?php _e('Carrier has accepted or picked up shipment from shipper. The shipment is on the way.', 'woo-advanced-shipment-tracking'); ?></p>
164
- </div>
165
-
166
- <div class="headig_label <?php if($wcast_enable_returntosender_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
167
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/return-to-sender-512.png">
168
- <span class="email_status_span">
169
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
170
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_returntosender_email">
171
- <input type="checkbox" name="wcast_enable_returntosender_email" id="wcast_enable_returntosender_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_returntosender_email == 1) { echo 'checked'; } ?> />
172
- </label>
173
- </span>
174
- </span>
175
- <a href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Return To Sender', 'woo-advanced-shipment-tracking'); ?></a>
176
- <a class="edit_customizer_a" href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
177
- <p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
178
- </div>
179
-
180
- <div class="headig_label <?php if($wcast_enable_availableforpickup_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
181
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/available-for-picup-512.png">
182
- <span class="email_status_span">
183
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
184
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_availableforpickup_email">
185
- <input type="checkbox" name="wcast_enable_availableforpickup_email" id="wcast_enable_availableforpickup_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_availableforpickup_email == 1) { echo 'checked'; } ?> />
186
- </label>
187
- </span>
188
- </span>
189
- <a href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Available For Pickup', 'woo-advanced-shipment-tracking'); ?></a>
190
- <a class="edit_customizer_a" href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
191
- <p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
192
- </div>
193
- <div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
194
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Out-for-Delivery-512.png">
195
- <span class="email_status_span">
196
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
197
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_outfordelivery_email">
198
- <input type="checkbox" name="wcast_enable_outfordelivery_email" id="wcast_enable_outfordelivery_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_outfordelivery_email == 1) { echo 'checked'; } ?> />
199
- </label>
200
- </span>
201
- </span>
202
- <a href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Out For Delivery', 'woo-advanced-shipment-tracking'); ?></a>
203
- <a class="edit_customizer_a" href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
204
- <p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
205
- </div>
206
-
207
- <div class="delivered_shipment_label headig_label <?php if($wcast_enable_delivered_status_email == 1){ echo 'enable'; } else{ echo 'disable'; }?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'delivered_enabel'; } ?>">
208
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Delivered-512.png">
209
- <span class="email_status_span">
210
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
211
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_delivered_status_email">
212
- <input type="checkbox" name="wcast_enable_delivered_status_email" id="wcast_enable_delivered_status_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_delivered_status_email == 1 && $wcast_enable_delivered_email['enabled'] != 'yes') { echo 'checked'; } ?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled'; }?> />
213
- </label>
214
- </span>
215
- </span>
216
- <a href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>" class="email_heading <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
217
- <a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disabled_link'; }?>" href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
218
- <p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
219
- <p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes'){ echo 'disable_delivered'; }?>"><?php _e("You already have delivered email enabled, to enable this email you'll need to disable the order status delivered in settings.", 'woo-advanced-shipment-tracking'); ?></p>
220
- </div>
221
-
222
- <div class="headig_label <?php if($wcast_enable_failure_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
223
- <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/failure-512.png">
224
- <span class="email_status_span">
225
- <span class="mdl-list__item-secondary-action shipment_status_toggle">
226
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_failure_email">
227
- <input type="checkbox" name="wcast_enable_failure_email" id="wcast_enable_failure_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_failure_email == 1) { echo 'checked'; } ?> />
228
- </label>
229
- </span>
230
- </span>
231
- <a href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Failed Attempt', 'woo-advanced-shipment-tracking'); ?></a>
232
- <a class="edit_customizer_a" href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
233
- <p class="shipment_about"><?php _e('Carrier attempted to deliver but failed, and usually leaves a notice and will try to deliver the package again.', 'woo-advanced-shipment-tracking'); ?></p>
234
- </div>
235
- </section>
236
-
237
- <table class="form-table heading-table">
238
- <tbody>
239
- <tr valign="top">
240
- <td>
241
- <h3 style=""><?php _e( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ); ?></h3>
242
- </td>
243
- </tr>
244
- </tbody>
245
- </table>
246
- <table class="form-table">
247
- <tbody>
248
- <tr>
249
- <td>
250
- <p><?php _e( 'You can send all your orders from the last 30 days to get shipment status from TrackShip:', 'woo-advanced-shipment-tracking' ); ?></p>
251
- </td>
252
- </tr>
253
- </tbody>
254
- </table>
255
- <?php $this->get_html( $this->get_trackship_bulk_actions_data() ); ?>
256
-
257
  <?php } else{ ?>
258
  <div class="section-content trackship_section">
259
  <div class="trackship-upsell-overlay">
@@ -272,7 +54,7 @@
272
  <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
273
  <li>Direct customers to a Tracking page on your store.</li>
274
  </ul>
275
- <div class="text-center"><a href="https://trackship.info/" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
276
  </div>
277
  </div>
278
  </div>
@@ -280,10 +62,5 @@
280
  ?>
281
  </form>
282
  </div>
283
- <?php
284
- if($wc_ast_api_key){
285
- include 'zorem_admin_sidebar.php';
286
- }
287
- ?>
288
  </div>
289
  </section>
6
  ?>
7
  <section id="content3" class="tab_section">
8
  <div class="d_table" style="">
9
+ <div class="tab_inner_container">
10
+ <input id="tab_trackship_dashboard" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="trackship-dashboard" checked>
11
+ <label for="tab_trackship_dashboard" class="inner_tab_label"><?php _e('Dashboard', 'woocommerce'); ?></label>
12
+
13
+ <input id="tab_tracking_page" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="tracking-page" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'tracking-page'){ echo 'checked'; } ?>>
14
+ <label for="tab_tracking_page" class="inner_tab_label tracking_page_label"><?php _e('Tracking Page', 'woo-advanced-shipment-tracking'); ?></label>
15
+
16
+ <input id="tab_status_notifications" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="shipment-status-notifications" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'shipment-status-notifications'){ echo 'checked'; } ?>>
17
+ <label for="tab_status_notifications" class="inner_tab_label"><?php _e('Shipment Status Notifications', 'woo-advanced-shipment-tracking'); ?></label>
18
+
19
+ <input id="tab_tools" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="tools" <?php if(isset($_GET['tab']) && $_GET['tab'] == 'tools'){ echo 'checked'; } ?>>
20
+ <label for="tab_tools" class="inner_tab_label"><?php _e('Tools', 'woo-advanced-shipment-tracking'); ?></label>
21
+
22
+ <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
23
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key');
24
 
25
  if($wc_ast_api_key){
26
  $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
29
  );
30
  $response = wp_remote_post( $url, $args );
31
  $plan_data = json_decode($response['body']);
32
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
33
  <?php
34
+ require_once( 'admin_trackship_dashboard.php' );
35
+ require_once( 'admin_tracking_page_settings.php' );
36
+ require_once( 'admin_status_notifications.php' );
37
+ require_once( 'admin_options_tools.php' );
38
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  <?php } else{ ?>
40
  <div class="section-content trackship_section">
41
  <div class="trackship-upsell-overlay">
54
  <li>Send personalized emails to notify the customer when their shipments are In Transit, Out For Delivery, Delivered or have an exception.</li>
55
  <li>Direct customers to a Tracking page on your store.</li>
56
  </ul>
57
+ <div class="text-center"><a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=tspage" target="_blank" class="button-primary btn_green2 btn_large">SIGNUP NOW</a></div>
58
  </div>
59
  </div>
60
  </div>
62
  ?>
63
  </form>
64
  </div>
 
 
 
 
 
65
  </div>
66
  </section>
includes/views/admin_status_notifications.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section id="content_status_notifications" class="inner_tab_section">
2
+ <div class="tab_inner_container">
3
+ <h3 class="table-heading"><?php _e('Shipment Status Notifications ', 'woo-advanced-shipment-tracking'); ?></h3>
4
+ <?php
5
+ $wcast_enable_delivered_email = get_option('woocommerce_customer_delivered_order_settings');
6
+ $wcast_enable_pretransit_email = get_theme_mod('wcast_enable_pretransit_email');
7
+ $wcast_enable_intransit_email = get_theme_mod('wcast_enable_intransit_email');
8
+ $wcast_enable_outfordelivery_email = get_theme_mod('wcast_enable_outfordelivery_email');
9
+ $wcast_enable_failure_email = get_theme_mod('wcast_enable_failure_email');
10
+ $wcast_enable_delivered_status_email = get_theme_mod('wcast_enable_delivered_status_email');
11
+ $wcast_enable_returntosender_email = get_theme_mod('wcast_enable_returntosender_email');
12
+ $wcast_enable_availableforpickup_email = get_theme_mod('wcast_enable_availableforpickup_email');
13
+ ?>
14
+ <section class="ac-container">
15
+
16
+ <div class="headig_label <?php if($wcast_enable_intransit_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
17
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/In-Transit-512.png">
18
+ <span class="email_status_span">
19
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
20
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_intransit_email">
21
+ <input type="checkbox" name="wcast_enable_intransit_email" id="wcast_enable_intransit_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_intransit_email == 1) { echo 'checked'; } ?> />
22
+ </label>
23
+ </span>
24
+ </span>
25
+ <a href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('In Transit', 'woo-advanced-shipment-tracking'); ?></a>
26
+ <a class="edit_customizer_a" href="<?php echo wcast_intransit_customizer_email::get_customizer_url('customer_intransit_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
27
+ <p class="shipment_about"><?php _e('Carrier has accepted or picked up shipment from shipper. The shipment is on the way.', 'woo-advanced-shipment-tracking'); ?></p>
28
+ </div>
29
+
30
+ <div class="headig_label <?php if($wcast_enable_returntosender_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
31
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/return-to-sender-512.png">
32
+ <span class="email_status_span">
33
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
34
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_returntosender_email">
35
+ <input type="checkbox" name="wcast_enable_returntosender_email" id="wcast_enable_returntosender_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_returntosender_email == 1) { echo 'checked'; } ?> />
36
+ </label>
37
+ </span>
38
+ </span>
39
+ <a href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Return To Sender', 'woo-advanced-shipment-tracking'); ?></a>
40
+ <a class="edit_customizer_a" href="<?php echo wcast_returntosender_customizer_email::get_customizer_url('customer_returntosender_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
41
+ <p class="shipment_about"><?php _e('Shipment is returned to sender', 'woo-advanced-shipment-tracking'); ?></p>
42
+ </div>
43
+
44
+ <div class="headig_label <?php if($wcast_enable_availableforpickup_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
45
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/available-for-picup-512.png">
46
+ <span class="email_status_span">
47
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
48
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_availableforpickup_email">
49
+ <input type="checkbox" name="wcast_enable_availableforpickup_email" id="wcast_enable_availableforpickup_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_availableforpickup_email == 1) { echo 'checked'; } ?> />
50
+ </label>
51
+ </span>
52
+ </span>
53
+ <a href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Available For Pickup', 'woo-advanced-shipment-tracking'); ?></a>
54
+ <a class="edit_customizer_a" href="<?php echo wcast_availableforpickup_customizer_email::get_customizer_url('customer_availableforpickup_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
55
+ <p class="shipment_about"><?php _e('The shipment is ready to pickup.', 'woo-advanced-shipment-tracking'); ?></p>
56
+ </div>
57
+ <div class="headig_label <?php if($wcast_enable_outfordelivery_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
58
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Out-for-Delivery-512.png">
59
+ <span class="email_status_span">
60
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
61
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_outfordelivery_email">
62
+ <input type="checkbox" name="wcast_enable_outfordelivery_email" id="wcast_enable_outfordelivery_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_outfordelivery_email == 1) { echo 'checked'; } ?> />
63
+ </label>
64
+ </span>
65
+ </span>
66
+ <a href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Out For Delivery', 'woo-advanced-shipment-tracking'); ?></a>
67
+ <a class="edit_customizer_a" href="<?php echo wcast_outfordelivery_customizer_email::get_customizer_url('customer_outfordelivery_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
68
+ <p class="shipment_about"><?php _e('Carrier is about to deliver the shipment', 'woo-advanced-shipment-tracking'); ?></p>
69
+ </div>
70
+
71
+ <div class="delivered_shipment_label headig_label <?php if($wcast_enable_delivered_status_email == 1){ echo 'enable'; } else{ echo 'disable'; }?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'delivered_enabel'; } ?>">
72
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/Delivered-512.png">
73
+ <span class="email_status_span">
74
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
75
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_delivered_status_email">
76
+ <input type="checkbox" name="wcast_enable_delivered_status_email" id="wcast_enable_delivered_status_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_delivered_status_email == 1 && $wcast_enable_delivered_email['enabled'] != 'yes') { echo 'checked'; } ?> <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'disabled'; }?> />
77
+ </label>
78
+ </span>
79
+ </span>
80
+ <a href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>" class="email_heading <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'disabled_link'; }?>"><?php _e('Delivered', 'woo-advanced-shipment-tracking'); ?></a>
81
+ <a class="edit_customizer_a <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'disabled_link'; }?>" href="<?php echo wcast_delivered_customizer_email::get_customizer_url('customer_delivered_status_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
82
+ <p class="shipment_about"><?php _e('The shipment was delivered successfully', 'woo-advanced-shipment-tracking'); ?></p>
83
+ <p class="delivered_message <?php if($wcast_enable_delivered_email['enabled'] === 'yes' && get_option('wc_ast_status_delivered') == 1){ echo 'disable_delivered'; }?>"><?php _e("You already have delivered email enabled, to enable this email you'll need to disable the order status delivered in settings.", 'woo-advanced-shipment-tracking'); ?></p>
84
+ </div>
85
+
86
+ <div class="headig_label <?php if($wcast_enable_failure_email == 1){ echo 'enable'; } else{ echo 'disable'; }?>">
87
+ <img class="email-icon" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/css/icons/failure-512.png">
88
+ <span class="email_status_span">
89
+ <span class="mdl-list__item-secondary-action shipment_status_toggle">
90
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wcast_enable_failure_email">
91
+ <input type="checkbox" name="wcast_enable_failure_email" id="wcast_enable_failure_email" class="mdl-switch__input" value="yes" <?php if($wcast_enable_failure_email == 1) { echo 'checked'; } ?> />
92
+ </label>
93
+ </span>
94
+ </span>
95
+ <a href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>" class="email_heading"><?php _e('Failed Attempt', 'woo-advanced-shipment-tracking'); ?></a>
96
+ <a class="edit_customizer_a" href="<?php echo wcast_failure_customizer_email::get_customizer_url('customer_failure_email','shipment-status-notifications') ?>"><?php _e('Edit', 'woocommerce'); ?></a>
97
+ <p class="shipment_about"><?php _e('Carrier attempted to deliver but failed, and usually leaves a notice and will try to deliver the package again.', 'woo-advanced-shipment-tracking'); ?></p>
98
+ </div>
99
+ </section>
100
+ <?php do_action( 'after_shipment_status_email_notifications' ); ?>
101
+ </div>
102
+ <?php include 'zorem_admin_sidebar.php'; ?>
103
+ </section>
includes/views/admin_tracking_page_settings.php ADDED
@@ -0,0 +1,118 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section id="content_tracking_page" class="inner_tab_section">
2
+ <div class="tab_inner_container">
3
+ <table class="form-table heading-table">
4
+ <tbody>
5
+ <tr valign="top">
6
+ <td>
7
+ <h3 style=""><?php _e( 'Tracking Page', 'woo-advanced-shipment-tracking' ); ?></h3>
8
+ </td>
9
+ <td style="width: 40px;">
10
+ <span class="mdl-list__item-secondary-action">
11
+ <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="wc_ast_use_tracking_page">
12
+ <input type="hidden" name="wc_ast_use_tracking_page" value="0"/>
13
+ <input type="checkbox" id="wc_ast_use_tracking_page" name="wc_ast_use_tracking_page" class="mdl-switch__input" <?php if(get_option('wc_ast_use_tracking_page') == 1){ echo 'checked'; } ?> value="1"/>
14
+ </label>
15
+ </span>
16
+ </td>
17
+ </tr>
18
+ </tbody>
19
+ </table>
20
+ <table class="form-table tracking_page_table">
21
+ <tbody>
22
+ <tr valign="top" class="">
23
+ <th scope="row" class="titledesc" style="width: 21%;">
24
+ <label><?php _e( 'Select Tracking Page', 'woo-advanced-shipment-tracking' ); ?></label>
25
+ </th>
26
+ <td>
27
+ <?php $page_list = wp_list_pluck( get_pages(), 'post_title', 'ID' ); ?>
28
+ <select class="select select2" id="wc_ast_trackship_page_id" name="wc_ast_trackship_page_id">
29
+ <?php
30
+ foreach($page_list as $page_id => $page_name){ ?>
31
+ <option <?php if(get_option('wc_ast_trackship_page_id') == $page_id){ echo 'selected'; }?> value="<?php echo $page_id; ?>"><?php echo $page_name; ?></option>
32
+ <?php } ?>
33
+ </select>
34
+ </td>
35
+ </tr>
36
+ <tr valign="top">
37
+ <td class="forminp" colspan="2">
38
+ <fieldset>
39
+ <span class="tracking_page_desc"><?php _e( 'Note - If you select a different page than the Shipment Tracking page, add the [wcast-track-order] shortcode to the selected page content.', 'woo-advanced-shipment-tracking' ); ?> <a href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/integration/" target="blank"><?php _e( 'more info', 'woo-advanced-shipment-tracking' ); ?></a></span>
40
+ </fieldset>
41
+ </td>
42
+ </tr>
43
+ </tbody>
44
+ </table>
45
+ <table class="form-table tracking_page_table tracking-layout-table">
46
+ <tbody>
47
+ <tr valign="top" class="">
48
+ <th scope="row" class="titledesc" style="width: 55%;vertical-align: top;">
49
+ <h3 style="margin: 0"><?php _e( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ); ?></h3>
50
+ <span class="select_t_layout_section">
51
+ <input type="radio" name="wc_ast_select_tracking_page_layout" id="t_layout_1" value="t_layout_1" class="radio-img" <?php if(get_option('wc_ast_select_tracking_page_layout','t_layout_1') == 't_layout_1'){ echo 'checked'; } ?>/>
52
+ <label for="t_layout_1">
53
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/t_layout_1.jpg"/>
54
+ </label>
55
+ </span>
56
+ <span class="select_t_layout_section">
57
+ <input type="radio" name="wc_ast_select_tracking_page_layout" id="t_layout_2" value="t_layout_2" <?php if(get_option('wc_ast_select_tracking_page_layout','t_layout_1') == 't_layout_2'){ echo 'checked'; } ?> class="radio-img" />
58
+ <label for="t_layout_2">
59
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/t_layout_2.jpg"/>
60
+ </label>
61
+ </span>
62
+ </th>
63
+ <td class="forminp" style="padding-top: 40px;">
64
+ <div>
65
+ <label class="tracking_color_label">
66
+ <span style="margin-right: 20px;"><?php _e( 'Text Color', 'woo-advanced-shipment-tracking' ); ?></span>
67
+ <span class="">
68
+ <input class="input-text regular-input" type="text" name="wc_ast_select_primary_color" id="wc_ast_select_primary_color" style="" value="<?php echo get_option('wc_ast_select_primary_color')?>" >
69
+ </span>
70
+ </label></br></br>
71
+ <label class="tracking_color_label">
72
+ <span style="margin-right: 3px;"><?php _e( 'Border Color', 'woo-advanced-shipment-tracking' ); ?></span>
73
+ <span class="">
74
+ <input class="input-text regular-input" type="text" name="wc_ast_select_border_color" id="wc_ast_select_border_color" style="" value="<?php echo get_option('wc_ast_select_border_color')?>" >
75
+ </span>
76
+ </label>
77
+ </div>
78
+ </br>
79
+ <div class="tracking_layout_options_div">
80
+ <label>
81
+ <input type="hidden" name="wc_ast_hide_tracking_provider_image" value="0"/>
82
+ <input type="checkbox" name="wc_ast_hide_tracking_provider_image" value="1" id="wc_ast_hide_tracking_provider_image" <?php if(get_option('wc_ast_hide_tracking_provider_image') == 1){ echo 'checked'; } ?>>
83
+ <?php _e( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ); ?>
84
+ </label>
85
+ <label>
86
+ <input type="hidden" name="wc_ast_hide_tracking_events" value="0"/>
87
+ <input type="checkbox" name="wc_ast_hide_tracking_events" value="1" id="wc_ast_hide_tracking_events" <?php if(get_option('wc_ast_hide_tracking_events') == 1){ echo 'checked'; } ?>>
88
+ <?php _e( 'Hide tracking event details', 'woo-advanced-shipment-tracking' ); ?>
89
+ </label>
90
+ <label>
91
+ <input type="hidden" name="wc_ast_remove_trackship_branding" value="0"/>
92
+ <input type="checkbox" name="wc_ast_remove_trackship_branding" value="1" id="wc_ast_remove_trackship_branding" <?php if(get_option('wc_ast_remove_trackship_branding') == 1){ echo 'checked'; } ?>>
93
+ <?php _e( 'Remove TrackShip branding', 'woo-advanced-shipment-tracking' ); ?>
94
+ </label>
95
+ </div>
96
+ </td>
97
+ </tr>
98
+ <tr valign="top">
99
+ <td class="button-column" colspan="2">
100
+ <div class="submit">
101
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
102
+ <div class="spinner"></div>
103
+ <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
104
+ <input type="hidden" name="action" value="wc_ast_trackship_form_update">
105
+ </div>
106
+ </td>
107
+ </tr>
108
+ <tr valign="top" class="tracking_page_table tracking_preview_tr">
109
+ <td colspan="2">
110
+ <h3 style="margin: 0"><strong><?php _e( 'Preview', 'woo-advanced-shipment-tracking' ); ?></strong></h3>
111
+ <iframe id="tracking_preview_iframe" class="tracking_preview_iframe" src="<?php echo get_home_url(); ?>?action=preview_tracking_page" class="tracking-preview-link"></iframe>
112
+ </td>
113
+ </tr>
114
+ </tbody>
115
+ </table>
116
+ </div>
117
+ <?php include 'zorem_admin_sidebar.php'; ?>
118
+ </section>
includes/views/admin_trackship_dashboard.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <section id="content_trackship_dashboard" class="inner_tab_section">
2
+ <div class="tab_inner_container">
3
+ <table class="form-table heading-table">
4
+ <tbody>
5
+ <tr valign="top">
6
+ <td><h3 style=""><?php _e( 'Connection status', 'woo-advanced-shipment-tracking' ); ?></h3></td>
7
+ </tr>
8
+ </tbody>
9
+ </table>
10
+ <table class="form-table">
11
+ <tbody>
12
+ <tr valign="top">
13
+ <td><label><?php _e( 'TrackShip Connection Status', 'woo-advanced-shipment-tracking' ); ?></label></td>
14
+ <td class="forminp">
15
+ <fieldset>
16
+ <a href="https://my.trackship.info/" target="_blank">
17
+ <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span>
18
+ </a>
19
+ </fieldset>
20
+ </td>
21
+ </tr>
22
+ <tr valign="top">
23
+ <td><label><?php _e( 'Trackers Balance', 'woo-advanced-shipment-tracking' ); ?></label></td>
24
+ <td class="forminp">
25
+ <fieldset>
26
+ <strong><?php echo get_option('trackers_balance'); ?></strong>
27
+ </fieldset>
28
+ </td>
29
+ </tr>
30
+ <tr valign="top">
31
+ <td><label><?php _e( 'Current Plan', 'woo-advanced-shipment-tracking' ); ?></label></td>
32
+ <td class="forminp">
33
+ <fieldset>
34
+ <strong>
35
+ <?php
36
+ if(isset($plan_data->subscription_plan)){
37
+ echo $plan_data->subscription_plan;
38
+ }
39
+ ?>
40
+ </strong>
41
+ </fieldset>
42
+ </td>
43
+ </tr>
44
+ <tr valign="top">
45
+ <td colspan="2">
46
+ <?php _e( 'You are now connected with TrackShip! TrackShip makes it effortless to automate your post shipping operations and get tracking and delivery status updates directly in the WooCommerce admin.', 'woo-advanced-shipment-tracking' ); ?>
47
+ </td>
48
+ </tr>
49
+ <tr valign="top">
50
+ <td colspan="2">
51
+ <a href="https://trackship.info/documentation/" class="" style="margin-right: 10px;" target="blank"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
52
+ <a href="https://my.trackship.info/" class="" target="blank"><?php _e( 'TrackShip Dashboard', 'woo-advanced-shipment-tracking' ); ?></a>
53
+ </td>
54
+ </tr>
55
+ </tbody>
56
+ </table>
57
+
58
+ <table class="form-table heading-table">
59
+ <tbody>
60
+ <tr valign="top">
61
+ <td>
62
+ <h3 style=""><?php _e( 'General Settings', 'woo-advanced-shipment-tracking' ); ?></h3>
63
+ </td>
64
+ </tr>
65
+ </tbody>
66
+ </table>
67
+ <?php $this->get_html( $this->get_trackship_general_data() ); ?>
68
+ <table class="form-table">
69
+ <tbody>
70
+ <tr valign="top">
71
+ <td class="button-column">
72
+ <div class="submit">
73
+ <button name="save" class="button-primary woocommerce-save-button btn_ast2 btn_large" type="submit" value="Save changes"><?php _e( 'Save Changes', 'woo-advanced-shipment-tracking' ); ?></button>
74
+ <div class="spinner"></div>
75
+ <?php wp_nonce_field( 'wc_ast_trackship_form', 'wc_ast_trackship_form' );?>
76
+ <input type="hidden" name="action" value="wc_ast_trackship_form_update">
77
+ </div>
78
+ </td>
79
+ </tr>
80
+ </tbody>
81
+ </table>
82
+ </div>
83
+ <?php include 'zorem_admin_sidebar.php'; ?>
84
+ </section>
includes/views/zorem_admin_sidebar.php CHANGED
@@ -19,37 +19,27 @@
19
  ?>
20
  <div class="ts_launch zorem-sidebar__section">
21
  <h3 style="padding: 12px 15px 7px;"><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 60%;"></h3>
22
- <p>TrackShip supports 100+ carriers and seamlessly integrates with WooCommerce to automate your post shipping operations.</br>
23
  </p>
24
- <a href="https://trackship.info/" class="button button-primary btn_green2 btn_large" target="_blank"><span>Try TrackShip for free!</span><i class="icon-angle-right"></i></a>
25
  </div>
26
  <?php } ?>
27
 
28
  <div class="zorem-sidebar__section">
29
  <h3>More plugins by zorem</h3>
30
  <?php
31
- $plugin_array = array(
32
- array(
33
- 'name' => 'Shop Manager Admin Bar for WooCommerce',
34
- 'url' => 'https://wordpress.org/plugins/woo-shop-manager-admin-bar/',
35
- 'img' => 'woocommerce-shop-manager-admin-bar-thumbnail.jpg',
36
- ),
37
- array(
38
- 'name' => 'Ajax Login/Register for WooCommerce',
39
- 'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
40
- 'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
41
- ),
42
- array(
43
- 'name' => 'Sales Report Email for WooCommerce',
44
- 'url' => 'https://wordpress.org/plugins/woo-advanced-sales-report-email/',
45
- 'img' => 'woocommerce-advanced-sales-report-email-thumbnail.jpg',
46
- ),
47
- );
48
  ?>
49
  <ul>
50
- <?php foreach($plugin_array as $plugin){ ?>
51
- <li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
52
- <?php }?>
53
- </ul>
 
 
 
 
54
  </div>
55
  </div>
19
  ?>
20
  <div class="ts_launch zorem-sidebar__section">
21
  <h3 style="padding: 12px 15px 7px;"><img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" class="sidebar_ts_logo" style="max-width: 60%;"></h3>
22
+ <p>TrackShip supports 100+ carriers and seamlessly integrates with WooCommerce to automate your post shipping operations.</br>
23
  </p>
24
+ <a href="https://trackship.info/?utm_source=wpadmin&utm_campaign=astsidebar" class="button button-primary btn_green2 btn_large" target="_blank"><span>Try TrackShip for free!</span><i class="icon-angle-right"></i></a>
25
  </div>
26
  <?php } ?>
27
 
28
  <div class="zorem-sidebar__section">
29
  <h3>More plugins by zorem</h3>
30
  <?php
31
+ $response = wp_remote_get('https://www.zorem.com/wp-json/pluginlist/v1' );
32
+ if ( is_array( $response ) ) {
33
+ $plugin_list = json_decode($response['body']);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  ?>
35
  <ul>
36
+ <?php foreach($plugin_list as $plugin){
37
+ if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title ) {
38
+ ?>
39
+ <li><img class="plugin_thumbnail" src="<?php echo $plugin->image_url; ?>"><a class="plugin_url" href="<?php echo $plugin->url; ?>" target="_blank"><?php echo $plugin->title; ?></a></li>
40
+ <?php }
41
+ }?>
42
+ </ul>
43
+ <?php } ?>
44
  </div>
45
  </div>
includes/views/zorem_admin_ts_sidebar.php CHANGED
@@ -15,23 +15,18 @@
15
  <div class="zorem-sidebar__section">
16
  <h3>More plugins by zorem</h3>
17
  <?php
18
- $plugin_array = array(
19
- array(
20
- 'name' => 'Shop Manager Admin Bar for WooCommerce',
21
- 'url' => 'https://wordpress.org/plugins/woo-shop-manager-admin-bar/',
22
- 'img' => 'woocommerce-shop-manager-admin-bar-thumbnail.jpg',
23
- ),
24
- array(
25
- 'name' => 'Ajax Login/Register for WooCommerce',
26
- 'url' => 'https://wordpress.org/plugins/woo-ajax-loginregister/',
27
- 'img' => 'WooCommerce-Ajax-Login-Register-thumbnail.jpg',
28
- ),
29
- );
30
  ?>
31
  <ul>
32
- <?php foreach($plugin_array as $plugin){ ?>
33
- <li><img class="plugin_thumbnail" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/<?php echo $plugin['img']?>"><a class="plugin_url" href="<?php echo $plugin['url']?>" target="_blank"><?php echo $plugin['name']?></a></li>
34
- <?php }?>
35
- </ul>
 
 
 
 
36
  </div>
37
  </div>
15
  <div class="zorem-sidebar__section">
16
  <h3>More plugins by zorem</h3>
17
  <?php
18
+ $response = wp_remote_get('https://www.zorem.com/wp-json/pluginlist/v1' );
19
+ if ( is_array( $response ) ) {
20
+ $plugin_list = json_decode($response['body']);
 
 
 
 
 
 
 
 
 
21
  ?>
22
  <ul>
23
+ <?php foreach($plugin_list as $plugin){
24
+ if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title ) {
25
+ ?>
26
+ <li><img class="plugin_thumbnail" src="<?php echo $plugin->image_url; ?>"><a class="plugin_url" href="<?php echo $plugin->url; ?>" target="_blank"><?php echo $plugin->title; ?></a></li>
27
+ <?php }
28
+ }?>
29
+ </ul>
30
+ <?php } ?>
31
  </div>
32
  </div>
lang/woo-advanced-shipment-tracking-bg_BG.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-bg_BG.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:42+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:44+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Bulgarian\n"
9
  "Language: bg_BG\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ 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.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,13 +23,13 @@ msgstr ""
23
  "Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
24
  "проследяване на пратки в WooCommerce!"
25
 
26
- #. Name of the plugin
27
- #: woocommerce-advanced-shipment-tracking.php:389
28
- msgid "Advanced Shipment Tracking for WooCommerce"
29
- msgstr ""
30
 
31
- #: woocommerce-advanced-shipment-tracking.php:390
32
- #: includes/views/admin_options_settings.php:21
33
  #, php-format
34
  msgid ""
35
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -39,489 +39,411 @@ msgid ""
39
  "php here or you can manually change all your \"delivered\" order to "
40
  "\"completed\" before deactivating the plugin."
41
  msgstr ""
 
 
 
 
 
 
 
42
 
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
44
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
45
- msgid "Shipped"
46
- msgstr "Доставят"
47
-
48
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
49
- #, php-format
50
- msgid "Shipped <span class=\"count\">(%s)</span>"
51
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
52
- msgstr[0] "Доставя се <span class = \"count\"> (% s) </span>"
53
- msgstr[1] "Доставя се <span class = \"count\"> (% s) </span>"
54
-
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
56
- msgid "Change status to shipped"
57
- msgstr "Промяна на състоянието на Изпратена"
58
-
59
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
60
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
61
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
62
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
63
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
64
- #: includes/customizer/class-wcast-customizer.php:104
65
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
66
- #: includes/views/admin_options_trackship_integration.php:134
67
- msgid "Delivered"
68
- msgstr "Доставени"
69
-
70
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
71
- #, php-format
72
- msgid "Delivered <span class=\"count\">(%s)</span>"
73
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
74
- msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
75
- msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
78
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
79
- msgid "Updated Tracking"
80
- msgstr "Актуализирано проследяване"
81
-
82
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
83
- #, php-format
84
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
85
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
86
- msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
87
- msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
88
-
89
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
90
- msgid "Change status to delivered"
91
- msgstr "Промяна на състоянието на Доставена"
92
-
93
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
94
  msgid "Shipment status"
95
- msgstr "Състояние на превоза"
96
 
97
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
98
  msgid ""
99
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
100
  "100 orders."
101
  msgstr ""
 
 
102
 
103
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
104
- msgid "Order"
105
- msgstr "Поръчка"
106
-
107
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
108
- msgid "Item"
109
- msgstr "Вещ"
110
-
111
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
112
- msgid "Line Item"
113
- msgstr "Договорена покупка"
114
-
115
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
116
- msgid "Class"
117
- msgstr "клас"
118
-
119
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
120
- msgid "Delete the selected rates?"
121
- msgstr "Изтриване на избраните цени?"
122
-
123
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
124
- msgid "Duplicate the selected rates?"
125
- msgstr "Дали дублира избраните цени?"
126
-
127
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
128
- msgid "Really want to bulk change all provider status?"
129
- msgstr "Наистина ли искате да промените групово целия статус на доставчика?"
130
-
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
132
- #: includes/views/admin_options_settings.php:26
133
  msgid "Data saved successfully."
134
  msgstr "Данните са запазени успешно."
135
 
136
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
137
  msgid "Really delete this entry? This will not be undo."
138
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
139
 
140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
141
  msgid "You can upload only csv file."
142
  msgstr "Можете да качите само csv файл."
143
 
144
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
145
  msgid "This browser does not support HTML5."
146
  msgstr "Този браузър не поддържа HTML5."
147
 
148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
149
  msgid "Please upload a valid CSV file."
150
  msgstr "Моля, качете валиден CSV файл."
151
 
152
- #: includes/class-wc-advanced-shipment-tracking-admin.php:731
153
- #: includes/class-wc-advanced-shipment-tracking-install.php:1587
154
- msgid "Advanced Shipment Tracking"
155
- msgstr ""
156
-
157
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
158
  msgid "Shipping Providers"
159
  msgstr "Доставка доставчици"
160
 
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
162
- msgid "Settings"
163
- msgstr "Настройки"
164
-
165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
166
  msgid "Bulk Upload"
167
- msgstr "Масово качване"
168
 
169
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
170
- msgid "TrackShip"
171
- msgstr ""
172
 
173
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
174
  msgid "Connected"
175
  msgstr ""
176
  "свързан\n"
177
 
178
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
179
- msgid ""
180
- "Auto-track all your shipments, get real-time shipment tracking updates "
181
- "without leaving your stores admin."
182
- msgstr ""
183
- "Автоматично проследявайте всичките си пратки, получавайте актуализации за "
184
- "проследяване на пратки в реално време, без да оставяте администраторите на "
185
- "магазините си.\n"
186
-
187
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
188
  #, php-format
189
- msgid ""
190
- "You must have account and connect your store to %s in order to activate "
191
- "these advanced features."
192
- msgstr ""
193
- "Трябва да имате профил и да свържете магазина си с% s, за да активирате тези "
194
- "разширени функции.\n"
 
 
 
 
195
 
196
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
197
  #, php-format
198
- msgid "50 free Trackers for every new account! Get your %s account now>>"
199
- msgstr ""
200
- "50 безплатни Trackers за всеки нов акаунт! Вземете профила си от% s сега >>\n"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
203
- msgid "TrackShip Connection Status"
204
- msgstr "Състояние на връзката към TrackShip"
 
205
 
206
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
207
- #: includes/emails/class-shipment-delivered-email.php:226
208
  msgid "Enable/Disable"
209
  msgstr "Включване / Изключване"
210
 
211
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
212
  msgid "Set order status Delivered when order is delivered"
213
- msgstr "Задаване на статус на поръчката Доставено при доставка"
214
 
215
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
216
- #, php-format
217
- msgid ""
218
- "You have %s %s orders that you can track with TrackShip, you can send these "
219
- "shipments to TrackShip in Bulk."
220
- msgstr ""
221
-
222
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
223
- msgid "Get Shipment Status"
224
- msgstr ""
225
-
226
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
227
  msgid ""
228
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
229
  "for the tracking page to work."
230
  msgstr ""
 
 
231
 
232
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
233
  msgid "Select Tracking Page"
234
- msgstr ""
235
- "Изберете Страница за проследяване\n"
236
-
237
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
238
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
239
- msgid "Remove Trackship branding from tracking page"
240
- msgstr ""
241
- "Премахване на марката „Следи“ от страницата за проследяване\n"
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
244
  msgid "Use the tracking page in the customer email/my account tracking link"
245
  msgstr ""
246
- "Използвайте страницата за проследяване в имейла на клиента / връзката за "
247
- "проследяване на профила ми\n"
248
 
249
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
250
  msgid "Select primary color for tracking page"
251
- msgstr ""
252
- "Изберете основния цвят за страницата за проследяване\n"
253
 
254
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
255
  msgid "Select content border color for tracking page"
256
- msgstr ""
257
- "Изберете цвят на границата на съдържанието за проследяващата страница\n"
258
 
259
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
260
- msgid ""
261
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
262
- "state"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
263
  msgstr ""
 
 
264
 
265
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
266
  msgid ""
267
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
268
  "will be selected by default when adding tracking info to orders."
269
  msgstr ""
 
 
 
270
 
271
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
272
- msgid "Completed"
273
- msgstr "завършен"
274
-
275
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
276
- msgid ""
277
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
278
- "state"
279
  msgstr ""
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
282
  msgid ""
283
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
284
  "will be selected by default when adding tracking info to orders."
285
  msgstr ""
 
 
 
286
 
287
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
288
  msgid "Rename the “Completed” Order status to “Shipped”"
289
- msgstr "Преименувайте статуса на „Завършено“ на „Доставено“"
290
 
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
292
- msgid "On which customer order status email to include tracking info?"
293
  msgstr ""
294
- "Кой имейл за състоянието на поръчката на клиента да включва информация за "
295
- "проследяване?"
296
-
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
299
- msgid "Cancelled"
300
- msgstr "Отменен"
301
-
302
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
303
- msgid "Customer Invoice"
304
- msgstr "Фактура за клиенти"
305
-
306
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
307
- msgid "Refunded"
308
- msgstr "Възстановени"
309
-
310
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
311
- msgid "Processing"
312
- msgstr "обработване"
313
-
314
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
315
- msgid "Failed"
316
- msgstr "Се провали"
317
 
318
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
319
  msgid "Show tracking info in Invoice"
320
  msgstr "Показване на информация за проследяване във фактура"
321
 
322
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
323
  msgid "Show tracking info in Packing Slip"
324
  msgstr "Показване на информация за проследяване в опаковъчен лист"
325
 
326
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
327
- msgid "Enable a New Custom order status - “Delivered"
328
- msgstr ""
329
- "Активиране на ново състояние на персонализираната поръчка - „Доставено“"
330
 
331
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
332
  msgid ""
333
  "if you enable the delivered item, you will have the option to send delivered "
334
  "email notifications."
335
  msgstr ""
336
- "ако активирате доставения елемент, ще имате възможност да изпращате "
337
- "изпратени известия по имейл."
338
 
339
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
340
- msgid "Delivered Status Label color"
341
- msgstr "Цвят на етикета за състоянието"
342
 
343
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
344
- #: includes/customizer/class-wcast-customizer.php:58
345
- #: includes/customizer/class-wc-email-customizer.php:155
346
- msgid "Delivered order status email"
347
- msgstr "Предоставен е имейл за състоянието на поръчката"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
 
349
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
350
- #: includes/views/admin_options_trackship_integration.php:80
351
- #: includes/views/admin_options_trackship_integration.php:94
352
- #: includes/views/admin_options_trackship_integration.php:108
353
- #: includes/views/admin_options_trackship_integration.php:121
354
- #: includes/views/admin_options_trackship_integration.php:135
355
- #: includes/views/admin_options_trackship_integration.php:150
356
- msgid "Edit"
357
- msgstr "редактиране"
358
-
359
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
360
  msgid ""
361
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
362
- "plugin"
363
  msgstr ""
364
- "Когато деактивирате плъгина, променете поръчките „Доставено“ до „Изпълнено“"
 
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
367
- msgid "No, I will use the snippet"
368
- msgstr "Не, ще използвам фрагмента"
369
 
370
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
371
- msgid "Yes, change all Delivered orders to Completed"
372
- msgstr "Да, променете всички поръчки за Доставката до Завършени"
373
 
374
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
375
- #, php-format
376
- msgid ""
377
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
378
- "deactivate the plugin, you must register this order status in function.php "
379
- "in order to see these orders in the orders admin. You can find the snippet "
380
- "to use in functions.php %s or we can set to change all your \"delivered\" "
381
- "order to \"completed\"."
382
- msgstr ""
383
- "ВНИМАНИЕ - Ако използвате състоянието на поръчката \"Доставено\", когато "
384
- "деактивирате плъгина, трябва да регистрирате състоянието на поръчката в "
385
- "function.php, за да видите тези поръчки в администраторите на поръчките. "
386
- "Можете да намерите фрагмента, който да използвате в functions.php% s или "
387
- "можем да настроим да променим цялата си \"доставена\" поръчка на "
388
- "\"завършена\"."
389
-
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
391
- msgid "Get shipment status"
392
- msgstr "Получете статус на пратката"
393
-
394
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
395
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
396
- #: includes/customizer/class-wcast-customizer.php:74
397
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
398
- #: includes/views/admin_options_trackship_integration.php:79
399
  msgid "In Transit"
400
  msgstr "Транзитно"
401
 
402
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
403
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
404
- #: includes/customizer/class-wcast-customizer.php:66
405
  msgid "Pre Transit"
406
  msgstr "Предварително преминаване"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
409
- msgid "Out for delivery"
410
- msgstr "За доставка"
 
 
 
 
 
 
 
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
413
- #: includes/customizer/class-wcast-customizer.php:89
414
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
415
- #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
 
 
 
 
 
416
  msgid "Available For Pickup"
417
  msgstr "Предлага се за пикап"
418
 
419
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
421
- #: includes/customizer/class-wcast-customizer.php:82
422
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
423
- #: includes/views/admin_options_trackship_integration.php:93
424
  msgid "Return To Sender"
425
  msgstr "Върнете се към подателя"
426
 
427
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
428
- msgid "Delivery Failure"
429
- msgstr ""
430
- "Неизпълнение на доставката\n"
 
 
 
431
 
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
433
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
434
  msgid "Unknown"
435
- msgstr ""
436
- "неизвестен\n"
437
 
438
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
439
  msgid "Pending TrackShip"
440
- msgstr ""
441
- "В очакване на TrackShip\n"
442
 
443
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
444
- msgid "Invalid Tracking"
445
- msgstr ""
446
- "Невалидно проследяване\n"
447
 
448
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
449
- msgid "Carrier unsupported"
450
- msgstr "Превозвачът не се поддържа"
 
451
 
452
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
453
  msgid "Invalid User Key"
454
- msgstr ""
455
 
456
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
457
- msgid "Resend delivered order notification"
458
- msgstr "Изпратете отново известието за доставената поръчка"
459
 
460
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
461
  msgid "Shipped Order"
462
- msgstr "Доставка на поръчка"
463
 
464
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
465
  msgid "Mark order as delivered"
466
  msgstr "Маркирайте поръчката като доставена"
467
 
468
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
469
  msgid "Add Tracking"
470
- msgstr ""
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
473
  msgid "Change order status to"
474
  msgstr "Промяна на състоянието на поръчката на"
475
 
476
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
477
- #: includes/views/admin_options_shipping_provider.php:88
478
  #, php-format
479
  msgid "You don't have any %s shipping providers."
480
  msgstr "Нямате доставчици за доставки на% s."
481
 
482
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
483
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
 
 
 
 
485
  msgid "view details"
486
  msgstr "Разгледайте детайлите"
487
 
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
489
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
490
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
491
  msgid "hide details"
492
  msgstr "скрий подробности"
493
 
494
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
495
- msgid "Available for Pickup"
496
- msgstr ""
497
-
498
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
499
- msgid "Out for Delivery"
500
- msgstr ""
501
-
502
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
503
- #: includes/customizer/class-wcast-customizer.php:112
504
- #: includes/customizer/class-wc-failure-email-customizer.php:113
505
- #: includes/views/admin_options_trackship_integration.php:149
506
- msgid "Failed Attempt"
507
- msgstr "Неуспешен опит"
508
-
509
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
510
- msgid "Carrier Unsupported"
511
- msgstr ""
512
-
513
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
514
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
515
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
516
- msgid "Invalid Tracking Number"
517
- msgstr ""
518
- "Невалиден номер за проследяване\n"
519
-
520
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
521
  msgid "Filter by shipment status"
522
- msgstr ""
523
 
524
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
525
  msgid ""
526
  "To track your order please enter your Order ID in the box below and press "
527
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -531,189 +453,335 @@ msgstr ""
531
  "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
532
  "в имейла за потвърждение, който трябваше да получите.\n"
533
 
534
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
535
- msgid "Order ID"
536
- msgstr ""
537
- "ID на поръчката\n"
538
-
539
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
540
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
541
  msgid "Found in your order confirmation email."
542
  msgstr ""
543
  "Намерен в имейла за потвърждение на поръчката.\n"
544
 
545
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
546
  msgid "Order Email"
547
  msgstr ""
548
  "Имейл за поръчка\n"
549
 
550
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
551
- #: includes/class-wc-advanced-shipment-tracking.php:260
552
- #: includes/class-wc-advanced-shipment-tracking.php:637
553
- #: includes/class-wc-advanced-shipment-tracking.php:763
554
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
555
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
556
- #: includes/views/html-tracking-info-design-preview.php:69
557
- #: templates/emails/tracking-info.php:152
558
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
559
  msgid "Track"
560
  msgstr "път"
561
 
562
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
563
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
564
  #, php-format
565
  msgid "Shipment - %s (out of %s)"
566
  msgstr ""
567
  "Пратка -% s (от% s)\n"
568
 
569
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
570
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
571
- msgid "Order: "
572
- msgstr "Поръчка:"
573
-
574
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
575
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
578
  msgid "Estimated Delivery Date: "
579
  msgstr "Очаквана дата за доставка:"
580
 
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
582
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
 
583
  msgid "Tracking Details"
584
  msgstr "Детайли за проследяване"
585
 
586
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
587
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
588
  msgid "view more"
589
  msgstr "Виж повече"
590
 
591
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
592
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
593
  msgid "view less"
594
  msgstr "вижте по-малко"
595
 
596
- #. esc_html__( '%1$s %2$s.' ),
597
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
598
- #, php-format
599
- msgid ""
600
- "We added many improvements to %1$s, please help and give us a review :) "
601
- "Thanks!"
602
- msgstr ""
603
- "Добавихме много подобрения към% 1 $ s, моля, помогнете и ни дайте преглед :) "
604
- "Благодаря!"
605
 
606
- #: includes/class-wc-advanced-shipment-tracking.php:93
607
- #: includes/class-wc-advanced-shipment-tracking.php:244
608
- #: includes/customizer/class-wcast-customizer.php:30
609
  msgid "Shipment Tracking"
610
  msgstr "Проследяване на пратките"
611
 
612
- #: includes/class-wc-advanced-shipment-tracking.php:179
613
- #: includes/class-wc-advanced-shipment-tracking.php:351
614
- msgid "Change order to Shipped?"
615
- msgstr ""
 
616
 
617
- #: includes/class-wc-advanced-shipment-tracking.php:181
618
- #: includes/class-wc-advanced-shipment-tracking.php:353
619
- msgid "Change order to Completed?"
620
- msgstr ""
 
621
 
622
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
 
 
 
 
 
623
  msgid "Add Tracking Number"
624
- msgstr ""
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:191
627
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
628
  msgid "Provider:"
629
  msgstr "доставчик на:"
630
 
631
- #: includes/class-wc-advanced-shipment-tracking.php:211
632
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
633
  msgid "Tracking number:"
634
  msgstr "Номер за проследяване:"
635
 
636
- #: includes/class-wc-advanced-shipment-tracking.php:217
637
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
638
  msgid "Date shipped:"
639
  msgstr "Дата на изпращане:"
640
 
641
- #: includes/class-wc-advanced-shipment-tracking.php:218
642
- #: includes/class-wc-advanced-shipment-tracking.php:221
643
- #: includes/class-wc-advanced-shipment-tracking.php:416
644
- #: includes/class-wc-advanced-shipment-tracking.php:419
 
645
  msgid "Y-m-d"
646
  msgstr ""
647
 
648
- #: includes/class-wc-advanced-shipment-tracking.php:260
649
- #: templates/pip/tracking-info.php:23
650
- msgid "Click here to track your shipment"
651
- msgstr "Кликнете тук, за да проследите пратката си"
 
 
 
 
 
 
 
 
 
 
 
 
652
 
653
  #. 1: shipping date
654
- #: includes/class-wc-advanced-shipment-tracking.php:268
655
- #: templates/pip/tracking-info.php:29
656
  #, php-format
657
  msgid "Shipped on %s"
658
  msgstr "Изпратено на% s"
659
 
660
- #: includes/class-wc-advanced-shipment-tracking.php:269
661
- msgid "Delete"
662
- msgstr "Изтрий"
663
-
664
- #: includes/class-wc-advanced-shipment-tracking.php:365
665
  msgid "Add Tracking Info"
666
  msgstr "Добавяне на информация за проследяване"
667
 
668
- #: includes/class-wc-advanced-shipment-tracking.php:370
669
  msgid "Select Provider"
670
  msgstr "Изберете Доставчик"
671
 
672
- #: includes/class-wc-advanced-shipment-tracking.php:430
673
  msgid "Save Tracking"
674
  msgstr "Запазване на проследяването"
675
 
676
- #: includes/class-wc-advanced-shipment-tracking.php:431
677
  msgid "Preview:"
678
  msgstr "Преглед:"
679
 
680
- #: includes/class-wc-advanced-shipment-tracking.php:431
681
- msgid "Click here to track shipment"
682
- msgstr "Кликнете тук, за да проследите пратката"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
683
 
684
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
685
  msgid "Shipment Status Emails"
686
  msgstr "Имейли за състоянието на пратката"
687
 
688
- #: includes/customizer/class-wcast-customizer.php:50
689
  msgid "Tracking info display"
690
  msgstr ""
691
  "Показване на информация за проследяване\n"
692
 
693
- #: includes/customizer/class-wcast-customizer.php:51
694
- msgid "This section lets you customize the Tracking Info display design."
695
- msgstr ""
696
- "Този раздел ви позволява да персонализирате дизайна на дисплея с информация "
697
- "за проследяване."
698
 
699
- #: includes/customizer/class-wcast-customizer.php:96
700
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
701
- #: includes/views/admin_options_trackship_integration.php:120
702
- msgid "Out For Delivery"
703
- msgstr ""
704
- "За доставка\n"
705
 
706
- #: includes/customizer/class-wcast-customizer.php:352
707
  msgid "Select order to preview"
708
  msgstr ""
709
  "Изберете поръчка за визуализация\n"
710
 
711
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
712
  msgid "Your order #{order_number} is available for pickup"
713
  msgstr ""
714
  "Вашата поръчка # {order_number} е достъпна за приемане\n"
715
 
716
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
717
  msgid ""
718
  "Hi there. we thought you'd like to know that your recent order from "
719
  "{site_title} is available for pickup."
@@ -721,225 +789,173 @@ msgstr ""
721
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
722
  "{site_title} е достъпна за приемане."
723
 
724
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
725
  msgid "Available For Pickup shipment status email"
726
  msgstr ""
727
  "Наличен за статус на пратка за доставка\n"
728
 
729
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
730
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
731
- #: includes/customizer/class-wc-email-customizer.php:156
732
- #: includes/customizer/class-wc-failure-email-customizer.php:145
733
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
734
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
735
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
736
  msgid "This section lets you customize the Email Content."
737
  msgstr ""
738
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
739
  "поща."
740
 
741
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
742
  msgid "Enable Available For Pickup shipment status email"
743
  msgstr ""
744
  "Активиране на имейла за статуса на пратката на разположение за получаване"
745
 
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
748
- #: includes/customizer/class-wc-email-customizer.php:189
749
- #: includes/customizer/class-wc-failure-email-customizer.php:175
750
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
751
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
752
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
753
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
754
  msgid "Preview order"
755
  msgstr ""
756
  "Преглед на поръчката\n"
757
 
758
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
759
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
760
- #: includes/customizer/class-wc-failure-email-customizer.php:196
761
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
762
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
763
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
764
- msgid "To"
765
- msgstr "Да се"
766
-
767
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
768
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
769
- #: includes/customizer/class-wc-failure-email-customizer.php:197
770
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
771
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
772
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
773
- msgid ""
774
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
775
- "can be separated by commas."
776
- msgstr ""
777
- "Въведете имейли тук или използвайте променливи като {customer_email}. "
778
- "Няколко имейла могат да бъдат разделени със запетаи."
779
-
780
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
781
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
782
- #: includes/customizer/class-wc-email-customizer.php:218
783
- #: includes/customizer/class-wc-failure-email-customizer.php:203
784
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
785
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
786
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
787
  msgid "E.g. {customer.email}, admin@example.org"
788
  msgstr "E.g. {customer.email}, admin@example.org"
789
 
790
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
791
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
792
- #: includes/customizer/class-wc-email-customizer.php:234
793
- #: includes/customizer/class-wc-failure-email-customizer.php:218
794
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
795
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
796
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
797
- msgid "Email subject"
798
- msgstr "Тема по имейл"
799
-
800
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
801
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
802
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
803
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
804
- #: includes/customizer/class-wc-failure-email-customizer.php:219
805
- #: includes/customizer/class-wc-failure-email-customizer.php:241
806
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
807
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
808
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
809
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
810
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
811
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
812
  msgid "Available placeholders: {site_title}, {order_number}"
813
  msgstr "Налични резерви: {site_title}, {order_number}"
814
 
815
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
816
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
817
- #: includes/customizer/class-wc-email-customizer.php:241
818
- #: includes/customizer/class-wc-failure-email-customizer.php:225
819
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
820
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
821
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
822
- msgid "Please enter email subject here"
823
- msgstr "Моля, въведете тук имейл"
824
-
825
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
826
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
827
- #: includes/customizer/class-wc-email-customizer.php:257
828
- #: includes/customizer/class-wc-failure-email-customizer.php:240
829
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
830
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
831
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
832
- #: includes/emails/class-shipment-delivered-email.php:250
833
- msgid "Email heading"
834
- msgstr "Заглавие на имейла"
835
-
836
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
837
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
838
- #: includes/customizer/class-wc-email-customizer.php:264
839
- #: includes/customizer/class-wc-failure-email-customizer.php:247
840
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
841
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
842
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
843
- msgid "Please enter email heading here"
844
- msgstr "Моля, въведете имейл адреса тук"
845
-
846
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
847
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
848
- #: includes/customizer/class-wc-failure-email-customizer.php:262
849
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
850
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
851
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
852
  msgid "Show tracking details"
853
  msgstr ""
854
  "Показване на подробности за проследяването\n"
855
 
856
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
857
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
858
- #: includes/customizer/class-wc-failure-email-customizer.php:278
859
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
860
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
861
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
862
  msgid "Show order details"
863
  msgstr ""
864
  "Показване на подробности за поръчката\n"
865
 
866
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
867
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
868
- #: includes/customizer/class-wc-failure-email-customizer.php:294
869
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
870
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
871
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
872
  msgid "Show billing address"
873
  msgstr ""
874
  "Показване на адрес за фактуриране\n"
875
 
876
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
877
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
878
- #: includes/customizer/class-wc-failure-email-customizer.php:311
879
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
880
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
881
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
882
  msgid "Show shipping address"
883
  msgstr ""
884
  "Показване на адреса за доставка\n"
885
 
886
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
887
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
888
- #: includes/customizer/class-wc-email-customizer.php:384
889
- #: includes/customizer/class-wc-failure-email-customizer.php:327
890
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
891
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
892
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
893
  msgid "Google Analytics link tracking"
894
- msgstr ""
895
-
896
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
897
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
898
- #: includes/customizer/class-wc-failure-email-customizer.php:328
899
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
900
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
901
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
902
  msgid "This will be appended to URL in the email content"
903
- msgstr ""
904
-
905
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
906
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
907
- #: includes/customizer/class-wc-email-customizer.php:280
908
- #: includes/customizer/class-wc-failure-email-customizer.php:349
909
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
910
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
911
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
912
  msgid "Email content"
913
  msgstr "Съдържание на имейла"
914
 
915
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
916
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
917
- #: includes/customizer/class-wc-email-customizer.php:405
918
- #: includes/customizer/class-wc-failure-email-customizer.php:369
919
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
920
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
921
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
 
922
  msgid "Available placeholders"
923
  msgstr ""
924
  "Налични места\n"
925
 
926
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
927
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
928
- #: includes/customizer/class-wc-email-customizer.php:437
929
- #: includes/customizer/class-wc-failure-email-customizer.php:412
930
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
931
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
932
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
933
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
934
- msgid "Please select preview order."
935
- msgstr ""
936
- "Моля, изберете поръчка за предварителен преглед.\n"
937
-
938
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
 
 
 
 
 
 
939
  msgid "Your order #{order_number} has been delivered"
940
- msgstr ""
941
 
942
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
943
  msgid ""
944
  "Hi there. we thought you'd like to know that your recent order from "
945
  "{site_title} has been Delivered."
@@ -947,92 +963,79 @@ msgstr ""
947
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
948
  "{site_title} е била Доставена."
949
 
950
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
951
  msgid "Delivered shipment status email"
952
  msgstr "Предоставен е имейл за състоянието на пратката"
953
 
954
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
955
  msgid "Enable Delivered shipment status email"
956
  msgstr "Активиране на имейла за състоянието на доставената пратка"
957
 
958
- #: includes/customizer/class-wc-email-customizer.php:122
959
- #: includes/emails/class-shipment-delivered-email.php:92
960
  msgid "Your {site_title} order is now delivered"
961
  msgstr "Поръчката ви {site_title} вече е доставена"
962
 
963
- #: includes/customizer/class-wc-email-customizer.php:123
964
- #: includes/emails/class-shipment-delivered-email.php:102
965
- msgid "Thanks for shopping with us"
966
- msgstr ""
967
- "Благодаря, че пазарувате с нас\n"
968
-
969
- #: includes/customizer/class-wc-email-customizer.php:124
970
- msgid "Hi there. Your recent order on {site_title} has been delivered."
971
- msgstr ""
972
- "Здрасти. Вашата скорошна поръчка на {site_title} е доставена.\n"
973
-
974
- #: includes/customizer/class-wc-email-customizer.php:171
975
  msgid "Enable Delivered order status email"
976
  msgstr "Активиране на имейл съобщението за състоянието на поръчката"
977
 
978
- #: includes/customizer/class-wc-email-customizer.php:193
979
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
980
  msgid "Please select a order..."
981
  msgstr ""
982
  "Моля, изберете поръчка ...\n"
983
 
984
- #: includes/customizer/class-wc-email-customizer.php:211
985
- msgid "Receipts"
986
- msgstr ""
987
-
988
- #: includes/customizer/class-wc-email-customizer.php:212
989
- msgid ""
990
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
991
- "separated by commas."
992
- msgstr ""
993
-
994
- #: includes/customizer/class-wc-email-customizer.php:235
995
- #: includes/customizer/class-wc-email-customizer.php:258
996
  msgid "Available variables: {site_title}, {order_number}"
997
- msgstr ""
998
 
999
- #: includes/customizer/class-wc-email-customizer.php:281
 
1000
  msgid ""
1001
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1002
  "{customer_last_name}, {customer_username}, {order_number}"
1003
  msgstr ""
 
 
1004
 
1005
- #: includes/customizer/class-wc-email-customizer.php:300
1006
  msgid "Display tracking details"
1007
- msgstr ""
1008
 
1009
- #: includes/customizer/class-wc-email-customizer.php:316
1010
  msgid "Display order details"
1011
- msgstr ""
1012
 
1013
- #: includes/customizer/class-wc-email-customizer.php:333
1014
  msgid "Display Shipping Address"
1015
- msgstr ""
1016
 
1017
- #: includes/customizer/class-wc-email-customizer.php:350
1018
  msgid "Display Billing Address"
1019
- msgstr ""
1020
 
1021
- #: includes/customizer/class-wc-email-customizer.php:367
1022
  msgid "Enable Google Analytics tracking"
1023
- msgstr ""
1024
 
1025
- #: includes/customizer/class-wc-email-customizer.php:385
1026
  msgid ""
1027
  "This will be appended to URL in the email content – e.g. "
1028
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1029
  msgstr ""
 
 
1030
 
1031
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1032
  msgid "Your order #{order_number} is Failed Attempt"
1033
  msgstr "Вашата поръчка № {order_number} е неуспешен опит"
1034
 
1035
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1036
  msgid ""
1037
  "Hi there. we thought you'd like to know that your recent order from "
1038
  "{site_title} is Failed Attempt"
@@ -1040,20 +1043,20 @@ msgstr ""
1040
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1041
  "{site_title} е неуспешен опит"
1042
 
1043
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1044
  msgid "Failed Attempt shipment status email"
1045
  msgstr "Неуспешен опит за опит за изпращане на имейл"
1046
 
1047
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1048
  msgid "Enable Failed Attempt shipment status email"
1049
  msgstr "Активирайте имейла за неуспешен опит за пратка"
1050
 
1051
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1052
  msgid "Your order #{order_number} is in transit"
1053
  msgstr ""
1054
  "Вашата поръчка # {order_number} е в транзит\n"
1055
 
1056
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1057
  msgid ""
1058
  "Hi there. we thought you'd like to know that your recent order from "
1059
  "{site_title} is in transit"
@@ -1061,21 +1064,21 @@ msgstr ""
1061
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1062
  "{site_title} е в транзит"
1063
 
1064
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1065
  msgid "In Transit shipment status email"
1066
  msgstr ""
1067
  "Електронна поща за статуса на транзитния транзит\n"
1068
 
1069
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1070
  msgid "Enable In Transit shipment status email"
1071
  msgstr "Активиране на имейла за статуса на пратка в транзит"
1072
 
1073
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1074
  msgid "Your order #{order_number} is out for delivery"
1075
  msgstr ""
1076
  "Вашата поръчка # {order_number} е за доставка\n"
1077
 
1078
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1079
  msgid ""
1080
  "Hi there. we thought you'd like to know that your recent order from "
1081
  "{site_title} is out for delivery."
@@ -1083,21 +1086,21 @@ msgstr ""
1083
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1084
  "{site_title} е за доставка.\n"
1085
 
1086
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1087
  msgid "Out For Delivery shipment status email"
1088
  msgstr "Out за доставка на пратка статус имейл"
1089
 
1090
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1091
  msgid "Enable Out For Delivery shipment status email"
1092
  msgstr ""
1093
  "Активиране на имейла за състоянието на пратката за доставка\n"
1094
 
1095
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1096
  msgid "Your order #{order_number} has returned to sender"
1097
  msgstr ""
1098
  "Вашата поръчка # {order_number} се върна на подателя\n"
1099
 
1100
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1101
  msgid ""
1102
  "Hi there. we thought you'd like to know that your recent order from "
1103
  "{site_title} has been returned to sender."
@@ -1105,36 +1108,35 @@ msgstr ""
1105
  "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1106
  "{site_title} е върната на подателя.\n"
1107
 
1108
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1109
  msgid "Return To Sender shipment status email"
1110
  msgstr "Връщане в имейла за състоянието на пратката на подателя"
1111
 
1112
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1113
  msgid "Enable Return To Sender shipment status email"
1114
  msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
1115
 
1116
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1117
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1118
- #: includes/views/html-tracking-info-design-preview.php:45
1119
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1120
  msgid "Provider"
1121
  msgstr "доставчик"
1122
 
1123
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1125
- #: includes/views/html-tracking-info-design-preview.php:46
1126
- #: templates/emails/tracking-info.php:134
1127
- #: templates/myaccount/view-order.php:111
1128
  msgid "Tracking Number"
1129
  msgstr "Номер за проследяване"
1130
 
1131
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1132
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1133
  msgid "Shipped Date"
1134
  msgstr ""
1135
  "Дата на изпращане\n"
1136
 
1137
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1138
  msgid ""
1139
  "select from last 20 orders one order that you added tracking info in order "
1140
  "to preview and design the tracking info table."
@@ -1143,248 +1145,193 @@ msgstr ""
1143
  "информация за проследяване, за да визуализирате и проектирате "
1144
  "информационната таблица за проследяване.\n"
1145
 
1146
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1147
  msgid "Tracking Display Position"
1148
  msgstr "Проследяване на позицията на дисплея"
1149
 
1150
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1151
  msgid "Before Order Details"
1152
  msgstr "Преди подробности за поръчката"
1153
 
1154
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1155
  msgid "After Order Details"
1156
  msgstr "След подробности за поръчката"
1157
 
1158
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1159
  msgid "Main Header text"
1160
  msgstr "Текст на основния заглавие"
1161
 
1162
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1163
- #: templates/pip/tracking-info.php:17
1164
  msgid "Tracking Information"
1165
  msgstr "Информация за проследяване"
1166
 
1167
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1168
  msgid "Additional text after header"
1169
  msgstr "Допълнителен текст след заглавието"
1170
 
1171
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1172
- msgid "Table Layout"
1173
- msgstr "Оформление на таблицата"
1174
 
1175
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1176
  msgid "Display Shipment Provider image"
1177
  msgstr "Покажи изображението на доставчика на пратка"
1178
 
1179
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
1180
  msgid "Hide date"
1181
  msgstr "Скриване на дата"
1182
 
1183
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
 
 
 
 
 
 
 
 
1184
  msgid "Provider Header Text"
1185
  msgstr "Текст на заглавката на доставчика"
1186
 
1187
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1188
  msgid "Tracking Number Header Text"
1189
  msgstr "Текст на заглавния номер на проследяването"
1190
 
1191
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1192
  msgid "Shipped Date Header Text"
1193
  msgstr "Текст на заглавката на датата"
1194
 
1195
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
 
 
 
 
1196
  msgid "Track Label"
1197
  msgstr "Етикет за проследяване"
1198
 
1199
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1200
  msgid "Track Header Text"
1201
  msgstr "Текст на заглавието на трака"
1202
 
1203
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
 
 
 
 
 
 
 
 
1204
  msgid "Table Design"
1205
  msgstr ""
1206
  "Изображение на доставчика\n"
1207
 
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1209
  msgid "Padding"
1210
  msgstr ""
1211
  "подложка\n"
1212
 
1213
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1214
  msgid "Background color"
1215
  msgstr "Цвят на фона"
1216
 
1217
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1218
  msgid "Border color"
1219
  msgstr "Цвят на границата"
1220
 
1221
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1222
  msgid "Border size"
1223
  msgstr "Размер на границата"
1224
 
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1226
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1227
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1228
- msgid "Select"
1229
- msgstr "Изберете"
1230
-
1231
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1232
  msgid "Table text align"
1233
  msgstr "Подравняване на текста на таблицата"
1234
 
1235
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1236
- msgid "Left"
1237
- msgstr ""
1238
- "Наляво\n"
1239
-
1240
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1241
- msgid "Right"
1242
- msgstr ""
1243
- "прав\n"
1244
-
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1246
- msgid "Center"
1247
- msgstr "център"
1248
-
1249
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1250
- msgid "Table header font size"
1251
- msgstr "Размер на шрифта на заглавката на таблицата"
1252
-
1253
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1254
- msgid "Table header font color"
1255
- msgstr "Цвят на шрифта на заглавката на таблицата"
1256
-
1257
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1258
  msgid "Table content font size"
1259
  msgstr "Размер на шрифта на съдържанието на таблицата"
1260
 
1261
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1262
  msgid "Table content font color"
1263
  msgstr "Цвят на шрифта на съдържанието на таблицата"
1264
 
1265
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1266
  msgid "Content line height"
1267
  msgstr ""
1268
  "Височина на линията на съдържанието\n"
1269
 
1270
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1271
  msgid "Content font weight"
1272
  msgstr ""
1273
  "Тегло на шрифта на съдържанието\n"
1274
 
1275
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1276
- msgid "Track Link"
1277
- msgstr "Проследяване на връзката"
1278
 
1279
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1280
  msgid "Track Link Font Color"
1281
  msgstr "Цвят на шрифта за връзка"
1282
 
1283
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1284
  msgid "Track Link Background Color"
1285
  msgstr "Цвят на фона на проследяване на връзката"
1286
 
1287
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1288
  msgid "Track link Border"
1289
  msgstr "Проследяване на връзката Граница"
1290
 
1291
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1292
- msgid "Header Color"
1293
- msgstr ""
1294
- "Цвят на заглавката\n"
1295
-
1296
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1297
- msgid "Success Status Color"
1298
- msgstr ""
1299
- "Цвят на състоянието на успеха\n"
1300
-
1301
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1302
- msgid "Warning Status Color"
1303
- msgstr ""
1304
- "Цвят на предупредителния статус\n"
1305
-
1306
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1307
- msgid "Tracking info Border Color"
1308
- msgstr ""
1309
- "Информация за проследяване Цвят на границата\n"
1310
 
1311
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1312
- msgid "Tracking info width (px)"
 
 
1313
  msgstr ""
1314
- "Ширина на информацията за проследяване (px)\n"
1315
-
1316
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1317
- msgid "Tracking details Border Color"
1318
- msgstr "Подробности за проследяване Цвят на рамката"
1319
-
1320
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1321
- msgid "Tracking info table shade color"
1322
- msgstr "Цвят на сенчестата таблица с информация"
1323
-
1324
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1325
- msgid "Tracking events font color"
1326
- msgstr "Цвят на шрифта за проследяване на събития"
1327
 
1328
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1329
- msgid "Tracking info table margin top/bottom(px)"
1330
- msgstr "Област на информационната таблица за проследяване отгоре / отдолу (px)"
1331
 
1332
  #: includes/emails/class-shipment-delivered-email.php:32
1333
  msgid "Delivered order"
1334
- msgstr ""
1335
 
1336
  #: includes/emails/class-shipment-delivered-email.php:33
1337
  msgid ""
1338
  "Order delivered emails are sent to customers when their orders are marked "
1339
  "delivered and usually indicate that their orders have been shipped."
1340
  msgstr ""
 
 
1341
 
1342
- #: includes/emails/class-shipment-delivered-email.php:228
1343
- msgid "Enable this email notification"
1344
- msgstr ""
1345
 
1346
- #: includes/emails/class-shipment-delivered-email.php:232
1347
- msgid "Recipient(s)"
1348
- msgstr ""
1349
-
1350
- #. %s: WP admin email
1351
- #: includes/emails/class-shipment-delivered-email.php:235
1352
- #, php-format
1353
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1354
- msgstr ""
1355
-
1356
- #: includes/emails/class-shipment-delivered-email.php:241
1357
- msgid "Subject"
1358
- msgstr ""
1359
-
1360
- #. %s: list of placeholders
1361
- #: includes/emails/class-shipment-delivered-email.php:245
1362
- #: includes/emails/class-shipment-delivered-email.php:254
1363
- #, php-format
1364
- msgid "Available placeholders: %s"
1365
- msgstr ""
1366
-
1367
- #: includes/emails/class-shipment-delivered-email.php:259
1368
- msgid "Email type"
1369
- msgstr ""
1370
-
1371
- #: includes/emails/class-shipment-delivered-email.php:261
1372
- msgid "Choose which format of email to send."
1373
- msgstr ""
1374
-
1375
- #: includes/emails/class-shipment-delivered-email.php:269
1376
- msgid "\" >Click Here</a>"
1377
- msgstr ""
1378
-
1379
- #: includes/emails/class-shipment-delivered-email.php:270
1380
  msgid "Edit in customizer"
1381
- msgstr ""
1382
 
1383
- #: includes/views/admin_options_bulk_upload.php:5
1384
  msgid "Upload CSV"
1385
  msgstr "Качете CSV"
1386
 
1387
- #: includes/views/admin_options_bulk_upload.php:15
1388
  msgid ""
1389
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1390
  "added)"
@@ -1392,155 +1339,204 @@ msgstr ""
1392
  "Да се ​​промени ли информацията за проследяване, ако съществува? (ако не е "
1393
  "отметнато, информацията за проследяване ще бъде добавена)"
1394
 
1395
- #: includes/views/admin_options_bulk_upload.php:25
1396
- #: includes/views/admin_options_shipping_provider.php:112
1397
- #: includes/views/admin_options_shipping_provider.php:146
1398
  msgid "Upload"
1399
  msgstr "Качи"
1400
 
1401
- #: includes/views/admin_options_bulk_upload.php:28
1402
- #: includes/views/admin_options_trackship_integration.php:27
1403
- #: includes/views/admin_options_trackship_integration.php:45
1404
  msgid "Settings Saved."
1405
  msgstr "Настройките са запазени."
1406
 
1407
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1408
  msgid "You can download an example of the csv file:"
1409
  msgstr "Можете да изтеглите пример за csv файл:"
1410
 
1411
- #: includes/views/admin_options_bulk_upload.php:35
1412
  msgid "Download sample csv file"
1413
  msgstr "Изтеглете примерния файл csv"
1414
 
1415
- #: includes/views/admin_options_bulk_upload.php:36
1416
  msgid ""
1417
  "For detailed instructions on how to upload tracking info in bulk, see our"
1418
  msgstr ""
1419
  "За подробни инструкции за това как да качите информация за проследяване в "
1420
  "насипно състояние, вижте нашата"
1421
 
1422
- #: includes/views/admin_options_bulk_upload.php:36
1423
- msgid "documentation"
1424
- msgstr "документация"
 
 
 
 
1425
 
1426
- #: includes/views/admin_options_bulk_upload.php:38
1427
- msgid "Upload Progress - "
1428
- msgstr "Качване на напредъка -"
1429
 
1430
- #: includes/views/admin_options_settings.php:7
1431
- #: includes/views/admin_options_trackship_integration.php:10
1432
- msgid "General"
1433
- msgstr "Общ"
 
 
 
 
 
1434
 
1435
- #: includes/views/admin_options_settings.php:10
1436
- #: includes/views/admin_options_settings.php:19
1437
  msgid "Delivered Order Status"
1438
  msgstr "Състояние на поръчката за доставка"
1439
 
1440
- #: includes/views/admin_options_settings.php:12
1441
- msgid "Tracking Info Display Designer"
1442
- msgstr ""
1443
- "Програмист за проследяване на информация за проследяване\n"
1444
-
1445
- #: includes/views/admin_options_settings.php:15
1446
- #: includes/views/admin_options_trackship_integration.php:19
1447
- msgid "General Settings"
1448
- msgstr "Основни настройки"
1449
 
1450
- #: includes/views/admin_options_settings.php:24
1451
- #: includes/views/admin_options_trackship_integration.php:25
1452
- #: includes/views/admin_options_trackship_integration.php:43
1453
- msgid "Save"
1454
- msgstr "Запази"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1455
 
1456
- #: includes/views/admin_options_shipping_provider.php:94
1457
  msgid "Add Custom Shipping Provider"
1458
  msgstr "Добавете Потребителски доставчик"
1459
 
1460
- #: includes/views/admin_options_shipping_provider.php:101
1461
- #: includes/views/admin_options_shipping_provider.php:135
1462
- msgid "Shiping Country"
1463
  msgstr "Страна на доставка"
1464
 
1465
- #: includes/views/admin_options_shipping_provider.php:102
1466
- #: includes/views/admin_options_shipping_provider.php:136
1467
  msgid "Global"
1468
- msgstr ""
 
 
 
 
 
1469
 
1470
- #: includes/views/admin_options_shipping_provider.php:128
1471
  msgid "Edit Custom Shipping Provider"
1472
  msgstr "Редактиране на доставчик по поръчка"
1473
 
1474
- #: includes/views/admin_options_shipping_provider.php:163
1475
- #: includes/views/admin_options_shipping_provider.php:170
1476
- msgid "Sync Providers"
1477
- msgstr "Синхронизиране на доставчици"
1478
-
1479
- #: includes/views/admin_options_shipping_provider.php:164
1480
- msgid "Do you really want to sync all providers?"
1481
- msgstr "Наистина ли искате да синхронизирате всички доставчици?"
1482
 
1483
- #: includes/views/admin_options_shipping_provider.php:166
1484
  msgid "Providers Added"
1485
  msgstr "Доставчиците са добавени"
1486
 
1487
- #: includes/views/admin_options_shipping_provider.php:167
1488
  msgid "Providers Updated"
1489
  msgstr "Актуализирани доставчици"
1490
 
1491
- #: includes/views/admin_options_shipping_provider.php:168
1492
  msgid "Providers Deleted"
1493
  msgstr "Доставчиците са изтрити"
1494
 
1495
- #: includes/views/admin_options_shipping_provider.php:171
1496
- msgid "Close"
1497
- msgstr "Близо"
1498
-
1499
- #: includes/views/admin_options_trackship_integration.php:13
1500
- #: includes/views/admin_options_trackship_integration.php:35
1501
  msgid "Tracking Page"
1502
  msgstr "Страница за проследяване"
1503
 
1504
- #: includes/views/admin_options_trackship_integration.php:16
1505
- msgid "Shipment Status Notifications"
1506
- msgstr "Известия за състоянието на пратката"
1507
-
1508
- #: includes/views/admin_options_trackship_integration.php:40
1509
  msgid "Click to preview the tracking page"
1510
  msgstr "Кликнете, за да визуализирате проследяващата страница"
1511
 
1512
- #: includes/views/admin_options_trackship_integration.php:41
1513
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1514
  msgstr ""
1515
  "МОЛЯ ЗАБЕЛЕЖКА - не забравяйте да запазите настройките си преди визуализация."
1516
 
1517
- #: includes/views/admin_options_trackship_integration.php:53
1518
  msgid "Shipment Status Notifications "
1519
  msgstr "Известия за състоянието на пратката"
1520
 
1521
- #: includes/views/admin_options_trackship_integration.php:81
1522
  msgid ""
1523
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1524
  "the way."
1525
  msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
1526
 
1527
- #: includes/views/admin_options_trackship_integration.php:95
1528
  msgid "Shipment is returned to sender"
1529
  msgstr "Пратката се връща на подателя"
1530
 
1531
- #: includes/views/admin_options_trackship_integration.php:109
1532
  msgid "The shipment is ready to pickup."
1533
  msgstr "Пратката е готова за пикап."
1534
 
1535
- #: includes/views/admin_options_trackship_integration.php:122
1536
  msgid "Carrier is about to deliver the shipment"
1537
  msgstr "Превозвачът е на път да достави пратката"
1538
 
1539
- #: includes/views/admin_options_trackship_integration.php:136
1540
  msgid "The shipment was delivered successfully"
1541
  msgstr "Пратката е доставена успешно"
1542
 
1543
- #: includes/views/admin_options_trackship_integration.php:137
1544
  msgid ""
1545
  "You already have delivered email enabled, to enable this email you'll need "
1546
  "to disable the order status delivered in settings."
@@ -1548,7 +1544,7 @@ msgstr ""
1548
  "Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
1549
  "трябва да деактивирате състоянието на поръчката, доставена в настройките."
1550
 
1551
- #: includes/views/admin_options_trackship_integration.php:151
1552
  msgid ""
1553
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1554
  "will try to deliver the package again."
@@ -1556,43 +1552,69 @@ msgstr ""
1556
  "Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
1557
  "ще се опита да достави пакета отново."
1558
 
1559
- #: includes/views/html-tracking-info-design-preview.php:60
1560
- msgid "USPS"
1561
- msgstr "USPS"
1562
-
1563
- #: includes/views/zorem_admin_sidebar.php:8
1564
- msgid "Leave your review"
1565
  msgstr ""
 
 
1566
 
1567
- #: includes/views/zorem_admin_ts_sidebar.php:5
1568
- msgid "Dashboard"
1569
- msgstr ""
1570
 
1571
- #: includes/views/zorem_admin_ts_sidebar.php:7
1572
- msgid "Documentation"
1573
- msgstr ""
1574
 
1575
- #: templates/emails/tracking-info.php:138
1576
- msgid "Status"
1577
- msgstr "Статус"
1578
 
1579
- #: templates/emails/wcast-email-order-details.php:26
1580
- msgid "Order Details"
1581
- msgstr ""
1582
- "подробности за поръчката\n"
 
 
 
1583
 
1584
  #. %s: Order ID.
1585
- #: templates/emails/wcast-email-order-details.php:42
1586
  #, php-format
1587
  msgid "Order number: %s"
1588
  msgstr ""
1589
  "Номер на поръчката:% s\n"
1590
 
1591
- #: templates/emails/wcast-email-order-details.php:49
1592
- msgid "Order date:"
 
 
 
 
 
 
 
 
 
 
 
 
1593
  msgstr ""
1594
- "Дата на поръчка:\n"
1595
 
1596
- #: templates/emails/plain/tracking-info.php:18
1597
- msgid "TRACKING INFORMATION"
1598
- msgstr "ИНФОРМАЦИЯ ЗА ПРОСЛЕДЯВАНЕТО"
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-12-13 13:13+0000\n"
6
+ "PO-Revision-Date: 2019-12-13 13:45+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\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.3.1; wp-5.3.1"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
24
  "проследяване на пратки в WooCommerce!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:242
27
+ #, php-format
28
+ msgid "Your order was shipped with %s and your tracking code is: %s"
29
+ msgstr "Поръчката ви беше изпратена с% s, а проследяващият ви код е:% s"
30
 
31
+ #: woocommerce-advanced-shipment-tracking.php:452
32
+ #: includes/views/admin_options_settings.php:68
33
  #, php-format
34
  msgid ""
35
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
39
  "php here or you can manually change all your \"delivered\" order to "
40
  "\"completed\" before deactivating the plugin."
41
  msgstr ""
42
+ "<strong> МОЛЯ ЗАБЕЛЕЖКА </strong> - Ако използвате статуса на поръчка за "
43
+ "поръчка „Доставено“, когато деактивирате приставката, трябва да регистрирате "
44
+ "това състояние на поръчката в function.php, за да видите тези поръчки в "
45
+ "администратора на поръчки. Можете да намерите <a href=\"%s\" "
46
+ "target=\"blank\"> фрагмент </a>, който да използвате в функции.php тук, или "
47
+ "можете ръчно да промените всичките си „доставени“ поръчки на „завършени“, "
48
+ "преди да деактивирате приставката."
49
 
50
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  msgid "Shipment status"
52
+ msgstr "Shipment status"
53
 
54
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
55
+ #: includes/class-wc-advanced-shipment-welcome.php:310
56
  msgid ""
57
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
58
  "100 orders."
59
  msgstr ""
60
+ "Съдържанието на пратката е ограничено до 100 поръчки наведнъж, моля изберете "
61
+ "до 100 поръчки."
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:460
64
+ #: includes/class-wc-advanced-shipment-welcome.php:343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgid "Data saved successfully."
66
  msgstr "Данните са запазени успешно."
67
 
68
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
69
+ #: includes/class-wc-advanced-shipment-welcome.php:344
70
  msgid "Really delete this entry? This will not be undo."
71
  msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
72
 
73
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
74
+ #: includes/class-wc-advanced-shipment-welcome.php:345
75
  msgid "You can upload only csv file."
76
  msgstr "Можете да качите само csv файл."
77
 
78
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
79
+ #: includes/class-wc-advanced-shipment-welcome.php:346
80
  msgid "This browser does not support HTML5."
81
  msgstr "Този браузър не поддържа HTML5."
82
 
83
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
84
+ #: includes/class-wc-advanced-shipment-welcome.php:347
85
  msgid "Please upload a valid CSV file."
86
  msgstr "Моля, качете валиден CSV файл."
87
 
88
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:533
 
 
 
 
 
89
  msgid "Shipping Providers"
90
  msgstr "Доставка доставчици"
91
 
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
 
 
 
 
93
  msgid "Bulk Upload"
94
+ msgstr "Групово качване"
95
 
96
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
97
+ msgid "Tools"
98
+ msgstr "Инструменти"
99
 
100
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:549
101
+ msgid "Add-ons"
102
+ msgstr "Добавки"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:552
105
+ #: includes/class-wc-advanced-shipment-welcome.php:222
106
+ #: includes/views/admin_options_bulk_upload.php:63
107
+ #: includes/views/admin_options_trackship_integration.php:71
108
+ #: includes/views/zorem_admin_ts_sidebar.php:12
109
+ msgid "Documentation"
110
+ msgstr "документация"
111
+
112
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:553
113
+ msgid "How to Video"
114
+ msgstr "Как да видео"
115
+
116
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:692
117
+ msgid "Custom Statuses"
118
+ msgstr "Персонализирани статуси"
119
+
120
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:739
121
+ #: includes/class-wc-advanced-shipment-welcome.php:188
122
+ #: includes/views/admin_options_trackship_integration.php:37
123
+ #: includes/views/admin_options_addons.php:46
124
  msgid "Connected"
125
  msgstr ""
126
  "свързан\n"
127
 
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:871
 
 
 
 
 
 
 
 
 
129
  #, php-format
130
+ msgid "%s %s orders with tracking info"
131
+ msgstr "% s% s поръчки с информация за проследяване"
132
+
133
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:872
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:881
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:890
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
137
+ #: includes/views/admin_options_tools.php:13
138
+ msgid "Get Shipment Status"
139
+ msgstr "Получете състояние на пратката"
140
 
141
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:880
142
  #, php-format
143
+ msgid "%s %s orders with “TrackShip balance is 0”"
144
+ msgstr "% s% s поръчки с „TrackShip баланс е 0“"
 
145
 
146
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:889
147
+ #, php-format
148
+ msgid "%s %s orders with “Please do connection”"
149
+ msgstr "% s% s поръчки с „Моля, свържете се“"
150
 
151
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
 
152
  msgid "Enable/Disable"
153
  msgstr "Включване / Изключване"
154
 
155
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
156
  msgid "Set order status Delivered when order is delivered"
157
+ msgstr "Задаване на състояние на поръчката Доставено при доставка на поръчката"
158
 
159
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
 
 
 
 
 
 
 
 
 
 
 
160
  msgid ""
161
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
162
  "for the tracking page to work."
163
  msgstr ""
164
+ "Трябва да добавите краткия код [wcast-track-order] към „името на страницата“,"
165
+ " за да работи страницата за проследяване."
166
 
167
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:973
168
  msgid "Select Tracking Page"
169
+ msgstr "Изберете страница за проследяване"
 
 
 
 
 
 
 
170
 
171
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:981
172
  msgid "Use the tracking page in the customer email/my account tracking link"
173
  msgstr ""
174
+ "Използвайте проследяващата страница в връзката за проследяване на имейла на "
175
+ "клиента / моя акаунт"
176
 
177
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:987
178
  msgid "Select primary color for tracking page"
179
+ msgstr "Изберете основен цвят за проследяваща страница"
 
180
 
181
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:993
182
  msgid "Select content border color for tracking page"
183
+ msgstr "Изберете цвят на границата на съдържанието за проследяваща страница"
 
184
 
185
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:999
186
+ msgid "Hide tracking events details"
187
+ msgstr "Скриване на детайлите за проследяване на събитията"
188
+
189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1005
190
+ msgid "Remove TrackShip branding"
191
+ msgstr "Премахване на марката TrackShip"
192
+
193
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1022
194
+ msgid "License Key"
195
+ msgstr "Лицензионен ключ"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1024
198
+ msgid "Valid License to make All feature work correctly"
199
+ msgstr "Валиден лиценз, за ​​да може функцията All работи правилно"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
202
+ msgid "\">click here</a> to activate it."
203
+ msgstr "\"> щракнете тук </a>, за да го активирате."
204
+
205
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
206
+ #: includes/class-wc-advanced-shipment-tracking.php:185
207
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:256
208
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:392
209
+ msgid "Shipped"
210
+ msgstr "Доставят"
211
+
212
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1207
213
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
214
  msgstr ""
215
+ "По подразбиране \"маркирай като <span class =\" shipped_label \"> изпратен "
216
+ "</span>\""
217
 
218
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1208
219
  msgid ""
220
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
221
  "will be selected by default when adding tracking info to orders."
222
  msgstr ""
223
+ "Това означава, че 'марката като <span class =' ​​shipped_label '> изпратена "
224
+ "</span>' ще бъде избрана по подразбиране при добавяне на информация за "
225
+ "проследяване към поръчки."
226
 
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1211
228
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
 
 
 
 
229
  msgstr ""
230
+ "По подразбиране \"маркирай като <span class =\" shipped_label \"> завършен "
231
+ "</span>\""
232
 
233
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
234
  msgid ""
235
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
236
  "will be selected by default when adding tracking info to orders."
237
  msgstr ""
238
+ "Това означава, че 'маркирането като <span class =' ​​shipped_label '> "
239
+ "завършено </span>' ще бъде избрано по подразбиране при добавяне на "
240
+ "информация за проследяване към поръчки."
241
 
242
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1278
243
  msgid "Rename the “Completed” Order status to “Shipped”"
244
+ msgstr "Преименувайте състоянието на поръчката „Завършено“ на „Доставка“"
245
 
246
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1291
247
+ msgid "On which order status email to include the shipment tracking info?"
248
  msgstr ""
249
+ "На кой имейл за състоянието на поръчката да се включи информация за "
250
+ "проследяване на пратката?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
251
 
252
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1297
253
  msgid "Show tracking info in Invoice"
254
  msgstr "Показване на информация за проследяване във фактура"
255
 
256
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1303
257
  msgid "Show tracking info in Packing Slip"
258
  msgstr "Показване на информация за проследяване в опаковъчен лист"
259
 
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1320
261
+ msgid "Enable custom order status “Delivered\""
262
+ msgstr "Активиране на състоянието на персонализирана поръчка „Доставено“"
 
263
 
264
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1321
265
  msgid ""
266
  "if you enable the delivered item, you will have the option to send delivered "
267
  "email notifications."
268
  msgstr ""
269
+ "ако активирате доставения артикул, ще имате възможност да изпращате известия "
270
+ "за доставени имейли."
271
 
272
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1327
273
+ msgid "Delivered Label color"
274
+ msgstr "Доставен цвят на етикета"
275
 
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1333
277
+ msgid "Delivered Label font color"
278
+ msgstr "Доставен цвят на шрифта на етикета"
279
+
280
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1336
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1378
282
+ msgid "Light"
283
+ msgstr "Светлина"
284
+
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1337
286
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1379
287
+ msgid "Dark"
288
+ msgstr "тъмен"
289
+
290
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1344
291
+ msgid "Enable the Delivered order status email"
292
+ msgstr "Активирайте имейла за състояние на доставката на поръчката"
293
+
294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1362
295
+ msgid "Enable custom order status “Partially Shipped\""
296
+ msgstr ""
297
+ "Активиране на състоянието на персонализирана поръчка „Частично изпратено“"
298
 
299
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1363
 
 
 
 
 
 
 
 
 
 
300
  msgid ""
301
+ "if you enable the Partially Shipped item, you will have the option to send "
302
+ "Partially Shipped email notifications."
303
  msgstr ""
304
+ "ако активирате частично изпратения артикул, ще имате възможност да изпращате "
305
+ "частично изпратени известия по имейл."
306
 
307
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1369
308
+ msgid "Partially Shipped Label color"
309
+ msgstr "Частично доставен цвят на етикета"
310
 
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1375
312
+ msgid "Partially Shipped Label font color"
313
+ msgstr "Частично доставен цвят на шрифта на етикета"
314
 
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1386
316
+ msgid "Enable the Partially Shipped order status email"
317
+ msgstr "Активирайте частично изпратения имейл за състоянието на поръчката"
318
+
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1776
320
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2455
321
+ #: includes/customizer/class-wcast-customizer.php:84
322
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
323
+ #: includes/views/admin_options_trackship_integration.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
324
  msgid "In Transit"
325
  msgstr "Транзитно"
326
 
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1779
328
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2454
329
+ #: includes/customizer/class-wcast-customizer.php:76
330
  msgid "Pre Transit"
331
  msgstr "Предварително преминаване"
332
 
333
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1782
334
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1974
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2458
336
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:118
337
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
338
+ #: includes/customizer/class-wcast-customizer.php:114
339
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
340
+ #: includes/views/admin_options_trackship_integration.php:216
341
+ msgid "Delivered"
342
+ msgstr "Доставени"
343
 
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2457
346
+ #: includes/customizer/class-wcast-customizer.php:106
347
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
348
+ #: includes/views/admin_options_trackship_integration.php:202
349
+ msgid "Out For Delivery"
350
+ msgstr ""
351
+ "За доставка\n"
352
+
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2456
355
+ #: includes/customizer/class-wcast-customizer.php:99
356
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
357
+ #: includes/views/admin_options_trackship_integration.php:189
358
  msgid "Available For Pickup"
359
  msgstr "Предлага се за пикап"
360
 
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1791
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2462
363
+ #: includes/customizer/class-wcast-customizer.php:92
364
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
365
+ #: includes/views/admin_options_trackship_integration.php:175
366
  msgid "Return To Sender"
367
  msgstr "Върнете се към подателя"
368
 
369
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
370
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2459
371
+ #: includes/customizer/class-wcast-customizer.php:122
372
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
373
+ #: includes/views/admin_options_trackship_integration.php:231
374
+ msgid "Failed Attempt"
375
+ msgstr "Неуспешен опит"
376
 
377
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
378
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2453
379
  msgid "Unknown"
380
+ msgstr "неизвестен"
 
381
 
382
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
383
  msgid "Pending TrackShip"
384
+ msgstr "В очакване на TrackShip"
 
385
 
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
387
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2463
388
+ msgid "Invalid Tracking Number"
389
+ msgstr "Невалиден проследяващ номер"
390
 
391
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1806
392
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2461
393
+ msgid "Carrier Unsupported"
394
+ msgstr "Превозвач не се поддържа"
395
 
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1809
397
  msgid "Invalid User Key"
398
+ msgstr "Невалиден потребителски ключ"
399
 
400
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1812
401
+ msgid "Wrong Shipping Provider"
402
+ msgstr "Грешен доставчик на доставка"
403
 
404
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1928
405
  msgid "Shipped Order"
406
+ msgstr "Изпратена поръчка"
407
 
408
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1952
409
  msgid "Mark order as delivered"
410
  msgstr "Маркирайте поръчката като доставена"
411
 
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1959
413
  msgid "Add Tracking"
414
+ msgstr "Добавяне на проследяване"
415
 
416
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1986
417
  msgid "Change order status to"
418
  msgstr "Промяна на състоянието на поръчката на"
419
 
420
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2089
421
+ #: includes/views/admin_options_shipping_provider.php:95
422
  #, php-format
423
  msgid "You don't have any %s shipping providers."
424
  msgstr "Нямате доставчици за доставки на% s."
425
 
426
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
427
+ msgid "There are some issue with sync, Please Retry."
428
+ msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
429
+
430
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2406
431
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2421
432
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2436
433
  msgid "view details"
434
  msgstr "Разгледайте детайлите"
435
 
436
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2407
437
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2422
438
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2437
439
  msgid "hide details"
440
  msgstr "скрий подробности"
441
 
442
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2468
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
443
  msgid "Filter by shipment status"
444
+ msgstr "Филтриране по статус на пратката"
445
 
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
447
  msgid ""
448
  "To track your order please enter your Order ID in the box below and press "
449
  "the \"Track\" button. This was given to you on your receipt and in the "
453
  "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
454
  "в имейла за потвърждение, който трябваше да получите.\n"
455
 
456
+ #: includes/class-wc-advanced-shipment-tracking-front.php:151
457
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
 
 
 
 
 
458
  msgid "Found in your order confirmation email."
459
  msgstr ""
460
  "Намерен в имейла за потвърждение на поръчката.\n"
461
 
462
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
463
  msgid "Order Email"
464
  msgstr ""
465
  "Имейл за поръчка\n"
466
 
467
+ #: includes/class-wc-advanced-shipment-tracking-front.php:155
468
+ #: includes/class-wc-advanced-shipment-tracking.php:281
469
+ #: includes/class-wc-advanced-shipment-tracking.php:725
470
+ #: includes/class-wc-advanced-shipment-tracking.php:848
471
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
472
+ #: includes/customizer/class-wc-tracking-info-customizer.php:480
473
+ #: templates/emails/tracking-info.php:194
474
+ #: templates/myaccount/tracking-info.php:127
 
475
  msgid "Track"
476
  msgstr "път"
477
 
478
+ #: includes/class-wc-advanced-shipment-tracking-front.php:235
479
+ #: includes/class-wc-advanced-shipment-tracking-front.php:512
480
  #, php-format
481
  msgid "Shipment - %s (out of %s)"
482
  msgstr ""
483
  "Пратка -% s (от% s)\n"
484
 
485
+ #: includes/class-wc-advanced-shipment-tracking-front.php:248
486
+ #: includes/class-wc-advanced-shipment-tracking-front.php:252
487
+ #: includes/class-wc-advanced-shipment-tracking-front.php:525
488
+ #: includes/class-wc-advanced-shipment-tracking-front.php:529
 
 
 
 
 
489
  msgid "Estimated Delivery Date: "
490
  msgstr "Очаквана дата за доставка:"
491
 
492
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
493
+ #: includes/class-wc-advanced-shipment-tracking-front.php:638
494
+ #: includes/class-wc-advanced-shipment-tracking-front.php:814
495
  msgid "Tracking Details"
496
  msgstr "Детайли за проследяване"
497
 
498
+ #: includes/class-wc-advanced-shipment-tracking-front.php:380
499
+ #: includes/class-wc-advanced-shipment-tracking-front.php:657
500
+ #: includes/class-wc-advanced-shipment-tracking-front.php:835
501
  msgid "view more"
502
  msgstr "Виж повече"
503
 
504
+ #: includes/class-wc-advanced-shipment-tracking-front.php:381
505
+ #: includes/class-wc-advanced-shipment-tracking-front.php:658
506
+ #: includes/class-wc-advanced-shipment-tracking-front.php:836
507
  msgid "view less"
508
  msgstr "вижте по-малко"
509
 
510
+ #: includes/class-wc-advanced-shipment-tracking-front.php:389
511
+ #: includes/class-wc-advanced-shipment-tracking-front.php:666
512
+ msgid "Tracking details not found in TrackShip"
513
+ msgstr "Детайли за проследяване не са открити в TrackShip"
514
+
515
+ #: includes/class-wc-advanced-shipment-tracking-front.php:749
516
+ msgid "Estimated Delivery Date"
517
+ msgstr "Очаквана дата за доставка"
 
518
 
519
+ #: includes/class-wc-advanced-shipment-tracking.php:95
520
+ #: includes/class-wc-advanced-shipment-tracking.php:265
521
+ #: includes/customizer/class-wcast-customizer.php:31
522
  msgid "Shipment Tracking"
523
  msgstr "Проследяване на пратките"
524
 
525
+ #: includes/class-wc-advanced-shipment-tracking.php:184
526
+ #: includes/class-wc-advanced-shipment-tracking.php:383
527
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:391
528
+ msgid "Mark as Shipped?"
529
+ msgstr "Да се ​​маркира като изпратен?"
530
 
531
+ #: includes/class-wc-advanced-shipment-tracking.php:187
532
+ #: includes/class-wc-advanced-shipment-tracking.php:386
533
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:394
534
+ msgid "Mark as Completed?"
535
+ msgstr "Да се ​​маркира като завършен?"
536
 
537
+ #: includes/class-wc-advanced-shipment-tracking.php:188
538
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:395
539
+ msgid "Completed"
540
+ msgstr "завършен"
541
+
542
+ #: includes/class-wc-advanced-shipment-tracking.php:195
543
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:403
544
  msgid "Add Tracking Number"
545
+ msgstr "Добавете проследяващ номер"
546
 
547
+ #: includes/class-wc-advanced-shipment-tracking.php:198
548
+ #: includes/class-wc-advanced-shipment-tracking.php:203
549
+ #: includes/class-wc-advanced-shipment-tracking.php:404
550
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:406
551
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:408
552
  msgid "Provider:"
553
  msgstr "доставчик на:"
554
 
555
+ #: includes/class-wc-advanced-shipment-tracking.php:223
556
+ #: includes/class-wc-advanced-shipment-tracking.php:442
557
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:428
558
  msgid "Tracking number:"
559
  msgstr "Номер за проследяване:"
560
 
561
+ #: includes/class-wc-advanced-shipment-tracking.php:227
562
+ #: includes/class-wc-advanced-shipment-tracking.php:450
563
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:432
564
  msgid "Date shipped:"
565
  msgstr "Дата на изпращане:"
566
 
567
+ #: includes/class-wc-advanced-shipment-tracking.php:228
568
+ #: includes/class-wc-advanced-shipment-tracking.php:451
569
+ #: includes/class-wc-advanced-shipment-tracking.php:454
570
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
571
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
572
  msgid "Y-m-d"
573
  msgstr ""
574
 
575
+ #: includes/class-wc-advanced-shipment-tracking.php:236
576
+ #: includes/class-wc-advanced-shipment-tracking.php:462
577
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
578
+ msgid "Mark order as:"
579
+ msgstr "Маркиране на поръчката като:"
580
+
581
+ #: includes/class-wc-advanced-shipment-tracking.php:239
582
+ #: includes/class-wc-advanced-shipment-tracking.php:465
583
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:444
584
+ msgid "Partial Shipped"
585
+ msgstr "Частично изпратено"
586
+
587
+ #: includes/class-wc-advanced-shipment-tracking.php:281
588
+ #: includes/class-wc-advanced-shipment-tracking.php:493
589
+ msgid "Track Shipment"
590
+ msgstr "Проследяване на пратката"
591
 
592
  #. 1: shipping date
593
+ #: includes/class-wc-advanced-shipment-tracking.php:293
 
594
  #, php-format
595
  msgid "Shipped on %s"
596
  msgstr "Изпратено на% s"
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking.php:400
 
 
 
 
599
  msgid "Add Tracking Info"
600
  msgstr "Добавяне на информация за проследяване"
601
 
602
+ #: includes/class-wc-advanced-shipment-tracking.php:405
603
  msgid "Select Provider"
604
  msgstr "Изберете Доставчик"
605
 
606
+ #: includes/class-wc-advanced-shipment-tracking.php:492
607
  msgid "Save Tracking"
608
  msgstr "Запазване на проследяването"
609
 
610
+ #: includes/class-wc-advanced-shipment-tracking.php:493
611
  msgid "Preview:"
612
  msgstr "Преглед:"
613
 
614
+ #: includes/class-wc-advanced-shipment-tracking.php:699
615
+ #, php-format
616
+ msgid ""
617
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
618
+ msgstr ""
619
+ "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
620
+ "проследяващ номер% s"
621
+
622
+ #: includes/class-wc-advanced-shipment-tracking.php:1089
623
+ #, php-format
624
+ msgid "Order was shipped with %s and tracking number is: %s"
625
+ msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
626
+
627
+ #: includes/class-wc-advanced-shipment-welcome.php:38
628
+ #: includes/class-wc-advanced-shipment-welcome.php:39
629
+ msgid "Welcome to Advanced Shipment Tracking"
630
+ msgstr ""
631
+
632
+ #: includes/class-wc-advanced-shipment-welcome.php:90
633
+ #: includes/class-wc-advanced-shipment-welcome.php:129
634
+ #: includes/class-wc-advanced-shipment-welcome.php:147
635
+ msgid "Save and Continue"
636
+ msgstr "Запазете и продължете"
637
+
638
+ #: includes/class-wc-advanced-shipment-welcome.php:177
639
+ #: includes/views/admin_options_trackship_integration.php:26
640
+ msgid "Connection status"
641
+ msgstr "Състояние на връзката"
642
+
643
+ #: includes/class-wc-advanced-shipment-welcome.php:184
644
+ #: includes/views/admin_options_trackship_integration.php:33
645
+ msgid "TrackShip Connection Status"
646
+ msgstr "Състояние на връзката към TrackShip"
647
+
648
+ #: includes/class-wc-advanced-shipment-welcome.php:194
649
+ #: includes/views/admin_options_trackship_integration.php:43
650
+ msgid "Trackers Balance"
651
+ msgstr "Баланс на тракерите"
652
+
653
+ #: includes/class-wc-advanced-shipment-welcome.php:202
654
+ #: includes/views/admin_options_trackship_integration.php:51
655
+ msgid "Current Plan"
656
+ msgstr "Настоящ план"
657
+
658
+ #: includes/class-wc-advanced-shipment-welcome.php:217
659
+ #: includes/views/admin_options_trackship_integration.php:66
660
+ #: includes/views/admin_options_addons.php:33
661
+ msgid ""
662
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
663
+ "automate your post shipping operations and get tracking and delivery status "
664
+ "updates directly in the WooCommerce admin."
665
+ msgstr ""
666
+ "Вече сте свързани с TrackShip! TrackShip улеснява автоматизирането на вашите "
667
+ "операции след изпращане и получаване на актуализации за проследяване и "
668
+ "състояние директно в администратора на WooCommerce."
669
 
670
+ #: includes/class-wc-advanced-shipment-welcome.php:223
671
+ #: includes/views/admin_options_trackship_integration.php:72
672
+ msgid "TrackShip Dashboard"
673
+ msgstr "TrackShip табло"
674
+
675
+ #: includes/class-wc-advanced-shipment-welcome.php:253
676
+ msgid "Save"
677
+ msgstr "Запази"
678
+
679
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:123
680
+ #, php-format
681
+ msgid "Delivered <span class=\"count\">(%s)</span>"
682
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
683
+ msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
684
+ msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
685
+
686
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
687
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:172
688
+ msgid "Updated Tracking"
689
+ msgstr "Актуализирано проследяване"
690
+
691
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
692
+ #, php-format
693
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
694
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
695
+ msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
696
+ msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
697
+
698
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:144
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:187
700
+ msgid "Partially Shipped"
701
+ msgstr "Частично изпратени"
702
+
703
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:149
704
+ #, php-format
705
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
706
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
707
+ msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
708
+ msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
709
+
710
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:232
711
+ msgid "Change status to delivered"
712
+ msgstr "Промяна на състоянието на доставено"
713
+
714
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:241
715
+ msgid "Change status to Partially Shipped"
716
+ msgstr "Промяна на състоянието на частично изпратено"
717
+
718
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:273
719
+ #, php-format
720
+ msgid "Shipped <span class=\"count\">(%s)</span>"
721
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
722
+ msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
723
+ msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
724
+
725
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:287
726
+ msgid "Change status to shipped"
727
+ msgstr "Промяна на състоянието на изпратено"
728
+
729
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:471
730
+ msgid "Resend delivered order notification"
731
+ msgstr "Повторно изпратено известие за поръчка"
732
+
733
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:680
734
+ msgid "Shipment Providers"
735
+ msgstr "Доставчици на пратки"
736
+
737
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:683
738
+ msgid "Shipment Status"
739
+ msgstr "Състояние на пратката"
740
+
741
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:686
742
+ msgid "Tracking issues"
743
+ msgstr "Проследяване на проблеми"
744
+
745
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:692
746
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:700
747
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:717
748
+ msgid "data not available."
749
+ msgstr "данни не са налични."
750
+
751
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:723
752
+ msgid "View more on TrackShip"
753
+ msgstr "Вижте повече на TrackShip"
754
+
755
+ #: includes/customizer/class-wcast-customizer.php:40
756
  msgid "Shipment Status Emails"
757
  msgstr "Имейли за състоянието на пратката"
758
 
759
+ #: includes/customizer/class-wcast-customizer.php:52
760
  msgid "Tracking info display"
761
  msgstr ""
762
  "Показване на информация за проследяване\n"
763
 
764
+ #: includes/customizer/class-wcast-customizer.php:60
765
+ #: includes/customizer/class-wc-email-customizer.php:163
766
+ msgid "Delivered order status email"
767
+ msgstr "Предоставен е имейл за състоянието на поръчката"
 
768
 
769
+ #: includes/customizer/class-wcast-customizer.php:68
770
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
771
+ msgid "Partially Shipped status email"
772
+ msgstr "Частично изпратен имейл за състояние"
 
 
773
 
774
+ #: includes/customizer/class-wcast-customizer.php:390
775
  msgid "Select order to preview"
776
  msgstr ""
777
  "Изберете поръчка за визуализация\n"
778
 
779
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
780
  msgid "Your order #{order_number} is available for pickup"
781
  msgstr ""
782
  "Вашата поръчка # {order_number} е достъпна за приемане\n"
783
 
784
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
785
  msgid ""
786
  "Hi there. we thought you'd like to know that your recent order from "
787
  "{site_title} is available for pickup."
789
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
790
  "{site_title} е достъпна за приемане."
791
 
792
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
793
  msgid "Available For Pickup shipment status email"
794
  msgstr ""
795
  "Наличен за статус на пратка за доставка\n"
796
 
797
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
798
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
799
+ #: includes/customizer/class-wc-email-customizer.php:164
800
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
801
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
802
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
803
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
804
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
805
  msgid "This section lets you customize the Email Content."
806
  msgstr ""
807
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
808
  "поща."
809
 
810
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
811
  msgid "Enable Available For Pickup shipment status email"
812
  msgstr ""
813
  "Активиране на имейла за статуса на пратката на разположение за получаване"
814
 
815
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
816
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
817
+ #: includes/customizer/class-wc-email-customizer.php:197
818
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
819
+ #: includes/customizer/class-wc-intransit-email-customizer.php:191
820
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
821
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:187
822
+ #: includes/customizer/class-wc-tracking-info-customizer.php:178
823
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
824
  msgid "Preview order"
825
  msgstr ""
826
  "Преглед на поръчката\n"
827
 
828
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
829
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
830
+ #: includes/customizer/class-wc-email-customizer.php:226
831
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
832
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
833
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
834
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
835
  msgid "E.g. {customer.email}, admin@example.org"
836
  msgstr "E.g. {customer.email}, admin@example.org"
837
 
838
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
839
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
840
+ #: includes/customizer/class-wc-delivered-email-customizer.php:232
841
+ #: includes/customizer/class-wc-delivered-email-customizer.php:254
842
+ #: includes/customizer/class-wc-failure-email-customizer.php:231
843
+ #: includes/customizer/class-wc-failure-email-customizer.php:253
844
+ #: includes/customizer/class-wc-intransit-email-customizer.php:235
845
+ #: includes/customizer/class-wc-intransit-email-customizer.php:257
846
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
847
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
848
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:231
849
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:253
 
 
 
 
 
 
 
 
 
 
850
  msgid "Available placeholders: {site_title}, {order_number}"
851
  msgstr "Налични резерви: {site_title}, {order_number}"
852
 
853
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
854
+ #: includes/customizer/class-wc-delivered-email-customizer.php:275
855
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
856
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
857
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
858
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
859
  msgid "Show tracking details"
860
  msgstr ""
861
  "Показване на подробности за проследяването\n"
862
 
863
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
864
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
865
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
866
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
867
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
868
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
869
  msgid "Show order details"
870
  msgstr ""
871
  "Показване на подробности за поръчката\n"
872
 
873
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
874
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
875
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
876
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
877
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
878
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
879
  msgid "Show billing address"
880
  msgstr ""
881
  "Показване на адрес за фактуриране\n"
882
 
883
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
884
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
885
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
886
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
887
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
888
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
889
  msgid "Show shipping address"
890
  msgstr ""
891
  "Показване на адреса за доставка\n"
892
 
893
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
894
+ #: includes/customizer/class-wc-delivered-email-customizer.php:340
895
+ #: includes/customizer/class-wc-email-customizer.php:393
896
+ #: includes/customizer/class-wc-failure-email-customizer.php:339
897
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
898
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
899
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:339
900
  msgid "Google Analytics link tracking"
901
+ msgstr "Проследяване на връзки в Google Analytics"
902
+
903
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
904
+ #: includes/customizer/class-wc-delivered-email-customizer.php:341
905
+ #: includes/customizer/class-wc-failure-email-customizer.php:340
906
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
907
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
908
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:340
909
  msgid "This will be appended to URL in the email content"
910
+ msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
911
+
912
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
913
+ #: includes/customizer/class-wc-delivered-email-customizer.php:362
914
+ #: includes/customizer/class-wc-email-customizer.php:288
915
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
916
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
917
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
918
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:361
919
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
920
  msgid "Email content"
921
  msgstr "Съдържание на имейла"
922
 
923
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
924
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
925
+ #: includes/customizer/class-wc-email-customizer.php:414
926
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
927
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
928
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
929
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
930
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
931
  msgid "Available placeholders"
932
  msgstr ""
933
  "Налични места\n"
934
 
935
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:428
936
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:435
937
+ #: includes/customizer/class-wc-delivered-email-customizer.php:430
938
+ #: includes/customizer/class-wc-delivered-email-customizer.php:437
939
+ #: includes/customizer/class-wc-email-customizer.php:447
940
+ #: includes/customizer/class-wc-failure-email-customizer.php:429
941
+ #: includes/customizer/class-wc-failure-email-customizer.php:437
942
+ #: includes/customizer/class-wc-intransit-email-customizer.php:432
943
+ #: includes/customizer/class-wc-intransit-email-customizer.php:440
944
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:430
945
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:438
946
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:428
947
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:436
948
+ #: includes/customizer/class-wc-tracking-info-customizer.php:827
949
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
950
+ msgid "Please select order to preview."
951
+ msgstr "Моля, изберете поръчка за преглед."
952
+
953
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
954
  msgid "Your order #{order_number} has been delivered"
955
+ msgstr "Вашата поръчка № {order_number} е доставена"
956
 
957
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
958
+ #: includes/customizer/class-wc-email-customizer.php:132
959
  msgid ""
960
  "Hi there. we thought you'd like to know that your recent order from "
961
  "{site_title} has been Delivered."
963
  "Здрасти. решихме, че искате да знаете, че скорошната Ви поръчка от "
964
  "{site_title} е била Доставена."
965
 
966
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
967
  msgid "Delivered shipment status email"
968
  msgstr "Предоставен е имейл за състоянието на пратката"
969
 
970
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
971
  msgid "Enable Delivered shipment status email"
972
  msgstr "Активиране на имейла за състоянието на доставената пратка"
973
 
974
+ #: includes/customizer/class-wc-email-customizer.php:130
975
+ #: includes/emails/class-shipment-delivered-email.php:94
976
  msgid "Your {site_title} order is now delivered"
977
  msgstr "Поръчката ви {site_title} вече е доставена"
978
 
979
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
980
  msgid "Enable Delivered order status email"
981
  msgstr "Активиране на имейл съобщението за състоянието на поръчката"
982
 
983
+ #: includes/customizer/class-wc-email-customizer.php:201
984
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
985
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
986
  msgid "Please select a order..."
987
  msgstr ""
988
  "Моля, изберете поръчка ...\n"
989
 
990
+ #: includes/customizer/class-wc-email-customizer.php:243
991
+ #: includes/customizer/class-wc-email-customizer.php:266
992
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
993
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
 
 
 
 
 
 
 
 
994
  msgid "Available variables: {site_title}, {order_number}"
995
+ msgstr "Налични променливи: {site_title}, {order_number}"
996
 
997
+ #: includes/customizer/class-wc-email-customizer.php:289
998
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
999
  msgid ""
1000
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1001
  "{customer_last_name}, {customer_username}, {order_number}"
1002
  msgstr ""
1003
+ "налични променливи: {site_title}, {customer_email}, {customer_first_name}, "
1004
+ "{customer_last_name}, {customer_username}, {order_number}"
1005
 
1006
+ #: includes/customizer/class-wc-email-customizer.php:309
1007
  msgid "Display tracking details"
1008
+ msgstr "Показване на подробности за проследяване"
1009
 
1010
+ #: includes/customizer/class-wc-email-customizer.php:325
1011
  msgid "Display order details"
1012
+ msgstr "Показване на подробности за поръчката"
1013
 
1014
+ #: includes/customizer/class-wc-email-customizer.php:342
1015
  msgid "Display Shipping Address"
1016
+ msgstr "Показване на адрес за доставка"
1017
 
1018
+ #: includes/customizer/class-wc-email-customizer.php:359
1019
  msgid "Display Billing Address"
1020
+ msgstr "Показване на адрес за фактуриране"
1021
 
1022
+ #: includes/customizer/class-wc-email-customizer.php:376
1023
  msgid "Enable Google Analytics tracking"
1024
+ msgstr "Активиране на проследяването на Google Analytics"
1025
 
1026
+ #: includes/customizer/class-wc-email-customizer.php:394
1027
  msgid ""
1028
  "This will be appended to URL in the email content – e.g. "
1029
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1030
  msgstr ""
1031
+ "Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
1032
+ "utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
1033
 
1034
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1035
  msgid "Your order #{order_number} is Failed Attempt"
1036
  msgstr "Вашата поръчка № {order_number} е неуспешен опит"
1037
 
1038
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1039
  msgid ""
1040
  "Hi there. we thought you'd like to know that your recent order from "
1041
  "{site_title} is Failed Attempt"
1043
  "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1044
  "{site_title} е неуспешен опит"
1045
 
1046
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1047
  msgid "Failed Attempt shipment status email"
1048
  msgstr "Неуспешен опит за опит за изпращане на имейл"
1049
 
1050
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1051
  msgid "Enable Failed Attempt shipment status email"
1052
  msgstr "Активирайте имейла за неуспешен опит за пратка"
1053
 
1054
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1055
  msgid "Your order #{order_number} is in transit"
1056
  msgstr ""
1057
  "Вашата поръчка # {order_number} е в транзит\n"
1058
 
1059
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1060
  msgid ""
1061
  "Hi there. we thought you'd like to know that your recent order from "
1062
  "{site_title} is in transit"
1064
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1065
  "{site_title} е в транзит"
1066
 
1067
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1068
  msgid "In Transit shipment status email"
1069
  msgstr ""
1070
  "Електронна поща за статуса на транзитния транзит\n"
1071
 
1072
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1073
  msgid "Enable In Transit shipment status email"
1074
  msgstr "Активиране на имейла за статуса на пратка в транзит"
1075
 
1076
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1077
  msgid "Your order #{order_number} is out for delivery"
1078
  msgstr ""
1079
  "Вашата поръчка # {order_number} е за доставка\n"
1080
 
1081
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1082
  msgid ""
1083
  "Hi there. we thought you'd like to know that your recent order from "
1084
  "{site_title} is out for delivery."
1086
  "Здрасти. решихме, че искате да знаете, че скорошната ви поръчка от "
1087
  "{site_title} е за доставка.\n"
1088
 
1089
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1090
  msgid "Out For Delivery shipment status email"
1091
  msgstr "Out за доставка на пратка статус имейл"
1092
 
1093
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1094
  msgid "Enable Out For Delivery shipment status email"
1095
  msgstr ""
1096
  "Активиране на имейла за състоянието на пратката за доставка\n"
1097
 
1098
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1099
  msgid "Your order #{order_number} has returned to sender"
1100
  msgstr ""
1101
  "Вашата поръчка # {order_number} се върна на подателя\n"
1102
 
1103
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1104
  msgid ""
1105
  "Hi there. we thought you'd like to know that your recent order from "
1106
  "{site_title} has been returned to sender."
1108
  "Здрасти. смятаме, че искате да знаете, че скорошната Ви поръчка от "
1109
  "{site_title} е върната на подателя.\n"
1110
 
1111
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1112
  msgid "Return To Sender shipment status email"
1113
  msgstr "Връщане в имейла за състоянието на пратката на подателя"
1114
 
1115
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1116
  msgid "Enable Return To Sender shipment status email"
1117
  msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
1118
 
1119
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1120
+ #: includes/customizer/class-wc-tracking-info-customizer.php:381
1121
+ #: templates/emails/tracking-info.php:146
1122
+ #: templates/myaccount/tracking-info.php:92
1123
  msgid "Provider"
1124
  msgstr "доставчик"
1125
 
1126
+ #: includes/customizer/class-wc-tracking-info-customizer.php:145
1127
+ #: includes/customizer/class-wc-tracking-info-customizer.php:403
1128
+ #: templates/emails/tracking-info.php:176
1129
+ #: templates/myaccount/tracking-info.php:115
 
1130
  msgid "Tracking Number"
1131
  msgstr "Номер за проследяване"
1132
 
1133
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
1134
+ #: includes/customizer/class-wc-tracking-info-customizer.php:424
1135
  msgid "Shipped Date"
1136
  msgstr ""
1137
  "Дата на изпращане\n"
1138
 
1139
+ #: includes/customizer/class-wc-tracking-info-customizer.php:179
1140
  msgid ""
1141
  "select from last 20 orders one order that you added tracking info in order "
1142
  "to preview and design the tracking info table."
1145
  "информация за проследяване, за да визуализирате и проектирате "
1146
  "информационната таблица за проследяване.\n"
1147
 
1148
+ #: includes/customizer/class-wc-tracking-info-customizer.php:198
1149
+ #: includes/views/admin_options_settings.php:15
1150
+ #: includes/views/admin_options_trackship_integration.php:82
1151
+ msgid "General Settings"
1152
+ msgstr "Основни настройки"
1153
+
1154
+ #: includes/customizer/class-wc-tracking-info-customizer.php:213
1155
  msgid "Tracking Display Position"
1156
  msgstr "Проследяване на позицията на дисплея"
1157
 
1158
+ #: includes/customizer/class-wc-tracking-info-customizer.php:217
1159
  msgid "Before Order Details"
1160
  msgstr "Преди подробности за поръчката"
1161
 
1162
+ #: includes/customizer/class-wc-tracking-info-customizer.php:218
1163
  msgid "After Order Details"
1164
  msgstr "След подробности за поръчката"
1165
 
1166
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1167
  msgid "Main Header text"
1168
  msgstr "Текст на основния заглавие"
1169
 
1170
+ #: includes/customizer/class-wc-tracking-info-customizer.php:240
 
1171
  msgid "Tracking Information"
1172
  msgstr "Информация за проследяване"
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:255
1175
  msgid "Additional text after header"
1176
  msgstr "Допълнителен текст след заглавието"
1177
 
1178
+ #: includes/customizer/class-wc-tracking-info-customizer.php:276
1179
+ msgid "Table Content"
1180
+ msgstr "Съдържание на таблицата"
1181
 
1182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1183
  msgid "Display Shipment Provider image"
1184
  msgstr "Покажи изображението на доставчика на пратка"
1185
 
1186
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1187
+ msgid "Hide Shipment Provider name"
1188
+ msgstr "Скриване на името на доставчика на пратка"
1189
+
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:325
1191
  msgid "Hide date"
1192
  msgstr "Скриване на дата"
1193
 
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:342
1195
+ msgid "Table Header"
1196
+ msgstr "Заглавка на таблицата"
1197
+
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:357
1199
+ msgid "Hide Header"
1200
+ msgstr "Скриване на заглавието"
1201
+
1202
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1203
  msgid "Provider Header Text"
1204
  msgstr "Текст на заглавката на доставчика"
1205
 
1206
+ #: includes/customizer/class-wc-tracking-info-customizer.php:396
1207
  msgid "Tracking Number Header Text"
1208
  msgstr "Текст на заглавния номер на проследяването"
1209
 
1210
+ #: includes/customizer/class-wc-tracking-info-customizer.php:417
1211
  msgid "Shipped Date Header Text"
1212
  msgstr "Текст на заглавката на датата"
1213
 
1214
+ #: includes/customizer/class-wc-tracking-info-customizer.php:439
1215
+ msgid "Use tracking number as a link"
1216
+ msgstr "Използвайте проследяващия номер като връзка"
1217
+
1218
+ #: includes/customizer/class-wc-tracking-info-customizer.php:456
1219
  msgid "Track Label"
1220
  msgstr "Етикет за проследяване"
1221
 
1222
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1223
  msgid "Track Header Text"
1224
  msgstr "Текст на заглавието на трака"
1225
 
1226
+ #: includes/customizer/class-wc-tracking-info-customizer.php:495
1227
+ msgid "Table header font size"
1228
+ msgstr "Размер на шрифта на заглавката на таблицата"
1229
+
1230
+ #: includes/customizer/class-wc-tracking-info-customizer.php:512
1231
+ msgid "Table header font color"
1232
+ msgstr "Цвят на шрифта на заглавката на таблицата"
1233
+
1234
+ #: includes/customizer/class-wc-tracking-info-customizer.php:528
1235
  msgid "Table Design"
1236
  msgstr ""
1237
  "Изображение на доставчика\n"
1238
 
1239
+ #: includes/customizer/class-wc-tracking-info-customizer.php:543
1240
  msgid "Padding"
1241
  msgstr ""
1242
  "подложка\n"
1243
 
1244
+ #: includes/customizer/class-wc-tracking-info-customizer.php:563
1245
  msgid "Background color"
1246
  msgstr "Цвят на фона"
1247
 
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1249
  msgid "Border color"
1250
  msgstr "Цвят на границата"
1251
 
1252
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1253
  msgid "Border size"
1254
  msgstr "Размер на границата"
1255
 
1256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:631
 
 
 
 
 
 
1257
  msgid "Table text align"
1258
  msgstr "Подравняване на текста на таблицата"
1259
 
1260
+ #: includes/customizer/class-wc-tracking-info-customizer.php:654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1261
  msgid "Table content font size"
1262
  msgstr "Размер на шрифта на съдържанието на таблицата"
1263
 
1264
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1265
  msgid "Table content font color"
1266
  msgstr "Цвят на шрифта на съдържанието на таблицата"
1267
 
1268
+ #: includes/customizer/class-wc-tracking-info-customizer.php:687
1269
  msgid "Content line height"
1270
  msgstr ""
1271
  "Височина на линията на съдържанието\n"
1272
 
1273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:708
1274
  msgid "Content font weight"
1275
  msgstr ""
1276
  "Тегло на шрифта на съдържанието\n"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:730
1279
+ msgid "Track Button Design"
1280
+ msgstr "Проследяване на дизайн на бутони"
1281
 
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1283
  msgid "Track Link Font Color"
1284
  msgstr "Цвят на шрифта за връзка"
1285
 
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:760
1287
  msgid "Track Link Background Color"
1288
  msgstr "Цвят на фона на проследяване на връзката"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:775
1291
  msgid "Track link Border"
1292
  msgstr "Проследяване на връзката Граница"
1293
 
1294
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1295
+ msgid "Your {site_title} order is now partially shipped"
1296
+ msgstr "Поръчката ви {site_title} вече е частично доставена"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1297
 
1298
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1299
+ msgid ""
1300
+ "Hi there. we thought you'd like to know that your recent order from "
1301
+ "{site_title} has been Partially Shipped."
1302
  msgstr ""
1303
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1304
+ "{site_title} е частично изпратена."
 
 
 
 
 
 
 
 
 
 
 
1305
 
1306
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1307
+ msgid "Enable Partially Shipped order status email"
1308
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
1309
 
1310
  #: includes/emails/class-shipment-delivered-email.php:32
1311
  msgid "Delivered order"
1312
+ msgstr "Доставена поръчка"
1313
 
1314
  #: includes/emails/class-shipment-delivered-email.php:33
1315
  msgid ""
1316
  "Order delivered emails are sent to customers when their orders are marked "
1317
  "delivered and usually indicate that their orders have been shipped."
1318
  msgstr ""
1319
+ "Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
1320
+ "са маркирани доставени и обикновено показват, че поръчките им са изпратени."
1321
 
1322
+ #: includes/emails/class-shipment-delivered-email.php:280
1323
+ msgid "Click Here"
1324
+ msgstr "Натисни тук"
1325
 
1326
+ #: includes/emails/class-shipment-delivered-email.php:281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1327
  msgid "Edit in customizer"
1328
+ msgstr "Редактиране в персонализатора"
1329
 
1330
+ #: includes/views/admin_options_bulk_upload.php:10
1331
  msgid "Upload CSV"
1332
  msgstr "Качете CSV"
1333
 
1334
+ #: includes/views/admin_options_bulk_upload.php:20
1335
  msgid ""
1336
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1337
  "added)"
1339
  "Да се ​​промени ли информацията за проследяване, ако съществува? (ако не е "
1340
  "отметнато, информацията за проследяване ще бъде добавена)"
1341
 
1342
+ #: includes/views/admin_options_bulk_upload.php:29
1343
+ #: includes/views/admin_options_shipping_provider.php:119
1344
+ #: includes/views/admin_options_shipping_provider.php:156
1345
  msgid "Upload"
1346
  msgstr "Качи"
1347
 
1348
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1349
  msgid "Settings Saved."
1350
  msgstr "Настройките са запазени."
1351
 
1352
+ #: includes/views/admin_options_bulk_upload.php:41
1353
+ msgid "Upload Progress - "
1354
+ msgstr "Качване на напредъка -"
1355
+
1356
+ #: includes/views/admin_options_bulk_upload.php:50
1357
+ msgid "Sample CSV"
1358
+ msgstr "Примерен CSV"
1359
+
1360
+ #: includes/views/admin_options_bulk_upload.php:55
1361
  msgid "You can download an example of the csv file:"
1362
  msgstr "Можете да изтеглите пример за csv файл:"
1363
 
1364
+ #: includes/views/admin_options_bulk_upload.php:58
1365
  msgid "Download sample csv file"
1366
  msgstr "Изтеглете примерния файл csv"
1367
 
1368
+ #: includes/views/admin_options_bulk_upload.php:63
1369
  msgid ""
1370
  "For detailed instructions on how to upload tracking info in bulk, see our"
1371
  msgstr ""
1372
  "За подробни инструкции за това как да качите информация за проследяване в "
1373
  "насипно състояние, вижте нашата"
1374
 
1375
+ #: includes/views/admin_options_settings.php:26
1376
+ #: includes/views/admin_options_settings.php:74
1377
+ #: includes/views/admin_options_settings.php:100
1378
+ #: includes/views/admin_options_trackship_integration.php:93
1379
+ #: includes/views/admin_options_trackship_integration.php:124
1380
+ msgid "Save Changes"
1381
+ msgstr "Запазите промените"
1382
 
1383
+ #: includes/views/admin_options_settings.php:40
1384
+ msgid "Tracking Info Display"
1385
+ msgstr "Информация за проследяване на информация"
1386
 
1387
+ #: includes/views/admin_options_settings.php:49
1388
+ msgid "You can customize the tracking info display on emails and my account"
1389
+ msgstr ""
1390
+ "Можете да персонализирате показването на информация за проследяване на "
1391
+ "имейли и моя акаунт"
1392
+
1393
+ #: includes/views/admin_options_settings.php:52
1394
+ msgid "Launch Customizer"
1395
+ msgstr "Стартирайте персонализатора"
1396
 
1397
+ #: includes/views/admin_options_settings.php:62
 
1398
  msgid "Delivered Order Status"
1399
  msgstr "Състояние на поръчката за доставка"
1400
 
1401
+ #: includes/views/admin_options_settings.php:88
1402
+ msgid "Partially Shipped Order Status"
1403
+ msgstr "Частично изпратено състояние на поръчката"
 
 
 
 
 
 
1404
 
1405
+ #: includes/views/admin_options_settings.php:94
1406
+ #, php-format
1407
+ msgid ""
1408
+ "<strong>PLEASE NOTE</strong> - If you use the custom order status "
1409
+ "\"Partially Shipped\", when you deactivate the plugin, you must register "
1410
+ "this order status in function.php in order to see these orders in the orders "
1411
+ "admin. You can find the <a href=\"%s\" target=\"blank\">snippet</a> to use "
1412
+ "in functions.php here or you can manually change all your \"Partially "
1413
+ "Shipped\" order to \"completed\" before deactivating the plugin."
1414
+ msgstr ""
1415
+ "<strong> МОЛЯ ЗАБЕЛЕЖКА </strong> - Ако използвате статуса на поръчка за "
1416
+ "поръчка „Частично изпратен“, когато деактивирате приставката, трябва да "
1417
+ "регистрирате това състояние на поръчката в function.php, за да видите тези "
1418
+ "поръчки в администратора на поръчки. Можете да намерите <a href=\"%s\" "
1419
+ "target=\"blank\"> фрагмент </a>, който да използвате в функции.php тук, или "
1420
+ "можете ръчно да промените цялата си поръчка „Частично изпратена“ на "
1421
+ "„завършена“, преди да деактивирате приставката ,"
1422
+
1423
+ #: includes/views/admin_options_shipping_provider.php:12
1424
+ #: includes/views/admin_options_shipping_provider.php:23
1425
+ #: includes/views/admin_options_addons.php:109
1426
+ msgid "Active"
1427
+ msgstr "Активен"
1428
+
1429
+ #: includes/views/admin_options_shipping_provider.php:13
1430
+ #: includes/views/admin_options_shipping_provider.php:23
1431
+ msgid "Inactive"
1432
+ msgstr "неактивен"
1433
+
1434
+ #: includes/views/admin_options_shipping_provider.php:14
1435
+ msgid "Custom"
1436
+ msgstr "Персонализиран"
1437
+
1438
+ #: includes/views/admin_options_shipping_provider.php:21
1439
+ msgid "Add Custom Provider"
1440
+ msgstr "Добавете персонализиран доставчик"
1441
+
1442
+ #: includes/views/admin_options_shipping_provider.php:22
1443
+ #: includes/views/admin_options_shipping_provider.php:176
1444
+ #: includes/views/admin_options_shipping_provider.php:183
1445
+ msgid "Sync Shipping Providers"
1446
+ msgstr "Синхронизирайте доставчиците на доставка"
1447
+
1448
+ #: includes/views/admin_options_shipping_provider.php:23
1449
+ msgid "Reset"
1450
+ msgstr "Нулиране"
1451
+
1452
+ #: includes/views/admin_options_shipping_provider.php:27
1453
+ msgid "Search by provider / country"
1454
+ msgstr "Търсене по доставчик / държава"
1455
 
1456
+ #: includes/views/admin_options_shipping_provider.php:101
1457
  msgid "Add Custom Shipping Provider"
1458
  msgstr "Добавете Потребителски доставчик"
1459
 
1460
+ #: includes/views/admin_options_shipping_provider.php:108
1461
+ #: includes/views/admin_options_shipping_provider.php:145
1462
+ msgid "Shipping Country"
1463
  msgstr "Страна на доставка"
1464
 
1465
+ #: includes/views/admin_options_shipping_provider.php:109
1466
+ #: includes/views/admin_options_shipping_provider.php:146
1467
  msgid "Global"
1468
+ msgstr "в световен мащаб"
1469
+
1470
+ #: includes/views/admin_options_shipping_provider.php:125
1471
+ #: includes/views/admin_options_shipping_provider.php:162
1472
+ msgid "How to add Tracking URL"
1473
+ msgstr "Как да добавите проследяващ URL адрес"
1474
 
1475
+ #: includes/views/admin_options_shipping_provider.php:138
1476
  msgid "Edit Custom Shipping Provider"
1477
  msgstr "Редактиране на доставчик по поръчка"
1478
 
1479
+ #: includes/views/admin_options_shipping_provider.php:177
1480
+ msgid ""
1481
+ "Syncing the shipping providers list add or updates the pre-set shipping "
1482
+ "providers and will not effect custom shipping providers."
1483
+ msgstr ""
1484
+ "Синхронизирането на списъка на доставчиците на доставки добавя или "
1485
+ "актуализира предварително зададените доставчици за доставка и няма да "
1486
+ "повлияе на доставчиците по поръчка."
1487
 
1488
+ #: includes/views/admin_options_shipping_provider.php:179
1489
  msgid "Providers Added"
1490
  msgstr "Доставчиците са добавени"
1491
 
1492
+ #: includes/views/admin_options_shipping_provider.php:180
1493
  msgid "Providers Updated"
1494
  msgstr "Актуализирани доставчици"
1495
 
1496
+ #: includes/views/admin_options_shipping_provider.php:181
1497
  msgid "Providers Deleted"
1498
  msgstr "Доставчиците са изтрити"
1499
 
1500
+ #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
1501
  msgid "Tracking Page"
1502
  msgstr "Страница за проследяване"
1503
 
1504
+ #: includes/views/admin_options_trackship_integration.php:117
 
 
 
 
1505
  msgid "Click to preview the tracking page"
1506
  msgstr "Кликнете, за да визуализирате проследяващата страница"
1507
 
1508
+ #: includes/views/admin_options_trackship_integration.php:118
1509
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1510
  msgstr ""
1511
  "МОЛЯ ЗАБЕЛЕЖКА - не забравяйте да запазите настройките си преди визуализация."
1512
 
1513
+ #: includes/views/admin_options_trackship_integration.php:137
1514
  msgid "Shipment Status Notifications "
1515
  msgstr "Известия за състоянието на пратката"
1516
 
1517
+ #: includes/views/admin_options_trackship_integration.php:163
1518
  msgid ""
1519
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1520
  "the way."
1521
  msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
1522
 
1523
+ #: includes/views/admin_options_trackship_integration.php:177
1524
  msgid "Shipment is returned to sender"
1525
  msgstr "Пратката се връща на подателя"
1526
 
1527
+ #: includes/views/admin_options_trackship_integration.php:191
1528
  msgid "The shipment is ready to pickup."
1529
  msgstr "Пратката е готова за пикап."
1530
 
1531
+ #: includes/views/admin_options_trackship_integration.php:204
1532
  msgid "Carrier is about to deliver the shipment"
1533
  msgstr "Превозвачът е на път да достави пратката"
1534
 
1535
+ #: includes/views/admin_options_trackship_integration.php:218
1536
  msgid "The shipment was delivered successfully"
1537
  msgstr "Пратката е доставена успешно"
1538
 
1539
+ #: includes/views/admin_options_trackship_integration.php:219
1540
  msgid ""
1541
  "You already have delivered email enabled, to enable this email you'll need "
1542
  "to disable the order status delivered in settings."
1544
  "Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
1545
  "трябва да деактивирате състоянието на поръчката, доставена в настройките."
1546
 
1547
+ #: includes/views/admin_options_trackship_integration.php:233
1548
  msgid ""
1549
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1550
  "will try to deliver the package again."
1552
  "Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
1553
  "ще се опита да достави пакета отново."
1554
 
1555
+ #: includes/views/admin_options_tools.php:22
1556
+ msgid ""
1557
+ "You can send all your orders from the last 30 days to get shipment status "
1558
+ "from TrackShip:"
 
 
1559
  msgstr ""
1560
+ "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1561
+ "статус на пратката от TrackShip:"
1562
 
1563
+ #: includes/views/admin_options_addons.php:20
1564
+ msgid "TrackShip"
1565
+ msgstr "TrackShip"
1566
 
1567
+ #: includes/views/admin_options_addons.php:90
1568
+ msgid "Upgrade Now"
1569
+ msgstr "Надстройте сега"
1570
 
1571
+ #: includes/views/admin_options_addons.php:110
1572
+ msgid "Deactivate"
1573
+ msgstr "Деактивиране"
1574
 
1575
+ #: includes/views/admin_options_addons.php:112
1576
+ msgid "Activate"
1577
+ msgstr "Активирате"
1578
+
1579
+ #: templates/emails/tracking-info.php:170
1580
+ msgid "Provider Name"
1581
+ msgstr "Provider Name"
1582
 
1583
  #. %s: Order ID.
1584
+ #: templates/emails/wcast-email-order-details.php:47
1585
  #, php-format
1586
  msgid "Order number: %s"
1587
  msgstr ""
1588
  "Номер на поръчката:% s\n"
1589
 
1590
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1591
+ msgid "Cannot create existing order shipment tracking."
1592
+ msgstr "Cannot create existing order shipment tracking."
1593
+
1594
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1595
+ msgid "Invalid order ID."
1596
+ msgstr "Невалиден идентификационен номер на поръчката."
1597
+
1598
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1599
+ msgid "Special character not allowd in tracking number"
1600
+ msgstr "Специален знак не е разрешен в проследяващия номер"
1601
+
1602
+ #. Name of the plugin
1603
+ msgid "Advanced Shipment Tracking for WooCommerce"
1604
  msgstr ""
 
1605
 
1606
+ #. Description of the plugin
1607
+ msgid ""
1608
+ "Add shipment tracking information to your WooCommerce orders and provide "
1609
+ "customers with an easy way to track their orders. Shipment tracking Info "
1610
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1611
+ "order complete email."
1612
+ msgstr ""
1613
+ "Добавете информация за проследяване на пратките към вашите поръчки в "
1614
+ "WooCommerce и осигурете на клиентите лесен начин за проследяване на техните "
1615
+ "поръчки. Информация за проследяване на пратката ще се появи в клиентските "
1616
+ "акаунти (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce."
1617
+
1618
+ #. Author of the plugin
1619
+ msgid "zorem"
1620
+ msgstr ""
lang/woo-advanced-shipment-tracking-da_DK.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-da_DK.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Danish\n"
9
  "Language: da_DK\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ 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.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,8 +23,13 @@ msgstr ""
23
  "Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
24
  "Shipping Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
28
  #, php-format
29
  msgid ""
30
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -34,484 +39,403 @@ msgid ""
34
  "php here or you can manually change all your \"delivered\" order to "
35
  "\"completed\" before deactivating the plugin."
36
  msgstr ""
 
 
 
 
 
 
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "afsendt"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Sendt <span class = \"count\"> (% s) </ span>"
48
- msgstr[1] "Sendt <span class = \"count\"> (% s) </ span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Skift status til afsendt"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "leveres"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Leveret <span class = \"count\"> (% s) </ span>"
70
- msgstr[1] "Leveret <span class = \"count\"> (% s) </ span>"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Opdateret sporing"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
- #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
82
- msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </ span>"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Skift status til levering"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
89
  msgid "Shipment status"
90
  msgstr "Forsendelsesstatus"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
93
  msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Bestille"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Vare"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Linjepost"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "klasse"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Slet de valgte satser?"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Dupliker de valgte satser?"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Vil virkelig bulk ændre alle udbyder status?"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
  msgid "Data saved successfully."
129
  msgstr "Data gemmes med succes."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
132
  msgid "Really delete this entry? This will not be undo."
133
  msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
134
 
135
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
136
  msgid "You can upload only csv file."
137
  msgstr "Du kan kun uploade csv-filen."
138
 
139
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
140
  msgid "This browser does not support HTML5."
141
  msgstr "Denne browser understøtter ikke HTML5."
142
 
143
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
144
  msgid "Please upload a valid CSV file."
145
  msgstr "Upload venligst en gyldig CSV-fil."
146
 
147
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
148
  msgid "Shipping Providers"
149
  msgstr "Forsendelsesleverandører"
150
 
151
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
152
- msgid "Settings"
153
- msgstr "Indstillinger"
154
-
155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
156
  msgid "Bulk Upload"
157
- msgstr "Bulk Upload"
158
 
159
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
160
- msgid "TrackShip"
161
- msgstr ""
162
 
163
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
164
  msgid "Connected"
165
  msgstr ""
166
  "forbundet\n"
167
 
168
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
169
- msgid ""
170
- "Auto-track all your shipments, get real-time shipment tracking updates "
171
- "without leaving your stores admin."
172
- msgstr ""
173
- "Auto-spor alle dine forsendelser, få opdateringsopdateringer i realtid uden "
174
- "at forlade dine butikker.\n"
175
-
176
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
177
  #, php-format
178
- msgid ""
179
- "You must have account and connect your store to %s in order to activate "
180
- "these advanced features."
181
- msgstr ""
182
- "Du skal have en konto og forbinde din butik til% s for at aktivere disse "
183
- "avancerede funktioner.\n"
 
 
 
 
184
 
185
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
186
  #, php-format
187
- msgid "50 free Trackers for every new account! Get your %s account now>>"
188
- msgstr ""
189
- "50 gratis Trackers for hver ny konto! Få din% s konto nu >>\n"
190
 
191
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
192
- msgid "TrackShip Connection Status"
193
- msgstr "TrackShip-forbindelsesstatus"
 
194
 
195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
196
- #: includes/emails/class-shipment-delivered-email.php:226
197
  msgid "Enable/Disable"
198
  msgstr "Aktivere deaktivere"
199
 
200
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
201
  msgid "Set order status Delivered when order is delivered"
202
- msgstr ""
203
- "Indstil ordrestatus Leveres, når ordren leveres\n"
204
-
205
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
206
- #, php-format
207
- msgid ""
208
- "You have %s %s orders that you can track with TrackShip, you can send these "
209
- "shipments to TrackShip in Bulk."
210
- msgstr ""
211
-
212
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
213
- msgid "Get Shipment Status"
214
- msgstr ""
215
 
216
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
217
  msgid ""
218
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
219
  "for the tracking page to work."
220
  msgstr ""
 
 
221
 
222
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
223
  msgid "Select Tracking Page"
224
- msgstr ""
225
- "Vælg Sporingsside\n"
226
-
227
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
228
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
229
- msgid "Remove Trackship branding from tracking page"
230
- msgstr ""
231
- "Fjern Trackship branding fra sporingsside\n"
232
 
233
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
234
  msgid "Use the tracking page in the customer email/my account tracking link"
235
- msgstr ""
236
- "Brug sporingssiden i kundens email / min konto tracking link\n"
237
 
238
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
239
  msgid "Select primary color for tracking page"
240
- msgstr ""
241
- "Vælg primær farve til sporingsside\n"
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
244
  msgid "Select content border color for tracking page"
245
- msgstr ""
246
- "Vælg indholdsfarvefarve for sporingsside\n"
247
 
248
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
249
- msgid ""
250
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
251
- "state"
252
- msgstr ""
 
 
253
 
254
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
255
  msgid ""
256
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
257
  "will be selected by default when adding tracking info to orders."
258
  msgstr ""
 
 
259
 
260
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
261
- msgid "Completed"
262
- msgstr "afsluttet"
263
-
264
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
265
- msgid ""
266
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
267
- "state"
268
  msgstr ""
 
269
 
270
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
271
  msgid ""
272
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
273
  "will be selected by default when adding tracking info to orders."
274
  msgstr ""
 
 
275
 
276
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
277
  msgid "Rename the “Completed” Order status to “Shipped”"
278
- msgstr "Omdøb \"Afsluttet\" Ordre status til \"Sendt\""
279
 
280
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
281
- msgid "On which customer order status email to include tracking info?"
282
- msgstr "På hvilken kundeordres status-e-mail for at inkludere sporingsinfo?"
283
-
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
285
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
286
- msgid "Cancelled"
287
- msgstr "Aflyst"
288
-
289
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
290
- msgid "Customer Invoice"
291
- msgstr "Kundefaktura"
292
-
293
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
294
- msgid "Refunded"
295
- msgstr "refunderet"
296
-
297
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
298
- msgid "Processing"
299
- msgstr "Forarbejdning"
300
-
301
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
302
- msgid "Failed"
303
- msgstr "mislykkedes"
304
 
305
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
306
  msgid "Show tracking info in Invoice"
307
  msgstr "Vis sporingsinfo i faktura"
308
 
309
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
310
  msgid "Show tracking info in Packing Slip"
311
  msgstr "Vis sporingsinfo i pakkeseddel"
312
 
313
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
314
- msgid "Enable a New Custom order status - “Delivered"
315
- msgstr "Aktivér en ny brugerdefineret ordrestatus - \"Leveret\""
316
 
317
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
318
  msgid ""
319
  "if you enable the delivered item, you will have the option to send delivered "
320
  "email notifications."
321
  msgstr ""
322
- "Hvis du aktiverer den leverede vare, har du mulighed for at sende leverede "
323
- "email-meddelelser."
324
 
325
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
326
- msgid "Delivered Status Label color"
327
- msgstr "Leveret Status Label farve"
328
 
329
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
330
- #: includes/customizer/class-wcast-customizer.php:58
331
- #: includes/customizer/class-wc-email-customizer.php:155
332
- msgid "Delivered order status email"
333
- msgstr ""
334
- "Leveret ordre status email\n"
335
 
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
337
- #: includes/views/admin_options_trackship_integration.php:80
338
- #: includes/views/admin_options_trackship_integration.php:94
339
- #: includes/views/admin_options_trackship_integration.php:108
340
- #: includes/views/admin_options_trackship_integration.php:121
341
- #: includes/views/admin_options_trackship_integration.php:135
342
- #: includes/views/admin_options_trackship_integration.php:150
343
- msgid "Edit"
344
- msgstr "Editar"
345
-
346
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
347
- msgid ""
348
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
349
- "plugin"
350
- msgstr "Skift \"Leverede\" ordrer til \"Afsluttet\", når du deaktiverer plugin"
351
 
352
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
353
- msgid "No, I will use the snippet"
354
- msgstr "Nej, jeg vil bruge uddraget"
 
355
 
356
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
357
- msgid "Yes, change all Delivered orders to Completed"
358
- msgstr "Ja, skift alle leverede ordrer til Afsluttet"
359
 
360
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
361
- #, php-format
 
 
 
362
  msgid ""
363
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
364
- "deactivate the plugin, you must register this order status in function.php "
365
- "in order to see these orders in the orders admin. You can find the snippet "
366
- "to use in functions.php %s or we can set to change all your \"delivered\" "
367
- "order to \"completed\"."
368
- msgstr ""
369
- "BEMÆRK - Hvis du bruger den tilpassede ordrestatus \"Leveret\", skal du "
370
- "registrere denne ordrestatus i function.php, når du deaktiverer plugin'en "
371
- "for at se disse ordrer i ordreadministratoren. Du kan finde kodestykket at "
372
- "bruge i functions.php% s eller vi kan indstille til at ændre al din "
373
- "\"leverede\" ordre til \"afsluttet\"."
374
-
375
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
376
- msgid "Get shipment status"
377
- msgstr ""
378
- " forsendelsesstatus\n"
379
-
380
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
381
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
382
- #: includes/customizer/class-wcast-customizer.php:74
383
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
384
- #: includes/views/admin_options_trackship_integration.php:79
 
385
  msgid "In Transit"
386
  msgstr "Undervejs"
387
 
388
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
389
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
390
- #: includes/customizer/class-wcast-customizer.php:66
391
  msgid "Pre Transit"
392
  msgstr ""
393
  "Pre Transit\n"
394
 
395
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
396
- msgid "Out for delivery"
397
- msgstr ""
398
- "Ud for levering\n"
 
 
 
 
 
 
399
 
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
401
- #: includes/customizer/class-wcast-customizer.php:89
402
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
403
- #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
 
 
 
 
404
  msgid "Available For Pickup"
405
  msgstr ""
406
  "Klar til afhentning\n"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
409
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
410
- #: includes/customizer/class-wcast-customizer.php:82
411
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
412
- #: includes/views/admin_options_trackship_integration.php:93
413
  msgid "Return To Sender"
414
  msgstr ""
415
  "Retur til Afsender\n"
416
 
417
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
418
- msgid "Delivery Failure"
419
- msgstr ""
420
- "Leveringsfejl\n"
 
 
 
421
 
422
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
423
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
424
  msgid "Unknown"
425
  msgstr "Ukendt"
426
 
427
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
428
  msgid "Pending TrackShip"
429
- msgstr ""
430
- "Afventer TrackShip\n"
431
 
432
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
433
- msgid "Invalid Tracking"
434
- msgstr ""
435
- "Ugyldig sporing\n"
436
 
437
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
438
- msgid "Carrier unsupported"
439
- msgstr ""
440
- "Carrier understøttes ikke\n"
441
 
442
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
443
  msgid "Invalid User Key"
444
- msgstr ""
445
 
446
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
447
- msgid "Resend delivered order notification"
448
- msgstr "Send leveret ordreanmeldelse igen"
449
 
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
451
  msgid "Shipped Order"
452
- msgstr "Sendt ordre"
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
455
  msgid "Mark order as delivered"
456
- msgstr "Markér ordre som leveret"
457
 
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
459
  msgid "Add Tracking"
460
- msgstr ""
461
 
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
463
  msgid "Change order status to"
464
  msgstr "Skift ordrestatus til"
465
 
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
467
- #: includes/views/admin_options_shipping_provider.php:88
468
  #, php-format
469
  msgid "You don't have any %s shipping providers."
470
  msgstr "Du har ikke% s forsendelsesudbydere."
471
 
472
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
473
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
474
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
 
 
 
 
475
  msgid "view details"
476
- msgstr "Se detaljer"
477
 
478
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
480
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
481
  msgid "hide details"
482
  msgstr "Gem detaljer"
483
 
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
485
- msgid "Available for Pickup"
486
- msgstr ""
487
-
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
489
- msgid "Out for Delivery"
490
- msgstr ""
491
-
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
493
- #: includes/customizer/class-wcast-customizer.php:112
494
- #: includes/customizer/class-wc-failure-email-customizer.php:113
495
- #: includes/views/admin_options_trackship_integration.php:149
496
- msgid "Failed Attempt"
497
- msgstr "Mislykket forsøg"
498
-
499
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
500
- msgid "Carrier Unsupported"
501
- msgstr ""
502
-
503
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
504
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
505
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
506
- msgid "Invalid Tracking Number"
507
- msgstr ""
508
- "Ugyldigt sporingsnummer\n"
509
-
510
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
511
  msgid "Filter by shipment status"
512
- msgstr ""
513
 
514
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
515
  msgid ""
516
  "To track your order please enter your Order ID in the box below and press "
517
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -521,179 +445,334 @@ msgstr ""
521
  "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
522
  "den bekræftelses e-mail, du skulle have modtaget.\n"
523
 
524
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
525
- msgid "Order ID"
526
- msgstr ""
527
- "Ordre ID\n"
528
-
529
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
530
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
531
  msgid "Found in your order confirmation email."
532
  msgstr ""
533
  "Findes i din ordrebekræftelses-email.\n"
534
 
535
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
536
  msgid "Order Email"
537
  msgstr ""
538
  "Bestil Email\n"
539
 
540
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
541
- #: includes/class-wc-advanced-shipment-tracking.php:260
542
- #: includes/class-wc-advanced-shipment-tracking.php:637
543
- #: includes/class-wc-advanced-shipment-tracking.php:763
544
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
545
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
546
- #: includes/views/html-tracking-info-design-preview.php:69
547
- #: templates/emails/tracking-info.php:152
548
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
549
  msgid "Track"
550
  msgstr "Spor pakke"
551
 
552
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
553
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
554
  #, php-format
555
  msgid "Shipment - %s (out of %s)"
556
  msgstr ""
557
  "Forsendelse -% s (ud af% s)\n"
558
 
559
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
560
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
561
- msgid "Order: "
562
- msgstr "Bestille:"
563
-
564
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
565
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
566
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
567
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
568
  msgid "Estimated Delivery Date: "
569
  msgstr "Forventet leveringsdato:"
570
 
571
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
572
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
 
573
  msgid "Tracking Details"
574
  msgstr "Sporingsdetaljer"
575
 
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
578
  msgid "view more"
579
  msgstr "Se mere"
580
 
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
582
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
583
  msgid "view less"
584
  msgstr "se mindre"
585
 
586
- #. esc_html__( '%1$s %2$s.' ),
587
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
588
- #, php-format
589
- msgid ""
590
- "We added many improvements to %1$s, please help and give us a review :) "
591
- "Thanks!"
592
- msgstr ""
593
- "Vi tilføjede mange forbedringer til% 1 $ s, hjælp venligst og giv os en "
594
- "anmeldelse :) Tak!"
595
 
596
- #: includes/class-wc-advanced-shipment-tracking.php:93
597
- #: includes/class-wc-advanced-shipment-tracking.php:244
598
- #: includes/customizer/class-wcast-customizer.php:30
 
 
 
 
599
  msgid "Shipment Tracking"
600
  msgstr "Forsendelsessporing"
601
 
602
- #: includes/class-wc-advanced-shipment-tracking.php:179
603
- #: includes/class-wc-advanced-shipment-tracking.php:351
604
- msgid "Change order to Shipped?"
605
- msgstr ""
 
606
 
607
- #: includes/class-wc-advanced-shipment-tracking.php:181
608
- #: includes/class-wc-advanced-shipment-tracking.php:353
609
- msgid "Change order to Completed?"
610
- msgstr ""
 
 
 
 
 
 
611
 
612
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
613
  msgid "Add Tracking Number"
614
- msgstr ""
615
 
616
- #: includes/class-wc-advanced-shipment-tracking.php:191
617
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
618
  msgid "Provider:"
619
  msgstr "udbyder:"
620
 
621
- #: includes/class-wc-advanced-shipment-tracking.php:211
622
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
623
  msgid "Tracking number:"
624
  msgstr "Tracking nummer:"
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:217
627
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
628
  msgid "Date shipped:"
629
  msgstr "Dato afsendt:"
630
 
631
- #: includes/class-wc-advanced-shipment-tracking.php:260
632
- #: templates/pip/tracking-info.php:23
633
- msgid "Click here to track your shipment"
634
- msgstr "Klik her for at spore din forsendelse"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
635
 
636
  #. 1: shipping date
637
- #: includes/class-wc-advanced-shipment-tracking.php:268
638
- #: templates/pip/tracking-info.php:29
639
  #, php-format
640
  msgid "Shipped on %s"
641
  msgstr "Sendes på% s"
642
 
643
- #: includes/class-wc-advanced-shipment-tracking.php:269
644
- msgid "Delete"
645
- msgstr "Slet"
646
-
647
- #: includes/class-wc-advanced-shipment-tracking.php:365
648
  msgid "Add Tracking Info"
649
  msgstr "Tilføj sporingsinfo"
650
 
651
- #: includes/class-wc-advanced-shipment-tracking.php:370
652
  msgid "Select Provider"
653
  msgstr "Vælg Udbyder"
654
 
655
- #: includes/class-wc-advanced-shipment-tracking.php:430
656
  msgid "Save Tracking"
657
  msgstr "Gem sporing"
658
 
659
- #: includes/class-wc-advanced-shipment-tracking.php:431
660
  msgid "Preview:"
661
  msgstr "Eksempel:"
662
 
663
- #: includes/class-wc-advanced-shipment-tracking.php:431
664
- msgid "Click here to track shipment"
665
- msgstr "Klik her for at spore forsendelsen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
666
 
667
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
668
  msgid "Shipment Status Emails"
669
  msgstr "Sendingsstatus-e-mails"
670
 
671
- #: includes/customizer/class-wcast-customizer.php:50
672
  msgid "Tracking info display"
673
  msgstr ""
674
  "Tracking info display\n"
675
 
676
- #: includes/customizer/class-wcast-customizer.php:51
677
- msgid "This section lets you customize the Tracking Info display design."
678
- msgstr "Dette afsnit lader dig tilpasse skærmdesignet til sporingsinfo."
 
 
679
 
680
- #: includes/customizer/class-wcast-customizer.php:96
681
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
682
- #: includes/views/admin_options_trackship_integration.php:120
683
- msgid "Out For Delivery"
684
- msgstr "Ud for levering"
685
 
686
- #: includes/customizer/class-wcast-customizer.php:352
687
  msgid "Select order to preview"
688
  msgstr ""
689
  "Vælg rækkefølge for at forhåndsvise\n"
690
 
691
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
692
  msgid "Your order #{order_number} is available for pickup"
693
  msgstr ""
694
  "Din ordre # {order_number} er tilgængelig til afhentning\n"
695
 
696
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
697
  msgid ""
698
  "Hi there. we thought you'd like to know that your recent order from "
699
  "{site_title} is available for pickup."
@@ -701,224 +780,172 @@ msgstr ""
701
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
702
  "er tilgængelig til afhentning.\n"
703
 
704
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
705
  msgid "Available For Pickup shipment status email"
706
  msgstr ""
707
  "Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
708
 
709
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
710
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
711
- #: includes/customizer/class-wc-email-customizer.php:156
712
- #: includes/customizer/class-wc-failure-email-customizer.php:145
713
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
714
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
715
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
716
  msgid "This section lets you customize the Email Content."
717
  msgstr ""
718
  "Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
719
 
720
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
721
  msgid "Enable Available For Pickup shipment status email"
722
  msgstr ""
723
  "Aktivér tilgængelig for afhentningsstatus for e-mail\n"
724
 
725
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
726
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
727
- #: includes/customizer/class-wc-email-customizer.php:189
728
- #: includes/customizer/class-wc-failure-email-customizer.php:175
729
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
730
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
731
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
732
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
733
  msgid "Preview order"
734
  msgstr ""
735
  "Forhåndsvis rækkefølge\n"
736
 
737
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
738
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
739
- #: includes/customizer/class-wc-failure-email-customizer.php:196
740
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
741
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
742
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
743
- msgid "To"
744
- msgstr "Til"
745
-
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
748
- #: includes/customizer/class-wc-failure-email-customizer.php:197
749
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
750
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
751
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
752
- msgid ""
753
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
754
- "can be separated by commas."
755
- msgstr ""
756
- "Indtast e-mails her eller brug variabler som {customer_email}. Flere e-mails "
757
- "kan adskilles med kommaer."
758
-
759
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
760
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
761
- #: includes/customizer/class-wc-email-customizer.php:218
762
- #: includes/customizer/class-wc-failure-email-customizer.php:203
763
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
764
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
765
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
766
  msgid "E.g. {customer.email}, admin@example.org"
767
  msgstr "F.eks {customer.email}, admin@example.org"
768
 
769
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
770
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
771
- #: includes/customizer/class-wc-email-customizer.php:234
772
- #: includes/customizer/class-wc-failure-email-customizer.php:218
773
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
774
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
775
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
776
- msgid "Email subject"
777
- msgstr "Email emne"
778
-
779
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
780
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
781
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
782
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
783
- #: includes/customizer/class-wc-failure-email-customizer.php:219
784
- #: includes/customizer/class-wc-failure-email-customizer.php:241
785
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
786
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
787
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
788
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
789
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
790
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
791
  msgid "Available placeholders: {site_title}, {order_number}"
792
  msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
793
 
794
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
795
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
796
- #: includes/customizer/class-wc-email-customizer.php:241
797
- #: includes/customizer/class-wc-failure-email-customizer.php:225
798
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
799
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
800
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
801
- msgid "Please enter email subject here"
802
- msgstr "Indtast venligst e-mail-emne her"
803
-
804
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
805
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
806
- #: includes/customizer/class-wc-email-customizer.php:257
807
- #: includes/customizer/class-wc-failure-email-customizer.php:240
808
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
809
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
810
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
811
- #: includes/emails/class-shipment-delivered-email.php:250
812
- msgid "Email heading"
813
- msgstr "E-mail overskrift"
814
-
815
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
816
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
817
- #: includes/customizer/class-wc-email-customizer.php:264
818
- #: includes/customizer/class-wc-failure-email-customizer.php:247
819
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
820
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
821
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
822
- msgid "Please enter email heading here"
823
- msgstr "Indtast venligst e-mail-overskrift her"
824
-
825
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
826
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
827
- #: includes/customizer/class-wc-failure-email-customizer.php:262
828
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
829
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
830
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
831
  msgid "Show tracking details"
832
  msgstr ""
833
  "Vis sporingsoplysninger\n"
834
 
835
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
836
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
837
- #: includes/customizer/class-wc-failure-email-customizer.php:278
838
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
839
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
840
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
841
  msgid "Show order details"
842
  msgstr ""
843
  "Vis bestilling detaljer\n"
844
 
845
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
846
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
847
- #: includes/customizer/class-wc-failure-email-customizer.php:294
848
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
849
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
850
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
851
  msgid "Show billing address"
852
  msgstr ""
853
  "Vis faktureringsadresse\n"
854
 
855
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
856
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
857
- #: includes/customizer/class-wc-failure-email-customizer.php:311
858
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
859
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
860
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
861
  msgid "Show shipping address"
862
  msgstr ""
863
  "Vis forsendelsesadresse\n"
864
 
865
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
866
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
867
- #: includes/customizer/class-wc-email-customizer.php:384
868
- #: includes/customizer/class-wc-failure-email-customizer.php:327
869
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
870
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
871
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
872
  msgid "Google Analytics link tracking"
873
- msgstr ""
874
-
875
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
876
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
877
- #: includes/customizer/class-wc-failure-email-customizer.php:328
878
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
879
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
880
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
881
  msgid "This will be appended to URL in the email content"
882
- msgstr ""
883
-
884
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
885
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
886
- #: includes/customizer/class-wc-email-customizer.php:280
887
- #: includes/customizer/class-wc-failure-email-customizer.php:349
888
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
889
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
890
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
891
  msgid "Email content"
892
  msgstr "Email indhold"
893
 
894
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
895
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
896
- #: includes/customizer/class-wc-email-customizer.php:405
897
- #: includes/customizer/class-wc-failure-email-customizer.php:369
898
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
899
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
900
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
 
901
  msgid "Available placeholders"
902
  msgstr ""
903
  "Tilgængelige pladsholdere\n"
904
 
905
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
906
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
907
- #: includes/customizer/class-wc-email-customizer.php:437
908
- #: includes/customizer/class-wc-failure-email-customizer.php:412
909
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
910
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
911
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
912
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
913
- msgid "Please select preview order."
914
- msgstr ""
915
- "Vælg venligst forhåndsvisningsordre.\n"
916
-
917
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
 
 
 
 
 
 
918
  msgid "Your order #{order_number} has been delivered"
919
- msgstr ""
920
 
921
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
922
  msgid ""
923
  "Hi there. we thought you'd like to know that your recent order from "
924
  "{site_title} has been Delivered."
@@ -926,95 +953,82 @@ msgstr ""
926
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
927
  "er blevet leveret.\n"
928
 
929
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
930
  msgid "Delivered shipment status email"
931
  msgstr ""
932
  "Leveret status for afsendelsesstatus\n"
933
 
934
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
935
  msgid "Enable Delivered shipment status email"
936
  msgstr ""
937
  "Aktivér leveret e-mail med leveringsstatus\n"
938
 
939
- #: includes/customizer/class-wc-email-customizer.php:122
940
- #: includes/emails/class-shipment-delivered-email.php:92
941
  msgid "Your {site_title} order is now delivered"
942
  msgstr ""
943
  "Din {site_title} ordre er nu leveret\n"
944
 
945
- #: includes/customizer/class-wc-email-customizer.php:123
946
- #: includes/emails/class-shipment-delivered-email.php:102
947
- msgid "Thanks for shopping with us"
948
- msgstr ""
949
- "Tak for at shoppe hos os\n"
950
-
951
- #: includes/customizer/class-wc-email-customizer.php:124
952
- msgid "Hi there. Your recent order on {site_title} has been delivered."
953
- msgstr ""
954
- "Hej. Din seneste ordre på {site_title} er blevet leveret.\n"
955
-
956
- #: includes/customizer/class-wc-email-customizer.php:171
957
  msgid "Enable Delivered order status email"
958
  msgstr ""
959
  "Aktivér leveret ordre status email\n"
960
 
961
- #: includes/customizer/class-wc-email-customizer.php:193
962
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
963
  msgid "Please select a order..."
964
  msgstr "Vælg venligst en ordre ..."
965
 
966
- #: includes/customizer/class-wc-email-customizer.php:211
967
- msgid "Receipts"
968
- msgstr ""
969
-
970
- #: includes/customizer/class-wc-email-customizer.php:212
971
- msgid ""
972
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
973
- "separated by commas."
974
- msgstr ""
975
-
976
- #: includes/customizer/class-wc-email-customizer.php:235
977
- #: includes/customizer/class-wc-email-customizer.php:258
978
  msgid "Available variables: {site_title}, {order_number}"
979
- msgstr ""
980
 
981
- #: includes/customizer/class-wc-email-customizer.php:281
 
982
  msgid ""
983
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
984
  "{customer_last_name}, {customer_username}, {order_number}"
985
  msgstr ""
 
 
986
 
987
- #: includes/customizer/class-wc-email-customizer.php:300
988
  msgid "Display tracking details"
989
- msgstr ""
990
 
991
- #: includes/customizer/class-wc-email-customizer.php:316
992
  msgid "Display order details"
993
- msgstr ""
994
 
995
- #: includes/customizer/class-wc-email-customizer.php:333
996
  msgid "Display Shipping Address"
997
- msgstr ""
998
 
999
- #: includes/customizer/class-wc-email-customizer.php:350
1000
  msgid "Display Billing Address"
1001
- msgstr ""
1002
 
1003
- #: includes/customizer/class-wc-email-customizer.php:367
1004
  msgid "Enable Google Analytics tracking"
1005
- msgstr ""
1006
 
1007
- #: includes/customizer/class-wc-email-customizer.php:385
1008
  msgid ""
1009
  "This will be appended to URL in the email content – e.g. "
1010
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1011
  msgstr ""
 
 
1012
 
1013
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1014
  msgid "Your order #{order_number} is Failed Attempt"
1015
  msgstr "Din ordre # {order_nummer} er mislykket"
1016
 
1017
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1018
  msgid ""
1019
  "Hi there. we thought you'd like to know that your recent order from "
1020
  "{site_title} is Failed Attempt"
@@ -1022,20 +1036,20 @@ msgstr ""
1022
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1023
  "mislykket forsøg"
1024
 
1025
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1026
  msgid "Failed Attempt shipment status email"
1027
  msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
1028
 
1029
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1030
  msgid "Enable Failed Attempt shipment status email"
1031
  msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
1032
 
1033
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1034
  msgid "Your order #{order_number} is in transit"
1035
  msgstr ""
1036
  "Din ordre # {order_number} er i transit\n"
1037
 
1038
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1039
  msgid ""
1040
  "Hi there. we thought you'd like to know that your recent order from "
1041
  "{site_title} is in transit"
@@ -1043,20 +1057,20 @@ msgstr ""
1043
  "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1044
  "er i transit"
1045
 
1046
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1047
  msgid "In Transit shipment status email"
1048
  msgstr ""
1049
  "I transitforsendelse status email\n"
1050
 
1051
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1052
  msgid "Enable In Transit shipment status email"
1053
  msgstr "Aktivér e-mail i transitforsendelsesstatus"
1054
 
1055
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1056
  msgid "Your order #{order_number} is out for delivery"
1057
  msgstr "Din ordre # {order_number} er ude for levering"
1058
 
1059
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1060
  msgid ""
1061
  "Hi there. we thought you'd like to know that your recent order from "
1062
  "{site_title} is out for delivery."
@@ -1064,20 +1078,20 @@ msgstr ""
1064
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1065
  "er ude for levering."
1066
 
1067
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1068
  msgid "Out For Delivery shipment status email"
1069
  msgstr ""
1070
  "Out For Delivery forsendelse status email\n"
1071
 
1072
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1073
  msgid "Enable Out For Delivery shipment status email"
1074
  msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
1075
 
1076
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1077
  msgid "Your order #{order_number} has returned to sender"
1078
  msgstr "Din ordre # {order_number} er returneret til afsenderen"
1079
 
1080
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1081
  msgid ""
1082
  "Hi there. we thought you'd like to know that your recent order from "
1083
  "{site_title} has been returned to sender."
@@ -1085,38 +1099,37 @@ msgstr ""
1085
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1086
  "er blevet returneret til afsenderen."
1087
 
1088
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1089
  msgid "Return To Sender shipment status email"
1090
  msgstr ""
1091
  "Returner til afsendelsesstatus for afsendelsesstatus\n"
1092
 
1093
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1094
  msgid "Enable Return To Sender shipment status email"
1095
  msgstr ""
1096
  "Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
1097
 
1098
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1099
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1100
- #: includes/views/html-tracking-info-design-preview.php:45
1101
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1102
  msgid "Provider"
1103
  msgstr "Fragtfirma"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1106
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1107
- #: includes/views/html-tracking-info-design-preview.php:46
1108
- #: templates/emails/tracking-info.php:134
1109
- #: templates/myaccount/view-order.php:111
1110
  msgid "Tracking Number"
1111
  msgstr "Tracking nummer"
1112
 
1113
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1114
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1115
  msgid "Shipped Date"
1116
  msgstr ""
1117
  "Afsendt dato\n"
1118
 
1119
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1120
  msgid ""
1121
  "select from last 20 orders one order that you added tracking info in order "
1122
  "to preview and design the tracking info table."
@@ -1125,248 +1138,193 @@ msgstr ""
1125
  "sporingsoplysninger for at forhåndsvise og designe "
1126
  "sporingsinformatortabellen."
1127
 
1128
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1129
  msgid "Tracking Display Position"
1130
  msgstr "Sporing af skærmposition"
1131
 
1132
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1133
  msgid "Before Order Details"
1134
  msgstr "Før ordredetaljer"
1135
 
1136
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1137
  msgid "After Order Details"
1138
  msgstr "Efter ordredetaljer"
1139
 
1140
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1141
  msgid "Main Header text"
1142
  msgstr "Hovedteksttekst"
1143
 
1144
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1145
- #: templates/pip/tracking-info.php:17
1146
  msgid "Tracking Information"
1147
  msgstr "Sporing Oplysninger"
1148
 
1149
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1150
  msgid "Additional text after header"
1151
  msgstr "Yderligere tekst efter overskrift"
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1154
- msgid "Table Layout"
1155
- msgstr "Tabellayout"
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1158
  msgid "Display Shipment Provider image"
1159
  msgstr "Vis leveringsbillede af forsendelse"
1160
 
1161
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
1162
  msgid "Hide date"
1163
  msgstr "Skjul dato"
1164
 
1165
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
 
 
 
 
 
 
 
 
1166
  msgid "Provider Header Text"
1167
  msgstr "Texto del encabezado del proveedor"
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1170
  msgid "Tracking Number Header Text"
1171
  msgstr "Número de seguimiento del encabezado de texto"
1172
 
1173
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1174
  msgid "Shipped Date Header Text"
1175
  msgstr "Texto de encabezado de fecha de envío"
1176
 
1177
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
 
 
 
 
1178
  msgid "Track Label"
1179
  msgstr "Sporetiket"
1180
 
1181
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1182
  msgid "Track Header Text"
1183
  msgstr "Texto del encabezado de pista"
1184
 
1185
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
 
 
 
 
 
 
 
 
1186
  msgid "Table Design"
1187
  msgstr "Borddesign"
1188
 
1189
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1190
  msgid "Padding"
1191
  msgstr "polstring"
1192
 
1193
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1194
  msgid "Background color"
1195
  msgstr "Baggrundsfarve"
1196
 
1197
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1198
  msgid "Border color"
1199
  msgstr ""
1200
  "Border farve\n"
1201
 
1202
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1203
  msgid "Border size"
1204
  msgstr ""
1205
  "Border størrelse\n"
1206
 
1207
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1209
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1210
- msgid "Select"
1211
- msgstr "Vælg"
1212
-
1213
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1214
  msgid "Table text align"
1215
  msgstr "Tabeltekst justeres"
1216
 
1217
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1218
- msgid "Left"
1219
- msgstr "Venstre"
1220
-
1221
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1222
- msgid "Right"
1223
- msgstr "Ret"
1224
-
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1226
- msgid "Center"
1227
- msgstr "Centrum"
1228
-
1229
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1230
- msgid "Table header font size"
1231
- msgstr "Tabeloverskriftstørrelse"
1232
-
1233
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1234
- msgid "Table header font color"
1235
- msgstr "Tabeloverskriftstypefarve"
1236
-
1237
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1238
  msgid "Table content font size"
1239
  msgstr "Tabelindhold skriftstørrelse"
1240
 
1241
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1242
  msgid "Table content font color"
1243
  msgstr "Tabelindhold fontfarve"
1244
 
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1246
  msgid "Content line height"
1247
  msgstr ""
1248
  "Indholdslinjehøjde\n"
1249
 
1250
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1251
  msgid "Content font weight"
1252
  msgstr ""
1253
  "Indhold skrifttype vægt\n"
1254
 
1255
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1256
- msgid "Track Link"
1257
- msgstr "Spor link"
1258
 
1259
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1260
  msgid "Track Link Font Color"
1261
  msgstr "Spor link font farve"
1262
 
1263
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1264
  msgid "Track Link Background Color"
1265
  msgstr "Track Link Baggrundsfarve"
1266
 
1267
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1268
  msgid "Track link Border"
1269
  msgstr "Spor link grænse"
1270
 
1271
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1272
- msgid "Header Color"
1273
- msgstr "Hovedfarge"
1274
-
1275
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1276
- msgid "Success Status Color"
1277
- msgstr ""
1278
- "Succes Status Farve\n"
1279
-
1280
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1281
- msgid "Warning Status Color"
1282
- msgstr ""
1283
- "Advarselsstatus Farve\n"
1284
 
1285
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1286
- msgid "Tracking info Border Color"
1287
- msgstr ""
1288
- "Sporingsinformation Border Color\n"
1289
-
1290
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1291
- msgid "Tracking info width (px)"
1292
- msgstr ""
1293
- "Sporing info bredde (px)\n"
1294
-
1295
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1296
- msgid "Tracking details Border Color"
1297
- msgstr ""
1298
- "Sporingsoplysninger Border Color\n"
1299
-
1300
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1301
- msgid "Tracking info table shade color"
1302
- msgstr ""
1303
- "Sporing info bord skygge farve\n"
1304
-
1305
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1306
- msgid "Tracking events font color"
1307
  msgstr ""
1308
- "Sporing af begivenheder skriftfarve\n"
 
1309
 
1310
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1311
- msgid "Tracking info table margin top/bottom(px)"
1312
- msgstr "Sporingsoplysninger tabel margen top / bund (px)"
1313
 
1314
  #: includes/emails/class-shipment-delivered-email.php:32
1315
  msgid "Delivered order"
1316
- msgstr ""
1317
 
1318
  #: includes/emails/class-shipment-delivered-email.php:33
1319
  msgid ""
1320
  "Order delivered emails are sent to customers when their orders are marked "
1321
  "delivered and usually indicate that their orders have been shipped."
1322
  msgstr ""
 
 
1323
 
1324
- #: includes/emails/class-shipment-delivered-email.php:228
1325
- msgid "Enable this email notification"
1326
- msgstr ""
1327
-
1328
- #: includes/emails/class-shipment-delivered-email.php:232
1329
- msgid "Recipient(s)"
1330
- msgstr ""
1331
-
1332
- #. %s: WP admin email
1333
- #: includes/emails/class-shipment-delivered-email.php:235
1334
- #, php-format
1335
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1336
- msgstr ""
1337
 
1338
- #: includes/emails/class-shipment-delivered-email.php:241
1339
- msgid "Subject"
1340
- msgstr ""
1341
-
1342
- #. %s: list of placeholders
1343
- #: includes/emails/class-shipment-delivered-email.php:245
1344
- #: includes/emails/class-shipment-delivered-email.php:254
1345
- #, php-format
1346
- msgid "Available placeholders: %s"
1347
- msgstr ""
1348
-
1349
- #: includes/emails/class-shipment-delivered-email.php:259
1350
- msgid "Email type"
1351
- msgstr ""
1352
-
1353
- #: includes/emails/class-shipment-delivered-email.php:261
1354
- msgid "Choose which format of email to send."
1355
- msgstr ""
1356
-
1357
- #: includes/emails/class-shipment-delivered-email.php:269
1358
- msgid "\" >Click Here</a>"
1359
- msgstr ""
1360
-
1361
- #: includes/emails/class-shipment-delivered-email.php:270
1362
  msgid "Edit in customizer"
1363
- msgstr ""
1364
 
1365
- #: includes/views/admin_options_bulk_upload.php:5
1366
  msgid "Upload CSV"
1367
  msgstr "Upload CSV"
1368
 
1369
- #: includes/views/admin_options_bulk_upload.php:15
1370
  msgid ""
1371
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1372
  "added)"
@@ -1374,132 +1332,178 @@ msgstr ""
1374
  "Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
1375
  "sporingsoplysningerne blive tilføjet)"
1376
 
1377
- #: includes/views/admin_options_bulk_upload.php:25
1378
- #: includes/views/admin_options_shipping_provider.php:112
1379
- #: includes/views/admin_options_shipping_provider.php:146
1380
  msgid "Upload"
1381
  msgstr "Upload"
1382
 
1383
- #: includes/views/admin_options_bulk_upload.php:28
1384
- #: includes/views/admin_options_trackship_integration.php:27
1385
- #: includes/views/admin_options_trackship_integration.php:45
1386
  msgid "Settings Saved."
1387
  msgstr "Indstillinger gemt."
1388
 
1389
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1390
  msgid "You can download an example of the csv file:"
1391
  msgstr "Puedes descargar un ejemplo del archivo csv:"
1392
 
1393
- #: includes/views/admin_options_bulk_upload.php:35
1394
  msgid "Download sample csv file"
1395
  msgstr "Download prøve csv fil"
1396
 
1397
- #: includes/views/admin_options_bulk_upload.php:36
1398
  msgid ""
1399
  "For detailed instructions on how to upload tracking info in bulk, see our"
1400
  msgstr ""
1401
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
1402
  "seguimiento de forma masiva, consulte nuestra"
1403
 
1404
- #: includes/views/admin_options_bulk_upload.php:36
1405
- msgid "documentation"
1406
- msgstr "documentación"
 
 
 
 
1407
 
1408
- #: includes/views/admin_options_bulk_upload.php:38
1409
- msgid "Upload Progress - "
1410
- msgstr "Upload Progress -"
 
 
 
 
1411
 
1412
- #: includes/views/admin_options_settings.php:7
1413
- #: includes/views/admin_options_trackship_integration.php:10
1414
- msgid "General"
1415
- msgstr "Generel"
1416
 
1417
- #: includes/views/admin_options_settings.php:10
1418
- #: includes/views/admin_options_settings.php:19
1419
  msgid "Delivered Order Status"
1420
  msgstr "Leveret ordrestatus"
1421
 
1422
- #: includes/views/admin_options_settings.php:12
1423
- msgid "Tracking Info Display Designer"
1424
- msgstr ""
1425
- "Tracking Info Display Designer\n"
1426
-
1427
- #: includes/views/admin_options_settings.php:15
1428
- #: includes/views/admin_options_trackship_integration.php:19
1429
- msgid "General Settings"
1430
- msgstr "Generelle indstillinger"
1431
 
1432
- #: includes/views/admin_options_settings.php:24
1433
- #: includes/views/admin_options_trackship_integration.php:25
1434
- #: includes/views/admin_options_trackship_integration.php:43
1435
- msgid "Save"
1436
- msgstr "Gemme"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1437
 
1438
- #: includes/views/admin_options_shipping_provider.php:94
1439
  msgid "Add Custom Shipping Provider"
1440
  msgstr "Tilføj Tilpasset forsendelsesleverandør"
1441
 
1442
- #: includes/views/admin_options_shipping_provider.php:101
1443
- #: includes/views/admin_options_shipping_provider.php:135
1444
- msgid "Shiping Country"
1445
  msgstr "Forsendelsesland"
1446
 
1447
- #: includes/views/admin_options_shipping_provider.php:102
1448
- #: includes/views/admin_options_shipping_provider.php:136
1449
  msgid "Global"
1450
- msgstr ""
 
 
 
 
 
1451
 
1452
- #: includes/views/admin_options_shipping_provider.php:128
1453
  msgid "Edit Custom Shipping Provider"
1454
  msgstr "Rediger leverandør af tilpasset forsendelse"
1455
 
1456
- #: includes/views/admin_options_shipping_provider.php:163
1457
- #: includes/views/admin_options_shipping_provider.php:170
1458
- msgid "Sync Providers"
1459
- msgstr "Synkroniseringsudbydere"
1460
-
1461
- #: includes/views/admin_options_shipping_provider.php:164
1462
- msgid "Do you really want to sync all providers?"
1463
- msgstr "Vil du virkelig synkronisere alle udbydere?"
1464
 
1465
- #: includes/views/admin_options_shipping_provider.php:166
1466
  msgid "Providers Added"
1467
  msgstr "Udbydere tilføjet"
1468
 
1469
- #: includes/views/admin_options_shipping_provider.php:167
1470
  msgid "Providers Updated"
1471
  msgstr "Udbydere opdateret"
1472
 
1473
- #: includes/views/admin_options_shipping_provider.php:168
1474
  msgid "Providers Deleted"
1475
  msgstr "Udbydere er slettet"
1476
 
1477
- #: includes/views/admin_options_shipping_provider.php:171
1478
- msgid "Close"
1479
- msgstr "Tæt"
1480
-
1481
- #: includes/views/admin_options_trackship_integration.php:13
1482
- #: includes/views/admin_options_trackship_integration.php:35
1483
  msgid "Tracking Page"
1484
  msgstr "Tracking Page"
1485
 
1486
- #: includes/views/admin_options_trackship_integration.php:16
1487
- msgid "Shipment Status Notifications"
1488
- msgstr "Notifikationer om forsendelsesstatus"
1489
-
1490
- #: includes/views/admin_options_trackship_integration.php:40
1491
  msgid "Click to preview the tracking page"
1492
  msgstr "Klik for at forhåndsvise sporingssiden"
1493
 
1494
- #: includes/views/admin_options_trackship_integration.php:41
1495
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1496
  msgstr "BEMÆRK - sørg for at gemme dine indstillinger før forhåndsvisning."
1497
 
1498
- #: includes/views/admin_options_trackship_integration.php:53
1499
  msgid "Shipment Status Notifications "
1500
  msgstr "Notifikationer om forsendelsesstatus"
1501
 
1502
- #: includes/views/admin_options_trackship_integration.php:81
1503
  msgid ""
1504
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1505
  "the way."
@@ -1507,23 +1511,23 @@ msgstr ""
1507
  "Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
1508
  "Forsendelsen er på vej."
1509
 
1510
- #: includes/views/admin_options_trackship_integration.php:95
1511
  msgid "Shipment is returned to sender"
1512
  msgstr "Forsendelse returneres til afsenderen"
1513
 
1514
- #: includes/views/admin_options_trackship_integration.php:109
1515
  msgid "The shipment is ready to pickup."
1516
  msgstr "Forsendelsen er klar til afhentning."
1517
 
1518
- #: includes/views/admin_options_trackship_integration.php:122
1519
  msgid "Carrier is about to deliver the shipment"
1520
  msgstr "Carrier er ved at levere forsendelsen"
1521
 
1522
- #: includes/views/admin_options_trackship_integration.php:136
1523
  msgid "The shipment was delivered successfully"
1524
  msgstr "Forsendelsen blev leveret med succes"
1525
 
1526
- #: includes/views/admin_options_trackship_integration.php:137
1527
  msgid ""
1528
  "You already have delivered email enabled, to enable this email you'll need "
1529
  "to disable the order status delivered in settings."
@@ -1531,7 +1535,7 @@ msgstr ""
1531
  "Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
1532
  "du deaktivere ordrestatus leveret i indstillinger."
1533
 
1534
- #: includes/views/admin_options_trackship_integration.php:151
1535
  msgid ""
1536
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1537
  "will try to deliver the package again."
@@ -1539,43 +1543,69 @@ msgstr ""
1539
  "Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
1540
  "en meddelelse og vil forsøge at levere pakken igen."
1541
 
1542
- #: includes/views/html-tracking-info-design-preview.php:60
1543
- msgid "USPS"
1544
- msgstr "USPS"
1545
-
1546
- #: includes/views/zorem_admin_sidebar.php:8
1547
- msgid "Leave your review"
1548
  msgstr ""
 
 
1549
 
1550
- #: includes/views/zorem_admin_ts_sidebar.php:5
1551
- msgid "Dashboard"
1552
- msgstr ""
1553
 
1554
- #: includes/views/zorem_admin_ts_sidebar.php:7
1555
- msgid "Documentation"
1556
- msgstr ""
1557
 
1558
- #: templates/emails/tracking-info.php:138
1559
- msgid "Status"
1560
- msgstr "status"
1561
 
1562
- #: templates/emails/wcast-email-order-details.php:26
1563
- msgid "Order Details"
1564
- msgstr ""
1565
- "Ordre detaljer\n"
 
 
 
 
1566
 
1567
  #. %s: Order ID.
1568
- #: templates/emails/wcast-email-order-details.php:42
1569
  #, php-format
1570
  msgid "Order number: %s"
1571
  msgstr ""
1572
  "Ordrenummer:% s\n"
1573
 
1574
- #: templates/emails/wcast-email-order-details.php:49
1575
- msgid "Order date:"
 
 
 
 
 
 
 
 
 
 
 
 
1576
  msgstr ""
1577
- "Bestillingsdato:\n"
1578
 
1579
- #: templates/emails/plain/tracking-info.php:18
1580
- msgid "TRACKING INFORMATION"
1581
- msgstr "TRACKING INFORMATION"
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-12-13 13:13+0000\n"
6
+ "PO-Revision-Date: 2019-12-13 13:59+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\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.3.1; wp-5.3.1"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
24
  "Shipping Tracking!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:242
27
+ #, php-format
28
+ msgid "Your order was shipped with %s and your tracking code is: %s"
29
+ msgstr "Din ordre blev sendt med% s, og din sporingskode er:% s"
30
+
31
+ #: woocommerce-advanced-shipment-tracking.php:452
32
+ #: includes/views/admin_options_settings.php:68
33
  #, php-format
34
  msgid ""
35
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
39
  "php here or you can manually change all your \"delivered\" order to "
40
  "\"completed\" before deactivating the plugin."
41
  msgstr ""
42
+ "<strong> BEMÆRK </strong> - Hvis du bruger den tilpassede ordrestatus "
43
+ "\"Delivered\", når du deaktiverer plugin, skal du registrere denne "
44
+ "ordrestatus i function.php for at se disse ordrer i ordreradministratoren. "
45
+ "Du kan finde <a href=\"%s\" target=\"blank\"> kodestykket </a> til brug i "
46
+ "features.php her, eller du kan manuelt ændre al din \"leverede\" ordre til "
47
+ "\"afsluttet\" inden deaktivering af plugin."
48
 
49
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
  msgid "Shipment status"
51
  msgstr "Forsendelsesstatus"
52
 
53
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
54
+ #: includes/class-wc-advanced-shipment-welcome.php:310
55
  msgid ""
56
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
57
  "100 orders."
58
  msgstr ""
59
+ "Hent forsendelsesstatus er begrænset til 100 ordrer ad gangen. Vælg venligst "
60
+ "op til 100 ordrer."
61
 
62
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:460
63
+ #: includes/class-wc-advanced-shipment-welcome.php:343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
64
  msgid "Data saved successfully."
65
  msgstr "Data gemmes med succes."
66
 
67
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
68
+ #: includes/class-wc-advanced-shipment-welcome.php:344
69
  msgid "Really delete this entry? This will not be undo."
70
  msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
71
 
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
73
+ #: includes/class-wc-advanced-shipment-welcome.php:345
74
  msgid "You can upload only csv file."
75
  msgstr "Du kan kun uploade csv-filen."
76
 
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
78
+ #: includes/class-wc-advanced-shipment-welcome.php:346
79
  msgid "This browser does not support HTML5."
80
  msgstr "Denne browser understøtter ikke HTML5."
81
 
82
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
83
+ #: includes/class-wc-advanced-shipment-welcome.php:347
84
  msgid "Please upload a valid CSV file."
85
  msgstr "Upload venligst en gyldig CSV-fil."
86
 
87
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:533
88
  msgid "Shipping Providers"
89
  msgstr "Forsendelsesleverandører"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
 
 
 
 
92
  msgid "Bulk Upload"
93
+ msgstr "Bulk upload"
94
 
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
96
+ msgid "Tools"
97
+ msgstr "Værktøj"
98
 
99
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:549
100
+ msgid "Add-ons"
101
+ msgstr "Add-ons"
102
+
103
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:552
104
+ #: includes/class-wc-advanced-shipment-welcome.php:222
105
+ #: includes/views/admin_options_bulk_upload.php:63
106
+ #: includes/views/admin_options_trackship_integration.php:71
107
+ #: includes/views/zorem_admin_ts_sidebar.php:12
108
+ msgid "Documentation"
109
+ msgstr "Dokumentation"
110
+
111
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:553
112
+ msgid "How to Video"
113
+ msgstr "Sådan video"
114
+
115
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:692
116
+ msgid "Custom Statuses"
117
+ msgstr "Tilpassede statuer"
118
+
119
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:739
120
+ #: includes/class-wc-advanced-shipment-welcome.php:188
121
+ #: includes/views/admin_options_trackship_integration.php:37
122
+ #: includes/views/admin_options_addons.php:46
123
  msgid "Connected"
124
  msgstr ""
125
  "forbundet\n"
126
 
127
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:871
 
 
 
 
 
 
 
 
128
  #, php-format
129
+ msgid "%s %s orders with tracking info"
130
+ msgstr "% s% s ordrer med sporingsinfo"
131
+
132
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:872
133
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:881
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:890
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
136
+ #: includes/views/admin_options_tools.php:13
137
+ msgid "Get Shipment Status"
138
+ msgstr "Få forsendelsesstatus"
139
 
140
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:880
141
  #, php-format
142
+ msgid "%s %s orders with “TrackShip balance is 0”"
143
+ msgstr "% s% s ordrer med “TrackShip-saldo er 0”"
 
144
 
145
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:889
146
+ #, php-format
147
+ msgid "%s %s orders with “Please do connection”"
148
+ msgstr "% s% s ordrer med \"Venligst gør forbindelse\""
149
 
150
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
 
151
  msgid "Enable/Disable"
152
  msgstr "Aktivere deaktivere"
153
 
154
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
155
  msgid "Set order status Delivered when order is delivered"
156
+ msgstr "Indstil ordrestatus Leveres når ordren er leveret"
 
 
 
 
 
 
 
 
 
 
 
 
157
 
158
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
159
  msgid ""
160
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
161
  "for the tracking page to work."
162
  msgstr ""
163
+ "Du skal tilføje kortkoden [wcast-track-order] til \"sidenavnet\" for at "
164
+ "sporingssiden kan fungere."
165
 
166
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:973
167
  msgid "Select Tracking Page"
168
+ msgstr "Vælg sporingsside"
 
 
 
 
 
 
 
169
 
170
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:981
171
  msgid "Use the tracking page in the customer email/my account tracking link"
172
+ msgstr "Brug sporingssiden i kundens e-mail / min kontosporingslink"
 
173
 
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:987
175
  msgid "Select primary color for tracking page"
176
+ msgstr "Vælg primærfarve til sporingsside"
 
177
 
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:993
179
  msgid "Select content border color for tracking page"
180
+ msgstr "Vælg indholdsgrænsefarve til sporingsside"
 
181
 
182
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:999
183
+ msgid "Hide tracking events details"
184
+ msgstr "Skjul detaljer om sporing af begivenheder"
185
+
186
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1005
187
+ msgid "Remove TrackShip branding"
188
+ msgstr "Fjern TrackShip-branding"
189
 
190
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1022
191
+ msgid "License Key"
192
+ msgstr "Licensnøgle"
193
+
194
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1024
195
+ msgid "Valid License to make All feature work correctly"
196
+ msgstr "Gyldig licens for at få alle funktionerne til at fungere korrekt"
197
+
198
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
199
+ msgid "\">click here</a> to activate it."
200
+ msgstr "\"> Klik her </a> for at aktivere det."
201
+
202
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
203
+ #: includes/class-wc-advanced-shipment-tracking.php:185
204
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:256
205
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:392
206
+ msgid "Shipped"
207
+ msgstr "afsendt"
208
+
209
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1207
210
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
211
+ msgstr "Standard \"mark som <span class =\" shipped_label \"> sendt </span>\""
212
+
213
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1208
214
  msgid ""
215
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
216
  "will be selected by default when adding tracking info to orders."
217
  msgstr ""
218
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> sendt </span>"
219
+ "' vælges som standard, når du tilføjer sporingsinfo til ordrer."
220
 
221
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1211
222
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
 
 
 
 
223
  msgstr ""
224
+ "Standard \"mark som <span class =\" shipped_label \"> afsluttet </span>\""
225
 
226
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
227
  msgid ""
228
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
229
  "will be selected by default when adding tracking info to orders."
230
  msgstr ""
231
+ "Dette betyder, at 'mærket som <span class =' ​​send_label '> afsluttet "
232
+ "</span>' vælges som standard, når du tilføjer sporingsinfo til ordrer."
233
 
234
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1278
235
  msgid "Rename the “Completed” Order status to “Shipped”"
236
+ msgstr "Omdøb ordre status \"Afsluttet\" til \"Sendt\""
237
 
238
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1291
239
+ msgid "On which order status email to include the shipment tracking info?"
240
+ msgstr ""
241
+ "På hvilken e-mail med ordrestatus for at inkludere forsendelsessporingsinfo?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
 
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1297
244
  msgid "Show tracking info in Invoice"
245
  msgstr "Vis sporingsinfo i faktura"
246
 
247
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1303
248
  msgid "Show tracking info in Packing Slip"
249
  msgstr "Vis sporingsinfo i pakkeseddel"
250
 
251
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1320
252
+ msgid "Enable custom order status “Delivered\""
253
+ msgstr "Aktivér tilpasset ordrestatus \"Leveret\""
254
 
255
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1321
256
  msgid ""
257
  "if you enable the delivered item, you will have the option to send delivered "
258
  "email notifications."
259
  msgstr ""
260
+ "Hvis du aktiverer den leverede vare, har du muligheden for at sende leverede "
261
+ "e-mail-meddelelser."
262
 
263
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1327
264
+ msgid "Delivered Label color"
265
+ msgstr "Leveret etiketfarve"
266
 
267
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1333
268
+ msgid "Delivered Label font color"
269
+ msgstr "Leveret etiket fontfarve"
 
 
 
270
 
271
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1336
272
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1378
273
+ msgid "Light"
274
+ msgstr "Lys"
 
 
 
 
 
 
 
 
 
 
 
275
 
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1337
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1379
278
+ msgid "Dark"
279
+ msgstr "Mørk"
280
 
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1344
282
+ msgid "Enable the Delivered order status email"
283
+ msgstr "Aktivér e-mailen med status for leveret ordre"
284
 
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1362
286
+ msgid "Enable custom order status “Partially Shipped\""
287
+ msgstr "Aktivér tilpasset ordrestatus “Delvist afsendt”"
288
+
289
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1363
290
  msgid ""
291
+ "if you enable the Partially Shipped item, you will have the option to send "
292
+ "Partially Shipped email notifications."
293
+ msgstr ""
294
+ "Hvis du aktiverer det delvist afsendte element, har du muligheden for at "
295
+ "sende delvis afsendt e-mail-meddelelser."
296
+
297
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1369
298
+ msgid "Partially Shipped Label color"
299
+ msgstr "Delvist afsendt etiketfarve"
300
+
301
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1375
302
+ msgid "Partially Shipped Label font color"
303
+ msgstr "Delvist afsendt etiket fontfarve"
304
+
305
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1386
306
+ msgid "Enable the Partially Shipped order status email"
307
+ msgstr "Aktivér status for e-mail med delvist afsendt ordre"
308
+
309
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1776
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2455
311
+ #: includes/customizer/class-wcast-customizer.php:84
312
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
313
+ #: includes/views/admin_options_trackship_integration.php:161
314
  msgid "In Transit"
315
  msgstr "Undervejs"
316
 
317
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1779
318
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2454
319
+ #: includes/customizer/class-wcast-customizer.php:76
320
  msgid "Pre Transit"
321
  msgstr ""
322
  "Pre Transit\n"
323
 
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1782
325
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1974
326
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2458
327
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:118
328
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
329
+ #: includes/customizer/class-wcast-customizer.php:114
330
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
331
+ #: includes/views/admin_options_trackship_integration.php:216
332
+ msgid "Delivered"
333
+ msgstr "leveres"
334
 
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2457
337
+ #: includes/customizer/class-wcast-customizer.php:106
338
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
339
+ #: includes/views/admin_options_trackship_integration.php:202
340
+ msgid "Out For Delivery"
341
+ msgstr "Ud for levering"
342
+
343
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2456
345
+ #: includes/customizer/class-wcast-customizer.php:99
346
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
347
+ #: includes/views/admin_options_trackship_integration.php:189
348
  msgid "Available For Pickup"
349
  msgstr ""
350
  "Klar til afhentning\n"
351
 
352
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1791
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2462
354
+ #: includes/customizer/class-wcast-customizer.php:92
355
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
356
+ #: includes/views/admin_options_trackship_integration.php:175
357
  msgid "Return To Sender"
358
  msgstr ""
359
  "Retur til Afsender\n"
360
 
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2459
363
+ #: includes/customizer/class-wcast-customizer.php:122
364
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
365
+ #: includes/views/admin_options_trackship_integration.php:231
366
+ msgid "Failed Attempt"
367
+ msgstr "Mislykket forsøg"
368
 
369
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
370
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2453
371
  msgid "Unknown"
372
  msgstr "Ukendt"
373
 
374
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
375
  msgid "Pending TrackShip"
376
+ msgstr "Venter på TrackShip"
 
377
 
378
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
379
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2463
380
+ msgid "Invalid Tracking Number"
381
+ msgstr "Ugyldigt sporingsnummer"
382
 
383
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1806
384
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2461
385
+ msgid "Carrier Unsupported"
386
+ msgstr "Transportør understøttes ikke"
387
 
388
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1809
389
  msgid "Invalid User Key"
390
+ msgstr "Ugyldig brugernøgle"
391
 
392
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1812
393
+ msgid "Wrong Shipping Provider"
394
+ msgstr "Forkert leverandør af forsendelse"
395
 
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1928
397
  msgid "Shipped Order"
398
+ msgstr "Afsendt ordre"
399
 
400
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1952
401
  msgid "Mark order as delivered"
402
+ msgstr "Marker ordren som leveret"
403
 
404
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1959
405
  msgid "Add Tracking"
406
+ msgstr "Tilføj sporing"
407
 
408
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1986
409
  msgid "Change order status to"
410
  msgstr "Skift ordrestatus til"
411
 
412
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2089
413
+ #: includes/views/admin_options_shipping_provider.php:95
414
  #, php-format
415
  msgid "You don't have any %s shipping providers."
416
  msgstr "Du har ikke% s forsendelsesudbydere."
417
 
418
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
419
+ msgid "There are some issue with sync, Please Retry."
420
+ msgstr "Der er nogle problemer med synkronisering, prøv igen."
421
+
422
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2406
423
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2421
424
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2436
425
  msgid "view details"
426
+ msgstr "view details"
427
 
428
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2407
429
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2422
430
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2437
431
  msgid "hide details"
432
  msgstr "Gem detaljer"
433
 
434
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2468
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
435
  msgid "Filter by shipment status"
436
+ msgstr "Filtrer efter forsendelsesstatus"
437
 
438
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
439
  msgid ""
440
  "To track your order please enter your Order ID in the box below and press "
441
  "the \"Track\" button. This was given to you on your receipt and in the "
445
  "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
446
  "den bekræftelses e-mail, du skulle have modtaget.\n"
447
 
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:151
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
 
 
 
 
 
450
  msgid "Found in your order confirmation email."
451
  msgstr ""
452
  "Findes i din ordrebekræftelses-email.\n"
453
 
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
455
  msgid "Order Email"
456
  msgstr ""
457
  "Bestil Email\n"
458
 
459
+ #: includes/class-wc-advanced-shipment-tracking-front.php:155
460
+ #: includes/class-wc-advanced-shipment-tracking.php:281
461
+ #: includes/class-wc-advanced-shipment-tracking.php:725
462
+ #: includes/class-wc-advanced-shipment-tracking.php:848
463
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
464
+ #: includes/customizer/class-wc-tracking-info-customizer.php:480
465
+ #: templates/emails/tracking-info.php:194
466
+ #: templates/myaccount/tracking-info.php:127
 
467
  msgid "Track"
468
  msgstr "Spor pakke"
469
 
470
+ #: includes/class-wc-advanced-shipment-tracking-front.php:235
471
+ #: includes/class-wc-advanced-shipment-tracking-front.php:512
472
  #, php-format
473
  msgid "Shipment - %s (out of %s)"
474
  msgstr ""
475
  "Forsendelse -% s (ud af% s)\n"
476
 
477
+ #: includes/class-wc-advanced-shipment-tracking-front.php:248
478
+ #: includes/class-wc-advanced-shipment-tracking-front.php:252
479
+ #: includes/class-wc-advanced-shipment-tracking-front.php:525
480
+ #: includes/class-wc-advanced-shipment-tracking-front.php:529
 
 
 
 
 
481
  msgid "Estimated Delivery Date: "
482
  msgstr "Forventet leveringsdato:"
483
 
484
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
485
+ #: includes/class-wc-advanced-shipment-tracking-front.php:638
486
+ #: includes/class-wc-advanced-shipment-tracking-front.php:814
487
  msgid "Tracking Details"
488
  msgstr "Sporingsdetaljer"
489
 
490
+ #: includes/class-wc-advanced-shipment-tracking-front.php:380
491
+ #: includes/class-wc-advanced-shipment-tracking-front.php:657
492
+ #: includes/class-wc-advanced-shipment-tracking-front.php:835
493
  msgid "view more"
494
  msgstr "Se mere"
495
 
496
+ #: includes/class-wc-advanced-shipment-tracking-front.php:381
497
+ #: includes/class-wc-advanced-shipment-tracking-front.php:658
498
+ #: includes/class-wc-advanced-shipment-tracking-front.php:836
499
  msgid "view less"
500
  msgstr "se mindre"
501
 
502
+ #: includes/class-wc-advanced-shipment-tracking-front.php:389
503
+ #: includes/class-wc-advanced-shipment-tracking-front.php:666
504
+ msgid "Tracking details not found in TrackShip"
505
+ msgstr "Sporingsdetaljer findes ikke i TrackShip"
 
 
 
 
 
506
 
507
+ #: includes/class-wc-advanced-shipment-tracking-front.php:749
508
+ msgid "Estimated Delivery Date"
509
+ msgstr "Forventet leveringsdato"
510
+
511
+ #: includes/class-wc-advanced-shipment-tracking.php:95
512
+ #: includes/class-wc-advanced-shipment-tracking.php:265
513
+ #: includes/customizer/class-wcast-customizer.php:31
514
  msgid "Shipment Tracking"
515
  msgstr "Forsendelsessporing"
516
 
517
+ #: includes/class-wc-advanced-shipment-tracking.php:184
518
+ #: includes/class-wc-advanced-shipment-tracking.php:383
519
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:391
520
+ msgid "Mark as Shipped?"
521
+ msgstr "Marker som sendt?"
522
 
523
+ #: includes/class-wc-advanced-shipment-tracking.php:187
524
+ #: includes/class-wc-advanced-shipment-tracking.php:386
525
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:394
526
+ msgid "Mark as Completed?"
527
+ msgstr "Marker som afsluttet?"
528
+
529
+ #: includes/class-wc-advanced-shipment-tracking.php:188
530
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:395
531
+ msgid "Completed"
532
+ msgstr "afsluttet"
533
 
534
+ #: includes/class-wc-advanced-shipment-tracking.php:195
535
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:403
536
  msgid "Add Tracking Number"
537
+ msgstr "Tilføj sporingsnummer"
538
 
539
+ #: includes/class-wc-advanced-shipment-tracking.php:198
540
+ #: includes/class-wc-advanced-shipment-tracking.php:203
541
+ #: includes/class-wc-advanced-shipment-tracking.php:404
542
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:406
543
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:408
544
  msgid "Provider:"
545
  msgstr "udbyder:"
546
 
547
+ #: includes/class-wc-advanced-shipment-tracking.php:223
548
+ #: includes/class-wc-advanced-shipment-tracking.php:442
549
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:428
550
  msgid "Tracking number:"
551
  msgstr "Tracking nummer:"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking.php:227
554
+ #: includes/class-wc-advanced-shipment-tracking.php:450
555
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:432
556
  msgid "Date shipped:"
557
  msgstr "Dato afsendt:"
558
 
559
+ #: includes/class-wc-advanced-shipment-tracking.php:228
560
+ #: includes/class-wc-advanced-shipment-tracking.php:451
561
+ #: includes/class-wc-advanced-shipment-tracking.php:454
562
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
563
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
564
+ msgid "Y-m-d"
565
+ msgstr ""
566
+
567
+ #: includes/class-wc-advanced-shipment-tracking.php:236
568
+ #: includes/class-wc-advanced-shipment-tracking.php:462
569
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
570
+ msgid "Mark order as:"
571
+ msgstr "Marker ordre som:"
572
+
573
+ #: includes/class-wc-advanced-shipment-tracking.php:239
574
+ #: includes/class-wc-advanced-shipment-tracking.php:465
575
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:444
576
+ msgid "Partial Shipped"
577
+ msgstr "Delvis afsendt"
578
+
579
+ #: includes/class-wc-advanced-shipment-tracking.php:281
580
+ #: includes/class-wc-advanced-shipment-tracking.php:493
581
+ msgid "Track Shipment"
582
+ msgstr "Spor forsendelse"
583
 
584
  #. 1: shipping date
585
+ #: includes/class-wc-advanced-shipment-tracking.php:293
 
586
  #, php-format
587
  msgid "Shipped on %s"
588
  msgstr "Sendes på% s"
589
 
590
+ #: includes/class-wc-advanced-shipment-tracking.php:400
 
 
 
 
591
  msgid "Add Tracking Info"
592
  msgstr "Tilføj sporingsinfo"
593
 
594
+ #: includes/class-wc-advanced-shipment-tracking.php:405
595
  msgid "Select Provider"
596
  msgstr "Vælg Udbyder"
597
 
598
+ #: includes/class-wc-advanced-shipment-tracking.php:492
599
  msgid "Save Tracking"
600
  msgstr "Gem sporing"
601
 
602
+ #: includes/class-wc-advanced-shipment-tracking.php:493
603
  msgid "Preview:"
604
  msgstr "Eksempel:"
605
 
606
+ #: includes/class-wc-advanced-shipment-tracking.php:699
607
+ #, php-format
608
+ msgid ""
609
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
610
+ msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
611
+
612
+ #: includes/class-wc-advanced-shipment-tracking.php:1089
613
+ #, php-format
614
+ msgid "Order was shipped with %s and tracking number is: %s"
615
+ msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
616
+
617
+ #: includes/class-wc-advanced-shipment-welcome.php:38
618
+ #: includes/class-wc-advanced-shipment-welcome.php:39
619
+ msgid "Welcome to Advanced Shipment Tracking"
620
+ msgstr "Velkommen til Advanced Shipment Tracking"
621
+
622
+ #: includes/class-wc-advanced-shipment-welcome.php:90
623
+ #: includes/class-wc-advanced-shipment-welcome.php:129
624
+ #: includes/class-wc-advanced-shipment-welcome.php:147
625
+ msgid "Save and Continue"
626
+ msgstr "Gem og fortsæt"
627
+
628
+ #: includes/class-wc-advanced-shipment-welcome.php:177
629
+ #: includes/views/admin_options_trackship_integration.php:26
630
+ msgid "Connection status"
631
+ msgstr "Forbindelsesstatus"
632
+
633
+ #: includes/class-wc-advanced-shipment-welcome.php:184
634
+ #: includes/views/admin_options_trackship_integration.php:33
635
+ msgid "TrackShip Connection Status"
636
+ msgstr "TrackShip-forbindelsesstatus"
637
+
638
+ #: includes/class-wc-advanced-shipment-welcome.php:194
639
+ #: includes/views/admin_options_trackship_integration.php:43
640
+ msgid "Trackers Balance"
641
+ msgstr "Trackers balance"
642
+
643
+ #: includes/class-wc-advanced-shipment-welcome.php:202
644
+ #: includes/views/admin_options_trackship_integration.php:51
645
+ msgid "Current Plan"
646
+ msgstr "Nuværende plan"
647
+
648
+ #: includes/class-wc-advanced-shipment-welcome.php:217
649
+ #: includes/views/admin_options_trackship_integration.php:66
650
+ #: includes/views/admin_options_addons.php:33
651
+ msgid ""
652
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
653
+ "automate your post shipping operations and get tracking and delivery status "
654
+ "updates directly in the WooCommerce admin."
655
+ msgstr ""
656
+ "Du er nu forbundet med TrackShip! TrackShip gør det nemt at automatisere "
657
+ "dine postforsendelsesoperationer og få sporings- og "
658
+ "leveringsstatusopdateringer direkte i WooCommerce-administratoren."
659
+
660
+ #: includes/class-wc-advanced-shipment-welcome.php:223
661
+ #: includes/views/admin_options_trackship_integration.php:72
662
+ msgid "TrackShip Dashboard"
663
+ msgstr "TrackShip Dashboard"
664
+
665
+ #: includes/class-wc-advanced-shipment-welcome.php:253
666
+ msgid "Save"
667
+ msgstr "Gemme"
668
+
669
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:123
670
+ #, php-format
671
+ msgid "Delivered <span class=\"count\">(%s)</span>"
672
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
673
+ msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
674
+ msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
675
+
676
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
677
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:172
678
+ msgid "Updated Tracking"
679
+ msgstr "Opdateret sporing"
680
+
681
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
682
+ #, php-format
683
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
684
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
685
+ msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
686
+ msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
687
+
688
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:144
689
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:187
690
+ msgid "Partially Shipped"
691
+ msgstr "Delvist afsendt"
692
+
693
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:149
694
+ #, php-format
695
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
696
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
697
+ msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
698
+ msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
699
+
700
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:232
701
+ msgid "Change status to delivered"
702
+ msgstr "Change status to delivered"
703
+
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:241
705
+ msgid "Change status to Partially Shipped"
706
+ msgstr "Skift status til delvist afsendt"
707
+
708
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:273
709
+ #, php-format
710
+ msgid "Shipped <span class=\"count\">(%s)</span>"
711
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
712
+ msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
713
+ msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
714
+
715
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:287
716
+ msgid "Change status to shipped"
717
+ msgstr "Skift status til afsendt"
718
+
719
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:471
720
+ msgid "Resend delivered order notification"
721
+ msgstr "Send leveret ordreanmeldelse igen"
722
+
723
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:680
724
+ msgid "Shipment Providers"
725
+ msgstr "Forsendelsesleverandører"
726
+
727
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:683
728
+ msgid "Shipment Status"
729
+ msgstr "Forsendelsesstatus"
730
 
731
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:686
732
+ msgid "Tracking issues"
733
+ msgstr "Sporingsspørgsmål"
734
+
735
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:692
736
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:700
737
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:717
738
+ msgid "data not available."
739
+ msgstr "data ikke tilgængelige."
740
+
741
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:723
742
+ msgid "View more on TrackShip"
743
+ msgstr "Se mere på TrackShip"
744
+
745
+ #: includes/customizer/class-wcast-customizer.php:40
746
  msgid "Shipment Status Emails"
747
  msgstr "Sendingsstatus-e-mails"
748
 
749
+ #: includes/customizer/class-wcast-customizer.php:52
750
  msgid "Tracking info display"
751
  msgstr ""
752
  "Tracking info display\n"
753
 
754
+ #: includes/customizer/class-wcast-customizer.php:60
755
+ #: includes/customizer/class-wc-email-customizer.php:163
756
+ msgid "Delivered order status email"
757
+ msgstr ""
758
+ "Leveret ordre status email\n"
759
 
760
+ #: includes/customizer/class-wcast-customizer.php:68
761
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
762
+ msgid "Partially Shipped status email"
763
+ msgstr "Delvis afsendt status-e-mail"
 
764
 
765
+ #: includes/customizer/class-wcast-customizer.php:390
766
  msgid "Select order to preview"
767
  msgstr ""
768
  "Vælg rækkefølge for at forhåndsvise\n"
769
 
770
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
771
  msgid "Your order #{order_number} is available for pickup"
772
  msgstr ""
773
  "Din ordre # {order_number} er tilgængelig til afhentning\n"
774
 
775
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
776
  msgid ""
777
  "Hi there. we thought you'd like to know that your recent order from "
778
  "{site_title} is available for pickup."
780
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
781
  "er tilgængelig til afhentning.\n"
782
 
783
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
784
  msgid "Available For Pickup shipment status email"
785
  msgstr ""
786
  "Tilgængelig til afhentningsstatus for afsendelsesstatus\n"
787
 
788
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
789
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
790
+ #: includes/customizer/class-wc-email-customizer.php:164
791
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
792
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
793
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
794
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
795
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
796
  msgid "This section lets you customize the Email Content."
797
  msgstr ""
798
  "Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
799
 
800
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
801
  msgid "Enable Available For Pickup shipment status email"
802
  msgstr ""
803
  "Aktivér tilgængelig for afhentningsstatus for e-mail\n"
804
 
805
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
806
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
807
+ #: includes/customizer/class-wc-email-customizer.php:197
808
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
809
+ #: includes/customizer/class-wc-intransit-email-customizer.php:191
810
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
811
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:187
812
+ #: includes/customizer/class-wc-tracking-info-customizer.php:178
813
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
814
  msgid "Preview order"
815
  msgstr ""
816
  "Forhåndsvis rækkefølge\n"
817
 
818
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
819
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
820
+ #: includes/customizer/class-wc-email-customizer.php:226
821
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
822
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
823
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
824
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
825
  msgid "E.g. {customer.email}, admin@example.org"
826
  msgstr "F.eks {customer.email}, admin@example.org"
827
 
828
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
829
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
830
+ #: includes/customizer/class-wc-delivered-email-customizer.php:232
831
+ #: includes/customizer/class-wc-delivered-email-customizer.php:254
832
+ #: includes/customizer/class-wc-failure-email-customizer.php:231
833
+ #: includes/customizer/class-wc-failure-email-customizer.php:253
834
+ #: includes/customizer/class-wc-intransit-email-customizer.php:235
835
+ #: includes/customizer/class-wc-intransit-email-customizer.php:257
836
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
837
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
838
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:231
839
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:253
 
 
 
 
 
 
 
 
 
 
840
  msgid "Available placeholders: {site_title}, {order_number}"
841
  msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
842
 
843
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
844
+ #: includes/customizer/class-wc-delivered-email-customizer.php:275
845
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
846
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
847
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
848
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
849
  msgid "Show tracking details"
850
  msgstr ""
851
  "Vis sporingsoplysninger\n"
852
 
853
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
854
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
855
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
856
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
857
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
858
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
859
  msgid "Show order details"
860
  msgstr ""
861
  "Vis bestilling detaljer\n"
862
 
863
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
864
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
865
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
866
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
867
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
868
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
869
  msgid "Show billing address"
870
  msgstr ""
871
  "Vis faktureringsadresse\n"
872
 
873
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
874
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
875
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
876
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
877
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
878
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
879
  msgid "Show shipping address"
880
  msgstr ""
881
  "Vis forsendelsesadresse\n"
882
 
883
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
884
+ #: includes/customizer/class-wc-delivered-email-customizer.php:340
885
+ #: includes/customizer/class-wc-email-customizer.php:393
886
+ #: includes/customizer/class-wc-failure-email-customizer.php:339
887
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
888
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
889
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:339
890
  msgid "Google Analytics link tracking"
891
+ msgstr "Google Analytics-linksporing"
892
+
893
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
894
+ #: includes/customizer/class-wc-delivered-email-customizer.php:341
895
+ #: includes/customizer/class-wc-failure-email-customizer.php:340
896
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
897
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
898
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:340
899
  msgid "This will be appended to URL in the email content"
900
+ msgstr "Dette føjes til URL i e-mail-indholdet"
901
+
902
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
903
+ #: includes/customizer/class-wc-delivered-email-customizer.php:362
904
+ #: includes/customizer/class-wc-email-customizer.php:288
905
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
906
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
907
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
908
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:361
909
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
910
  msgid "Email content"
911
  msgstr "Email indhold"
912
 
913
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
914
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
915
+ #: includes/customizer/class-wc-email-customizer.php:414
916
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
917
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
918
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
919
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
920
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
921
  msgid "Available placeholders"
922
  msgstr ""
923
  "Tilgængelige pladsholdere\n"
924
 
925
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:428
926
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:435
927
+ #: includes/customizer/class-wc-delivered-email-customizer.php:430
928
+ #: includes/customizer/class-wc-delivered-email-customizer.php:437
929
+ #: includes/customizer/class-wc-email-customizer.php:447
930
+ #: includes/customizer/class-wc-failure-email-customizer.php:429
931
+ #: includes/customizer/class-wc-failure-email-customizer.php:437
932
+ #: includes/customizer/class-wc-intransit-email-customizer.php:432
933
+ #: includes/customizer/class-wc-intransit-email-customizer.php:440
934
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:430
935
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:438
936
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:428
937
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:436
938
+ #: includes/customizer/class-wc-tracking-info-customizer.php:827
939
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
940
+ msgid "Please select order to preview."
941
+ msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
942
+
943
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
944
  msgid "Your order #{order_number} has been delivered"
945
+ msgstr "Din ordre nr. {Ordre_nummer} er leveret"
946
 
947
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
948
+ #: includes/customizer/class-wc-email-customizer.php:132
949
  msgid ""
950
  "Hi there. we thought you'd like to know that your recent order from "
951
  "{site_title} has been Delivered."
953
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
954
  "er blevet leveret.\n"
955
 
956
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
957
  msgid "Delivered shipment status email"
958
  msgstr ""
959
  "Leveret status for afsendelsesstatus\n"
960
 
961
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
962
  msgid "Enable Delivered shipment status email"
963
  msgstr ""
964
  "Aktivér leveret e-mail med leveringsstatus\n"
965
 
966
+ #: includes/customizer/class-wc-email-customizer.php:130
967
+ #: includes/emails/class-shipment-delivered-email.php:94
968
  msgid "Your {site_title} order is now delivered"
969
  msgstr ""
970
  "Din {site_title} ordre er nu leveret\n"
971
 
972
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
973
  msgid "Enable Delivered order status email"
974
  msgstr ""
975
  "Aktivér leveret ordre status email\n"
976
 
977
+ #: includes/customizer/class-wc-email-customizer.php:201
978
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
979
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
980
  msgid "Please select a order..."
981
  msgstr "Vælg venligst en ordre ..."
982
 
983
+ #: includes/customizer/class-wc-email-customizer.php:243
984
+ #: includes/customizer/class-wc-email-customizer.php:266
985
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
986
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
 
 
 
 
 
 
 
 
987
  msgid "Available variables: {site_title}, {order_number}"
988
+ msgstr "Tilgængelige variabler: {site_title}, {order_number}"
989
 
990
+ #: includes/customizer/class-wc-email-customizer.php:289
991
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
992
  msgid ""
993
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
994
  "{customer_last_name}, {customer_username}, {order_number}"
995
  msgstr ""
996
+ "tilgængelige variabler: {site_title}, {customer_email}, {customer_first_name}"
997
+ ", {customer_last_name}, {customer_username}, {order_number}"
998
 
999
+ #: includes/customizer/class-wc-email-customizer.php:309
1000
  msgid "Display tracking details"
1001
+ msgstr "Vis sporingsdetaljer"
1002
 
1003
+ #: includes/customizer/class-wc-email-customizer.php:325
1004
  msgid "Display order details"
1005
+ msgstr "Vis ordredetaljer"
1006
 
1007
+ #: includes/customizer/class-wc-email-customizer.php:342
1008
  msgid "Display Shipping Address"
1009
+ msgstr "Vis forsendelsesadresse"
1010
 
1011
+ #: includes/customizer/class-wc-email-customizer.php:359
1012
  msgid "Display Billing Address"
1013
+ msgstr "Vis faktureringsadresse"
1014
 
1015
+ #: includes/customizer/class-wc-email-customizer.php:376
1016
  msgid "Enable Google Analytics tracking"
1017
+ msgstr "Aktivér Google Analytics-sporing"
1018
 
1019
+ #: includes/customizer/class-wc-email-customizer.php:394
1020
  msgid ""
1021
  "This will be appended to URL in the email content – e.g. "
1022
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1023
  msgstr ""
1024
+ "Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
1025
+ "utm_medium = email & utm_campaign = leveret"
1026
 
1027
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1028
  msgid "Your order #{order_number} is Failed Attempt"
1029
  msgstr "Din ordre # {order_nummer} er mislykket"
1030
 
1031
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1032
  msgid ""
1033
  "Hi there. we thought you'd like to know that your recent order from "
1034
  "{site_title} is Failed Attempt"
1036
  "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1037
  "mislykket forsøg"
1038
 
1039
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1040
  msgid "Failed Attempt shipment status email"
1041
  msgstr "Mislykket Forsøg på e-mail med forsendelsesstatus"
1042
 
1043
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1044
  msgid "Enable Failed Attempt shipment status email"
1045
  msgstr "Aktivér mislykket forsøg på e-mail med status for forsendelse"
1046
 
1047
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1048
  msgid "Your order #{order_number} is in transit"
1049
  msgstr ""
1050
  "Din ordre # {order_number} er i transit\n"
1051
 
1052
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1053
  msgid ""
1054
  "Hi there. we thought you'd like to know that your recent order from "
1055
  "{site_title} is in transit"
1057
  "Hej. Vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1058
  "er i transit"
1059
 
1060
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1061
  msgid "In Transit shipment status email"
1062
  msgstr ""
1063
  "I transitforsendelse status email\n"
1064
 
1065
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1066
  msgid "Enable In Transit shipment status email"
1067
  msgstr "Aktivér e-mail i transitforsendelsesstatus"
1068
 
1069
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1070
  msgid "Your order #{order_number} is out for delivery"
1071
  msgstr "Din ordre # {order_number} er ude for levering"
1072
 
1073
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1074
  msgid ""
1075
  "Hi there. we thought you'd like to know that your recent order from "
1076
  "{site_title} is out for delivery."
1078
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1079
  "er ude for levering."
1080
 
1081
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1082
  msgid "Out For Delivery shipment status email"
1083
  msgstr ""
1084
  "Out For Delivery forsendelse status email\n"
1085
 
1086
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1087
  msgid "Enable Out For Delivery shipment status email"
1088
  msgstr "Aktivér Send e-mail til afsendelsesstatus for levering"
1089
 
1090
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1091
  msgid "Your order #{order_number} has returned to sender"
1092
  msgstr "Din ordre # {order_number} er returneret til afsenderen"
1093
 
1094
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1095
  msgid ""
1096
  "Hi there. we thought you'd like to know that your recent order from "
1097
  "{site_title} has been returned to sender."
1099
  "Hej. vi troede, at du gerne vil vide, at din seneste ordre fra {site_title} "
1100
  "er blevet returneret til afsenderen."
1101
 
1102
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1103
  msgid "Return To Sender shipment status email"
1104
  msgstr ""
1105
  "Returner til afsendelsesstatus for afsendelsesstatus\n"
1106
 
1107
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1108
  msgid "Enable Return To Sender shipment status email"
1109
  msgstr ""
1110
  "Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
1111
 
1112
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1113
+ #: includes/customizer/class-wc-tracking-info-customizer.php:381
1114
+ #: templates/emails/tracking-info.php:146
1115
+ #: templates/myaccount/tracking-info.php:92
1116
  msgid "Provider"
1117
  msgstr "Fragtfirma"
1118
 
1119
+ #: includes/customizer/class-wc-tracking-info-customizer.php:145
1120
+ #: includes/customizer/class-wc-tracking-info-customizer.php:403
1121
+ #: templates/emails/tracking-info.php:176
1122
+ #: templates/myaccount/tracking-info.php:115
 
1123
  msgid "Tracking Number"
1124
  msgstr "Tracking nummer"
1125
 
1126
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
1127
+ #: includes/customizer/class-wc-tracking-info-customizer.php:424
1128
  msgid "Shipped Date"
1129
  msgstr ""
1130
  "Afsendt dato\n"
1131
 
1132
+ #: includes/customizer/class-wc-tracking-info-customizer.php:179
1133
  msgid ""
1134
  "select from last 20 orders one order that you added tracking info in order "
1135
  "to preview and design the tracking info table."
1138
  "sporingsoplysninger for at forhåndsvise og designe "
1139
  "sporingsinformatortabellen."
1140
 
1141
+ #: includes/customizer/class-wc-tracking-info-customizer.php:198
1142
+ #: includes/views/admin_options_settings.php:15
1143
+ #: includes/views/admin_options_trackship_integration.php:82
1144
+ msgid "General Settings"
1145
+ msgstr "Generelle indstillinger"
1146
+
1147
+ #: includes/customizer/class-wc-tracking-info-customizer.php:213
1148
  msgid "Tracking Display Position"
1149
  msgstr "Sporing af skærmposition"
1150
 
1151
+ #: includes/customizer/class-wc-tracking-info-customizer.php:217
1152
  msgid "Before Order Details"
1153
  msgstr "Før ordredetaljer"
1154
 
1155
+ #: includes/customizer/class-wc-tracking-info-customizer.php:218
1156
  msgid "After Order Details"
1157
  msgstr "Efter ordredetaljer"
1158
 
1159
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1160
  msgid "Main Header text"
1161
  msgstr "Hovedteksttekst"
1162
 
1163
+ #: includes/customizer/class-wc-tracking-info-customizer.php:240
 
1164
  msgid "Tracking Information"
1165
  msgstr "Sporing Oplysninger"
1166
 
1167
+ #: includes/customizer/class-wc-tracking-info-customizer.php:255
1168
  msgid "Additional text after header"
1169
  msgstr "Yderligere tekst efter overskrift"
1170
 
1171
+ #: includes/customizer/class-wc-tracking-info-customizer.php:276
1172
+ msgid "Table Content"
1173
+ msgstr "Table Content"
1174
 
1175
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1176
  msgid "Display Shipment Provider image"
1177
  msgstr "Vis leveringsbillede af forsendelse"
1178
 
1179
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1180
+ msgid "Hide Shipment Provider name"
1181
+ msgstr "Skjul forsendelsens navn"
1182
+
1183
+ #: includes/customizer/class-wc-tracking-info-customizer.php:325
1184
  msgid "Hide date"
1185
  msgstr "Skjul dato"
1186
 
1187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:342
1188
+ msgid "Table Header"
1189
+ msgstr "Tabelhoved"
1190
+
1191
+ #: includes/customizer/class-wc-tracking-info-customizer.php:357
1192
+ msgid "Hide Header"
1193
+ msgstr "Skjul overskrift"
1194
+
1195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1196
  msgid "Provider Header Text"
1197
  msgstr "Texto del encabezado del proveedor"
1198
 
1199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:396
1200
  msgid "Tracking Number Header Text"
1201
  msgstr "Número de seguimiento del encabezado de texto"
1202
 
1203
+ #: includes/customizer/class-wc-tracking-info-customizer.php:417
1204
  msgid "Shipped Date Header Text"
1205
  msgstr "Texto de encabezado de fecha de envío"
1206
 
1207
+ #: includes/customizer/class-wc-tracking-info-customizer.php:439
1208
+ msgid "Use tracking number as a link"
1209
+ msgstr "Brug sporingsnummer som et link"
1210
+
1211
+ #: includes/customizer/class-wc-tracking-info-customizer.php:456
1212
  msgid "Track Label"
1213
  msgstr "Sporetiket"
1214
 
1215
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1216
  msgid "Track Header Text"
1217
  msgstr "Texto del encabezado de pista"
1218
 
1219
+ #: includes/customizer/class-wc-tracking-info-customizer.php:495
1220
+ msgid "Table header font size"
1221
+ msgstr "Tabeloverskriftstørrelse"
1222
+
1223
+ #: includes/customizer/class-wc-tracking-info-customizer.php:512
1224
+ msgid "Table header font color"
1225
+ msgstr "Tabeloverskriftstypefarve"
1226
+
1227
+ #: includes/customizer/class-wc-tracking-info-customizer.php:528
1228
  msgid "Table Design"
1229
  msgstr "Borddesign"
1230
 
1231
+ #: includes/customizer/class-wc-tracking-info-customizer.php:543
1232
  msgid "Padding"
1233
  msgstr "polstring"
1234
 
1235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:563
1236
  msgid "Background color"
1237
  msgstr "Baggrundsfarve"
1238
 
1239
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1240
  msgid "Border color"
1241
  msgstr ""
1242
  "Border farve\n"
1243
 
1244
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1245
  msgid "Border size"
1246
  msgstr ""
1247
  "Border størrelse\n"
1248
 
1249
+ #: includes/customizer/class-wc-tracking-info-customizer.php:631
 
 
 
 
 
 
1250
  msgid "Table text align"
1251
  msgstr "Tabeltekst justeres"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1254
  msgid "Table content font size"
1255
  msgstr "Tabelindhold skriftstørrelse"
1256
 
1257
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1258
  msgid "Table content font color"
1259
  msgstr "Tabelindhold fontfarve"
1260
 
1261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:687
1262
  msgid "Content line height"
1263
  msgstr ""
1264
  "Indholdslinjehøjde\n"
1265
 
1266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:708
1267
  msgid "Content font weight"
1268
  msgstr ""
1269
  "Indhold skrifttype vægt\n"
1270
 
1271
+ #: includes/customizer/class-wc-tracking-info-customizer.php:730
1272
+ msgid "Track Button Design"
1273
+ msgstr "Track Button Design"
1274
 
1275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1276
  msgid "Track Link Font Color"
1277
  msgstr "Spor link font farve"
1278
 
1279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:760
1280
  msgid "Track Link Background Color"
1281
  msgstr "Track Link Baggrundsfarve"
1282
 
1283
+ #: includes/customizer/class-wc-tracking-info-customizer.php:775
1284
  msgid "Track link Border"
1285
  msgstr "Spor link grænse"
1286
 
1287
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1288
+ msgid "Your {site_title} order is now partially shipped"
1289
+ msgstr "Din {site_title} ordre er nu delvist sendt"
 
 
 
 
 
 
 
 
 
 
1290
 
1291
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1292
+ msgid ""
1293
+ "Hi there. we thought you'd like to know that your recent order from "
1294
+ "{site_title} has been Partially Shipped."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1295
  msgstr ""
1296
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1297
+ "blevet delvist sendt."
1298
 
1299
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1300
+ msgid "Enable Partially Shipped order status email"
1301
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
1302
 
1303
  #: includes/emails/class-shipment-delivered-email.php:32
1304
  msgid "Delivered order"
1305
+ msgstr "Leveret ordre"
1306
 
1307
  #: includes/emails/class-shipment-delivered-email.php:33
1308
  msgid ""
1309
  "Order delivered emails are sent to customers when their orders are marked "
1310
  "delivered and usually indicate that their orders have been shipped."
1311
  msgstr ""
1312
+ "Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
1313
+ "leveret og angiver normalt, at deres ordrer er blevet sendt."
1314
 
1315
+ #: includes/emails/class-shipment-delivered-email.php:280
1316
+ msgid "Click Here"
1317
+ msgstr "Klik her"
 
 
 
 
 
 
 
 
 
 
1318
 
1319
+ #: includes/emails/class-shipment-delivered-email.php:281
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1320
  msgid "Edit in customizer"
1321
+ msgstr "Rediger i brugerdefineret"
1322
 
1323
+ #: includes/views/admin_options_bulk_upload.php:10
1324
  msgid "Upload CSV"
1325
  msgstr "Upload CSV"
1326
 
1327
+ #: includes/views/admin_options_bulk_upload.php:20
1328
  msgid ""
1329
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1330
  "added)"
1332
  "Erstat sporingsinformation, hvis der eksisterer? (hvis ikke markeret, vil "
1333
  "sporingsoplysningerne blive tilføjet)"
1334
 
1335
+ #: includes/views/admin_options_bulk_upload.php:29
1336
+ #: includes/views/admin_options_shipping_provider.php:119
1337
+ #: includes/views/admin_options_shipping_provider.php:156
1338
  msgid "Upload"
1339
  msgstr "Upload"
1340
 
1341
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1342
  msgid "Settings Saved."
1343
  msgstr "Indstillinger gemt."
1344
 
1345
+ #: includes/views/admin_options_bulk_upload.php:41
1346
+ msgid "Upload Progress - "
1347
+ msgstr "Upload Progress -"
1348
+
1349
+ #: includes/views/admin_options_bulk_upload.php:50
1350
+ msgid "Sample CSV"
1351
+ msgstr "Eksempel på CSV"
1352
+
1353
+ #: includes/views/admin_options_bulk_upload.php:55
1354
  msgid "You can download an example of the csv file:"
1355
  msgstr "Puedes descargar un ejemplo del archivo csv:"
1356
 
1357
+ #: includes/views/admin_options_bulk_upload.php:58
1358
  msgid "Download sample csv file"
1359
  msgstr "Download prøve csv fil"
1360
 
1361
+ #: includes/views/admin_options_bulk_upload.php:63
1362
  msgid ""
1363
  "For detailed instructions on how to upload tracking info in bulk, see our"
1364
  msgstr ""
1365
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
1366
  "seguimiento de forma masiva, consulte nuestra"
1367
 
1368
+ #: includes/views/admin_options_settings.php:26
1369
+ #: includes/views/admin_options_settings.php:74
1370
+ #: includes/views/admin_options_settings.php:100
1371
+ #: includes/views/admin_options_trackship_integration.php:93
1372
+ #: includes/views/admin_options_trackship_integration.php:124
1373
+ msgid "Save Changes"
1374
+ msgstr "Gem ændringer"
1375
 
1376
+ #: includes/views/admin_options_settings.php:40
1377
+ msgid "Tracking Info Display"
1378
+ msgstr "Tracking Info Display"
1379
+
1380
+ #: includes/views/admin_options_settings.php:49
1381
+ msgid "You can customize the tracking info display on emails and my account"
1382
+ msgstr "Du kan tilpasse visningen af ​​sporingsinfo på e-mails og min konto"
1383
 
1384
+ #: includes/views/admin_options_settings.php:52
1385
+ msgid "Launch Customizer"
1386
+ msgstr "Start Customizer"
 
1387
 
1388
+ #: includes/views/admin_options_settings.php:62
 
1389
  msgid "Delivered Order Status"
1390
  msgstr "Leveret ordrestatus"
1391
 
1392
+ #: includes/views/admin_options_settings.php:88
1393
+ msgid "Partially Shipped Order Status"
1394
+ msgstr "Delvis afsendt ordrestatus"
 
 
 
 
 
 
1395
 
1396
+ #: includes/views/admin_options_settings.php:94
1397
+ #, php-format
1398
+ msgid ""
1399
+ "<strong>PLEASE NOTE</strong> - If you use the custom order status "
1400
+ "\"Partially Shipped\", when you deactivate the plugin, you must register "
1401
+ "this order status in function.php in order to see these orders in the orders "
1402
+ "admin. You can find the <a href=\"%s\" target=\"blank\">snippet</a> to use "
1403
+ "in functions.php here or you can manually change all your \"Partially "
1404
+ "Shipped\" order to \"completed\" before deactivating the plugin."
1405
+ msgstr ""
1406
+ "<strong> BEMÆRK </strong> - Hvis du bruger den tilpassede ordrestatus "
1407
+ "\"Delvist afsendt\", når du deaktiverer plugin, skal du registrere denne "
1408
+ "ordrestatus i function.php for at se disse ordrer i ordreradministratoren. "
1409
+ "Du kan finde <a href=\"%s\" target=\"blank\"> kodestykket </a> til brug i "
1410
+ "features.php her, eller du kan manuelt ændre al din \"Delvist afsendt\" "
1411
+ "ordre til \"afsluttet\" inden deaktivering af plugin ."
1412
+
1413
+ #: includes/views/admin_options_shipping_provider.php:12
1414
+ #: includes/views/admin_options_shipping_provider.php:23
1415
+ #: includes/views/admin_options_addons.php:109
1416
+ msgid "Active"
1417
+ msgstr "Aktiv"
1418
+
1419
+ #: includes/views/admin_options_shipping_provider.php:13
1420
+ #: includes/views/admin_options_shipping_provider.php:23
1421
+ msgid "Inactive"
1422
+ msgstr "inaktive"
1423
+
1424
+ #: includes/views/admin_options_shipping_provider.php:14
1425
+ msgid "Custom"
1426
+ msgstr "Brugerdefinerede"
1427
+
1428
+ #: includes/views/admin_options_shipping_provider.php:21
1429
+ msgid "Add Custom Provider"
1430
+ msgstr "Tilføj brugerdefineret udbyder"
1431
+
1432
+ #: includes/views/admin_options_shipping_provider.php:22
1433
+ #: includes/views/admin_options_shipping_provider.php:176
1434
+ #: includes/views/admin_options_shipping_provider.php:183
1435
+ msgid "Sync Shipping Providers"
1436
+ msgstr "Synkroniseringsforsendelser"
1437
+
1438
+ #: includes/views/admin_options_shipping_provider.php:23
1439
+ msgid "Reset"
1440
+ msgstr "Nulstil"
1441
+
1442
+ #: includes/views/admin_options_shipping_provider.php:27
1443
+ msgid "Search by provider / country"
1444
+ msgstr "Søg efter udbyder / land"
1445
 
1446
+ #: includes/views/admin_options_shipping_provider.php:101
1447
  msgid "Add Custom Shipping Provider"
1448
  msgstr "Tilføj Tilpasset forsendelsesleverandør"
1449
 
1450
+ #: includes/views/admin_options_shipping_provider.php:108
1451
+ #: includes/views/admin_options_shipping_provider.php:145
1452
+ msgid "Shipping Country"
1453
  msgstr "Forsendelsesland"
1454
 
1455
+ #: includes/views/admin_options_shipping_provider.php:109
1456
+ #: includes/views/admin_options_shipping_provider.php:146
1457
  msgid "Global"
1458
+ msgstr "Global"
1459
+
1460
+ #: includes/views/admin_options_shipping_provider.php:125
1461
+ #: includes/views/admin_options_shipping_provider.php:162
1462
+ msgid "How to add Tracking URL"
1463
+ msgstr "Sådan tilføjes sporings-URL"
1464
 
1465
+ #: includes/views/admin_options_shipping_provider.php:138
1466
  msgid "Edit Custom Shipping Provider"
1467
  msgstr "Rediger leverandør af tilpasset forsendelse"
1468
 
1469
+ #: includes/views/admin_options_shipping_provider.php:177
1470
+ msgid ""
1471
+ "Syncing the shipping providers list add or updates the pre-set shipping "
1472
+ "providers and will not effect custom shipping providers."
1473
+ msgstr ""
1474
+ "Synkronisering af leverandørlisten tilføj eller opdaterer de "
1475
+ "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1476
+ "forsendelsesleverandører."
1477
 
1478
+ #: includes/views/admin_options_shipping_provider.php:179
1479
  msgid "Providers Added"
1480
  msgstr "Udbydere tilføjet"
1481
 
1482
+ #: includes/views/admin_options_shipping_provider.php:180
1483
  msgid "Providers Updated"
1484
  msgstr "Udbydere opdateret"
1485
 
1486
+ #: includes/views/admin_options_shipping_provider.php:181
1487
  msgid "Providers Deleted"
1488
  msgstr "Udbydere er slettet"
1489
 
1490
+ #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
1491
  msgid "Tracking Page"
1492
  msgstr "Tracking Page"
1493
 
1494
+ #: includes/views/admin_options_trackship_integration.php:117
 
 
 
 
1495
  msgid "Click to preview the tracking page"
1496
  msgstr "Klik for at forhåndsvise sporingssiden"
1497
 
1498
+ #: includes/views/admin_options_trackship_integration.php:118
1499
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1500
  msgstr "BEMÆRK - sørg for at gemme dine indstillinger før forhåndsvisning."
1501
 
1502
+ #: includes/views/admin_options_trackship_integration.php:137
1503
  msgid "Shipment Status Notifications "
1504
  msgstr "Notifikationer om forsendelsesstatus"
1505
 
1506
+ #: includes/views/admin_options_trackship_integration.php:163
1507
  msgid ""
1508
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1509
  "the way."
1511
  "Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
1512
  "Forsendelsen er på vej."
1513
 
1514
+ #: includes/views/admin_options_trackship_integration.php:177
1515
  msgid "Shipment is returned to sender"
1516
  msgstr "Forsendelse returneres til afsenderen"
1517
 
1518
+ #: includes/views/admin_options_trackship_integration.php:191
1519
  msgid "The shipment is ready to pickup."
1520
  msgstr "Forsendelsen er klar til afhentning."
1521
 
1522
+ #: includes/views/admin_options_trackship_integration.php:204
1523
  msgid "Carrier is about to deliver the shipment"
1524
  msgstr "Carrier er ved at levere forsendelsen"
1525
 
1526
+ #: includes/views/admin_options_trackship_integration.php:218
1527
  msgid "The shipment was delivered successfully"
1528
  msgstr "Forsendelsen blev leveret med succes"
1529
 
1530
+ #: includes/views/admin_options_trackship_integration.php:219
1531
  msgid ""
1532
  "You already have delivered email enabled, to enable this email you'll need "
1533
  "to disable the order status delivered in settings."
1535
  "Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
1536
  "du deaktivere ordrestatus leveret i indstillinger."
1537
 
1538
+ #: includes/views/admin_options_trackship_integration.php:233
1539
  msgid ""
1540
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1541
  "will try to deliver the package again."
1543
  "Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
1544
  "en meddelelse og vil forsøge at levere pakken igen."
1545
 
1546
+ #: includes/views/admin_options_tools.php:22
1547
+ msgid ""
1548
+ "You can send all your orders from the last 30 days to get shipment status "
1549
+ "from TrackShip:"
 
 
1550
  msgstr ""
1551
+ "Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
1552
+ "forsendelsesstatus fra TrackShip:"
1553
 
1554
+ #: includes/views/admin_options_addons.php:20
1555
+ msgid "TrackShip"
1556
+ msgstr "TrackShip"
1557
 
1558
+ #: includes/views/admin_options_addons.php:90
1559
+ msgid "Upgrade Now"
1560
+ msgstr "Opgrader nu"
1561
 
1562
+ #: includes/views/admin_options_addons.php:110
1563
+ msgid "Deactivate"
1564
+ msgstr "Deaktiver"
1565
 
1566
+ #: includes/views/admin_options_addons.php:112
1567
+ msgid "Activate"
1568
+ msgstr "Activate"
1569
+
1570
+ # Udbyderens navn
1571
+ #: templates/emails/tracking-info.php:170
1572
+ msgid "Provider Name"
1573
+ msgstr "Udbyderens navn"
1574
 
1575
  #. %s: Order ID.
1576
+ #: templates/emails/wcast-email-order-details.php:47
1577
  #, php-format
1578
  msgid "Order number: %s"
1579
  msgstr ""
1580
  "Ordrenummer:% s\n"
1581
 
1582
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1583
+ msgid "Cannot create existing order shipment tracking."
1584
+ msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
1585
+
1586
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1587
+ msgid "Invalid order ID."
1588
+ msgstr "Ugyldigt ordre-ID."
1589
+
1590
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1591
+ msgid "Special character not allowd in tracking number"
1592
+ msgstr "Specialtegn er ikke tilladt i sporingsnummer"
1593
+
1594
+ #. Name of the plugin
1595
+ msgid "Advanced Shipment Tracking for WooCommerce"
1596
  msgstr ""
 
1597
 
1598
+ #. Description of the plugin
1599
+ msgid ""
1600
+ "Add shipment tracking information to your WooCommerce orders and provide "
1601
+ "customers with an easy way to track their orders. Shipment tracking Info "
1602
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1603
+ "order complete email."
1604
+ msgstr ""
1605
+ "Tilføj forsendelsessporingsoplysninger til dine WooCommerce-ordrer og giver "
1606
+ "kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
1607
+ "vises på kundekonti (i ordrepanelet) og i WooCommerce fuldstændig e-mail."
1608
+
1609
+ #. Author of the plugin
1610
+ msgid "zorem"
1611
+ msgstr ""
lang/woo-advanced-shipment-tracking-de_DE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-de_DE.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\n"
@@ -12,9 +12,9 @@ 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.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,8 +23,14 @@ msgstr ""
23
  "Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
24
  "Advanced Shipment Tracking!\n"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
 
28
  #, php-format
29
  msgid ""
30
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -34,679 +40,349 @@ msgid ""
34
  "php here or you can manually change all your \"delivered\" order to "
35
  "\"completed\" before deactivating the plugin."
36
  msgstr ""
 
 
 
 
 
 
 
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "Versandt"
 
 
 
 
 
 
42
 
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
48
- msgstr[1] "Ausgeliefert <span class = \"count\"> (% s) </ span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Status in versandt ändern"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "Geliefert"
64
 
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Geliefert <span class = \"count\"> (% s) </ span>"
70
- msgstr[1] "Geliefert <span class = \"count\"> (% s) </ span>"
71
 
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Aktualisiertes Tracking"
 
 
 
 
 
 
76
 
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
 
78
  #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
82
- msgstr[1] "Tracking <span class = \"count\"> (% s) </ span> aktualisiert"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Status in Auslieferung ändern"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
89
- msgid "Shipment status"
90
- msgstr "Versandstatus"
91
-
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
93
- msgid ""
94
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
- "100 orders."
96
  msgstr ""
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Auftrag"
 
 
 
101
 
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Artikel"
 
 
105
 
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Werbebuchung"
 
 
109
 
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "Klasse"
 
 
113
 
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Die ausgewählten Tarife löschen?"
 
117
 
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Die ausgewählten Tarife duplizieren?"
121
 
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Wollen Sie wirklich alle Anbieterstatus ändern?"
 
 
125
 
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
- msgid "Data saved successfully."
129
- msgstr "Daten erfolgreich gespeichert."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
132
- msgid "Really delete this entry? This will not be undo."
133
- msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
134
 
135
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
136
- msgid "You can upload only csv file."
137
- msgstr "Sie können nur eine CSV-Datei hochladen."
 
138
 
139
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
140
- msgid "This browser does not support HTML5."
141
- msgstr "Dieser Browser unterstützt kein HTML5."
142
 
143
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
144
- msgid "Please upload a valid CSV file."
145
- msgstr "Laden Sie eine gültige CSV-Datei hoch."
146
 
147
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
148
- msgid "Shipping Providers"
149
- msgstr "Versandanbieter"
 
150
 
151
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
152
- msgid "Settings"
153
- msgstr "die Einstellungen"
 
154
 
155
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
156
- msgid "Bulk Upload"
157
- msgstr "Bulk-Upload"
 
158
 
159
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
160
- msgid "TrackShip"
 
 
161
  msgstr ""
162
 
163
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
164
- msgid "Connected"
165
- msgstr ""
166
- "In Verbindung gebracht\n"
167
 
168
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
169
- msgid ""
170
- "Auto-track all your shipments, get real-time shipment tracking updates "
171
- "without leaving your stores admin."
172
- msgstr ""
173
- "Verfolgen Sie alle Ihre Sendungen automatisch und erhalten Sie "
174
- "Sendungsverfolgungsaktualisierungen in Echtzeit, ohne Ihren "
175
- "Händleradministrator zu verlassen.\n"
176
 
177
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
178
- #, php-format
179
- msgid ""
180
- "You must have account and connect your store to %s in order to activate "
181
- "these advanced features."
182
- msgstr ""
183
- "Sie müssen über ein Konto verfügen und Ihr Geschäft mit% s verbinden, um "
184
- "diese erweiterten Funktionen zu aktivieren.\n"
185
 
186
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
 
187
  #, php-format
188
- msgid "50 free Trackers for every new account! Get your %s account now>>"
189
- msgstr ""
190
- "50 kostenlose Tracker für jeden neuen Account! Hol dir jetzt dein% s-Konto >>"
191
- "\n"
192
 
193
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
194
- msgid "TrackShip Connection Status"
195
- msgstr "TrackShip-Verbindungsstatus"
196
 
197
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
198
- #: includes/emails/class-shipment-delivered-email.php:226
199
- msgid "Enable/Disable"
200
- msgstr "Aktivieren deaktivieren"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
203
- msgid "Set order status Delivered when order is delivered"
204
- msgstr ""
205
- "Setzt den Bestellstatus Ausgeliefert, wenn die Bestellung ausgeliefert wird\n"
206
 
207
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
 
 
 
 
208
  #, php-format
209
  msgid ""
210
- "You have %s %s orders that you can track with TrackShip, you can send these "
211
- "shipments to TrackShip in Bulk."
212
  msgstr ""
 
 
213
 
214
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
215
- msgid "Get Shipment Status"
 
216
  msgstr ""
 
217
 
218
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
219
- msgid ""
220
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
221
- "for the tracking page to work."
222
- msgstr ""
223
 
224
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
225
- msgid "Select Tracking Page"
226
- msgstr ""
227
- "Wählen Sie Tracking-Seite\n"
 
228
 
229
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
230
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
231
- msgid "Remove Trackship branding from tracking page"
232
- msgstr ""
233
- "Entfernen Sie das Trackship-Branding von der Tracking-Seite\n"
234
 
235
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
236
- msgid "Use the tracking page in the customer email/my account tracking link"
237
- msgstr ""
238
- "Verwenden Sie die Tracking-Seite in der Kunden-E-Mail / meinem Konto-"
239
- "Tracking-Link\n"
240
 
241
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
242
- msgid "Select primary color for tracking page"
 
243
  msgstr ""
244
- "Wählen Sie die Primärfarbe für die Verfolgungsseite aus\n"
245
 
246
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
247
- msgid "Select content border color for tracking page"
 
248
  msgstr ""
249
- "Wählen Sie die Farbe des Inhaltsrahmens für die Nachverfolgungsseite aus\n"
250
 
251
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
252
- msgid ""
253
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
254
- "state"
255
  msgstr ""
256
 
257
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
 
258
  msgid ""
259
- "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
260
- "will be selected by default when adding tracking info to orders."
 
261
  msgstr ""
262
 
263
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
264
- msgid "Completed"
265
- msgstr "Abgeschlossen"
266
-
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
268
- msgid ""
269
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
270
- "state"
271
  msgstr ""
272
 
273
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
274
- msgid ""
275
- "This means that the 'mark as <span class='shipped_label'>completed</span>' "
276
- "will be selected by default when adding tracking info to orders."
277
  msgstr ""
278
 
279
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
280
- msgid "Rename the “Completed” Order status to “Shipped”"
281
  msgstr ""
282
- "Benennen Sie den Status der abgeschlossenen Bestellung in \"Versendet\" um."
283
 
284
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
285
- msgid "On which customer order status email to include tracking info?"
 
 
286
  msgstr ""
287
- "In welcher E-Mail mit dem Bestellstatus des Kunden werden Informationen zur "
288
- "Sendungsverfolgung angezeigt?"
289
-
290
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
292
- msgid "Cancelled"
293
- msgstr "Abgebrochen"
294
-
295
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
296
- msgid "Customer Invoice"
297
- msgstr "Kundenrechnung"
298
 
299
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
300
- msgid "Refunded"
301
- msgstr "Erstattet"
302
 
303
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
304
- msgid "Processing"
305
- msgstr "wird bearbeitet"
306
 
307
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
308
- msgid "Failed"
309
- msgstr "Gescheitert"
310
 
311
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
312
- msgid "Show tracking info in Invoice"
313
- msgstr "Tracking-Informationen in Rechnung anzeigen"
314
 
315
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
316
- msgid "Show tracking info in Packing Slip"
317
- msgstr "Tracking-Informationen im Packzettel anzeigen"
318
 
319
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
320
- msgid "Enable a New Custom order status - “Delivered”"
321
- msgstr ""
322
- "Aktivieren Sie einen neuen benutzerdefinierten Auftragsstatus - \"Geliefert\""
323
 
324
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
325
- msgid ""
326
- "if you enable the delivered item, you will have the option to send delivered "
327
- "email notifications."
328
  msgstr ""
329
- "Wenn Sie den gelieferten Artikel aktivieren, haben Sie die Möglichkeit, "
330
- "Benachrichtigungen per E-Mail zu senden."
331
-
332
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
333
- msgid "Delivered Status Label color"
334
- msgstr "Farbe des gelieferten Statuslabels"
335
 
336
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
337
- #: includes/customizer/class-wcast-customizer.php:58
338
- #: includes/customizer/class-wc-email-customizer.php:155
339
  msgid "Delivered order status email"
340
  msgstr ""
341
  "Bestellstatus per E-Mail zugestellt\n"
342
 
343
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
344
- #: includes/views/admin_options_trackship_integration.php:80
345
- #: includes/views/admin_options_trackship_integration.php:94
346
- #: includes/views/admin_options_trackship_integration.php:108
347
- #: includes/views/admin_options_trackship_integration.php:121
348
- #: includes/views/admin_options_trackship_integration.php:135
349
- #: includes/views/admin_options_trackship_integration.php:150
350
- msgid "Edit"
351
- msgstr "Bearbeiten"
352
-
353
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
354
- msgid ""
355
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
356
- "plugin"
357
  msgstr ""
358
- "Ändere die \"Ausgelieferten\" Bestellungen in \"Abgeschlossen\", wenn du das "
359
- "Plugin deaktivierst"
360
-
361
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
362
- msgid "No, I will use the snippet"
363
- msgstr "Nein, ich werde das Snippet verwenden"
364
-
365
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
366
- msgid "Yes, change all Delivered orders to Completed"
367
- msgstr "Ja, ändern Sie alle gelieferten Bestellungen in Abgeschlossen"
368
 
369
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
370
- #, php-format
371
- msgid ""
372
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
373
- "deactivate the plugin, you must register this order status in function.php "
374
- "in order to see these orders in the orders admin. You can find the snippet "
375
- "to use in functions.php %s or we can set to change all your \"delivered\" "
376
- "order to \"completed\"."
377
- msgstr ""
378
- "BITTE BEACHTEN SIE - Wenn Sie den benutzerdefinierten Bestellstatus "
379
- "\"Geliefert\" verwenden und das Plugin deaktivieren, müssen Sie diesen "
380
- "Bestellstatus in function.php registrieren, um diese Bestellungen im "
381
- "Bestelladministrator anzuzeigen. Sie finden das zu verwendende Snippet in "
382
- "functions.php% s, oder wir können festlegen, dass alle Ihre \"gelieferten\" "
383
- "Bestellungen auf \"erledigt\" geändert werden."
384
-
385
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
386
- msgid "Get shipment status"
387
- msgstr ""
388
- "Sendungsstatus abrufen\n"
389
-
390
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
391
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
392
- #: includes/customizer/class-wcast-customizer.php:74
393
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
394
- #: includes/views/admin_options_trackship_integration.php:79
395
- msgid "In Transit"
396
- msgstr ""
397
- "Im Transit\n"
398
-
399
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
401
- #: includes/customizer/class-wcast-customizer.php:66
402
  msgid "Pre Transit"
403
  msgstr ""
404
  "Pre Transit\n"
405
 
406
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
407
- msgid "Out for delivery"
408
- msgstr ""
409
- "raus zur Lieferung\n"
410
-
411
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
412
- #: includes/customizer/class-wcast-customizer.php:89
413
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
414
- #: includes/views/admin_options_trackship_integration.php:107
415
- msgid "Available For Pickup"
416
  msgstr ""
417
- "Zur Abholung bereit\n"
418
 
419
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
421
- #: includes/customizer/class-wcast-customizer.php:82
422
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
423
- #: includes/views/admin_options_trackship_integration.php:93
424
  msgid "Return To Sender"
425
  msgstr ""
426
  "Zurück an den Absender\n"
427
 
428
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
429
- msgid "Delivery Failure"
430
- msgstr ""
431
- "Zustellungsfehler\n"
432
-
433
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
434
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
435
- msgid "Unknown"
436
- msgstr ""
437
- "unbekannte\n"
438
-
439
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
440
- msgid "Pending TrackShip"
441
- msgstr ""
442
- "Ausstehendes TrackShip\n"
443
-
444
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
445
- msgid "Invalid Tracking"
446
- msgstr ""
447
- "Ungültiges Tracking\n"
448
-
449
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
450
- msgid "Carrier unsupported"
451
- msgstr ""
452
- "Träger nicht unterstützt\n"
453
-
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
455
- msgid "Invalid User Key"
456
- msgstr ""
457
-
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
459
- msgid "Resend delivered order notification"
460
- msgstr "Gelieferte Bestellbenachrichtigung erneut senden"
461
-
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
463
- msgid "Shipped Order"
464
- msgstr "Versandauftrag"
465
-
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
467
- msgid "Mark order as delivered"
468
- msgstr "Bestellung als geliefert markieren"
469
-
470
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
471
- msgid "Add Tracking"
472
  msgstr ""
 
473
 
474
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
475
- msgid "Change order status to"
476
- msgstr "Ändern Sie den Auftragsstatus in"
477
-
478
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
479
- #: includes/views/admin_options_shipping_provider.php:88
480
- #, php-format
481
- msgid "You don't have any %s shipping providers."
482
- msgstr "Sie haben keine% s Versandanbieter."
483
-
484
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
485
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
486
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
487
- msgid "view details"
488
- msgstr "view details"
489
-
490
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
491
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
493
- msgid "hide details"
494
- msgstr "Details ausblenden"
495
-
496
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
497
- msgid "Available for Pickup"
498
  msgstr ""
 
499
 
500
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
501
- msgid "Out for Delivery"
502
- msgstr ""
 
 
503
 
504
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
505
- #: includes/customizer/class-wcast-customizer.php:112
506
- #: includes/customizer/class-wc-failure-email-customizer.php:113
507
- #: includes/views/admin_options_trackship_integration.php:149
508
  msgid "Failed Attempt"
509
  msgstr "Misslungener Versuch"
510
 
511
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
512
- msgid "Carrier Unsupported"
513
- msgstr ""
514
-
515
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
516
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
517
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
518
- msgid "Invalid Tracking Number"
519
- msgstr ""
520
- "Ungültige Tracking-Nummer\n"
521
-
522
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
523
- msgid "Filter by shipment status"
524
- msgstr ""
525
-
526
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
527
- msgid ""
528
- "To track your order please enter your Order ID in the box below and press "
529
- "the \"Track\" button. This was given to you on your receipt and in the "
530
- "confirmation email you should have received."
531
- msgstr ""
532
- "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
533
- "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
534
- "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
535
- "sollen, mitgeteilt.\n"
536
-
537
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
538
- msgid "Order ID"
539
- msgstr "Auftragsnummer"
540
-
541
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
542
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
543
- msgid "Found in your order confirmation email."
544
- msgstr ""
545
- "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
546
-
547
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
548
- msgid "Order Email"
549
- msgstr ""
550
- "E-Mail bestellen\n"
551
-
552
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
553
- #: includes/class-wc-advanced-shipment-tracking.php:260
554
- #: includes/class-wc-advanced-shipment-tracking.php:637
555
- #: includes/class-wc-advanced-shipment-tracking.php:763
556
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
557
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
558
- #: includes/views/html-tracking-info-design-preview.php:69
559
- #: templates/emails/tracking-info.php:152
560
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
561
- msgid "Track"
562
- msgstr "Track"
563
-
564
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
565
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
566
- #, php-format
567
- msgid "Shipment - %s (out of %s)"
568
- msgstr ""
569
- "Versand -% s (von% s)\n"
570
-
571
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
572
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
573
- msgid "Order: "
574
- msgstr "Auftrag:"
575
-
576
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
577
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
578
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
579
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
580
- msgid "Estimated Delivery Date: "
581
- msgstr "Voraussichtlicher Liefertermin:"
582
-
583
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
584
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
585
- msgid "Tracking Details"
586
- msgstr "Verfolgungsdetails"
587
-
588
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
589
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
590
- msgid "view more"
591
- msgstr "mehr sehen"
592
-
593
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
594
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
595
- msgid "view less"
596
- msgstr "weniger anzeigen"
597
-
598
- #. esc_html__( '%1$s %2$s.' ),
599
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
600
- #, php-format
601
- msgid ""
602
- "We added many improvements to %1$s, please help and give us a review :) "
603
- "Thanks!"
604
- msgstr ""
605
- "Wir haben% 1 $ s viele Verbesserungen hinzugefügt. Bitte helfen Sie uns und "
606
- "geben Sie uns eine Bewertung :) Danke!"
607
-
608
- #: includes/class-wc-advanced-shipment-tracking.php:93
609
- #: includes/class-wc-advanced-shipment-tracking.php:244
610
- #: includes/customizer/class-wcast-customizer.php:30
611
- msgid "Shipment Tracking"
612
- msgstr "Sendungsverfolgung"
613
-
614
- #: includes/class-wc-advanced-shipment-tracking.php:179
615
- #: includes/class-wc-advanced-shipment-tracking.php:351
616
- msgid "Change order to Shipped?"
617
- msgstr ""
618
-
619
- #: includes/class-wc-advanced-shipment-tracking.php:181
620
- #: includes/class-wc-advanced-shipment-tracking.php:353
621
- msgid "Change order to Completed?"
622
- msgstr ""
623
-
624
- #: includes/class-wc-advanced-shipment-tracking.php:186
625
- msgid "Add Tracking Number"
626
- msgstr ""
627
-
628
- #: includes/class-wc-advanced-shipment-tracking.php:191
629
- #: includes/class-wc-advanced-shipment-tracking.php:369
630
- msgid "Provider:"
631
- msgstr "Anbieter:"
632
-
633
- #: includes/class-wc-advanced-shipment-tracking.php:211
634
- #: includes/class-wc-advanced-shipment-tracking.php:407
635
- msgid "Tracking number:"
636
- msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
637
-
638
- #: includes/class-wc-advanced-shipment-tracking.php:217
639
- #: includes/class-wc-advanced-shipment-tracking.php:415
640
- msgid "Date shipped:"
641
- msgstr "Lieferdatum:"
642
-
643
- #: includes/class-wc-advanced-shipment-tracking.php:260
644
- #: templates/pip/tracking-info.php:23
645
- msgid "Click here to track your shipment"
646
- msgstr "Klicken Sie hier, um Ihre Sendung zu verfolgen"
647
-
648
- #. 1: shipping date
649
- #: includes/class-wc-advanced-shipment-tracking.php:268
650
- #: templates/pip/tracking-info.php:29
651
- #, php-format
652
- msgid "Shipped on %s"
653
- msgstr "Versand auf% s"
654
-
655
- #: includes/class-wc-advanced-shipment-tracking.php:269
656
- msgid "Delete"
657
- msgstr "Löschen"
658
-
659
- #: includes/class-wc-advanced-shipment-tracking.php:365
660
- msgid "Add Tracking Info"
661
- msgstr "Tracking-Info hinzufügen"
662
-
663
- #: includes/class-wc-advanced-shipment-tracking.php:370
664
- msgid "Select Provider"
665
- msgstr "Wählen Sie Provider aus"
666
-
667
- #: includes/class-wc-advanced-shipment-tracking.php:430
668
- msgid "Save Tracking"
669
- msgstr "Tracking speichern"
670
-
671
- #: includes/class-wc-advanced-shipment-tracking.php:431
672
- msgid "Preview:"
673
- msgstr "Vorschau:"
674
-
675
- #: includes/class-wc-advanced-shipment-tracking.php:431
676
- msgid "Click here to track shipment"
677
- msgstr "Klicken Sie hier, um den Versand zu verfolgen"
678
-
679
- #: includes/customizer/class-wcast-customizer.php:39
680
- msgid "Shipment Status Emails"
681
- msgstr "Sendungsstatus-E-Mails"
682
-
683
- #: includes/customizer/class-wcast-customizer.php:50
684
- msgid "Tracking info display"
685
- msgstr ""
686
- "Tracking-Info-Anzeige\n"
687
-
688
- #: includes/customizer/class-wcast-customizer.php:51
689
- msgid "This section lets you customize the Tracking Info display design."
690
- msgstr ""
691
- "In diesem Abschnitt können Sie das Anzeigedesign der Tracking-Informationen "
692
- "anpassen."
693
-
694
- #: includes/customizer/class-wcast-customizer.php:96
695
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
696
- #: includes/views/admin_options_trackship_integration.php:120
697
- msgid "Out For Delivery"
698
- msgstr ""
699
- "Raus zur Lieferung\n"
700
-
701
- #: includes/customizer/class-wcast-customizer.php:352
702
  msgid "Select order to preview"
703
  msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
704
 
705
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
706
  msgid "Your order #{order_number} is available for pickup"
707
  msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
708
 
709
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
710
  msgid ""
711
  "Hi there. we thought you'd like to know that your recent order from "
712
  "{site_title} is available for pickup."
@@ -714,219 +390,183 @@ msgstr ""
714
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
715
  "{site_title} zur Abholung verfügbar ist."
716
 
717
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
718
  msgid "Available For Pickup shipment status email"
719
  msgstr "Verfügbar für Abholung Versandstatus E-Mail"
720
 
721
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
722
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
723
- #: includes/customizer/class-wc-email-customizer.php:156
724
- #: includes/customizer/class-wc-failure-email-customizer.php:145
725
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
726
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
727
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
728
  msgid "This section lets you customize the Email Content."
729
  msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
730
 
731
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
732
  msgid "Enable Available For Pickup shipment status email"
733
  msgstr "Versandstatus-E-Mail für Abholung aktivieren"
734
 
735
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
736
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
737
- #: includes/customizer/class-wc-email-customizer.php:189
738
- #: includes/customizer/class-wc-failure-email-customizer.php:175
739
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
740
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
741
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
742
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
743
  msgid "Preview order"
744
  msgstr "Vorschau der Bestellung"
745
 
746
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
747
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
748
- #: includes/customizer/class-wc-failure-email-customizer.php:196
749
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
750
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
751
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
752
- msgid "To"
753
- msgstr "Zu"
754
-
755
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
756
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
757
- #: includes/customizer/class-wc-failure-email-customizer.php:197
758
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
759
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
760
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
761
- msgid ""
762
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
763
- "can be separated by commas."
764
- msgstr ""
765
- "Geben Sie hier E-Mails ein oder verwenden Sie Variablen wie {customer_email}."
766
- " Mehrere E-Mails können durch Kommas getrennt werden."
767
-
768
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
769
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
770
- #: includes/customizer/class-wc-email-customizer.php:218
771
- #: includes/customizer/class-wc-failure-email-customizer.php:203
772
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
773
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
774
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
775
  msgid "E.g. {customer.email}, admin@example.org"
776
  msgstr "Z.B. {customer.email}, admin@example.org"
777
 
778
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
779
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
780
- #: includes/customizer/class-wc-email-customizer.php:234
781
- #: includes/customizer/class-wc-failure-email-customizer.php:218
782
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
783
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
784
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
785
- msgid "Email subject"
786
- msgstr "E-Mail Betreff"
787
-
788
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
789
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
790
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
791
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
792
- #: includes/customizer/class-wc-failure-email-customizer.php:219
793
- #: includes/customizer/class-wc-failure-email-customizer.php:241
794
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
795
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
796
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
797
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
798
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
799
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
800
  msgid "Available placeholders: {site_title}, {order_number}"
801
  msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
802
 
803
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
804
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
805
- #: includes/customizer/class-wc-email-customizer.php:241
806
- #: includes/customizer/class-wc-failure-email-customizer.php:225
807
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
808
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
809
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
 
810
  msgid "Please enter email subject here"
811
  msgstr "Bitte geben Sie hier den E-Mail-Betreff ein"
812
 
813
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
814
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
815
- #: includes/customizer/class-wc-email-customizer.php:257
816
- #: includes/customizer/class-wc-failure-email-customizer.php:240
817
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
818
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
819
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
820
- #: includes/emails/class-shipment-delivered-email.php:250
821
- msgid "Email heading"
822
- msgstr "E-Mail-Überschrift"
823
-
824
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
825
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
826
- #: includes/customizer/class-wc-email-customizer.php:264
827
- #: includes/customizer/class-wc-failure-email-customizer.php:247
828
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
829
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
830
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
831
  msgid "Please enter email heading here"
832
  msgstr "Bitte geben Sie hier die E-Mail-Überschrift ein"
833
 
834
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
835
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
836
- #: includes/customizer/class-wc-failure-email-customizer.php:262
837
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
838
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
839
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
840
  msgid "Show tracking details"
841
  msgstr "Tracking-Details anzeigen"
842
 
843
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
844
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
845
- #: includes/customizer/class-wc-failure-email-customizer.php:278
846
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
847
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
848
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
849
  msgid "Show order details"
850
  msgstr ""
851
  "Bestelldetails anzeigen\n"
852
 
853
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
854
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
855
- #: includes/customizer/class-wc-failure-email-customizer.php:294
856
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
857
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
858
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
859
  msgid "Show billing address"
860
  msgstr ""
861
  "Rechnungsadresse anzeigen\n"
862
 
863
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
864
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
865
- #: includes/customizer/class-wc-failure-email-customizer.php:311
866
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
867
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
868
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
869
  msgid "Show shipping address"
870
  msgstr ""
871
  "Lieferadresse anzeigen\n"
872
 
873
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
874
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
875
- #: includes/customizer/class-wc-email-customizer.php:384
876
- #: includes/customizer/class-wc-failure-email-customizer.php:327
877
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
878
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
879
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
880
  msgid "Google Analytics link tracking"
881
  msgstr ""
882
 
883
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
884
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
885
- #: includes/customizer/class-wc-failure-email-customizer.php:328
886
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
887
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
888
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
889
  msgid "This will be appended to URL in the email content"
890
  msgstr ""
891
 
892
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
893
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
894
- #: includes/customizer/class-wc-email-customizer.php:280
895
- #: includes/customizer/class-wc-failure-email-customizer.php:349
896
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
897
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
898
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
899
  msgid "Email content"
900
  msgstr "E-Mail-Inhalt"
901
 
902
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
903
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
904
- #: includes/customizer/class-wc-email-customizer.php:405
905
- #: includes/customizer/class-wc-failure-email-customizer.php:369
906
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
907
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
908
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
 
909
  msgid "Available placeholders"
910
  msgstr ""
911
  "Verfügbare Platzhalter\n"
912
 
913
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
914
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
915
- #: includes/customizer/class-wc-email-customizer.php:437
916
- #: includes/customizer/class-wc-failure-email-customizer.php:412
917
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
918
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
919
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
920
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
921
- msgid "Please select preview order."
 
922
  msgstr ""
923
- "Bitte wählen Sie eine Vorschau-Bestellung.\n"
924
 
925
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
926
  msgid "Your order #{order_number} has been delivered"
927
  msgstr ""
928
 
929
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
930
  msgid ""
931
  "Hi there. we thought you'd like to know that your recent order from "
932
  "{site_title} has been Delivered."
@@ -934,94 +574,77 @@ msgstr ""
934
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
935
  "{site_title} geliefert wurde.\n"
936
 
937
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
938
  msgid "Delivered shipment status email"
939
  msgstr "Versandstatus E-Mail geliefert"
940
 
941
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
942
  msgid "Enable Delivered shipment status email"
943
  msgstr "Versandstatus-E-Mail aktivieren"
944
 
945
- #: includes/customizer/class-wc-email-customizer.php:122
946
- #: includes/emails/class-shipment-delivered-email.php:92
947
  msgid "Your {site_title} order is now delivered"
948
  msgstr ""
949
  "Ihre {site_title} Bestellung wird jetzt geliefert\n"
950
 
951
- #: includes/customizer/class-wc-email-customizer.php:123
952
- #: includes/emails/class-shipment-delivered-email.php:102
953
- msgid "Thanks for shopping with us"
954
- msgstr ""
955
- "Vielen Dank für Ihren Einkauf bei uns\n"
956
-
957
- #: includes/customizer/class-wc-email-customizer.php:124
958
- msgid "Hi there. Your recent order on {site_title} has been delivered."
959
- msgstr ""
960
- "Hallo. Ihre letzte Bestellung auf {site_title} wurde geliefert.\n"
961
-
962
- #: includes/customizer/class-wc-email-customizer.php:171
963
  msgid "Enable Delivered order status email"
964
  msgstr ""
965
  "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
966
 
967
- #: includes/customizer/class-wc-email-customizer.php:193
968
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
969
  msgid "Please select a order..."
970
  msgstr ""
971
  "Bitte wählen Sie eine Bestellung aus ...\n"
972
 
973
- #: includes/customizer/class-wc-email-customizer.php:211
974
- msgid "Receipts"
975
- msgstr ""
976
-
977
- #: includes/customizer/class-wc-email-customizer.php:212
978
- msgid ""
979
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
980
- "separated by commas."
981
- msgstr ""
982
-
983
- #: includes/customizer/class-wc-email-customizer.php:235
984
- #: includes/customizer/class-wc-email-customizer.php:258
985
  msgid "Available variables: {site_title}, {order_number}"
986
  msgstr ""
987
 
988
- #: includes/customizer/class-wc-email-customizer.php:281
 
989
  msgid ""
990
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
991
  "{customer_last_name}, {customer_username}, {order_number}"
992
  msgstr ""
993
 
994
- #: includes/customizer/class-wc-email-customizer.php:300
995
  msgid "Display tracking details"
996
  msgstr ""
997
 
998
- #: includes/customizer/class-wc-email-customizer.php:316
999
  msgid "Display order details"
1000
  msgstr ""
1001
 
1002
- #: includes/customizer/class-wc-email-customizer.php:333
1003
  msgid "Display Shipping Address"
1004
  msgstr ""
1005
 
1006
- #: includes/customizer/class-wc-email-customizer.php:350
1007
  msgid "Display Billing Address"
1008
  msgstr ""
1009
 
1010
- #: includes/customizer/class-wc-email-customizer.php:367
1011
  msgid "Enable Google Analytics tracking"
1012
  msgstr ""
1013
 
1014
- #: includes/customizer/class-wc-email-customizer.php:385
1015
  msgid ""
1016
  "This will be appended to URL in the email content – e.g. "
1017
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1018
  msgstr ""
1019
 
1020
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1021
  msgid "Your order #{order_number} is Failed Attempt"
1022
  msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
1023
 
1024
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1025
  msgid ""
1026
  "Hi there. we thought you'd like to know that your recent order from "
1027
  "{site_title} is Failed Attempt"
@@ -1029,20 +652,20 @@ msgstr ""
1029
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
1030
  "{site_title} fehlgeschlagen ist"
1031
 
1032
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1033
  msgid "Failed Attempt shipment status email"
1034
  msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
1035
 
1036
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1037
  msgid "Enable Failed Attempt shipment status email"
1038
  msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
1039
 
1040
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1041
  msgid "Your order #{order_number} is in transit"
1042
  msgstr ""
1043
  "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
1044
 
1045
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1046
  msgid ""
1047
  "Hi there. we thought you'd like to know that your recent order from "
1048
  "{site_title} is in transit"
@@ -1050,21 +673,21 @@ msgstr ""
1050
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1051
  "{site_title} unterwegs ist\n"
1052
 
1053
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1054
  msgid "In Transit shipment status email"
1055
  msgstr "In Transit Sendungsstatus E-Mail"
1056
 
1057
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1058
  msgid "Enable In Transit shipment status email"
1059
  msgstr ""
1060
  "Sendungsstatus-E-Mail in Transit aktivieren\n"
1061
 
1062
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1063
  msgid "Your order #{order_number} is out for delivery"
1064
  msgstr ""
1065
  "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
1066
 
1067
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1068
  msgid ""
1069
  "Hi there. we thought you'd like to know that your recent order from "
1070
  "{site_title} is out for delivery."
@@ -1072,20 +695,20 @@ msgstr ""
1072
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1073
  "{site_title} nicht lieferbar ist.\n"
1074
 
1075
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1076
  msgid "Out For Delivery shipment status email"
1077
  msgstr "Out For Delivery Versandstatus-E-Mail"
1078
 
1079
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1080
  msgid "Enable Out For Delivery shipment status email"
1081
  msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
1082
 
1083
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1084
  msgid "Your order #{order_number} has returned to sender"
1085
  msgstr ""
1086
  "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
1087
 
1088
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1089
  msgid ""
1090
  "Hi there. we thought you'd like to know that your recent order from "
1091
  "{site_title} has been returned to sender."
@@ -1093,36 +716,35 @@ msgstr ""
1093
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1094
  "{site_title} an den Absender zurückgeschickt wurde.\n"
1095
 
1096
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1097
  msgid "Return To Sender shipment status email"
1098
  msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
1099
 
1100
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1101
  msgid "Enable Return To Sender shipment status email"
1102
  msgstr ""
1103
  "Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
1104
 
1105
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1106
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1107
- #: includes/views/html-tracking-info-design-preview.php:45
1108
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1109
  msgid "Provider"
1110
  msgstr "Anbieter"
1111
 
1112
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1113
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1114
- #: includes/views/html-tracking-info-design-preview.php:46
1115
- #: templates/emails/tracking-info.php:134
1116
- #: templates/myaccount/view-order.php:111
1117
  msgid "Tracking Number"
1118
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1119
 
1120
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1121
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1122
  msgid "Shipped Date"
1123
  msgstr "Versanddatum"
1124
 
1125
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1126
  msgid ""
1127
  "select from last 20 orders one order that you added tracking info in order "
1128
  "to preview and design the tracking info table."
@@ -1131,193 +753,157 @@ msgstr ""
1131
  "Tracking-Informationen versehen haben, um die Tracking-Informationstabelle "
1132
  "in der Vorschau anzuzeigen und zu gestalten.\n"
1133
 
1134
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1135
  msgid "Tracking Display Position"
1136
  msgstr "Verfolgung der Anzeigeposition"
1137
 
1138
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1139
  msgid "Before Order Details"
1140
  msgstr "Vor der Bestellung Details"
1141
 
1142
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1143
  msgid "After Order Details"
1144
  msgstr "Nach Auftragsdetails"
1145
 
1146
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1147
  msgid "Main Header text"
1148
  msgstr "Haupt-Header-Text"
1149
 
1150
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1151
- #: templates/pip/tracking-info.php:17
1152
  msgid "Tracking Information"
1153
  msgstr "Tracking-Informationen"
1154
 
1155
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1156
  msgid "Additional text after header"
1157
  msgstr "Zusätzlicher Text nach Kopfzeile"
1158
 
1159
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1160
- msgid "Table Layout"
1161
- msgstr "Tabellenlayout"
1162
 
1163
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1164
  msgid "Display Shipment Provider image"
1165
  msgstr "Bild des Versandanbieters anzeigen"
1166
 
1167
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1168
  msgid "Hide date"
1169
  msgstr "Datum ausblenden"
1170
 
1171
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
 
 
 
 
 
 
 
 
1172
  msgid "Provider Header Text"
1173
  msgstr "Anbieterkopfzeilentext"
1174
 
1175
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1176
  msgid "Tracking Number Header Text"
1177
  msgstr "Tracking-Nummer-Header-Text"
1178
 
1179
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1180
  msgid "Shipped Date Header Text"
1181
  msgstr "Versanddatum Header Text"
1182
 
1183
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1184
  msgid "Track Label"
1185
  msgstr "Track Label"
1186
 
1187
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1188
  msgid "Track Header Text"
1189
  msgstr "Kopfzeilentext verfolgen"
1190
 
1191
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
 
 
 
 
 
 
 
 
1192
  msgid "Table Design"
1193
  msgstr ""
1194
  "Tisch Design\n"
1195
 
1196
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1197
  msgid "Padding"
1198
  msgstr "Polsterung"
1199
 
1200
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1201
  msgid "Background color"
1202
  msgstr ""
1203
  "Hintergrundfarbe\n"
1204
 
1205
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1206
  msgid "Border color"
1207
  msgstr "Randfarbe"
1208
 
1209
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1210
  msgid "Border size"
1211
  msgstr ""
1212
  "Rahmengrösse\n"
1213
 
1214
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1215
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1216
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1217
- msgid "Select"
1218
- msgstr "Wählen"
1219
-
1220
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1221
  msgid "Table text align"
1222
  msgstr "Tabellentext ausrichten"
1223
 
1224
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1225
- msgid "Left"
1226
- msgstr "Links"
1227
-
1228
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1229
- msgid "Right"
1230
- msgstr "Recht"
1231
-
1232
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1233
- msgid "Center"
1234
- msgstr "Center"
1235
-
1236
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1237
- msgid "Table header font size"
1238
- msgstr "Schriftgröße der Tabellenüberschrift"
1239
-
1240
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1241
- msgid "Table header font color"
1242
- msgstr "Schriftfarbe der Tabellenüberschrift"
1243
-
1244
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1245
  msgid "Table content font size"
1246
  msgstr "Schriftgröße des Tabelleninhalts"
1247
 
1248
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1249
  msgid "Table content font color"
1250
  msgstr "Schriftfarbe des Tabelleninhalts"
1251
 
1252
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1253
  msgid "Content line height"
1254
  msgstr "Höhe der Inhaltszeile"
1255
 
1256
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1257
  msgid "Content font weight"
1258
  msgstr ""
1259
  "Schriftgröße des Inhalts\n"
1260
 
1261
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1262
- msgid "Track Link"
1263
- msgstr "Track Link"
1264
 
1265
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1266
  msgid "Track Link Font Color"
1267
  msgstr "Track Link-Schriftfarbe"
1268
 
1269
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1270
  msgid "Track Link Background Color"
1271
  msgstr "Track Link Hintergrundfarbe"
1272
 
1273
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1274
  msgid "Track link Border"
1275
  msgstr "Track Link Grenze"
1276
 
1277
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1278
- msgid "Header Color"
1279
- msgstr ""
1280
- "Header-Farbe\n"
1281
-
1282
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1283
- msgid "Success Status Color"
1284
- msgstr ""
1285
- "Erfolgsstatus Farbe\n"
1286
-
1287
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1288
- msgid "Warning Status Color"
1289
- msgstr ""
1290
- "Warnstatus Farbe\n"
1291
-
1292
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1293
- msgid "Tracking info Border Color"
1294
- msgstr ""
1295
- "Tracking-Informationen Rahmenfarbe\n"
1296
-
1297
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1298
- msgid "Tracking info width (px)"
1299
- msgstr ""
1300
- "Tracking-Info-Breite (px)\n"
1301
-
1302
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1303
- msgid "Tracking details Border Color"
1304
  msgstr ""
1305
- "Tracking-Details Rahmenfarbe\n"
1306
 
1307
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1308
- msgid "Tracking info table shade color"
1309
- msgstr ""
1310
- "Schattenfarbe der Tracking-Infotabelle\n"
1311
-
1312
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1313
- msgid "Tracking events font color"
1314
  msgstr ""
1315
- "Schriftfarbe für Tracking-Ereignisse\n"
1316
 
1317
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1318
- msgid "Tracking info table margin top/bottom(px)"
1319
  msgstr ""
1320
- "Tracking-Info-Tabelle Rand oben / unten (px)\n"
1321
 
1322
  #: includes/emails/class-shipment-delivered-email.php:32
1323
  msgid "Delivered order"
@@ -1329,52 +915,19 @@ msgid ""
1329
  "delivered and usually indicate that their orders have been shipped."
1330
  msgstr ""
1331
 
1332
- #: includes/emails/class-shipment-delivered-email.php:228
1333
- msgid "Enable this email notification"
1334
  msgstr ""
1335
 
1336
- #: includes/emails/class-shipment-delivered-email.php:232
1337
- msgid "Recipient(s)"
1338
- msgstr ""
1339
-
1340
- #. %s: WP admin email
1341
- #: includes/emails/class-shipment-delivered-email.php:235
1342
- #, php-format
1343
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1344
- msgstr ""
1345
-
1346
- #: includes/emails/class-shipment-delivered-email.php:241
1347
- msgid "Subject"
1348
- msgstr ""
1349
-
1350
- #. %s: list of placeholders
1351
- #: includes/emails/class-shipment-delivered-email.php:245
1352
- #: includes/emails/class-shipment-delivered-email.php:254
1353
- #, php-format
1354
- msgid "Available placeholders: %s"
1355
- msgstr ""
1356
-
1357
- #: includes/emails/class-shipment-delivered-email.php:259
1358
- msgid "Email type"
1359
- msgstr ""
1360
-
1361
- #: includes/emails/class-shipment-delivered-email.php:261
1362
- msgid "Choose which format of email to send."
1363
- msgstr ""
1364
-
1365
- #: includes/emails/class-shipment-delivered-email.php:269
1366
- msgid "\" >Click Here</a>"
1367
- msgstr ""
1368
-
1369
- #: includes/emails/class-shipment-delivered-email.php:270
1370
  msgid "Edit in customizer"
1371
  msgstr ""
1372
 
1373
- #: includes/views/admin_options_bulk_upload.php:5
1374
  msgid "Upload CSV"
1375
  msgstr "CSV hochladen"
1376
 
1377
- #: includes/views/admin_options_bulk_upload.php:15
1378
  msgid ""
1379
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1380
  "added)"
@@ -1382,134 +935,169 @@ msgstr ""
1382
  "Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
1383
  "Tracking-Informationen hinzugefügt)"
1384
 
1385
- #: includes/views/admin_options_bulk_upload.php:25
1386
- #: includes/views/admin_options_shipping_provider.php:112
1387
- #: includes/views/admin_options_shipping_provider.php:146
1388
  msgid "Upload"
1389
  msgstr "Hochladen"
1390
 
1391
- #: includes/views/admin_options_bulk_upload.php:28
1392
- #: includes/views/admin_options_trackship_integration.php:27
1393
- #: includes/views/admin_options_trackship_integration.php:45
1394
  msgid "Settings Saved."
1395
  msgstr "Einstellungen gespeichert."
1396
 
1397
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1398
  msgid "You can download an example of the csv file:"
1399
  msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
1400
 
1401
- #: includes/views/admin_options_bulk_upload.php:35
1402
  msgid "Download sample csv file"
1403
  msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
1404
 
1405
- #: includes/views/admin_options_bulk_upload.php:36
1406
  msgid ""
1407
  "For detailed instructions on how to upload tracking info in bulk, see our"
1408
  msgstr ""
1409
  "For detailed instructions on how to upload tracking info in bulk, see our"
1410
 
1411
- #: includes/views/admin_options_bulk_upload.php:36
1412
- msgid "documentation"
1413
- msgstr "Dokumentation"
 
 
 
 
 
 
 
 
1414
 
1415
- #: includes/views/admin_options_bulk_upload.php:38
1416
- msgid "Upload Progress - "
1417
- msgstr "Upload-Fortschritt -"
1418
 
1419
- #: includes/views/admin_options_settings.php:7
1420
- #: includes/views/admin_options_trackship_integration.php:10
1421
- msgid "General"
1422
  msgstr ""
1423
- "Allgemeines\n"
1424
 
1425
- #: includes/views/admin_options_settings.php:10
1426
- #: includes/views/admin_options_settings.php:19
1427
  msgid "Delivered Order Status"
1428
  msgstr "Status der gelieferten Bestellung"
1429
 
1430
- #: includes/views/admin_options_settings.php:12
1431
- msgid "Tracking Info Display Designer"
1432
  msgstr ""
1433
- "Tracking Info Display Designer\n"
1434
 
1435
- #: includes/views/admin_options_settings.php:15
1436
- #: includes/views/admin_options_trackship_integration.php:19
1437
- msgid "General Settings"
1438
- msgstr "Allgemeine Einstellungen"
 
 
 
 
 
 
1439
 
1440
- #: includes/views/admin_options_settings.php:24
1441
- #: includes/views/admin_options_trackship_integration.php:25
1442
- #: includes/views/admin_options_trackship_integration.php:43
1443
- msgid "Save"
1444
- msgstr "sparen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1445
 
1446
- #: includes/views/admin_options_shipping_provider.php:94
 
 
 
 
 
 
 
 
 
1447
  msgid "Add Custom Shipping Provider"
1448
  msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1449
 
1450
- #: includes/views/admin_options_shipping_provider.php:101
1451
- #: includes/views/admin_options_shipping_provider.php:135
1452
- msgid "Shiping Country"
1453
- msgstr "Lieferungsland"
1454
 
1455
- #: includes/views/admin_options_shipping_provider.php:102
1456
- #: includes/views/admin_options_shipping_provider.php:136
1457
  msgid "Global"
1458
  msgstr ""
1459
 
1460
- #: includes/views/admin_options_shipping_provider.php:128
1461
  msgid "Edit Custom Shipping Provider"
1462
  msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
1463
 
1464
- #: includes/views/admin_options_shipping_provider.php:163
1465
- #: includes/views/admin_options_shipping_provider.php:170
1466
- msgid "Sync Providers"
1467
- msgstr "Anbieter synchronisieren"
1468
-
1469
- #: includes/views/admin_options_shipping_provider.php:164
1470
- msgid "Do you really want to sync all providers?"
1471
- msgstr "Möchten Sie wirklich alle Anbieter synchronisieren?"
1472
 
1473
- #: includes/views/admin_options_shipping_provider.php:166
1474
  msgid "Providers Added"
1475
  msgstr "Anbieter hinzugefügt"
1476
 
1477
- #: includes/views/admin_options_shipping_provider.php:167
1478
  msgid "Providers Updated"
1479
  msgstr "Anbieter aktualisiert"
1480
 
1481
- #: includes/views/admin_options_shipping_provider.php:168
1482
  msgid "Providers Deleted"
1483
  msgstr "Anbieter gelöscht"
1484
 
1485
- #: includes/views/admin_options_shipping_provider.php:171
1486
- msgid "Close"
1487
- msgstr "Schließen"
1488
-
1489
- #: includes/views/admin_options_trackship_integration.php:13
1490
- #: includes/views/admin_options_trackship_integration.php:35
1491
  msgid "Tracking Page"
1492
  msgstr "Tracking-Seite"
1493
 
1494
- #: includes/views/admin_options_trackship_integration.php:16
1495
- msgid "Shipment Status Notifications"
1496
- msgstr "Benachrichtigungen zum Sendungsstatus"
1497
-
1498
- #: includes/views/admin_options_trackship_integration.php:40
1499
  msgid "Click to preview the tracking page"
1500
  msgstr "Klicken Sie hier, um eine Vorschau der Tracking-Seite anzuzeigen"
1501
 
1502
- #: includes/views/admin_options_trackship_integration.php:41
1503
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1504
  msgstr ""
1505
  "BITTE BEACHTEN SIE - Stellen Sie sicher, dass Sie Ihre Einstellungen vor der "
1506
  "Vorschau speichern."
1507
 
1508
- #: includes/views/admin_options_trackship_integration.php:53
1509
  msgid "Shipment Status Notifications "
1510
  msgstr "Benachrichtigungen zum Sendungsstatus"
1511
 
1512
- #: includes/views/admin_options_trackship_integration.php:81
1513
  msgid ""
1514
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1515
  "the way."
@@ -1517,23 +1105,23 @@ msgstr ""
1517
  "Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
1518
  "Sendung ist unterwegs."
1519
 
1520
- #: includes/views/admin_options_trackship_integration.php:95
1521
  msgid "Shipment is returned to sender"
1522
  msgstr "Die Sendung wird an den Absender zurückgeschickt"
1523
 
1524
- #: includes/views/admin_options_trackship_integration.php:109
1525
  msgid "The shipment is ready to pickup."
1526
  msgstr "Die Sendung ist zur Abholung bereit."
1527
 
1528
- #: includes/views/admin_options_trackship_integration.php:122
1529
  msgid "Carrier is about to deliver the shipment"
1530
  msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
1531
 
1532
- #: includes/views/admin_options_trackship_integration.php:136
1533
  msgid "The shipment was delivered successfully"
1534
  msgstr "Die Sendung wurde erfolgreich zugestellt"
1535
 
1536
- #: includes/views/admin_options_trackship_integration.php:137
1537
  msgid ""
1538
  "You already have delivered email enabled, to enable this email you'll need "
1539
  "to disable the order status delivered in settings."
@@ -1542,7 +1130,7 @@ msgstr ""
1542
  "aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
1543
  "deaktivieren."
1544
 
1545
- #: includes/views/admin_options_trackship_integration.php:151
1546
  msgid ""
1547
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1548
  "will try to deliver the package again."
@@ -1551,44 +1139,35 @@ msgstr ""
1551
  "Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
1552
  "zuzustellen."
1553
 
1554
- #: includes/views/html-tracking-info-design-preview.php:60
1555
- msgid "USPS"
1556
- msgstr "USPS"
1557
-
1558
- #: includes/views/zorem_admin_sidebar.php:8
1559
- msgid "Leave your review"
1560
- msgstr ""
1561
-
1562
- #: includes/views/zorem_admin_ts_sidebar.php:5
1563
- msgid "Dashboard"
1564
- msgstr ""
1565
-
1566
- #: includes/views/zorem_admin_ts_sidebar.php:7
1567
- msgid "Documentation"
1568
  msgstr ""
1569
 
1570
- #: templates/emails/tracking-info.php:138
1571
- msgid "Status"
1572
- msgstr "Status"
1573
-
1574
- #: templates/emails/wcast-email-order-details.php:26
1575
- msgid "Order Details"
1576
  msgstr ""
1577
- "Bestelldetails\n"
1578
 
1579
  #. %s: Order ID.
1580
- #: templates/emails/wcast-email-order-details.php:42
1581
  #, php-format
1582
  msgid "Order number: %s"
1583
  msgstr ""
1584
  "Bestellnummer:% s\n"
1585
 
1586
- #: templates/emails/wcast-email-order-details.php:49
1587
- msgid "Order date:"
 
 
 
 
 
 
 
 
1588
  msgstr ""
1589
- "Auftragsdatum:\n"
1590
 
1591
- #: templates/emails/plain/tracking-info.php:18
1592
- msgid "TRACKING INFORMATION"
1593
  msgstr ""
1594
- "VERFOLGUNGSINFORMATIONEN\n"
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-11-07 13:38+0000\n"
6
+ "PO-Revision-Date: 2019-11-14 04:23+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\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.3.1; wp-5.3"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
24
  "Advanced Shipment Tracking!\n"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:225
27
+ #, php-format
28
+ msgid "Your order was shipped with %s and your tracking code is: %s"
29
+ msgstr ""
30
+ "Ihre Bestellung wurde mit% s verschickt und Ihr Tracking-Code lautet:% s"
31
+
32
+ #: woocommerce-advanced-shipment-tracking.php:432
33
+ #: includes/views/admin_options_settings.php:68
34
  #, php-format
35
  msgid ""
36
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
40
  "php here or you can manually change all your \"delivered\" order to "
41
  "\"completed\" before deactivating the plugin."
42
  msgstr ""
43
+ "<strong> BITTE BEACHTEN: </ strong> Wenn Sie den benutzerdefinierten "
44
+ "Bestellstatus \"Geliefert\" verwenden und das Plugin deaktivieren, müssen "
45
+ "Sie diesen Bestellstatus in function.php registrieren, um diese Bestellungen "
46
+ "im Bestelladministrator anzuzeigen. Sie finden das <a href=\"%s\" "
47
+ "target=\"blank\"> Snippet </a>, das Sie in functions.php verwenden können, "
48
+ "oder Sie können alle \"gelieferten\" Bestellungen manuell in \"erledigt\" "
49
+ "ändern, bevor Sie das Plugin deaktivieren."
50
 
51
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
52
+ msgid ""
53
+ "To track your order please enter your Order ID in the box below and press "
54
+ "the \"Track\" button. This was given to you on your receipt and in the "
55
+ "confirmation email you should have received."
56
+ msgstr ""
57
+ "Um Ihre Bestellung zu verfolgen, geben Sie bitte Ihre Bestellnummer in das "
58
+ "unten stehende Feld ein und klicken Sie auf \"Verfolgen\". Dies wurde Ihnen "
59
+ "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
60
+ "sollen, mitgeteilt.\n"
61
 
62
+ #: includes/class-wc-advanced-shipment-tracking-front.php:151
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
64
+ msgid "Found in your order confirmation email."
65
+ msgstr ""
66
+ "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
69
+ msgid "Order Email"
70
+ msgstr ""
71
+ "E-Mail bestellen\n"
 
 
72
 
73
+ #: includes/class-wc-advanced-shipment-tracking-front.php:155
74
+ #: includes/class-wc-advanced-shipment-tracking.php:276
75
+ #: includes/class-wc-advanced-shipment-tracking.php:701
76
+ #: includes/class-wc-advanced-shipment-tracking.php:826
77
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
78
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
79
+ #: templates/emails/tracking-info.php:174
80
+ #: templates/myaccount/tracking-info.php:125
81
+ msgid "Track"
82
+ msgstr "Verfolgen"
83
 
84
+ #: includes/class-wc-advanced-shipment-tracking-front.php:233
85
+ #: includes/class-wc-advanced-shipment-tracking-front.php:510
86
  #, php-format
87
+ msgid "Shipment - %s (out of %s)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
88
  msgstr ""
89
+ "Versand -% s (von% s)\n"
90
 
91
+ #: includes/class-wc-advanced-shipment-tracking-front.php:246
92
+ #: includes/class-wc-advanced-shipment-tracking-front.php:250
93
+ #: includes/class-wc-advanced-shipment-tracking-front.php:523
94
+ #: includes/class-wc-advanced-shipment-tracking-front.php:527
95
+ msgid "Estimated Delivery Date: "
96
+ msgstr "Voraussichtlicher Liefertermin:"
97
 
98
+ #: includes/class-wc-advanced-shipment-tracking-front.php:359
99
+ #: includes/class-wc-advanced-shipment-tracking-front.php:636
100
+ #: includes/class-wc-advanced-shipment-tracking-front.php:812
101
+ msgid "Tracking Details"
102
+ msgstr "Verfolgungsdetails"
103
 
104
+ #: includes/class-wc-advanced-shipment-tracking-front.php:378
105
+ #: includes/class-wc-advanced-shipment-tracking-front.php:655
106
+ #: includes/class-wc-advanced-shipment-tracking-front.php:833
107
+ msgid "view more"
108
+ msgstr "mehr sehen"
109
 
110
+ #: includes/class-wc-advanced-shipment-tracking-front.php:379
111
+ #: includes/class-wc-advanced-shipment-tracking-front.php:656
112
+ #: includes/class-wc-advanced-shipment-tracking-front.php:834
113
+ msgid "view less"
114
+ msgstr "weniger anzeigen"
115
 
116
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
117
+ #: includes/class-wc-advanced-shipment-tracking-front.php:664
118
+ msgid "Tracking details not found in TrackShip"
119
+ msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
120
 
121
+ #: includes/class-wc-advanced-shipment-tracking-front.php:747
122
+ msgid "Estimated Delivery Date"
123
+ msgstr "Voraussichtlicher Liefertermin"
124
 
125
+ #: includes/class-wc-advanced-shipment-tracking.php:95
126
+ #: includes/class-wc-advanced-shipment-tracking.php:260
127
+ #: includes/customizer/class-wcast-customizer.php:31
128
+ msgid "Shipment Tracking"
129
+ msgstr "Sendungsverfolgung"
130
 
131
+ #: includes/class-wc-advanced-shipment-tracking.php:184
132
+ #: includes/class-wc-advanced-shipment-tracking.php:374
133
+ msgid "Mark as Shipped?"
134
+ msgstr "Als versandt markieren?"
135
 
136
+ #: includes/class-wc-advanced-shipment-tracking.php:185
137
+ msgid "Shipped"
138
+ msgstr "Versendet"
139
 
140
+ #: includes/class-wc-advanced-shipment-tracking.php:187
141
+ #: includes/class-wc-advanced-shipment-tracking.php:377
142
+ msgid "Mark as Completed?"
143
+ msgstr "Als erledigt markieren?"
144
 
145
+ #: includes/class-wc-advanced-shipment-tracking.php:188
146
+ msgid "Completed"
147
+ msgstr "vollendet, fertiggestellt"
148
 
149
+ #: includes/class-wc-advanced-shipment-tracking.php:195
150
+ msgid "Add Tracking Number"
151
+ msgstr "Tracking-Nummer hinzufügen"
152
 
153
+ #: includes/class-wc-advanced-shipment-tracking.php:200
154
+ #: includes/class-wc-advanced-shipment-tracking.php:395
155
+ msgid "Provider:"
156
+ msgstr "Anbieter:"
157
 
158
+ #: includes/class-wc-advanced-shipment-tracking.php:220
159
+ #: includes/class-wc-advanced-shipment-tracking.php:433
160
+ msgid "Tracking number:"
161
+ msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
162
 
163
+ #: includes/class-wc-advanced-shipment-tracking.php:224
164
+ #: includes/class-wc-advanced-shipment-tracking.php:441
165
+ msgid "Date shipped:"
166
+ msgstr "Lieferdatum:"
167
 
168
+ #: includes/class-wc-advanced-shipment-tracking.php:225
169
+ #: includes/class-wc-advanced-shipment-tracking.php:442
170
+ #: includes/class-wc-advanced-shipment-tracking.php:445
171
+ msgid "Y-m-d"
172
  msgstr ""
173
 
174
+ #: includes/class-wc-advanced-shipment-tracking.php:231
175
+ #: includes/class-wc-advanced-shipment-tracking.php:451
176
+ msgid "Mark order as:"
177
+ msgstr "Bestellung markieren als:"
178
 
179
+ #: includes/class-wc-advanced-shipment-tracking.php:234
180
+ #: includes/class-wc-advanced-shipment-tracking.php:455
181
+ msgid "Partial Shipped"
182
+ msgstr "Teilweise versandt"
 
 
 
 
183
 
184
+ #: includes/class-wc-advanced-shipment-tracking.php:276
185
+ #: includes/class-wc-advanced-shipment-tracking.php:469
186
+ msgid "Click here to track your shipment"
187
+ msgstr "Klicken Sie hier, um Ihre Sendung zu verfolgen"
 
 
 
 
188
 
189
+ #. 1: shipping date
190
+ #: includes/class-wc-advanced-shipment-tracking.php:284
191
  #, php-format
192
+ msgid "Shipped on %s"
193
+ msgstr "Versand auf% s"
 
 
194
 
195
+ #: includes/class-wc-advanced-shipment-tracking.php:391
196
+ msgid "Add Tracking Info"
197
+ msgstr "Tracking-Info hinzufügen"
198
 
199
+ #: includes/class-wc-advanced-shipment-tracking.php:396
200
+ msgid "Select Provider"
201
+ msgstr "Wählen Sie Provider aus"
 
202
 
203
+ #: includes/class-wc-advanced-shipment-tracking.php:468
204
+ msgid "Save Tracking"
205
+ msgstr "Tracking speichern"
 
206
 
207
+ #: includes/class-wc-advanced-shipment-tracking.php:469
208
+ msgid "Preview:"
209
+ msgstr "Vorschau:"
210
+
211
+ #: includes/class-wc-advanced-shipment-tracking.php:675
212
  #, php-format
213
  msgid ""
214
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
 
215
  msgstr ""
216
+ "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
217
+ "Tracking-Nummer% s gelöscht"
218
 
219
+ #: includes/class-wc-advanced-shipment-tracking.php:1042
220
+ #, php-format
221
+ msgid "Order was shipped with %s and tracking number is: %s"
222
  msgstr ""
223
+ "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
224
 
225
+ #: includes/class-wc-advanced-shipment-welcome.php:38
226
+ #: includes/class-wc-advanced-shipment-welcome.php:39
227
+ msgid "Welcome to Advanced Shipment Tracking"
228
+ msgstr "Willkommen bei Advanced Shipment Tracking"
 
229
 
230
+ #: includes/class-wc-advanced-shipment-welcome.php:90
231
+ #: includes/class-wc-advanced-shipment-welcome.php:129
232
+ #: includes/class-wc-advanced-shipment-welcome.php:147
233
+ msgid "Save and Continue"
234
+ msgstr "Speichern und fortfahren"
235
 
236
+ #: includes/class-wc-advanced-shipment-welcome.php:177
237
+ #: includes/views/admin_options_trackship_integration.php:26
238
+ msgid "Connection status"
239
+ msgstr "Verbindungsstatus"
 
240
 
241
+ #: includes/class-wc-advanced-shipment-welcome.php:184
242
+ #: includes/views/admin_options_trackship_integration.php:33
243
+ msgid "TrackShip Connection Status"
244
+ msgstr "TrackShip-Verbindungsstatus"
 
245
 
246
+ #: includes/class-wc-advanced-shipment-welcome.php:188
247
+ #: includes/views/admin_options_trackship_integration.php:37
248
+ msgid "Connected"
249
  msgstr ""
250
+ "In Verbindung gebracht\n"
251
 
252
+ #: includes/class-wc-advanced-shipment-welcome.php:194
253
+ #: includes/views/admin_options_trackship_integration.php:43
254
+ msgid "Trackers Balance"
255
  msgstr ""
 
256
 
257
+ #: includes/class-wc-advanced-shipment-welcome.php:202
258
+ #: includes/views/admin_options_trackship_integration.php:51
259
+ msgid "Current Plan"
 
260
  msgstr ""
261
 
262
+ #: includes/class-wc-advanced-shipment-welcome.php:217
263
+ #: includes/views/admin_options_trackship_integration.php:66
264
  msgid ""
265
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
266
+ "automate your post shipping operations and get tracking and delivery status "
267
+ "updates directly in the WooCommerce admin."
268
  msgstr ""
269
 
270
+ #: includes/class-wc-advanced-shipment-welcome.php:222
271
+ #: includes/views/admin_options_bulk_upload.php:58
272
+ #: includes/views/admin_options_trackship_integration.php:71
273
+ #: includes/views/zorem_admin_ts_sidebar.php:12
274
+ msgid "Documentation"
 
 
 
275
  msgstr ""
276
 
277
+ #: includes/class-wc-advanced-shipment-welcome.php:223
278
+ #: includes/views/admin_options_trackship_integration.php:72
279
+ msgid "TrackShip Dashboard"
 
280
  msgstr ""
281
 
282
+ #: includes/class-wc-advanced-shipment-welcome.php:253
283
+ msgid "Save"
284
  msgstr ""
 
285
 
286
+ #: includes/class-wc-advanced-shipment-welcome.php:310
287
+ msgid ""
288
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
289
+ "100 orders."
290
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
291
 
292
+ #: includes/class-wc-advanced-shipment-welcome.php:343
293
+ msgid "Data saved successfully."
294
+ msgstr "Daten erfolgreich gespeichert."
295
 
296
+ #: includes/class-wc-advanced-shipment-welcome.php:344
297
+ msgid "Really delete this entry? This will not be undo."
298
+ msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
299
 
300
+ #: includes/class-wc-advanced-shipment-welcome.php:345
301
+ msgid "You can upload only csv file."
302
+ msgstr "Sie können nur eine CSV-Datei hochladen."
303
 
304
+ #: includes/class-wc-advanced-shipment-welcome.php:346
305
+ msgid "This browser does not support HTML5."
306
+ msgstr "Dieser Browser unterstützt kein HTML5."
307
 
308
+ #: includes/class-wc-advanced-shipment-welcome.php:347
309
+ msgid "Please upload a valid CSV file."
310
+ msgstr "Laden Sie eine gültige CSV-Datei hoch."
311
 
312
+ #: includes/customizer/class-wcast-customizer.php:40
313
+ msgid "Shipment Status Emails"
314
+ msgstr "Sendungsstatus-E-Mails"
 
315
 
316
+ #: includes/customizer/class-wcast-customizer.php:52
317
+ msgid "Tracking info display"
 
 
318
  msgstr ""
319
+ "Tracking-Info-Anzeige\n"
 
 
 
 
 
320
 
321
+ #: includes/customizer/class-wcast-customizer.php:60
322
+ #: includes/customizer/class-wc-email-customizer.php:163
 
323
  msgid "Delivered order status email"
324
  msgstr ""
325
  "Bestellstatus per E-Mail zugestellt\n"
326
 
327
+ #: includes/customizer/class-wcast-customizer.php:68
328
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
329
+ msgid "Partial Shipped status email"
 
 
 
 
 
 
 
 
 
 
 
330
  msgstr ""
 
 
 
 
 
 
 
 
 
 
331
 
332
+ #: includes/customizer/class-wcast-customizer.php:76
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
333
  msgid "Pre Transit"
334
  msgstr ""
335
  "Pre Transit\n"
336
 
337
+ #: includes/customizer/class-wcast-customizer.php:84
338
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
339
+ #: includes/views/admin_options_trackship_integration.php:161
340
+ msgid "In Transit"
 
 
 
 
 
 
341
  msgstr ""
342
+ "Im Transit\n"
343
 
344
+ #: includes/customizer/class-wcast-customizer.php:92
345
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
346
+ #: includes/views/admin_options_trackship_integration.php:175
 
 
347
  msgid "Return To Sender"
348
  msgstr ""
349
  "Zurück an den Absender\n"
350
 
351
+ #: includes/customizer/class-wcast-customizer.php:99
352
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
353
+ #: includes/views/admin_options_trackship_integration.php:189
354
+ msgid "Available For Pickup"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
355
  msgstr ""
356
+ "Zur Abholung bereit\n"
357
 
358
+ #: includes/customizer/class-wcast-customizer.php:106
359
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
360
+ #: includes/views/admin_options_trackship_integration.php:202
361
+ msgid "Out For Delivery"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
362
  msgstr ""
363
+ "Raus zur Lieferung\n"
364
 
365
+ #: includes/customizer/class-wcast-customizer.php:114
366
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
367
+ #: includes/views/admin_options_trackship_integration.php:216
368
+ msgid "Delivered"
369
+ msgstr "Geliefert"
370
 
371
+ #: includes/customizer/class-wcast-customizer.php:122
372
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
373
+ #: includes/views/admin_options_trackship_integration.php:231
 
374
  msgid "Failed Attempt"
375
  msgstr "Misslungener Versuch"
376
 
377
+ #: includes/customizer/class-wcast-customizer.php:390
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
378
  msgid "Select order to preview"
379
  msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
380
 
381
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
382
  msgid "Your order #{order_number} is available for pickup"
383
  msgstr "Ihre Bestellnummer {order_number} steht zur Abholung bereit"
384
 
385
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
386
  msgid ""
387
  "Hi there. we thought you'd like to know that your recent order from "
388
  "{site_title} is available for pickup."
390
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
391
  "{site_title} zur Abholung verfügbar ist."
392
 
393
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
394
  msgid "Available For Pickup shipment status email"
395
  msgstr "Verfügbar für Abholung Versandstatus E-Mail"
396
 
397
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
398
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
399
+ #: includes/customizer/class-wc-email-customizer.php:164
400
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
401
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
402
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
403
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
404
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
405
  msgid "This section lets you customize the Email Content."
406
  msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
407
 
408
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
409
  msgid "Enable Available For Pickup shipment status email"
410
  msgstr "Versandstatus-E-Mail für Abholung aktivieren"
411
 
412
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
413
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
414
+ #: includes/customizer/class-wc-email-customizer.php:197
415
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
416
+ #: includes/customizer/class-wc-intransit-email-customizer.php:191
417
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
418
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:187
419
+ #: includes/customizer/class-wc-tracking-info-customizer.php:178
420
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
421
  msgid "Preview order"
422
  msgstr "Vorschau der Bestellung"
423
 
424
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
425
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
426
+ #: includes/customizer/class-wc-email-customizer.php:226
427
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
428
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
429
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
430
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
431
  msgid "E.g. {customer.email}, admin@example.org"
432
  msgstr "Z.B. {customer.email}, admin@example.org"
433
 
434
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
435
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
436
+ #: includes/customizer/class-wc-delivered-email-customizer.php:232
437
+ #: includes/customizer/class-wc-delivered-email-customizer.php:254
438
+ #: includes/customizer/class-wc-failure-email-customizer.php:231
439
+ #: includes/customizer/class-wc-failure-email-customizer.php:253
440
+ #: includes/customizer/class-wc-intransit-email-customizer.php:235
441
+ #: includes/customizer/class-wc-intransit-email-customizer.php:257
442
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
443
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
444
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:231
445
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:253
 
 
 
 
 
 
 
 
 
 
446
  msgid "Available placeholders: {site_title}, {order_number}"
447
  msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
448
 
449
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
450
+ #: includes/customizer/class-wc-delivered-email-customizer.php:238
451
+ #: includes/customizer/class-wc-email-customizer.php:249
452
+ #: includes/customizer/class-wc-failure-email-customizer.php:237
453
+ #: includes/customizer/class-wc-intransit-email-customizer.php:241
454
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
455
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:237
456
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
457
  msgid "Please enter email subject here"
458
  msgstr "Bitte geben Sie hier den E-Mail-Betreff ein"
459
 
460
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
461
+ #: includes/customizer/class-wc-delivered-email-customizer.php:260
462
+ #: includes/customizer/class-wc-email-customizer.php:272
463
+ #: includes/customizer/class-wc-failure-email-customizer.php:259
464
+ #: includes/customizer/class-wc-intransit-email-customizer.php:263
465
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
466
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:259
467
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
 
 
 
 
 
 
 
 
 
 
468
  msgid "Please enter email heading here"
469
  msgstr "Bitte geben Sie hier die E-Mail-Überschrift ein"
470
 
471
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
472
+ #: includes/customizer/class-wc-delivered-email-customizer.php:275
473
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
474
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
475
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
476
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
477
  msgid "Show tracking details"
478
  msgstr "Tracking-Details anzeigen"
479
 
480
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
481
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
482
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
483
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
484
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
485
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
486
  msgid "Show order details"
487
  msgstr ""
488
  "Bestelldetails anzeigen\n"
489
 
490
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
491
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
492
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
493
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
494
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
495
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
496
  msgid "Show billing address"
497
  msgstr ""
498
  "Rechnungsadresse anzeigen\n"
499
 
500
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
501
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
502
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
503
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
504
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
505
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
506
  msgid "Show shipping address"
507
  msgstr ""
508
  "Lieferadresse anzeigen\n"
509
 
510
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
511
+ #: includes/customizer/class-wc-delivered-email-customizer.php:340
512
+ #: includes/customizer/class-wc-email-customizer.php:392
513
+ #: includes/customizer/class-wc-failure-email-customizer.php:339
514
+ #: includes/customizer/class-wc-intransit-email-customizer.php:363
515
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
516
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:339
517
  msgid "Google Analytics link tracking"
518
  msgstr ""
519
 
520
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
521
+ #: includes/customizer/class-wc-delivered-email-customizer.php:341
522
+ #: includes/customizer/class-wc-failure-email-customizer.php:340
523
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
524
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
525
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:340
526
  msgid "This will be appended to URL in the email content"
527
  msgstr ""
528
 
529
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
530
+ #: includes/customizer/class-wc-delivered-email-customizer.php:362
531
+ #: includes/customizer/class-wc-email-customizer.php:288
532
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
533
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
534
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
535
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:361
536
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
537
  msgid "Email content"
538
  msgstr "E-Mail-Inhalt"
539
 
540
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
541
+ #: includes/customizer/class-wc-delivered-email-customizer.php:382
542
+ #: includes/customizer/class-wc-email-customizer.php:413
543
+ #: includes/customizer/class-wc-failure-email-customizer.php:381
544
+ #: includes/customizer/class-wc-intransit-email-customizer.php:385
545
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
546
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:381
547
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
548
  msgid "Available placeholders"
549
  msgstr ""
550
  "Verfügbare Platzhalter\n"
551
 
552
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
553
+ #: includes/customizer/class-wc-delivered-email-customizer.php:429
554
+ #: includes/customizer/class-wc-email-customizer.php:446
555
+ #: includes/customizer/class-wc-failure-email-customizer.php:428
556
+ #: includes/customizer/class-wc-intransit-email-customizer.php:431
557
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
558
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:427
559
+ #: includes/customizer/class-wc-tracking-info-customizer.php:791
560
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
561
+ msgid "Please select order to preview."
562
  msgstr ""
 
563
 
564
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
565
  msgid "Your order #{order_number} has been delivered"
566
  msgstr ""
567
 
568
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
569
+ #: includes/customizer/class-wc-email-customizer.php:132
570
  msgid ""
571
  "Hi there. we thought you'd like to know that your recent order from "
572
  "{site_title} has been Delivered."
574
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
575
  "{site_title} geliefert wurde.\n"
576
 
577
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
578
  msgid "Delivered shipment status email"
579
  msgstr "Versandstatus E-Mail geliefert"
580
 
581
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
582
  msgid "Enable Delivered shipment status email"
583
  msgstr "Versandstatus-E-Mail aktivieren"
584
 
585
+ #: includes/customizer/class-wc-email-customizer.php:130
586
+ #: includes/emails/class-shipment-delivered-email.php:94
587
  msgid "Your {site_title} order is now delivered"
588
  msgstr ""
589
  "Ihre {site_title} Bestellung wird jetzt geliefert\n"
590
 
591
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
592
  msgid "Enable Delivered order status email"
593
  msgstr ""
594
  "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
595
 
596
+ #: includes/customizer/class-wc-email-customizer.php:201
597
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
598
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
599
  msgid "Please select a order..."
600
  msgstr ""
601
  "Bitte wählen Sie eine Bestellung aus ...\n"
602
 
603
+ #: includes/customizer/class-wc-email-customizer.php:243
604
+ #: includes/customizer/class-wc-email-customizer.php:266
605
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
606
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
 
 
 
 
 
 
 
 
607
  msgid "Available variables: {site_title}, {order_number}"
608
  msgstr ""
609
 
610
+ #: includes/customizer/class-wc-email-customizer.php:289
611
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
612
  msgid ""
613
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
614
  "{customer_last_name}, {customer_username}, {order_number}"
615
  msgstr ""
616
 
617
+ #: includes/customizer/class-wc-email-customizer.php:308
618
  msgid "Display tracking details"
619
  msgstr ""
620
 
621
+ #: includes/customizer/class-wc-email-customizer.php:324
622
  msgid "Display order details"
623
  msgstr ""
624
 
625
+ #: includes/customizer/class-wc-email-customizer.php:341
626
  msgid "Display Shipping Address"
627
  msgstr ""
628
 
629
+ #: includes/customizer/class-wc-email-customizer.php:358
630
  msgid "Display Billing Address"
631
  msgstr ""
632
 
633
+ #: includes/customizer/class-wc-email-customizer.php:375
634
  msgid "Enable Google Analytics tracking"
635
  msgstr ""
636
 
637
+ #: includes/customizer/class-wc-email-customizer.php:393
638
  msgid ""
639
  "This will be appended to URL in the email content – e.g. "
640
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
641
  msgstr ""
642
 
643
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
644
  msgid "Your order #{order_number} is Failed Attempt"
645
  msgstr "Ihre Bestellung Nr. {Order_number} ist fehlgeschlagen"
646
 
647
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
648
  msgid ""
649
  "Hi there. we thought you'd like to know that your recent order from "
650
  "{site_title} is Failed Attempt"
652
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung bei "
653
  "{site_title} fehlgeschlagen ist"
654
 
655
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
656
  msgid "Failed Attempt shipment status email"
657
  msgstr "Fehler beim Versenden der Sendungsstatus-E-Mail"
658
 
659
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
660
  msgid "Enable Failed Attempt shipment status email"
661
  msgstr "Versandstatus-E-Mail für fehlgeschlagenen Versuch aktivieren"
662
 
663
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
664
  msgid "Your order #{order_number} is in transit"
665
  msgstr ""
666
  "Ihre Bestellung Nr. {Order_number} ist in Bearbeitung\n"
667
 
668
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
669
  msgid ""
670
  "Hi there. we thought you'd like to know that your recent order from "
671
  "{site_title} is in transit"
673
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
674
  "{site_title} unterwegs ist\n"
675
 
676
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
677
  msgid "In Transit shipment status email"
678
  msgstr "In Transit Sendungsstatus E-Mail"
679
 
680
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
681
  msgid "Enable In Transit shipment status email"
682
  msgstr ""
683
  "Sendungsstatus-E-Mail in Transit aktivieren\n"
684
 
685
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
686
  msgid "Your order #{order_number} is out for delivery"
687
  msgstr ""
688
  "Ihre Bestellung Nr. {Order_number} ist nicht lieferbar\n"
689
 
690
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
691
  msgid ""
692
  "Hi there. we thought you'd like to know that your recent order from "
693
  "{site_title} is out for delivery."
695
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
696
  "{site_title} nicht lieferbar ist.\n"
697
 
698
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
699
  msgid "Out For Delivery shipment status email"
700
  msgstr "Out For Delivery Versandstatus-E-Mail"
701
 
702
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
703
  msgid "Enable Out For Delivery shipment status email"
704
  msgstr "Sendungsstatus-E-Mail für die Auslieferung aktivieren"
705
 
706
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
707
  msgid "Your order #{order_number} has returned to sender"
708
  msgstr ""
709
  "Ihre Bestellung Nr. {Order_number} wurde an den Absender zurückgeschickt\n"
710
 
711
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
712
  msgid ""
713
  "Hi there. we thought you'd like to know that your recent order from "
714
  "{site_title} has been returned to sender."
716
  "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
717
  "{site_title} an den Absender zurückgeschickt wurde.\n"
718
 
719
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
720
  msgid "Return To Sender shipment status email"
721
  msgstr "Sendungsstatus-E-Mail an Absender zurücksenden"
722
 
723
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
724
  msgid "Enable Return To Sender shipment status email"
725
  msgstr ""
726
  "Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
727
 
728
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
729
+ #: includes/customizer/class-wc-tracking-info-customizer.php:364
730
+ #: templates/emails/tracking-info.php:132
731
+ #: templates/myaccount/tracking-info.php:91
732
  msgid "Provider"
733
  msgstr "Anbieter"
734
 
735
+ #: includes/customizer/class-wc-tracking-info-customizer.php:145
736
+ #: includes/customizer/class-wc-tracking-info-customizer.php:386
737
+ #: templates/emails/tracking-info.php:156
738
+ #: templates/myaccount/tracking-info.php:113
 
739
  msgid "Tracking Number"
740
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
741
 
742
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
743
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
744
  msgid "Shipped Date"
745
  msgstr "Versanddatum"
746
 
747
+ #: includes/customizer/class-wc-tracking-info-customizer.php:179
748
  msgid ""
749
  "select from last 20 orders one order that you added tracking info in order "
750
  "to preview and design the tracking info table."
753
  "Tracking-Informationen versehen haben, um die Tracking-Informationstabelle "
754
  "in der Vorschau anzuzeigen und zu gestalten.\n"
755
 
756
+ #: includes/customizer/class-wc-tracking-info-customizer.php:198
757
+ #: includes/views/admin_options_settings.php:15
758
+ #: includes/views/admin_options_trackship_integration.php:82
759
+ msgid "General Settings"
760
+ msgstr "Allgemeine Einstellungen"
761
+
762
+ #: includes/customizer/class-wc-tracking-info-customizer.php:213
763
  msgid "Tracking Display Position"
764
  msgstr "Verfolgung der Anzeigeposition"
765
 
766
+ #: includes/customizer/class-wc-tracking-info-customizer.php:217
767
  msgid "Before Order Details"
768
  msgstr "Vor der Bestellung Details"
769
 
770
+ #: includes/customizer/class-wc-tracking-info-customizer.php:218
771
  msgid "After Order Details"
772
  msgstr "Nach Auftragsdetails"
773
 
774
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
775
  msgid "Main Header text"
776
  msgstr "Haupt-Header-Text"
777
 
778
+ #: includes/customizer/class-wc-tracking-info-customizer.php:240
 
779
  msgid "Tracking Information"
780
  msgstr "Tracking-Informationen"
781
 
782
+ #: includes/customizer/class-wc-tracking-info-customizer.php:255
783
  msgid "Additional text after header"
784
  msgstr "Zusätzlicher Text nach Kopfzeile"
785
 
786
+ #: includes/customizer/class-wc-tracking-info-customizer.php:276
787
+ msgid "Table Content"
788
+ msgstr ""
789
 
790
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
791
  msgid "Display Shipment Provider image"
792
  msgstr "Bild des Versandanbieters anzeigen"
793
 
794
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
795
  msgid "Hide date"
796
  msgstr "Datum ausblenden"
797
 
798
+ #: includes/customizer/class-wc-tracking-info-customizer.php:325
799
+ msgid "Table Header"
800
+ msgstr ""
801
+
802
+ #: includes/customizer/class-wc-tracking-info-customizer.php:340
803
+ msgid "Hide Header"
804
+ msgstr ""
805
+
806
+ #: includes/customizer/class-wc-tracking-info-customizer.php:357
807
  msgid "Provider Header Text"
808
  msgstr "Anbieterkopfzeilentext"
809
 
810
+ #: includes/customizer/class-wc-tracking-info-customizer.php:379
811
  msgid "Tracking Number Header Text"
812
  msgstr "Tracking-Nummer-Header-Text"
813
 
814
+ #: includes/customizer/class-wc-tracking-info-customizer.php:400
815
  msgid "Shipped Date Header Text"
816
  msgstr "Versanddatum Header Text"
817
 
818
+ #: includes/customizer/class-wc-tracking-info-customizer.php:421
819
  msgid "Track Label"
820
  msgstr "Track Label"
821
 
822
+ #: includes/customizer/class-wc-tracking-info-customizer.php:437
823
  msgid "Track Header Text"
824
  msgstr "Kopfzeilentext verfolgen"
825
 
826
+ #: includes/customizer/class-wc-tracking-info-customizer.php:459
827
+ msgid "Table header font size"
828
+ msgstr "Schriftgröße der Tabellenüberschrift"
829
+
830
+ #: includes/customizer/class-wc-tracking-info-customizer.php:476
831
+ msgid "Table header font color"
832
+ msgstr "Schriftfarbe der Tabellenüberschrift"
833
+
834
+ #: includes/customizer/class-wc-tracking-info-customizer.php:492
835
  msgid "Table Design"
836
  msgstr ""
837
  "Tisch Design\n"
838
 
839
+ #: includes/customizer/class-wc-tracking-info-customizer.php:507
840
  msgid "Padding"
841
  msgstr "Polsterung"
842
 
843
+ #: includes/customizer/class-wc-tracking-info-customizer.php:527
844
  msgid "Background color"
845
  msgstr ""
846
  "Hintergrundfarbe\n"
847
 
848
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
849
  msgid "Border color"
850
  msgstr "Randfarbe"
851
 
852
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
853
  msgid "Border size"
854
  msgstr ""
855
  "Rahmengrösse\n"
856
 
857
+ #: includes/customizer/class-wc-tracking-info-customizer.php:595
 
 
 
 
 
 
858
  msgid "Table text align"
859
  msgstr "Tabellentext ausrichten"
860
 
861
+ #: includes/customizer/class-wc-tracking-info-customizer.php:618
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
862
  msgid "Table content font size"
863
  msgstr "Schriftgröße des Tabelleninhalts"
864
 
865
+ #: includes/customizer/class-wc-tracking-info-customizer.php:635
866
  msgid "Table content font color"
867
  msgstr "Schriftfarbe des Tabelleninhalts"
868
 
869
+ #: includes/customizer/class-wc-tracking-info-customizer.php:651
870
  msgid "Content line height"
871
  msgstr "Höhe der Inhaltszeile"
872
 
873
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
874
  msgid "Content font weight"
875
  msgstr ""
876
  "Schriftgröße des Inhalts\n"
877
 
878
+ #: includes/customizer/class-wc-tracking-info-customizer.php:694
879
+ msgid "Track Button Design"
880
+ msgstr ""
881
 
882
+ #: includes/customizer/class-wc-tracking-info-customizer.php:708
883
  msgid "Track Link Font Color"
884
  msgstr "Track Link-Schriftfarbe"
885
 
886
+ #: includes/customizer/class-wc-tracking-info-customizer.php:724
887
  msgid "Track Link Background Color"
888
  msgstr "Track Link Hintergrundfarbe"
889
 
890
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
891
  msgid "Track link Border"
892
  msgstr "Track Link Grenze"
893
 
894
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
895
+ msgid "Your {site_title} order is now partial shipped"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
896
  msgstr ""
 
897
 
898
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
899
+ msgid ""
900
+ "Hi there. we thought you'd like to know that your recent order from "
901
+ "{site_title} has been Partial Shipped."
 
 
 
902
  msgstr ""
 
903
 
904
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
905
+ msgid "Enable Partial Shipped order status email"
906
  msgstr ""
 
907
 
908
  #: includes/emails/class-shipment-delivered-email.php:32
909
  msgid "Delivered order"
915
  "delivered and usually indicate that their orders have been shipped."
916
  msgstr ""
917
 
918
+ #: includes/emails/class-shipment-delivered-email.php:279
919
+ msgid "Click Here"
920
  msgstr ""
921
 
922
+ #: includes/emails/class-shipment-delivered-email.php:280
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
923
  msgid "Edit in customizer"
924
  msgstr ""
925
 
926
+ #: includes/views/admin_options_bulk_upload.php:10
927
  msgid "Upload CSV"
928
  msgstr "CSV hochladen"
929
 
930
+ #: includes/views/admin_options_bulk_upload.php:20
931
  msgid ""
932
  "Replace tracking info if exists? (if not checked, the tracking info will be "
933
  "added)"
935
  "Tracking-Info ersetzen, falls vorhanden? (wenn nicht markiert, werden die "
936
  "Tracking-Informationen hinzugefügt)"
937
 
938
+ #: includes/views/admin_options_bulk_upload.php:29
939
+ #: includes/views/admin_options_shipping_provider.php:119
940
+ #: includes/views/admin_options_shipping_provider.php:153
941
  msgid "Upload"
942
  msgstr "Hochladen"
943
 
944
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
945
  msgid "Settings Saved."
946
  msgstr "Einstellungen gespeichert."
947
 
948
+ #: includes/views/admin_options_bulk_upload.php:41
949
+ msgid "Upload Progress - "
950
+ msgstr "Upload-Fortschritt -"
951
+
952
+ #: includes/views/admin_options_bulk_upload.php:45
953
+ msgid "Sample CSV"
954
+ msgstr ""
955
+
956
+ #: includes/views/admin_options_bulk_upload.php:50
957
  msgid "You can download an example of the csv file:"
958
  msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
959
 
960
+ #: includes/views/admin_options_bulk_upload.php:53
961
  msgid "Download sample csv file"
962
  msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
963
 
964
+ #: includes/views/admin_options_bulk_upload.php:58
965
  msgid ""
966
  "For detailed instructions on how to upload tracking info in bulk, see our"
967
  msgstr ""
968
  "For detailed instructions on how to upload tracking info in bulk, see our"
969
 
970
+ #: includes/views/admin_options_settings.php:26
971
+ #: includes/views/admin_options_settings.php:74
972
+ #: includes/views/admin_options_settings.php:100
973
+ #: includes/views/admin_options_trackship_integration.php:93
974
+ #: includes/views/admin_options_trackship_integration.php:124
975
+ msgid "Save Changes"
976
+ msgstr ""
977
+
978
+ #: includes/views/admin_options_settings.php:40
979
+ msgid "Tracking Info Display"
980
+ msgstr ""
981
 
982
+ #: includes/views/admin_options_settings.php:49
983
+ msgid "You can customize the tracking info display on emails and my account"
984
+ msgstr ""
985
 
986
+ #: includes/views/admin_options_settings.php:52
987
+ msgid "Launch Customizer"
 
988
  msgstr ""
 
989
 
990
+ #: includes/views/admin_options_settings.php:62
 
991
  msgid "Delivered Order Status"
992
  msgstr "Status der gelieferten Bestellung"
993
 
994
+ #: includes/views/admin_options_settings.php:88
995
+ msgid "Partial Shipped Order Status"
996
  msgstr ""
 
997
 
998
+ #: includes/views/admin_options_settings.php:94
999
+ #, php-format
1000
+ msgid ""
1001
+ "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
1002
+ "Shipped\", when you deactivate the plugin, you must register this order "
1003
+ "status in function.php in order to see these orders in the orders admin. You "
1004
+ "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
1005
+ "php here or you can manually change all your \"partial-shipped\" order to "
1006
+ "\"completed\" before deactivating the plugin."
1007
+ msgstr ""
1008
 
1009
+ #: includes/views/admin_options_shipping_provider.php:12
1010
+ #: includes/views/admin_options_shipping_provider.php:23
1011
+ msgid "Active"
1012
+ msgstr ""
1013
+
1014
+ #: includes/views/admin_options_shipping_provider.php:13
1015
+ #: includes/views/admin_options_shipping_provider.php:23
1016
+ msgid "Inactive"
1017
+ msgstr ""
1018
+
1019
+ #: includes/views/admin_options_shipping_provider.php:14
1020
+ msgid "Custom"
1021
+ msgstr ""
1022
+
1023
+ #: includes/views/admin_options_shipping_provider.php:21
1024
+ msgid "Add Custom Provider"
1025
+ msgstr ""
1026
+
1027
+ #: includes/views/admin_options_shipping_provider.php:22
1028
+ #: includes/views/admin_options_shipping_provider.php:170
1029
+ #: includes/views/admin_options_shipping_provider.php:177
1030
+ msgid "Sync Shipping Providers"
1031
+ msgstr ""
1032
+
1033
+ #: includes/views/admin_options_shipping_provider.php:23
1034
+ msgid "Reset"
1035
+ msgstr ""
1036
 
1037
+ #: includes/views/admin_options_shipping_provider.php:27
1038
+ msgid "Search by provider / country"
1039
+ msgstr ""
1040
+
1041
+ #: includes/views/admin_options_shipping_provider.php:95
1042
+ #, php-format
1043
+ msgid "You don't have any %s shipping providers."
1044
+ msgstr "Sie haben keine% s Versandanbieter."
1045
+
1046
+ #: includes/views/admin_options_shipping_provider.php:101
1047
  msgid "Add Custom Shipping Provider"
1048
  msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1049
 
1050
+ #: includes/views/admin_options_shipping_provider.php:108
1051
+ #: includes/views/admin_options_shipping_provider.php:142
1052
+ msgid "Shipping Country"
1053
+ msgstr ""
1054
 
1055
+ #: includes/views/admin_options_shipping_provider.php:109
1056
+ #: includes/views/admin_options_shipping_provider.php:143
1057
  msgid "Global"
1058
  msgstr ""
1059
 
1060
+ #: includes/views/admin_options_shipping_provider.php:135
1061
  msgid "Edit Custom Shipping Provider"
1062
  msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
1063
 
1064
+ #: includes/views/admin_options_shipping_provider.php:171
1065
+ msgid ""
1066
+ "Syncing the shipping providers list add or updates the pre-set shipping "
1067
+ "providers and will not effect custom shipping providers."
1068
+ msgstr ""
 
 
 
1069
 
1070
+ #: includes/views/admin_options_shipping_provider.php:173
1071
  msgid "Providers Added"
1072
  msgstr "Anbieter hinzugefügt"
1073
 
1074
+ #: includes/views/admin_options_shipping_provider.php:174
1075
  msgid "Providers Updated"
1076
  msgstr "Anbieter aktualisiert"
1077
 
1078
+ #: includes/views/admin_options_shipping_provider.php:175
1079
  msgid "Providers Deleted"
1080
  msgstr "Anbieter gelöscht"
1081
 
1082
+ #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
1083
  msgid "Tracking Page"
1084
  msgstr "Tracking-Seite"
1085
 
1086
+ #: includes/views/admin_options_trackship_integration.php:117
 
 
 
 
1087
  msgid "Click to preview the tracking page"
1088
  msgstr "Klicken Sie hier, um eine Vorschau der Tracking-Seite anzuzeigen"
1089
 
1090
+ #: includes/views/admin_options_trackship_integration.php:118
1091
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1092
  msgstr ""
1093
  "BITTE BEACHTEN SIE - Stellen Sie sicher, dass Sie Ihre Einstellungen vor der "
1094
  "Vorschau speichern."
1095
 
1096
+ #: includes/views/admin_options_trackship_integration.php:137
1097
  msgid "Shipment Status Notifications "
1098
  msgstr "Benachrichtigungen zum Sendungsstatus"
1099
 
1100
+ #: includes/views/admin_options_trackship_integration.php:163
1101
  msgid ""
1102
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1103
  "the way."
1105
  "Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
1106
  "Sendung ist unterwegs."
1107
 
1108
+ #: includes/views/admin_options_trackship_integration.php:177
1109
  msgid "Shipment is returned to sender"
1110
  msgstr "Die Sendung wird an den Absender zurückgeschickt"
1111
 
1112
+ #: includes/views/admin_options_trackship_integration.php:191
1113
  msgid "The shipment is ready to pickup."
1114
  msgstr "Die Sendung ist zur Abholung bereit."
1115
 
1116
+ #: includes/views/admin_options_trackship_integration.php:204
1117
  msgid "Carrier is about to deliver the shipment"
1118
  msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
1119
 
1120
+ #: includes/views/admin_options_trackship_integration.php:218
1121
  msgid "The shipment was delivered successfully"
1122
  msgstr "Die Sendung wurde erfolgreich zugestellt"
1123
 
1124
+ #: includes/views/admin_options_trackship_integration.php:219
1125
  msgid ""
1126
  "You already have delivered email enabled, to enable this email you'll need "
1127
  "to disable the order status delivered in settings."
1130
  "aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
1131
  "deaktivieren."
1132
 
1133
+ #: includes/views/admin_options_trackship_integration.php:233
1134
  msgid ""
1135
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1136
  "will try to deliver the package again."
1139
  "Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
1140
  "zuzustellen."
1141
 
1142
+ #: includes/views/admin_options_tools.php:14
1143
+ msgid "Get Shipment Status"
 
 
 
 
 
 
 
 
 
 
 
 
1144
  msgstr ""
1145
 
1146
+ #: includes/views/admin_options_tools.php:23
1147
+ msgid ""
1148
+ "You can send all your orders from the last 30 days to get shipment status "
1149
+ "from TrackShip:"
 
 
1150
  msgstr ""
 
1151
 
1152
  #. %s: Order ID.
1153
+ #: templates/emails/wcast-email-order-details.php:47
1154
  #, php-format
1155
  msgid "Order number: %s"
1156
  msgstr ""
1157
  "Bestellnummer:% s\n"
1158
 
1159
+ #. Name of the plugin
1160
+ msgid "Advanced Shipment Tracking for WooCommerce"
1161
+ msgstr ""
1162
+
1163
+ #. Description of the plugin
1164
+ msgid ""
1165
+ "Add shipment tracking information to your WooCommerce orders and provide "
1166
+ "customers with an easy way to track their orders. Shipment tracking Info "
1167
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1168
+ "order complete email."
1169
  msgstr ""
 
1170
 
1171
+ #. Author of the plugin
1172
+ msgid "zorem"
1173
  msgstr ""
 
lang/woo-advanced-shipment-tracking-el.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-el.po CHANGED
@@ -2,9 +2,9 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:45+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,9 +12,9 @@ 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.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,8 +23,13 @@ msgstr ""
23
  "Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
24
  "Advanced Shipment Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
28
  #, php-format
29
  msgid ""
30
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -34,497 +39,422 @@ msgid ""
34
  "php here or you can manually change all your \"delivered\" order to "
35
  "\"completed\" before deactivating the plugin."
36
  msgstr ""
 
 
 
 
 
 
 
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "Στάλθηκε"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Στάλθηκε <span class=\"count\">(%s)</span>"
48
- msgstr[1] "Στάλθηκαν <span class=\"count\">(%s)</span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Αλλαγή κατάστασης σε απεστάλει"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "Παραδόθηκε"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Παραδόθηκε <span class=\"count\">(%s)</span>"
70
- msgstr[1] "Παραδόθηκαν <span class=\"count\">(%s)</span>"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Ενημερωμένη παρακολούθηση"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
- #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
82
- msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Αλλαγή κατάστασης σε παραδόθηκε"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
89
  msgid "Shipment status"
90
- msgstr "Κατάσταση Αποστολής"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
 
93
  msgid ""
94
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
  "100 orders."
96
  msgstr ""
 
 
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Παραγγελία"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "Αντικείμενο"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Στοιχείο γραμμής"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "Κλάση"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "Να διαγραφούν οι επιλεγμένες τιμές;"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "Να αντιγραφούν οι επιλεγμένες τιμές;"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "Θέλετε πράγματι να αλλάξετε μαζικά την κατάσταση όλων των παροχέων;"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
  msgid "Data saved successfully."
129
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
130
 
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
 
132
  msgid "Really delete this entry? This will not be undo."
133
  msgstr ""
134
  "Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
135
  "να αναιρεθεί."
136
 
137
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
 
138
  msgid "You can upload only csv file."
139
  msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
140
 
141
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
 
142
  msgid "This browser does not support HTML5."
143
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
144
 
145
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
 
146
  msgid "Please upload a valid CSV file."
147
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
148
 
149
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
150
  msgid "Shipping Providers"
151
  msgstr "Προμηθευτές αποστολής"
152
 
153
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
154
- msgid "Settings"
155
- msgstr "Ρυθμίσεις"
156
-
157
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
158
  msgid "Bulk Upload"
159
- msgstr "Μαζική Μεταφόρτωση"
160
 
161
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
162
- msgid "TrackShip"
163
- msgstr ""
164
 
165
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  msgid "Connected"
167
  msgstr ""
168
  "Συνδεδεμένος\n"
169
 
170
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
171
- msgid ""
172
- "Auto-track all your shipments, get real-time shipment tracking updates "
173
- "without leaving your stores admin."
174
- msgstr ""
175
- "Να παρακολουθείτε αυτόματα όλες τις αποστολές σας, να λαμβάνετε ενημερώσεις "
176
- "παρακολούθησης αποστολών σε πραγματικό χρόνο, χωρίς να αφήνετε τους "
177
- "διαχειριστές των καταστημάτων σας.\n"
178
-
179
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
180
  #, php-format
181
- msgid ""
182
- "You must have account and connect your store to %s in order to activate "
183
- "these advanced features."
184
- msgstr ""
185
- "Πρέπει να έχετε λογαριασμό και να συνδέσετε το κατάστημά σας στο% s για να "
186
- "ενεργοποιήσετε αυτές τις προηγμένες λειτουργίες.\n"
 
 
 
 
187
 
188
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
189
  #, php-format
190
- msgid "50 free Trackers for every new account! Get your %s account now>>"
191
- msgstr ""
192
- "50 δωρεάν trackers για κάθε νέο λογαριασμό! Βρείτε τον λογαριασμό σας% s "
193
- "τώρα >>"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
196
- msgid "TrackShip Connection Status"
197
- msgstr "Κατάσταση σύνδεσης TrackShip"
 
198
 
199
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
200
- #: includes/emails/class-shipment-delivered-email.php:226
201
  msgid "Enable/Disable"
202
- msgstr "Ενεργοποίηση/Απενεργοποίηση"
203
 
204
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
205
  msgid "Set order status Delivered when order is delivered"
206
  msgstr ""
207
- "Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της παραγγελίας\n"
208
 
209
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
210
- #, php-format
211
- msgid ""
212
- "You have %s %s orders that you can track with TrackShip, you can send these "
213
- "shipments to TrackShip in Bulk."
214
- msgstr ""
215
-
216
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
217
- msgid "Get Shipment Status"
218
- msgstr ""
219
-
220
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
221
  msgid ""
222
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
223
  "for the tracking page to work."
224
  msgstr ""
 
 
225
 
226
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
227
  msgid "Select Tracking Page"
228
- msgstr ""
229
- "Επιλέξτε Σελίδα παρακολούθησης\n"
230
 
231
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
232
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
233
- msgid "Remove Trackship branding from tracking page"
234
- msgstr ""
235
- "Καταργήστε την επωνυμία Trackship από τη σελίδα παρακολούθησης\n"
236
-
237
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
238
  msgid "Use the tracking page in the customer email/my account tracking link"
239
  msgstr ""
240
  "Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
241
- "ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης λογαριασμού\n"
242
 
243
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
244
  msgid "Select primary color for tracking page"
245
- msgstr ""
246
- "Επιλέξτε το αρχικό χρώμα για τη σελίδα παρακολούθησης\n"
247
 
248
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
249
  msgid "Select content border color for tracking page"
250
  msgstr ""
251
- "Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα παρακολούθησης\n"
252
 
253
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
254
- msgid ""
255
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
256
- "state"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  msgstr ""
 
258
 
259
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
260
  msgid ""
261
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
262
  "will be selected by default when adding tracking info to orders."
263
  msgstr ""
 
 
 
264
 
265
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
266
- msgid "Completed"
267
- msgstr "Ολοκληρώθηκε το"
268
-
269
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
270
- msgid ""
271
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
272
- "state"
273
  msgstr ""
 
274
 
275
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
276
  msgid ""
277
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
278
  "will be selected by default when adding tracking info to orders."
279
  msgstr ""
 
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
282
  msgid "Rename the “Completed” Order status to “Shipped”"
283
- msgstr "Μετονομασία της κατάστασης \"Ολοκληρωμένη\" σε \"Στάλθηκε\""
284
-
285
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
286
- msgid "On which customer order status email to include tracking info?"
287
  msgstr ""
288
- "Σε ποιο μήνυμα ηλεκτρονικού ταχυδρομείου σχετικά με την παραγγελία πελατών "
289
- "συμπεριλαμβάνονται πληροφορίες παρακολούθησης;"
290
-
291
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
292
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
293
- msgid "Cancelled"
294
- msgstr "Ακυρώθηκε"
295
-
296
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
297
- msgid "Customer Invoice"
298
- msgstr "τιμολόγιο πελάτη"
299
 
300
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
301
- msgid "Refunded"
302
- msgstr "Επιστροφή χρημάτων"
303
-
304
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
305
- msgid "Processing"
306
- msgstr "Επεξεργασία"
307
-
308
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
309
- msgid "Failed"
310
- msgstr "Απέτυχε"
311
 
312
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
313
  msgid "Show tracking info in Invoice"
314
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
315
 
316
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
317
  msgid "Show tracking info in Packing Slip"
318
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
319
 
320
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
321
- msgid "Enable a New Custom order status - “Delivered"
322
- msgstr ""
323
- "Ενεργοποίηση νέας προσαρμοσμένης κατάστασης παραγγελίας - \"Παραδόθηκε\""
324
 
325
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
326
  msgid ""
327
  "if you enable the delivered item, you will have the option to send delivered "
328
  "email notifications."
329
  msgstr ""
330
- "Αν ενεργοποιήσετε την κατάσταση παραγγελίας 'Παραδόθηκε', θα έχετε τη "
331
- "δυνατότητα να στέλνετε ειδοποιήσεις παράδοσης μέσω ηλεκτρονικού ταχυδρομείου."
332
 
333
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
334
- msgid "Delivered Status Label color"
335
- msgstr "Χρώμα ετικέτας κατάστασης \"Παραδόθηκε\""
336
 
337
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
338
- #: includes/customizer/class-wcast-customizer.php:58
339
- #: includes/customizer/class-wc-email-customizer.php:155
340
- msgid "Delivered order status email"
 
 
 
 
 
 
 
 
 
 
 
 
341
  msgstr ""
342
- "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
 
 
 
 
 
343
 
344
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
345
- #: includes/views/admin_options_trackship_integration.php:80
346
- #: includes/views/admin_options_trackship_integration.php:94
347
- #: includes/views/admin_options_trackship_integration.php:108
348
- #: includes/views/admin_options_trackship_integration.php:121
349
- #: includes/views/admin_options_trackship_integration.php:135
350
- #: includes/views/admin_options_trackship_integration.php:150
351
- msgid "Edit"
352
- msgstr "Επεξεργασία"
353
-
354
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
355
  msgid ""
356
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
357
- "plugin"
358
  msgstr ""
359
- "Αλλάξτε τις παραγγελίες \"Παραδόθηκε\" σε \"Ολοκληρώθηκε\" όταν "
360
- "απενεργοποιείτε την προσθήκη"
361
 
362
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
363
- msgid "No, I will use the snippet"
364
- msgstr "Όχι, θα χρησιμοποιήσω το απόσπασμα"
365
 
366
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
367
- msgid "Yes, change all Delivered orders to Completed"
368
- msgstr "Ναι, αλλάξτε όλες τις παραγγελίες που έχετε παραδώσει στο ολοκληρωμένο"
369
 
370
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
371
- #, php-format
372
- msgid ""
373
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
374
- "deactivate the plugin, you must register this order status in function.php "
375
- "in order to see these orders in the orders admin. You can find the snippet "
376
- "to use in functions.php %s or we can set to change all your \"delivered\" "
377
- "order to \"completed\"."
378
- msgstr ""
379
- "ΠΑΡΑΚΑΛΟΥΜΕ ΣΗΜΕΙΩΣΗ - Αν χρησιμοποιείτε την κατάσταση της παραγγελίας "
380
- "\"Παράδοση\", όταν απενεργοποιείτε την προσθήκη, πρέπει να καταχωρήσετε "
381
- "αυτήν την κατάσταση παραγγελίας στο function.php για να δείτε αυτές τις "
382
- "παραγγελίες στις εντολές admin. Μπορείτε να βρείτε το απόσπασμα που θα "
383
- "χρησιμοποιηθεί στη σελίδα functions.php% s ή να ρυθμίσουμε την αλλαγή της "
384
- "παραγγελίας \"παραδόθηκε\" σε \"ολοκληρωμένη\"."
385
-
386
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
387
- msgid "Get shipment status"
388
- msgstr ""
389
- "Αποκτήστε την κατάσταση αποστολής\n"
390
-
391
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
392
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
393
- #: includes/customizer/class-wcast-customizer.php:74
394
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
395
- #: includes/views/admin_options_trackship_integration.php:79
396
  msgid "In Transit"
397
  msgstr ""
398
  "Στη διαμετακόμιση\n"
399
 
400
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
401
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
402
- #: includes/customizer/class-wcast-customizer.php:66
403
  msgid "Pre Transit"
404
  msgstr ""
405
  "Pre Transit\n"
406
 
407
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
408
- msgid "Out for delivery"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
409
  msgstr ""
410
- "Έξοδος για παράδοση\n"
411
 
412
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
413
- #: includes/customizer/class-wcast-customizer.php:89
414
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
415
- #: includes/views/admin_options_trackship_integration.php:107
 
416
  msgid "Available For Pickup"
417
  msgstr ""
418
  "Διαθέσιμο για παραλαβή\n"
419
 
420
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
421
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
422
- #: includes/customizer/class-wcast-customizer.php:82
423
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
424
- #: includes/views/admin_options_trackship_integration.php:93
425
  msgid "Return To Sender"
426
  msgstr ""
427
  "Επιστροφή στον αποστολέα\n"
428
 
429
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
430
- msgid "Delivery Failure"
431
- msgstr ""
432
- "Αποτυχία παράδοσης\n"
 
 
 
433
 
434
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
435
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
436
  msgid "Unknown"
437
- msgstr ""
438
- "Αγνωστος\n"
439
 
440
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
441
  msgid "Pending TrackShip"
442
- msgstr ""
443
- "Εκκρεμεί το TrackShip\n"
444
 
445
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
446
- msgid "Invalid Tracking"
447
- msgstr ""
448
- "Μη έγκυρη παρακολούθηση\n"
449
 
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
451
- msgid "Carrier unsupported"
452
- msgstr ""
453
- "Ο μεταφορέας δεν υποστηρίζεται\n"
454
 
455
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
456
  msgid "Invalid User Key"
457
- msgstr ""
458
 
459
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
460
- msgid "Resend delivered order notification"
461
- msgstr "Επανάληψη αποστολής ειδοποίησης παραγγελίας"
462
 
463
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
464
  msgid "Shipped Order"
465
  msgstr "Αποστολή Παραγγελίας"
466
 
467
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
468
  msgid "Mark order as delivered"
469
  msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
470
 
471
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
472
  msgid "Add Tracking"
473
- msgstr ""
474
 
475
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
476
  msgid "Change order status to"
477
  msgstr "Αλλαγή κατάστασης παραγγελίας σε"
478
 
479
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
480
- #: includes/views/admin_options_shipping_provider.php:88
481
  #, php-format
482
  msgid "You don't have any %s shipping providers."
483
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
484
 
485
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
486
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
487
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
 
 
 
 
488
  msgid "view details"
489
  msgstr "δείτε λεπτομέρειες"
490
 
491
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
493
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
494
  msgid "hide details"
495
  msgstr "Κρύψε τις λεπτομέρειες"
496
 
497
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
498
- msgid "Available for Pickup"
499
- msgstr ""
500
-
501
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
502
- msgid "Out for Delivery"
503
- msgstr ""
504
-
505
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
506
- #: includes/customizer/class-wcast-customizer.php:112
507
- #: includes/customizer/class-wc-failure-email-customizer.php:113
508
- #: includes/views/admin_options_trackship_integration.php:149
509
- msgid "Failed Attempt"
510
- msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
511
-
512
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
513
- msgid "Carrier Unsupported"
514
- msgstr ""
515
-
516
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
517
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
518
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
519
- msgid "Invalid Tracking Number"
520
- msgstr ""
521
- "Μη έγκυρος αριθμός παρακολούθησης\n"
522
-
523
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
524
  msgid "Filter by shipment status"
525
- msgstr ""
526
 
527
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
528
  msgid ""
529
  "To track your order please enter your Order ID in the box below and press "
530
  "the \"Track\" button. This was given to you on your receipt and in the "
@@ -535,181 +465,336 @@ msgstr ""
535
  " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
536
  "να έχετε λάβει.\n"
537
 
538
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
539
- msgid "Order ID"
540
- msgstr ""
541
- "Αριθμός Παραγγελίας\n"
542
-
543
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
544
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
545
  msgid "Found in your order confirmation email."
546
  msgstr ""
547
  "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
548
 
549
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
550
  msgid "Order Email"
551
  msgstr ""
552
  "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
553
 
554
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
555
- #: includes/class-wc-advanced-shipment-tracking.php:260
556
- #: includes/class-wc-advanced-shipment-tracking.php:637
557
- #: includes/class-wc-advanced-shipment-tracking.php:763
558
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
559
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
560
- #: includes/views/html-tracking-info-design-preview.php:69
561
- #: templates/emails/tracking-info.php:152
562
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
563
  msgid "Track"
564
  msgstr "Παρακολούθηση"
565
 
566
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
567
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
568
  #, php-format
569
  msgid "Shipment - %s (out of %s)"
570
  msgstr ""
571
  "Αποστολή -% s (από% s)\n"
572
 
573
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
574
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
575
- msgid "Order: "
576
- msgstr "Σειρά:"
577
-
578
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
579
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
580
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
581
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
582
  msgid "Estimated Delivery Date: "
583
  msgstr "Εκτιμώμενη Ημερομηνία Παράδοσης:"
584
 
585
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
586
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
 
587
  msgid "Tracking Details"
588
  msgstr "Στοιχεία παρακολούθησης"
589
 
590
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
591
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
 
592
  msgid "view more"
593
  msgstr "Δείτε περισσότερα"
594
 
595
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
596
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
 
597
  msgid "view less"
598
  msgstr "δείτε λιγότερο"
599
 
600
- #. esc_html__( '%1$s %2$s.' ),
601
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
602
- #, php-format
603
- msgid ""
604
- "We added many improvements to %1$s, please help and give us a review :) "
605
- "Thanks!"
606
- msgstr ""
607
- "Προσθέσαμε πολλές βελτιώσεις στο% 1 $ s, παρακαλώ βοηθήστε και δώστε μας μια "
608
- "κριτική :) Ευχαριστώ!"
609
 
610
- #: includes/class-wc-advanced-shipment-tracking.php:93
611
- #: includes/class-wc-advanced-shipment-tracking.php:244
612
- #: includes/customizer/class-wcast-customizer.php:30
613
  msgid "Shipment Tracking"
614
  msgstr "Παρακολούθηση Αποστολής"
615
 
616
- #: includes/class-wc-advanced-shipment-tracking.php:179
617
- #: includes/class-wc-advanced-shipment-tracking.php:351
618
- msgid "Change order to Shipped?"
619
- msgstr ""
 
620
 
621
- #: includes/class-wc-advanced-shipment-tracking.php:181
622
- #: includes/class-wc-advanced-shipment-tracking.php:353
623
- msgid "Change order to Completed?"
624
- msgstr ""
 
625
 
626
- #: includes/class-wc-advanced-shipment-tracking.php:186
 
 
 
 
 
 
627
  msgid "Add Tracking Number"
628
- msgstr ""
629
 
630
- #: includes/class-wc-advanced-shipment-tracking.php:191
631
- #: includes/class-wc-advanced-shipment-tracking.php:369
 
 
 
632
  msgid "Provider:"
633
  msgstr "Μεταφορέας:"
634
 
635
- #: includes/class-wc-advanced-shipment-tracking.php:211
636
- #: includes/class-wc-advanced-shipment-tracking.php:407
 
637
  msgid "Tracking number:"
638
  msgstr "Αριθμός Παρακολούθησης:"
639
 
640
- #: includes/class-wc-advanced-shipment-tracking.php:217
641
- #: includes/class-wc-advanced-shipment-tracking.php:415
 
642
  msgid "Date shipped:"
643
  msgstr "Ημερομηνία αποστολής:"
644
 
645
- #: includes/class-wc-advanced-shipment-tracking.php:260
646
- #: templates/pip/tracking-info.php:23
647
- msgid "Click here to track your shipment"
648
- msgstr "Πατήστε εδώ για παρακολούθηση της παραγγελίας σας"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
649
 
650
  #. 1: shipping date
651
- #: includes/class-wc-advanced-shipment-tracking.php:268
652
- #: templates/pip/tracking-info.php:29
653
  #, php-format
654
  msgid "Shipped on %s"
655
  msgstr "Στάλθηκε στις %s"
656
 
657
- #: includes/class-wc-advanced-shipment-tracking.php:269
658
- msgid "Delete"
659
- msgstr "Διαγραφή"
660
-
661
- #: includes/class-wc-advanced-shipment-tracking.php:365
662
  msgid "Add Tracking Info"
663
  msgstr "Προσθήκη Παρακολούθησης"
664
 
665
- #: includes/class-wc-advanced-shipment-tracking.php:370
666
  msgid "Select Provider"
667
  msgstr "Επιλογή Παροχέα"
668
 
669
- #: includes/class-wc-advanced-shipment-tracking.php:430
670
  msgid "Save Tracking"
671
  msgstr "Αποθήκευση Παρακολούθησης"
672
 
673
- #: includes/class-wc-advanced-shipment-tracking.php:431
674
  msgid "Preview:"
675
  msgstr "Επισκόπηση:"
676
 
677
- #: includes/class-wc-advanced-shipment-tracking.php:431
678
- msgid "Click here to track shipment"
679
- msgstr "Πατήστε εδώ για παρακολούθηση της παραγγελίας"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
680
 
681
- #: includes/customizer/class-wcast-customizer.php:39
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
682
  msgid "Shipment Status Emails"
683
  msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
684
 
685
- #: includes/customizer/class-wcast-customizer.php:50
686
  msgid "Tracking info display"
687
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
688
 
689
- #: includes/customizer/class-wcast-customizer.php:51
690
- msgid "This section lets you customize the Tracking Info display design."
 
691
  msgstr ""
692
- "Αυτή η ενότητα σας επιτρέπει να προσαρμόσετε τον σχεδιασμό προβολής των "
693
- "πληροφοριών παρακολούθησης"
694
 
695
- #: includes/customizer/class-wcast-customizer.php:96
696
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
697
- #: includes/views/admin_options_trackship_integration.php:120
698
- msgid "Out For Delivery"
699
- msgstr ""
700
- "Out για παράδοση\n"
701
 
702
- #: includes/customizer/class-wcast-customizer.php:352
703
  msgid "Select order to preview"
704
  msgstr ""
705
  "Επιλέξτε παραγγελία για προεπισκόπηση\n"
706
 
707
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
708
  msgid "Your order #{order_number} is available for pickup"
709
  msgstr ""
710
  "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
711
 
712
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
713
  msgid ""
714
  "Hi there. we thought you'd like to know that your recent order from "
715
  "{site_title} is available for pickup."
@@ -717,225 +802,174 @@ msgstr ""
717
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
718
  "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
719
 
720
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
721
  msgid "Available For Pickup shipment status email"
722
  msgstr ""
723
  "Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
724
 
725
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
726
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
727
- #: includes/customizer/class-wc-email-customizer.php:156
728
- #: includes/customizer/class-wc-failure-email-customizer.php:145
729
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
730
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
731
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
732
  msgid "This section lets you customize the Email Content."
733
  msgstr ""
734
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
735
  "ταχυδρομείου.\n"
736
 
737
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
738
  msgid "Enable Available For Pickup shipment status email"
739
  msgstr ""
740
  "Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
741
 
742
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
743
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
744
- #: includes/customizer/class-wc-email-customizer.php:189
745
- #: includes/customizer/class-wc-failure-email-customizer.php:175
746
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
747
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
748
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
749
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
750
  msgid "Preview order"
751
  msgstr ""
752
  "Προεπισκόπηση σειράς\n"
753
 
754
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
755
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
756
- #: includes/customizer/class-wc-failure-email-customizer.php:196
757
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
758
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
759
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
760
- msgid "To"
761
- msgstr "Προς"
762
-
763
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
764
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
765
- #: includes/customizer/class-wc-failure-email-customizer.php:197
766
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
767
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
768
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
769
- msgid ""
770
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
771
- "can be separated by commas."
772
- msgstr ""
773
- "Εισάγετε emails εδώ ή χρησιμοποιήστε μεταβλητές όπως {customer_email}. "
774
- "Πολλαπλά emails μπορούν να διαχωριστούν με κόμμα."
775
-
776
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
777
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
778
- #: includes/customizer/class-wc-email-customizer.php:218
779
- #: includes/customizer/class-wc-failure-email-customizer.php:203
780
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
781
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
782
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
783
  msgid "E.g. {customer.email}, admin@example.org"
784
  msgstr "Πχ: {customer.email}, admin@example.org"
785
 
786
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
787
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
788
- #: includes/customizer/class-wc-email-customizer.php:234
789
- #: includes/customizer/class-wc-failure-email-customizer.php:218
790
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
791
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
792
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
793
- msgid "Email subject"
794
- msgstr "Θέμα email"
795
-
796
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
797
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
798
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
799
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
800
- #: includes/customizer/class-wc-failure-email-customizer.php:219
801
- #: includes/customizer/class-wc-failure-email-customizer.php:241
802
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
803
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
804
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
805
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
806
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
807
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
808
  msgid "Available placeholders: {site_title}, {order_number}"
809
  msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
810
 
811
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
812
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
813
- #: includes/customizer/class-wc-email-customizer.php:241
814
- #: includes/customizer/class-wc-failure-email-customizer.php:225
815
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
816
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
817
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
818
- msgid "Please enter email subject here"
819
- msgstr "Παρακαλούμε εισάγετε το θέμα email εδώ"
820
-
821
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
822
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
823
- #: includes/customizer/class-wc-email-customizer.php:257
824
- #: includes/customizer/class-wc-failure-email-customizer.php:240
825
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
826
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
827
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
828
- #: includes/emails/class-shipment-delivered-email.php:250
829
- msgid "Email heading"
830
- msgstr "Κεφαλίδα email"
831
-
832
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
833
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
834
- #: includes/customizer/class-wc-email-customizer.php:264
835
- #: includes/customizer/class-wc-failure-email-customizer.php:247
836
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
837
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
838
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
839
- msgid "Please enter email heading here"
840
- msgstr "Παρακαλούμε εισάγετε την κεφαλίδα email εδώ"
841
-
842
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
843
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
844
- #: includes/customizer/class-wc-failure-email-customizer.php:262
845
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
846
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
847
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
848
  msgid "Show tracking details"
849
  msgstr ""
850
  "Εμφάνιση λεπτομερειών παρακολούθησης\n"
851
 
852
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
853
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
854
- #: includes/customizer/class-wc-failure-email-customizer.php:278
855
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
856
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
857
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
858
  msgid "Show order details"
859
  msgstr ""
860
  "Εμφάνιση λεπτομερειών παραγγελίας\n"
861
 
862
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
863
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
864
- #: includes/customizer/class-wc-failure-email-customizer.php:294
865
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
866
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
867
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
868
  msgid "Show billing address"
869
  msgstr ""
870
  "Εμφάνιση διεύθυνσης χρέωσης\n"
871
 
872
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
873
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
874
- #: includes/customizer/class-wc-failure-email-customizer.php:311
875
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
876
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
877
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
878
  msgid "Show shipping address"
879
  msgstr ""
880
  "Εμφάνιση της διεύθυνσης αποστολής\n"
881
 
882
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
883
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
884
- #: includes/customizer/class-wc-email-customizer.php:384
885
- #: includes/customizer/class-wc-failure-email-customizer.php:327
886
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
887
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
888
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
889
  msgid "Google Analytics link tracking"
890
- msgstr ""
891
-
892
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
893
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
894
- #: includes/customizer/class-wc-failure-email-customizer.php:328
895
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
896
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
897
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
898
  msgid "This will be appended to URL in the email content"
899
  msgstr ""
 
900
 
901
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
902
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
903
- #: includes/customizer/class-wc-email-customizer.php:280
904
- #: includes/customizer/class-wc-failure-email-customizer.php:349
905
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
906
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
907
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
908
  msgid "Email content"
909
  msgstr "Περιεχόμενο email"
910
 
911
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
912
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
913
- #: includes/customizer/class-wc-email-customizer.php:405
914
- #: includes/customizer/class-wc-failure-email-customizer.php:369
915
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
916
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
917
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
 
918
  msgid "Available placeholders"
919
  msgstr ""
920
  "Διαθέσιμες επιλογές κράτησης θέσης\n"
921
 
922
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
923
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
924
- #: includes/customizer/class-wc-email-customizer.php:437
925
- #: includes/customizer/class-wc-failure-email-customizer.php:412
926
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
927
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
928
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
929
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
930
- msgid "Please select preview order."
931
- msgstr ""
932
- "Επιλέξτε παραγγελία προεπισκόπησης.\n"
933
-
934
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
 
 
 
 
 
 
935
  msgid "Your order #{order_number} has been delivered"
936
- msgstr ""
937
 
938
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
939
  msgid ""
940
  "Hi there. we thought you'd like to know that your recent order from "
941
  "{site_title} has been Delivered."
@@ -943,95 +977,83 @@ msgstr ""
943
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
944
  "από {site_title} έχει παραδοθεί.\n"
945
 
946
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
947
  msgid "Delivered shipment status email"
948
  msgstr ""
949
  "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
950
 
951
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
952
  msgid "Enable Delivered shipment status email"
953
  msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
954
 
955
- #: includes/customizer/class-wc-email-customizer.php:122
956
- #: includes/emails/class-shipment-delivered-email.php:92
957
  msgid "Your {site_title} order is now delivered"
958
  msgstr ""
959
  "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
960
 
961
- #: includes/customizer/class-wc-email-customizer.php:123
962
- #: includes/emails/class-shipment-delivered-email.php:102
963
- msgid "Thanks for shopping with us"
964
- msgstr ""
965
- "Ευχαριστούμε που ψωνίζεις μαζί μας\n"
966
-
967
- #: includes/customizer/class-wc-email-customizer.php:124
968
- msgid "Hi there. Your recent order on {site_title} has been delivered."
969
- msgstr ""
970
- "Γεια σου. Η πρόσφατη σας παραγγελία στο {site_title} έχει παραδοθεί.\n"
971
-
972
- #: includes/customizer/class-wc-email-customizer.php:171
973
  msgid "Enable Delivered order status email"
974
  msgstr ""
975
  "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
976
 
977
- #: includes/customizer/class-wc-email-customizer.php:193
978
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
979
  msgid "Please select a order..."
980
  msgstr ""
981
  "Παρακαλώ επιλέξτε παραγγελία ...\n"
982
 
983
- #: includes/customizer/class-wc-email-customizer.php:211
984
- msgid "Receipts"
985
- msgstr ""
986
-
987
- #: includes/customizer/class-wc-email-customizer.php:212
988
- msgid ""
989
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
990
- "separated by commas."
991
- msgstr ""
992
-
993
- #: includes/customizer/class-wc-email-customizer.php:235
994
- #: includes/customizer/class-wc-email-customizer.php:258
995
  msgid "Available variables: {site_title}, {order_number}"
996
- msgstr ""
997
 
998
- #: includes/customizer/class-wc-email-customizer.php:281
 
999
  msgid ""
1000
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1001
  "{customer_last_name}, {customer_username}, {order_number}"
1002
  msgstr ""
 
 
1003
 
1004
- #: includes/customizer/class-wc-email-customizer.php:300
1005
  msgid "Display tracking details"
1006
- msgstr ""
1007
 
1008
- #: includes/customizer/class-wc-email-customizer.php:316
1009
  msgid "Display order details"
1010
- msgstr ""
1011
 
1012
- #: includes/customizer/class-wc-email-customizer.php:333
1013
  msgid "Display Shipping Address"
1014
- msgstr ""
1015
 
1016
- #: includes/customizer/class-wc-email-customizer.php:350
1017
  msgid "Display Billing Address"
1018
- msgstr ""
1019
 
1020
- #: includes/customizer/class-wc-email-customizer.php:367
1021
  msgid "Enable Google Analytics tracking"
1022
- msgstr ""
1023
 
1024
- #: includes/customizer/class-wc-email-customizer.php:385
1025
  msgid ""
1026
  "This will be appended to URL in the email content – e.g. "
1027
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1028
  msgstr ""
 
 
 
1029
 
1030
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1031
  msgid "Your order #{order_number} is Failed Attempt"
1032
  msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1033
 
1034
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1035
  msgid ""
1036
  "Hi there. we thought you'd like to know that your recent order from "
1037
  "{site_title} is Failed Attempt"
@@ -1039,23 +1061,23 @@ msgstr ""
1039
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1040
  "από το {site_title} απέτυχε"
1041
 
1042
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1043
  msgid "Failed Attempt shipment status email"
1044
  msgstr ""
1045
  "Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
1046
 
1047
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1048
  msgid "Enable Failed Attempt shipment status email"
1049
  msgstr ""
1050
  "Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
1051
  "αποστολής"
1052
 
1053
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1054
  msgid "Your order #{order_number} is in transit"
1055
  msgstr ""
1056
  "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1057
 
1058
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1059
  msgid ""
1060
  "Hi there. we thought you'd like to know that your recent order from "
1061
  "{site_title} is in transit"
@@ -1063,23 +1085,23 @@ msgstr ""
1063
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1064
  "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1065
 
1066
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1067
  msgid "In Transit shipment status email"
1068
  msgstr ""
1069
  "Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
1070
 
1071
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1072
  msgid "Enable In Transit shipment status email"
1073
  msgstr ""
1074
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
1075
  "μεταφορά\n"
1076
 
1077
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1078
  msgid "Your order #{order_number} is out for delivery"
1079
  msgstr ""
1080
  "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1081
 
1082
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1083
  msgid ""
1084
  "Hi there. we thought you'd like to know that your recent order from "
1085
  "{site_title} is out for delivery."
@@ -1087,21 +1109,21 @@ msgstr ""
1087
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1088
  "από το {site_title} είναι έξω για παράδοση.\n"
1089
 
1090
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1091
  msgid "Out For Delivery shipment status email"
1092
  msgstr ""
1093
  "Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
1094
 
1095
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1096
  msgid "Enable Out For Delivery shipment status email"
1097
  msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
1098
 
1099
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1100
  msgid "Your order #{order_number} has returned to sender"
1101
  msgstr ""
1102
  "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1103
 
1104
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1105
  msgid ""
1106
  "Hi there. we thought you'd like to know that your recent order from "
1107
  "{site_title} has been returned to sender."
@@ -1109,39 +1131,38 @@ msgstr ""
1109
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1110
  "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1111
 
1112
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1113
  msgid "Return To Sender shipment status email"
1114
  msgstr ""
1115
  "Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
1116
 
1117
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1118
  msgid "Enable Return To Sender shipment status email"
1119
  msgstr ""
1120
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
1121
  "αποστολέα"
1122
 
1123
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1124
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1125
- #: includes/views/html-tracking-info-design-preview.php:45
1126
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1127
  msgid "Provider"
1128
  msgstr "Μεταφορέας"
1129
 
1130
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1131
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1132
- #: includes/views/html-tracking-info-design-preview.php:46
1133
- #: templates/emails/tracking-info.php:134
1134
- #: templates/myaccount/view-order.php:111
1135
  msgid "Tracking Number"
1136
  msgstr "Αριθμός"
1137
 
1138
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1139
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1140
  msgid "Shipped Date"
1141
  msgstr ""
1142
  "Ημερομηνία αποστολής\n"
1143
 
1144
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1145
  msgid ""
1146
  "select from last 20 orders one order that you added tracking info in order "
1147
  "to preview and design the tracking info table."
@@ -1150,254 +1171,197 @@ msgstr ""
1150
  "πληροφορίες παρακολούθησης για να δείτε και να σχεδιάσετε τον πίνακα "
1151
  "πληροφοριών παρακολούθησης.\n"
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1154
  msgid "Tracking Display Position"
1155
  msgstr "Παρακολούθηση θέσης προβολής"
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1158
  msgid "Before Order Details"
1159
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1160
 
1161
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1162
  msgid "After Order Details"
1163
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
1164
 
1165
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1166
  msgid "Main Header text"
1167
  msgstr "Κύριο κείμενο κεφαλίδας"
1168
 
1169
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1170
- #: templates/pip/tracking-info.php:17
1171
  msgid "Tracking Information"
1172
  msgstr "Πληροφορίες Παρακολούθησης"
1173
 
1174
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1175
  msgid "Additional text after header"
1176
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1179
- msgid "Table Layout"
1180
- msgstr "Διάταξη πίνακα"
1181
 
1182
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1183
  msgid "Display Shipment Provider image"
1184
  msgstr "Εμφάνιση εικόνας παροχέα αποστολής"
1185
 
1186
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
 
 
 
 
1187
  msgid "Hide date"
1188
  msgstr "Απόκρυψη ημερομηνίας"
1189
 
1190
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
 
 
 
 
 
 
 
 
1191
  msgid "Provider Header Text"
1192
  msgstr "Κείμενο κεφαλίδας παροχέα"
1193
 
1194
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1195
  msgid "Tracking Number Header Text"
1196
  msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
1197
 
1198
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1199
  msgid "Shipped Date Header Text"
1200
  msgstr "Κείμενο κεφαλίδας μεταφερόμενης ημερομηνίας"
1201
 
1202
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
 
 
 
 
1203
  msgid "Track Label"
1204
  msgstr "Ετικέτα διαδρομής"
1205
 
1206
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1207
  msgid "Track Header Text"
1208
  msgstr "Κείμενο κεφαλίδας κομματιού"
1209
 
1210
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
 
 
 
 
 
 
 
 
1211
  msgid "Table Design"
1212
  msgstr ""
1213
  "Σχεδιασμός πίνακα\n"
1214
 
1215
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1216
  msgid "Padding"
1217
  msgstr ""
1218
  "Υλικό παραγεμίσματος\n"
1219
 
1220
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1221
  msgid "Background color"
1222
  msgstr ""
1223
  "Χρώμα του φόντου\n"
1224
 
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1226
  msgid "Border color"
1227
  msgstr ""
1228
  "Χρώμα πλαισίου\n"
1229
 
1230
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1231
  msgid "Border size"
1232
  msgstr ""
1233
  "Μέγεθος περιθωρίου\n"
1234
 
1235
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1236
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1237
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1238
- msgid "Select"
1239
- msgstr "Επιλογή"
1240
-
1241
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1242
  msgid "Table text align"
1243
  msgstr "Ευθυγράμμιση κειμένου πίνακα"
1244
 
1245
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1246
- msgid "Left"
1247
- msgstr ""
1248
- "Αριστερά\n"
1249
-
1250
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1251
- msgid "Right"
1252
- msgstr "σωστά"
1253
-
1254
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1255
- msgid "Center"
1256
- msgstr "Κέντρο"
1257
-
1258
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1259
- msgid "Table header font size"
1260
- msgstr "Μέγεθος γραμματοσειράς κεφαλίδας πίνακα"
1261
-
1262
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1263
- msgid "Table header font color"
1264
- msgstr "Χρώμα γραμματοσειράς κεφαλίδας πίνακα"
1265
-
1266
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1267
  msgid "Table content font size"
1268
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου πίνακα"
1269
 
1270
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1271
  msgid "Table content font color"
1272
  msgstr "Χρώμα γραμματοσειράς περιεχομένου πίνακα"
1273
 
1274
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1275
  msgid "Content line height"
1276
  msgstr ""
1277
  "Το ύψος της γραμμής περιεχομένου\n"
1278
 
1279
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1280
  msgid "Content font weight"
1281
  msgstr ""
1282
  "Βάρος γραμματοσειράς περιεχομένου\n"
1283
 
1284
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1285
- msgid "Track Link"
1286
- msgstr "Σύνδεσμος διαδρομής"
1287
 
1288
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1289
  msgid "Track Link Font Color"
1290
  msgstr "Χρώμα γραμματοσειράς γραμμής σύνδεσης"
1291
 
1292
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1293
  msgid "Track Link Background Color"
1294
  msgstr "Χρώμα φόντου συνδέσμου διαδρομής"
1295
 
1296
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1297
  msgid "Track link Border"
1298
  msgstr "Γραμμή συνδέσμου γραμμής"
1299
 
1300
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1301
- msgid "Header Color"
1302
- msgstr ""
1303
- "Χρώμα κεφαλίδας\n"
1304
-
1305
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1306
- msgid "Success Status Color"
1307
- msgstr ""
1308
- "Χρώμα κατάστασης επιτυχίας\n"
1309
-
1310
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1311
- msgid "Warning Status Color"
1312
- msgstr ""
1313
- "Προειδοποίηση Χρώμα κατάστασης\n"
1314
 
1315
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1316
- msgid "Tracking info Border Color"
1317
- msgstr ""
1318
- "Πληροφορίες παρακολούθησης Χρώμα περιγράμματος\n"
1319
-
1320
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1321
- msgid "Tracking info width (px)"
1322
- msgstr ""
1323
- "Πλάτος πληροφοριών παρακολούθησης (px)\n"
1324
-
1325
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1326
- msgid "Tracking details Border Color"
1327
- msgstr ""
1328
- "Λεπτομέρειες παρακολούθησης Χρώμα περιγράμματος\n"
1329
-
1330
- #: includes/customizer/class-wc-tracking-page-customizer.php:265
1331
- msgid "Tracking info table shade color"
1332
- msgstr ""
1333
- "Παρακολούθηση χρώματος πίνακα χρώματος πληροφοριών\n"
1334
-
1335
- #: includes/customizer/class-wc-tracking-page-customizer.php:280
1336
- msgid "Tracking events font color"
1337
  msgstr ""
1338
- "Παρακολούθηση χρώματος γραμματοσειράς συμβάντων\n"
 
1339
 
1340
- #: includes/customizer/class-wc-tracking-page-customizer.php:295
1341
- msgid "Tracking info table margin top/bottom(px)"
1342
- msgstr ""
1343
- "Μέγιστο / κάτω περιθώριο πίνακα πληροφοριών παρακολούθησης (px)\n"
1344
 
1345
  #: includes/emails/class-shipment-delivered-email.php:32
1346
  msgid "Delivered order"
1347
- msgstr ""
1348
 
1349
  #: includes/emails/class-shipment-delivered-email.php:33
1350
  msgid ""
1351
  "Order delivered emails are sent to customers when their orders are marked "
1352
  "delivered and usually indicate that their orders have been shipped."
1353
  msgstr ""
 
 
 
1354
 
1355
- #: includes/emails/class-shipment-delivered-email.php:228
1356
- msgid "Enable this email notification"
1357
- msgstr ""
1358
-
1359
- #: includes/emails/class-shipment-delivered-email.php:232
1360
- msgid "Recipient(s)"
1361
- msgstr ""
1362
-
1363
- #. %s: WP admin email
1364
- #: includes/emails/class-shipment-delivered-email.php:235
1365
- #, php-format
1366
- msgid "Enter recipients (comma separated) for this email. Defaults to %s."
1367
- msgstr ""
1368
-
1369
- #: includes/emails/class-shipment-delivered-email.php:241
1370
- msgid "Subject"
1371
- msgstr ""
1372
-
1373
- #. %s: list of placeholders
1374
- #: includes/emails/class-shipment-delivered-email.php:245
1375
- #: includes/emails/class-shipment-delivered-email.php:254
1376
- #, php-format
1377
- msgid "Available placeholders: %s"
1378
- msgstr ""
1379
-
1380
- #: includes/emails/class-shipment-delivered-email.php:259
1381
- msgid "Email type"
1382
- msgstr ""
1383
 
1384
- #: includes/emails/class-shipment-delivered-email.php:261
1385
- msgid "Choose which format of email to send."
1386
- msgstr ""
1387
-
1388
- #: includes/emails/class-shipment-delivered-email.php:269
1389
- msgid "\" >Click Here</a>"
1390
- msgstr ""
1391
-
1392
- #: includes/emails/class-shipment-delivered-email.php:270
1393
  msgid "Edit in customizer"
1394
- msgstr ""
1395
 
1396
- #: includes/views/admin_options_bulk_upload.php:5
1397
  msgid "Upload CSV"
1398
  msgstr "Μεταφόρτωση CSV"
1399
 
1400
- #: includes/views/admin_options_bulk_upload.php:15
1401
  msgid ""
1402
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1403
  "added)"
@@ -1405,134 +1369,184 @@ msgstr ""
1405
  "Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
1406
  "επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
1407
 
1408
- #: includes/views/admin_options_bulk_upload.php:25
1409
- #: includes/views/admin_options_shipping_provider.php:112
1410
- #: includes/views/admin_options_shipping_provider.php:146
1411
  msgid "Upload"
1412
  msgstr "Μεταφόρτωση"
1413
 
1414
- #: includes/views/admin_options_bulk_upload.php:28
1415
- #: includes/views/admin_options_trackship_integration.php:27
1416
- #: includes/views/admin_options_trackship_integration.php:45
1417
  msgid "Settings Saved."
1418
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1419
 
1420
- #: includes/views/admin_options_bulk_upload.php:34
 
 
 
 
 
 
 
 
1421
  msgid "You can download an example of the csv file:"
1422
  msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
1423
 
1424
- #: includes/views/admin_options_bulk_upload.php:35
1425
  msgid "Download sample csv file"
1426
  msgstr "Κάντε λήψη δείγματος αρχείου csv"
1427
 
1428
- #: includes/views/admin_options_bulk_upload.php:36
1429
  msgid ""
1430
  "For detailed instructions on how to upload tracking info in bulk, see our"
1431
  msgstr ""
1432
  "Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
1433
  "παρακολούθησης, ανατρέξτε στη σελίδα μας"
1434
 
1435
- #: includes/views/admin_options_bulk_upload.php:36
1436
- msgid "documentation"
1437
- msgstr "απόδειξη με έγγραφα"
 
 
 
 
1438
 
1439
- #: includes/views/admin_options_bulk_upload.php:38
1440
- msgid "Upload Progress - "
1441
- msgstr "Πρόοδος Μεταφόρτωσης - "
1442
 
1443
- #: includes/views/admin_options_settings.php:7
1444
- #: includes/views/admin_options_trackship_integration.php:10
1445
- msgid "General"
1446
- msgstr "Γενικός"
 
 
 
 
 
1447
 
1448
- #: includes/views/admin_options_settings.php:10
1449
- #: includes/views/admin_options_settings.php:19
1450
  msgid "Delivered Order Status"
1451
  msgstr "Παραδοθείσα κατάσταση παραγγελίας"
1452
 
1453
- #: includes/views/admin_options_settings.php:12
1454
- msgid "Tracking Info Display Designer"
1455
- msgstr ""
1456
- "Σχεδίαση προβολής πληροφοριών παρακολούθησης\n"
1457
-
1458
- #: includes/views/admin_options_settings.php:15
1459
- #: includes/views/admin_options_trackship_integration.php:19
1460
- msgid "General Settings"
1461
- msgstr "Γενικές Ρυθμίσεις"
1462
 
1463
- #: includes/views/admin_options_settings.php:24
1464
- #: includes/views/admin_options_trackship_integration.php:25
1465
- #: includes/views/admin_options_trackship_integration.php:43
1466
- msgid "Save"
1467
- msgstr "Αποθήκευση"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1468
 
1469
- #: includes/views/admin_options_shipping_provider.php:94
1470
  msgid "Add Custom Shipping Provider"
1471
  msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1472
 
1473
- #: includes/views/admin_options_shipping_provider.php:101
1474
- #: includes/views/admin_options_shipping_provider.php:135
1475
- msgid "Shiping Country"
1476
  msgstr "Χώρα αποστολής"
1477
 
1478
- #: includes/views/admin_options_shipping_provider.php:102
1479
- #: includes/views/admin_options_shipping_provider.php:136
1480
  msgid "Global"
1481
- msgstr ""
 
 
 
 
 
1482
 
1483
- #: includes/views/admin_options_shipping_provider.php:128
1484
  msgid "Edit Custom Shipping Provider"
1485
  msgstr "Επεξεργασία προσαρμοσμένου προμηθευτή αποστολής"
1486
 
1487
- #: includes/views/admin_options_shipping_provider.php:163
1488
- #: includes/views/admin_options_shipping_provider.php:170
1489
- msgid "Sync Providers"
1490
- msgstr "Προμηθευτές συγχρονισμού"
1491
-
1492
- #: includes/views/admin_options_shipping_provider.php:164
1493
- msgid "Do you really want to sync all providers?"
1494
- msgstr "Θέλετε πραγματικά να συγχρονίσετε όλους τους παρόχους;"
1495
 
1496
- #: includes/views/admin_options_shipping_provider.php:166
1497
  msgid "Providers Added"
1498
  msgstr "Προστέθηκαν παροχείς"
1499
 
1500
- #: includes/views/admin_options_shipping_provider.php:167
1501
  msgid "Providers Updated"
1502
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1503
 
1504
- #: includes/views/admin_options_shipping_provider.php:168
1505
  msgid "Providers Deleted"
1506
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1507
 
1508
- #: includes/views/admin_options_shipping_provider.php:171
1509
- msgid "Close"
1510
- msgstr "Κοντά"
1511
-
1512
- #: includes/views/admin_options_trackship_integration.php:13
1513
- #: includes/views/admin_options_trackship_integration.php:35
1514
  msgid "Tracking Page"
1515
  msgstr "Σελίδα Παρακολούθησης"
1516
 
1517
- #: includes/views/admin_options_trackship_integration.php:16
1518
- msgid "Shipment Status Notifications"
1519
- msgstr "Ειδοποιήσεις κατάστασης αποστολής"
1520
-
1521
- #: includes/views/admin_options_trackship_integration.php:40
1522
  msgid "Click to preview the tracking page"
1523
  msgstr "Click to preview the tracking page"
1524
 
1525
- #: includes/views/admin_options_trackship_integration.php:41
1526
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1527
  msgstr ""
1528
  "ΣΗΜΕΙΩΣΤΕ - βεβαιωθείτε ότι έχετε αποθηκεύσει τις ρυθμίσεις σας πριν από την "
1529
  "προεπισκόπηση."
1530
 
1531
- #: includes/views/admin_options_trackship_integration.php:53
1532
  msgid "Shipment Status Notifications "
1533
  msgstr "Ειδοποιήσεις κατάστασης αποστολής"
1534
 
1535
- #: includes/views/admin_options_trackship_integration.php:81
1536
  msgid ""
1537
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1538
  "the way."
@@ -1540,23 +1554,23 @@ msgstr ""
1540
  "Ο μεταφορέας έχει αποδεχτεί ή έχει παραλάβει την αποστολή από τον αποστολέα. "
1541
  "Η αποστολή βρίσκεται στο δρόμο."
1542
 
1543
- #: includes/views/admin_options_trackship_integration.php:95
1544
  msgid "Shipment is returned to sender"
1545
  msgstr "Η αποστολή επιστρέφεται στον αποστολέα"
1546
 
1547
- #: includes/views/admin_options_trackship_integration.php:109
1548
  msgid "The shipment is ready to pickup."
1549
  msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1550
 
1551
- #: includes/views/admin_options_trackship_integration.php:122
1552
  msgid "Carrier is about to deliver the shipment"
1553
  msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή"
1554
 
1555
- #: includes/views/admin_options_trackship_integration.php:136
1556
  msgid "The shipment was delivered successfully"
1557
  msgstr "Η αποστολή παραδόθηκε με επιτυχία"
1558
 
1559
- #: includes/views/admin_options_trackship_integration.php:137
1560
  msgid ""
1561
  "You already have delivered email enabled, to enable this email you'll need "
1562
  "to disable the order status delivered in settings."
@@ -1566,7 +1580,7 @@ msgstr ""
1566
  "απενεργοποιήσετε την κατάσταση της παραγγελίας που εμφανίζεται στις "
1567
  "ρυθμίσεις."
1568
 
1569
- #: includes/views/admin_options_trackship_integration.php:151
1570
  msgid ""
1571
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1572
  "will try to deliver the package again."
@@ -1574,43 +1588,67 @@ msgstr ""
1574
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1575
  "will try to deliver the package again."
1576
 
1577
- #: includes/views/html-tracking-info-design-preview.php:60
1578
- msgid "USPS"
1579
- msgstr "USPS"
1580
-
1581
- #: includes/views/zorem_admin_sidebar.php:8
1582
- msgid "Leave your review"
1583
  msgstr ""
 
 
1584
 
1585
- #: includes/views/zorem_admin_ts_sidebar.php:5
1586
- msgid "Dashboard"
1587
- msgstr ""
1588
 
1589
- #: includes/views/zorem_admin_ts_sidebar.php:7
1590
- msgid "Documentation"
1591
- msgstr ""
1592
 
1593
- #: templates/emails/tracking-info.php:138
1594
- msgid "Status"
1595
- msgstr "Κατάσταση"
1596
 
1597
- #: templates/emails/wcast-email-order-details.php:26
1598
- msgid "Order Details"
1599
- msgstr ""
1600
- "Λεπτομέρειες Παραγγελίας\n"
 
 
 
1601
 
1602
  #. %s: Order ID.
1603
- #: templates/emails/wcast-email-order-details.php:42
1604
  #, php-format
1605
  msgid "Order number: %s"
1606
  msgstr ""
1607
  "Αριθμός παραγγελίας:% s\n"
1608
 
1609
- #: templates/emails/wcast-email-order-details.php:49
1610
- msgid "Order date:"
1611
  msgstr ""
1612
- "Ημερομηνία παραγγελίας:\n"
 
1613
 
1614
- #: templates/emails/plain/tracking-info.php:18
1615
- msgid "TRACKING INFORMATION"
1616
- msgstr "ΠΛΗΡΟΦΟΡΙΕΣ ΠΑΡΑΚΟΛΟΥΘΗΣΗΣ"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-12-13 13:13+0000\n"
6
+ "PO-Revision-Date: 2019-12-13 14:27+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\n"
8
  "Language-Team: Greek\n"
9
  "Language: el\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.3.1; wp-5.3.1"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
24
  "Advanced Shipment Tracking!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:242
27
+ #, php-format
28
+ msgid "Your order was shipped with %s and your tracking code is: %s"
29
+ msgstr "Η παραγγελία σας εστάλη με% s και ο κωδικός παρακολούθησης είναι:% s"
30
+
31
+ #: woocommerce-advanced-shipment-tracking.php:452
32
+ #: includes/views/admin_options_settings.php:68
33
  #, php-format
34
  msgid ""
35
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
39
  "php here or you can manually change all your \"delivered\" order to "
40
  "\"completed\" before deactivating the plugin."
41
  msgstr ""
42
+ "<strong> ΠΑΡΑΚΑΛΟΥΜΕ ΣΗΜΕΙΩΣΗ </ strong> - Εάν χρησιμοποιείτε την κατάσταση "
43
+ "προσαρμοσμένης παραγγελίας \"Παράδοση\", όταν απενεργοποιείτε την προσθήκη, "
44
+ "πρέπει να καταχωρήσετε αυτήν την κατάσταση παραγγελίας στο function.php για "
45
+ "να δείτε αυτές τις παραγγελίες στις εντολές admin. Μπορείτε να βρείτε το <a "
46
+ "href=\"%s\" target=\"blank\"> απόσπασμα </a> για να το χρησιμοποιήσετε στη "
47
+ "σελίδα functions.php εδώ ή μπορείτε να αλλάξετε με μη αυτόματο τρόπο όλη την "
48
+ "παραγγελία σας ως \"ολοκληρωμένη\" πριν απενεργοποιήσετε την προσθήκη."
49
 
50
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  msgid "Shipment status"
52
+ msgstr "Κατάσταση αποστολής"
53
 
54
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
55
+ #: includes/class-wc-advanced-shipment-welcome.php:310
56
  msgid ""
57
  "Get Shipment Status is limited to 100 orders at a time, please select up to "
58
  "100 orders."
59
  msgstr ""
60
+ "Η λήψη της Κατάστασης αποστολής περιορίζεται σε 100 παραγγελίες τη φορά, "
61
+ "παρακαλούμε επιλέξτε έως και 100 παραγγελίες."
62
 
63
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:460
64
+ #: includes/class-wc-advanced-shipment-welcome.php:343
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
65
  msgid "Data saved successfully."
66
  msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
67
 
68
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:461
69
+ #: includes/class-wc-advanced-shipment-welcome.php:344
70
  msgid "Really delete this entry? This will not be undo."
71
  msgstr ""
72
  "Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
73
  "να αναιρεθεί."
74
 
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
76
+ #: includes/class-wc-advanced-shipment-welcome.php:345
77
  msgid "You can upload only csv file."
78
  msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
79
 
80
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
81
+ #: includes/class-wc-advanced-shipment-welcome.php:346
82
  msgid "This browser does not support HTML5."
83
  msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
84
 
85
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
86
+ #: includes/class-wc-advanced-shipment-welcome.php:347
87
  msgid "Please upload a valid CSV file."
88
  msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
89
 
90
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:533
91
  msgid "Shipping Providers"
92
  msgstr "Προμηθευτές αποστολής"
93
 
94
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
 
 
 
 
95
  msgid "Bulk Upload"
96
+ msgstr "Μαζική μεταφόρτωση"
97
 
98
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:545
99
+ msgid "Tools"
100
+ msgstr "Εργαλεία"
101
 
102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:549
103
+ msgid "Add-ons"
104
+ msgstr "Πρόσθετα"
105
+
106
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:552
107
+ #: includes/class-wc-advanced-shipment-welcome.php:222
108
+ #: includes/views/admin_options_bulk_upload.php:63
109
+ #: includes/views/admin_options_trackship_integration.php:71
110
+ #: includes/views/zorem_admin_ts_sidebar.php:12
111
+ msgid "Documentation"
112
+ msgstr "Απόδειξη με έγγραφα"
113
+
114
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:553
115
+ msgid "How to Video"
116
+ msgstr "Πώς να Βίντεο"
117
+
118
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:692
119
+ msgid "Custom Statuses"
120
+ msgstr "Προσαρμοσμένες καταστάσεις"
121
+
122
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:739
123
+ #: includes/class-wc-advanced-shipment-welcome.php:188
124
+ #: includes/views/admin_options_trackship_integration.php:37
125
+ #: includes/views/admin_options_addons.php:46
126
  msgid "Connected"
127
  msgstr ""
128
  "Συνδεδεμένος\n"
129
 
130
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:871
 
 
 
 
 
 
 
 
 
131
  #, php-format
132
+ msgid "%s %s orders with tracking info"
133
+ msgstr "% s% s παραγγελίες με πληροφορίες παρακολούθησης"
134
+
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:872
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:881
137
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:890
138
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1743
139
+ #: includes/views/admin_options_tools.php:13
140
+ msgid "Get Shipment Status"
141
+ msgstr "Λήψη κατάστασης αποστολής"
142
 
143
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:880
144
  #, php-format
145
+ msgid "%s %s orders with “TrackShip balance is 0”"
146
+ msgstr "Οι εντολές% s% s με \"Το υπόλοιπο TrackShip είναι 0\""
 
 
147
 
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:889
149
+ #, php-format
150
+ msgid "%s %s orders with “Please do connection”"
151
+ msgstr "% s% s παραγγελίες με \"Παρακαλώ κάντε σύνδεση\""
152
 
153
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:927
 
154
  msgid "Enable/Disable"
155
+ msgstr "Ενεργοποιώ απενεργοποιώ"
156
 
157
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:933
158
  msgid "Set order status Delivered when order is delivered"
159
  msgstr ""
160
+ "Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της παραγγελίας"
161
 
162
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:965
 
 
 
 
 
 
 
 
 
 
 
163
  msgid ""
164
  "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
165
  "for the tracking page to work."
166
  msgstr ""
167
+ "Πρέπει να προσθέσετε το shortcode [wcast-track-order] στο \"όνομα σελίδας\" "
168
+ "για να λειτουργήσει η σελίδα παρακολούθησης."
169
 
170
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:973
171
  msgid "Select Tracking Page"
172
+ msgstr "Επιλέξτε Σελίδα παρακολούθησης"
 
173
 
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:981
 
 
 
 
 
 
175
  msgid "Use the tracking page in the customer email/my account tracking link"
176
  msgstr ""
177
  "Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
178
+ "ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης λογαριασμού"
179
 
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:987
181
  msgid "Select primary color for tracking page"
182
+ msgstr "Επιλέξτε το αρχικό χρώμα για τη σελίδα παρακολούθησης"
 
183
 
184
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:993
185
  msgid "Select content border color for tracking page"
186
  msgstr ""
187
+ "Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα παρακολούθησης"
188
 
189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:999
190
+ msgid "Hide tracking events details"
191
+ msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
192
+
193
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1005
194
+ msgid "Remove TrackShip branding"
195
+ msgstr "Αφαιρέστε το branding του TrackShip"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1022
198
+ msgid "License Key"
199
+ msgstr "Κλειδί άδειας χρήσης"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1024
202
+ msgid "Valid License to make All feature work correctly"
203
+ msgstr "Ισχύει Άδεια για να λειτουργήσει σωστά το All"
204
+
205
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
206
+ msgid "\">click here</a> to activate it."
207
+ msgstr "\"> κάντε κλικ εδώ </a> για να την ενεργοποιήσετε."
208
+
209
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
210
+ #: includes/class-wc-advanced-shipment-tracking.php:185
211
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:256
212
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:392
213
+ msgid "Shipped"
214
+ msgstr "Αποστέλλονται"
215
+
216
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1207
217
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
218
  msgstr ""
219
+ "Προεπιλεγμένο \"ως <span class =\" shipped_label \"> απεσταλμένο </ span>\""
220
 
221
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1208
222
  msgid ""
223
  "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
224
  "will be selected by default when adding tracking info to orders."
225
  msgstr ""
226
+ "Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> αποσταλεί </ "
227
+ "span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
228
+ "παρακολούθησης σε παραγγελίες."
229
 
230
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1211
231
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
 
 
 
 
 
 
232
  msgstr ""
233
+ "Προεπιλεγμένο \"ως <span class =\" shipped_label \"> ολοκληρώθηκε </ span>\""
234
 
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
236
  msgid ""
237
  "This means that the 'mark as <span class='shipped_label'>completed</span>' "
238
  "will be selected by default when adding tracking info to orders."
239
  msgstr ""
240
+ "Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> ολοκληρώθηκε </ "
241
+ "span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
242
+ "παρακολούθησης σε παραγγελίες."
243
 
244
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1278
245
  msgid "Rename the “Completed” Order status to “Shipped”"
 
 
 
 
246
  msgstr ""
247
+ "Μετονομάστε την κατάσταση της παραγγελίας \"Ολοκληρωμένη\" σε "
248
+ "\"Αποστέλλονται\""
 
 
 
 
 
 
 
 
 
249
 
250
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1291
251
+ msgid "On which order status email to include the shipment tracking info?"
252
+ msgstr ""
253
+ "Σε ποιο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας "
254
+ "συμπεριλαμβάνονται οι πληροφορίες παρακολούθησης αποστολής;"
 
 
 
 
 
 
255
 
256
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1297
257
  msgid "Show tracking info in Invoice"
258
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
259
 
260
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1303
261
  msgid "Show tracking info in Packing Slip"
262
  msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
263
 
264
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1320
265
+ msgid "Enable custom order status “Delivered\""
266
+ msgstr "Ενεργοποίηση της κατάστασης προσαρμοσμένης παραγγελίας \"Παραδόθηκε\""
 
267
 
268
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1321
269
  msgid ""
270
  "if you enable the delivered item, you will have the option to send delivered "
271
  "email notifications."
272
  msgstr ""
273
+ "αν ενεργοποιήσετε το παραδοθέν στοιχείο, θα έχετε την επιλογή να στέλνετε "
274
+ "ειδοποιήσεις μέσω ηλεκτρονικού ταχυδρομείου."
275
 
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1327
277
+ msgid "Delivered Label color"
278
+ msgstr "Χρώμα ετικετών που παραδίδεται"
279
 
280
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1333
281
+ msgid "Delivered Label font color"
282
+ msgstr "Χρώμα γραμματοσειράς ετικετών που παραδίδεται"
283
+
284
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1336
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1378
286
+ msgid "Light"
287
+ msgstr "Φως"
288
+
289
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1337
290
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1379
291
+ msgid "Dark"
292
+ msgstr "Σκοτάδι"
293
+
294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1344
295
+ msgid "Enable the Delivered order status email"
296
  msgstr ""
297
+ "Ενεργοποιήστε το μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας"
298
+
299
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1362
300
+ msgid "Enable custom order status “Partially Shipped\""
301
+ msgstr ""
302
+ "Ενεργοποίηση της κατάστασης προσαρμοσμένης παραγγελίας \"Μερική αποστολή\""
303
 
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1363
 
 
 
 
 
 
 
 
 
 
305
  msgid ""
306
+ "if you enable the Partially Shipped item, you will have the option to send "
307
+ "Partially Shipped email notifications."
308
  msgstr ""
309
+ "αν ενεργοποιήσετε το στοιχείο Μερικώς αποστέλλονται, θα έχετε την επιλογή να "
310
+ "στέλνετε ειδοποιήσεις ηλεκτρονικού ταχυδρομείου μερικώς αποστέλλονται."
311
 
312
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1369
313
+ msgid "Partially Shipped Label color"
314
+ msgstr "Παρουσιάστηκε μερικώς χρώμα ετικέτας"
315
 
316
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1375
317
+ msgid "Partially Shipped Label font color"
318
+ msgstr "Παρουσιάστηκε μερικώς χρώμα γραμματοσειράς ετικετών"
319
 
320
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1386
321
+ msgid "Enable the Partially Shipped order status email"
322
+ msgstr ""
323
+ "Ενεργοποιήστε το μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας που "
324
+ "αποστέλλονται εν μέρει"
325
+
326
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1776
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2455
328
+ #: includes/customizer/class-wcast-customizer.php:84
329
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
330
+ #: includes/views/admin_options_trackship_integration.php:161
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
  msgid "In Transit"
332
  msgstr ""
333
  "Στη διαμετακόμιση\n"
334
 
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1779
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2454
337
+ #: includes/customizer/class-wcast-customizer.php:76
338
  msgid "Pre Transit"
339
  msgstr ""
340
  "Pre Transit\n"
341
 
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1782
343
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1974
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2458
345
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:118
346
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:161
347
+ #: includes/customizer/class-wcast-customizer.php:114
348
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
349
+ #: includes/views/admin_options_trackship_integration.php:216
350
+ msgid "Delivered"
351
+ msgstr "Παραδόθηκε"
352
+
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2457
355
+ #: includes/customizer/class-wcast-customizer.php:106
356
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
357
+ #: includes/views/admin_options_trackship_integration.php:202
358
+ msgid "Out For Delivery"
359
  msgstr ""
360
+ "Out για παράδοση\n"
361
 
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1788
363
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2456
364
+ #: includes/customizer/class-wcast-customizer.php:99
365
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
366
+ #: includes/views/admin_options_trackship_integration.php:189
367
  msgid "Available For Pickup"
368
  msgstr ""
369
  "Διαθέσιμο για παραλαβή\n"
370
 
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1791
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2462
373
+ #: includes/customizer/class-wcast-customizer.php:92
374
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
375
+ #: includes/views/admin_options_trackship_integration.php:175
376
  msgid "Return To Sender"
377
  msgstr ""
378
  "Επιστροφή στον αποστολέα\n"
379
 
380
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1794
381
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2459
382
+ #: includes/customizer/class-wcast-customizer.php:122
383
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
384
+ #: includes/views/admin_options_trackship_integration.php:231
385
+ msgid "Failed Attempt"
386
+ msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
387
 
388
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2453
390
  msgid "Unknown"
391
+ msgstr "Αγνωστος"
 
392
 
393
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1800
394
  msgid "Pending TrackShip"
395
+ msgstr "Εκκρεμεί το TrackShip"
 
396
 
397
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1803
398
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2463
399
+ msgid "Invalid Tracking Number"
400
+ msgstr "Μη έγκυρος αριθμός παρακολούθησης"
401
 
402
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1806
403
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2461
404
+ msgid "Carrier Unsupported"
405
+ msgstr "Ο μεταφορέας δεν υποστηρίζεται"
406
 
407
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1809
408
  msgid "Invalid User Key"
409
+ msgstr "Μη έγκυρο κλειδί χρήστη"
410
 
411
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1812
412
+ msgid "Wrong Shipping Provider"
413
+ msgstr "Δυστυχώς αποστολέας αποστολής"
414
 
415
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1928
416
  msgid "Shipped Order"
417
  msgstr "Αποστολή Παραγγελίας"
418
 
419
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1952
420
  msgid "Mark order as delivered"
421
  msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
422
 
423
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1959
424
  msgid "Add Tracking"
425
+ msgstr "Προσθήκη παρακολούθησης"
426
 
427
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1986
428
  msgid "Change order status to"
429
  msgstr "Αλλαγή κατάστασης παραγγελίας σε"
430
 
431
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2089
432
+ #: includes/views/admin_options_shipping_provider.php:95
433
  #, php-format
434
  msgid "You don't have any %s shipping providers."
435
  msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
436
 
437
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
438
+ msgid "There are some issue with sync, Please Retry."
439
+ msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
440
+
441
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2406
442
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2421
443
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2436
444
  msgid "view details"
445
  msgstr "δείτε λεπτομέρειες"
446
 
447
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2407
448
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2422
449
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2437
450
  msgid "hide details"
451
  msgstr "Κρύψε τις λεπτομέρειες"
452
 
453
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2468
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
454
  msgid "Filter by shipment status"
455
+ msgstr "Φιλτράρετε κατά κατάσταση αποστολής"
456
 
457
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
458
  msgid ""
459
  "To track your order please enter your Order ID in the box below and press "
460
  "the \"Track\" button. This was given to you on your receipt and in the "
465
  " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
466
  "να έχετε λάβει.\n"
467
 
468
+ #: includes/class-wc-advanced-shipment-tracking-front.php:151
469
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
 
 
 
 
 
470
  msgid "Found in your order confirmation email."
471
  msgstr ""
472
  "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
473
 
474
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
475
  msgid "Order Email"
476
  msgstr ""
477
  "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
478
 
479
+ #: includes/class-wc-advanced-shipment-tracking-front.php:155
480
+ #: includes/class-wc-advanced-shipment-tracking.php:281
481
+ #: includes/class-wc-advanced-shipment-tracking.php:725
482
+ #: includes/class-wc-advanced-shipment-tracking.php:848
483
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
484
+ #: includes/customizer/class-wc-tracking-info-customizer.php:480
485
+ #: templates/emails/tracking-info.php:194
486
+ #: templates/myaccount/tracking-info.php:127
 
487
  msgid "Track"
488
  msgstr "Παρακολούθηση"
489
 
490
+ #: includes/class-wc-advanced-shipment-tracking-front.php:235
491
+ #: includes/class-wc-advanced-shipment-tracking-front.php:512
492
  #, php-format
493
  msgid "Shipment - %s (out of %s)"
494
  msgstr ""
495
  "Αποστολή -% s (από% s)\n"
496
 
497
+ #: includes/class-wc-advanced-shipment-tracking-front.php:248
498
+ #: includes/class-wc-advanced-shipment-tracking-front.php:252
499
+ #: includes/class-wc-advanced-shipment-tracking-front.php:525
500
+ #: includes/class-wc-advanced-shipment-tracking-front.php:529
 
 
 
 
 
501
  msgid "Estimated Delivery Date: "
502
  msgstr "Εκτιμώμενη Ημερομηνία Παράδοσης:"
503
 
504
+ #: includes/class-wc-advanced-shipment-tracking-front.php:361
505
+ #: includes/class-wc-advanced-shipment-tracking-front.php:638
506
+ #: includes/class-wc-advanced-shipment-tracking-front.php:814
507
  msgid "Tracking Details"
508
  msgstr "Στοιχεία παρακολούθησης"
509
 
510
+ #: includes/class-wc-advanced-shipment-tracking-front.php:380
511
+ #: includes/class-wc-advanced-shipment-tracking-front.php:657
512
+ #: includes/class-wc-advanced-shipment-tracking-front.php:835
513
  msgid "view more"
514
  msgstr "Δείτε περισσότερα"
515
 
516
+ #: includes/class-wc-advanced-shipment-tracking-front.php:381
517
+ #: includes/class-wc-advanced-shipment-tracking-front.php:658
518
+ #: includes/class-wc-advanced-shipment-tracking-front.php:836
519
  msgid "view less"
520
  msgstr "δείτε λιγότερο"
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking-front.php:389
523
+ #: includes/class-wc-advanced-shipment-tracking-front.php:666
524
+ msgid "Tracking details not found in TrackShip"
525
+ msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
526
+
527
+ #: includes/class-wc-advanced-shipment-tracking-front.php:749
528
+ msgid "Estimated Delivery Date"
529
+ msgstr "Εκτιμώμενη Ημερομηνία Παράδοσης"
 
530
 
531
+ #: includes/class-wc-advanced-shipment-tracking.php:95
532
+ #: includes/class-wc-advanced-shipment-tracking.php:265
533
+ #: includes/customizer/class-wcast-customizer.php:31
534
  msgid "Shipment Tracking"
535
  msgstr "Παρακολούθηση Αποστολής"
536
 
537
+ #: includes/class-wc-advanced-shipment-tracking.php:184
538
+ #: includes/class-wc-advanced-shipment-tracking.php:383
539
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:391
540
+ msgid "Mark as Shipped?"
541
+ msgstr "Ορίστε ως αποστολέα;"
542
 
543
+ #: includes/class-wc-advanced-shipment-tracking.php:187
544
+ #: includes/class-wc-advanced-shipment-tracking.php:386
545
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:394
546
+ msgid "Mark as Completed?"
547
+ msgstr "Σημειώστε ως ολοκληρωμένο;"
548
 
549
+ #: includes/class-wc-advanced-shipment-tracking.php:188
550
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:395
551
+ msgid "Completed"
552
+ msgstr "Ολοκληρώθηκε το"
553
+
554
+ #: includes/class-wc-advanced-shipment-tracking.php:195
555
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:403
556
  msgid "Add Tracking Number"
557
+ msgstr "Προσθέστε τον αριθμό παρακολούθησης"
558
 
559
+ #: includes/class-wc-advanced-shipment-tracking.php:198
560
+ #: includes/class-wc-advanced-shipment-tracking.php:203
561
+ #: includes/class-wc-advanced-shipment-tracking.php:404
562
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:406
563
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:408
564
  msgid "Provider:"
565
  msgstr "Μεταφορέας:"
566
 
567
+ #: includes/class-wc-advanced-shipment-tracking.php:223
568
+ #: includes/class-wc-advanced-shipment-tracking.php:442
569
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:428
570
  msgid "Tracking number:"
571
  msgstr "Αριθμός Παρακολούθησης:"
572
 
573
+ #: includes/class-wc-advanced-shipment-tracking.php:227
574
+ #: includes/class-wc-advanced-shipment-tracking.php:450
575
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:432
576
  msgid "Date shipped:"
577
  msgstr "Ημερομηνία αποστολής:"
578
 
579
+ #: includes/class-wc-advanced-shipment-tracking.php:228
580
+ #: includes/class-wc-advanced-shipment-tracking.php:451
581
+ #: includes/class-wc-advanced-shipment-tracking.php:454
582
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
583
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:433
584
+ msgid "Y-m-d"
585
+ msgstr ""
586
+
587
+ #: includes/class-wc-advanced-shipment-tracking.php:236
588
+ #: includes/class-wc-advanced-shipment-tracking.php:462
589
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
590
+ msgid "Mark order as:"
591
+ msgstr "Σημειώστε την τάξη ως:"
592
+
593
+ #: includes/class-wc-advanced-shipment-tracking.php:239
594
+ #: includes/class-wc-advanced-shipment-tracking.php:465
595
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:444
596
+ msgid "Partial Shipped"
597
+ msgstr "Μερική αποστολή"
598
+
599
+ #: includes/class-wc-advanced-shipment-tracking.php:281
600
+ #: includes/class-wc-advanced-shipment-tracking.php:493
601
+ msgid "Track Shipment"
602
+ msgstr "Παρακολούθηση αποστολής"
603
 
604
  #. 1: shipping date
605
+ #: includes/class-wc-advanced-shipment-tracking.php:293
 
606
  #, php-format
607
  msgid "Shipped on %s"
608
  msgstr "Στάλθηκε στις %s"
609
 
610
+ #: includes/class-wc-advanced-shipment-tracking.php:400
 
 
 
 
611
  msgid "Add Tracking Info"
612
  msgstr "Προσθήκη Παρακολούθησης"
613
 
614
+ #: includes/class-wc-advanced-shipment-tracking.php:405
615
  msgid "Select Provider"
616
  msgstr "Επιλογή Παροχέα"
617
 
618
+ #: includes/class-wc-advanced-shipment-tracking.php:492
619
  msgid "Save Tracking"
620
  msgstr "Αποθήκευση Παρακολούθησης"
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking.php:493
623
  msgid "Preview:"
624
  msgstr "Επισκόπηση:"
625
 
626
+ #: includes/class-wc-advanced-shipment-tracking.php:699
627
+ #, php-format
628
+ msgid ""
629
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
630
+ msgstr ""
631
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
632
+ "με τον αριθμό παρακολούθησης% s"
633
+
634
+ #: includes/class-wc-advanced-shipment-tracking.php:1089
635
+ #, php-format
636
+ msgid "Order was shipped with %s and tracking number is: %s"
637
+ msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
638
+
639
+ #: includes/class-wc-advanced-shipment-welcome.php:38
640
+ #: includes/class-wc-advanced-shipment-welcome.php:39
641
+ msgid "Welcome to Advanced Shipment Tracking"
642
+ msgstr ""
643
+
644
+ #: includes/class-wc-advanced-shipment-welcome.php:90
645
+ #: includes/class-wc-advanced-shipment-welcome.php:129
646
+ #: includes/class-wc-advanced-shipment-welcome.php:147
647
+ msgid "Save and Continue"
648
+ msgstr "Αποθήκευση και συνέχεια"
649
+
650
+ #: includes/class-wc-advanced-shipment-welcome.php:177
651
+ #: includes/views/admin_options_trackship_integration.php:26
652
+ msgid "Connection status"
653
+ msgstr "Κατάσταση σύνδεσης"
654
+
655
+ #: includes/class-wc-advanced-shipment-welcome.php:184
656
+ #: includes/views/admin_options_trackship_integration.php:33
657
+ msgid "TrackShip Connection Status"
658
+ msgstr "Κατάσταση σύνδεσης TrackShip"
659
+
660
+ #: includes/class-wc-advanced-shipment-welcome.php:194
661
+ #: includes/views/admin_options_trackship_integration.php:43
662
+ msgid "Trackers Balance"
663
+ msgstr "Ισορροπία ιχνηλάτη"
664
+
665
+ #: includes/class-wc-advanced-shipment-welcome.php:202
666
+ #: includes/views/admin_options_trackship_integration.php:51
667
+ msgid "Current Plan"
668
+ msgstr "Τρέχον Σχέδιο"
669
+
670
+ #: includes/class-wc-advanced-shipment-welcome.php:217
671
+ #: includes/views/admin_options_trackship_integration.php:66
672
+ #: includes/views/admin_options_addons.php:33
673
+ msgid ""
674
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
675
+ "automate your post shipping operations and get tracking and delivery status "
676
+ "updates directly in the WooCommerce admin."
677
+ msgstr ""
678
+ "Τώρα είστε συνδεδεμένοι με το TrackShip! Το TrackShip καθιστά εύκολη την "
679
+ "αυτοματοποίηση των λειτουργιών αποστολής μετά την αποστολή και την ενημέρωση "
680
+ "για την παρακολούθηση και την παράδοση απευθείας στον διαχειριστή του "
681
+ "WooCommerce."
682
+
683
+ #: includes/class-wc-advanced-shipment-welcome.php:223
684
+ #: includes/views/admin_options_trackship_integration.php:72
685
+ msgid "TrackShip Dashboard"
686
+ msgstr "Πίνακα ελέγχου TrackShip"
687
+
688
+ #: includes/class-wc-advanced-shipment-welcome.php:253
689
+ msgid "Save"
690
+ msgstr "Σώσει"
691
+
692
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:123
693
+ #, php-format
694
+ msgid "Delivered <span class=\"count\">(%s)</span>"
695
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
696
+ msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
697
+ msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
698
+
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:129
700
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:172
701
+ msgid "Updated Tracking"
702
+ msgstr "Ενημερωμένη παρακολούθηση"
703
+
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:134
705
+ #, php-format
706
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
707
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
708
+ msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
709
+ msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
710
+
711
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:144
712
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:187
713
+ msgid "Partially Shipped"
714
+ msgstr "Μερικώς αποστέλλονται"
715
+
716
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:149
717
+ #, php-format
718
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
719
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
720
+ msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
721
+ msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
722
+
723
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:232
724
+ msgid "Change status to delivered"
725
+ msgstr "Αλλάξτε την κατάσταση στην παραγγελία"
726
+
727
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:241
728
+ msgid "Change status to Partially Shipped"
729
+ msgstr "Αλλάξτε την κατάσταση σε Μερική αποστολή"
730
 
731
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:273
732
+ #, php-format
733
+ msgid "Shipped <span class=\"count\">(%s)</span>"
734
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
735
+ msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
736
+ msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
737
+
738
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:287
739
+ msgid "Change status to shipped"
740
+ msgstr "Αλλάξτε την κατάσταση αποστολής"
741
+
742
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:471
743
+ msgid "Resend delivered order notification"
744
+ msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
745
+
746
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:680
747
+ msgid "Shipment Providers"
748
+ msgstr "Παροχείς αποστολής"
749
+
750
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:683
751
+ msgid "Shipment Status"
752
+ msgstr "Κατάσταση αποστολής"
753
+
754
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:686
755
+ msgid "Tracking issues"
756
+ msgstr "Παρακολούθηση ζητημάτων"
757
+
758
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:692
759
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:700
760
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:717
761
+ msgid "data not available."
762
+ msgstr "τα δεδομένα δεν είναι διαθέσιμα."
763
+
764
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:723
765
+ msgid "View more on TrackShip"
766
+ msgstr "Δείτε περισσότερα στο TrackShip"
767
+
768
+ #: includes/customizer/class-wcast-customizer.php:40
769
  msgid "Shipment Status Emails"
770
  msgstr "Κατάσταση αποστολής μέσω ηλεκτρονικού ταχυδρομείου"
771
 
772
+ #: includes/customizer/class-wcast-customizer.php:52
773
  msgid "Tracking info display"
774
  msgstr "Παρακολούθηση πληροφοριών εμφάνισης"
775
 
776
+ #: includes/customizer/class-wcast-customizer.php:60
777
+ #: includes/customizer/class-wc-email-customizer.php:163
778
+ msgid "Delivered order status email"
779
  msgstr ""
780
+ "Ενημέρωση ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
 
781
 
782
+ #: includes/customizer/class-wcast-customizer.php:68
783
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
784
+ msgid "Partially Shipped status email"
785
+ msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
 
 
786
 
787
+ #: includes/customizer/class-wcast-customizer.php:390
788
  msgid "Select order to preview"
789
  msgstr ""
790
  "Επιλέξτε παραγγελία για προεπισκόπηση\n"
791
 
792
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
793
  msgid "Your order #{order_number} is available for pickup"
794
  msgstr ""
795
  "Η παραγγελία σας # {order_number} είναι διαθέσιμη για παραλαβή\n"
796
 
797
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
798
  msgid ""
799
  "Hi there. we thought you'd like to know that your recent order from "
800
  "{site_title} is available for pickup."
802
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
803
  "από την {site_title} είναι διαθέσιμη για παραλαβή.\n"
804
 
805
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
806
  msgid "Available For Pickup shipment status email"
807
  msgstr ""
808
  "Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής\n"
809
 
810
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
811
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
812
+ #: includes/customizer/class-wc-email-customizer.php:164
813
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
814
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
815
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
816
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
817
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
818
  msgid "This section lets you customize the Email Content."
819
  msgstr ""
820
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
821
  "ταχυδρομείου.\n"
822
 
823
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
824
  msgid "Enable Available For Pickup shipment status email"
825
  msgstr ""
826
  "Ενεργοποιήστε το Διαθέσιμο για αποστολή αλληλογραφίας κατάστασης αποστολής"
827
 
828
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
829
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
830
+ #: includes/customizer/class-wc-email-customizer.php:197
831
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
832
+ #: includes/customizer/class-wc-intransit-email-customizer.php:191
833
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
834
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:187
835
+ #: includes/customizer/class-wc-tracking-info-customizer.php:178
836
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
837
  msgid "Preview order"
838
  msgstr ""
839
  "Προεπισκόπηση σειράς\n"
840
 
841
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
842
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
843
+ #: includes/customizer/class-wc-email-customizer.php:226
844
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
845
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
846
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
847
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
848
  msgid "E.g. {customer.email}, admin@example.org"
849
  msgstr "Πχ: {customer.email}, admin@example.org"
850
 
851
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
852
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
853
+ #: includes/customizer/class-wc-delivered-email-customizer.php:232
854
+ #: includes/customizer/class-wc-delivered-email-customizer.php:254
855
+ #: includes/customizer/class-wc-failure-email-customizer.php:231
856
+ #: includes/customizer/class-wc-failure-email-customizer.php:253
857
+ #: includes/customizer/class-wc-intransit-email-customizer.php:235
858
+ #: includes/customizer/class-wc-intransit-email-customizer.php:257
859
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
860
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
861
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:231
862
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:253
 
 
 
 
 
 
 
 
 
 
863
  msgid "Available placeholders: {site_title}, {order_number}"
864
  msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
865
 
866
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
867
+ #: includes/customizer/class-wc-delivered-email-customizer.php:275
868
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
869
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
870
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
871
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
872
  msgid "Show tracking details"
873
  msgstr ""
874
  "Εμφάνιση λεπτομερειών παρακολούθησης\n"
875
 
876
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
877
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
878
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
879
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
880
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
881
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
882
  msgid "Show order details"
883
  msgstr ""
884
  "Εμφάνιση λεπτομερειών παραγγελίας\n"
885
 
886
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
887
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
888
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
889
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
890
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
891
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
892
  msgid "Show billing address"
893
  msgstr ""
894
  "Εμφάνιση διεύθυνσης χρέωσης\n"
895
 
896
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
897
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
898
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
899
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
900
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
901
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
902
  msgid "Show shipping address"
903
  msgstr ""
904
  "Εμφάνιση της διεύθυνσης αποστολής\n"
905
 
906
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
907
+ #: includes/customizer/class-wc-delivered-email-customizer.php:340
908
+ #: includes/customizer/class-wc-email-customizer.php:393
909
+ #: includes/customizer/class-wc-failure-email-customizer.php:339
910
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
911
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
912
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:339
913
  msgid "Google Analytics link tracking"
914
+ msgstr "Παρακολούθηση συνδέσμου Google Analytics"
915
+
916
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
917
+ #: includes/customizer/class-wc-delivered-email-customizer.php:341
918
+ #: includes/customizer/class-wc-failure-email-customizer.php:340
919
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
920
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
921
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:340
922
  msgid "This will be appended to URL in the email content"
923
  msgstr ""
924
+ "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
925
 
926
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
927
+ #: includes/customizer/class-wc-delivered-email-customizer.php:362
928
+ #: includes/customizer/class-wc-email-customizer.php:288
929
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
930
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
931
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
932
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:361
933
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
934
  msgid "Email content"
935
  msgstr "Περιεχόμενο email"
936
 
937
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
938
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
939
+ #: includes/customizer/class-wc-email-customizer.php:414
940
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
941
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
942
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
943
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
944
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
945
  msgid "Available placeholders"
946
  msgstr ""
947
  "Διαθέσιμες επιλογές κράτησης θέσης\n"
948
 
949
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:428
950
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:435
951
+ #: includes/customizer/class-wc-delivered-email-customizer.php:430
952
+ #: includes/customizer/class-wc-delivered-email-customizer.php:437
953
+ #: includes/customizer/class-wc-email-customizer.php:447
954
+ #: includes/customizer/class-wc-failure-email-customizer.php:429
955
+ #: includes/customizer/class-wc-failure-email-customizer.php:437
956
+ #: includes/customizer/class-wc-intransit-email-customizer.php:432
957
+ #: includes/customizer/class-wc-intransit-email-customizer.php:440
958
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:430
959
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:438
960
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:428
961
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:436
962
+ #: includes/customizer/class-wc-tracking-info-customizer.php:827
963
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
964
+ msgid "Please select order to preview."
965
+ msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
966
+
967
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
968
  msgid "Your order #{order_number} has been delivered"
969
+ msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
970
 
971
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
972
+ #: includes/customizer/class-wc-email-customizer.php:132
973
  msgid ""
974
  "Hi there. we thought you'd like to know that your recent order from "
975
  "{site_title} has been Delivered."
977
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
978
  "από {site_title} έχει παραδοθεί.\n"
979
 
980
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
981
  msgid "Delivered shipment status email"
982
  msgstr ""
983
  "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
984
 
985
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
986
  msgid "Enable Delivered shipment status email"
987
  msgstr "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής"
988
 
989
+ #: includes/customizer/class-wc-email-customizer.php:130
990
+ #: includes/emails/class-shipment-delivered-email.php:94
991
  msgid "Your {site_title} order is now delivered"
992
  msgstr ""
993
  "Η παραγγελία σας {site_title} έχει πλέον παραδοθεί\n"
994
 
995
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
996
  msgid "Enable Delivered order status email"
997
  msgstr ""
998
  "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
999
 
1000
+ #: includes/customizer/class-wc-email-customizer.php:201
1001
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
1002
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1003
  msgid "Please select a order..."
1004
  msgstr ""
1005
  "Παρακαλώ επιλέξτε παραγγελία ...\n"
1006
 
1007
+ #: includes/customizer/class-wc-email-customizer.php:243
1008
+ #: includes/customizer/class-wc-email-customizer.php:266
1009
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
1010
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
 
 
 
 
 
 
 
 
1011
  msgid "Available variables: {site_title}, {order_number}"
1012
+ msgstr "Διαθέσιμες μεταβλητές: {site_title}, {order_number}"
1013
 
1014
+ #: includes/customizer/class-wc-email-customizer.php:289
1015
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
1016
  msgid ""
1017
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
1018
  "{customer_last_name}, {customer_username}, {order_number}"
1019
  msgstr ""
1020
+ "διαθέσιμες μεταβλητές: {site_title}, {customer_email}, {customer_first_name},"
1021
+ " {customer_last_name}, {customer_username}, {αριθμός_παραγγελίας}"
1022
 
1023
+ #: includes/customizer/class-wc-email-customizer.php:309
1024
  msgid "Display tracking details"
1025
+ msgstr "Προβολή λεπτομερειών παρακολούθησης"
1026
 
1027
+ #: includes/customizer/class-wc-email-customizer.php:325
1028
  msgid "Display order details"
1029
+ msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
1030
 
1031
+ #: includes/customizer/class-wc-email-customizer.php:342
1032
  msgid "Display Shipping Address"
1033
+ msgstr "Εμφάνιση της διεύθυνσης αποστολής"
1034
 
1035
+ #: includes/customizer/class-wc-email-customizer.php:359
1036
  msgid "Display Billing Address"
1037
+ msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
1038
 
1039
+ #: includes/customizer/class-wc-email-customizer.php:376
1040
  msgid "Enable Google Analytics tracking"
1041
+ msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
1042
 
1043
+ #: includes/customizer/class-wc-email-customizer.php:394
1044
  msgid ""
1045
  "This will be appended to URL in the email content – e.g. "
1046
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1047
  msgstr ""
1048
+ "Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
1049
+ "ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
1050
+ "παραδόθηκε"
1051
 
1052
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
1053
  msgid "Your order #{order_number} is Failed Attempt"
1054
  msgstr "Η παραγγελία σας # {order_number} απέτυχε"
1055
 
1056
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
1057
  msgid ""
1058
  "Hi there. we thought you'd like to know that your recent order from "
1059
  "{site_title} is Failed Attempt"
1061
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1062
  "από το {site_title} απέτυχε"
1063
 
1064
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
1065
  msgid "Failed Attempt shipment status email"
1066
  msgstr ""
1067
  "Αποτυχία ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής απόπειρας αποστολής"
1068
 
1069
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
1070
  msgid "Enable Failed Attempt shipment status email"
1071
  msgstr ""
1072
  "Ενεργοποίηση αποτυχημένης προσπάθειας ηλεκτρονικού ταχυδρομείου κατάστασης "
1073
  "αποστολής"
1074
 
1075
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
1076
  msgid "Your order #{order_number} is in transit"
1077
  msgstr ""
1078
  "Η παραγγελία σας # {order_number} βρίσκεται σε διαμετακόμιση\n"
1079
 
1080
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
1081
  msgid ""
1082
  "Hi there. we thought you'd like to know that your recent order from "
1083
  "{site_title} is in transit"
1085
  "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1086
  "από το {site_title} βρίσκεται σε διαμετακόμιση\n"
1087
 
1088
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
1089
  msgid "In Transit shipment status email"
1090
  msgstr ""
1091
  "Στο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής διαμετακόμισης\n"
1092
 
1093
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
1094
  msgid "Enable In Transit shipment status email"
1095
  msgstr ""
1096
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής κατά τη "
1097
  "μεταφορά\n"
1098
 
1099
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
1100
  msgid "Your order #{order_number} is out for delivery"
1101
  msgstr ""
1102
  "Η παραγγελία σας # {order_number} είναι εκτός παραγγελίας\n"
1103
 
1104
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
1105
  msgid ""
1106
  "Hi there. we thought you'd like to know that your recent order from "
1107
  "{site_title} is out for delivery."
1109
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1110
  "από το {site_title} είναι έξω για παράδοση.\n"
1111
 
1112
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
1113
  msgid "Out For Delivery shipment status email"
1114
  msgstr ""
1115
  "Έξοδος για την αποστολή του ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής\n"
1116
 
1117
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
1118
  msgid "Enable Out For Delivery shipment status email"
1119
  msgstr "Ενεργοποίηση μηνύματος κατάστασης παράδοσης αποστολής"
1120
 
1121
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
1122
  msgid "Your order #{order_number} has returned to sender"
1123
  msgstr ""
1124
  "Η παραγγελία σας # {order_number} έχει επιστραφεί στον αποστολέα\n"
1125
 
1126
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
1127
  msgid ""
1128
  "Hi there. we thought you'd like to know that your recent order from "
1129
  "{site_title} has been returned to sender."
1131
  "Γεια σου. πιστεύαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1132
  "από {site_title} έχει επιστραφεί στον αποστολέα.\n"
1133
 
1134
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
1135
  msgid "Return To Sender shipment status email"
1136
  msgstr ""
1137
  "Επιστροφή στο μήνυμα αποστολής αποστολής αποστολέα\n"
1138
 
1139
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
1140
  msgid "Enable Return To Sender shipment status email"
1141
  msgstr ""
1142
  "Ενεργοποίηση ηλεκτρονικού ταχυδρομείου κατάστασης αποστολής επιστροφής σε "
1143
  "αποστολέα"
1144
 
1145
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
1146
+ #: includes/customizer/class-wc-tracking-info-customizer.php:381
1147
+ #: templates/emails/tracking-info.php:146
1148
+ #: templates/myaccount/tracking-info.php:92
1149
  msgid "Provider"
1150
  msgstr "Μεταφορέας"
1151
 
1152
+ #: includes/customizer/class-wc-tracking-info-customizer.php:145
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:403
1154
+ #: templates/emails/tracking-info.php:176
1155
+ #: templates/myaccount/tracking-info.php:115
 
1156
  msgid "Tracking Number"
1157
  msgstr "Αριθμός"
1158
 
1159
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
1160
+ #: includes/customizer/class-wc-tracking-info-customizer.php:424
1161
  msgid "Shipped Date"
1162
  msgstr ""
1163
  "Ημερομηνία αποστολής\n"
1164
 
1165
+ #: includes/customizer/class-wc-tracking-info-customizer.php:179
1166
  msgid ""
1167
  "select from last 20 orders one order that you added tracking info in order "
1168
  "to preview and design the tracking info table."
1171
  "πληροφορίες παρακολούθησης για να δείτε και να σχεδιάσετε τον πίνακα "
1172
  "πληροφοριών παρακολούθησης.\n"
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:198
1175
+ #: includes/views/admin_options_settings.php:15
1176
+ #: includes/views/admin_options_trackship_integration.php:82
1177
+ msgid "General Settings"
1178
+ msgstr "Γενικές Ρυθμίσεις"
1179
+
1180
+ #: includes/customizer/class-wc-tracking-info-customizer.php:213
1181
  msgid "Tracking Display Position"
1182
  msgstr "Παρακολούθηση θέσης προβολής"
1183
 
1184
+ #: includes/customizer/class-wc-tracking-info-customizer.php:217
1185
  msgid "Before Order Details"
1186
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1187
 
1188
+ #: includes/customizer/class-wc-tracking-info-customizer.php:218
1189
  msgid "After Order Details"
1190
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
1191
 
1192
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
1193
  msgid "Main Header text"
1194
  msgstr "Κύριο κείμενο κεφαλίδας"
1195
 
1196
+ #: includes/customizer/class-wc-tracking-info-customizer.php:240
 
1197
  msgid "Tracking Information"
1198
  msgstr "Πληροφορίες Παρακολούθησης"
1199
 
1200
+ #: includes/customizer/class-wc-tracking-info-customizer.php:255
1201
  msgid "Additional text after header"
1202
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1203
 
1204
+ #: includes/customizer/class-wc-tracking-info-customizer.php:276
1205
+ msgid "Table Content"
1206
+ msgstr "Περιεχόμενο πίνακα"
1207
 
1208
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
1209
  msgid "Display Shipment Provider image"
1210
  msgstr "Εμφάνιση εικόνας παροχέα αποστολής"
1211
 
1212
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
1213
+ msgid "Hide Shipment Provider name"
1214
+ msgstr "Απόκρυψη ονόματος παροχέα αποστολής"
1215
+
1216
+ #: includes/customizer/class-wc-tracking-info-customizer.php:325
1217
  msgid "Hide date"
1218
  msgstr "Απόκρυψη ημερομηνίας"
1219
 
1220
+ #: includes/customizer/class-wc-tracking-info-customizer.php:342
1221
+ msgid "Table Header"
1222
+ msgstr "Κεφαλίδα πίνακα"
1223
+
1224
+ #: includes/customizer/class-wc-tracking-info-customizer.php:357
1225
+ msgid "Hide Header"
1226
+ msgstr "Απόκρυψη κεφαλίδας"
1227
+
1228
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1229
  msgid "Provider Header Text"
1230
  msgstr "Κείμενο κεφαλίδας παροχέα"
1231
 
1232
+ #: includes/customizer/class-wc-tracking-info-customizer.php:396
1233
  msgid "Tracking Number Header Text"
1234
  msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
1235
 
1236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:417
1237
  msgid "Shipped Date Header Text"
1238
  msgstr "Κείμενο κεφαλίδας μεταφερόμενης ημερομηνίας"
1239
 
1240
+ #: includes/customizer/class-wc-tracking-info-customizer.php:439
1241
+ msgid "Use tracking number as a link"
1242
+ msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1243
+
1244
+ #: includes/customizer/class-wc-tracking-info-customizer.php:456
1245
  msgid "Track Label"
1246
  msgstr "Ετικέτα διαδρομής"
1247
 
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:473
1249
  msgid "Track Header Text"
1250
  msgstr "Κείμενο κεφαλίδας κομματιού"
1251
 
1252
+ #: includes/customizer/class-wc-tracking-info-customizer.php:495
1253
+ msgid "Table header font size"
1254
+ msgstr "Μέγεθος γραμματοσειράς κεφαλίδας πίνακα"
1255
+
1256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:512
1257
+ msgid "Table header font color"
1258
+ msgstr "Χρώμα γραμματοσειράς κεφαλίδας πίνακα"
1259
+
1260
+ #: includes/customizer/class-wc-tracking-info-customizer.php:528
1261
  msgid "Table Design"
1262
  msgstr ""
1263
  "Σχεδιασμός πίνακα\n"
1264
 
1265
+ #: includes/customizer/class-wc-tracking-info-customizer.php:543
1266
  msgid "Padding"
1267
  msgstr ""
1268
  "Υλικό παραγεμίσματος\n"
1269
 
1270
+ #: includes/customizer/class-wc-tracking-info-customizer.php:563
1271
  msgid "Background color"
1272
  msgstr ""
1273
  "Χρώμα του φόντου\n"
1274
 
1275
+ #: includes/customizer/class-wc-tracking-info-customizer.php:591
1276
  msgid "Border color"
1277
  msgstr ""
1278
  "Χρώμα πλαισίου\n"
1279
 
1280
+ #: includes/customizer/class-wc-tracking-info-customizer.php:607
1281
  msgid "Border size"
1282
  msgstr ""
1283
  "Μέγεθος περιθωρίου\n"
1284
 
1285
+ #: includes/customizer/class-wc-tracking-info-customizer.php:631
 
 
 
 
 
 
1286
  msgid "Table text align"
1287
  msgstr "Ευθυγράμμιση κειμένου πίνακα"
1288
 
1289
+ #: includes/customizer/class-wc-tracking-info-customizer.php:654
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1290
  msgid "Table content font size"
1291
  msgstr "Μέγεθος γραμματοσειράς περιεχομένου πίνακα"
1292
 
1293
+ #: includes/customizer/class-wc-tracking-info-customizer.php:671
1294
  msgid "Table content font color"
1295
  msgstr "Χρώμα γραμματοσειράς περιεχομένου πίνακα"
1296
 
1297
+ #: includes/customizer/class-wc-tracking-info-customizer.php:687
1298
  msgid "Content line height"
1299
  msgstr ""
1300
  "Το ύψος της γραμμής περιεχομένου\n"
1301
 
1302
+ #: includes/customizer/class-wc-tracking-info-customizer.php:708
1303
  msgid "Content font weight"
1304
  msgstr ""
1305
  "Βάρος γραμματοσειράς περιεχομένου\n"
1306
 
1307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:730
1308
+ msgid "Track Button Design"
1309
+ msgstr "Σχεδιασμός κομβίου κοπής"
1310
 
1311
+ #: includes/customizer/class-wc-tracking-info-customizer.php:744
1312
  msgid "Track Link Font Color"
1313
  msgstr "Χρώμα γραμματοσειράς γραμμής σύνδεσης"
1314
 
1315
+ #: includes/customizer/class-wc-tracking-info-customizer.php:760
1316
  msgid "Track Link Background Color"
1317
  msgstr "Χρώμα φόντου συνδέσμου διαδρομής"
1318
 
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:775
1320
  msgid "Track link Border"
1321
  msgstr "Γραμμή συνδέσμου γραμμής"
1322
 
1323
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1324
+ msgid "Your {site_title} order is now partially shipped"
1325
+ msgstr "Η παραγγελία σας {site_title} αποστέλλεται τώρα εν μέρει"
 
 
 
 
 
 
 
 
 
 
 
1326
 
1327
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1328
+ msgid ""
1329
+ "Hi there. we thought you'd like to know that your recent order from "
1330
+ "{site_title} has been Partially Shipped."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1331
  msgstr ""
1332
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η πρόσφατη παραγγελία σας "
1333
+ "από το {site_title} έχει αποσταλεί μερικώς."
1334
 
1335
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1336
+ msgid "Enable Partially Shipped order status email"
1337
+ msgstr "Ενεργοποίηση μηνύματος κατάστασης παραγγελίας μερικής αποστολής"
 
1338
 
1339
  #: includes/emails/class-shipment-delivered-email.php:32
1340
  msgid "Delivered order"
1341
+ msgstr "Παραδοθείσα παραγγελία"
1342
 
1343
  #: includes/emails/class-shipment-delivered-email.php:33
1344
  msgid ""
1345
  "Order delivered emails are sent to customers when their orders are marked "
1346
  "delivered and usually indicate that their orders have been shipped."
1347
  msgstr ""
1348
+ "Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
1349
+ "παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
1350
+ "τους έχουν αποσταλεί."
1351
 
1352
+ #: includes/emails/class-shipment-delivered-email.php:280
1353
+ msgid "Click Here"
1354
+ msgstr "Κάντε κλικ ΕΔΩ"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1355
 
1356
+ #: includes/emails/class-shipment-delivered-email.php:281
 
 
 
 
 
 
 
 
1357
  msgid "Edit in customizer"
1358
+ msgstr "Επεξεργασία στο customizer"
1359
 
1360
+ #: includes/views/admin_options_bulk_upload.php:10
1361
  msgid "Upload CSV"
1362
  msgstr "Μεταφόρτωση CSV"
1363
 
1364
+ #: includes/views/admin_options_bulk_upload.php:20
1365
  msgid ""
1366
  "Replace tracking info if exists? (if not checked, the tracking info will be "
1367
  "added)"
1369
  "Να αντικατασταθούν οι πληροφορίες παρακολούθησης εάν υπάρχουν; (αν δεν έχει "
1370
  "επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
1371
 
1372
+ #: includes/views/admin_options_bulk_upload.php:29
1373
+ #: includes/views/admin_options_shipping_provider.php:119
1374
+ #: includes/views/admin_options_shipping_provider.php:156
1375
  msgid "Upload"
1376
  msgstr "Μεταφόρτωση"
1377
 
1378
+ #: includes/views/admin_options_bulk_upload.php:31
 
 
1379
  msgid "Settings Saved."
1380
  msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
1381
 
1382
+ #: includes/views/admin_options_bulk_upload.php:41
1383
+ msgid "Upload Progress - "
1384
+ msgstr "Πρόοδος Μεταφόρτωσης - "
1385
+
1386
+ #: includes/views/admin_options_bulk_upload.php:50
1387
+ msgid "Sample CSV"
1388
+ msgstr "Δείγμα CSV"
1389
+
1390
+ #: includes/views/admin_options_bulk_upload.php:55
1391
  msgid "You can download an example of the csv file:"
1392
  msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
1393
 
1394
+ #: includes/views/admin_options_bulk_upload.php:58
1395
  msgid "Download sample csv file"
1396
  msgstr "Κάντε λήψη δείγματος αρχείου csv"
1397
 
1398
+ #: includes/views/admin_options_bulk_upload.php:63
1399
  msgid ""
1400
  "For detailed instructions on how to upload tracking info in bulk, see our"
1401
  msgstr ""
1402
  "Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
1403
  "παρακολούθησης, ανατρέξτε στη σελίδα μας"
1404
 
1405
+ #: includes/views/admin_options_settings.php:26
1406
+ #: includes/views/admin_options_settings.php:74
1407
+ #: includes/views/admin_options_settings.php:100
1408
+ #: includes/views/admin_options_trackship_integration.php:93
1409
+ #: includes/views/admin_options_trackship_integration.php:124
1410
+ msgid "Save Changes"
1411
+ msgstr "Αποθήκευσε τις αλλαγές"
1412
 
1413
+ #: includes/views/admin_options_settings.php:40
1414
+ msgid "Tracking Info Display"
1415
+ msgstr "Παρακολούθηση πληροφοριών προβολής"
1416
 
1417
+ #: includes/views/admin_options_settings.php:49
1418
+ msgid "You can customize the tracking info display on emails and my account"
1419
+ msgstr ""
1420
+ "Μπορείτε να προσαρμόσετε την εμφάνιση πληροφοριών παρακολούθησης στα "
1421
+ "μηνύματα ηλεκτρονικού ταχυδρομείου και στον λογαριασμό μου"
1422
+
1423
+ #: includes/views/admin_options_settings.php:52
1424
+ msgid "Launch Customizer"
1425
+ msgstr "Εκκινήστε το Customizer"
1426
 
1427
+ #: includes/views/admin_options_settings.php:62
 
1428
  msgid "Delivered Order Status"
1429
  msgstr "Παραδοθείσα κατάσταση παραγγελίας"
1430
 
1431
+ #: includes/views/admin_options_settings.php:88
1432
+ msgid "Partially Shipped Order Status"
1433
+ msgstr "Κατάσταση παραγγελίας μερικής αποστολής"
 
 
 
 
 
 
1434
 
1435
+ #: includes/views/admin_options_settings.php:94
1436
+ #, php-format
1437
+ msgid ""
1438
+ "<strong>PLEASE NOTE</strong> - If you use the custom order status "
1439
+ "\"Partially Shipped\", when you deactivate the plugin, you must register "
1440
+ "this order status in function.php in order to see these orders in the orders "
1441
+ "admin. You can find the <a href=\"%s\" target=\"blank\">snippet</a> to use "
1442
+ "in functions.php here or you can manually change all your \"Partially "
1443
+ "Shipped\" order to \"completed\" before deactivating the plugin."
1444
+ msgstr ""
1445
+ "<strong> ΠΑΡΑΚΑΛΟΥΜΕ ΣΗΜΕΙΩΣΗ </ strong> - Εάν χρησιμοποιείτε την κατάσταση "
1446
+ "παραγγελίας \"Παράδοση μερικώς\", όταν απενεργοποιείτε την προσθήκη, πρέπει "
1447
+ "να καταχωρήσετε αυτήν την κατάσταση παραγγελίας στο function.php για να "
1448
+ "δείτε αυτές τις παραγγελίες στις εντολές admin. Μπορείτε να βρείτε το <a "
1449
+ "href=\"%s\" target=\"blank\"> απόσπασμα </a> που μπορείτε να χρησιμοποιήσετε "
1450
+ "στη σελίδα functions.php εδώ ή μπορείτε να αλλάξετε με μη αυτόματο τρόπο "
1451
+ "όλες τις παραγγελίες σας \"εν μέρει αποστολή\" μέχρι να ολοκληρωθεί πριν "
1452
+ "απενεργοποιήσετε την προσθήκη ."
1453
+
1454
+ #: includes/views/admin_options_shipping_provider.php:12
1455
+ #: includes/views/admin_options_shipping_provider.php:23
1456
+ #: includes/views/admin_options_addons.php:109
1457
+ msgid "Active"
1458
+ msgstr "Ενεργός"
1459
+
1460
+ #: includes/views/admin_options_shipping_provider.php:13
1461
+ #: includes/views/admin_options_shipping_provider.php:23
1462
+ msgid "Inactive"
1463
+ msgstr "Αδρανής"
1464
+
1465
+ #: includes/views/admin_options_shipping_provider.php:14
1466
+ msgid "Custom"
1467
+ msgstr "Εθιμο"
1468
+
1469
+ #: includes/views/admin_options_shipping_provider.php:21
1470
+ msgid "Add Custom Provider"
1471
+ msgstr "Προσθέστε προσαρμοσμένο παροχέα"
1472
+
1473
+ #: includes/views/admin_options_shipping_provider.php:22
1474
+ #: includes/views/admin_options_shipping_provider.php:176
1475
+ #: includes/views/admin_options_shipping_provider.php:183
1476
+ msgid "Sync Shipping Providers"
1477
+ msgstr "Sync Shipping Providers"
1478
+
1479
+ #: includes/views/admin_options_shipping_provider.php:23
1480
+ msgid "Reset"
1481
+ msgstr "Επαναφορά"
1482
+
1483
+ #: includes/views/admin_options_shipping_provider.php:27
1484
+ msgid "Search by provider / country"
1485
+ msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1486
 
1487
+ #: includes/views/admin_options_shipping_provider.php:101
1488
  msgid "Add Custom Shipping Provider"
1489
  msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1490
 
1491
+ #: includes/views/admin_options_shipping_provider.php:108
1492
+ #: includes/views/admin_options_shipping_provider.php:145
1493
+ msgid "Shipping Country"
1494
  msgstr "Χώρα αποστολής"
1495
 
1496
+ #: includes/views/admin_options_shipping_provider.php:109
1497
+ #: includes/views/admin_options_shipping_provider.php:146
1498
  msgid "Global"
1499
+ msgstr "Παγκόσμια"
1500
+
1501
+ #: includes/views/admin_options_shipping_provider.php:125
1502
+ #: includes/views/admin_options_shipping_provider.php:162
1503
+ msgid "How to add Tracking URL"
1504
+ msgstr "Πώς να προσθέσετε τη διεύθυνση URL παρακολούθησης"
1505
 
1506
+ #: includes/views/admin_options_shipping_provider.php:138
1507
  msgid "Edit Custom Shipping Provider"
1508
  msgstr "Επεξεργασία προσαρμοσμένου προμηθευτή αποστολής"
1509
 
1510
+ #: includes/views/admin_options_shipping_provider.php:177
1511
+ msgid ""
1512
+ "Syncing the shipping providers list add or updates the pre-set shipping "
1513
+ "providers and will not effect custom shipping providers."
1514
+ msgstr ""
1515
+ συγχρονισμός της λίστας παρόχων ναυτιλίας προσθέτει ή ενημερώνει τους "
1516
+ "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1517
+ "προσαρμοσμένους παροχείς αποστολής."
1518
 
1519
+ #: includes/views/admin_options_shipping_provider.php:179
1520
  msgid "Providers Added"
1521
  msgstr "Προστέθηκαν παροχείς"
1522
 
1523
+ #: includes/views/admin_options_shipping_provider.php:180
1524
  msgid "Providers Updated"
1525
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1526
 
1527
+ #: includes/views/admin_options_shipping_provider.php:181
1528
  msgid "Providers Deleted"
1529
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1530
 
1531
+ #: includes/views/admin_options_trackship_integration.php:107
 
 
 
 
 
1532
  msgid "Tracking Page"
1533
  msgstr "Σελίδα Παρακολούθησης"
1534
 
1535
+ #: includes/views/admin_options_trackship_integration.php:117
 
 
 
 
1536
  msgid "Click to preview the tracking page"
1537
  msgstr "Click to preview the tracking page"
1538
 
1539
+ #: includes/views/admin_options_trackship_integration.php:118
1540
  msgid "PLEASE NOTE - make sure to save your settings before preview."
1541
  msgstr ""
1542
  "ΣΗΜΕΙΩΣΤΕ - βεβαιωθείτε ότι έχετε αποθηκεύσει τις ρυθμίσεις σας πριν από την "
1543
  "προεπισκόπηση."
1544
 
1545
+ #: includes/views/admin_options_trackship_integration.php:137
1546
  msgid "Shipment Status Notifications "
1547
  msgstr "Ειδοποιήσεις κατάστασης αποστολής"
1548
 
1549
+ #: includes/views/admin_options_trackship_integration.php:163
1550
  msgid ""
1551
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1552
  "the way."
1554
  "Ο μεταφορέας έχει αποδεχτεί ή έχει παραλάβει την αποστολή από τον αποστολέα. "
1555
  "Η αποστολή βρίσκεται στο δρόμο."
1556
 
1557
+ #: includes/views/admin_options_trackship_integration.php:177
1558
  msgid "Shipment is returned to sender"
1559
  msgstr "Η αποστολή επιστρέφεται στον αποστολέα"
1560
 
1561
+ #: includes/views/admin_options_trackship_integration.php:191
1562
  msgid "The shipment is ready to pickup."
1563
  msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1564
 
1565
+ #: includes/views/admin_options_trackship_integration.php:204
1566
  msgid "Carrier is about to deliver the shipment"
1567
  msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή"
1568
 
1569
+ #: includes/views/admin_options_trackship_integration.php:218
1570
  msgid "The shipment was delivered successfully"
1571
  msgstr "Η αποστολή παραδόθηκε με επιτυχία"
1572
 
1573
+ #: includes/views/admin_options_trackship_integration.php:219
1574
  msgid ""
1575
  "You already have delivered email enabled, to enable this email you'll need "
1576
  "to disable the order status delivered in settings."
1580
  "απενεργοποιήσετε την κατάσταση της παραγγελίας που εμφανίζεται στις "
1581
  "ρυθμίσεις."
1582
 
1583
+ #: includes/views/admin_options_trackship_integration.php:233
1584
  msgid ""
1585
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1586
  "will try to deliver the package again."
1588
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1589
  "will try to deliver the package again."
1590
 
1591
+ #: includes/views/admin_options_tools.php:22
1592
+ msgid ""
1593
+ "You can send all your orders from the last 30 days to get shipment status "
1594
+ "from TrackShip:"
 
 
1595
  msgstr ""
1596
+ "Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευταίες 30 ημέρες "
1597
+ "για να λάβετε την κατάσταση αποστολής από το TrackShip:"
1598
 
1599
+ #: includes/views/admin_options_addons.php:20
1600
+ msgid "TrackShip"
1601
+ msgstr "TrackShip"
1602
 
1603
+ #: includes/views/admin_options_addons.php:90
1604
+ msgid "Upgrade Now"
1605
+ msgstr "Αναβάθμισε τώρα"
1606
 
1607
+ #: includes/views/admin_options_addons.php:110
1608
+ msgid "Deactivate"
1609
+ msgstr "Απενεργοποιήστε"
1610
 
1611
+ #: includes/views/admin_options_addons.php:112
1612
+ msgid "Activate"
1613
+ msgstr "Θέτω εις ενέργειαν"
1614
+
1615
+ #: templates/emails/tracking-info.php:170
1616
+ msgid "Provider Name"
1617
+ msgstr "Ονομα πάροχου"
1618
 
1619
  #. %s: Order ID.
1620
+ #: templates/emails/wcast-email-order-details.php:47
1621
  #, php-format
1622
  msgid "Order number: %s"
1623
  msgstr ""
1624
  "Αριθμός παραγγελίας:% s\n"
1625
 
1626
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1627
+ msgid "Cannot create existing order shipment tracking."
1628
  msgstr ""
1629
+ "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
1630
+ "παραγγελιών."
1631
 
1632
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1633
+ msgid "Invalid order ID."
1634
+ msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
1635
+
1636
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1637
+ msgid "Special character not allowd in tracking number"
1638
+ msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
1639
+
1640
+ #. Name of the plugin
1641
+ msgid "Advanced Shipment Tracking for WooCommerce"
1642
+ msgstr ""
1643
+
1644
+ #. Description of the plugin
1645
+ msgid ""
1646
+ "Add shipment tracking information to your WooCommerce orders and provide "
1647
+ "customers with an easy way to track their orders. Shipment tracking Info "
1648
+ "will appear in customers accounts (in the order panel) and in WooCommerce "
1649
+ "order complete email."
1650
+ msgstr ""
1651
+
1652
+ #. Author of the plugin
1653
+ msgid "zorem"
1654
+ msgstr ""
lang/woo-advanced-shipment-tracking-es_ES.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-es_ES.po CHANGED
@@ -2,8 +2,8 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2019-09-06 11:44+0000\n"
6
- "PO-Revision-Date: 2019-09-06 11:46+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\n"
@@ -12,9 +12,9 @@ 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.3.0; wp-5.2.3"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:112
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,8 +23,13 @@ msgstr ""
23
  "¡Instale y active% sWooCommerce% s para el seguimiento de envío avanzado de "
24
  "WooCommerce!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:390
27
- #: includes/views/admin_options_settings.php:21
 
 
 
 
 
28
  #, php-format
29
  msgid ""
30
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
@@ -35,676 +40,339 @@ msgid ""
35
  "\"completed\" before deactivating the plugin."
36
  msgstr ""
37
 
38
- #: includes/class-wc-advanced-shipment-tracking-admin.php:209
39
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1144
40
- msgid "Shipped"
41
- msgstr "Enviado"
42
-
43
- #: includes/class-wc-advanced-shipment-tracking-admin.php:226
44
- #, php-format
45
- msgid "Shipped <span class=\"count\">(%s)</span>"
46
- msgid_plural "Shipped <span class=\"count\">(%s)</span>"
47
- msgstr[0] "Enviado <span class = \"count\"> (% s) </span>"
48
- msgstr[1] "Enviado <span class = \"count\"> (% s) </span>"
49
-
50
- #: includes/class-wc-advanced-shipment-tracking-admin.php:240
51
- msgid "Change status to shipped"
52
- msgstr "Cambiar estado a enviado"
53
-
54
- #: includes/class-wc-advanced-shipment-tracking-admin.php:250
55
- #: includes/class-wc-advanced-shipment-tracking-admin.php:279
56
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1594
57
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1785
58
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2190
59
- #: includes/customizer/class-wcast-customizer.php:104
60
- #: includes/customizer/class-wc-delivered-email-customizer.php:115
61
- #: includes/views/admin_options_trackship_integration.php:134
62
- msgid "Delivered"
63
- msgstr "Entregado"
64
-
65
- #: includes/class-wc-advanced-shipment-tracking-admin.php:255
66
- #, php-format
67
- msgid "Delivered <span class=\"count\">(%s)</span>"
68
- msgid_plural "Delivered <span class=\"count\">(%s)</span>"
69
- msgstr[0] "Entregado <span class = \"count\"> (% s) </span>"
70
- msgstr[1] "Entregado <span class = \"count\"> (% s) </span>"
71
-
72
- #: includes/class-wc-advanced-shipment-tracking-admin.php:261
73
- #: includes/class-wc-advanced-shipment-tracking-admin.php:290
74
- msgid "Updated Tracking"
75
- msgstr "Seguimiento actualizado"
76
-
77
- #: includes/class-wc-advanced-shipment-tracking-admin.php:266
78
- #, php-format
79
- msgid "Updated Tracking <span class=\"count\">(%s)</span>"
80
- msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
81
- msgstr[0] "Seguimiento actualizado <span class = \"count\"> (% s) </span>"
82
- msgstr[1] "Seguimiento actualizado <span class = \"count\"> (% s) </span>"
83
-
84
- #: includes/class-wc-advanced-shipment-tracking-admin.php:320
85
- msgid "Change status to delivered"
86
- msgstr "Cambiar estado a entregado"
87
-
88
- #: includes/class-wc-advanced-shipment-tracking-admin.php:523
89
- msgid "Shipment status"
90
- msgstr "Estado del envío"
91
-
92
- #: includes/class-wc-advanced-shipment-tracking-admin.php:622
93
  msgid ""
94
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
95
- "100 orders."
96
- msgstr ""
97
-
98
- #: includes/class-wc-advanced-shipment-tracking-admin.php:667
99
- msgid "Order"
100
- msgstr "Orden"
101
-
102
- #: includes/class-wc-advanced-shipment-tracking-admin.php:668
103
- msgid "Item"
104
- msgstr "ít"
105
-
106
- #: includes/class-wc-advanced-shipment-tracking-admin.php:669
107
- msgid "Line Item"
108
- msgstr "Elemento en linea"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-admin.php:670
111
- msgid "Class"
112
- msgstr "Clase"
113
-
114
- #: includes/class-wc-advanced-shipment-tracking-admin.php:671
115
- msgid "Delete the selected rates?"
116
- msgstr "¿Eliminar las tarifas seleccionadas?"
117
-
118
- #: includes/class-wc-advanced-shipment-tracking-admin.php:672
119
- msgid "Duplicate the selected rates?"
120
- msgstr "¿Duplicar las tarifas seleccionadas?"
121
-
122
- #: includes/class-wc-advanced-shipment-tracking-admin.php:673
123
- msgid "Really want to bulk change all provider status?"
124
- msgstr "¿Desea realmente cambiar de forma masiva todo el estado del proveedor?"
125
-
126
- #: includes/class-wc-advanced-shipment-tracking-admin.php:674
127
- #: includes/views/admin_options_settings.php:26
128
- msgid "Data saved successfully."
129
- msgstr "Datos guardados exitosamente."
130
-
131
- #: includes/class-wc-advanced-shipment-tracking-admin.php:675
132
- msgid "Really delete this entry? This will not be undo."
133
- msgstr ""
134
- "¿Realmente eliminar esta entrada? Esto no será deshacer.\n"
135
-
136
- #: includes/class-wc-advanced-shipment-tracking-admin.php:676
137
- msgid "You can upload only csv file."
138
- msgstr "Puedes subir solo el archivo csv."
139
-
140
- #: includes/class-wc-advanced-shipment-tracking-admin.php:677
141
- msgid "This browser does not support HTML5."
142
- msgstr "Este navegador no es compatible con HTML5."
143
-
144
- #: includes/class-wc-advanced-shipment-tracking-admin.php:678
145
- msgid "Please upload a valid CSV file."
146
- msgstr "Por favor, cargue un archivo CSV válido."
147
-
148
- #: includes/class-wc-advanced-shipment-tracking-admin.php:736
149
- msgid "Shipping Providers"
150
- msgstr "Proveedores de envío"
151
-
152
- #: includes/class-wc-advanced-shipment-tracking-admin.php:739
153
- msgid "Settings"
154
- msgstr "Ajustes"
155
-
156
- #: includes/class-wc-advanced-shipment-tracking-admin.php:742
157
- msgid "Bulk Upload"
158
- msgstr "Carga masiva"
159
-
160
- #: includes/class-wc-advanced-shipment-tracking-admin.php:745
161
- msgid "TrackShip"
162
- msgstr ""
163
-
164
- #: includes/class-wc-advanced-shipment-tracking-admin.php:880
165
- msgid "Connected"
166
  msgstr ""
167
- "Conectado\n"
 
 
168
 
169
- #: includes/class-wc-advanced-shipment-tracking-admin.php:886
170
- msgid ""
171
- "Auto-track all your shipments, get real-time shipment tracking updates "
172
- "without leaving your stores admin."
173
  msgstr ""
174
- "Realice un seguimiento automático de todos sus envíos, obtenga "
175
- "actualizaciones de seguimiento de envíos en tiempo real sin salir de su "
176
- "administrador de tiendas\n"
177
 
178
- #: includes/class-wc-advanced-shipment-tracking-admin.php:889
179
- #, php-format
180
- msgid ""
181
- "You must have account and connect your store to %s in order to activate "
182
- "these advanced features."
183
- msgstr ""
184
- "Debe tener una cuenta y conectar su tienda a% s para activar estas funciones "
185
- "avanzadas.\n"
 
 
 
 
 
 
186
 
187
- #: includes/class-wc-advanced-shipment-tracking-admin.php:892
 
188
  #, php-format
189
- msgid "50 free Trackers for every new account! Get your %s account now>>"
190
- msgstr ""
191
- "¡50 rastreadores gratis por cada nueva cuenta! Obtenga su cuenta% s ahora >>"
192
- "\n"
193
-
194
- #: includes/class-wc-advanced-shipment-tracking-admin.php:988
195
- msgid "TrackShip Connection Status"
196
- msgstr "Estado de conexión de TrackShip"
197
-
198
- #: includes/class-wc-advanced-shipment-tracking-admin.php:995
199
- #: includes/emails/class-shipment-delivered-email.php:226
200
- msgid "Enable/Disable"
201
- msgstr "Habilitar deshabilitar"
202
-
203
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
204
- msgid "Set order status Delivered when order is delivered"
205
  msgstr ""
206
- "Establezca el estado del pedido Entregado cuando el pedido se entrega\n"
207
 
208
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1008
209
- #, php-format
210
- msgid ""
211
- "You have %s %s orders that you can track with TrackShip, you can send these "
212
- "shipments to TrackShip in Bulk."
213
- msgstr ""
214
 
215
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1009
216
- msgid "Get Shipment Status"
217
- msgstr ""
 
 
218
 
219
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1047
220
- msgid ""
221
- "You must add the shortcode [wcast-track-order] to the \"page name\" in order "
222
- "for the tracking page to work."
223
- msgstr ""
224
 
225
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1055
226
- msgid "Select Tracking Page"
227
- msgstr "Seleccione la página de seguimiento"
 
 
228
 
229
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1063
230
- #: includes/customizer/class-wc-tracking-page-customizer.php:150
231
- msgid "Remove Trackship branding from tracking page"
232
  msgstr ""
233
- "Eliminar la marca Trackship de la página de seguimiento\n"
234
 
235
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1069
236
- msgid "Use the tracking page in the customer email/my account tracking link"
237
  msgstr ""
238
- "Utilice la página de seguimiento en el correo electrónico del cliente / el "
239
- "enlace de seguimiento de mi cuenta\n"
240
 
241
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1075
242
- msgid "Select primary color for tracking page"
243
- msgstr ""
244
- "Seleccione el color primario para la página de seguimiento\n"
 
245
 
246
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1081
247
- msgid "Select content border color for tracking page"
 
248
  msgstr ""
249
- "Seleccione el color del borde del contenido para la página de seguimiento\n"
250
 
251
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1145
252
- msgid ""
253
- "Default \"mark as <span class=\"shipped_label\">shipped</span>\" checkbox "
254
- "state"
255
  msgstr ""
256
 
257
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1146
258
- msgid ""
259
- "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
260
- "will be selected by default when adding tracking info to orders."
261
  msgstr ""
262
 
263
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1148
264
  msgid "Completed"
265
- msgstr "Terminada "
266
-
267
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1149
268
- msgid ""
269
- "Default \"mark as <span class=\"shipped_label\">completed</span>\" checkbox "
270
- "state"
271
  msgstr ""
272
 
273
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1150
274
- msgid ""
275
- "This means that the 'mark as <span class='shipped_label'>completed</span>' "
276
- "will be selected by default when adding tracking info to orders."
277
- msgstr ""
278
-
279
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1156
280
- msgid "Rename the “Completed” Order status to “Shipped”"
281
- msgstr "Cambie el nombre del estado del pedido \"Completado\" a \"Enviado\""
282
-
283
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1169
284
- msgid "On which customer order status email to include tracking info?"
285
  msgstr ""
286
- "¿En qué correo electrónico del estado del pedido del cliente se incluye "
287
- "información de seguimiento?"
288
-
289
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1170
290
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2192
291
- msgid "Cancelled"
292
- msgstr "Cancelada"
293
-
294
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1171
295
- msgid "Customer Invoice"
296
- msgstr "Factura del cliente"
297
-
298
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1172
299
- msgid "Refunded"
300
- msgstr "Reintegrado"
301
-
302
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1173
303
- msgid "Processing"
304
- msgstr "Tratamiento"
305
-
306
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1174
307
- msgid "Failed"
308
- msgstr "Ha fallado"
309
 
310
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1182
311
- msgid "Show tracking info in Invoice"
312
- msgstr "Mostrar información de seguimiento en la factura"
 
313
 
314
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1188
315
- msgid "Show tracking info in Packing Slip"
316
- msgstr "Mostrar información de seguimiento en el albarán"
 
317
 
318
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1205
319
- msgid "Enable a New Custom order status - “Delivered”"
320
- msgstr "Habilitar un nuevo estado de pedido personalizado - \"Entregado\""
 
321
 
322
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1206
323
- msgid ""
324
- "if you enable the delivered item, you will have the option to send delivered "
325
- "email notifications."
326
  msgstr ""
327
- "Si habilita el artículo entregado, tendrá la opción de enviar las "
328
- "notificaciones por correo electrónico entregadas."
329
 
330
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1212
331
- msgid "Delivered Status Label color"
332
- msgstr "Color de la etiqueta de estado entregada"
333
-
334
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1218
335
- #: includes/customizer/class-wcast-customizer.php:58
336
- #: includes/customizer/class-wc-email-customizer.php:155
337
- msgid "Delivered order status email"
338
  msgstr ""
339
- "Correo electrónico del estado del pedido entregado\n"
340
 
341
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1219
342
- #: includes/views/admin_options_trackship_integration.php:80
343
- #: includes/views/admin_options_trackship_integration.php:94
344
- #: includes/views/admin_options_trackship_integration.php:108
345
- #: includes/views/admin_options_trackship_integration.php:121
346
- #: includes/views/admin_options_trackship_integration.php:135
347
- #: includes/views/admin_options_trackship_integration.php:150
348
- msgid "Edit"
349
- msgstr "Editar"
350
-
351
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1236
352
- msgid ""
353
- "Change the \"Delivered\" orders to \"Completed\" when you deactivate the "
354
- "plugin"
355
  msgstr ""
356
- "Cambia los pedidos \"Entregados\" a \"Completados\" cuando desactivas el "
357
- "complemento"
358
-
359
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1238
360
- msgid "No, I will use the snippet"
361
- msgstr "No, usaré el fragmento"
362
 
363
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1239
364
- msgid "Yes, change all Delivered orders to Completed"
365
- msgstr "Yes, change all Delivered orders to Completed"
 
366
 
367
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1241
 
368
  #, php-format
369
- msgid ""
370
- "PLEASE NOTE - If you use the custom order status \"Delivered\", when you "
371
- "deactivate the plugin, you must register this order status in function.php "
372
- "in order to see these orders in the orders admin. You can find the snippet "
373
- "to use in functions.php %s or we can set to change all your \"delivered\" "
374
- "order to \"completed\"."
375
- msgstr ""
376
- "TENGA EN CUENTA: si usa el estado de pedido personalizado \"Entregado\", "
377
- "cuando desactiva el complemento, debe registrar este estado de pedido en "
378
- "function.php para ver estos pedidos en el administrador de pedidos. Puede "
379
- "encontrar el fragmento de código para usar en functions.php% s o podemos "
380
- "configurar para cambiar todo su pedido \"entregado\" a \"completado\"."
381
-
382
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1560
383
- msgid "Get shipment status"
384
- msgstr ""
385
- "Obtener estado de envío\n"
386
-
387
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1588
388
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2187
389
- #: includes/customizer/class-wcast-customizer.php:74
390
- #: includes/customizer/class-wc-intransit-email-customizer.php:115
391
- #: includes/views/admin_options_trackship_integration.php:79
392
- msgid "In Transit"
393
- msgstr ""
394
- "En tránsito\n"
395
-
396
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1591
397
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2186
398
- #: includes/customizer/class-wcast-customizer.php:66
399
- msgid "Pre Transit"
400
- msgstr ""
401
- "Pre tránsito\n"
402
-
403
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1597
404
- msgid "Out for delivery"
405
- msgstr ""
406
- "Fuera de Entrega\n"
407
 
408
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1600
409
- #: includes/customizer/class-wcast-customizer.php:89
410
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:116
411
- #: includes/views/admin_options_trackship_integration.php:107
412
- msgid "Available For Pickup"
413
- msgstr ""
414
- "Disponible para envíos\n"
415
 
416
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1603
417
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2194
418
- #: includes/customizer/class-wcast-customizer.php:82
419
- #: includes/customizer/class-wc-returntosender-email-customizer.php:116
420
- #: includes/views/admin_options_trackship_integration.php:93
421
- msgid "Return To Sender"
422
- msgstr ""
423
- "Devolver al remitente\n"
424
 
425
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1606
426
- msgid "Delivery Failure"
427
- msgstr ""
428
- "Error en la entrega\n"
429
 
430
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1609
431
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2185
432
- msgid "Unknown"
433
- msgstr "Desconocido"
434
 
435
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1612
436
- msgid "Pending TrackShip"
 
 
437
  msgstr ""
438
- "Pendiente TrackShip\n"
439
 
440
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1615
441
- msgid "Invalid Tracking"
 
442
  msgstr ""
443
- "Seguimiento inválido\n"
444
 
445
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1618
446
- msgid "Carrier unsupported"
 
447
  msgstr ""
448
- "Transportista no compatible\n"
449
 
450
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1621
451
- msgid "Invalid User Key"
 
 
452
  msgstr ""
453
 
454
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1687
455
- msgid "Resend delivered order notification"
456
- msgstr "Reenviar notificación de pedido entregada"
457
-
458
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1745
459
- msgid "Shipped Order"
460
- msgstr "Orden enviada"
461
-
462
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1764
463
- msgid "Mark order as delivered"
464
- msgstr "Marcar pedido como entregado"
465
-
466
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1771
467
- msgid "Add Tracking"
468
  msgstr ""
469
 
470
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1797
471
- msgid "Change order status to"
472
- msgstr "Cambiar el estado del pedido a"
473
-
474
- #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
475
- #: includes/views/admin_options_shipping_provider.php:88
476
- #, php-format
477
- msgid "You don't have any %s shipping providers."
478
- msgstr "No tiene ningún proveedor de envío% s."
479
-
480
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2145
481
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2157
482
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2169
483
- msgid "view details"
484
- msgstr "ver detalles"
485
-
486
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2146
487
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2158
488
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2170
489
- msgid "hide details"
490
- msgstr "ocultar detalles"
491
-
492
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2188
493
- msgid "Available for Pickup"
494
- msgstr ""
495
 
496
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
497
- msgid "Out for Delivery"
 
498
  msgstr ""
 
499
 
500
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2191
501
- #: includes/customizer/class-wcast-customizer.php:112
502
- #: includes/customizer/class-wc-failure-email-customizer.php:113
503
- #: includes/views/admin_options_trackship_integration.php:149
504
- msgid "Failed Attempt"
505
- msgstr "Intento fallido"
506
-
507
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2193
508
- msgid "Carrier Unsupported"
509
  msgstr ""
510
 
511
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2195
512
- #: includes/class-wc-advanced-shipment-tracking-front.php:457
513
- #: includes/class-wc-advanced-shipment-tracking-front.php:813
514
- msgid "Invalid Tracking Number"
515
  msgstr ""
516
- "Número de seguimiento no válido\n"
517
 
518
- #: includes/class-wc-advanced-shipment-tracking-admin.php:2200
519
- msgid "Filter by shipment status"
 
 
 
 
520
  msgstr ""
521
 
522
- #: includes/class-wc-advanced-shipment-tracking-front.php:138
523
- msgid ""
524
- "To track your order please enter your Order ID in the box below and press "
525
- "the \"Track\" button. This was given to you on your receipt and in the "
526
- "confirmation email you should have received."
527
  msgstr ""
528
- "Para rastrear su pedido, ingrese su ID de pedido en el cuadro a continuación "
529
- "y presione el botón \"Rastrear\". Esto se le entregó en su recibo y en el "
530
- "correo electrónico de confirmación que debería haber recibido.\n"
531
 
532
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
533
- msgid "Order ID"
 
534
  msgstr ""
535
- "Solicitar ID\n"
536
 
537
- #: includes/class-wc-advanced-shipment-tracking-front.php:139
538
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
539
- msgid "Found in your order confirmation email."
540
  msgstr ""
541
- "Encontrado en tu email de confirmación de orden.\n"
542
 
543
- #: includes/class-wc-advanced-shipment-tracking-front.php:140
544
- msgid "Order Email"
 
 
545
  msgstr ""
546
- "Orden de correo electrónico\n"
547
 
548
- #: includes/class-wc-advanced-shipment-tracking-front.php:143
549
- #: includes/class-wc-advanced-shipment-tracking.php:260
550
- #: includes/class-wc-advanced-shipment-tracking.php:637
551
- #: includes/class-wc-advanced-shipment-tracking.php:763
552
- #: includes/customizer/class-wc-tracking-info-customizer.php:137
553
- #: includes/customizer/class-wc-tracking-info-customizer.php:381
554
- #: includes/views/html-tracking-info-design-preview.php:69
555
- #: templates/emails/tracking-info.php:152
556
- #: templates/myaccount/view-order.php:123 templates/pip/tracking-info.php:23
557
- msgid "Track"
558
- msgstr "seguimiento"
559
 
560
- #: includes/class-wc-advanced-shipment-tracking-front.php:307
561
- #: includes/class-wc-advanced-shipment-tracking-front.php:662
562
- #, php-format
563
- msgid "Shipment - %s (out of %s)"
564
  msgstr ""
565
- "Envío -% s (de% s)\n"
566
-
567
- #: includes/class-wc-advanced-shipment-tracking-front.php:311
568
- #: includes/class-wc-advanced-shipment-tracking-front.php:666
569
- msgid "Order: "
570
- msgstr "Orden:"
571
 
572
- #: includes/class-wc-advanced-shipment-tracking-front.php:320
573
- #: includes/class-wc-advanced-shipment-tracking-front.php:324
574
- #: includes/class-wc-advanced-shipment-tracking-front.php:675
575
- #: includes/class-wc-advanced-shipment-tracking-front.php:679
576
- msgid "Estimated Delivery Date: "
577
- msgstr "Fecha estimada de entrega:"
578
 
579
- #: includes/class-wc-advanced-shipment-tracking-front.php:429
580
- #: includes/class-wc-advanced-shipment-tracking-front.php:785
581
- msgid "Tracking Details"
582
- msgstr "Detalles de seguimiento"
583
 
584
- #: includes/class-wc-advanced-shipment-tracking-front.php:448
585
- #: includes/class-wc-advanced-shipment-tracking-front.php:804
586
- msgid "view more"
587
- msgstr "ver más"
588
 
589
- #: includes/class-wc-advanced-shipment-tracking-front.php:449
590
- #: includes/class-wc-advanced-shipment-tracking-front.php:805
591
- msgid "view less"
592
- msgstr "ver menos"
593
 
594
- #. esc_html__( '%1$s %2$s.' ),
595
- #: includes/class-wc-advanced-shipment-tracking-install.php:1583
596
- #, php-format
597
- msgid ""
598
- "We added many improvements to %1$s, please help and give us a review :) "
599
- "Thanks!"
600
  msgstr ""
601
- "Agregamos muchas mejoras a% 1 $ s, por favor ayúdenos y déjenos un "
602
- "comentario :) ¡Gracias!"
603
-
604
- #: includes/class-wc-advanced-shipment-tracking.php:93
605
- #: includes/class-wc-advanced-shipment-tracking.php:244
606
- #: includes/customizer/class-wcast-customizer.php:30
607
- msgid "Shipment Tracking"
608
- msgstr "rastreo de envío"
609
 
610
- #: includes/class-wc-advanced-shipment-tracking.php:179
611
- #: includes/class-wc-advanced-shipment-tracking.php:351
612
- msgid "Change order to Shipped?"
613
  msgstr ""
 
614
 
615
- #: includes/class-wc-advanced-shipment-tracking.php:181
616
- #: includes/class-wc-advanced-shipment-tracking.php:353
617
- msgid "Change order to Completed?"
618
  msgstr ""
619
 
620
- #: includes/class-wc-advanced-shipment-tracking.php:186
621
- msgid "Add Tracking Number"
622
  msgstr ""
 
623
 
624
- #: includes/class-wc-advanced-shipment-tracking.php:191
625
- #: includes/class-wc-advanced-shipment-tracking.php:369
626
- msgid "Provider:"
627
- msgstr "Proveedor:"
628
-
629
- #: includes/class-wc-advanced-shipment-tracking.php:211
630
- #: includes/class-wc-advanced-shipment-tracking.php:407
631
- msgid "Tracking number:"
632
- msgstr "El número de rastreo:"
633
-
634
- #: includes/class-wc-advanced-shipment-tracking.php:217
635
- #: includes/class-wc-advanced-shipment-tracking.php:415
636
- msgid "Date shipped:"
637
- msgstr "Fecha de envío:"
638
-
639
- #: includes/class-wc-advanced-shipment-tracking.php:260
640
- #: templates/pip/tracking-info.php:23
641
- msgid "Click here to track your shipment"
642
- msgstr "Haga clic aquí para rastrear su envío"
643
-
644
- #. 1: shipping date
645
- #: includes/class-wc-advanced-shipment-tracking.php:268
646
- #: templates/pip/tracking-info.php:29
647
- #, php-format
648
- msgid "Shipped on %s"
649
- msgstr "Enviado en% s"
650
-
651
- #: includes/class-wc-advanced-shipment-tracking.php:269
652
- msgid "Delete"
653
- msgstr "Borrar"
654
-
655
- #: includes/class-wc-advanced-shipment-tracking.php:365
656
- msgid "Add Tracking Info"
657
- msgstr "Agregar información de seguimiento"
658
-
659
- #: includes/class-wc-advanced-shipment-tracking.php:370
660
- msgid "Select Provider"
661
- msgstr "Seleccionar Proveedor"
662
-
663
- #: includes/class-wc-advanced-shipment-tracking.php:430
664
- msgid "Save Tracking"
665
- msgstr "Guardar seguimiento"
666
-
667
- #: includes/class-wc-advanced-shipment-tracking.php:431
668
- msgid "Preview:"
669
- msgstr "Avance:"
670
-
671
- #: includes/class-wc-advanced-shipment-tracking.php:431
672
- msgid "Click here to track shipment"
673
- msgstr "Haga clic aquí para rastrear el envío"
674
-
675
- #: includes/customizer/class-wcast-customizer.php:39
676
- msgid "Shipment Status Emails"
677
- msgstr "Correos electrónicos de estado de envío"
678
 
679
- #: includes/customizer/class-wcast-customizer.php:50
680
- msgid "Tracking info display"
 
 
681
  msgstr ""
682
- "Pantalla de información de seguimiento\n"
683
 
684
- #: includes/customizer/class-wcast-customizer.php:51
685
- msgid "This section lets you customize the Tracking Info display design."
 
 
686
  msgstr ""
687
- "Esta sección le permite personalizar el diseño de la pantalla de información "
688
- "de seguimiento."
689
 
690
- #: includes/customizer/class-wcast-customizer.php:96
691
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:115
692
- #: includes/views/admin_options_trackship_integration.php:120
693
  msgid "Out For Delivery"
694
  msgstr ""
695
  "Fuera de Entrega\n"
696
 
697
- #: includes/customizer/class-wcast-customizer.php:352
 
 
 
 
 
 
 
 
 
 
 
 
698
  msgid "Select order to preview"
699
  msgstr ""
700
  "Seleccione el orden para previsualizar\n"
701
 
702
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:115
703
  msgid "Your order #{order_number} is available for pickup"
704
  msgstr ""
705
  "Su pedido # {order_number} está disponible para ser recogido\n"
706
 
707
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:117
708
  msgid ""
709
  "Hi there. we thought you'd like to know that your recent order from "
710
  "{site_title} is available for pickup."
@@ -712,224 +380,188 @@ msgstr ""
712
  "Hola. pensamos que te gustaría saber que tu pedido reciente de {site_title} "
713
  "está disponible para ser recogido.\n"
714
 
715
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:148
716
  msgid "Available For Pickup shipment status email"
717
  msgstr ""
718
  "Disponible para el estado de envío de recogida de correo electrónico\n"
719
 
720
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:149
721
- #: includes/customizer/class-wc-delivered-email-customizer.php:148
722
- #: includes/customizer/class-wc-email-customizer.php:156
723
- #: includes/customizer/class-wc-failure-email-customizer.php:145
724
- #: includes/customizer/class-wc-intransit-email-customizer.php:147
725
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:148
726
- #: includes/customizer/class-wc-returntosender-email-customizer.php:149
 
727
  msgid "This section lets you customize the Email Content."
728
  msgstr ""
729
  "Esta sección le permite personalizar el contenido del correo electrónico.\n"
730
 
731
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:163
732
  msgid "Enable Available For Pickup shipment status email"
733
  msgstr ""
734
  "Habilitar disponible para correo electrónico de estado de envío de recogida"
735
 
736
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:179
737
- #: includes/customizer/class-wc-delivered-email-customizer.php:178
738
- #: includes/customizer/class-wc-email-customizer.php:189
739
- #: includes/customizer/class-wc-failure-email-customizer.php:175
740
- #: includes/customizer/class-wc-intransit-email-customizer.php:178
741
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:178
742
- #: includes/customizer/class-wc-returntosender-email-customizer.php:179
743
- #: includes/customizer/class-wc-tracking-info-customizer.php:161
 
744
  msgid "Preview order"
745
  msgstr ""
746
  "Orden de previsualización\n"
747
 
748
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:200
749
- #: includes/customizer/class-wc-delivered-email-customizer.php:199
750
- #: includes/customizer/class-wc-failure-email-customizer.php:196
751
- #: includes/customizer/class-wc-intransit-email-customizer.php:199
752
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:199
753
- #: includes/customizer/class-wc-returntosender-email-customizer.php:200
754
- msgid "To"
755
- msgstr "A"
756
-
757
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:201
758
- #: includes/customizer/class-wc-delivered-email-customizer.php:200
759
- #: includes/customizer/class-wc-failure-email-customizer.php:197
760
- #: includes/customizer/class-wc-intransit-email-customizer.php:200
761
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:200
762
- #: includes/customizer/class-wc-returntosender-email-customizer.php:201
763
- msgid ""
764
- "Enter emails here or use variables such as {customer_email}. Multiple emails "
765
- "can be separated by commas."
766
- msgstr ""
767
- "Ingrese correos electrónicos aquí o use variables como {customer_email}. "
768
- "Múltiples correos electrónicos pueden ser separados por comas."
769
-
770
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:207
771
- #: includes/customizer/class-wc-delivered-email-customizer.php:206
772
- #: includes/customizer/class-wc-email-customizer.php:218
773
- #: includes/customizer/class-wc-failure-email-customizer.php:203
774
- #: includes/customizer/class-wc-intransit-email-customizer.php:206
775
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:206
776
- #: includes/customizer/class-wc-returntosender-email-customizer.php:207
777
  msgid "E.g. {customer.email}, admin@example.org"
778
  msgstr "Por ejemplo, {customer.email}, admin@example.org"
779
 
780
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:222
781
- #: includes/customizer/class-wc-delivered-email-customizer.php:221
782
- #: includes/customizer/class-wc-email-customizer.php:234
783
- #: includes/customizer/class-wc-failure-email-customizer.php:218
784
- #: includes/customizer/class-wc-intransit-email-customizer.php:221
785
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:221
786
- #: includes/customizer/class-wc-returntosender-email-customizer.php:222
787
- msgid "Email subject"
788
- msgstr "Asunto del email"
789
-
790
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:223
791
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:245
792
- #: includes/customizer/class-wc-delivered-email-customizer.php:222
793
- #: includes/customizer/class-wc-delivered-email-customizer.php:244
794
- #: includes/customizer/class-wc-failure-email-customizer.php:219
795
- #: includes/customizer/class-wc-failure-email-customizer.php:241
796
- #: includes/customizer/class-wc-intransit-email-customizer.php:222
797
- #: includes/customizer/class-wc-intransit-email-customizer.php:244
798
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:222
799
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:244
800
- #: includes/customizer/class-wc-returntosender-email-customizer.php:223
801
- #: includes/customizer/class-wc-returntosender-email-customizer.php:245
802
  msgid "Available placeholders: {site_title}, {order_number}"
803
  msgstr "Marcadores de posición disponibles: {site_title}, {order_number}"
804
 
805
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:229
806
- #: includes/customizer/class-wc-delivered-email-customizer.php:228
807
- #: includes/customizer/class-wc-email-customizer.php:241
808
- #: includes/customizer/class-wc-failure-email-customizer.php:225
809
- #: includes/customizer/class-wc-intransit-email-customizer.php:228
810
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:228
811
- #: includes/customizer/class-wc-returntosender-email-customizer.php:229
 
812
  msgid "Please enter email subject here"
813
  msgstr "Por favor ingrese el asunto del correo electrónico aquí"
814
 
815
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:244
816
- #: includes/customizer/class-wc-delivered-email-customizer.php:243
817
- #: includes/customizer/class-wc-email-customizer.php:257
818
- #: includes/customizer/class-wc-failure-email-customizer.php:240
819
- #: includes/customizer/class-wc-intransit-email-customizer.php:243
820
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:243
821
- #: includes/customizer/class-wc-returntosender-email-customizer.php:244
822
- #: includes/emails/class-shipment-delivered-email.php:250
823
- msgid "Email heading"
824
- msgstr "Encabezado de correo electrónico"
825
-
826
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:251
827
- #: includes/customizer/class-wc-delivered-email-customizer.php:250
828
- #: includes/customizer/class-wc-email-customizer.php:264
829
- #: includes/customizer/class-wc-failure-email-customizer.php:247
830
- #: includes/customizer/class-wc-intransit-email-customizer.php:250
831
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:250
832
- #: includes/customizer/class-wc-returntosender-email-customizer.php:251
833
  msgid "Please enter email heading here"
834
  msgstr "Por favor, introduzca el encabezado del correo electrónico aquí"
835
 
836
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:266
837
- #: includes/customizer/class-wc-delivered-email-customizer.php:265
838
- #: includes/customizer/class-wc-failure-email-customizer.php:262
839
- #: includes/customizer/class-wc-intransit-email-customizer.php:265
840
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:265
841
- #: includes/customizer/class-wc-returntosender-email-customizer.php:266
842
  msgid "Show tracking details"
843
  msgstr ""
844
  "Mostrar detalles de seguimiento\n"
845
 
846
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:282
847
- #: includes/customizer/class-wc-delivered-email-customizer.php:281
848
- #: includes/customizer/class-wc-failure-email-customizer.php:278
849
- #: includes/customizer/class-wc-intransit-email-customizer.php:281
850
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:281
851
- #: includes/customizer/class-wc-returntosender-email-customizer.php:282
852
  msgid "Show order details"
853
  msgstr ""
854
  "Mostrar detalles del pedido\n"
855
 
856
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:298
857
- #: includes/customizer/class-wc-delivered-email-customizer.php:297
858
- #: includes/customizer/class-wc-failure-email-customizer.php:294
859
- #: includes/customizer/class-wc-intransit-email-customizer.php:297
860
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:297
861
- #: includes/customizer/class-wc-returntosender-email-customizer.php:298
862
  msgid "Show billing address"
863
  msgstr ""
864
  "Mostrar dirección de facturación\n"
865
 
866
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:315
867
- #: includes/customizer/class-wc-delivered-email-customizer.php:314
868
- #: includes/customizer/class-wc-failure-email-customizer.php:311
869
- #: includes/customizer/class-wc-intransit-email-customizer.php:314
870
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:314
871
- #: includes/customizer/class-wc-returntosender-email-customizer.php:315
872
  msgid "Show shipping address"
873
  msgstr ""
874
  "Mostrar dirección de envío\n"
875
 
876
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:331
877
- #: includes/customizer/class-wc-delivered-email-customizer.php:330
878
- #: includes/customizer/class-wc-email-customizer.php:384
879
- #: includes/customizer/class-wc-failure-email-customizer.php:327
880
- #: includes/customizer/class-wc-intransit-email-customizer.php:350
881
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:330
882
- #: includes/customizer/class-wc-returntosender-email-customizer.php:331
883
  msgid "Google Analytics link tracking"
884
  msgstr ""
885
 
886
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:332
887
- #: includes/customizer/class-wc-delivered-email-customizer.php:331
888
- #: includes/customizer/class-wc-failure-email-customizer.php:328
889
- #: includes/customizer/class-wc-intransit-email-customizer.php:351
890
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:331
891
- #: includes/customizer/class-wc-returntosender-email-customizer.php:332
892
  msgid "This will be appended to URL in the email content"
893
  msgstr ""
894
 
895
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:353
896
- #: includes/customizer/class-wc-delivered-email-customizer.php:352
897
- #: includes/customizer/class-wc-email-customizer.php:280
898
- #: includes/customizer/class-wc-failure-email-customizer.php:349
899
- #: includes/customizer/class-wc-intransit-email-customizer.php:331
900
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:352
901
- #: includes/customizer/class-wc-returntosender-email-customizer.php:353
 
902
  msgid "Email content"
903
  msgstr "Contenido de correo electronico"
904
 
905
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:372
906
- #: includes/customizer/class-wc-delivered-email-customizer.php:372
907
- #: includes/customizer/class-wc-email-customizer.php:405
908
- #: includes/customizer/class-wc-failure-email-customizer.php:369
909
- #: includes/customizer/class-wc-intransit-email-customizer.php:372
910
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:372
911
- #: includes/customizer/class-wc-returntosender-email-customizer.php:373
 
912
  msgid "Available placeholders"
913
  msgstr ""
914
  "Marcadores de posición disponibles\n"
915
 
916
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:416
917
- #: includes/customizer/class-wc-delivered-email-customizer.php:416
918
- #: includes/customizer/class-wc-email-customizer.php:437
919
- #: includes/customizer/class-wc-failure-email-customizer.php:412
920
- #: includes/customizer/class-wc-intransit-email-customizer.php:415
921
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:415
922
- #: includes/customizer/class-wc-returntosender-email-customizer.php:417
923
- #: includes/customizer/class-wc-tracking-info-customizer.php:730
924
- msgid "Please select preview order."
 
925
  msgstr ""
926
- "Por favor seleccione orden de vista previa.\n"
927
 
928
- #: includes/customizer/class-wc-delivered-email-customizer.php:114
929
  msgid "Your order #{order_number} has been delivered"
930
  msgstr ""
931
 
932
- #: includes/customizer/class-wc-delivered-email-customizer.php:116
 
933
  msgid ""
934
  "Hi there. we thought you'd like to know that your recent order from "
935
  "{site_title} has been Delivered."
@@ -937,95 +569,78 @@ msgstr ""
937
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
938
  "ha sido Entregado.\n"
939
 
940
- #: includes/customizer/class-wc-delivered-email-customizer.php:147
941
  msgid "Delivered shipment status email"
942
  msgstr ""
943
  "Correo electrónico de estado de envío entregado\n"
944
 
945
- #: includes/customizer/class-wc-delivered-email-customizer.php:162
946
  msgid "Enable Delivered shipment status email"
947
  msgstr "Habilitar correo electrónico de estado de envío entregado"
948
 
949
- #: includes/customizer/class-wc-email-customizer.php:122
950
- #: includes/emails/class-shipment-delivered-email.php:92
951
  msgid "Your {site_title} order is now delivered"
952
  msgstr ""
953
  "Su orden de {site_title} ahora se entrega\n"
954
 
955
- #: includes/customizer/class-wc-email-customizer.php:123
956
- #: includes/emails/class-shipment-delivered-email.php:102
957
- msgid "Thanks for shopping with us"
958
- msgstr ""
959
- "Gracias por comprar con nosotros\n"
960
-
961
- #: includes/customizer/class-wc-email-customizer.php:124
962
- msgid "Hi there. Your recent order on {site_title} has been delivered."
963
- msgstr ""
964
- "Hola. Su pedido reciente en {site_title} ha sido entregado.\n"
965
-
966
- #: includes/customizer/class-wc-email-customizer.php:171
967
  msgid "Enable Delivered order status email"
968
  msgstr ""
969
  "Habilitar correo electrónico de estado de pedido entregado\n"
970
 
971
- #: includes/customizer/class-wc-email-customizer.php:193
972
- #: includes/customizer/class-wc-tracking-info-customizer.php:165
 
973
  msgid "Please select a order..."
974
  msgstr ""
975
  "Por favor seleccione una orden ...\n"
976
 
977
- #: includes/customizer/class-wc-email-customizer.php:211
978
- msgid "Receipts"
979
- msgstr ""
980
-
981
- #: includes/customizer/class-wc-email-customizer.php:212
982
- msgid ""
983
- "Enter emails use variables such as {customer_email}. Multiple emails can be "
984
- "separated by commas."
985
- msgstr ""
986
-
987
- #: includes/customizer/class-wc-email-customizer.php:235
988
- #: includes/customizer/class-wc-email-customizer.php:258
989
  msgid "Available variables: {site_title}, {order_number}"
990
  msgstr ""
991
 
992
- #: includes/customizer/class-wc-email-customizer.php:281
 
993
  msgid ""
994
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
995
  "{customer_last_name}, {customer_username}, {order_number}"
996
  msgstr ""
997
 
998
- #: includes/customizer/class-wc-email-customizer.php:300
999
  msgid "Display tracking details"
1000
  msgstr ""
1001
 
1002
- #: includes/customizer/class-wc-email-customizer.php:316
1003
  msgid "Display order details"
1004
  msgstr ""
1005
 
1006
- #: includes/customizer/class-wc-email-customizer.php:333
1007
  msgid "Display Shipping Address"
1008
  msgstr ""
1009
 
1010
- #: includes/customizer/class-wc-email-customizer.php:350
1011
  msgid "Display Billing Address"
1012
  msgstr ""
1013
 
1014
- #: includes/customizer/class-wc-email-customizer.php:367
1015
  msgid "Enable Google Analytics tracking"
1016
  msgstr ""
1017
 
1018
- #: includes/customizer/class-wc-email-customizer.php:385
1019
  msgid ""
1020
  "This will be appended to URL in the email content – e.g. "
1021
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1022
  msgstr ""
1023
 
1024
- #: includes/customizer/class-wc-failure-email-customizer.php:112
1025
  msgid "Your order #{order_number} is Failed Attempt"
1026
  msgstr "Su pedido # {número_orden} es un intento fallido"
1027
 
1028
- #: includes/customizer/class-wc-failure-email-customizer.php:114
1029
  msgid ""
1030
  "Hi there. we thought you'd like to know that your recent order from "
1031
  "{site_title} is Failed Attempt"
@@ -1033,20 +648,20 @@ msgstr ""
1033
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
1034
  "es un intento fallido"
1035
 
1036
- #: includes/customizer/class-wc-failure-email-customizer.php:144
1037
  msgid "Failed Attempt shipment status email"
1038
  msgstr "Intento fallido del estado del envío por correo electrónico"
1039
 
1040
- #: includes/customizer/class-wc-failure-email-customizer.php:159
1041
  msgid "Enable Failed Attempt shipment status email"
1042
  msgstr "Habilitar correo electrónico de estado de envío de intento fallido"
1043
 
1044
- #: includes/customizer/class-wc-intransit-email-customizer.php:114
1045
  msgid "Your order #{order_number} is in transit"
1046
  msgstr ""
1047
  "Su pedido # {order_number} está en tránsito\n"
1048
 
1049
- #: includes/customizer/class-wc-intransit-email-customizer.php:116
1050
  msgid ""
1051
  "Hi there. we thought you'd like to know that your recent order from "
1052
  "{site_title} is in transit"
@@ -1054,22 +669,22 @@ msgstr ""
1054
  "Hola. pensamos que te gustaría saber que tu pedido reciente de {site_title} "
1055
  "está en tránsito\n"
1056
 
1057
- #: includes/customizer/class-wc-intransit-email-customizer.php:146
1058
  msgid "In Transit shipment status email"
1059
  msgstr ""
1060
  "Correo electrónico de estado de envío en tránsito\n"
1061
 
1062
- #: includes/customizer/class-wc-intransit-email-customizer.php:161
1063
  msgid "Enable In Transit shipment status email"
1064
  msgstr ""
1065
  "Habilitar correo electrónico de estado de envío en tránsito\n"
1066
 
1067
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:114
1068
  msgid "Your order #{order_number} is out for delivery"
1069
  msgstr ""
1070
  "Su pedido # {order_number} está listo para la entrega\n"
1071
 
1072
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:116
1073
  msgid ""
1074
  "Hi there. we thought you'd like to know that your recent order from "
1075
  "{site_title} is out for delivery."
@@ -1077,21 +692,21 @@ msgstr ""
1077
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
1078
  "está listo para ser entregado.\n"
1079
 
1080
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:147
1081
  msgid "Out For Delivery shipment status email"
1082
  msgstr ""
1083
  "Fuera de entrega correo electrónico estado de envío\n"
1084
 
1085
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:162
1086
  msgid "Enable Out For Delivery shipment status email"
1087
  msgstr "Habilitar el correo electrónico de estado de envío de entrega"
1088
 
1089
- #: includes/customizer/class-wc-returntosender-email-customizer.php:115
1090
  msgid "Your order #{order_number} has returned to sender"
1091
  msgstr ""
1092
  "Su pedido # {order_number} ha regresado al remitente\n"
1093
 
1094
- #: includes/customizer/class-wc-returntosender-email-customizer.php:117
1095
  msgid ""
1096
  "Hi there. we thought you'd like to know that your recent order from "
1097
  "{site_title} has been returned to sender."
@@ -1099,37 +714,36 @@ msgstr ""
1099
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
1100
  "ha sido devuelto al remitente.\n"
1101
 
1102
- #: includes/customizer/class-wc-returntosender-email-customizer.php:148
1103
  msgid "Return To Sender shipment status email"
1104
  msgstr ""
1105
  "Devolver al remitente correo electrónico del estado del envío\n"
1106
 
1107
- #: includes/customizer/class-wc-returntosender-email-customizer.php:163
1108
  msgid "Enable Return To Sender shipment status email"
1109
  msgstr ""
1110
  "Habilitar el correo electrónico de estado de envío de Devolución al remitente"
1111
 
1112
- #: includes/customizer/class-wc-tracking-info-customizer.php:134
1113
- #: includes/customizer/class-wc-tracking-info-customizer.php:301
1114
- #: includes/views/html-tracking-info-design-preview.php:45
1115
- #: templates/emails/tracking-info.php:110 templates/myaccount/view-order.php:89
1116
  msgid "Provider"
1117
  msgstr "Proveedor"
1118
 
1119
- #: includes/customizer/class-wc-tracking-info-customizer.php:135
1120
- #: includes/customizer/class-wc-tracking-info-customizer.php:323
1121
- #: includes/views/html-tracking-info-design-preview.php:46
1122
- #: templates/emails/tracking-info.php:134
1123
- #: templates/myaccount/view-order.php:111
1124
  msgid "Tracking Number"
1125
  msgstr "El número de rastreo"
1126
 
1127
- #: includes/customizer/class-wc-tracking-info-customizer.php:136
1128
- #: includes/customizer/class-wc-tracking-info-customizer.php:344
1129
  msgid "Shipped Date"
1130
  msgstr "Fecha de envío"
1131
 
1132
- #: includes/customizer/class-wc-tracking-info-customizer.php:162
1133
  msgid ""
1134
  "select from last 20 orders one order that you added tracking info in order "
1135
  "to preview and design the tracking info table."
@@ -1138,190 +752,160 @@ msgstr ""
1138
  "de seguimiento para obtener una vista previa y diseñar la tabla de "
1139
  "información de seguimiento.\n"
1140
 
1141
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
 
 
 
 
 
 
1142
  msgid "Tracking Display Position"
1143
  msgstr "Seguimiento de la posición de visualización"
1144
 
1145
- #: includes/customizer/class-wc-tracking-info-customizer.php:186
1146
  msgid "Before Order Details"
1147
  msgstr "Antes de los detalles del pedido"
1148
 
1149
- #: includes/customizer/class-wc-tracking-info-customizer.php:187
1150
  msgid "After Order Details"
1151
  msgstr "Después de los detalles del pedido"
1152
 
1153
- #: includes/customizer/class-wc-tracking-info-customizer.php:202
1154
  msgid "Main Header text"
1155
  msgstr "Texto del encabezado principal"
1156
 
1157
- #: includes/customizer/class-wc-tracking-info-customizer.php:209
1158
- #: templates/pip/tracking-info.php:17
1159
  msgid "Tracking Information"
1160
  msgstr "Información de seguimiento"
1161
 
1162
- #: includes/customizer/class-wc-tracking-info-customizer.php:224
1163
  msgid "Additional text after header"
1164
  msgstr "Texto adicional después del encabezado"
1165
 
1166
- #: includes/customizer/class-wc-tracking-info-customizer.php:245
1167
- msgid "Table Layout"
1168
- msgstr "Diseño de mesa"
1169
 
1170
- #: includes/customizer/class-wc-tracking-info-customizer.php:260
1171
  msgid "Display Shipment Provider image"
1172
  msgstr "Mostrar imagen del proveedor de envío"
1173
 
1174
- #: includes/customizer/class-wc-tracking-info-customizer.php:277
1175
  msgid "Hide date"
1176
  msgstr "Ocultar fecha"
1177
 
1178
- #: includes/customizer/class-wc-tracking-info-customizer.php:294
 
 
 
 
 
 
 
 
1179
  msgid "Provider Header Text"
1180
  msgstr "Texto del encabezado del proveedor"
1181
 
1182
- #: includes/customizer/class-wc-tracking-info-customizer.php:316
1183
  msgid "Tracking Number Header Text"
1184
  msgstr "Número de seguimiento del encabezado de texto"
1185
 
1186
- #: includes/customizer/class-wc-tracking-info-customizer.php:337
1187
  msgid "Shipped Date Header Text"
1188
  msgstr "Texto de encabezado de fecha de envío"
1189
 
1190
- #: includes/customizer/class-wc-tracking-info-customizer.php:358
1191
  msgid "Track Label"
1192
  msgstr "Etiqueta de la pista"
1193
 
1194
- #: includes/customizer/class-wc-tracking-info-customizer.php:374
1195
  msgid "Track Header Text"
1196
  msgstr "Texto del encabezado de pista"
1197
 
1198
- #: includes/customizer/class-wc-tracking-info-customizer.php:396
 
 
 
 
 
 
 
 
1199
  msgid "Table Design"
1200
  msgstr ""
1201
  "Diseño de mesa\n"
1202
 
1203
- #: includes/customizer/class-wc-tracking-info-customizer.php:411
1204
  msgid "Padding"
1205
  msgstr ""
1206
  "Relleno\n"
1207
 
1208
- #: includes/customizer/class-wc-tracking-info-customizer.php:431
1209
  msgid "Background color"
1210
  msgstr ""
1211
  "Color de fondo\n"
1212
 
1213
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
1214
  msgid "Border color"
1215
  msgstr ""
1216
  "Color del borde\n"
1217
 
1218
- #: includes/customizer/class-wc-tracking-info-customizer.php:475
1219
  msgid "Border size"
1220
  msgstr ""
1221
  "Tamaño del borde\n"
1222
 
1223
- #: includes/customizer/class-wc-tracking-info-customizer.php:479
1224
- #: includes/customizer/class-wc-tracking-info-customizer.php:503
1225
- #: includes/customizer/class-wc-tracking-info-customizer.php:511
1226
- msgid "Select"
1227
- msgstr "Seleccionar"
1228
-
1229
- #: includes/customizer/class-wc-tracking-info-customizer.php:499
1230
  msgid "Table text align"
1231
  msgstr "Alinear el texto de la tabla"
1232
 
1233
- #: includes/customizer/class-wc-tracking-info-customizer.php:504
1234
- msgid "Left"
1235
- msgstr ""
1236
- "Izquierda\n"
1237
-
1238
- #: includes/customizer/class-wc-tracking-info-customizer.php:505
1239
- msgid "Right"
1240
- msgstr "Derecha"
1241
-
1242
- #: includes/customizer/class-wc-tracking-info-customizer.php:506
1243
- msgid "Center"
1244
- msgstr "Centrar"
1245
-
1246
- #: includes/customizer/class-wc-tracking-info-customizer.php:525
1247
- msgid "Table header font size"
1248
- msgstr "Tamaño de fuente del encabezado de tabla"
1249
-
1250
- #: includes/customizer/class-wc-tracking-info-customizer.php:544
1251
- msgid "Table header font color"
1252
- msgstr "Color de fuente del encabezado de tabla"
1253
-
1254
- #: includes/customizer/class-wc-tracking-info-customizer.php:560
1255
  msgid "Table content font size"
1256
  msgstr "Tamaño de fuente del contenido de la tabla"
1257
 
1258
- #: includes/customizer/class-wc-tracking-info-customizer.php:577
1259
  msgid "Table content font color"
1260
  msgstr "Color de fuente del contenido de la tabla"
1261
 
1262
- #: includes/customizer/class-wc-tracking-info-customizer.php:593
1263
  msgid "Content line height"
1264
  msgstr ""
1265
  "Altura de la línea de contenido\n"
1266
 
1267
- #: includes/customizer/class-wc-tracking-info-customizer.php:614
1268
  msgid "Content font weight"
1269
  msgstr ""
1270
  "Peso de la fuente de contenido\n"
1271
 
1272
- #: includes/customizer/class-wc-tracking-info-customizer.php:636
1273
- msgid "Track Link"
1274
- msgstr "Enlace de seguimiento"
1275
 
1276
- #: includes/customizer/class-wc-tracking-info-customizer.php:650
1277
  msgid "Track Link Font Color"
1278
  msgstr "Track Link Color de fuente"
1279
 
1280
- #: includes/customizer/class-wc-tracking-info-customizer.php:666
1281
  msgid "Track Link Background Color"
1282
  msgstr "Color de fondo del enlace de seguimiento"
1283
 
1284
- #: includes/customizer/class-wc-tracking-info-customizer.php:681
1285
  msgid "Track link Border"
1286
  msgstr "Track link Border"
1287
 
1288
- #: includes/customizer/class-wc-tracking-page-customizer.php:167
1289
- msgid "Header Color"
1290
  msgstr ""
1291
- "Color de encabezado\n"
1292
 
1293
- #: includes/customizer/class-wc-tracking-page-customizer.php:183
1294
- msgid "Success Status Color"
 
 
1295
  msgstr ""
1296
- "Color de estado de éxito\n"
1297
-
1298
- #: includes/customizer/class-wc-tracking-page-customizer.php:199
1299
- msgid "Warning Status Color"
1300
- msgstr "Color de estado de advertencia"
1301
-
1302
- #: includes/customizer/class-wc-tracking-page-customizer.php:215
1303
- msgid "Tracking info Border Color"
1304
- msgstr "Información de seguimiento Color del borde"
1305
-
1306
- #: includes/customizer/class-wc-tracking-page-customizer.php:230
1307
- msgid "Tracking info width (px)"
1308
- msgstr "Ancho de información de seguimiento (px)"
1309
 
1310
- #: includes/customizer/class-wc-tracking-page-customizer.php:250
1311
- msgid "Tracking details Border Color"
1312
- msgstr "Detalles de seguimiento Color del borde"
1313
-
1314
- #: i
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2019-11-07 13:38+0000\n"
6
+ "PO-Revision-Date: 2019-11-28 07:04+0000\n"
7
  "Last-Translator: gaurav <gaurav1092@zorem.com>\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.3.1; wp-5.3"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "¡Instale y active% sWooCommerce% s para el seguimiento de envío avanzado de "
24
  "WooCommerce!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:225
27
+ #, php-format
28
+ msgid "Your order was shipped with %s and your tracking code is: %s"
29
+ msgstr ""
30
+
31
+ #: woocommerce-advanced-shipment-tracking.php:432
32
+ #: includes/views/admin_options_settings.php:68
33
  #, php-format
34
  msgid ""
35
  "<strong>PLEASE NOTE</strong> - If you use the custom order status "
40
  "\"completed\" before deactivating the plugin."
41
  msgstr ""
42
 
43
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
44
  msgid ""
45
+ "To track your order please enter your Order ID in the box below and press "
46
+ "the \"Track\" button. This was given to you on your receipt and in the "
47
+ "confirmation email you should have received."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  msgstr ""
49
+ "Para rastrear su pedido, ingrese su número de pedido en el cuadro a "
50
+ "continuación y presione el botón \"Rastrear\". Esto se le entregó en su "
51
+ "recibo y en el correo electrónico de confirmación que debería haber recibido."
52
 
53
+ #: includes/class-wc-advanced-shipment-tracking-front.php:151
54
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
55
+ msgid "Found in your order confirmation email."
 
56
  msgstr ""
57
+ "Encontrado en tu email de confirmación de orden.\n"
 
 
58
 
59
+ #: includes/class-wc-advanced-shipment-tracking-front.php:152
60
+ msgid "Order Email"
61
+ msgstr "Correo electrónico:"
62
+
63
+ #: includes/class-wc-advanced-shipment-tracking-front.php:155
64
+ #: includes/class-wc-advanced-shipment-tracking.php:276
65
+ #: includes/class-wc-advanced-shipment-tracking.php:701
66
+ #: includes/class-wc-advanced-shipment-tracking.php:826
67
+ #: includes/customizer/class-wc-tracking-info-customizer.php:147
68
+ #: includes/customizer/class-wc-tracking-info-customizer.php:444
69
+ #: templates/emails/tracking-info.php:174
70
+ #: templates/myaccount/tracking-info.php:125
71
+ msgid "Track"
72
+ msgstr "Rastrear"
73
 
74
+ #: includes/class-wc-advanced-shipment-tracking-front.php:233
75
+ #: includes/class-wc-advanced-shipment-tracking-front.php:510
76
  #, php-format
77
+ msgid "Shipment - %s (out of %s)"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  msgstr ""
79
+ "Envío -% s (de% s)\n"
80
 
81
+ #: includes/class-wc-advanced-shipment-tracking-front.php:246
82
+ #: includes/class-wc-advanced-shipment-tracking-front.php:250
83
+ #: includes/class-wc-advanced-shipment-tracking-front.php:523
84
+ #: includes/class-wc-advanced-shipment-tracking-front.php:527
85
+ msgid "Estimated Delivery Date: "
86
+ msgstr "Fecha estimada de entrega:"
87
 
88
+ #: includes/class-wc-advanced-shipment-tracking-front.php:359
89
+ #: includes/class-wc-advanced-shipment-tracking-front.php:636
90
+ #: includes/class-wc-advanced-shipment-tracking-front.php:812
91
+ msgid "Tracking Details"
92
+ msgstr "Detalles de seguimiento"
93
 
94
+ #: includes/class-wc-advanced-shipment-tracking-front.php:378
95
+ #: includes/class-wc-advanced-shipment-tracking-front.php:655
96
+ #: includes/class-wc-advanced-shipment-tracking-front.php:833
97
+ msgid "view more"
98
+ msgstr "ver más"
99
 
100
+ #: includes/class-wc-advanced-shipment-tracking-front.php:379
101
+ #: includes/class-wc-advanced-shipment-tracking-front.php:656
102
+ #: includes/class-wc-advanced-shipment-tracking-front.php:834
103
+ msgid "view less"
104
+ msgstr "ver menos"
105
 
106
+ #: includes/class-wc-advanced-shipment-tracking-front.php:387
107
+ #: includes/class-wc-advanced-shipment-tracking-front.php:664
108
+ msgid "Tracking details not found in TrackShip"
109
  msgstr ""
 
110
 
111
+ #: includes/class-wc-advanced-shipment-tracking-front.php:747
112
+ msgid "Estimated Delivery Date"
113
  msgstr ""
 
 
114
 
115
+ #: includes/class-wc-advanced-shipment-tracking.php:95
116
+ #: includes/class-wc-advanced-shipment-tracking.php:260
117
+ #: includes/customizer/class-wcast-customizer.php:31
118
+ msgid "Shipment Tracking"
119
+ msgstr "rastreo de envío"
120
 
121
+ #: includes/class-wc-advanced-shipment-tracking.php:184
122
+ #: includes/class-wc-advanced-shipment-tracking.php:374
123
+ msgid "Mark as Shipped?"
124
  msgstr ""
 
125
 
126
+ #: includes/class-wc-advanced-shipment-tracking.php:185
127
+ msgid "Shipped"
 
 
128
  msgstr ""
129
 
130
+ #: includes/class-wc-advanced-shipment-tracking.php:187
131
+ #: includes/class-wc-advanced-shipment-tracking.php:377
132
+ msgid "Mark as Completed?"
 
133
  msgstr ""
134
 
135
+ #: includes/class-wc-advanced-shipment-tracking.php:188
136
  msgid "Completed"
 
 
 
 
 
 
137
  msgstr ""
138
 
139
+ #: includes/class-wc-advanced-shipment-tracking.php:195
140
+ msgid "Add Tracking Number"
 
 
 
 
 
 
 
 
 
 
141
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
142
 
143
+ #: includes/class-wc-advanced-shipment-tracking.php:200
144
+ #: includes/class-wc-advanced-shipment-tracking.php:395
145
+ msgid "Provider:"
146
+ msgstr "Proveedor:"
147
 
148
+ #: includes/class-wc-advanced-shipment-tracking.php:220
149
+ #: includes/class-wc-advanced-shipment-tracking.php:433
150
+ msgid "Tracking number:"
151
+ msgstr "El número de rastreo:"
152
 
153
+ #: includes/class-wc-advanced-shipment-tracking.php:224
154
+ #: includes/class-wc-advanced-shipment-tracking.php:441
155
+ msgid "Date shipped:"
156
+ msgstr "Fecha de envío:"
157
 
158
+ #: includes/class-wc-advanced-shipment-tracking.php:225
159
+ #: includes/class-wc-advanced-shipment-tracking.php:442
160
+ #: includes/class-wc-advanced-shipment-tracking.php:445
161
+ msgid "Y-m-d"
162
  msgstr ""
 
 
163
 
164
+ #: includes/class-wc-advanced-shipment-tracking.php:231
165
+ #: includes/class-wc-advanced-shipment-tracking.php:451
166
+ msgid "Mark order as:"
 
 
 
 
 
167
  msgstr ""
 
168
 
169
+ #: includes/class-wc-advanced-shipment-tracking.php:234
170
+ #: includes/class-wc-advanced-shipment-tracking.php:455
171
+ msgid "Partial Shipped"
 
 
 
 
 
 
 
 
 
 
 
172
  msgstr ""
 
 
 
 
 
 
173
 
174
+ #: includes/class-wc-advanced-shipment-tracking.php:276
175
+ #: includes/class-wc-advanced-shipment-tracking.php:469
176
+ msgid "Click here to track your shipment"
177
+ msgstr "Haga clic aquí para rastrear su envío"
178
 
179
+ #. 1: shipping date
180
+ #: includes/class-wc-advanced-shipment-tracking.php:284
181
  #, php-format
182
+ msgid "Shipped on %s"
183
+ msgstr "Enviado en% s"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
184
 
185
+ #: includes/class-wc-advanced-shipment-tracking.php:391
186
+ msgid "Add Tracking Info"
187
+ msgstr "Agregar información de seguimiento"
 
 
 
 
188
 
189
+ #: includes/class-wc-advanced-shipment-tracking.php:396
190
+ msgid "Select Provider"
191
+ msgstr "Seleccionar Proveedor"
 
 
 
 
 
192
 
193
+ #: includes/class-wc-advanced-shipment-tracking.php:468
194
+ msgid "Save Tracking"
195
+ msgstr "Guardar seguimiento"
 
196
 
197
+ #: includes/class-wc-advanced-shipment-tracking.php:469
198
+ msgid "Preview:"
199
+ msgstr "Avance:"
 
200
 
201
+ #: includes/class-wc-advanced-shipment-tracking.php:675
202
+ #, php-format
203
+ msgid ""
204
+ "Tracking info was deleted for tracking provider %s with tracking number %s"
205
  msgstr ""
 
206
 
207
+ #: includes/class-wc-advanced-shipment-tracking.php:1042
208
+ #, php-format
209
+ msgid "Order was shipped with %s and tracking number is: %s"
210
  msgstr ""
 
211
 
212
+ #: includes/class-wc-advanced-shipment-welcome.php:38
213
+ #: includes/class-wc-advanced-shipment-welcome.php:39
214
+ msgid "Welcome to Advanced Shipment Tracking"
215
  msgstr ""
 
216
 
217
+ #: includes/class-wc-advanced-shipment-welcome.php:90
218
+ #: includes/class-wc-advanced-shipment-welcome.php:129
219
+ #: includes/class-wc-advanced-shipment-welcome.php:147
220
+ msgid "Save and Continue"
221
  msgstr ""
222
 
223
+ #: includes/class-wc-advanced-shipment-welcome.php:177
224
+ #: includes/views/admin_options_trackship_integration.php:26
225
+ msgid "Connection status"
 
 
 
 
 
 
 
 
 
 
 
226
  msgstr ""
227
 
228
+ #: includes/class-wc-advanced-shipment-welcome.php:184
229
+ #: includes/views/admin_options_trackship_integration.php:33
230
+ msgid "TrackShip Connection Status"
231
+ msgstr "Estado de conexión de TrackShip"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
232
 
233
+ #: includes/class-wc-advanced-shipment-welcome.php:188
234
+ #: includes/views/admin_options_trackship_integration.php:37
235
+ msgid "Connected"
236
  msgstr ""
237
+ "Conectado\n"
238
 
239
+ #: includes/class-wc-advanced-shipment-welcome.php:194
240
+ #: includes/views/admin_options_trackship_integration.php:43
241
+ msgid "Trackers Balance"
 
 
 
 
 
 
242
  msgstr ""
243
 
244
+ #: includes/class-wc-advanced-shipment-welcome.php:202
245
+ #: includes/views/admin_options_trackship_integration.php:51
246
+ msgid "Current Plan"
 
247
  msgstr ""
 
248
 
249
+ #: includes/class-wc-advanced-shipment-welcome.php:217
250
+ #: includes/views/admin_options_trackship_integration.php:66
251
+ msgid ""
252
+ "You are now connected with TrackShip! TrackShip makes it effortless to "
253
+ "automate your post shipping operations and get tracking and delivery status "
254
+ "updates directly in the WooCommerce admin."
255
  msgstr ""
256
 
257
+ #: includes/class-wc-advanced-shipment-welcome.php:222
258
+ #: includes/views/admin_options_bulk_upload.php:58
259
+ #: includes/views/admin_options_trackship_integration.php:71
260
+ #: includes/views/zorem_admin_ts_sidebar.php:12
261
+ msgid "Documentation"
262
  msgstr ""
 
 
 
263
 
264
+ #: includes/class-wc-advanced-shipment-welcome.php:223
265
+ #: includes/views/admin_options_trackship_integration.php:72
266
+ msgid "TrackShip Dashboard"
267
  msgstr ""
 
268
 
269
+ #: includes/class-wc-advanced-shipment-welcome.php:253
270
+ msgid "Save"
 
271
  msgstr ""
 
272
 
273
+ #: includes/class-wc-advanced-shipment-welcome.php:310
274
+ msgid ""
275
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
276
+ "100 orders."
277
  msgstr ""
 
278
 
279
+ #: includes/class-wc-advanced-shipment-welcome.php:343
280
+ msgid "Data saved successfully."
281
+ msgstr "Datos guardados exitosamente."
 
 
 
 
 
 
 
 
282
 
283
+ #: includes/class-wc-advanced-shipment-welcome.php:344
284
+ msgid "Really delete this entry? This will not be undo."
 
 
285
  msgstr ""
286
+ "¿Realmente eliminar esta entrada? Esto no será deshacer.\n"
 
 
 
 
 
287
 
288
+ #: includes/class-wc-advanced-shipment-welcome.php:345
289
+ msgid "You can upload only csv file."
290
+ msgstr "Puedes subir solo el archivo csv."
 
 
 
291
 
292
+ #: includes/class-wc-advanced-shipment-welcome.php:346
293
+ msgid "This browser does not support HTML5."
294
+ msgstr "Este navegador no es compatible con HTML5."
 
295
 
296
+ #: includes/class-wc-advanced-shipment-welcome.php:347
297
+ msgid "Please upload a valid CSV file."
298
+ msgstr "Por favor, cargue un archivo CSV válido."
 
299
 
300
+ #: includes/customizer/class-wcast-customizer.php:40
301
+ msgid "Shipment Status Emails"
302
+ msgstr "Correos electrónicos de estado de envío"
 
303
 
304
+ #: includes/customizer/class-wcast-customizer.php:52
305
+ msgid "Tracking info display"
 
 
 
 
306
  msgstr ""
307
+ "Pantalla de información de seguimiento\n"
 
 
 
 
 
 
 
308
 
309
+ #: includes/customizer/class-wcast-customizer.php:60
310
+ #: includes/customizer/class-wc-email-customizer.php:163
311
+ msgid "Delivered order status email"
312
  msgstr ""
313
+ "Correo electrónico del estado del pedido entregado\n"
314
 
315
+ #: includes/customizer/class-wcast-customizer.php:68
316
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
317
+ msgid "Partial Shipped status email"
318
  msgstr ""
319
 
320
+ #: includes/customizer/class-wcast-customizer.php:76
321
+ msgid "Pre Transit"
322
  msgstr ""
323
+ "Pre tránsito\n"
324
 
325
+ #: includes/customizer/class-wcast-customizer.php:84
326
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
327
+ #: includes/views/admin_options_trackship_integration.php:161
328
+ msgid "In Transit"
329
+ msgstr ""
330
+ "En tránsito\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
331
 
332
+ #: includes/customizer/class-wcast-customizer.php:92
333
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
334
+ #: includes/views/admin_options_trackship_integration.php:175
335
+ msgid "Return To Sender"
336
  msgstr ""
337
+ "Devolver al remitente\n"
338
 
339
+ #: includes/customizer/class-wcast-customizer.php:99
340
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
341
+ #: includes/views/admin_options_trackship_integration.php:189
342
+ msgid "Available For Pickup"
343
  msgstr ""
344
+ "Disponible para envíos\n"
 
345
 
346
+ #: includes/customizer/class-wcast-customizer.php:106
347
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
348
+ #: includes/views/admin_options_trackship_integration.php:202
349
  msgid "Out For Delivery"
350
  msgstr ""
351
  "Fuera de Entrega\n"
352
 
353
+ #: includes/customizer/class-wcast-customizer.php:114
354
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
355
+ #: includes/views/admin_options_trackship_integration.php:216
356
+ msgid "Delivered"
357
+ msgstr "Entregado"
358
+
359
+ #: includes/customizer/class-wcast-customizer.php:122
360
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
361
+ #: includes/views/admin_options_trackship_integration.php:231
362
+ msgid "Failed Attempt"
363
+ msgstr "Intento fallido"
364
+
365
+ #: includes/customizer/class-wcast-customizer.php:390
366
  msgid "Select order to preview"
367
  msgstr ""
368
  "Seleccione el orden para previsualizar\n"
369
 
370
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:123
371
  msgid "Your order #{order_number} is available for pickup"
372
  msgstr ""
373
  "Su pedido # {order_number} está disponible para ser recogido\n"
374
 
375
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:125
376
  msgid ""
377
  "Hi there. we thought you'd like to know that your recent order from "
378
  "{site_title} is available for pickup."
380
  "Hola. pensamos que te gustaría saber que tu pedido reciente de {site_title} "
381
  "está disponible para ser recogido.\n"
382
 
383
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:156
384
  msgid "Available For Pickup shipment status email"
385
  msgstr ""
386
  "Disponible para el estado de envío de recogida de correo electrónico\n"
387
 
388
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:157
389
+ #: includes/customizer/class-wc-delivered-email-customizer.php:158
390
+ #: includes/customizer/class-wc-email-customizer.php:164
391
+ #: includes/customizer/class-wc-failure-email-customizer.php:157
392
+ #: includes/customizer/class-wc-intransit-email-customizer.php:160
393
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
394
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:157
395
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
396
  msgid "This section lets you customize the Email Content."
397
  msgstr ""
398
  "Esta sección le permite personalizar el contenido del correo electrónico.\n"
399
 
400
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:171
401
  msgid "Enable Available For Pickup shipment status email"
402
  msgstr ""
403
  "Habilitar disponible para correo electrónico de estado de envío de recogida"
404
 
405
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:187
406
+ #: includes/customizer/class-wc-delivered-email-customizer.php:188
407
+ #: includes/customizer/class-wc-email-customizer.php:197
408
+ #: includes/customizer/class-wc-failure-email-customizer.php:187
409
+ #: includes/customizer/class-wc-intransit-email-customizer.php:191
410
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
411
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:187
412
+ #: includes/customizer/class-wc-tracking-info-customizer.php:178
413
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
414
  msgid "Preview order"
415
  msgstr ""
416
  "Orden de previsualización\n"
417
 
418
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:215
419
+ #: includes/customizer/class-wc-delivered-email-customizer.php:216
420
+ #: includes/customizer/class-wc-email-customizer.php:226
421
+ #: includes/customizer/class-wc-failure-email-customizer.php:215
422
+ #: includes/customizer/class-wc-intransit-email-customizer.php:219
423
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:217
424
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:215
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
425
  msgid "E.g. {customer.email}, admin@example.org"
426
  msgstr "Por ejemplo, {customer.email}, admin@example.org"
427
 
428
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
429
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
430
+ #: includes/customizer/class-wc-delivered-email-customizer.php:232
431
+ #: includes/customizer/class-wc-delivered-email-customizer.php:254
432
+ #: includes/customizer/class-wc-failure-email-customizer.php:231
433
+ #: includes/customizer/class-wc-failure-email-customizer.php:253
434
+ #: includes/customizer/class-wc-intransit-email-customizer.php:235
435
+ #: includes/customizer/class-wc-intransit-email-customizer.php:257
436
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
437
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
438
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:231
439
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:253
 
 
 
 
 
 
 
 
 
 
440
  msgid "Available placeholders: {site_title}, {order_number}"
441
  msgstr "Marcadores de posición disponibles: {site_title}, {order_number}"
442
 
443
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
444
+ #: includes/customizer/class-wc-delivered-email-customizer.php:238
445
+ #: includes/customizer/class-wc-email-customizer.php:249
446
+ #: includes/customizer/class-wc-failure-email-customizer.php:237
447
+ #: includes/customizer/class-wc-intransit-email-customizer.php:241
448
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
449
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:237
450
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
451
  msgid "Please enter email subject here"
452
  msgstr "Por favor ingrese el asunto del correo electrónico aquí"
453
 
454
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
455
+ #: includes/customizer/class-wc-delivered-email-customizer.php:260
456
+ #: includes/customizer/class-wc-email-customizer.php:272
457
+ #: includes/customizer/class-wc-failure-email-customizer.php:259
458
+ #: includes/customizer/class-wc-intransit-email-customizer.php:263
459
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
460
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:259
461
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
 
 
 
 
 
 
 
 
 
 
462
  msgid "Please enter email heading here"
463
  msgstr "Por favor, introduzca el encabezado del correo electrónico aquí"
464
 
465
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
466
+ #: includes/customizer/class-wc-delivered-email-customizer.php:275
467
+ #: includes/customizer/class-wc-failure-email-customizer.php:274
468
+ #: includes/customizer/class-wc-intransit-email-customizer.php:278
469
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:276
470
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:274
471
  msgid "Show tracking details"
472
  msgstr ""
473
  "Mostrar detalles de seguimiento\n"
474
 
475
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:290
476
+ #: includes/customizer/class-wc-delivered-email-customizer.php:291
477
+ #: includes/customizer/class-wc-failure-email-customizer.php:290
478
+ #: includes/customizer/class-wc-intransit-email-customizer.php:294
479
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:292
480
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:290
481
  msgid "Show order details"
482
  msgstr ""
483
  "Mostrar detalles del pedido\n"
484
 
485
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:306
486
+ #: includes/customizer/class-wc-delivered-email-customizer.php:307
487
+ #: includes/customizer/class-wc-failure-email-customizer.php:306
488
+ #: includes/customizer/class-wc-intransit-email-customizer.php:310
489
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:308
490
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:306
491
  msgid "Show billing address"
492
  msgstr ""
493
  "Mostrar dirección de facturación\n"
494
 
495
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:323
496
+ #: includes/customizer/class-wc-delivered-email-customizer.php:324
497
+ #: includes/customizer/class-wc-failure-email-customizer.php:323
498
+ #: includes/customizer/class-wc-intransit-email-customizer.php:327
499
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:325
500
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:323
501
  msgid "Show shipping address"
502
  msgstr ""
503
  "Mostrar dirección de envío\n"
504
 
505
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
506
+ #: includes/customizer/class-wc-delivered-email-customizer.php:340
507
+ #: includes/customizer/class-wc-email-customizer.php:392
508
+ #: includes/customizer/class-wc-failure-email-customizer.php:339
509
+ #: includes/customizer/class-wc-intransit-email-customizer.php:363
510
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
511
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:339
512
  msgid "Google Analytics link tracking"
513
  msgstr ""
514
 
515
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
516
+ #: includes/customizer/class-wc-delivered-email-customizer.php:341
517
+ #: includes/customizer/class-wc-failure-email-customizer.php:340
518
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
519
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
520
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:340
521
  msgid "This will be appended to URL in the email content"
522
  msgstr ""
523
 
524
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
525
+ #: includes/customizer/class-wc-delivered-email-customizer.php:362
526
+ #: includes/customizer/class-wc-email-customizer.php:288
527
+ #: includes/customizer/class-wc-failure-email-customizer.php:361
528
+ #: includes/customizer/class-wc-intransit-email-customizer.php:344
529
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
530
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:361
531
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
532
  msgid "Email content"
533
  msgstr "Contenido de correo electronico"
534
 
535
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
536
+ #: includes/customizer/class-wc-delivered-email-customizer.php:382
537
+ #: includes/customizer/class-wc-email-customizer.php:413
538
+ #: includes/customizer/class-wc-failure-email-customizer.php:381
539
+ #: includes/customizer/class-wc-intransit-email-customizer.php:385
540
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
541
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:381
542
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
543
  msgid "Available placeholders"
544
  msgstr ""
545
  "Marcadores de posición disponibles\n"
546
 
547
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
548
+ #: includes/customizer/class-wc-delivered-email-customizer.php:429
549
+ #: includes/customizer/class-wc-email-customizer.php:446
550
+ #: includes/customizer/class-wc-failure-email-customizer.php:428
551
+ #: includes/customizer/class-wc-intransit-email-customizer.php:431
552
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
553
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:427
554
+ #: includes/customizer/class-wc-tracking-info-customizer.php:791
555
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
556
+ msgid "Please select order to preview."
557
  msgstr ""
 
558
 
559
+ #: includes/customizer/class-wc-delivered-email-customizer.php:124
560
  msgid "Your order #{order_number} has been delivered"
561
  msgstr ""
562
 
563
+ #: includes/customizer/class-wc-delivered-email-customizer.php:126
564
+ #: includes/customizer/class-wc-email-customizer.php:132
565
  msgid ""
566
  "Hi there. we thought you'd like to know that your recent order from "
567
  "{site_title} has been Delivered."
569
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
570
  "ha sido Entregado.\n"
571
 
572
+ #: includes/customizer/class-wc-delivered-email-customizer.php:157
573
  msgid "Delivered shipment status email"
574
  msgstr ""
575
  "Correo electrónico de estado de envío entregado\n"
576
 
577
+ #: includes/customizer/class-wc-delivered-email-customizer.php:172
578
  msgid "Enable Delivered shipment status email"
579
  msgstr "Habilitar correo electrónico de estado de envío entregado"
580
 
581
+ #: includes/customizer/class-wc-email-customizer.php:130
582
+ #: includes/emails/class-shipment-delivered-email.php:94
583
  msgid "Your {site_title} order is now delivered"
584
  msgstr ""
585
  "Su orden de {site_title} ahora se entrega\n"
586
 
587
+ #: includes/customizer/class-wc-email-customizer.php:179
 
 
 
 
 
 
 
 
 
 
 
588
  msgid "Enable Delivered order status email"
589
  msgstr ""
590
  "Habilitar correo electrónico de estado de pedido entregado\n"
591
 
592
+ #: includes/customizer/class-wc-email-customizer.php:201
593
+ #: includes/customizer/class-wc-tracking-info-customizer.php:182
594
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
595
  msgid "Please select a order..."
596
  msgstr ""
597
  "Por favor seleccione una orden ...\n"
598
 
599
+ #: includes/customizer/class-wc-email-customizer.php:243
600
+ #: includes/customizer/class-wc-email-customizer.php:266
601
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
602
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
 
 
 
 
 
 
 
 
603
  msgid "Available variables: {site_title}, {order_number}"
604
  msgstr ""
605
 
606
+ #: includes/customizer/class-wc-email-customizer.php:289
607
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
608
  msgid ""
609
  "available variables: {site_title}, {customer_email}, {customer_first_name}, "
610
  "{customer_last_name}, {customer_username}, {order_number}"
611
  msgstr ""
612
 
613
+ #: includes/customizer/class-wc-email-customizer.php:308
614
  msgid "Display tracking details"
615
  msgstr ""
616
 
617
+ #: includes/customizer/class-wc-email-customizer.php:324
618
  msgid "Display order details"
619
  msgstr ""
620
 
621
+ #: includes/customizer/class-wc-email-customizer.php:341
622
  msgid "Display Shipping Address"
623
  msgstr ""
624
 
625
+ #: includes/customizer/class-wc-email-customizer.php:358
626
  msgid "Display Billing Address"
627
  msgstr ""
628
 
629
+ #: includes/customizer/class-wc-email-customizer.php:375
630
  msgid "Enable Google Analytics tracking"
631
  msgstr ""
632
 
633
+ #: includes/customizer/class-wc-email-customizer.php:393
634
  msgid ""
635
  "This will be appended to URL in the email content – e.g. "
636
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
637
  msgstr ""
638
 
639
+ #: includes/customizer/class-wc-failure-email-customizer.php:123
640
  msgid "Your order #{order_number} is Failed Attempt"
641
  msgstr "Su pedido # {número_orden} es un intento fallido"
642
 
643
+ #: includes/customizer/class-wc-failure-email-customizer.php:125
644
  msgid ""
645
  "Hi there. we thought you'd like to know that your recent order from "
646
  "{site_title} is Failed Attempt"
648
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
649
  "es un intento fallido"
650
 
651
+ #: includes/customizer/class-wc-failure-email-customizer.php:156
652
  msgid "Failed Attempt shipment status email"
653
  msgstr "Intento fallido del estado del envío por correo electrónico"
654
 
655
+ #: includes/customizer/class-wc-failure-email-customizer.php:171
656
  msgid "Enable Failed Attempt shipment status email"
657
  msgstr "Habilitar correo electrónico de estado de envío de intento fallido"
658
 
659
+ #: includes/customizer/class-wc-intransit-email-customizer.php:126
660
  msgid "Your order #{order_number} is in transit"
661
  msgstr ""
662
  "Su pedido # {order_number} está en tránsito\n"
663
 
664
+ #: includes/customizer/class-wc-intransit-email-customizer.php:128
665
  msgid ""
666
  "Hi there. we thought you'd like to know that your recent order from "
667
  "{site_title} is in transit"
669
  "Hola. pensamos que te gustaría saber que tu pedido reciente de {site_title} "
670
  "está en tránsito\n"
671
 
672
+ #: includes/customizer/class-wc-intransit-email-customizer.php:159
673
  msgid "In Transit shipment status email"
674
  msgstr ""
675
  "Correo electrónico de estado de envío en tránsito\n"
676
 
677
+ #: includes/customizer/class-wc-intransit-email-customizer.php:174
678
  msgid "Enable In Transit shipment status email"
679
  msgstr ""
680
  "Habilitar correo electrónico de estado de envío en tránsito\n"
681
 
682
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:125
683
  msgid "Your order #{order_number} is out for delivery"
684
  msgstr ""
685
  "Su pedido # {order_number} está listo para la entrega\n"
686
 
687
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:127
688
  msgid ""
689
  "Hi there. we thought you'd like to know that your recent order from "
690
  "{site_title} is out for delivery."
692
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
693
  "está listo para ser entregado.\n"
694
 
695
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:158
696
  msgid "Out For Delivery shipment status email"
697
  msgstr ""
698
  "Fuera de entrega correo electrónico estado de envío\n"
699
 
700
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:173
701
  msgid "Enable Out For Delivery shipment status email"
702
  msgstr "Habilitar el correo electrónico de estado de envío de entrega"
703
 
704
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:123
705
  msgid "Your order #{order_number} has returned to sender"
706
  msgstr ""
707
  "Su pedido # {order_number} ha regresado al remitente\n"
708
 
709
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:125
710
  msgid ""
711
  "Hi there. we thought you'd like to know that your recent order from "
712
  "{site_title} has been returned to sender."
714
  "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
715
  "ha sido devuelto al remitente.\n"
716
 
717
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:156
718
  msgid "Return To Sender shipment status email"
719
  msgstr ""
720
  "Devolver al remitente correo electrónico del estado del envío\n"
721
 
722
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:171
723
  msgid "Enable Return To Sender shipment status email"
724
  msgstr ""
725
  "Habilitar el correo electrónico de estado de envío de Devolución al remitente"
726
 
727
+ #: includes/customizer/class-wc-tracking-info-customizer.php:144
728
+ #: includes/customizer/class-wc-tracking-info-customizer.php:364
729
+ #: templates/emails/tracking-info.php:132
730
+ #: templates/myaccount/tracking-info.php:91
731
  msgid "Provider"
732
  msgstr "Proveedor"
733
 
734
+ #: includes/customizer/class-wc-tracking-info-customizer.php:145
735
+ #: includes/customizer/class-wc-tracking-info-customizer.php:386
736
+ #: templates/emails/tracking-info.php:156
737
+ #: templates/myaccount/tracking-info.php:113
 
738
  msgid "Tracking Number"
739
  msgstr "El número de rastreo"
740
 
741
+ #: includes/customizer/class-wc-tracking-info-customizer.php:146
742
+ #: includes/customizer/class-wc-tracking-info-customizer.php:407
743
  msgid "Shipped Date"
744
  msgstr "Fecha de envío"
745
 
746
+ #: includes/customizer/class-wc-tracking-info-customizer.php:179
747
  msgid ""
748
  "select from last 20 orders one order that you added tracking info in order "
749
  "to preview and design the tracking info table."
752
  "de seguimiento para obtener una vista previa y diseñar la tabla de "
753
  "información de seguimiento.\n"
754
 
755
+ #: includes/customizer/class-wc-tracking-info-customizer.php:198
756
+ #: includes/views/admin_options_settings.php:15
757
+ #: includes/views/admin_options_trackship_integration.php:82
758
+ msgid "General Settings"
759
+ msgstr "Configuración general"
760
+
761
+ #: includes/customizer/class-wc-tracking-info-customizer.php:213
762
  msgid "Tracking Display Position"
763
  msgstr "Seguimiento de la posición de visualización"
764
 
765
+ #: includes/customizer/class-wc-tracking-info-customizer.php:217
766
  msgid "Before Order Details"
767
  msgstr "Antes de los detalles del pedido"
768
 
769
+ #: includes/customizer/class-wc-tracking-info-customizer.php:218
770
  msgid "After Order Details"
771
  msgstr "Después de los detalles del pedido"
772
 
773
+ #: includes/customizer/class-wc-tracking-info-customizer.php:233
774
  msgid "Main Header text"
775
  msgstr "Texto del encabezado principal"
776
 
777
+ #: includes/customizer/class-wc-tracking-info-customizer.php:240
 
778
  msgid "Tracking Information"
779
  msgstr "Información de seguimiento"
780
 
781
+ #: includes/customizer/class-wc-tracking-info-customizer.php:255
782
  msgid "Additional text after header"
783
  msgstr "Texto adicional después del encabezado"
784
 
785
+ #: includes/customizer/class-wc-tracking-info-customizer.php:276
786
+ msgid "Table Content"
787
+ msgstr ""
788
 
789
+ #: includes/customizer/class-wc-tracking-info-customizer.php:291
790
  msgid "Display Shipment Provider image"
791
  msgstr "Mostrar imagen del proveedor de envío"
792
 
793
+ #: includes/customizer/class-wc-tracking-info-customizer.php:308
794
  msgid "Hide date"
795
  msgstr "Ocultar fecha"
796
 
797
+ #: includes/customizer/class-wc-tracking-info-customizer.php:325
798
+ msgid "Table Header"
799
+ msgstr ""
800
+
801
+ #: includes/customizer/class-wc-tracking-info-customizer.php:340
802
+ msgid "Hide Header"
803
+ msgstr ""
804
+
805
+ #: includes/customizer/class-wc-tracking-info-customizer.php:357
806
  msgid "Provider Header Text"
807
  msgstr "Texto del encabezado del proveedor"
808
 
809
+ #: includes/customizer/class-wc-tracking-info-customizer.php:379
810
  msgid "Tracking Number Header Text"
811
  msgstr "Número de seguimiento del encabezado de texto"
812
 
813
+ #: includes/customizer/class-wc-tracking-info-customizer.php:400
814
  msgid "Shipped Date Header Text"
815
  msgstr "Texto de encabezado de fecha de envío"
816
 
817
+ #: includes/customizer/class-wc-tracking-info-customizer.php:421
818
  msgid "Track Label"
819
  msgstr "Etiqueta de la pista"
820
 
821
+ #: includes/customizer/class-wc-tracking-info-customizer.php:437
822
  msgid "Track Header Text"
823
  msgstr "Texto del encabezado de pista"
824
 
825
+ #: includes/customizer/class-wc-tracking-info-customizer.php:459
826
+ msgid "Table header font size"
827
+ msgstr "Tamaño de fuente del encabezado de tabla"
828
+
829
+ #: includes/customizer/class-wc-tracking-info-customizer.php:476
830
+ msgid "Table header font color"
831
+ msgstr "Color de fuente del encabezado de tabla"
832
+
833
+ #: includes/customizer/class-wc-tracking-info-customizer.php:492
834
  msgid "Table Design"
835
  msgstr ""
836
  "Diseño de mesa\n"
837
 
838
+ #: includes/customizer/class-wc-tracking-info-customizer.php:507
839
  msgid "Padding"
840
  msgstr ""
841
  "Relleno\n"
842
 
843
+ #: includes/customizer/class-wc-tracking-info-customizer.php:527
844
  msgid "Background color"
845
  msgstr ""
846
  "Color de fondo\n"
847
 
848
+ #: includes/customizer/class-wc-tracking-info-customizer.php:555
849
  msgid "Border color"
850
  msgstr ""
851
  "Color del borde\n"
852
 
853
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
854
  msgid "Border size"
855
  msgstr ""
856
  "Tamaño del borde\n"
857
 
858
+ #: includes/customizer/class-wc-tracking-info-customizer.php:595
 
 
 
 
 
 
859
  msgid "Table text align"
860
  msgstr "Alinear el texto de la tabla"
861
 
862
+ #: includes/customizer/class-wc-tracking-info-customizer.php:618
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
863
  msgid "Table content font size"
864
  msgstr "Tamaño de fuente del contenido de la tabla"
865
 
866
+ #: includes/customizer/class-wc-tracking-info-customizer.php:635
867
  msgid "Table content font color"
868
  msgstr "Color de fuente del contenido de la tabla"
869
 
870
+ #: includes/customizer/class-wc-tracking-info-customizer.php:651
871
  msgid "Content line height"
872
  msgstr ""
873
  "Altura de la línea de contenido\n"
874
 
875
+ #: includes/customizer/class-wc-tracking-info-customizer.php:672
876
  msgid "Content font weight"
877
  msgstr ""
878
  "Peso de la fuente de contenido\n"
879
 
880
+ #: includes/customizer/class-wc-tracking-info-customizer.php:694
881
+ msgid "Track Button Design"
882
+ msgstr ""
883
 
884
+ #: includes/customizer/class-wc-tracking-info-customizer.php:708
885
  msgid "Track Link Font Color"
886
  msgstr "Track Link Color de fuente"
887
 
888
+ #: includes/customizer/class-wc-tracking-info-customizer.php:724
889
  msgid "Track Link Background Color"
890
  msgstr "Color de fondo del enlace de seguimiento"
891
 
892
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
893
  msgid "Track link Border"
894
  msgstr "Track link Border"
895
 
896
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
897
+ msgid "Your {site_title} order is now partial shipped"
898
  msgstr ""
 
899
 
900
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
901
+ msgid ""
902
+ "Hi there. we thought you'd like to know that your recent order from "
903
+ "{site_title} has been Partial Shipped."
904
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
905