Advanced Shipment Tracking for WooCommerce - Version 2.8.4

Version Description

  • Updated licensing system for AST Tracking Per Item Add-on
Download this release

Release Info

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

Code changes from version 2.7 to 2.8.4

Files changed (108) hide show
  1. assets/css/admin.css +500 -174
  2. assets/css/customizer-styles.css +14 -0
  3. assets/css/front.css +202 -33
  4. assets/css/icons/invalid-v3.png +0 -0
  5. assets/css/icons/updated-tracking-icon.png +0 -0
  6. assets/images/Tracking-Per-Item-addon-sidebar.png +0 -0
  7. assets/images/Tracking-Per-Item-addon.jpg +0 -0
  8. assets/images/ast-addons-notice-image.jpg +0 -0
  9. assets/images/smswoo.png +0 -0
  10. assets/images/t_layout_1.jpg +0 -0
  11. assets/images/t_layout_2.jpg +0 -0
  12. assets/images/tracking-1.png +0 -0
  13. assets/images/tracking-2.png +0 -0
  14. assets/images/trackship-sidebar-addons.png +0 -0
  15. assets/images/ts-banner.jpg +0 -0
  16. assets/js/admin.js +127 -41
  17. assets/js/customizer-scripts.js +187 -0
  18. assets/js/front.js +11 -0
  19. assets/js/preview-scripts.js +51 -0
  20. assets/js/settings.js +64 -19
  21. assets/js/shipping_row.js +274 -15
  22. assets/shipment-provider-img/7-eleven.png +0 -0
  23. assets/shipment-provider-img/bpost.png +0 -0
  24. assets/shipment-provider-img/brt.png +0 -0
  25. assets/shipment-provider-img/ceska-posta.png +0 -0
  26. assets/shipment-provider-img/cj-logistics.png +0 -0
  27. assets/shipment-provider-img/cjpacket.png +0 -0
  28. assets/shipment-provider-img/courierpost.png +0 -0
  29. assets/shipment-provider-img/dpd-fr.png +0 -0
  30. assets/shipment-provider-img/ekart.png +0 -0
  31. assets/shipment-provider-img/gls-denmark.png +0 -0
  32. assets/shipment-provider-img/hfd.png +0 -0
  33. assets/shipment-provider-img/jcex.png +0 -0
  34. assets/shipment-provider-img/jet-express.png +0 -0
  35. assets/shipment-provider-img/jne.png +0 -0
  36. assets/shipment-provider-img/jt.png +0 -0
  37. assets/shipment-provider-img/lion-parcel.png +0 -0
  38. assets/shipment-provider-img/lithuania-post.png +0 -0
  39. assets/shipment-provider-img/magyar-posta.png +0 -0
  40. assets/shipment-provider-img/new-zealand-courierpost.png +0 -0
  41. assets/shipment-provider-img/ninja-express.png +0 -0
  42. assets/shipment-provider-img/ontime.png +0 -0
  43. assets/shipment-provider-img/pos-indonesia.png +0 -0
  44. assets/shipment-provider-img/poste-italiane.png +0 -0
  45. assets/shipment-provider-img/redpack.png +0 -0
  46. assets/shipment-provider-img/rides.png +0 -0
  47. assets/shipment-provider-img/russian-post.png +0 -0
  48. assets/shipment-provider-img/saudi-post.png +0 -0
  49. assets/shipment-provider-img/shadowfax.png +0 -0
  50. assets/shipment-provider-img/shree-maruti-courier.png +0 -0
  51. assets/shipment-provider-img/sicepat.png +0 -0
  52. assets/shipment-provider-img/spee-dee.png +0 -0
  53. assets/shipment-provider-img/thailand-post.png +0 -0
  54. assets/shipment-provider-img/tiki.png +0 -0
  55. assets/shipment-provider-img/toll-ipec.png +0 -0
  56. assets/shipment-provider-img/yodel.png +0 -0
  57. includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php +51 -32
  58. includes/class-wc-advanced-shipment-tracking-admin.php +417 -895
  59. includes/class-wc-advanced-shipment-tracking-front.php +820 -500
  60. includes/class-wc-advanced-shipment-tracking-install.php +210 -53
  61. includes/class-wc-advanced-shipment-tracking-license.php +332 -0
  62. includes/class-wc-advanced-shipment-tracking-settings.php +959 -0
  63. includes/class-wc-advanced-shipment-tracking.php +182 -80
  64. includes/customizer/class-wc-availableforpickup-email-customizer.php +28 -9
  65. includes/customizer/class-wc-delivered-email-customizer.php +28 -9
  66. includes/customizer/class-wc-email-customizer.php +7 -6
  67. includes/customizer/class-wc-failure-email-customizer.php +29 -9
  68. includes/customizer/class-wc-intransit-email-customizer.php +28 -9
  69. includes/customizer/class-wc-outfordelivery-email-customizer.php +28 -9
  70. includes/customizer/class-wc-partial-shipped-email-customizer.php +12 -11
  71. includes/customizer/class-wc-returntosender-email-customizer.php +28 -9
  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 +32 -3
  75. includes/customizer/custom-controls.php +1 -1
  76. includes/customizer/preview/updated_tracking_preview.php +30 -0
  77. includes/email-manager.php +79 -35
  78. includes/emails/class-shipment-delivered-email.php +4 -3
  79. includes/emails/class-shipment-partial-shipped-email.php +3 -3
  80. includes/emails/class-shipment-updated-tracking-email.php +184 -0
  81. includes/vendor/persist-admin-notices-dismissal/dismiss-notice.js +37 -0
  82. includes/vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php +1 -1
  83. includes/views/admin_options_addons.php +178 -0
  84. includes/views/admin_options_bulk_upload.php +13 -8
  85. includes/views/admin_options_settings.php +106 -24
  86. includes/views/admin_options_shipping_provider.php +20 -13
  87. includes/views/admin_options_tools.php +25 -26
  88. includes/views/admin_options_trackship_integration.php +26 -222
  89. includes/views/admin_status_notifications.php +103 -0
  90. includes/views/admin_tracking_page_settings.php +118 -0
  91. includes/views/admin_trackship_dashboard.php +84 -0
  92. includes/views/zorem_admin_addons_sidebar.php +33 -0
  93. includes/views/zorem_admin_sidebar.php +51 -37
  94. includes/views/zorem_admin_ts_sidebar.php +0 -32
  95. lang/woo-advanced-shipment-tracking-bg_BG.mo +0 -0
  96. lang/woo-advanced-shipment-tracking-bg_BG.po +1011 -445
  97. lang/woo-advanced-shipment-tracking-da_DK.mo +0 -0
  98. lang/woo-advanced-shipment-tracking-da_DK.po +1001 -451
  99. lang/woo-advanced-shipment-tracking-de_DE.mo +0 -0
  100. lang/woo-advanced-shipment-tracking-de_DE.po +1077 -423
  101. lang/woo-advanced-shipment-tracking-el.mo +0 -0
  102. lang/woo-advanced-shipment-tracking-el.po +1012 -450
  103. lang/woo-advanced-shipment-tracking-es_ES.mo +0 -0
  104. lang/woo-advanced-shipment-tracking-es_ES.po +1080 -418
  105. lang/woo-advanced-shipment-tracking-fr_FR.mo +0 -0
  106. lang/woo-advanced-shipment-tracking-fr_FR.po +1074 -409
  107. lang/woo-advanced-shipment-tracking-he_IL.mo +0 -0
  108. lang/woo-advanced-shipment-tracking-he_IL.po +460 -96
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 {
@@ -157,17 +178,24 @@ input.tab_input_1:checked + label{
157
  width: 280px;
158
  display: table-cell;
159
  vertical-align: top;
160
- padding: 25px 0px 25px 30px;
 
 
 
 
161
  }
162
  .zorem_admin_layout .zorem_admin_sidebar h3{
163
- margin: 0 0 1em 0;
164
- background: #fff;
165
  color: #005B9A;
166
  border-bottom: 1px solid #eee;
167
- padding: 15px 15px;
 
 
 
 
168
  }
169
  .zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
170
- margin: 10px 10px 10px 15px;
171
  }
172
  .zorem-sidebar-title {
173
  padding: 10px 0;
@@ -175,11 +203,8 @@ input.tab_input_1:checked + label{
175
  color: #1ead94;
176
  line-height: 15px;
177
  }
178
- .zorem-sidebar__section {
179
- padding: 0;
180
- background: #fff;
181
- border: 1px solid #eee;
182
- margin-bottom: 10px;
183
  }
184
  ..zorem-sidebar__section li:before {
185
  position: absolute;
@@ -188,10 +213,11 @@ input.tab_input_1:checked + label{
188
  }
189
  .zorem-sidebar__section ul {
190
  position: relative;
191
- margin: 10px 10px 10px 15px;
192
  }
193
  .zorem-sidebar__section li {
194
  list-style: none;
 
195
  }
196
  .zorem-sidebar__section li img.plugin_thumbnail {
197
  width: 60px;
@@ -208,6 +234,22 @@ input.tab_input_1:checked + label{
208
  .zorem-sidebar__section div a {
209
  color: #0085ba;
210
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
211
  .shipping_provider_tab {
212
  width: 100%;
213
  display: block;
@@ -299,10 +341,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 +351,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 +384,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,#wc_ast_status_partial_shipped_label_color {
350
  width: 80px;
351
  }
352
  .color_field input[type=text] {
@@ -593,12 +631,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 +657,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 +847,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 +878,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 +893,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 +902,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 +911,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 +920,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 +929,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 +938,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 +947,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 +956,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 +965,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 +974,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 +983,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 +992,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 +1001,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 +1145,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 +1172,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 +1279,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 +1413,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 +1443,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 +1454,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 +1469,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 +1498,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 +1598,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 +1608,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;
@@ -1580,19 +1641,28 @@ a.active{
1580
  line-height: 24px;
1581
  color: #0d0d0d;
1582
  width: 100%;
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: 100%;
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;
@@ -1610,7 +1680,7 @@ a.active{
1610
  }
1611
  .change_order_to_shipped_field ul li {
1612
  display: inline-block;
1613
- margin-left: 5px;
1614
  }
1615
  .provider-status .mdl-switch{
1616
  width: auto;
@@ -1695,6 +1765,7 @@ p.delivered_message {
1695
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1696
  margin: 25px 0 0;
1697
  border-bottom: 0;
 
1698
  }
1699
  #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{
1700
  border-bottom: 0;
@@ -1705,6 +1776,7 @@ p.delivered_message {
1705
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1706
  margin: 0;
1707
  color:#005B9A;
 
1708
  }
1709
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1710
  text-align:right;
@@ -1716,6 +1788,7 @@ p.delivered_message {
1716
  margin: 25px 0 0;
1717
  border-bottom: 0;
1718
  padding: 15px;
 
1719
  }
1720
  .zorem_admin_layout h3.table-heading:after{
1721
  content:'';
@@ -1726,6 +1799,7 @@ p.delivered_message {
1726
  }
1727
  .woocommerce.zorem_admin_layout table.form-table th{
1728
  padding: 20px 24px 20px 15px;
 
1729
  }
1730
  .woocommerce.zorem_admin_layout table.form-table td{
1731
  padding: 15px 15px;
@@ -1733,6 +1807,7 @@ p.delivered_message {
1733
  .woocommerce.zorem_admin_layout table.form-table th label{
1734
  font-weight: 400;
1735
  color: #444;
 
1736
  }
1737
  .woocommerce.zorem_admin_layout table.form-table p.description{
1738
  font-size: 0.9em;
@@ -1763,6 +1838,13 @@ p.tracking-preview-desc {
1763
  width: auto;
1764
  max-width: 400px;
1765
  min-width: 90px;
 
 
 
 
 
 
 
1766
  }
1767
  .trackship-icon{
1768
  width: 70px;
@@ -1772,6 +1854,9 @@ p.tracking-preview-desc {
1772
  text-align:left;
1773
  }
1774
  .add_tracking_number_form input[type=checkbox]{
 
 
 
1775
  margin: 0px 4px 0 4px;
1776
  }
1777
  .d_table{
@@ -1882,6 +1967,13 @@ p.tracking-preview-desc {
1882
  width: 100%;
1883
  height: 100%;
1884
  }
 
 
 
 
 
 
 
1885
  @media (max-width: 767px) {
1886
  .notice.ast-admin-notice {
1887
  padding: 10px;
@@ -2049,7 +2141,224 @@ section.widget_tab_section {
2049
  padding: 0;
2050
  margin: 0;
2051
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2052
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2053
  /*** RTL CSS ***/
2054
  .rtl.shipment_tracking_admin_settings #wpcontent {
2055
  padding-right: 0;
@@ -2159,7 +2468,8 @@ section.widget_tab_section {
2159
  width: 25%;
2160
  }
2161
  #search_provider{
2162
- width: 200px;
 
2163
  }
2164
  .provider-thumb {
2165
  height: 40px;
@@ -2168,6 +2478,13 @@ section.widget_tab_section {
2168
  width: 60%;
2169
  }
2170
  }
 
 
 
 
 
 
 
2171
  @media screen and (max-width: 750px) {
2172
  .d_table{
2173
  display:block;
@@ -2189,6 +2506,12 @@ section.widget_tab_section {
2189
  padding: 15px 0 15px;
2190
  margin-left: 30px;
2191
  }
 
 
 
 
 
 
2192
  }
2193
  @media screen and (max-width: 500px) {
2194
  .provider{
@@ -2205,4 +2528,7 @@ section.widget_tab_section {
2205
  #search_provider{
2206
  width: 100%;
2207
  }
 
 
 
2208
  }
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 {
178
  width: 280px;
179
  display: table-cell;
180
  vertical-align: top;
181
+ padding: 25px 0px 25px 20px;
182
+ }
183
+ .zorem_admin_sidebar_inner {
184
+ border-left: 1px solid #eee;
185
+ padding-left: 20px;
186
  }
187
  .zorem_admin_layout .zorem_admin_sidebar h3{
188
+ margin: 0 0 5px 0;
 
189
  color: #005B9A;
190
  border-bottom: 1px solid #eee;
191
+ padding: 0 0 10px;
192
+ }
193
+ .zorem_admin_layout .zorem_admin_sidebar h3.top-border{
194
+ padding: 10px 0 10px;
195
+ border-top: 1px solid #eee;
196
  }
197
  .zorem_admin_layout .zorem_admin_sidebar p,.zorem_admin_layout .zorem_admin_sidebar a{
198
+ margin: 0px 10px 0 0;
199
  }
200
  .zorem-sidebar-title {
201
  padding: 10px 0;
203
  color: #1ead94;
204
  line-height: 15px;
205
  }
206
+ .zorem-sidebar__section {
207
+ margin-bottom: 20px;
 
 
 
208
  }
209
  ..zorem-sidebar__section li:before {
210
  position: absolute;
213
  }
214
  .zorem-sidebar__section ul {
215
  position: relative;
216
+ margin: 10px 0 10px 0;
217
  }
218
  .zorem-sidebar__section li {
219
  list-style: none;
220
+ margin-bottom: 10px;
221
  }
222
  .zorem-sidebar__section li img.plugin_thumbnail {
223
  width: 60px;
234
  .zorem-sidebar__section div a {
235
  color: #0085ba;
236
  }
237
+ .sidebar_addon_inner {
238
+ border: 1px solid #e9e9e9;
239
+ padding: 0;
240
+ margin-top: 10px;
241
+ }
242
+ .sidebar_addon_logo{
243
+ max-width: 100%;
244
+ }
245
+ .addon_button_div {
246
+ padding: 10px 15px;
247
+ border-top: 1px solid #e9e9e9;
248
+ background-color: #fff;
249
+ }
250
+ .addon_widget_button .dashicons{
251
+ vertical-align:middle;
252
+ }
253
  .shipping_provider_tab {
254
  width: 100%;
255
  display: block;
341
  margin-top: 20px;
342
  padding: 10px 15px;
343
  }
 
 
 
 
344
  #woocommerce-advanced-shipment-tracking #advanced-shipment-tracking-form {
345
  display: none;
346
  }
351
  width: 30%;
352
  }
353
  .ast_admin_content .form-table th.titledesc {
354
+ width: 40%;
355
  }
356
  .woocommerce .ast_admin_content table.form-table th label .woocommerce-help-tip{
357
  margin: -4px 0 0 5px;
384
  .ast_admin_content .form-table .wp-color-result.button {
385
  margin: 0 6px 0px 0;
386
  }
387
+ #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 {
388
  width: 80px;
389
  }
390
  .color_field input[type=text] {
631
  .form-table td p{
632
  margin: 0;
633
  }
634
+ #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{
635
  border-bottom: 1px solid #eee;
636
  }
 
 
 
637
  input#wc_ast_api_key {
638
  width: 260px;
639
  }
657
  .ac-container .headig_label {
658
  padding: 15px 20px 15px 60px;
659
  margin-bottom: 0;
660
+ position: relative;
 
661
  display: block;
662
  cursor: default;
663
  color: #777;
847
  span.email_status_span i.enable {
848
  color: #83bd31;
849
  }
850
+ .tracking-content-div{
851
+ margin-bottom: 5px;
852
+ }
853
+ .ast-shipment-status-div{
854
+ margin-top: 10px;
855
+ }
856
+ .wcast-shipment-status-list .ast-shipment-status{
857
+ display: grid;
858
+ }
859
+ .wcast-shipment-status-list .ast-shipment-status.has_est_delivery_1{
860
+ display: block;
861
+ }
862
  .ast-shipment-status i {
863
+ font-size: 18px;
864
  }
865
  .label_content {
866
  font-weight: 600;
878
  margin-right: 10px;
879
  }
880
  .wcast-shipment-status-icon span{
881
+ margin-top: 0px;
882
  display: inline-block;
883
  }
884
  .wcast-shipment-status-icon .icon-invalid_user_key:before{
885
  content: ' ';
886
  background-image: url(icons/invalid-user-key-v4.png);
887
+ width: 16px;
888
+ height: 16px;
889
  background-size: cover;
890
  display: inline-block;
891
  vertical-align: middle;
893
  .wcast-shipment-status-icon .icon-delivered:before{
894
  content: ' ';
895
  background-image: url(icons/delivered-v4.png);
896
+ width: 16px;
897
+ height: 16px;
898
  background-size: cover;
899
  display: inline-block;
900
  vertical-align: middle;
902
  .wcast-shipment-status-icon .icon-in_transit:before{
903
  content: ' ';
904
  background-image: url(icons/in-transit-v4.png);
905
+ width: 16px;
906
+ height: 16px;
907
  background-size: cover;
908
  display: inline-block;
909
  vertical-align: middle;
911
  .wcast-shipment-status-icon .icon-pre_transit:before{
912
  content: ' ';
913
  background-image: url(icons/pre-transit-v4.png);
914
+ width: 16px;
915
+ height: 16px;
916
  background-size: cover;
917
  display: inline-block;
918
  vertical-align: middle;
920
  .wcast-shipment-status-icon .icon-out_for_delivery:before{
921
  content: ' ';
922
  background-image: url(icons/out-for-delivery-v4.png);
923
+ width: 16px;
924
+ height: 16px;
925
  background-size: cover;
926
  display: inline-block;
927
  vertical-align: middle;
929
  .wcast-shipment-status-icon .icon-available_for_pickup:before{
930
  content: ' ';
931
  background-image: url(icons/available-for-picup-v4.png);
932
+ width: 16px;
933
+ height: 16px;
934
  background-size: cover;
935
  display: inline-block;
936
  vertical-align: middle;
938
  .wcast-shipment-status-icon .icon-return_to_sender:before{
939
  content: ' ';
940
  background-image: url(icons/return-to-sender-v4.png);
941
+ width: 16px;
942
+ height: 16px;
943
  background-size: cover;
944
  display: inline-block;
945
  vertical-align: middle;
947
  .wcast-shipment-status-icon .icon-failure:before{
948
  content: ' ';
949
  background-image: url(icons/failure-v4.png);
950
+ width: 16px;
951
+ height: 16px;
952
  background-size: cover;
953
  display: inline-block;
954
  vertical-align: middle;
956
  .wcast-shipment-status-icon .icon-unknown:before{
957
  content: ' ';
958
  background-image: url(icons/unknown-v4.png);
959
+ width: 16px;
960
+ height: 16px;
961
  background-size: cover;
962
  display: inline-block;
963
  vertical-align: middle;
965
  .wcast-shipment-status-icon .icon-pending_trackship:before{
966
  content: ' ';
967
  background-image: url(icons/pending-trackship-v4.png);
968
+ width: 16px;
969
+ height: 16px;
970
  background-size: cover;
971
  display: inline-block;
972
  vertical-align: middle;
974
  .wcast-shipment-status-icon .icon-INVALID_TRACKING_NUM:before{
975
  content: ' ';
976
  background-image: url(icons/invalid-v3.png);
977
+ width: 16px;
978
+ height: 16px;
979
  background-size: cover;
980
  display: inline-block;
981
  vertical-align: middle;
983
  .wcast-shipment-status-icon .icon-wrong_shipping_provider:before{
984
  content: ' ';
985
  background-image: url(icons/invalid-v3.png);
986
+ width: 16px;
987
+ height: 16px;
988
  background-size: cover;
989
  display: inline-block;
990
  vertical-align: middle;
992
  .wcast-shipment-status-icon .icon-default:before{
993
  content: ' ';
994
  background-image: url(icons/invalid-v3.png);
995
+ width: 16px;
996
+ height: 16px;
997
  background-size: cover;
998
  display: inline-block;
999
  vertical-align: middle;
1001
  .ast-shipment-status .icon-default:before{
1002
  content: ' ';
1003
  background-image: url(icons/invalid-v3.png);
1004
+ width: 16px;
1005
+ height: 16px;
1006
  background-size: cover;
1007
  display: inline-block;
1008
+ vertical-align: sub;
1009
+ margin-right: 5px;
1010
  }
1011
  .ast-shipment-status .icon-INVALID_TRACKING_NUM:before{
1012
  content: ' ';
1013
  background-image: url(icons/invalid-v3.png);
1014
+ width: 16px;
1015
+ height: 16px;
1016
  background-size: cover;
1017
  display: inline-block;
1018
+ vertical-align: sub;
1019
+ margin-right: 5px;
1020
  }
1021
  .ast-shipment-status .icon-wrong_shipping_provider:before{
1022
  content: ' ';
1023
  background-image: url(icons/invalid-v3.png);
1024
+ width: 16px;
1025
+ height: 16px;
1026
  background-size: cover;
1027
  display: inline-block;
1028
+ vertical-align: sub;
1029
+ margin-right: 5px;
1030
  }
1031
  .ast-shipment-status .icon-delivered:before{
1032
  content: ' ';
1033
  background-image: url(icons/delivered-v4.png);
1034
+ width: 16px;
1035
+ height: 16px;
1036
  background-size: cover;
1037
  display: inline-block;
1038
+ vertical-align: sub;
1039
+ margin-right: 5px;
1040
  }
1041
  .ast-shipment-status .icon-in_transit:before{
1042
  content: ' ';
1043
  background-image: url(icons/in-transit-v4.png);
1044
+ width: 16px;
1045
+ height: 16px;
1046
  background-size: cover;
1047
  display: inline-block;
1048
+ vertical-align: sub;
1049
+ margin-right: 5px;
1050
  }
1051
  .ast-shipment-status .icon-pre_transit:before{
1052
  content: ' ';
1053
  background-image: url(icons/pre-transit-v4.png);
1054
+ width: 16px;
1055
+ height: 16px;
1056
  background-size: cover;
1057
  display: inline-block;
1058
+ vertical-align: sub;
1059
+ margin-right: 5px;
1060
  }
1061
  .ast-shipment-status .icon-out_for_delivery:before{
1062
  content: ' ';
1063
  background-image: url(icons/out-for-delivery-v4.png);
1064
+ width: 16px;
1065
+ height: 16px;
1066
  background-size: cover;
1067
  display: inline-block;
1068
+ vertical-align: sub;
1069
+ margin-right: 5px;
1070
  }
1071
  .ast-shipment-status .icon-available_for_pickup:before{
1072
  content: ' ';
1073
  background-image: url(icons/available-for-picup-v4.png);
1074
+ width: 16px;
1075
+ height: 16px;
1076
  background-size: cover;
1077
  display: inline-block;
1078
+ vertical-align: sub;
1079
+ margin-right: 5px;
1080
  }
1081
  .ast-shipment-status .icon-return_to_sender:before{
1082
  content: ' ';
1083
  background-image: url(icons/return-to-sender-v4.png);
1084
+ width: 16px;
1085
+ height: 16px;
1086
  background-size: cover;
1087
  display: inline-block;
1088
+ vertical-align: sub;
1089
+ margin-right: 5px;
1090
  }
1091
  .ast-shipment-status .icon-failure:before{
1092
  content: ' ';
1093
  background-image: url(icons/failure-v4.png);
1094
+ width: 16px;
1095
+ height: 16px;
1096
  background-size: cover;
1097
  display: inline-block;
1098
+ vertical-align: sub;
1099
+ margin-right: 5px;
1100
  }
1101
  .ast-shipment-status .icon-unknown:before{
1102
  content: ' ';
1103
  background-image: url(icons/unknown-v4.png);
1104
+ width: 16px;
1105
+ height: 16px;
1106
  background-size: cover;
1107
  display: inline-block;
1108
+ vertical-align: sub;
1109
+ margin-right: 5px;
1110
  }
1111
  .ast-shipment-status .icon-pending_trackship:before{
1112
  content: ' ';
1113
  background-image: url(icons/pending-trackship-v4.png);
1114
+ width: 16px;
1115
+ height: 16px;
1116
  background-size: cover;
1117
  display: inline-block;
1118
+ vertical-align: sub;
1119
+ margin-right: 5px;
1120
  }
1121
  .ast-shipment-status .icon-invalid_user_key:before{
1122
  content: ' ';
1123
  background-image: url(icons/invalid-user-key-v4.png);
1124
+ width: 16px;
1125
+ height: 16px;
1126
  background-size: cover;
1127
  display: inline-block;
1128
+ vertical-align: sub;
1129
+ margin-right: 5px;
1130
  }
1131
 
1132
  .wcast-shipment-status-icon i {
1145
  .icon-pending_trackship {
1146
  color: #CCCC00;
1147
  }
1148
+ .wcast-shipment-status-list .wcast-shipment-est-delivery {
1149
  display: block;
1150
  }
1151
  .showif_has_est_delivery_0, .showif_has_est_delivery_1 {
1172
  font-size: 11px;
1173
  }
1174
  .wcast-tracking-number-list li, .wcast-shipment-status-list li {
1175
+ position: relative;
1176
+ border: 1px solid #eee;
1177
+ padding: 10px;
1178
  min-height: 50px;
1179
  box-sizing: border-box;
1180
+ background-color: #fff;
1181
  }
1182
  a.inline_tracking_delete{
1183
  display:none;
1279
  padding-bottom: 40px;
1280
  }
1281
  .woocommerce_page_woocommerce-advanced-shipment-tracking #wpfooter{
1282
+ background: #f7fafc;
1283
  }
1284
  .woocommerce_page_woocommerce-advanced-shipment-tracking .white-bg{
1285
  background: #fff;
1413
  font-weight: 500;
1414
  font-size: 14px;
1415
  }
1416
+ .provider_list .row-1 {
1417
  margin-bottom: 0;
1418
  display: flex;
1419
  align-items: start;
1420
  }
1421
+ .provider_list .row-1:after {
1422
  content: '';
1423
  clear: both;
1424
  display: block;
1425
  }
1426
+ .provider_list .row-2 {
1427
  margin-top: 15px;
1428
  border-top: 1px solid #ccc;
1429
  padding-top: 10px;
1443
  float: right;
1444
  padding-right: 10px;
1445
  }
1446
+ .provider_list .row-2:after{
1447
  content:'';
1448
  clear:both;
1449
  display: block;
1454
  }
1455
  .status_filter {
1456
  margin: 10px 8px 10px 0;
1457
+ display:inline-block;
1458
  }
1459
  .status_filter a{
1460
+ font-size: 1.1em;
1461
  padding: 0 5px;
1462
  text-decoration: none;
1463
  }
1469
  color:#74C2E1;
1470
  }
1471
  .search_section {
1472
+ display: inline-block;
 
1473
  }
1474
  #search_provider{
1475
+ width: 264px;
1476
+ min-width: 280px;
1477
+ border: 1px solid #ccc;
1478
+ border-radius: 3px;
1479
+ padding: 0 0 0 30px;
1480
+ line-height: 2;
1481
+ min-height: 30px;
1482
  }
1483
  .search_section .search-icon{
1484
  position: absolute;
1485
+ padding: 5px 6px;
1486
+ color: #005b9a;
1487
  }
1488
  .provider_settings {
1489
  display: inline-block;
1498
  display:block;
1499
  }
1500
  .provider_top {
1501
+ position: relative;
1502
+ margin: 5px 0 10px 0;
1503
+ padding-bottom: 5px;
1504
+ border-bottom: 1px solid #e9e9e9;
1505
  }
1506
+ /* Tooltip container */
1507
+ .provider_settings .tooltip {
1508
+ position: relative;
1509
+ display: inline-block;
1510
  }
1511
 
1512
+ /* Tooltip text */
1513
+ .provider_settings .tooltip .tooltiptext {
1514
+ visibility: hidden;
1515
+ width: 100px;
1516
+ background-color: black;
1517
+ color: #fff;
1518
+ text-align: center;
1519
+ padding: 5px 0;
1520
+ border-radius: 6px;
1521
  position: absolute;
1522
+ z-index: 1;
 
 
 
 
 
 
 
 
 
 
 
 
1523
  }
1524
+ .provider_settings .tooltip-top{
1525
+ bottom: 125%;
1526
+ left: 20%;
1527
+ margin-left: -52px;
 
1528
  }
1529
+ .provider_settings .tooltip .tooltiptext::after {
1530
+ content: " ";
1531
+ position: absolute;
1532
+ top: 100%; /* At the bottom of the tooltip */
1533
+ left: 58%;
1534
+ margin-left: -5px;
1535
+ border-width: 5px;
1536
+ border-style: solid;
1537
+ border-color: black transparent transparent transparent;
1538
  }
1539
+ /* Show the tooltip text when you mouse over the tooltip container */
1540
+ .provider_settings .tooltip:hover .tooltiptext {
1541
+ visibility: visible;
1542
  }
 
 
 
1543
  .dropdown_menu{
1544
  cursor: pointer;
1545
  padding: 0 5px 10px;
1546
  }
1547
+ ul.provider_settings_ul {
1548
+ margin: 5px 0 0;
1549
+ }
1550
+ .provider_settings_ul li {
1551
+ display: inline-block;
1552
+ margin: 0 5px;
1553
+ }
1554
+ .provider_settings_ul li a {
1555
+ text-decoration: none;
 
 
 
 
 
1556
  }
1557
  .mdl-dialog.add_custom_dialog{
1558
  width: 600px;
1598
  .popuprow {
1599
  display: inline-block;
1600
  vertical-align: middle;
1601
+ max-width: 310px;
1602
  background: #f9f9f9;
1603
+ padding: 15px 30px;
1604
  position: relative;
1605
  z-index: 10;
1606
  border-radius: 2px;
1608
  width: calc(100% - 5px);
1609
  max-height: 90%;
1610
  overflow-y: overlay;
1611
+ text-align: left;
1612
  }
1613
+ .how_to_video_popup .popuprow,.ts_video_popup .popuprow,.tracking_item_video_popup .popuprow{
1614
  max-width: 700px;
1615
  padding: 0;
1616
  }
1617
  .trackingpopup_row {
1618
  display: inline-block;
1619
  vertical-align: middle;
1620
+ max-width: 310px;
1621
+ text-align:left;
1622
  background: #f9f9f9;
1623
+ padding: 15px 30px;
1624
  position: relative;
1625
  z-index: 10;
1626
  border-radius: 2px;
1641
  line-height: 24px;
1642
  color: #0d0d0d;
1643
  width: 100%;
1644
+ margin-bottom: 10px;
 
1645
  }
1646
  .popupwrapper input[type=text].image_path,.trackingpopup_wrapper input[type=text].image_path{
1647
+ width: 77.5%;
1648
  }
1649
  .popupwrapper select,.popupwrapper .select2,.trackingpopup_wrapper select,.trackingpopup_wrapper .select2{
1650
  line-height: 24px;
1651
  color: #0d0d0d;
1652
  width: 100%;
1653
  margin-bottom: 10px;
1654
+ height: 32px;
1655
+ }
1656
+ .custom_provider_instruction{
1657
+ text-align:left;
1658
+ margin-bottom: 10px;
1659
+ }
1660
+ .add_provider_popup .popuprow{
1661
+ max-width: 310px;
1662
+ text-align: left;
1663
+ }
1664
+ .popupwrapper #upload_image_button{
1665
+ min-height: 30px;
1666
  }
1667
  .close-button{
1668
  background: #000 none repeat scroll 0 0;
1680
  }
1681
  .change_order_to_shipped_field ul li {
1682
  display: inline-block;
1683
+ margin-right: 5px;
1684
  }
1685
  .provider-status .mdl-switch{
1686
  width: auto;
1765
  .woocommerce.zorem_admin_layout table.form-table.heading-table{
1766
  margin: 25px 0 0;
1767
  border-bottom: 0;
1768
+ background: #f5f8fa;
1769
  }
1770
  #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{
1771
  border-bottom: 0;
1776
  .woocommerce.zorem_admin_layout table.form-table.heading-table td h3{
1777
  margin: 0;
1778
  color:#005B9A;
1779
+ font-weight: 400;
1780
  }
1781
  .woocommerce.zorem_admin_layout table.form-table.heading-table td.button-column{
1782
  text-align:right;
1788
  margin: 25px 0 0;
1789
  border-bottom: 0;
1790
  padding: 15px;
1791
+ font-weight: 400;
1792
  }
1793
  .zorem_admin_layout h3.table-heading:after{
1794
  content:'';
1799
  }
1800
  .woocommerce.zorem_admin_layout table.form-table th{
1801
  padding: 20px 24px 20px 15px;
1802
+ vertical-align: middle;
1803
  }
1804
  .woocommerce.zorem_admin_layout table.form-table td{
1805
  padding: 15px 15px;
1807
  .woocommerce.zorem_admin_layout table.form-table th label{
1808
  font-weight: 400;
1809
  color: #444;
1810
+ cursor: auto;
1811
  }
1812
  .woocommerce.zorem_admin_layout table.form-table p.description{
1813
  font-size: 0.9em;
1838
  width: auto;
1839
  max-width: 400px;
1840
  min-width: 90px;
1841
+ line-height: 20px;
1842
+ }
1843
+ .woocommerce.zorem_admin_layout table.form-table .input-text{
1844
+ width: 100%;
1845
+ max-width: 400px;
1846
+ min-width: 90px;
1847
+ line-height: 20px;
1848
  }
1849
  .trackship-icon{
1850
  width: 70px;
1854
  text-align:left;
1855
  }
1856
  .add_tracking_number_form input[type=checkbox]{
1857
+ margin: 0px 4px 0 0px;
1858
+ }
1859
+ .add_tracking_number_form .ast-product-table input[type=checkbox]{
1860
  margin: 0px 4px 0 4px;
1861
  }
1862
  .d_table{
1967
  width: 100%;
1968
  height: 100%;
1969
  }
1970
+
1971
+ .zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap label{
1972
+ margin: 0 5px 0 0!important;
1973
+ }
1974
+ .woocommerce.zorem_admin_layout .ast_admin_content .wp-picker-container .wp-picker-input-wrap .input-text{
1975
+ line-height: 15px;
1976
+ }
1977
  @media (max-width: 767px) {
1978
  .notice.ast-admin-notice {
1979
  padding: 10px;
2141
  padding: 0;
2142
  margin: 0;
2143
  }
2144
+ span.tracking_product_list {
2145
+ display: list-item;
2146
+ list-style: none;
2147
+ }
2148
+
2149
+ .addons_inner_container{
2150
+ display: -webkit-box;
2151
+ display: -ms-flexbox;
2152
+ display: flex;
2153
+ -ms-flex-flow: wrap;
2154
+ flex-flow: wrap;
2155
+ -webkit-box-pack: justify;
2156
+ -ms-flex-pack: justify;
2157
+ justify-content: space-between;
2158
+ }
2159
+ .addons_inner_container .ast_addons_section{
2160
+ width: calc(50% - 12.5px);
2161
+ position: relative;
2162
+ padding: 0 0 0;
2163
+ }
2164
+ .ast_admin_content .ast_addons_section .form-table th.titledesc{
2165
+ width: 35%;
2166
+ }
2167
+ .ast_admin_content .ast_addons_section span.api_connected{
2168
+ line-height: 36px;
2169
+ height: 40px;
2170
+ padding: 10px 20px;
2171
+ font-size: 15px;
2172
+ }
2173
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td{
2174
+ padding:0;
2175
+ }
2176
+ .woocommerce.zorem_admin_layout table.form-table.heading-table tr.addons_header td img{
2177
+ width:100%;
2178
+ }
2179
+ .ast_addons_section .submit .btn_ast2{
2180
+ display: inline-block;
2181
+ float: none;
2182
+ }
2183
+ .ast_addons_section .submit .pesan{
2184
+ width: 65%;
2185
+ /*display: inline-block;*/
2186
+ vertical-align: bottom;
2187
+ margin-left: 5px;
2188
+ line-height: 15px;
2189
+ }
2190
+ .ast_addons_section .submit{
2191
+ margin: 0;
2192
+ }
2193
+ .ast_addons_section .submit .pesan.license_active{
2194
+ color:green;
2195
+ }
2196
+ .ast_addons_section .submit:after{
2197
+ display: block;
2198
+ content: '';
2199
+ clear: both;
2200
+ }
2201
+ .ts_addons_header,.tracking_item_addons_header{
2202
+ position: relative;
2203
+ display: inline-block;
2204
+ cursor: pointer;
2205
+ }
2206
+ .ts_addons_header:before,.tracking_item_addons_header:before{
2207
+ color: #eee;
2208
+ }
2209
+ .ts_addons_header:after,.tracking_item_addons_header:after{
2210
+ position:absolute;
2211
+ top: 50%;
2212
+ left: 50%;
2213
+ transform: translate(-50%, -50%);
2214
+ -webkit-transform: translate(-50%, -50%);
2215
+ content: "\f01d";
2216
+ font-family: FontAwesome;
2217
+ font-size: 100px;
2218
+ color: #fff;
2219
+ opacity: .8;
2220
+ text-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
2221
+ }
2222
+ .woocommerce.zorem_admin_layout .license_div{
2223
+ /*height: 118px;*/
2224
+ background: #fff;
2225
+ border: 1px solid #eee;
2226
+ margin-top: 0;
2227
+ margin-bottom: 0px;
2228
+ vertical-align: middle;
2229
+ padding-top: 20px;
2230
+ padding-bottom: 20px;
2231
+ }
2232
+ .woocommerce.zorem_admin_layout .license_div table.form-table{
2233
+ background: 0;
2234
+ border: 0;
2235
+ }
2236
+ /*.woocommerce.zorem_admin_layout .license_div table.form-table tr{
2237
+ height:50px;
2238
+ }*/
2239
+ .ast_admin_content .ast_addons_section .license_div .form-table th.titledesc {
2240
+ padding: 0px 24px 0px 15px;
2241
+ vertical-align: middle;
2242
+ }
2243
+ .ast_admin_content .ast_addons_section .license_div .form-table td {
2244
+ padding: 0 15px;
2245
+ }
2246
+ #wc_ast_addons_form .license_div .form-table tr{
2247
+ border-bottom:0;
2248
+ }
2249
+ #woocommerce-advanced-shipment-tracking.postbox{
2250
+ background: #f9f9f9;
2251
+ }
2252
+
2253
+ .order-status-table tr.disable_row{
2254
+ background: #eee;
2255
+ opacity: 0.7;
2256
+ }
2257
+ .order-status-table tr.disable_row td{
2258
+ pointer-events: none;
2259
+ }
2260
+ .order-status-table tr.disable_row td:first-child{
2261
+ pointer-events: auto;
2262
+ }
2263
+ .order-status-table td:last-child{
2264
+ text-align:right;
2265
+ }
2266
+ .order-status-table .order-label{
2267
+ display: -webkit-inline-box;
2268
+ display: -webkit-inline-flex;
2269
+ display: inline-flex;
2270
+ line-height: 2.2em;
2271
+ color: #777;
2272
+ background: #e5e5e5;
2273
+ border-radius: 4px;
2274
+ border-bottom: 1px solid rgba(0,0,0,.05);
2275
+ margin: -.25em 0;
2276
+ cursor: inherit!important;
2277
+ white-space: nowrap;
2278
+ max-width: 100%;
2279
+ padding: 0 1em;
2280
+ }
2281
+ .order-status-table tr td.status-label-column{
2282
+ width:130px;
2283
+ }
2284
+ .form-table .multiple_checkbox {
2285
+ display: inline-block;
2286
+ padding-right: 5px;
2287
+ padding-bottom: 5px;
2288
+ min-width: 160px;
2289
+ }
2290
+ .order-status-table .wp-picker-container,.tracking_page_table .wp-picker-container {
2291
+ display: inline-block;
2292
+ vertical-align: middle;
2293
+ }
2294
+ .form-table.order-status-table td .send_email_label {
2295
+ margin: 0 5px !important;
2296
+ vertical-align: inherit;
2297
+ }
2298
+ .add_custom_p_a{
2299
+ font-weight: 500;
2300
+ font-size: 14px;
2301
+ display: block;
2302
+ text-align: center;
2303
+ margin-top: 14px;
2304
+ }
2305
+ .add_custom_inner .dashicons{
2306
+ display: block;
2307
+ text-align: center;
2308
+ margin: 10px auto;
2309
+ font-size: 35px;
2310
+ width: 40px;
2311
+ height: 38px;
2312
+ cursor: pointer;
2313
+ color:#005B9A;
2314
+ }
2315
+ .add_custom_provider_div{
2316
+ background: #fff;
2317
+ border: 1px solid rgba(116, 194, 225, 0.5);
2318
+ padding: 10px 10px 0px 10px;
2319
+ }
2320
+ .ast_admin_content .tracking-layout-table.form-table th.titledesc{
2321
+ width: 50%;
2322
+ }
2323
+ .tracking_color_label{
2324
+ line-height:30px;
2325
+ }
2326
+ .tracking_layout_options_div label{
2327
+ margin-bottom: 5px;
2328
+ display: block;
2329
+ }
2330
+ span.select_t_layout_section {
2331
+ display: inline-block;
2332
+ width: 45%;
2333
+ margin-right: 10px;
2334
+ margin-top: 5px;
2335
+ }
2336
+ .tracking-layout-table .radio-img {
2337
+ position: absolute;
2338
+ left: -9999px;
2339
+ }
2340
+
2341
+ .tracking-layout-table .radio-img:checked + label>img {
2342
+ border: 1px solid #74C2E1;
2343
+ }
2344
 
2345
+ /* Stuff after this is only to make things more pretty */
2346
+ .tracking-layout-table .radio-img + label>img {
2347
+ border: 1px solid #bdbdbd;
2348
+ width: 100%;
2349
+ border-radius: 5px;
2350
+ }
2351
+ .tracking_layout_preview_1,.tracking_layout_preview_2{
2352
+ text-align:center;
2353
+ }
2354
+ table.form-table.heading-table.disable_tracking_page {
2355
+ background: #f5f8fa;
2356
+ color: #222629;
2357
+ }
2358
+ .tracking_preview_iframe{
2359
+ width:100%;
2360
+ display:none;
2361
+ }
2362
  /*** RTL CSS ***/
2363
  .rtl.shipment_tracking_admin_settings #wpcontent {
2364
  padding-right: 0;
2468
  width: 25%;
2469
  }
2470
  #search_provider{
2471
+ width: 210px;
2472
+ min-width: 210px;
2473
  }
2474
  .provider-thumb {
2475
  height: 40px;
2478
  width: 60%;
2479
  }
2480
  }
2481
+ @media screen and (max-width: 820px) {
2482
+ .nav_doc_section{
2483
+ float: none;
2484
+ margin-left: 30px;
2485
+ margin-right: 0;
2486
+ }
2487
+ }
2488
  @media screen and (max-width: 750px) {
2489
  .d_table{
2490
  display:block;
2506
  padding: 15px 0 15px;
2507
  margin-left: 30px;
2508
  }
2509
+ .status_filter{
2510
+ width: auto;
2511
+ }
2512
+ .provider_settings{
2513
+ float: none;
2514
+ }
2515
  }
2516
  @media screen and (max-width: 500px) {
2517
  .provider{
2528
  #search_provider{
2529
  width: 100%;
2530
  }
2531
+ .plugin-logo{
2532
+ max-width: 300px;
2533
+ }
2534
  }
assets/css/customizer-styles.css CHANGED
@@ -18,6 +18,16 @@
18
  vertical-align: middle;
19
  background-repeat: no-repeat;
20
  }
 
 
 
 
 
 
 
 
 
 
21
  #accordion-panel-wcast_emails_panel>h3:before{
22
  font-family: 'Dashicons';
23
  font-size: 20px;
@@ -178,4 +188,8 @@
178
  }
179
  .customize-control-description{
180
  font-size: 12px;
 
 
 
 
181
  }
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';
33
  font-size: 20px;
188
  }
189
  .customize-control-description{
190
  font-size: 12px;
191
+ }
192
+ .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{
193
+ border-top: 0;
194
+ padding-top: 0;
195
  }
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/invalid-v3.png CHANGED
Binary file
assets/css/icons/updated-tracking-icon.png ADDED
Binary file
assets/images/Tracking-Per-Item-addon-sidebar.png ADDED
Binary file
assets/images/Tracking-Per-Item-addon.jpg ADDED
Binary file
assets/images/ast-addons-notice-image.jpg ADDED
Binary file
assets/images/smswoo.png 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/trackship-sidebar-addons.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
  }
@@ -58,8 +79,20 @@ jQuery( function( $ ) {
58
  checked = 'change_order_to_shipped';
59
  } else{
60
  checked = 'no';
61
- }
 
 
 
 
 
 
 
 
 
 
 
62
 
 
63
  var data = {
64
  action: 'wc_shipment_tracking_save_form',
65
  order_id: woocommerce_admin_meta_boxes.post_id,
@@ -68,34 +101,45 @@ jQuery( function( $ ) {
68
  custom_tracking_link: $( 'input#custom_tracking_link' ).val(),
69
  tracking_number: $( 'input#tracking_number' ).val(),
70
  date_shipped: $( 'input#date_shipped' ).val(),
 
71
  change_order_to_shipped: checked,
72
  security: $( '#wc_shipment_tracking_create_nonce' ).val()
73
  };
74
-
75
-
76
- $.post( woocommerce_admin_meta_boxes.ajax_url, data, function( response ) {
77
- $( '#advanced-shipment-tracking-form' ).unblock();
78
- if ( response != '-1' ) {
79
- $( '#advanced-shipment-tracking-form' ).hide();
80
- $( '#woocommerce-advanced-shipment-tracking #tracking-items' ).append( response );
81
- $( '#woocommerce-advanced-shipment-tracking button.button-show-tracking-form' ).show();
82
- $( '#tracking_provider' ).selectedIndex = 0;
83
- $( '#custom_tracking_provider' ).val( '' );
84
- $( 'input#custom_tracking_link' ).val( '' );
85
- $( 'input#tracking_number' ).val( '' );
86
- $( 'input#date_shipped' ).val( '' );
87
- if(checked == 'change_order_to_shipped'){
88
- jQuery('#order_status').val('wc-completed');
89
- jQuery('#order_status').select2().trigger('change');
90
- 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>');
91
- } else if(checked == 'change_order_to_partial_shipped'){
92
- jQuery('#order_status').val('wc-partial-shipped');
93
- jQuery('#order_status').select2().trigger('change');
94
- 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>');
95
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
96
  }
97
- });
98
-
99
  return false;
100
  },
101
 
@@ -229,11 +273,47 @@ function modelMatcher (params, data) {
229
  }
230
 
231
  jQuery(document).on("click", ".add_inline_tracking", function(){
 
 
 
 
 
 
 
 
 
232
  var order_id = jQuery(this).attr('href');
233
  order_id = order_id.replace("#", "");
234
  jQuery('.add_tracking_number_form #order_id').val(order_id);
235
- jQuery('.add_tracking_popup').show();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
236
  });
 
237
  jQuery(document).on("click", ".popupclose", function(){
238
  jQuery('.add_tracking_popup').hide();
239
  });
@@ -258,7 +338,7 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
258
  showerror(tracking_number);
259
  error = true;
260
  } else{
261
- var pattern = /^[0-9a-zA-Z \b]+$/;
262
  if(!pattern.test(tracking_number.val())){
263
  showerror(tracking_number);
264
  error = true;
@@ -275,9 +355,28 @@ jQuery(document).on("submit", "#add_tracking_number_form", function(){
275
  }
276
 
277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  if(error == true){
279
  return false;
280
  }
 
281
  jQuery("#add_tracking_number_form").block({
282
  message: null,
283
  overlayCSS: {
@@ -336,19 +435,6 @@ jQuery(document).on("click", ".inline_tracking_delete", function(){
336
  }
337
  });
338
 
339
- /*jQuery(document).on("submit", ".post-type-shop_order #posts-filter", function(){
340
- var form = jQuery('.post-type-shop_order #posts-filter');
341
- var bulk_select = jQuery('#bulk-action-selector-top').val();
342
-
343
- if(bulk_select == 'get_shipment_status'){
344
- var checked_checkbox = jQuery(".type-shop_order .check-column input[type='checkbox']:checked");
345
- if(checked_checkbox.length > 100){
346
- alert(ast_admin_js.i18n.get_shipment_status_message);
347
- return false;
348
- }
349
- }
350
- });*/
351
-
352
  function showerror(element){
353
  element.css("border","1px solid red");
354
  }
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
  }
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: {
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();
@@ -156,6 +330,19 @@ jQuery(document).on("change", "#customize-control-woocommerce_customer_delivered
156
  } );
157
  } ( wp.customize ) );
158
 
 
 
 
 
 
 
 
 
 
 
 
 
 
159
  (function ( api ) {
160
  api.section( 'default_controls_section', function( section ) {
161
  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();
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 ) {
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
@@ -240,6 +240,22 @@
240
  });
241
  });
242
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
243
 
244
  wp.customize( 'remove_trackship_branding', function( value ) {
245
  value.bind( function( remove_trackship_branding ) {
@@ -345,4 +361,39 @@
345
  }
346
  });
347
  });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
348
  } )( jQuery );
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,30 +9,25 @@ 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
 
26
  jQuery(document).on("click", "#wc_ast_status_partial_shipped", function(){
27
-
28
  if(jQuery(this).prop("checked") == true){
29
- jQuery('.partial_shipped_status_label_color_th').show();
30
- jQuery('#partial-shipped').closest( ".mdl-list__item-secondary-action" ).show();
31
  } else{
32
- jQuery('.partial_shipped_status_label_color_th').hide();
33
- jQuery('#partial-shipped').closest( ".mdl-list__item-secondary-action" ).hide();
34
- }
35
-
 
 
 
 
 
36
  });
37
 
38
  jQuery(document).on("change", "#wc_ast_select_email_type", function(){
@@ -85,10 +80,60 @@ jQuery( document ).ready(function() {
85
  jQuery('.partial_shipped_status_label_color_th').hide();
86
  }
87
 
88
- jQuery('#wc_ast_status_label_color').wpColorPicker();
89
- jQuery('#wc_ast_status_partial_shipped_label_color').wpColorPicker();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  jQuery('.color_field input').wpColorPicker();
91
  });
 
 
 
 
 
 
 
 
 
 
 
 
92
  jQuery(document).on("click", '#variable_tag #var_input', function(e){
93
  jQuery(this).focus();
94
  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(){
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,8 +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
 
66
  },
@@ -201,6 +240,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;
@@ -254,11 +294,30 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
254
  tracking.tracking_number = cells[2];
255
  tracking.date_shipped = cells[3];
256
  tracking.status_shipped = cells[4];
 
 
 
 
 
 
257
  if(tracking.order_id){
258
  trackings.push(tracking);
259
  }
260
  }
261
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
262
  var csv_length = trackings.length;
263
 
264
  jQuery("#wc_ast_upload_csv_form")[0].reset();
@@ -267,12 +326,19 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
267
  querySelector.MaterialProgress.setProgress(0);
268
  jQuery("#p1").show();
269
  jQuery(trackings).each(function(index, element) {
270
-
 
271
  var order_id = trackings[index]['order_id'];
272
  var tracking_provider = trackings[index]['tracking_provider'];
273
  var tracking_number = trackings[index]['tracking_number'];
274
  var date_shipped = trackings[index]['date_shipped'];
275
- var status_shipped = trackings[index]['status_shipped'];
 
 
 
 
 
 
276
 
277
  var data = {
278
  action: 'wc_ast_upload_csv_form_update',
@@ -281,6 +347,8 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
281
  tracking_number: tracking_number,
282
  date_shipped: date_shipped,
283
  status_shipped: status_shipped,
 
 
284
  replace_tracking_info: replace_tracking_info,
285
  trackings: trackings,
286
  };
@@ -296,6 +364,7 @@ jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
296
 
297
  jQuery('.csv_upload_status').append(data);
298
  var progress = (index+1)*100/csv_length;
 
299
  jQuery('.progress_title').show();
300
  querySelector.MaterialProgress.setProgress(progress);
301
  if(progress == 100){
@@ -475,9 +544,9 @@ jQuery(document).on( "input", "#search_provider", function(){
475
  data: ajax_data,
476
  type: 'POST',
477
  success: function(response) {
478
- jQuery(".provider_list").replaceWith(response);
479
- //jQuery("#content1 ").unblock();
480
- componentHandler.upgradeAllRegistered();
481
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
482
  jQuery('.provider').each(function() {
483
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
@@ -487,11 +556,17 @@ jQuery(document).on( "input", "#search_provider", function(){
487
  var hascountry= country.indexOf(searchvalue)!==-1;
488
 
489
  if (hasprovider || hascountry) {
490
- jQuery(this).show();
491
- } else {
 
492
  jQuery(this).hide();
493
  }
494
  });
 
 
 
 
 
495
  },
496
  error: function(response) {
497
  }
@@ -506,6 +581,8 @@ jQuery(document).on("click", ".popupclose", function(){
506
  jQuery('.edit_provider_popup').hide();
507
  jQuery('.sync_provider_popup').hide();
508
  jQuery('.how_to_video_popup').hide();
 
 
509
  });
510
  jQuery(document).on("click", ".close_synch_popup", function(){
511
  jQuery('.sync_provider_popup').hide();
@@ -596,7 +673,7 @@ jQuery(document).on("click", ".remove", function(){
596
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
597
  if (r === true) {
598
  } else {
599
- $("#content1").unblock();
600
  return;
601
  }
602
  var id = jQuery(this).data('pid');
@@ -646,9 +723,9 @@ jQuery(document).on("click", ".edit_provider", function(){
646
  jQuery('.edit_provider_popup #thumb_url').val(image);
647
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
648
  jQuery('.edit_provider_popup #provider_id').val(id);
649
- $(".edit_provider_popup #shipping_country").val(shipping_country);
650
  jQuery('.edit_provider_popup').show();
651
- //console.log(provider_name);
652
  },
653
  error: function(response) {
654
  console.log(response);
@@ -728,7 +805,7 @@ jQuery(document).on("click", ".reset_active", function(){
728
  var r = confirm( 'Do you really want to change all provider status to active?' );
729
  if (r === true) {
730
  } else {
731
- $("#content1").unblock();
732
  return;
733
  }
734
 
@@ -764,7 +841,7 @@ jQuery(document).on("click", ".reset_inactive", function(){
764
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
765
  if (r === true) {
766
  } else {
767
- $("#content1").unblock();
768
  return;
769
  }
770
 
@@ -991,19 +1068,201 @@ jQuery(document).on("click", ".bulk_shipment_status_button_for_empty_balance", f
991
  return false;
992
  });
993
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
994
  jQuery(document).on("click", ".tab_input", function(){
995
  var tab = jQuery(this).data('tab');
996
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
997
  window.history.pushState({path:url},'',url);
998
  });
 
 
 
 
 
999
 
1000
  jQuery(document).on("click", ".open_video_popup", function(){
1001
  jQuery('.how_to_video_popup').show();
1002
  });
1003
 
 
 
 
 
 
 
 
1004
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
1005
  jQuery('#how_to_video').each(function(index) {
1006
  jQuery(this).attr('src', jQuery(this).attr('src'));
1007
  return false;
1008
  });
1009
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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.success);
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.error+'</span>');
100
+ }
101
+
102
+ jQuery('#saveS').prop('disabled', false).val(btn_value);
103
  });
104
 
105
  },
240
  });
241
  jQuery(document).on("submit", "#wc_ast_upload_csv_form", function(){
242
  jQuery('.csv_upload_status li').remove();
243
+ jQuery('.bulk_upload_status_tr').hide();
244
  jQuery('.progress_title').hide();
245
  var form = jQuery('#wc_ast_upload_csv_form');
246
  var error;
294
  tracking.tracking_number = cells[2];
295
  tracking.date_shipped = cells[3];
296
  tracking.status_shipped = cells[4];
297
+ if(cells[5]){
298
+ tracking.sku = cells[5];
299
+ }
300
+ if(cells[6]){
301
+ tracking.qty = cells[6];
302
+ }
303
  if(tracking.order_id){
304
  trackings.push(tracking);
305
  }
306
  }
307
  }
308
+ /*var groups = {};
309
+ for (var i = 0; i < trackings.length; i++) {
310
+ var groupName = trackings[i].tracking_number;
311
+ if (!groups[groupName]) {
312
+ groups[groupName] = [];
313
+ }
314
+ groups[groupName].push(trackings[i].sku);
315
+ }
316
+ trackings = [];
317
+ for (var groupName in groups) {
318
+ trackings.push({tracking_number: groupName, sku: groups[groupName]});
319
+ }*/
320
+
321
  var csv_length = trackings.length;
322
 
323
  jQuery("#wc_ast_upload_csv_form")[0].reset();
326
  querySelector.MaterialProgress.setProgress(0);
327
  jQuery("#p1").show();
328
  jQuery(trackings).each(function(index, element) {
329
+ var sku = '';
330
+ var qty = '';
331
  var order_id = trackings[index]['order_id'];
332
  var tracking_provider = trackings[index]['tracking_provider'];
333
  var tracking_number = trackings[index]['tracking_number'];
334
  var date_shipped = trackings[index]['date_shipped'];
335
+ var status_shipped = trackings[index]['status_shipped'];
336
+ if(trackings[index]['sku']){
337
+ var sku = trackings[index]['sku'];
338
+ }
339
+ if(trackings[index]['qty']){
340
+ var qty = trackings[index]['qty'];
341
+ }
342
 
343
  var data = {
344
  action: 'wc_ast_upload_csv_form_update',
347
  tracking_number: tracking_number,
348
  date_shipped: date_shipped,
349
  status_shipped: status_shipped,
350
+ sku: sku,
351
+ qty: qty,
352
  replace_tracking_info: replace_tracking_info,
353
  trackings: trackings,
354
  };
364
 
365
  jQuery('.csv_upload_status').append(data);
366
  var progress = (index+1)*100/csv_length;
367
+ jQuery('.bulk_upload_status_tr').show();
368
  jQuery('.progress_title').show();
369
  querySelector.MaterialProgress.setProgress(progress);
370
  if(progress == 100){
544
  data: ajax_data,
545
  type: 'POST',
546
  success: function(response) {
547
+ jQuery(".provider_list").replaceWith(response);
548
+ componentHandler.upgradeAllRegistered();
549
+ var provider_found = false;
550
  var searchvalue = jQuery("#search_provider").val().toLowerCase().replace(/\s+/g, '');
551
  jQuery('.provider').each(function() {
552
  var provider = jQuery(this).find('.provider_name').text().toLowerCase().replace(/\s+/g, '');
556
  var hascountry= country.indexOf(searchvalue)!==-1;
557
 
558
  if (hasprovider || hascountry) {
559
+ jQuery(this).show();
560
+ provider_found = true;
561
+ } else {
562
  jQuery(this).hide();
563
  }
564
  });
565
+ if(provider_found == false){
566
+ jQuery(".provider_list").append('<h3 class="not_found_label">No Shipping Providers Found.</h3>');
567
+ } else{
568
+ jQuery(".not_found_label").remove();
569
+ }
570
  },
571
  error: function(response) {
572
  }
581
  jQuery('.edit_provider_popup').hide();
582
  jQuery('.sync_provider_popup').hide();
583
  jQuery('.how_to_video_popup').hide();
584
+ jQuery('.ts_video_popup').hide();
585
+ jQuery('.tracking_item_video_popup').hide();
586
  });
587
  jQuery(document).on("click", ".close_synch_popup", function(){
588
  jQuery('.sync_provider_popup').hide();
673
  var r = confirm( shipment_tracking_table_rows.i18n.delete_provider );
674
  if (r === true) {
675
  } else {
676
+ jQuery("#content1").unblock();
677
  return;
678
  }
679
  var id = jQuery(this).data('pid');
723
  jQuery('.edit_provider_popup #thumb_url').val(image);
724
  jQuery('.edit_provider_popup #thumb_id').val(custom_thumb_id);
725
  jQuery('.edit_provider_popup #provider_id').val(id);
726
+ jQuery(".edit_provider_popup #shipping_country").val(shipping_country);
727
  jQuery('.edit_provider_popup').show();
728
+ //console.log(provider_url);
729
  },
730
  error: function(response) {
731
  console.log(response);
805
  var r = confirm( 'Do you really want to change all provider status to active?' );
806
  if (r === true) {
807
  } else {
808
+ jQuery("#content1").unblock();
809
  return;
810
  }
811
 
841
  var r = confirm( 'Do you really want to change all provider status to inactive?' );
842
  if (r === true) {
843
  } else {
844
+ jQuery("#content1").unblock();
845
  return;
846
  }
847
 
1068
  return false;
1069
  });
1070
 
1071
+ jQuery(document).on("click", ".bulk_shipment_status_button_for_do_connection", function(){
1072
+ jQuery("#content3").block({
1073
+ message: null,
1074
+ overlayCSS: {
1075
+ background: "#fff",
1076
+ opacity: .6
1077
+ }
1078
+ });
1079
+ var ajax_data = {
1080
+ action: 'bulk_shipment_status_for_do_connection_from_settings',
1081
+ };
1082
+ jQuery.ajax({
1083
+ url: ajaxurl,
1084
+ data: ajax_data,
1085
+ type: 'POST',
1086
+ success: function(response) {
1087
+ jQuery("#content3").unblock();
1088
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).after( "<div class='bulk_shipment_status_success'>Tracking info sent to Trackship for all Orders.</div>" );
1089
+ jQuery( '.bulk_shipment_status_button_for_do_connection' ).attr("disabled", true);
1090
+ },
1091
+ error: function(response) {
1092
+ console.log(response);
1093
+ }
1094
+ });
1095
+ return false;
1096
+ });
1097
+
1098
  jQuery(document).on("click", ".tab_input", function(){
1099
  var tab = jQuery(this).data('tab');
1100
  var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1101
  window.history.pushState({path:url},'',url);
1102
  });
1103
+ jQuery(document).on("click", ".inner_tab_input", function(){
1104
+ var tab = jQuery(this).data('tab');
1105
+ var url = window.location.protocol + "//" + window.location.host + window.location.pathname+"?page=woocommerce-advanced-shipment-tracking&tab="+tab;
1106
+ window.history.pushState({path:url},'',url);
1107
+ });
1108
 
1109
  jQuery(document).on("click", ".open_video_popup", function(){
1110
  jQuery('.how_to_video_popup').show();
1111
  });
1112
 
1113
+ jQuery(document).on("click", ".ts_addons_header", function(){
1114
+ jQuery('.ts_video_popup').show();
1115
+ });
1116
+ jQuery(document).on("click", ".tracking_item_addons_header", function(){
1117
+ jQuery('.tracking_item_video_popup').show();
1118
+ });
1119
+
1120
  jQuery(document).on("click", ".how_to_video_popup .popupclose", function(){
1121
  jQuery('#how_to_video').each(function(index) {
1122
  jQuery(this).attr('src', jQuery(this).attr('src'));
1123
  return false;
1124
  });
1125
+ });
1126
+ jQuery(document).on("click", ".ts_video_popup .popupclose", function(){
1127
+ jQuery('#ts_video').each(function(index) {
1128
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1129
+ return false;
1130
+ });
1131
+ });
1132
+ jQuery(document).on("click", ".tracking_item_video_popup .popupclose", function(){
1133
+ jQuery('#trackin_per_item_video').each(function(index) {
1134
+ jQuery(this).attr('src', jQuery(this).attr('src'));
1135
+ return false;
1136
+ });
1137
+ });
1138
+ jQuery(document).on("change", "#wc_ast_use_tracking_page", function(){
1139
+ if(jQuery(this).prop("checked") == true){
1140
+ jQuery('.tracking_page_table').show();
1141
+ jQuery('#tracking_preview_iframe').height( '' );
1142
+ jQuery(this).closest('table').removeClass('disable_tracking_page');
1143
+ setTimeout(
1144
+ function()
1145
+ {
1146
+ var iframe = document.getElementById("tracking_preview_iframe");
1147
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1148
+ }, 1000);
1149
+ } else{
1150
+ jQuery('.tracking_page_table').hide();
1151
+ jQuery(this).closest('table').addClass('disable_tracking_page');
1152
+ }
1153
+ });
1154
+
1155
+ jQuery(document).on("change", ".select_t_layout_section .radio-img", function(){
1156
+ jQuery('#tracking_preview_iframe').height( '' );
1157
+ var val = jQuery(this).val();
1158
+ if(val == 't_layout_1'){
1159
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').show();
1160
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').hide();
1161
+ } else{
1162
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-1').hide();
1163
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-layout-2').show();
1164
+ }
1165
+ var iframe = document.getElementById("tracking_preview_iframe");
1166
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1167
+ });
1168
+
1169
+ jQuery('#tracking_preview_iframe').load(function(){
1170
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1171
+ iframe.find(".view_old_details").click(function(){
1172
+ jQuery('#tracking_preview_iframe').contents().find('.hide_old_details').show();
1173
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeIn();
1174
+ jQuery('#tracking_preview_iframe').height( '' );
1175
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1176
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1177
+ });
1178
+ });
1179
+
1180
+ jQuery('#tracking_preview_iframe').load(function(){
1181
+ var iframe = jQuery('#tracking_preview_iframe').contents();
1182
+ iframe.find(".hide_old_details").click(function(){
1183
+ jQuery('#tracking_preview_iframe').contents().find('.view_old_details').show();
1184
+ jQuery('#tracking_preview_iframe').contents().find('.old-details').fadeOut();
1185
+ jQuery('#tracking_preview_iframe').height( '' );
1186
+ var iframe1 = document.getElementById("tracking_preview_iframe");
1187
+ iframe1.style.height = iframe1.contentWindow.document.body.scrollHeight + 'px';
1188
+ });
1189
+ });
1190
+
1191
+ jQuery(document).on("click", "#wc_ast_hide_tracking_provider_image", function(){
1192
+ if(jQuery(this).prop("checked") == true){
1193
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').hide();
1194
+ } else{
1195
+ jQuery('#tracking_preview_iframe').contents().find('.provider-image-div').show();
1196
+ }
1197
+ });
1198
+ jQuery(document).on("click", "#wc_ast_hide_tracking_events", function(){
1199
+ jQuery('#tracking_preview_iframe').height( '' );
1200
+ if(jQuery(this).prop("checked") == true){
1201
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').hide();
1202
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').hide();
1203
+ } else{
1204
+ jQuery('#tracking_preview_iframe').contents().find('.shipment_progress_div').show();
1205
+ jQuery('#tracking_preview_iframe').contents().find('.tracking-details').show();
1206
+ }
1207
+ var iframe = document.getElementById("tracking_preview_iframe");
1208
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1209
+ });
1210
+ jQuery(document).on("click", "#wc_ast_remove_trackship_branding", function(){
1211
+ jQuery('#tracking_preview_iframe').height( '' );
1212
+ if(jQuery(this).prop("checked") == true){
1213
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').hide();
1214
+ } else{
1215
+ jQuery('#tracking_preview_iframe').contents().find('.trackship_branding').show();
1216
+ }
1217
+ var iframe = document.getElementById("tracking_preview_iframe");
1218
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1219
+ });
1220
+ jQuery(document).on("click", ".tracking_page_label", function(){
1221
+ setTimeout(
1222
+ function()
1223
+ {
1224
+ jQuery('#tracking_preview_iframe').height( '' );
1225
+ var iframe = document.getElementById("tracking_preview_iframe");
1226
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1227
+ }, 1000);
1228
+ });
1229
+ jQuery( document ).ready(function() {
1230
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1231
+ jQuery('.tracking_page_table').show();
1232
+ } else{
1233
+ jQuery('.tracking_page_table').hide();
1234
+ }
1235
+ if(jQuery('#wc_ast_use_tracking_page').prop("checked") == true){
1236
+ jQuery('#wc_ast_use_tracking_page').closest('table').removeClass('disable_tracking_page');
1237
+ } else{
1238
+ jQuery('#wc_ast_use_tracking_page').closest('table').addClass('disable_tracking_page');
1239
+ }
1240
+ });
1241
+ jQuery(function(){
1242
+ jQuery('#tracking_preview_iframe').load(function(){
1243
+ var tab = getUrlParameter('tab');
1244
+ if(tab == 'tracking-page'){
1245
+ jQuery(this).show();
1246
+ var iframe = document.getElementById("tracking_preview_iframe");
1247
+ iframe.style.height = iframe.contentWindow.document.body.scrollHeight + 'px';
1248
+ } else{
1249
+ jQuery(this).show();
1250
+ }
1251
+ });
1252
+ });
1253
+
1254
+ var getUrlParameter = function getUrlParameter(sParam) {
1255
+ var sPageURL = window.location.search.substring(1),
1256
+ sURLVariables = sPageURL.split('&'),
1257
+ sParameterName,
1258
+ i;
1259
+
1260
+ for (i = 0; i < sURLVariables.length; i++) {
1261
+ sParameterName = sURLVariables[i].split('=');
1262
+
1263
+ if (sParameterName[0] === sParam) {
1264
+ return sParameterName[1] === undefined ? true : decodeURIComponent(sParameterName[1]);
1265
+ }
1266
+ }
1267
+ };
1268
+
assets/shipment-provider-img/7-eleven.png CHANGED
Binary file
assets/shipment-provider-img/bpost.png ADDED
Binary file
assets/shipment-provider-img/brt.png ADDED
Binary file
assets/shipment-provider-img/ceska-posta.png CHANGED
Binary file
assets/shipment-provider-img/cj-logistics.png ADDED
Binary file
assets/shipment-provider-img/cjpacket.png ADDED
Binary file
assets/shipment-provider-img/courierpost.png CHANGED
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/gls-denmark.png ADDED
Binary file
assets/shipment-provider-img/hfd.png ADDED
Binary file
assets/shipment-provider-img/jcex.png ADDED
Binary file
assets/shipment-provider-img/jet-express.png ADDED
Binary file
assets/shipment-provider-img/jne.png ADDED
Binary file
assets/shipment-provider-img/jt.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/magyar-posta.png ADDED
Binary file
assets/shipment-provider-img/new-zealand-courierpost.png ADDED
Binary file
assets/shipment-provider-img/ninja-express.png ADDED
Binary file
assets/shipment-provider-img/ontime.png ADDED
Binary file
assets/shipment-provider-img/pos-indonesia.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/rides.png ADDED
Binary file
assets/shipment-provider-img/russian-post.png ADDED
Binary file
assets/shipment-provider-img/saudi-post.png ADDED
Binary file
assets/shipment-provider-img/shadowfax.png ADDED
Binary file
assets/shipment-provider-img/shree-maruti-courier.png ADDED
Binary file
assets/shipment-provider-img/sicepat.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/tiki.png ADDED
Binary file
assets/shipment-provider-img/toll-ipec.png ADDED
Binary file
assets/shipment-provider-img/yodel.png ADDED
Binary file
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
  );
@@ -188,6 +196,7 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
188
  $tracking_event_status = $request['tracking_event_status'];
189
  $tracking_event_date = $request['tracking_event_date'];
190
  $tracking_est_delivery_date = $request['tracking_est_delivery_date'];
 
191
 
192
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
193
  $tracking_items = $st->get_tracking_items( $order_id, true );
@@ -199,11 +208,10 @@ 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){
209
  $shipment_status[$key]['est_delivery_date'] = date("Y-m-d", strtotime($tracking_est_delivery_date));
@@ -301,26 +309,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 +368,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 +377,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'] ),
@@ -403,6 +404,24 @@ class WC_Advanced_Shipment_Tracking_V1_REST_API_Controller extends WC_REST_Contr
403
  $args = apply_filters( 'ast_api_create_item_arg', $args );
404
  //print_r($args);exit;
405
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
406
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
407
  $tracking_item = $st->add_tracking_item( $order_id, $args );
408
  $tracking_item['order_id'] = $order_id;
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
  );
196
  $tracking_event_status = $request['tracking_event_status'];
197
  $tracking_event_date = $request['tracking_event_date'];
198
  $tracking_est_delivery_date = $request['tracking_est_delivery_date'];
199
+ $tracking_events = $request['tracking_events'];
200
 
201
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
202
  $tracking_items = $st->get_tracking_items( $order_id, true );
208
 
209
  if( is_string($shipment_status) )$shipment_status = array();
210
 
211
+ $st->trigger_tracking_email( $order_id, $shipment_status[$key]['status'], $tracking_event_status, $tracking_item, $shipment_status[$key] );
 
 
 
212
  $shipment_status[$key]['status'] = $tracking_event_status;
213
+ $shipment_status[$key]['tracking_events'] = json_decode($tracking_events);
214
+
215
  $shipment_status[$key]['status_date'] = $tracking_event_date;
216
  if($tracking_est_delivery_date){
217
  $shipment_status[$key]['est_delivery_date'] = date("Y-m-d", strtotime($tracking_est_delivery_date));
309
  public function update_user_key($request){
310
  $add_key = update_option( 'wc_ast_api_key', $request['user_key'] );
311
  $wc_ast_api_enabled = update_option( 'wc_ast_api_enabled', 1 );
312
+ $trackers_balance = update_option( 'trackers_balance', $request['trackers_balance'] );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
313
  }
314
 
315
  /*
368
  */
369
  public function create_item( $request ) {
370
  if ( ! empty( $request['tracking_id'] ) ) {
371
+ return new WP_Error( 'woocommerce_rest_shop_order_shipment_tracking_exists', __( 'Cannot create existing order shipment tracking.', 'woo-advanced-shipment-tracking' ), array( 'status' => 400 ) );
372
  }
373
 
374
  $order_id = (int) $request['order_id'];
377
  $order_id = $wast->get_formated_order_id($order_id);
378
 
379
  if ( ! $this->is_valid_order_id( $order_id ) ) {
380
+ return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Invalid order ID.', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
381
  }
382
+
383
+ if(preg_match('/[^a-z0-9- \b]+/i', $request['tracking_number'])){
384
+ return new WP_Error( 'woocommerce_rest_order_invalid_id', __( 'Special character not allowd in tracking number', 'woo-advanced-shipment-tracking' ), array( 'status' => 404 ) );
385
+ }
386
+
387
+ global $wpdb;
388
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
389
+ $tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $ast_admin->table WHERE provider_name = '".$request['tracking_provider']."'" );
390
+
391
+ if(!$tracking_provider){
392
+ $tracking_provider = sanitize_title( $request['tracking_provider'] );
393
+ }
394
+
395
  $args = array(
396
+ 'tracking_provider' => wc_clean( $tracking_provider ),
397
  'custom_tracking_provider' => wc_clean( $request['custom_tracking_provider'] ),
398
  'custom_tracking_link' => wc_clean( $request['custom_tracking_link'] ),
399
  'tracking_number' => wc_clean( $request['tracking_number'] ),
404
  $args = apply_filters( 'ast_api_create_item_arg', $args );
405
  //print_r($args);exit;
406
 
407
+ if(isset($request['sku']) && isset($request['qty'])){
408
+
409
+ $tracking_items = $wast->get_tracking_items( $order_id );
410
+
411
+ $products_list = array();
412
+ $product_id = wc_get_product_id_by_sku( $request['sku'] );
413
+ $product_data = (object) array (
414
+ 'product' => $product_id,
415
+ 'qty' => $request['qty'],
416
+ );
417
+ array_push($products_list,$product_data);
418
+
419
+ $product_args = array(
420
+ 'products_list' => $products_list,
421
+ );
422
+ $args = array_merge($args,$product_args);
423
+ }
424
+
425
  $st = WC_Advanced_Shipment_Tracking_Actions::get_instance();
426
  $tracking_item = $st->add_tracking_item( $order_id, $args );
427
  $tracking_item['order_id'] = $order_id;
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,59 +65,9 @@ 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
- //new order status
80
- $partial_shipped_status = get_option( "wc_ast_status_partial_shipped", 0);
81
- if( $partial_shipped_status == true ){
82
- //register order status
83
- add_action( 'init', array( $this, 'register_partial_shipped_order_status') );
84
- //add status after completed
85
- add_filter( 'wc_order_statuses', array( $this, 'add_partial_shipped_to_order_statuses') );
86
- //Custom Statuses in admin reports
87
- add_filter( 'woocommerce_reports_order_statuses', array( $this, 'include_partial_shipped_order_status_to_reports'), 20, 1 );
88
- // for automate woo to check order is paid
89
- add_filter( 'woocommerce_order_is_paid_statuses', array( $this, 'partial_shipped_woocommerce_order_is_paid_statuses' ) );
90
- //add bulk action
91
- add_filter( 'bulk_actions-edit-shop_order', array( $this, 'add_bulk_actions_partial_shipped'), 50, 1 );
92
- }
93
-
94
  //cron_schedules
95
- add_filter( 'cron_schedules', array( $this, 'add_cron_interval') );
96
- //cron hook
97
- //add_action( WC_Advanced_Shipment_Tracking_Cron::CRON_HOOK, array( $this, 'wc_ast_cron_callback' ) );
98
-
99
- //filter in shipped orders
100
- add_filter( 'is_order_shipped', array( $this, "check_tracking_exist" ),10,2);
101
- add_filter( 'is_order_shipped', array( $this, "check_order_status" ),5,2);
102
-
103
- $wc_ast_status_delivered = get_option('wc_ast_status_delivered');
104
- if($wc_ast_status_delivered == 1){
105
- add_action( 'woocommerce_order_actions', array( $this, 'add_order_meta_box_actions' ) );
106
- add_action( 'woocommerce_order_action_resend_delivered_order_notification', array( $this, 'process_order_meta_box_actions' ) );
107
- }
108
-
109
- //batch process cron hook
110
- //add_action( 'wc_ast_batch_process', array( $this, 'wc_ast_batch_process_callback' ) );
111
 
112
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
113
  if( $api_enabled == true ){
@@ -128,6 +88,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
128
  // Bulk shipment status sync for empty balance ajax call from settings
129
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
130
 
 
 
 
131
  // The results notice from bulk action on orders
132
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
133
 
@@ -137,9 +100,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
137
 
138
  // add bulk order filter for exported / non-exported orders
139
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
140
- add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
141
 
142
- add_action( 'wp_dashboard_setup', array( $this, 'ast_add_dashboard_widgets') );
 
143
  }
144
 
145
  // trigger when order status changed to shipped or completed
@@ -156,7 +120,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
156
 
157
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
158
 
159
- add_action( 'admin_footer', array( $this, 'footer_function') );
160
 
161
  // filter for shipment status
162
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
@@ -188,16 +152,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
188
 
189
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
190
 
191
- add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
192
-
193
- add_action( 'wp_ajax_sync_providers', array( $this, 'sync_providers_fun') );
194
-
195
- // Hook for add admin body class in settings page
196
- add_filter( 'admin_body_class', array( $this, 'ahipment_tracking_admin_body_class' ) );
197
 
198
- add_action( 'woocommerce_update_options_email_customer_delivered_order', array( $this, 'save_delivered_email' ) ,100, 1);
199
-
200
- add_action( 'woocommerce_update_options_email_customer_partial_shipped_order', array( $this, 'save_partial_shipped_email' ) ,100, 1);
201
  }
202
 
203
  /*
@@ -218,197 +177,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
218
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
219
  }
220
  maybe_create_table( $table_name, $sql );
221
- }
222
-
223
- /*
224
- * Add class in admin settings page
225
- */
226
- public function ahipment_tracking_admin_body_class($classes){
227
- $page = (isset($_REQUEST["page"])?$_REQUEST["page"]:"");
228
- if( $page == 'woocommerce-advanced-shipment-tracking') {
229
- $classes .= 'shipment_tracking_admin_settings';
230
- }
231
- return $classes;
232
- }
233
-
234
- /*
235
- * Rename WooCommerce Order Status
236
- */
237
- function wc_renaming_order_status( $order_statuses ) {
238
-
239
- $enable = get_option( "wc_ast_status_shipped", 0);
240
- if( $enable == false )return $order_statuses;
241
-
242
- foreach ( $order_statuses as $key => $status ) {
243
- $new_order_statuses[ $key ] = $status;
244
- if ( 'wc-completed' === $key ) {
245
- $order_statuses['wc-completed'] = esc_html__( 'Shipped','woo-advanced-shipment-tracking' );
246
- }
247
- }
248
- return $order_statuses;
249
- }
250
-
251
- /*
252
- * define the woocommerce_register_shop_order_post_statuses callback
253
- * rename filter
254
- * rename from completed to shipped
255
- */
256
- function filter_woocommerce_register_shop_order_post_statuses( $array ) {
257
-
258
- $enable = get_option( "wc_ast_status_shipped", 0);
259
- if( $enable == false )return $array;
260
-
261
- if( isset( $array[ 'wc-completed' ] ) ){
262
- $array[ 'wc-completed' ]['label_count'] = _n_noop( 'Shipped <span class="count">(%s)</span>', 'Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' );
263
- }
264
- return $array;
265
- }
266
-
267
- /*
268
- * rename bulk action
269
- */
270
- function modify_bulk_actions($bulk_actions) {
271
-
272
- $enable = get_option( "wc_ast_status_shipped", 0);
273
- if( $enable == false )return $bulk_actions;
274
-
275
- if( isset( $bulk_actions['mark_completed'] ) ){
276
- $bulk_actions['mark_completed'] = __( 'Change status to shipped', 'woo-advanced-shipment-tracking' );
277
- }
278
- return $bulk_actions;
279
- }
280
-
281
- /**
282
- * Register new status : Delivered
283
- **/
284
- function register_order_status() {
285
- register_post_status( 'wc-delivered', array(
286
- 'label' => __( 'Delivered', 'woo-advanced-shipment-tracking' ),
287
- 'public' => true,
288
- 'show_in_admin_status_list' => true,
289
- 'show_in_admin_all_list' => true,
290
- 'exclude_from_search' => false,
291
- 'label_count' => _n_noop( 'Delivered <span class="count">(%s)</span>', 'Delivered <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
292
- ) );
293
- $wc_ast_api_key = get_option('wc_ast_api_key');
294
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
295
- if($wc_ast_api_key && $api_enabled){
296
- register_post_status( 'wc-updated-tracking', array(
297
- 'label' => __( 'Updated Tracking', 'woo-advanced-shipment-tracking' ),
298
- 'public' => true,
299
- 'show_in_admin_status_list' => true,
300
- 'show_in_admin_all_list' => true,
301
- 'exclude_from_search' => false,
302
- 'label_count' => _n_noop( 'Updated Tracking <span class="count">(%s)</span>', 'Updated Tracking <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
303
- ) );
304
- }
305
- }
306
-
307
- /**
308
- * Register new status : Partial Shipped
309
- **/
310
- function register_partial_shipped_order_status() {
311
- register_post_status( 'wc-partial-shipped', array(
312
- 'label' => __( 'Partial Shipped', 'woo-advanced-shipment-tracking' ),
313
- 'public' => true,
314
- 'show_in_admin_status_list' => true,
315
- 'show_in_admin_all_list' => true,
316
- 'exclude_from_search' => false,
317
- 'label_count' => _n_noop( 'Partial Shipped <span class="count">(%s)</span>', 'Partial Shipped <span class="count">(%s)</span>', 'woo-advanced-shipment-tracking' )
318
- ) );
319
- }
320
-
321
- /*
322
- * add status after completed
323
- */
324
- function add_delivered_to_order_statuses( $order_statuses ) {
325
- $new_order_statuses = array();
326
- foreach ( $order_statuses as $key => $status ) {
327
- $new_order_statuses[ $key ] = $status;
328
- if ( 'wc-completed' === $key ) {
329
- $new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
330
- //$new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
331
- }
332
- }
333
- $wc_ast_api_key = get_option('wc_ast_api_key');
334
- $api_enabled = get_option( "wc_ast_api_enabled", 0);
335
- if($wc_ast_api_key && $api_enabled){
336
- foreach ( $order_statuses as $key => $status ) {
337
- $new_order_statuses[ $key ] = $status;
338
- if ( 'wc-completed' === $key ) {
339
- //$new_order_statuses['wc-delivered'] = __( 'Delivered', 'woo-advanced-shipment-tracking' );
340
- $new_order_statuses['wc-updated-tracking'] = __( 'Updated Tracking', 'woo-advanced-shipment-tracking' );
341
- }
342
- }
343
- }
344
- return $new_order_statuses;
345
- }
346
-
347
- /*
348
- * add status after completed
349
- */
350
- function add_partial_shipped_to_order_statuses( $order_statuses ) {
351
- $new_order_statuses = array();
352
- foreach ( $order_statuses as $key => $status ) {
353
- $new_order_statuses[ $key ] = $status;
354
- if ( 'wc-completed' === $key ) {
355
- $new_order_statuses['wc-partial-shipped'] = __( 'Partial Shipped', 'woo-advanced-shipment-tracking' );
356
- }
357
- }
358
- return $new_order_statuses;
359
- }
360
-
361
- /*
362
- * Adding the custom order status to the default woocommerce order statuses
363
- */
364
- function include_custom_order_status_to_reports( $statuses ){
365
- if($statuses)$statuses[] = 'delivered';
366
- if($statuses)$statuses[] = 'updated-tracking';
367
- return $statuses;
368
- }
369
-
370
- /*
371
- * Adding the partial-shipped order status to the default woocommerce order statuses
372
- */
373
- function include_partial_shipped_order_status_to_reports( $statuses ){
374
- if($statuses)$statuses[] = 'partial-shipped';
375
- return $statuses;
376
- }
377
-
378
- /*
379
- * mark status as a paid.
380
- */
381
- function delivered_woocommerce_order_is_paid_statuses( $statuses ) {
382
- $statuses[] = 'delivered';
383
- $statuses[] = 'updated-tracking';
384
- return $statuses;
385
- }
386
-
387
- /*
388
- * mark status as a paid.
389
- */
390
- function partial_shipped_woocommerce_order_is_paid_statuses( $statuses ) {
391
- $statuses[] = 'partial-shipped';
392
- return $statuses;
393
- }
394
-
395
- /*
396
- * add bulk action
397
- * Change order status to delivered
398
- */
399
- function add_bulk_actions( $bulk_actions ){
400
- $bulk_actions['mark_delivered'] = __( 'Change status to delivered', 'woo-advanced-shipment-tracking' );
401
- return $bulk_actions;
402
- }
403
-
404
- /*
405
- * add bulk action
406
- * Change order status to delivered
407
- */
408
- function add_bulk_actions_partial_shipped( $bulk_actions ){
409
- $bulk_actions['mark_partial-shipped'] = __( 'Change status to partial shipped', 'woo-advanced-shipment-tracking' );
410
- return $bulk_actions;
411
- }
412
 
413
  /*
414
  * add_cron_interval
@@ -463,86 +233,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
463
  }
464
  //$orders = wc_get_orders( $args );print_r($orders);exit;
465
  return $orders = wc_get_orders( $args );
466
- }
467
-
468
- /*
469
- * cron callback
470
- */
471
- function wc_ast_cron_callback(){
472
-
473
- //get shipped orders
474
- $orders = $this->get_shipped_orders();
475
-
476
- foreach( $orders as $order ){
477
- $order_shipped = apply_filters( 'is_order_shipped', true, $order );
478
-
479
- if( $order_shipped ){
480
- $this->add_in_batch_process( $order->get_id() );
481
- }
482
- }
483
-
484
- if ( ! wp_next_scheduled( 'wc_ast_batch_process' ) ) {
485
- wp_schedule_event( time(), 'wc_ast_2min', 'wc_ast_batch_process' );
486
- }
487
- }
488
-
489
- /*
490
- * tracking number filter
491
- * if number not found. return false
492
- * if number found. return true
493
- */
494
- function check_tracking_exist( $value, $order ){
495
-
496
- if($value == true){
497
-
498
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
499
- if( $tracking_items ){
500
- return true;
501
- } else {
502
- return false;
503
- }
504
- }
505
- return $value;
506
- }
507
-
508
- /*
509
- * If order status is "Updated Tracking" or "Completed" than retrn true else return false
510
- */
511
- function check_order_status($value, $order){
512
- $order_status = $order->get_status();
513
-
514
- $all_order_status = wc_get_order_statuses();
515
-
516
- $default_order_status = array(
517
- 'wc-pending' => 'Pending payment',
518
- 'wc-processing' => 'Processing',
519
- 'wc-on-hold' => 'On hold',
520
- 'wc-completed' => 'Completed',
521
- 'wc-delivered' => 'Delivered',
522
- 'wc-cancelled' => 'Cancelled',
523
- 'wc-refunded' => 'Refunded',
524
- 'wc-failed' => 'Failed'
525
- );
526
-
527
- foreach($default_order_status as $key=>$value){
528
- unset($all_order_status[$key]);
529
- }
530
-
531
- $custom_order_status = $all_order_status;
532
-
533
- foreach($custom_order_status as $key=>$value){
534
- unset($custom_order_status[$key]);
535
- $key = str_replace("wc-", "", $key);
536
- $custom_order_status[] = $key;
537
- }
538
-
539
- if($order_status == 'updated-tracking' || $order_status == 'completed' || in_array($order_status, $custom_order_status)){
540
- return true;
541
- } else {
542
- return false;
543
- }
544
- return $value;
545
- }
546
 
547
  /*
548
  * add in batch process
@@ -564,30 +255,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
564
  global $wpdb;
565
  $table_name = $wpdb->prefix.'shipment_batch_process';
566
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
567
- }
568
-
569
- /*
570
- * batch process cron func
571
- * this will run when data in table "shipment_batch_process"
572
- * if no data cron clear
573
- */
574
- function wc_ast_batch_process_callback(){
575
- error_reporting(E_ALL); ini_set('display_errors', 1);
576
- global $wpdb;
577
- $table_name = $wpdb->prefix.'shipment_batch_process';
578
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 30", ARRAY_A );
579
- $result = $wpdb->get_results( "SELECT * FROM `{$table_name}` LIMIT 2", ARRAY_A );
580
-
581
- foreach( (array)$result as $row ){
582
- $order_id = $row['order_id'];
583
- $array = $this->shipment_api_call( $order_id );
584
- $this->remove_from_batch_process( $row['id'] );
585
- }
586
-
587
- if( count($result) == 0 ){
588
- wp_clear_scheduled_hook( 'wc_ast_batch_process' );
589
- }
590
- }
591
 
592
  /*
593
  * shipment api call
@@ -629,15 +297,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
629
 
630
  foreach ( $columns as $column_name => $column_info ) {
631
 
632
- $new_columns[ $column_name ] = $column_info;
633
-
634
- /*if ( 'order_status' === $column_name ) {
635
- $new_columns['woocommerce-advanced-shipment-tracking'] = __( 'Shipment Tracking', 'woo-advanced-shipment-tracking' );
636
- $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
637
- }*/
638
 
639
- if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
640
- //$new_columns['shipment_status_old'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
641
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
642
  }
643
  }
@@ -677,9 +339,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
677
 
678
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
679
  $tracking_items = $ast->get_tracking_items( $post->ID );
680
- $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
681
- //echo '<pre>';print_r($shipment_status);echo '</pre>';
682
-
 
 
 
 
683
  if ( count( $tracking_items ) > 0 ) {
684
  ?>
685
  <ul class="wcast-shipment-status-list">
@@ -691,11 +357,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
691
  $status = $shipment_status[$key]['status'];
692
  $status_date = $shipment_status[$key]['status_date'];
693
  if(isset($shipment_status[$key]['est_delivery_date'])){
694
- $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
695
  }
696
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
697
  $has_est_delivery = true;
698
- }
699
  ?>
700
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
701
  <div class="wcast-shipment-status-icon">
@@ -703,10 +369,10 @@ class WC_Advanced_Shipment_Tracking_Admin {
703
  </div>
704
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
705
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
706
- <span class="showif_has_est_delivery_1 ft11">(<?php echo date( "d/m", strtotime($status_date))?>)</span>
707
- <span class="showif_has_est_delivery_0 ft11">on <?php echo date( "d/m", strtotime($status_date))?></span>
708
  <?php if( $has_est_delivery){?>
709
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
710
  <?php } ?>
711
  </div>
712
  </li>
@@ -746,6 +412,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
746
 
747
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
748
 
 
 
749
  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);
750
 
751
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
@@ -780,6 +448,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
780
 
781
  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 );
782
 
 
 
783
  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 );
784
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
785
  'i18n' => array(
@@ -799,7 +469,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
799
  * WC sub menu
800
  */
801
  public function register_woocommerce_menu() {
802
- add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_options', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
803
  }
804
 
805
  /*
@@ -860,16 +530,11 @@ class WC_Advanced_Shipment_Tracking_Admin {
860
  <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'; } ?>>
861
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
862
 
863
- <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'; } ?>>
864
  <label for="tab3" class="tab_label">TrackShip</label>
865
 
866
- <?php
867
- $wc_ast_api_key = get_option('wc_ast_api_key');
868
- if($wc_ast_api_key){
869
- ?>
870
- <input id="tab5" type="radio" name="tabs" class="tab_input" data-tab="tools" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'tools')){ echo 'checked'; } ?>>
871
- <label for="tab5" class="tab_label"><?php _e('Tools', 'woo-advanced-shipment-tracking'); ?></label>
872
- <?php } ?>
873
 
874
  <div class="nav_doc_section">
875
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
@@ -879,8 +544,9 @@ class WC_Advanced_Shipment_Tracking_Admin {
879
  <?php require_once( 'views/admin_options_shipping_provider.php' );?>
880
  <?php require_once( 'views/admin_options_settings.php' );?>
881
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
882
- <?php require_once( 'views/admin_options_bulk_upload.php' );?>
883
- <?php if($wc_ast_api_key){ require_once( 'views/admin_options_tools.php' ); }?>
 
884
  </div>
885
  </div>
886
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
@@ -893,8 +559,25 @@ class WC_Advanced_Shipment_Tracking_Admin {
893
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
894
  </div>
895
  </div>
896
- <div class="popupclose"></div>
897
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
898
  <?php
899
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
900
  <script>
@@ -982,15 +665,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
982
  } else{
983
  $checked="";
984
  }?>
985
- <span class="mdl-list__item-secondary-action multiple_checkbox">
986
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
987
  <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
988
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
989
  <span class="multiple_label"><?php echo $val['status']; ?></span>
990
  </br>
991
  </label>
992
  </span>
993
- <?php }
 
 
994
  if($val['type'] == 'custom'){
995
  $multi_checkbox_data = get_option($id);
996
  if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
@@ -999,22 +684,23 @@ class WC_Advanced_Shipment_Tracking_Admin {
999
  $checked="";
1000
  }
1001
  if($op == 1){ ?>
1002
- <div style="margin: 10px 0 15px;">
1003
  <strong style="font-weight: 700;padding-bottom: 3px;">
1004
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
1005
  </strong>
1006
  </div>
1007
  <?php } ?>
1008
- <span class="mdl-list__item-secondary-action multiple_checkbox">
1009
- <label class="mdl-switch mdl-js-switch mdl-js-ripple-effect" for="<?php echo $key?>">
1010
  <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
1011
- <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="mdl-switch__input" <?php echo $checked; ?> value="1"/>
1012
  <span class="multiple_label"><?php echo $val['status']; ?></span>
1013
  </br>
1014
  </label>
1015
  </span>
1016
  <?php $op++; }
1017
- } ?>
 
1018
 
1019
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
1020
  <?php
@@ -1044,8 +730,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1044
  <?php } elseif( $array['type'] == 'title' ){?>
1045
  <?php }
1046
  elseif( $array['type'] == 'key_field' ){ ?>
1047
- <fieldset>
1048
- <!--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-->
1049
  <?php if($array['connected'] == true){ ?>
1050
  <a href="https://my.trackship.info/" target="_blank">
1051
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
@@ -1143,6 +828,31 @@ class WC_Advanced_Shipment_Tracking_Admin {
1143
  } else{
1144
  $disable_bulk_sync_zero_balance = true;
1145
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1146
 
1147
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
1148
 
@@ -1171,6 +881,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
1171
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
1172
  'class' => '',
1173
  ),
 
 
 
 
 
 
 
 
 
1174
  );
1175
  return $form_data;
1176
  }
@@ -1240,7 +959,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1240
  $slug = $post->post_name;
1241
 
1242
  if($slug != 'ts-shipment-tracking'){
1243
- $page_desc = __( 'You must add the shortcode [wcast-track-order] to the "page name" in order for the tracking page to work.', 'woo-advanced-shipment-tracking' );
1244
  } else{
1245
  $page_desc = '';
1246
  }
@@ -1260,6 +979,17 @@ class WC_Advanced_Shipment_Tracking_Admin {
1260
  'show' => $show_trackship_field,
1261
  'class' => '',
1262
  ),
 
 
 
 
 
 
 
 
 
 
 
1263
  'wc_ast_select_primary_color' => array(
1264
  'type' => 'color',
1265
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
@@ -1271,7 +1001,13 @@ class WC_Advanced_Shipment_Tracking_Admin {
1271
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1272
  'class' => 'color_field',
1273
  'show' => $show_trackship_field,
1274
- ),
 
 
 
 
 
 
1275
  'wc_ast_hide_tracking_events' => array(
1276
  'type' => 'checkbox',
1277
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
@@ -1288,6 +1024,23 @@ class WC_Advanced_Shipment_Tracking_Admin {
1288
  return $form_data;
1289
 
1290
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1291
 
1292
  /*
1293
  * settings form save
@@ -1308,6 +1061,35 @@ class WC_Advanced_Shipment_Tracking_Admin {
1308
  echo json_encode( array('success' => 'true') );die();
1309
 
1310
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1311
  }
1312
 
1313
  /*
@@ -1355,7 +1137,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1355
  'wc-on-hold' => 'On hold',
1356
  'wc-completed' => 'Completed',
1357
  'wc-delivered' => 'Delivered',
1358
- //'wc-partial-shipped' => 'Partial Shipped',
1359
  'wc-cancelled' => 'Cancelled',
1360
  'wc-refunded' => 'Refunded',
1361
  'wc-failed' => 'Failed'
@@ -1452,31 +1234,30 @@ class WC_Advanced_Shipment_Tracking_Admin {
1452
  $form_data = array(
1453
  'wc_ast_status_delivered' => array(
1454
  'type' => 'checkbox',
1455
- 'title' => __( 'Enable custom order status “Delivered"', 'woo-advanced-shipment-tracking' ),
1456
- 'tooltip' => __( 'if you enable the delivered item, you will have the option to send delivered email notifications.', 'woo-advanced-shipment-tracking' ),
1457
  'show' => true,
1458
  'class' => '',
1459
  ),
1460
  'wc_ast_status_label_color' => array(
1461
  'type' => 'color',
1462
- 'title' => __( 'Delivered Label color', 'woo-advanced-shipment-tracking' ),
1463
  'class' => 'status_label_color_th',
1464
  'show' => true,
1465
  ),
1466
  'wc_ast_status_label_font_color' => array(
1467
  'type' => 'dropdown',
1468
- 'title' => __( 'Delivered Label font color', 'woo-advanced-shipment-tracking' ),
1469
  'options' => array(
1470
  "" =>__( 'Select', 'woocommerce' ),
1471
- "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1472
- "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1473
  ),
1474
  'class' => 'status_label_color_th',
1475
  'show' => true,
1476
  ),
1477
  'wcast_enable_delivered_email' => array(
1478
  'type' => 'checkbox',
1479
- 'title' => __( 'Enable the Delivered order status email', 'woo-advanced-shipment-tracking' ),
1480
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1481
  'class' => 'status_label_color_th',
1482
  'show' => true,
@@ -1485,40 +1266,80 @@ class WC_Advanced_Shipment_Tracking_Admin {
1485
  return $form_data;
1486
 
1487
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1488
 
1489
  /*
1490
- * get Partial shipped array data
1491
  * return array
1492
  */
1493
  function get_partial_shipped_data(){
1494
  $form_data = array(
1495
  'wc_ast_status_partial_shipped' => array(
1496
  'type' => 'checkbox',
1497
- 'title' => __( 'Enable custom order status “Partial Shipped"', 'woo-advanced-shipment-tracking' ),
1498
- 'tooltip' => __( 'if you enable the Partial Shipped item, you will have the option to send Partial Shipped email notifications.', 'woo-advanced-shipment-tracking' ),
1499
  'show' => true,
1500
  'class' => '',
1501
  ),
1502
  'wc_ast_status_partial_shipped_label_color' => array(
1503
  'type' => 'color',
1504
- 'title' => __( 'Partial Shipped Label color', 'woo-advanced-shipment-tracking' ),
1505
  'class' => 'partial_shipped_status_label_color_th',
1506
  'show' => true,
1507
  ),
1508
  'wc_ast_status_partial_shipped_label_font_color' => array(
1509
  'type' => 'dropdown',
1510
- 'title' => __( 'Partial Shipped Label font color', 'woo-advanced-shipment-tracking' ),
1511
  'options' => array(
1512
  "" =>__( 'Select', 'woocommerce' ),
1513
- "#fff" =>__( 'Light', 'woo-advanced-shipment-tracking' ),
1514
- "#000" =>__( 'Dark', 'woo-advanced-shipment-tracking' ),
1515
  ),
1516
  'class' => 'partial_shipped_status_label_color_th',
1517
  'show' => true,
1518
  ),
1519
  'wcast_enable_partial_shipped_email' => array(
1520
  'type' => 'checkbox',
1521
- 'title' => __( 'Enable the Partial Shipped order status email', 'woo-advanced-shipment-tracking' ),
1522
  'title_link'=> "<a class='settings_edit' href='".wcast_partial_shipped_customizer_email::get_customizer_url('customer_partial_shipped_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1523
  'class' => 'partial_shipped_status_label_color_th',
1524
  'show' => true,
@@ -1533,7 +1354,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1533
  */
1534
  function wc_ast_settings_form_update_callback(){
1535
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1536
-
1537
  $data = $this->get_settings_data();
1538
 
1539
  foreach( $data as $key => $val ){
@@ -1573,7 +1394,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
1573
  $data = $this->get_partial_shipped_data();
1574
 
1575
  foreach( $data as $key => $val ){
1576
- if($key == 'wcast_enable_partial_shipped_email'){
1577
  if(isset($_POST['wcast_enable_partial_shipped_email'])){
1578
  $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
1579
  if($_POST['wcast_enable_partial_shipped_email'] == 1){
@@ -1597,6 +1418,35 @@ class WC_Advanced_Shipment_Tracking_Admin {
1597
  update_option( $key, $_POST[ $key ] );
1598
  }
1599
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1600
 
1601
  echo json_encode( array('success' => 'true') );die();
1602
 
@@ -1607,25 +1457,32 @@ class WC_Advanced_Shipment_Tracking_Admin {
1607
  * change style of delivered order label
1608
  */
1609
  function footer_function(){
1610
- $bg_color = get_option('wc_ast_status_label_color');
1611
- $color = get_option('wc_ast_status_label_font_color','#fff');
1612
-
1613
- $ps_bg_color = get_option('wc_ast_status_partial_shipped_label_color');
1614
- $ps_color = get_option('wc_ast_status_partial_shipped_label_font_color','#fff');
1615
- ?>
1616
- <style>
1617
- .order_status .order-status.status-delivered{
1618
- background: <?php echo $bg_color; ?>;
 
 
 
 
1619
  color: <?php echo $color; ?>;
1620
- }
1621
- <?php if($ps_bg_color){ ?>
1622
- .order_status .order-status.status-partial-shipped{
1623
- background: <?php echo $ps_bg_color; ?>;
1624
  color: <?php echo $ps_color; ?>;
 
 
 
 
 
 
 
1625
  }
1626
- <?php } ?>
1627
- </style>
1628
- <?php
1629
  }
1630
 
1631
  /*
@@ -1642,6 +1499,15 @@ class WC_Advanced_Shipment_Tracking_Admin {
1642
  $tracking_provider = $_POST['tracking_provider'];
1643
  $tracking_number = $_POST['tracking_number'];
1644
  $date_shipped = str_replace("/","-",$_POST['date_shipped']);
 
 
 
 
 
 
 
 
 
1645
  if(empty($date_shipped)){
1646
  $date_shipped = date("d-m-Y");
1647
  }
@@ -1651,13 +1517,14 @@ class WC_Advanced_Shipment_Tracking_Admin {
1651
  $woo_shippment_table_name = $this->table;
1652
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1653
 
 
1654
  if($shippment_provider == 0){
1655
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1656
  }
1657
  if(empty($tracking_number)){
1658
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1659
  }
1660
- if(preg_match('/[^a-z0-9 \b]+/i', $tracking_number)){
1661
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1662
  }
1663
  if(empty($date_shipped)){
@@ -1676,24 +1543,68 @@ class WC_Advanced_Shipment_Tracking_Admin {
1676
  if ( count( $tracking_items ) > 0 ) {
1677
  foreach ( $tracking_items as $key => $item ) {
1678
  $tracking_number = $item['tracking_number'];
1679
- if(in_array($tracking_number, array_column($_POST['trackings'], 'tracking_number'))) {
1680
-
1681
- } else{
1682
- unset( $tracking_items[ $key ] );
1683
- }
1684
  }
1685
  $wast->save_tracking_items( $order_id, $tracking_items );
1686
  }
1687
  }
1688
  }
1689
  if($tracking_provider && $tracking_number && $date_shipped){
1690
-
1691
- $args = array(
1692
- 'tracking_provider' => wc_clean( sanitize_title($_POST['tracking_provider']) ),
1693
- 'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1694
- 'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1695
- 'status_shipped' => wc_clean( $_POST['status_shipped'] ),
1696
- );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1697
  $order = wc_get_order($order_id);
1698
 
1699
  if ( $order === false ) {
@@ -1827,6 +1738,36 @@ class WC_Advanced_Shipment_Tracking_Admin {
1827
  echo $url;die();
1828
  }
1829
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1830
  /**
1831
  * Add 'get_shipment_status' link to order actions select box on edit order page
1832
  *
@@ -1857,8 +1798,8 @@ class WC_Advanced_Shipment_Tracking_Admin {
1857
  $count = intval( $_REQUEST['processed_count'] );
1858
 
1859
  printf( '<div id="message" class="updated fade"><p>' .
1860
- _n( 'Tracking info sent to Trackship for %s Order.',
1861
- 'Tracking info sent to Trackship for %s Orders.',
1862
  $count,
1863
  'get_shipment_status'
1864
  ) . '</p></div>', $count );
@@ -1975,26 +1916,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
1975
  $this->trigger_woocommerce_order_status_completed( $order_id );
1976
  }
1977
 
1978
- /*
1979
- * define the item in the meta box by adding an item to the $actions array
1980
- */
1981
- function add_order_meta_box_actions( $actions ) {
1982
- $actions['resend_delivered_order_notification'] = __( 'Resend delivered order notification', 'woo-advanced-shipment-tracking' );
1983
- return $actions;
1984
- }
1985
-
1986
- /*
1987
- * function call when resend delivered order email notification trigger
1988
- */
1989
- function process_order_meta_box_actions($order){
1990
- require_once( 'email-manager.php' );
1991
- $old_status = 'in_transit';
1992
- $new_status = 'delivered';
1993
- $order_id = $order->get_id();
1994
- //wc_advanced_shipment_tracking_email_class()->delivered_shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1995
- WC()->mailer()->emails['WC_Email_Customer_Delivered_Order']->trigger( $order_id, $order );
1996
- }
1997
-
1998
  /*
1999
  * update preview order id in customizer
2000
  */
@@ -2201,10 +2122,19 @@ class WC_Advanced_Shipment_Tracking_Admin {
2201
  </div>
2202
  </div>
2203
  <?php } } else{
2204
- $status = 'active';
2205
  ?>
2206
- <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $status); ?></h3>
2207
- <?php } ?>
 
 
 
 
 
 
 
 
 
2208
  </div>
2209
  <?php
2210
  }
@@ -2338,7 +2268,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
2338
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2339
  'ts_slug' => sanitize_title($_POST['shipping_provider']),
2340
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2341
- 'provider_url' => esc_url($_POST['tracking_url'])
2342
  );
2343
  $where_array = array(
2344
  'id' => $_POST['provider_id'],
@@ -2387,173 +2317,6 @@ class WC_Advanced_Shipment_Tracking_Admin {
2387
  exit;
2388
  }
2389
 
2390
- /**
2391
- * Synch provider function
2392
- */
2393
- public function sync_providers_fun(){
2394
- global $wpdb;
2395
-
2396
- $url = 'https://trackship.info/wp-json/WCAST/v1/Provider';
2397
- $resp = wp_remote_get( $url );
2398
-
2399
- if ( is_array( $resp ) && ! is_wp_error( $resp ) ) {
2400
- $providers = json_decode($resp['body'],true);
2401
-
2402
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE shipping_default = 1" );
2403
-
2404
- foreach ( $default_shippment_providers as $key => $val ){
2405
- $shippment_providers[ $val->provider_name ] = $val;
2406
- }
2407
-
2408
- foreach ( $providers as $key => $val ){
2409
- $providers_name[ $val['provider_name'] ] = $val;
2410
- }
2411
-
2412
- $added = 0;
2413
- $updated = 0;
2414
- $deleted = 0;
2415
- $added_html = '';
2416
- $updated_html = '';
2417
- $deleted_html = '';
2418
-
2419
- foreach($providers as $provider){
2420
-
2421
- $provider_name = $provider['shipping_provider'];
2422
- $provider_url = $provider['provider_url'];
2423
- $shipping_country = $provider['shipping_country'];
2424
- $ts_slug = $provider['shipping_provider_slug'];
2425
-
2426
- if(isset($shippment_providers[$provider_name])){
2427
- $db_provider_url = $shippment_providers[$provider_name]->provider_url;
2428
- $db_shipping_country = $shippment_providers[$provider_name]->shipping_country;
2429
- $db_ts_slug = $shippment_providers[$provider_name]->ts_slug;
2430
- if(($db_provider_url != $provider_url) || ($db_shipping_country != $shipping_country) || ($db_ts_slug != $ts_slug)){
2431
- $data_array = array(
2432
- 'ts_slug' => $ts_slug,
2433
- 'provider_url' => $provider_url,
2434
- 'shipping_country' => $shipping_country,
2435
- );
2436
- $where_array = array(
2437
- 'provider_name' => $provider_name,
2438
- );
2439
- $wpdb->update( $this->table, $data_array, $where_array);
2440
- $updated_data[$updated] = array('provider_name' => $provider_name);
2441
- $updated++;
2442
- }
2443
- } else{
2444
- $img_url = $provider['img_url'];
2445
-
2446
- $img_slug = sanitize_title($provider_name);
2447
- $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
2448
-
2449
- $ch = curl_init();
2450
-
2451
- curl_setopt($ch, CURLOPT_HEADER, 0);
2452
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
2453
- curl_setopt($ch, CURLOPT_URL, $img_url);
2454
-
2455
- $data = curl_exec($ch);
2456
- curl_close($ch);
2457
-
2458
- file_put_contents($img, $data);
2459
-
2460
-
2461
- $data_array = array(
2462
- 'shipping_country' => sanitize_text_field($shipping_country),
2463
- 'provider_name' => sanitize_text_field($provider_name),
2464
- 'ts_slug' => $ts_slug,
2465
- 'provider_url' => sanitize_text_field($provider_url),
2466
- 'display_in_order' => 0,
2467
- 'shipping_default' => 1,
2468
- );
2469
- $result = $wpdb->insert( $this->table, $data_array );
2470
- $added_data[$added] = array('provider_name' => $provider_name);
2471
- $added++;
2472
- }
2473
- }
2474
- foreach($default_shippment_providers as $db_provider){
2475
- if(!isset($providers_name[$db_provider->provider_name])){
2476
- $where = array(
2477
- 'provider_name' => $db_provider->provider_name,
2478
- 'shipping_default' => 1
2479
- );
2480
- $wpdb->delete( $this->table, $where );
2481
- $deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
2482
- $deleted++;
2483
- }
2484
- }
2485
- if($added > 0){
2486
- ob_start();
2487
- $added_html = $this->added_html($added_data);
2488
- $added_html = ob_get_clean();
2489
- }
2490
- if($updated > 0){
2491
- ob_start();
2492
- $updated_html = $this->updated_html($updated_data);
2493
- $updated_html = ob_get_clean();
2494
- }
2495
- if($deleted > 0){
2496
- ob_start();
2497
- $deleted_html = $this->deleted_html($deleted_data);
2498
- $deleted_html = ob_get_clean();
2499
- }
2500
-
2501
- $status = 'active';
2502
- $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
2503
- ob_start();
2504
- $html = $this->get_provider_html($default_shippment_providers,$status);
2505
- $html = ob_get_clean();
2506
- 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;
2507
- } else{
2508
- echo json_encode( array('sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking')) );exit;
2509
- }
2510
- }
2511
-
2512
- /**
2513
- * Output html of added provider from sync providers
2514
- */
2515
- public function added_html($added_data){ ?>
2516
- <ul class="updated_details" id="added_providers">
2517
- <?php
2518
- foreach ( $added_data as $added ){ ?>
2519
- <li><?php echo $added['provider_name']; ?></li>
2520
- <?php }
2521
- ?>
2522
- </ul>
2523
- <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>
2524
- <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>
2525
- <?php }
2526
-
2527
- /**
2528
- * Output html of updated provider from sync providers
2529
- */
2530
- public function updated_html($updated_data){ ?>
2531
- <ul class="updated_details" id="updated_providers">
2532
- <?php
2533
- foreach ( $updated_data as $updated ){ ?>
2534
- <li><?php echo $updated['provider_name']; ?></li>
2535
- <?php }
2536
- ?>
2537
- </ul>
2538
- <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>
2539
- <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>
2540
- <?php }
2541
-
2542
- /**
2543
- * Output html of deleted provider from sync providers
2544
- */
2545
- public function deleted_html($deleted_data){ ?>
2546
- <ul class="updated_details" id="deleted_providers">
2547
- <?php
2548
- foreach ( $deleted_data as $deleted ){ ?>
2549
- <li><?php echo $deleted['provider_name']; ?></li>
2550
- <?php }
2551
- ?>
2552
- </ul>
2553
- <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>
2554
- <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>
2555
- <?php }
2556
-
2557
  /**
2558
  * Add bulk filter for Shipment status in orders list
2559
  *
@@ -2591,7 +2354,7 @@ class WC_Advanced_Shipment_Tracking_Admin {
2591
  </select>
2592
  <?php
2593
  }
2594
- }
2595
 
2596
  /**
2597
  * Get the order count for orders by shipment status
@@ -2668,257 +2431,16 @@ class WC_Advanced_Shipment_Tracking_Admin {
2668
 
2669
  return $vars;
2670
  }
2671
- /**
2672
- * Add a new dashboard widget.
2673
- */
2674
- public function ast_add_dashboard_widgets() {
2675
- wp_add_dashboard_widget( 'trackship_dashboard_widget', 'Tracking Analytics <small>(last 30 days)</small>', array( $this, 'dashboard_widget_function') );
2676
- }
2677
- /**
2678
- * Output the contents of the dashboard widget
2679
- */
2680
- public function dashboard_widget_function( $post, $callback_args ) {
2681
-
2682
- wp_enqueue_script( 'amcharts');
2683
- wp_enqueue_script( 'amcharts-light-theme');
2684
-
2685
- // Get orders completed.
2686
- $args = array(
2687
- //'status' => 'wc-completed',
2688
- 'limit' => -1,
2689
- 'date_created' => '>' . ( time() - 2592000 ),
2690
- );
2691
- $orders = wc_get_orders( $args );
2692
- $shipment_trackers = 0;
2693
- $shipment_status_merge = array();
2694
- $tracking_item_merge = array();
2695
- foreach($orders as $order){
2696
- $order_id = $order->get_id();
2697
-
2698
- $ast = new WC_Advanced_Shipment_Tracking_Actions;
2699
- $tracking_items = $ast->get_tracking_items( $order_id, true );
2700
-
2701
- if($tracking_items){
2702
- $shipment_status = get_post_meta( $order_id, "shipment_status", true);
2703
- $shipment_status_merge = array_merge($shipment_status_merge, $shipment_status);
2704
- foreach ( $tracking_items as $key => $tracking_item ) {
2705
- if( isset($shipment_status[$key]) ){
2706
-
2707
- $tracking_item_merge[] = $tracking_item;
2708
- $shipment_trackers++;
2709
- }
2710
- }
2711
- }
2712
- }
2713
-
2714
- $shipment_status_arr = array();
2715
-
2716
- foreach ($shipment_status_merge as $key => $item) {
2717
- $shipment_status_arr[$item['status']][$key] = $item;
2718
- }
2719
-
2720
- $tracking_provider_arr = array();
2721
-
2722
- foreach ($tracking_item_merge as $key => $item) {
2723
- $tracking_provider_arr[$item['formatted_tracking_provider']][$key] = $item;
2724
- }
2725
-
2726
- $tracking_issue_array = array();
2727
- foreach($shipment_status_arr as $status => $val){
2728
- if($status == 'carrier_unsupported' || $status == 'INVALID_TRACKING_NUM' || $status == 'unknown' || $status == 'wrong_shipping_provider'){
2729
- $tracking_issue_array[$status] = $val;
2730
- }
2731
- }
2732
-
2733
- ksort($shipment_status_arr, SORT_NUMERIC);
2734
- ksort($tracking_provider_arr, SORT_NUMERIC);
2735
-
2736
-
2737
-
2738
- ?>
2739
- <script type="text/javascript">
2740
- AmCharts.makeChart("ast_dashboard_status_chart",
2741
- {
2742
- "type": "serial",
2743
- "categoryField": "shipment_status",
2744
- "startDuration": 1,
2745
- "handDrawScatter": 4,
2746
- "theme": "light",
2747
- "categoryAxis": {
2748
- "autoRotateAngle": 0,
2749
- "autoRotateCount": 0,
2750
- "autoWrap": true,
2751
- "gridPosition": "start",
2752
- "minHorizontalGap": 10,
2753
- "offset": 1
2754
- },
2755
- "trendLines": [],
2756
- "graphs": [
2757
- {
2758
- "balloonText": " [[shipment_status]] : [[value]]",
2759
- "bulletBorderThickness": 7,
2760
- "colorField": "color",
2761
- "fillAlphas": 1,
2762
- "id": "AmGraph-1",
2763
- "lineColorField": "color",
2764
- "title": "graph 1",
2765
- "type": "column",
2766
- "valueField": "count"
2767
- }
2768
- ],
2769
- "guides": [],
2770
- "valueAxes": [
2771
- {
2772
- "id": "ValueAxis-1",
2773
- "title": ""
2774
- }
2775
- ],
2776
- "allLabels": [],
2777
- "balloon": {},
2778
- "titles": [
2779
- {
2780
- "id": "Title-1",
2781
- "size": 15,
2782
- "text": ""
2783
- }
2784
- ],
2785
- "dataProvider": [
2786
- <?php
2787
- foreach($shipment_status_arr as $status => $array){ ?>
2788
- {
2789
- "shipment_status": "<?php echo apply_filters("trackship_status_filter",$status); ?>",
2790
- "count": <?php echo count($array); ?>,
2791
- "color": "#BBE285",
2792
- },
2793
- <?php
2794
- } ?>
2795
- ]
2796
- }
2797
- );
2798
- </script>
2799
- <script type="text/javascript">
2800
- AmCharts.makeChart("ast_dashboard_providers_chart",
2801
- {
2802
- "type": "serial",
2803
- "categoryField": "shipment_provider",
2804
- "startDuration": 1,
2805
- "handDrawScatter": 4,
2806
- "theme": "light",
2807
- "categoryAxis": {
2808
- "autoRotateAngle": 0,
2809
- "autoRotateCount": 0,
2810
- "autoWrap": true,
2811
- "gridPosition": "start",
2812
- "minHorizontalGap": 10,
2813
- "offset": 1
2814
- },
2815
- "trendLines": [],
2816
- "graphs": [
2817
- {
2818
- "balloonText": " [[shipment_provider]] : [[value]]",
2819
- "bulletBorderThickness": 7,
2820
- "colorField": "color",
2821
- "fillAlphas": 1,
2822
- "id": "AmGraph-1",
2823
- "lineColorField": "color",
2824
- "title": "graph 1",
2825
- "type": "column",
2826
- "valueField": "count"
2827
- }
2828
- ],
2829
- "guides": [],
2830
- "valueAxes": [
2831
- {
2832
- "id": "ValueAxis-1",
2833
- "title": ""
2834
- }
2835
- ],
2836
- "allLabels": [],
2837
- "balloon": {},
2838
- "titles": [
2839
- {
2840
- "id": "Title-1",
2841
- "size": 15,
2842
- "text": ""
2843
- }
2844
- ],
2845
- "dataProvider": [
2846
- <?php
2847
- foreach($tracking_provider_arr as $provider => $array){ ?>
2848
- {
2849
- "shipment_provider": "<?php echo $provider; ?>",
2850
- "count": <?php echo count($array); ?>,
2851
- "color": "#BBE285",
2852
- },
2853
- <?php
2854
- } ?>
2855
- ]
2856
- }
2857
- );
2858
- </script>
2859
- <div class="ast-dashborad-widget">
2860
-
2861
- <input id="tab_s_providers" type="radio" name="tabs" class="widget_tab_input" checked>
2862
- <label for="tab_s_providers" class="widget_tab_label first_label"><?php _e('Shipment Providers', 'woo-advanced-shipment-tracking'); ?></label>
2863
-
2864
- <input id="tab_s_status" type="radio" name="tabs" class="widget_tab_input">
2865
- <label for="tab_s_status" class="widget_tab_label"><?php _e('Shipment Status', 'woo-advanced-shipment-tracking'); ?></label>
2866
-
2867
- <input id="tab_t_issues" type="radio" name="tabs" class="widget_tab_input">
2868
- <label for="tab_t_issues" class="widget_tab_label"><?php _e('Tracking issues', 'woo-advanced-shipment-tracking'); ?></label>
2869
-
2870
- <section id="content_s_providers" class="widget_tab_section">
2871
- <?php if($tracking_provider_arr){ ?>
2872
- <div id="ast_dashboard_providers_chart" class="" style="width: 100%;height: 300px;"></div>
2873
- <?php } else{ ?>
2874
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2875
- <?php } ?>
2876
- </section>
2877
-
2878
- <section id="content_s_status" class="widget_tab_section">
2879
- <?php if($shipment_status_arr){ ?>
2880
- <div id="ast_dashboard_status_chart" class="" style="width: 100%;height: 300px;"></div>
2881
- <?php } else{ ?>
2882
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2883
- <?php } ?>
2884
- </section>
2885
-
2886
- <section id="content_t_issues" class="widget_tab_section">
2887
- <?php if($tracking_issue_array){ ?>
2888
- <table class="table widefat fixed striped" style="border: 0;border-bottom: 1px solid #e5e5e5;">
2889
- <tbody>
2890
- <?php foreach($tracking_issue_array as $status => $array){ ?>
2891
- <tr>
2892
- <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>
2893
- <td><?php echo count($array); ?></td>
2894
- </tr>
2895
- <?php } ?>
2896
- </tbody>
2897
- </table>
2898
- <?php } else{ ?>
2899
- <p style="padding: 8px 12px;"><?php _e('data not available.', 'woo-advanced-shipment-tracking'); ?></p>
2900
- <?php } ?>
2901
- </section>
2902
-
2903
- </div>
2904
- <div class="widget_footer">
2905
- <a class="" href="https://my.trackship.info/analytics/" target="blank"><?php _e( 'View more on TrackShip','woo-advanced-shipment-tracking' ); ?></a>
2906
- </div>
2907
- <?php }
2908
-
2909
- /**
2910
- * Update Delivered order email enable/disable in customizer
2911
- */
2912
- public function save_delivered_email($data){
2913
- $woocommerce_customer_delivered_order_enabled = (isset($_POST["woocommerce_customer_delivered_order_enabled"])?$_REQUEST["woocommerce_customer_delivered_order_enabled"]:"");
2914
- update_option( 'customizer_delivered_order_settings_enabled',$woocommerce_customer_delivered_order_enabled);
2915
- }
2916
 
2917
  /**
2918
- * Update Partial Shipped order email enable/disable in customizer
2919
- */
2920
- public function save_partial_shipped_email($data){
2921
- $woocommerce_customer_partial_shipped_order_enabled = (isset($_POST["woocommerce_customer_partial_shipped_order_enabled"])?$_REQUEST["woocommerce_customer_partial_shipped_order_enabled"]:"");
2922
- update_option( 'customizer_partial_shipped_order_settings_enabled',$woocommerce_customer_partial_shipped_order_enabled);
2923
- }
2924
- }
 
 
 
 
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
  $api_enabled = get_option( "wc_ast_api_enabled", 0);
73
  if( $api_enabled == true ){
88
  // Bulk shipment status sync for empty balance ajax call from settings
89
  add_action( 'wp_ajax_bulk_shipment_status_for_empty_balance_from_settings', array( $this, 'bulk_shipment_status_for_empty_balance_from_settings_fun' ) );
90
 
91
+ // Bulk shipment status sync for please do connection status ajax call from settings
92
+ add_action( 'wp_ajax_bulk_shipment_status_for_do_connection_from_settings', array( $this, 'bulk_shipment_status_for_do_connection_from_settings_fun' ) );
93
+
94
  // The results notice from bulk action on orders
95
  add_action( 'admin_notices', array( $this, 'shipment_status_bulk_action_admin_notice' ) );
96
 
100
 
101
  // add bulk order filter for exported / non-exported orders
102
  add_action( 'restrict_manage_posts', array( $this, 'filter_orders_by_shipment_status') , 20 );
103
+ add_filter( 'request', array( $this, 'filter_orders_by_shipment_status_query' ) );
104
 
105
+ // add bulk order tracking number filter for exported / non-exported orders
106
+ add_filter( 'woocommerce_shop_order_search_fields', array( $this, 'filter_orders_by_tracking_number_query' ) );
107
  }
108
 
109
  // trigger when order status changed to shipped or completed
120
 
121
  add_action( 'wp_ajax_update_shipment_status_email_status', array( $this, 'update_shipment_status_email_status_fun') );
122
 
123
+ add_action( 'admin_footer', array( $this, 'footer_function'),1 );
124
 
125
  // filter for shipment status
126
  add_filter("trackship_status_filter", array($this, "trackship_status_filter_func"), 10 , 1);
152
 
153
  add_action( 'wp_ajax_update_default_provider', array( $this, 'update_default_provider_fun') );
154
 
155
+ add_action( 'wp_ajax_update_shipment_status', array( $this, 'update_shipment_status_fun') );
 
 
 
 
 
156
 
157
+ if ( is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) {
158
+ if( !$this->licence_valid() )add_action( 'admin_notices', array( $this, 'ast_product_licence_notice') );
159
+ }
160
  }
161
 
162
  /*
177
  require_once ABSPATH . '/wp-admin/includes/upgrade.php';
178
  }
179
  maybe_create_table( $table_name, $sql );
180
+ }
181
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
182
 
183
  /*
184
  * add_cron_interval
233
  }
234
  //$orders = wc_get_orders( $args );print_r($orders);exit;
235
  return $orders = wc_get_orders( $args );
236
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
237
 
238
  /*
239
  * add in batch process
255
  global $wpdb;
256
  $table_name = $wpdb->prefix.'shipment_batch_process';
257
  $wpdb->delete( $table_name, array( 'id' => $batch_process_id ) );
258
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
259
 
260
  /*
261
  * shipment api call
297
 
298
  foreach ( $columns as $column_name => $column_info ) {
299
 
300
+ $new_columns[ $column_name ] = $column_info;
 
 
 
 
 
301
 
302
+ if ( 'woocommerce-advanced-shipment-tracking' === $column_name ) {
 
303
  $new_columns['shipment_status'] = __( 'Shipment status', 'woo-advanced-shipment-tracking' );
304
  }
305
  }
339
 
340
  $ast = new WC_Advanced_Shipment_Tracking_Actions;
341
  $tracking_items = $ast->get_tracking_items( $post->ID );
342
+ $shipment_status = get_post_meta( $post->ID, "shipment_status", true);
343
+ $wp_date_format = get_option( 'date_format' );
344
+ if($wp_date_format == 'd/m/Y'){
345
+ $date_format = 'd/m';
346
+ } else{
347
+ $date_format = 'm/d';
348
+ }
349
  if ( count( $tracking_items ) > 0 ) {
350
  ?>
351
  <ul class="wcast-shipment-status-list">
357
  $status = $shipment_status[$key]['status'];
358
  $status_date = $shipment_status[$key]['status_date'];
359
  if(isset($shipment_status[$key]['est_delivery_date'])){
360
+ $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
361
  }
362
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
363
  $has_est_delivery = true;
364
+ }
365
  ?>
366
  <li id="tracking-item-<?php echo $tracking_item['tracking_id'];?>" class="tracking-item-<?php echo $tracking_item['tracking_id'];?>">
367
  <div class="wcast-shipment-status-icon">
369
  </div>
370
  <div class="ast-shipment-status shipment-<?php echo sanitize_title($status)?> has_est_delivery_<?php echo ( $has_est_delivery ? 1 : 0 )?>">
371
  <span class="ast-shipment-tracking-status"><?php echo apply_filters("trackship_status_filter",$status);?></span>
372
+ <span class="showif_has_est_delivery_1 ft11">(<?php echo date( $date_format, strtotime($status_date))?>)</span>
373
+ <span class="showif_has_est_delivery_0 ft11">on <?php echo date( $date_format, strtotime($status_date))?></span>
374
  <?php if( $has_est_delivery){?>
375
+ <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( $date_format, strtotime($est_delivery_date)); ?>)</span>
376
  <?php } ?>
377
  </div>
378
  </li>
412
 
413
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
414
 
415
+ wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
416
+
417
  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);
418
 
419
  wp_localize_script( 'woocommerce-advanced-shipment-tracking-js', 'ast_admin_js', array(
448
 
449
  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 );
450
 
451
+ wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
452
+
453
  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 );
454
  wp_localize_script( 'shipment_tracking_table_rows', 'shipment_tracking_table_rows', array(
455
  'i18n' => array(
469
  * WC sub menu
470
  */
471
  public function register_woocommerce_menu() {
472
+ add_submenu_page( 'woocommerce', 'Shipment Tracking', 'Shipment Tracking', 'manage_woocommerce', 'woocommerce-advanced-shipment-tracking', array( $this, 'woocommerce_advanced_shipment_tracking_page_callback' ) );
473
  }
474
 
475
  /*
530
  <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'; } ?>>
531
  <label for="tab4" class="tab_label"><?php _e('Bulk Upload', 'woo-advanced-shipment-tracking'); ?></label>
532
 
533
+ <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'; } ?>>
534
  <label for="tab3" class="tab_label">TrackShip</label>
535
 
536
+ <input id="tab6" type="radio" name="tabs" class="tab_input" data-tab="addons" <?php if(isset($_GET['tab']) && ($_GET['tab'] == 'addons')){ echo 'checked'; } ?>>
537
+ <label for="tab6" class="tab_label"><?php _e('Add-ons', 'woo-advanced-shipment-tracking'); ?></label>
 
 
 
 
 
538
 
539
  <div class="nav_doc_section">
540
  <a target="blank" class="doc_link" href="https://www.zorem.com/docs/woocommerce-advanced-shipment-tracking/"><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></a>
544
  <?php require_once( 'views/admin_options_shipping_provider.php' );?>
545
  <?php require_once( 'views/admin_options_settings.php' );?>
546
  <?php require_once( 'views/admin_options_trackship_integration.php' );?>
547
+ <?php require_once( 'views/admin_options_bulk_upload.php' );?>
548
+ <?php require_once( 'views/admin_options_addons.php' );?>
549
+
550
  </div>
551
  </div>
552
  <div id="demo-toast-example" class="mdl-js-snackbar mdl-snackbar">
559
  <iframe id="how_to_video" src="https://www.youtube.com/embed/Mw7laecPtyw" frameborder="0" allowfullscreen></iframe>
560
  </div>
561
  </div>
562
+ <div class="popupclose"></div>
563
+ </div>
564
+
565
+ <div id="" class="popupwrapper ts_video_popup" style="display:none;">
566
+ <div class="popuprow">
567
+ <div class="videoWrapper">
568
+ <iframe id="ts_video" src="https://www.youtube.com/embed/PhnqDorKN_c" frameborder="0" allowfullscreen></iframe>
569
+ </div>
570
+ </div>
571
+ <div class="popupclose"></div>
572
+ </div>
573
+ <div id="" class="popupwrapper tracking_item_video_popup" style="display:none;">
574
+ <div class="popuprow">
575
+ <div class="videoWrapper">
576
+ <iframe id="trackin_per_item_video" src="https://www.youtube.com/embed/L8uWc2sY_Go" frameborder="0" allowfullscreen></iframe>
577
+ </div>
578
+ </div>
579
+ <div class="popupclose"></div>
580
+ </div>
581
  <?php
582
  if(isset( $_GET['tab'] ) && $_GET['tab'] == 'trackship'){ ?>
583
  <script>
665
  } else{
666
  $checked="";
667
  }?>
668
+ <span class=" multiple_checkbox">
669
+ <label class="" for="<?php echo $key?>">
670
  <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
671
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
672
  <span class="multiple_label"><?php echo $val['status']; ?></span>
673
  </br>
674
  </label>
675
  </span>
676
+ <?php }
677
+ }
678
+ foreach((array)$array['options'] as $key => $val ){
679
  if($val['type'] == 'custom'){
680
  $multi_checkbox_data = get_option($id);
681
  if(isset($multi_checkbox_data[$key]) && $multi_checkbox_data[$key] == 1){
684
  $checked="";
685
  }
686
  if($op == 1){ ?>
687
+ <div style="margin: 10px 0;">
688
  <strong style="font-weight: 700;padding-bottom: 3px;">
689
  <?php _e( 'Custom Statuses', 'woo-advanced-shipment-tracking' ); ?>
690
  </strong>
691
  </div>
692
  <?php } ?>
693
+ <span class="multiple_checkbox">
694
+ <label class="" for="<?php echo $key?>">
695
  <input type="hidden" name="<?php echo $id?>[<?php echo $key?>]" value="0"/>
696
+ <input type="checkbox" id="<?php echo $key?>" name="<?php echo $id?>[<?php echo $key?>]" class="" <?php echo $checked; ?> value="1"/>
697
  <span class="multiple_label"><?php echo $val['status']; ?></span>
698
  </br>
699
  </label>
700
  </span>
701
  <?php $op++; }
702
+ }
703
+ ?>
704
 
705
  <?php } elseif( isset( $array['type'] ) && $array['type'] == 'dropdown' ){?>
706
  <?php
730
  <?php } elseif( $array['type'] == 'title' ){?>
731
  <?php }
732
  elseif( $array['type'] == 'key_field' ){ ?>
733
+ <fieldset>
 
734
  <?php if($array['connected'] == true){ ?>
735
  <a href="https://my.trackship.info/" target="_blank">
736
  <span class="api_connected"><label><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></label><span class="dashicons dashicons-yes"></span></span></a>
828
  } else{
829
  $disable_bulk_sync_zero_balance = true;
830
  }
831
+
832
+ $completed_order_with_do_connection = 0;
833
+
834
+ foreach($orders as $order){
835
+ $order_id = $order->get_id();
836
+
837
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
838
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
839
+ if($tracking_items){
840
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
841
+ foreach ( $tracking_items as $key => $tracking_item ) {
842
+ if(isset($shipment_status[$key]['status']) && $shipment_status[$key]['status'] == 'Please do connection'){
843
+ $completed_order_with_do_connection++;
844
+ }
845
+ }
846
+ }
847
+ }
848
+
849
+ if($completed_order_with_do_connection > 0){
850
+ $disable_bulk_sync_do_connection = false;
851
+ $show_bulk_sync_do_connection = true;
852
+ } else{
853
+ $disable_bulk_sync_do_connection = true;
854
+ $show_bulk_sync_do_connection = false;
855
+ }
856
 
857
  $wc_ast_status_shipped = get_option('wc_ast_status_shipped');
858
 
881
  'button_class' => 'bulk_shipment_status_button_for_empty_balance',
882
  'class' => '',
883
  ),
884
+ 'wc_ast_bulk_shipment_status_for_please_do_connection' => array(
885
+ 'type' => 'button',
886
+ 'title' => sprintf(__('%s %s orders with “Please do connection”', 'woo-advanced-shipment-tracking'), $completed_order_with_do_connection , $completed_order_label),
887
+ 'label' => __( 'Get Shipment Status', 'woo-advanced-shipment-tracking' ),
888
+ 'show' => $show_bulk_sync_do_connection,
889
+ 'disable' => $disable_bulk_sync_do_connection,
890
+ 'button_class' => 'bulk_shipment_status_button_for_do_connection',
891
+ 'class' => '',
892
+ ),
893
  );
894
  return $form_data;
895
  }
959
  $slug = $post->post_name;
960
 
961
  if($slug != 'ts-shipment-tracking'){
962
+ $page_desc = __( 'You must add the shortcode [wcast-track-order] to the selected page in order for the tracking page to work.', 'woo-advanced-shipment-tracking' );
963
  } else{
964
  $page_desc = '';
965
  }
979
  'show' => $show_trackship_field,
980
  'class' => '',
981
  ),
982
+ 'wc_ast_select_tracking_page_layout' => array(
983
+ 'type' => 'radio',
984
+ 'title' => __( 'Tracking Page Layout', 'woo-advanced-shipment-tracking' ),
985
+ 'show' => $show_trackship_field,
986
+ 'options' => array(
987
+ "" =>__( 'Select', 'woocommerce' ),
988
+ "t_layout_1" =>__( 'Layout 1', '' ),
989
+ "t_layout_2" =>__( 'Layout 2', '' ),
990
+ ),
991
+ 'class' => '',
992
+ ),
993
  'wc_ast_select_primary_color' => array(
994
  'type' => 'color',
995
  'title' => __( 'Select primary color for tracking page', 'woo-advanced-shipment-tracking' ),
1001
  'title' => __( 'Select content border color for tracking page', 'woo-advanced-shipment-tracking' ),
1002
  'class' => 'color_field',
1003
  'show' => $show_trackship_field,
1004
+ ),
1005
+ 'wc_ast_hide_tracking_provider_image' => array(
1006
+ 'type' => 'checkbox',
1007
+ 'title' => __( 'Hide Shipping Provider Image', 'woo-advanced-shipment-tracking' ),
1008
+ 'show' => $show_trackship_field,
1009
+ 'class' => '',
1010
+ ),
1011
  'wc_ast_hide_tracking_events' => array(
1012
  'type' => 'checkbox',
1013
  'title' => __( 'Hide tracking events details', 'woo-advanced-shipment-tracking' ),
1024
  return $form_data;
1025
 
1026
  }
1027
+
1028
+ /*
1029
+ * get ast per product addons licence data
1030
+ * return array
1031
+ */
1032
+ function get_ast_product_license_data(){
1033
+ $form_data = array(
1034
+ 'ast_product_license_key' => array(
1035
+ 'type' => 'text',
1036
+ 'title' => __( 'License Key', 'woo-advanced-shipment-tracking' ),
1037
+ 'show' => true,
1038
+ 'tooltip' => __( 'a Valid license is required to receive updates and support', 'woo-advanced-shipment-tracking' ),
1039
+ 'class' => '',
1040
+ ),
1041
+ );
1042
+ return $form_data;
1043
+ }
1044
 
1045
  /*
1046
  * settings form save
1061
  echo json_encode( array('success' => 'true') );die();
1062
 
1063
  }
1064
+ }
1065
+
1066
+ /*
1067
+ * return licence valid
1068
+ * return licence status
1069
+ * return licence key
1070
+ * return licence email
1071
+ */
1072
+ public function licence_valid() {
1073
+ return get_option( $this->license_status, false);
1074
+ }
1075
+ public function get_license_status() {
1076
+ return get_option( $this->license_status, false);
1077
+ }
1078
+ public function get_license_key() {
1079
+ return get_option( $this->license_key, false);
1080
+ }
1081
+ public function get_license_email() {
1082
+ return get_option( $this->license_email, false);
1083
+ }
1084
+
1085
+ /*
1086
+ * License notice
1087
+ */
1088
+ function ast_product_licence_notice() {
1089
+ $class = 'notice notice-error';
1090
+ $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' );
1091
+
1092
+ printf( '<div class="%1$s"><p>%2$s</p></div>', esc_attr( $class ), $message );
1093
  }
1094
 
1095
  /*
1137
  'wc-on-hold' => 'On hold',
1138
  'wc-completed' => 'Completed',
1139
  'wc-delivered' => 'Delivered',
1140
+ //'wc-partial-shipped' => 'Partially Shipped',
1141
  'wc-cancelled' => 'Cancelled',
1142
  'wc-refunded' => 'Refunded',
1143
  'wc-failed' => 'Failed'
1234
  $form_data = array(
1235
  'wc_ast_status_delivered' => array(
1236
  'type' => 'checkbox',
1237
+ 'title' => __( 'Enable custom order status “Delivered"', '' ),
 
1238
  'show' => true,
1239
  'class' => '',
1240
  ),
1241
  'wc_ast_status_label_color' => array(
1242
  'type' => 'color',
1243
+ 'title' => __( 'Delivered Label color', '' ),
1244
  'class' => 'status_label_color_th',
1245
  'show' => true,
1246
  ),
1247
  'wc_ast_status_label_font_color' => array(
1248
  'type' => 'dropdown',
1249
+ 'title' => __( 'Delivered Label font color', '' ),
1250
  'options' => array(
1251
  "" =>__( 'Select', 'woocommerce' ),
1252
+ "#fff" =>__( 'Light', '' ),
1253
+ "#000" =>__( 'Dark', '' ),
1254
  ),
1255
  'class' => 'status_label_color_th',
1256
  'show' => true,
1257
  ),
1258
  'wcast_enable_delivered_email' => array(
1259
  'type' => 'checkbox',
1260
+ 'title' => __( 'Enable the Delivered order status email', '' ),
1261
  'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_delivered_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1262
  'class' => 'status_label_color_th',
1263
  'show' => true,
1266
  return $form_data;
1267
 
1268
  }
1269
+
1270
+ /*
1271
+ * get updated tracking status settings array data
1272
+ * return array
1273
+ */
1274
+ function get_updated_tracking_data(){
1275
+ $form_data = array(
1276
+ 'wc_ast_status_updated_tracking' => array(
1277
+ 'type' => 'checkbox',
1278
+ 'title' => __( 'Enable custom order status “Updated Tracking"', '' ),
1279
+ 'show' => true,
1280
+ 'class' => '',
1281
+ ),
1282
+ 'wc_ast_status_updated_tracking_label_color' => array(
1283
+ 'type' => 'color',
1284
+ 'title' => __( 'Updated Tracking Label color', '' ),
1285
+ 'class' => 'updated_tracking_status_label_color_th',
1286
+ 'show' => true,
1287
+ ),
1288
+ 'wc_ast_status_updated_tracking_label_font_color' => array(
1289
+ 'type' => 'dropdown',
1290
+ 'title' => __( 'Updated Tracking Label font color', '' ),
1291
+ 'options' => array(
1292
+ "" =>__( 'Select', 'woocommerce' ),
1293
+ "#fff" =>__( 'Light', '' ),
1294
+ "#000" =>__( 'Dark', '' ),
1295
+ ),
1296
+ 'class' => 'updated_tracking_status_label_color_th',
1297
+ 'show' => true,
1298
+ ),
1299
+ 'wcast_enable_updated_tracking_email' => array(
1300
+ 'type' => 'checkbox',
1301
+ 'title' => __( 'Enable the Updated Tracking order status email', '' ),
1302
+ 'title_link'=> "<a class='settings_edit' href='".wcast_initialise_customizer_email::get_customizer_url('customer_updated_tracking_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1303
+ 'class' => 'updated_tracking_status_label_color_th',
1304
+ 'show' => true,
1305
+ ),
1306
+ );
1307
+ return $form_data;
1308
+
1309
+ }
1310
 
1311
  /*
1312
+ * get Partially Shipped array data
1313
  * return array
1314
  */
1315
  function get_partial_shipped_data(){
1316
  $form_data = array(
1317
  'wc_ast_status_partial_shipped' => array(
1318
  'type' => 'checkbox',
1319
+ 'title' => __( 'Enable custom order status “Partially Shipped"', '' ),
 
1320
  'show' => true,
1321
  'class' => '',
1322
  ),
1323
  'wc_ast_status_partial_shipped_label_color' => array(
1324
  'type' => 'color',
1325
+ 'title' => __( 'Partially Shipped Label color', '' ),
1326
  'class' => 'partial_shipped_status_label_color_th',
1327
  'show' => true,
1328
  ),
1329
  'wc_ast_status_partial_shipped_label_font_color' => array(
1330
  'type' => 'dropdown',
1331
+ 'title' => __( 'Partially Shipped Label font color', '' ),
1332
  'options' => array(
1333
  "" =>__( 'Select', 'woocommerce' ),
1334
+ "#fff" =>__( 'Light', '' ),
1335
+ "#000" =>__( 'Dark', '' ),
1336
  ),
1337
  'class' => 'partial_shipped_status_label_color_th',
1338
  'show' => true,
1339
  ),
1340
  'wcast_enable_partial_shipped_email' => array(
1341
  'type' => 'checkbox',
1342
+ 'title' => __( 'Enable the Partially Shipped order status email', '' ),
1343
  'title_link'=> "<a class='settings_edit' href='".wcast_partial_shipped_customizer_email::get_customizer_url('customer_partial_shipped_email')."'>".__( 'Edit', 'woocommerce' )."</a>",
1344
  'class' => 'partial_shipped_status_label_color_th',
1345
  'show' => true,
1354
  */
1355
  function wc_ast_settings_form_update_callback(){
1356
  if ( ! empty( $_POST ) && check_admin_referer( 'wc_ast_settings_form', 'wc_ast_settings_form' ) ) {
1357
+
1358
  $data = $this->get_settings_data();
1359
 
1360
  foreach( $data as $key => $val ){
1394
  $data = $this->get_partial_shipped_data();
1395
 
1396
  foreach( $data as $key => $val ){
1397
+ if($key == 'wcast_enable_partial_shipped_email'){
1398
  if(isset($_POST['wcast_enable_partial_shipped_email'])){
1399
  $wcast_enable_partial_shipped_email = get_option('woocommerce_customer_partial_shipped_order_settings');
1400
  if($_POST['wcast_enable_partial_shipped_email'] == 1){
1418
  update_option( $key, $_POST[ $key ] );
1419
  }
1420
  }
1421
+
1422
+ $data = $this->get_updated_tracking_data();
1423
+
1424
+ foreach( $data as $key => $val ){
1425
+ if($key == 'wcast_enable_updated_tracking_email'){
1426
+
1427
+ if(isset($_POST['wcast_enable_updated_tracking_email'])){
1428
+ $wcast_enable_updated_tracking_email = get_option('woocommerce_customer_updated_tracking_order_settings');
1429
+ if($_POST['wcast_enable_updated_tracking_email'] == 1){
1430
+ update_option( 'customizer_updated_tracking_order_settings_enabled',$_POST['wcast_enable_updated_tracking_email']);
1431
+ $enabled = 'yes';
1432
+ } else{
1433
+ update_option( 'customizer_updated_tracking_order_settings_enabled','');
1434
+ $enabled = 'no';
1435
+ }
1436
+
1437
+ $opt = array(
1438
+ 'enabled' => $enabled,
1439
+ 'subject' => $wcast_enable_updated_tracking_email['subject'],
1440
+ 'heading' => $wcast_enable_updated_tracking_email['heading'],
1441
+ 'email_type' => $wcast_enable_updated_tracking_email['email_type'],
1442
+ );
1443
+ update_option( 'woocommerce_customer_updated_tracking_order_settings', $opt );
1444
+ }
1445
+ }
1446
+ if(isset($_POST[ $key ])){
1447
+ update_option( $key, $_POST[ $key ] );
1448
+ }
1449
+ }
1450
 
1451
  echo json_encode( array('success' => 'true') );die();
1452
 
1457
  * change style of delivered order label
1458
  */
1459
  function footer_function(){
1460
+ if ( !is_plugin_active( 'woocommerce-order-status-manager/woocommerce-order-status-manager.php' ) ) {
1461
+ $bg_color = get_option('wc_ast_status_label_color','#212c42');
1462
+ $color = get_option('wc_ast_status_label_font_color','#fff');
1463
+
1464
+ $ps_bg_color = get_option('wc_ast_status_partial_shipped_label_color','#0c0c0c');
1465
+ $ps_color = get_option('wc_ast_status_partial_shipped_label_font_color','#fff');
1466
+
1467
+ $ut_bg_color = get_option('wc_ast_status_updated_tracking_label_color','#d6d6d6');
1468
+ $ut_color = get_option('wc_ast_status_updated_tracking_label_font_color','#000');
1469
+ ?>
1470
+ <style>
1471
+ .order-status.status-delivered,.order-status-table .order-label.wc-delivered{
1472
+ background: <?php echo $bg_color; ?>;
1473
  color: <?php echo $color; ?>;
1474
+ }
1475
+ .order-status.status-partial-shipped,.order-status-table .order-label.wc-partially-shipped{
1476
+ background: <?php echo $ps_bg_color; ?>;
 
1477
  color: <?php echo $ps_color; ?>;
1478
+ }
1479
+ .order-status.status-updated-tracking,.order-status-table .order-label.wc-updated-tracking{
1480
+ background: <?php echo $ut_bg_color; ?>;
1481
+ color: <?php echo $ut_color; ?>;
1482
+ }
1483
+ </style>
1484
+ <?php
1485
  }
 
 
 
1486
  }
1487
 
1488
  /*
1499
  $tracking_provider = $_POST['tracking_provider'];
1500
  $tracking_number = $_POST['tracking_number'];
1501
  $date_shipped = str_replace("/","-",$_POST['date_shipped']);
1502
+
1503
+ if(isset($_POST['sku'])){
1504
+ $sku = $_POST['sku'];
1505
+ }
1506
+
1507
+ if(isset($_POST['qty'])){
1508
+ $qty = $_POST['qty'];
1509
+ }
1510
+
1511
  if(empty($date_shipped)){
1512
  $date_shipped = date("d-m-Y");
1513
  }
1517
  $woo_shippment_table_name = $this->table;
1518
  $shippment_provider = $wpdb->get_var( "SELECT COUNT(*) FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1519
 
1520
+
1521
  if($shippment_provider == 0){
1522
  echo '<li class="error">Failed - Invalid Tracking Provider for Order Id - '.$_POST['order_id'].'</li>';exit;
1523
  }
1524
  if(empty($tracking_number)){
1525
  echo '<li class="error">Failed - Empty Tracking Number for Order Id - '.$_POST['order_id'].'</li>';exit;
1526
  }
1527
+ if(preg_match('/[^a-z0-9- \b]+/i', $tracking_number)){
1528
  echo '<li class="error">Failed - Special character not allowd in tracking number for Order Id - '.$_POST['order_id'].'</li>';exit;
1529
  }
1530
  if(empty($date_shipped)){
1543
  if ( count( $tracking_items ) > 0 ) {
1544
  foreach ( $tracking_items as $key => $item ) {
1545
  $tracking_number = $item['tracking_number'];
1546
+ unset( $tracking_items[ $key ] );
 
 
 
 
1547
  }
1548
  $wast->save_tracking_items( $order_id, $tracking_items );
1549
  }
1550
  }
1551
  }
1552
  if($tracking_provider && $tracking_number && $date_shipped){
1553
+
1554
+ $tracking_provider = $wpdb->get_var( "SELECT ts_slug FROM $woo_shippment_table_name WHERE provider_name = '".$tracking_provider."'" );
1555
+
1556
+ if(!$tracking_provider){
1557
+ $tracking_provider = sanitize_title($_POST['tracking_provider']);
1558
+ }
1559
+
1560
+ if($sku != ''){
1561
+ $tracking_items = $wast->get_tracking_items( $order_id );
1562
+ if ( count( $tracking_items ) > 0 ) {
1563
+ foreach ( $tracking_items as $key => $item ) {
1564
+ if($item['tracking_number'] == $_POST['tracking_number']){
1565
+ unset( $tracking_items[ $key ] );
1566
+ }
1567
+ }
1568
+ $wast->save_tracking_items( $order_id, $tracking_items );
1569
+ }
1570
+ $args = array(
1571
+ 'tracking_provider' => wc_clean( $tracking_provider ),
1572
+ 'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1573
+ 'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1574
+ 'status_shipped' => wc_clean( $_POST['status_shipped'] ),
1575
+ );
1576
+
1577
+ $products_list = array();
1578
+ //echo '<pre>';print_r($_POST['trackings']);echo '</pre>';exit;
1579
+ foreach($_POST['trackings'] as $tracking){
1580
+ if($tracking['qty'] > 0){
1581
+ if($tracking['tracking_number'] == $_POST['tracking_number']){
1582
+ $product_id = wc_get_product_id_by_sku( $tracking['sku'] );
1583
+ if($product_id){
1584
+ $product_data = (object) array (
1585
+ 'product' => $product_id,
1586
+ 'qty' => $tracking['qty'],
1587
+ );
1588
+ array_push($products_list,$product_data);
1589
+ }
1590
+ }
1591
+ }
1592
+ }
1593
+
1594
+ $product_args = array(
1595
+ 'products_list' => $products_list,
1596
+ );
1597
+
1598
+ $args = array_merge($args,$product_args);
1599
+ } else{
1600
+ $args = array(
1601
+ 'tracking_provider' => wc_clean( $tracking_provider ),
1602
+ 'tracking_number' => wc_clean( $_POST['tracking_number'] ),
1603
+ 'date_shipped' => wc_clean( $_POST['date_shipped'] ),
1604
+ 'status_shipped' => wc_clean( $_POST['status_shipped'] ),
1605
+ );
1606
+ }
1607
+
1608
  $order = wc_get_order($order_id);
1609
 
1610
  if ( $order === false ) {
1738
  echo $url;die();
1739
  }
1740
 
1741
+ /*
1742
+ * bulk shipment status action for "TrackShip balance is 0" status
1743
+ */
1744
+ public static function bulk_shipment_status_for_do_connection_from_settings_fun(){
1745
+ $args = array(
1746
+ 'status' => 'wc-completed',
1747
+ 'limit' => -1,
1748
+ 'date_created' => '>' . ( time() - 2592000 ),
1749
+ );
1750
+ $orders = wc_get_orders( $args );
1751
+
1752
+ foreach($orders as $order){
1753
+ $order_id = $order->get_id();
1754
+
1755
+ $ast = new WC_Advanced_Shipment_Tracking_Actions;
1756
+ $tracking_items = $ast->get_tracking_items( $order_id, true );
1757
+ if($tracking_items){
1758
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
1759
+ foreach ( $tracking_items as $key => $tracking_item ) {
1760
+ if($shipment_status[$key]['status'] == 'Please do connection'){
1761
+ wp_schedule_single_event( time() + 1, 'wcast_retry_trackship_apicall', array( $order_id ) );
1762
+ }
1763
+ }
1764
+ }
1765
+ }
1766
+
1767
+ $url = admin_url('/edit.php?post_type=shop_order');
1768
+ echo $url;die();
1769
+ }
1770
+
1771
  /**
1772
  * Add 'get_shipment_status' link to order actions select box on edit order page
1773
  *
1798
  $count = intval( $_REQUEST['processed_count'] );
1799
 
1800
  printf( '<div id="message" class="updated fade"><p>' .
1801
+ _n( 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1802
+ 'The shipment status updates will run in the background, please refresh the page in a few minutes.',
1803
  $count,
1804
  'get_shipment_status'
1805
  ) . '</p></div>', $count );
1916
  $this->trigger_woocommerce_order_status_completed( $order_id );
1917
  }
1918
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1919
  /*
1920
  * update preview order id in customizer
1921
  */
2122
  </div>
2123
  </div>
2124
  <?php } } else{
2125
+ $p_status = 'active';
2126
  ?>
2127
+ <h3><?php echo sprintf(__("You don't have any %s shipping providers.", 'woo-advanced-shipment-tracking'), $p_status); ?></h3>
2128
+ <?php }
2129
+ if($status == 'custom'){ ?>
2130
+ <div class="provider">
2131
+ <div class="provider_inner add_custom_provider_div">
2132
+ <div class="add_custom_p_a"><?php _e("Add Custom Provider", "woo-advanced-shipment-tracking")?></div>
2133
+ <a href="javascript:void(0);" class="add_custom_inner add_custom_provider"><span class="dashicons dashicons-plus-alt"></span></a>
2134
+ </div>
2135
+ </div>
2136
+ <?php }
2137
+ ?>
2138
  </div>
2139
  <?php
2140
  }
2268
  'provider_name' => sanitize_text_field($_POST['shipping_provider']),
2269
  'ts_slug' => sanitize_title($_POST['shipping_provider']),
2270
  'custom_thumb_id' => sanitize_text_field($_POST['thumb_id']),
2271
+ 'provider_url' => sanitize_text_field($_POST['tracking_url'])
2272
  );
2273
  $where_array = array(
2274
  'id' => $_POST['provider_id'],
2317
  exit;
2318
  }
2319
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2320
  /**
2321
  * Add bulk filter for Shipment status in orders list
2322
  *
2354
  </select>
2355
  <?php
2356
  }
2357
+ }
2358
 
2359
  /**
2360
  * Get the order count for orders by shipment status
2431
 
2432
  return $vars;
2433
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2434
 
2435
  /**
2436
+ * Process bulk filter action for shipment status orders
2437
+ *
2438
+ * @since 2.7.4
2439
+ * @param array $vars query vars without filtering
2440
+ * @return array $vars query vars with (maybe) filtering
2441
+ */
2442
+ public function filter_orders_by_tracking_number_query( $search_fields ){
2443
+ $search_fields[] = '_wc_shipment_tracking_items';
2444
+ return $search_fields;
2445
+ }
2446
+ }
includes/class-wc-advanced-shipment-tracking-front.php CHANGED
@@ -66,48 +66,53 @@ class WC_Advanced_Shipment_Tracking_Front {
66
  * Include front js and css
67
  */
68
  public function front_styles(){
69
- wp_enqueue_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
70
  wp_localize_script( 'front-js', 'zorem_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
71
 
72
- wp_enqueue_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
 
 
 
 
 
 
73
  }
74
 
75
- public function woo_track_order_function(){
76
-
 
77
  global $wpdb;
78
  $wc_ast_api_key = get_option('wc_ast_api_key');
79
  $primary_color = get_option('wc_ast_select_primary_color');
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
@@ -133,7 +138,7 @@ class WC_Advanced_Shipment_Tracking_Front {
133
  } else {
134
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
135
  }
136
-
137
  if(!$tracking_items){
138
  unset($order_id);
139
  }
@@ -170,218 +175,101 @@ class WC_Advanced_Shipment_Tracking_Front {
170
  $num = 1;
171
  $total_trackings = sizeof($tracking_items);
172
 
173
- foreach($tracking_items as $item){
174
 
175
  $tracking_number = $item['tracking_number'];
176
  $trackship_url = 'https://trackship.info';
177
  $tracking_provider = $item['tracking_provider'];
178
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
179
  $tracking_provider = $results->provider_name;
180
-
181
- /*** Update in 2.4.1
182
- * Change URL
183
- * Add User Key
184
- ***/
185
- $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
186
- $args['body'] = array(
187
- 'tracking_number' => $tracking_number,
188
- 'order_id' => $order_id,
189
- 'domain' => get_home_url(),
190
- 'user_key' => $wc_ast_api_key,
191
- );
192
- $response = wp_remote_post( $url, $args );
193
- $data = $response['body'];
194
- $decoded_data = json_decode($data);
195
 
196
- $tracker = new \stdClass();
197
- $tracker->ep_status = '';
198
- if(!empty($decoded_data)){
199
- $tracker = $decoded_data[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
200
  }
201
 
202
  $tracking_detail_org = '';
203
  $trackind_detail_by_status_rev = '';
204
 
205
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
206
- $tracking_detail_org = json_decode($tracker->tracking_detail);
 
207
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
208
- }
209
-
210
- if(!empty($decoded_data)){
211
-
212
- if($tracker->est_delivery_date){
213
- $unixTimestamp = strtotime($tracker->est_delivery_date);
214
- $day = date("l", $unixTimestamp);
215
  }
216
-
217
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
218
-
219
- if($tracker->ep_status == "return_to_sender" ){
220
- $state2_class = 'return_to_sender';
221
- } elseif($tracker->ep_status == "failure"){
222
- $state2_class = 'failure';
223
- } elseif($tracker->ep_status == "available_for_pickup"){
224
- $state2_class = 'available_for_pickup';
225
- } else{
226
- $state2_class = 'out_for_delivery';
227
- }
228
- ?>
229
 
230
  <div class="tracking-detail col">
231
  <?php if($total_trackings > 1 ){ ?>
232
  <p class="shipment_heading"><?php
233
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
234
- <?php } ?>
235
- <div class="tracking-header">
236
- <div class="col-md col-md-6">
237
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
238
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
239
- <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>
240
- </div>
241
- <div class="col-md col-md-6">
242
- <?php
243
- if($tracker->est_delivery_date){
244
- ?>
245
- <div class="text-muted text-right">
246
- <?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>
247
- </div>
248
- <?php } else{ ?>
249
- <div class="text-muted text-right">
250
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
251
- </div>
252
- <?php } ?>
253
- </div>
254
- </div>
255
- <?php
256
  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'){
257
-
258
- }
259
- elseif(isset($tracker->ep_status)){ ?>
260
- <div class="status-section desktop-section">
261
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
262
- <div class="progress">
263
- <div class="progress-bar"></div>
264
- </div>
265
- <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';} ?>">
266
- <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>
267
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
268
- <?php
269
- if($tracker->ep_status == "unknown"){
270
- echo apply_filters("trackship_status_filter",'unknown');
271
- } else{
272
- echo apply_filters("trackship_status_filter",'pre_transit');
273
- }
274
- ?>
275
- </span>
276
-
277
- <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>
278
- <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'; } ?>">
279
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
280
- </span>
281
-
282
- <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>
283
- <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'; } ?>">
284
- <?php
285
- if($tracker->ep_status == "return_to_sender"){
286
- echo apply_filters("trackship_status_filter",'return_to_sender');
287
- } elseif($tracker->ep_status == "failure"){
288
- echo apply_filters("trackship_status_filter",'failure');
289
- } else{
290
- echo apply_filters("trackship_status_filter",'out_for_delivery');
291
- }
292
- ?>
293
- </span>
294
-
295
- <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>
296
- <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'; }?>">
297
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
298
- </span>
299
- </div>
300
- </div>
301
- </div>
302
-
303
- <div class="status-section mobile-section">
304
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
305
- <div class="progress">
306
- <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>
307
- </div>
308
- <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';} ?>">
309
-
310
- <div class="dot-div">
311
- <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>
312
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
313
- <?php
314
- if($tracker->ep_status == "unknown"){
315
- echo apply_filters("trackship_status_filter",'unknown');
316
- } else{
317
- echo apply_filters("trackship_status_filter",'pre_transit');
318
- }
319
- ?>
320
- </span>
321
- </div>
322
-
323
- <div class="dot-div">
324
- <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>
325
- <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'; } ?>">
326
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
327
- </span>
328
- </div>
329
-
330
- <div class="dot-div">
331
- <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>
332
- <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'; } ?>">
333
- <?php
334
- if($tracker->ep_status == "return_to_sender"){
335
- echo apply_filters("trackship_status_filter",'return_to_sender');
336
- } elseif($tracker->ep_status == "failure"){
337
- echo apply_filters("trackship_status_filter",'failure');
338
- } else{
339
- echo apply_filters("trackship_status_filter",'out_for_delivery');
340
- }
341
- ?>
342
- </span>
343
- </div>
344
-
345
- <div class="dot-div">
346
- <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>
347
- <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'; }?>">
348
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
349
- </span>
350
- </div>
351
-
352
- </div>
353
- </div>
354
- </div>
355
- <?php } ?>
356
- <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
357
- <div class="shipment_progress_div">
358
- <div class="shipment_progress_heading_div">
359
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
360
- </div>
361
- <table class="tracking-table">
362
- <tbody>
363
- <?php
364
- $i=0;
365
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
366
- <tr>
367
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
368
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
369
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
370
- <td><?php echo $status_detail->message; ?></td>
371
- </tr>
372
- <?php }
373
- ?>
374
- </tbody>
375
- </table>
376
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
377
-
378
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
379
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
380
- <?php } ?>
381
- </div>
382
- <?php } ?>
383
- </div>
384
- <?php } else{ ?>
385
  <div class="tracking-detail col">
386
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
387
  <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
@@ -397,18 +285,52 @@ class WC_Advanced_Shipment_Tracking_Front {
397
  <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
398
  </div>
399
  <?php }
400
-
401
  $form = ob_get_clean();
402
  return $form;
403
- }
404
  }
405
 
406
  public function get_tracking_info_fun(){
407
-
 
408
  global $wpdb;
409
  $wc_ast_api_key = get_option('wc_ast_api_key');
410
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
411
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
412
  if(!$wc_ast_api_key){
413
  return;
414
  }
@@ -438,7 +360,7 @@ class WC_Advanced_Shipment_Tracking_Front {
438
  } else {
439
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
440
  }
441
-
442
  if(!$tracking_items){
443
  echo 'tracking_items_not_found';
444
  exit;
@@ -447,7 +369,7 @@ class WC_Advanced_Shipment_Tracking_Front {
447
  $num = 1;
448
  $total_trackings = sizeof($tracking_items);
449
 
450
- foreach($tracking_items as $item){
451
 
452
  $tracking_number = $item['tracking_number'];
453
  $trackship_url = 'https://trackship.info';
@@ -455,25 +377,38 @@ class WC_Advanced_Shipment_Tracking_Front {
455
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
456
  $tracking_provider = $results->provider_name;
457
 
458
- /*** Update in 2.4.1
459
- * Change URL
460
- * Add User Key
461
  ***/
462
- $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
463
- $args['body'] = array(
464
- 'tracking_number' => $tracking_number,
465
- 'order_id' => $order_id,
466
- 'domain' => get_home_url(),
467
- 'user_key' => $wc_ast_api_key,
468
- );
469
- $response = wp_remote_post( $url, $args );
470
- $data = $response['body'];
471
- $decoded_data = json_decode($data);
472
-
473
- $tracker = new \stdClass();
474
- $tracker->ep_status = '';
475
- if(!empty($decoded_data)){
476
- $tracker = $decoded_data[0];
 
 
 
 
 
 
 
 
 
 
 
 
 
477
  }
478
 
479
  $tracking_detail_org = '';
@@ -482,64 +417,167 @@ class WC_Advanced_Shipment_Tracking_Front {
482
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
483
  $tracking_detail_org = json_decode($tracker->tracking_detail);
484
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
485
- }
486
-
487
- if(!empty($decoded_data)){
488
-
489
- if($tracker->est_delivery_date){
490
- $unixTimestamp = strtotime($tracker->est_delivery_date);
491
- $day = date("l", $unixTimestamp);
492
- }
493
-
494
- if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
495
-
496
- if($tracker->ep_status == "return_to_sender" ){
497
- $state2_class = 'return_to_sender';
498
- } elseif($tracker->ep_status == "failure"){
499
- $state2_class = 'failure';
500
- } elseif($tracker->ep_status == "available_for_pickup"){
501
- $state2_class = 'available_for_pickup';
502
- } else{
503
- $state2_class = 'out_for_delivery';
504
  }
505
- ?>
 
 
 
 
 
 
 
 
 
506
 
507
  <div class="tracking-detail col">
508
  <?php if($total_trackings > 1 ){ ?>
509
  <p class="shipment_heading"><?php
510
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
511
- <?php } ?>
512
- <div class="tracking-header">
513
- <div class="col-md col-md-6">
514
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></span><br/>
515
- <?php echo apply_filters( 'ast_provider_title', $tracking_provider); ?>: <span class="tracking-number"><?php echo $tracker->tracking_code; ?></span>
516
- <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>
517
- </div>
518
- <div class="col-md col-md-6">
519
- <?php
520
- if($tracker->est_delivery_date){
521
- ?>
522
- <div class="text-muted text-right">
523
- <?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>
524
- </div>
525
- <?php } else{ ?>
526
- <div class="text-muted text-right">
527
- <?php _e( 'Estimated Delivery Date: ', 'woo-advanced-shipment-tracking' ); ?><span class="tracking-number">N/A</span>
528
- </div>
529
- <?php } ?>
530
- </div>
531
- </div>
532
- <?php
533
  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'){
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
534
 
535
- }
536
- elseif(isset($tracker->ep_status)){ ?>
537
- <div class="status-section desktop-section">
538
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
539
- <div class="progress">
540
- <div class="progress-bar"></div>
541
- </div>
542
- <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';} ?>">
 
 
 
 
 
 
 
 
543
  <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>
544
  <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
545
  <?php
@@ -550,135 +588,248 @@ class WC_Advanced_Shipment_Tracking_Front {
550
  }
551
  ?>
552
  </span>
553
-
 
 
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
-
 
 
559
  <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>
560
- <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'; } ?>">
561
- <?php
562
- if($tracker->ep_status == "return_to_sender"){
563
- echo apply_filters("trackship_status_filter",'return_to_sender');
564
- } elseif($tracker->ep_status == "failure"){
565
- echo apply_filters("trackship_status_filter",'failure');
566
- } else{
567
- echo apply_filters("trackship_status_filter",'out_for_delivery');
568
- }
569
- ?>
570
  </span>
571
-
 
 
572
  <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>
573
  <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'; }?>">
574
  <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
575
  </span>
576
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
577
  </div>
 
578
  </div>
579
-
580
- <div class="status-section mobile-section">
581
- <div class="tracker-progress-bar tracker-progress-bar-with-dots">
582
- <div class="progress">
583
- <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>
584
- </div>
585
- <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';} ?>">
586
-
587
- <div class="dot-div">
588
- <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>
589
- <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
590
- <?php
591
- if($tracker->ep_status == "unknown"){
592
- echo apply_filters("trackship_status_filter",'unknown');
593
- } else{
594
- echo apply_filters("trackship_status_filter",'pre_transit');
595
- }
596
- ?>
597
- </span>
598
- </div>
599
-
600
- <div class="dot-div">
601
- <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>
602
- <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'; } ?>">
603
- <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
604
- </span>
605
- </div>
606
-
607
- <div class="dot-div">
608
- <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>
609
- <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'; } ?>">
610
- <?php
611
- if($tracker->ep_status == "return_to_sender"){
612
- echo apply_filters("trackship_status_filter",'return_to_sender');
613
- } elseif($tracker->ep_status == "failure"){
614
- echo apply_filters("trackship_status_filter",'failure');
615
- } else{
616
- echo apply_filters("trackship_status_filter",'out_for_delivery');
617
- }
618
- ?>
619
- </span>
620
- </div>
621
-
622
- <div class="dot-div">
623
- <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>
624
- <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'; }?>">
625
- <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
626
- </span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
627
  </div>
628
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
629
  </div>
 
630
  </div>
631
- </div>
632
- <?php } ?>
633
- <?php if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){ ?>
634
- <div class="shipment_progress_div">
635
- <div class="shipment_progress_heading_div">
636
- <h4 class="tracking-number h4-heading" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
637
- </div>
638
- <table class="tracking-table">
639
- <tbody>
640
- <?php
641
- $i=0;
642
- foreach($trackind_detail_by_status_rev as $key=>$status_detail){ ?>
643
- <tr>
644
- <td><?php echo date_i18n( get_option( 'date_format' ), strtotime($status_detail->datetime) ); ?>
645
- <?php echo date_i18n( get_option( 'time_format' ), strtotime($status_detail->datetime) ); ?></td>
646
- <td><?php echo apply_filters("trackship_status_filter",$status_detail->status);?></td>
647
- <td><?php echo $status_detail->message; ?></td>
648
- </tr>
649
- <?php }
650
- ?>
651
- </tbody>
652
- </table>
653
- <?php if(count($trackind_detail_by_status_rev) > 2){ ?>
654
-
655
- <a class="view_table_rows" href="javaScript:void(0);"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
656
- <a class="hide_table_rows" href="javaScript:void(0);"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
657
- <?php } ?>
658
- </div>
659
- <?php } ?>
660
- </div>
661
- <?php } else{ ?>
662
- <div class="tracking-detail col">
663
- <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
664
- <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
665
  </div>
666
- <?php }
667
- $num++;
668
- }
669
-
670
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
671
-
672
- if($remove_trackship_branding != 1){ ?>
673
-
674
- <div class="trackship_branding">
675
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
676
- </div>
677
-
678
- <?php }
679
-
680
- exit;
681
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
682
 
683
  /**
684
  * convert string to date
@@ -697,35 +848,42 @@ class WC_Advanced_Shipment_Tracking_Front {
697
 
698
  public static function preview_tracking_page(){
699
  $action = (isset($_REQUEST["action"])?$_REQUEST["action"]:"");
700
- if($action != 'preview_tracking_page')return;
701
-
702
- get_header();
703
-
704
  $wc_ast_api_key = get_option('wc_ast_api_key');
705
  $primary_color = get_option('wc_ast_select_primary_color');
706
  $border_color = get_option('wc_ast_select_border_color');
707
- $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
 
 
708
  ?>
709
 
710
  <style>
 
 
 
711
  <?php if($primary_color){ ?>
712
  .bg-secondary{
713
- background-color:<?php echo $primary_color; ?> !important;
714
  }
715
  .tracker-progress-bar-with-dots .secondary .dot {
716
  border-color: <?php echo $primary_color; ?>;
717
  }
718
  .text-secondary{
719
- color: <?php echo $primary_color; ?> !important;
720
  }
721
  .progress-bar.bg-secondary:before{
722
  background-color: <?php echo $primary_color; ?>;
723
  }
724
  .tracking-number{
725
- color: <?php echo $primary_color; ?> !important;
726
  }
727
- .view_table_rows,.hide_table_rows{
728
- color: <?php echo $primary_color; ?> !important;
 
 
 
729
  }
730
  <?php }
731
  if($border_color){ ?>
@@ -735,118 +893,280 @@ class WC_Advanced_Shipment_Tracking_Front {
735
  <?php } ?>
736
  </style>
737
 
738
- <div class="tracking-detail col">
739
- <div class="tracking-header">
740
- <div class="col-md col-md-6">
741
- <?php _e( 'Order', 'woocommerce' ); ?>: <span class="tracking-number">#4542</span><br>
742
- USPS: <span class="tracking-number">9405511899561468285343</span>
743
- <h1 class="shipment_status_heading text-success">Delivered</h1>
 
744
  </div>
745
- <div class="col-md col-md-6">
746
- <div class="text-muted text-right">
747
- <?php _e( 'Estimated Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <span class="tracking-number">Friday, Jun 28</span>
748
  </div>
749
  </div>
750
  </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
751
  <div class="status-section desktop-section">
752
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
753
  <div class="progress">
754
- <div class="progress-bar bg-success" style=""></div>
755
  </div>
756
  <div style="background-color: transparent;" class="success">
757
- <span class="dot state-0 pre_transit past-state"></span>
758
- <span class="state-label past-state">
759
- Pre Transit
760
- </span>
761
  <span class="dot state-1 in_transit past-state"></span>
762
- <span class="state-label state-1 past-state">
763
- In Transit
764
- </span>
765
- <span class="dot state-2 out_for_delivery past-state"></span>
766
- <span class="state-label state-2 past-state">
767
- Out for delivery
768
- </span>
769
- <span class="dot state-3 delivered current-state"></span>
770
- <span class="state-label state-3 current-state">
771
- Delivered </span>
772
  </div>
773
  </div>
774
  </div>
775
  <div class="status-section mobile-section">
776
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
777
- <div class="progress">
778
- <div class="progress-bar bg-success" style=""></div>
779
  </div>
780
  <div style="background-color: transparent;" class="success">
781
  <div class="dot-div">
782
- <span class="dot state-0 pre_transit past-state"></span>
783
- <span class="state-label past-state">
784
- Pre Transit
785
- </span>
786
  </div>
787
  <div class="dot-div">
788
- <span class="dot state-1 in_transit past-state"></span>
789
- <span class="state-label state-1 past-state">
790
- In Transit
791
- </span>
792
  </div>
793
  <div class="dot-div">
794
- <span class="dot state-2 out_for_delivery past-state"></span>
795
- <span class="state-label state-2 past-state">
796
- Out for delivery
797
- </span>
798
  </div>
799
  <div class="dot-div">
800
- <span class="dot state-3 delivered current-state"></span>
801
- <span class="state-label state-3 current-state">
802
- Delivered </span>
803
  </div>
804
  </div>
805
  </div>
806
- </div>
807
-
808
- <?php if($hide_tracking_events != 1){ ?>
809
 
810
- <div class="shipment_progress_div">
811
- <div class="shipment_progress_heading_div">
812
- <h4 class="tracking-number h4-heading"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
813
  </div>
814
- <table class="tracking-table">
815
- <tbody>
816
- <tr>
817
- <td>June 28, 2019 1:46 pm</td>
818
- <td>Delivered</td>
819
- <td>Delivered, Garage or Other Location at Address</td>
820
- </tr>
821
- <tr>
822
- <td>June 28, 2019 8:31 am</td>
823
- <td>Out for delivery</td>
824
- <td>Out for Delivery</td>
825
- </tr>
826
- <tr style="display: none;">
827
- <td>June 28, 2019 8:21 am</td>
828
- <td>In Transit</td>
829
- <td>Sorting Complete</td>
830
- </tr>
831
- </tbody>
832
- </table>
833
- <a class="view_table_rows" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
834
- <a class="hide_table_rows" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
835
- </div>
836
-
837
- <?php } ?>
838
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
839
  </div>
840
- <?php
841
 
842
- $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
843
-
844
- if($remove_trackship_branding != 1){ ?>
845
- <div class="trackship_branding">
846
- <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
847
  </div>
848
- <?php }
849
- get_footer();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
850
  exit;
851
  }
852
  }
66
  * Include front js and css
67
  */
68
  public function front_styles(){
69
+ wp_register_script( 'front-js', wc_advanced_shipment_tracking()->plugin_dir_url().'assets/js/front.js', array( 'jquery' ), wc_advanced_shipment_tracking()->version );
70
  wp_localize_script( 'front-js', 'zorem_ajax_object', array( 'ajax_url' => admin_url( 'admin-ajax.php' ) ) );
71
 
72
+ wp_register_style( 'front_style', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/front.css', array(), wc_advanced_shipment_tracking()->version );
73
+
74
+ $action = (isset($_REQUEST["action"])?$_REQUEST["action"]:"");
75
+ if($action == 'preview_tracking_page'){
76
+ wp_enqueue_style( 'front_style' );
77
+ wp_enqueue_script( 'front-js' );
78
+ }
79
  }
80
 
81
+ public function woo_track_order_function(){
82
+ wp_enqueue_style( 'front_style' );
83
+ wp_enqueue_script( 'front-js' );
84
  global $wpdb;
85
  $wc_ast_api_key = get_option('wc_ast_api_key');
86
  $primary_color = get_option('wc_ast_select_primary_color');
87
  $success_color = get_option('wc_ast_select_success_color');
88
  $warning_color = get_option('wc_ast_select_warning_color');
89
  $border_color = get_option('wc_ast_select_border_color');
90
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
91
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
92
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
93
  ?>
94
+ <style>
95
+ <?php if($primary_color){ ?>
96
+ body .tracker-progress-bar-with-dots .secondary .dot {
97
+ border-color: <?php echo $primary_color; ?>;
98
+ }
99
+ body .progress-bar.bg-secondary:before{
100
+ background-color: <?php echo $primary_color; ?>;
101
+ }
102
+ body .tracking-number{
103
+ color: <?php echo $primary_color; ?> !important;
104
+ }
105
+ body .tracking-detail.tracking-layout-2{
106
+ color: <?php echo $primary_color; ?>;
107
+ }
108
+ body .tracking-detail .tracking-details{
109
+ color: <?php echo $primary_color; ?>;
110
+ }
 
 
 
 
111
  <?php } ?>
112
  <?php if($border_color){ ?>
113
+ body .col.tracking-detail{
114
+ border: 1px solid <?php echo $border_color; ?>;
115
+ }
116
  <?php } ?>
117
  </style>
118
  <?php
138
  } else {
139
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
140
  }
141
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
142
  if(!$tracking_items){
143
  unset($order_id);
144
  }
175
  $num = 1;
176
  $total_trackings = sizeof($tracking_items);
177
 
178
+ foreach($tracking_items as $key => $item){
179
 
180
  $tracking_number = $item['tracking_number'];
181
  $trackship_url = 'https://trackship.info';
182
  $tracking_provider = $item['tracking_provider'];
183
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
184
  $tracking_provider = $results->provider_name;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
185
 
186
+ /*** Update in 2.7.9
187
+ * Date - 20/01/2020
188
+ * Remove api call code after three month - get_tracking_info
189
+ ***/
190
+ if( isset($shipment_status[$key]['tracking_events'])){
191
+ $tracker = new \stdClass();
192
+ $tracker->ep_status = $shipment_status[$key]['status'];
193
+ $tracker->tracking_detail = json_encode($shipment_status[$key]['tracking_events']);
194
+ $tracker->est_delivery_date = $shipment_status[$key]['est_delivery_date'];
195
+ $decoded_data = true;
196
+
197
+ } else {
198
+ /*** Update in 2.4.1
199
+ * Change URL
200
+ * Add User Key
201
+ ***/
202
+ $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
203
+ $args['body'] = array(
204
+ 'tracking_number' => $tracking_number,
205
+ 'order_id' => $order_id,
206
+ 'domain' => get_home_url(),
207
+ 'user_key' => $wc_ast_api_key,
208
+ );
209
+ $response = wp_remote_post( $url, $args );
210
+ $data = $response['body'];
211
+ $decoded_data = json_decode($data);
212
+
213
+ $tracker = new \stdClass();
214
+ $tracker->ep_status = '';
215
+ if(!empty($decoded_data)){
216
+ $tracker = $decoded_data[0];
217
+ }
218
  }
219
 
220
  $tracking_detail_org = '';
221
  $trackind_detail_by_status_rev = '';
222
 
223
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
224
+ $tracking_detail_org = json_decode($tracker->tracking_detail);
225
+
226
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
 
 
 
 
 
 
 
227
  }
228
+ $tracking_details_by_date = array();
229
+ foreach((array)$trackind_detail_by_status_rev as $key => $details){
230
+ if(isset($details->datetime)){
231
+ $date = date('Y-m-d', strtotime($details->datetime));
232
+ $tracking_details_by_date[$date][] = $details;
233
+ }
234
+ }
235
+
236
+ if(!empty($decoded_data)){
237
+ if($tracking_page_layout == 't_layout_1'){ ?>
 
 
 
238
 
239
  <div class="tracking-detail col">
240
  <?php if($total_trackings > 1 ){ ?>
241
  <p class="shipment_heading"><?php
242
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
243
+ <?php }
244
+ echo $this->tracking_page_header($order_id,$tracking_provider,$tracking_number,$tracker);
245
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
246
  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'){
247
+ } elseif(isset($tracker->ep_status)){
248
+ echo $this->layout1_progress_bar($tracker);
249
+ }
250
+
251
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
252
+ echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
253
+ } ?>
254
+ </div>
255
+ <?php } else{
256
+ ?>
257
+ <div class="tracking-detail tracking-layout-2 col">
258
+ <?php if($total_trackings > 1 ){ ?>
259
+ <p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
260
+ <?php }
261
+ echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracking_number,$tracker);
262
+ 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'){
263
+ } elseif(isset($tracker->ep_status)){
264
+ echo $this->layout2_progress_bar($tracker);
265
+ }
266
+
267
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
268
+ echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
269
+ } ?>
270
+
271
+ </div>
272
+ <?php } } else{ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  <div class="tracking-detail col">
274
  <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
275
  <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
285
  <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
286
  </div>
287
  <?php }
 
288
  $form = ob_get_clean();
289
  return $form;
290
+ }
291
  }
292
 
293
  public function get_tracking_info_fun(){
294
+ wp_enqueue_style( 'front_style' );
295
+ wp_enqueue_script( 'front-js' );
296
  global $wpdb;
297
  $wc_ast_api_key = get_option('wc_ast_api_key');
298
+ $primary_color = get_option('wc_ast_select_primary_color');
299
+ $success_color = get_option('wc_ast_select_success_color');
300
+ $warning_color = get_option('wc_ast_select_warning_color');
301
+ $border_color = get_option('wc_ast_select_border_color');
302
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
303
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
304
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
305
+ ?>
306
+ <style>
307
+ <?php if($primary_color){ ?>
308
+ body .tracker-progress-bar-with-dots .secondary .dot {
309
+ border-color: <?php echo $primary_color; ?>;
310
+ }
311
+ body .text-secondary{
312
+ color: <?php echo $primary_color; ?> !important;
313
+ }
314
+ body .progress-bar.bg-secondary:before{
315
+ background-color: <?php echo $primary_color; ?>;
316
+ }
317
+ body .tracking-number{
318
+ color: <?php echo $primary_color; ?> !important;
319
+ }
320
+ body .tracking-detail.tracking-layout-2{
321
+ color: <?php echo $primary_color; ?>;
322
+ }
323
+ body .tracking-detail .tracking-details{
324
+ color: <?php echo $primary_color; ?>;
325
+ }
326
+ <?php } ?>
327
+ <?php if($border_color){ ?>
328
+ body .col.tracking-detail{
329
+ border: 1px solid <?php echo $border_color; ?>;
330
+ }
331
+ <?php } ?>
332
+ </style>
333
+ <?php
334
  if(!$wc_ast_api_key){
335
  return;
336
  }
360
  } else {
361
  $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
362
  }
363
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
364
  if(!$tracking_items){
365
  echo 'tracking_items_not_found';
366
  exit;
369
  $num = 1;
370
  $total_trackings = sizeof($tracking_items);
371
 
372
+ foreach($tracking_items as $key => $item){
373
 
374
  $tracking_number = $item['tracking_number'];
375
  $trackship_url = 'https://trackship.info';
377
  $results = $wpdb->get_row( "SELECT * FROM {$this->table} WHERE ts_slug= '{$tracking_provider}'");
378
  $tracking_provider = $results->provider_name;
379
 
380
+ /*** Update in 2.7.9
381
+ * Date - 20/01/2020
382
+ * Remove api call code after three month - get_tracking_info
383
  ***/
384
+ if( isset($shipment_status[$key]['tracking_events'])){
385
+ $tracker = new \stdClass();
386
+ $tracker->ep_status = $shipment_status[$key]['status'];
387
+ $tracker->tracking_detail = json_encode($shipment_status[$key]['tracking_events']);
388
+ $tracker->est_delivery_date = $shipment_status[$key]['est_delivery_date'];
389
+ $decoded_data = true;
390
+
391
+ } else {
392
+ /*** Update in 2.4.1
393
+ * Change URL
394
+ * Add User Key
395
+ ***/
396
+ $url = $trackship_url.'/wp-json/tracking/get_tracking_info';
397
+ $args['body'] = array(
398
+ 'tracking_number' => $tracking_number,
399
+ 'order_id' => $order_id,
400
+ 'domain' => get_home_url(),
401
+ 'user_key' => $wc_ast_api_key,
402
+ );
403
+ $response = wp_remote_post( $url, $args );
404
+ $data = $response['body'];
405
+ $decoded_data = json_decode($data);
406
+
407
+ $tracker = new \stdClass();
408
+ $tracker->ep_status = '';
409
+ if(!empty($decoded_data)){
410
+ $tracker = $decoded_data[0];
411
+ }
412
  }
413
 
414
  $tracking_detail_org = '';
417
  if(isset($tracker->tracking_detail) && $tracker->tracking_detail != 'null'){
418
  $tracking_detail_org = json_decode($tracker->tracking_detail);
419
  $trackind_detail_by_status_rev = array_reverse($tracking_detail_org);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
420
  }
421
+ $tracking_details_by_date = array();
422
+ foreach((array)$trackind_detail_by_status_rev as $key => $details){
423
+ if(isset($details->datetime)){
424
+ $date = date('Y-m-d', strtotime($details->datetime));
425
+ $tracking_details_by_date[$date][] = $details;
426
+ }
427
+ }
428
+
429
+ if(!empty($decoded_data)){
430
+ if($tracking_page_layout == 't_layout_1'){ ?>
431
 
432
  <div class="tracking-detail col">
433
  <?php if($total_trackings > 1 ){ ?>
434
  <p class="shipment_heading"><?php
435
  echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
436
+ <?php }
437
+ echo $this->tracking_page_header($order_id,$tracking_provider,$tracking_number,$tracker);
438
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
439
  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'){
440
+ } elseif(isset($tracker->ep_status)){
441
+ echo $this->layout1_progress_bar($tracker);
442
+ }
443
+
444
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
445
+ echo $this->layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
446
+ } ?>
447
+ </div>
448
+ <?php } else{
449
+ ?>
450
+ <div class="tracking-detail tracking-layout-2 col">
451
+ <?php if($total_trackings > 1 ){ ?>
452
+ <p class="shipment_heading"><?php echo sprintf(__("Shipment - %s (out of %s)", 'woo-advanced-shipment-tracking'), $num , $total_trackings); ?></p>
453
+ <?php }
454
+ echo $tracking_header = $this->tracking_page_header($order_id,$tracking_provider,$tracking_number,$tracker);
455
+ 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'){
456
+ } elseif(isset($tracker->ep_status)){
457
+ echo $this->layout2_progress_bar($tracker);
458
+ }
459
+
460
+ if( !empty($trackind_detail_by_status_rev) && $hide_tracking_events != 1 ){
461
+ echo $this->layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date);
462
+ } ?>
463
+
464
+ </div>
465
+ <?php } } else{ ?>
466
+ <div class="tracking-detail col">
467
+ <h1 class="shipment_status_heading text-secondary text-center"><?php _e( 'Tracking&nbsp;#&nbsp;'.$tracking_number, 'woo-advanced-shipment-tracking' ); ?></h1>
468
+ <h3 class="text-center"><?php _e( 'Tracking details not found in TrackShip', 'woo-advanced-shipment-tracking' ); ?></h3>
469
+ </div>
470
+ <?php }
471
+ $num++;
472
+ }
473
+
474
+ $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
475
+
476
+ if($remove_trackship_branding != 1){ ?>
477
+
478
+ <div class="trackship_branding">
479
+ <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
480
+ </div>
481
+
482
+ <?php }
483
+
484
+ exit;
485
+ }
486
+
487
+ public function tracking_page_header($order_id,$tracking_provider,$tracking_number,$tracker){
488
+ if($tracker->est_delivery_date){
489
+ $unixTimestamp = strtotime($tracker->est_delivery_date);
490
+ $day = date("l", $unixTimestamp);
491
+ }
492
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
493
+ ?>
494
+ <div class="tracking-header tracking-desktop-header">
495
+ <div class="col-md col-md-6">
496
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span><br>
497
+ <span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracking_number; ?></strong></span>
498
+ <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'; } ?>">
499
+ <?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
500
+ </h1>
501
+ <span class="tracking-number">
502
+ <?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
503
+ <?php
504
+ if($tracker->est_delivery_date){
505
+ echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
506
+ } else{
507
+ echo 'N/A';
508
+ } ?></strong>
509
+ </span>
510
+ </div>
511
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
512
+ <div class="text-right">
513
+ <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">
514
+ </div>
515
+ </div>
516
+ </div>
517
+ <div class="tracking-header tracking-mobile-header">
518
+ <div class="d-flex align-items-center header_top1">
519
+ <div class="header_top_left">
520
+ <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">
521
+ </div>
522
+ <div class="header_top_right">
523
+ <span class="tracking-number"><?php echo $tracking_provider; ?>: <strong><?php echo $tracker->tracking_code; ?></strong></span><br>
524
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#<?php echo apply_filters( 'ast_order_number_filter', $order_id); ?></strong></span>
525
+ </div>
526
+ </div>
527
+ <div class="col-md col-md-6 header_top2">
528
+ <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'; } ?>">
529
+ <?php echo apply_filters("trackship_status_filter",$tracker->ep_status);?>
530
+ </h1>
531
+ <span class="tracking-number">
532
+ <?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>
533
+ <?php
534
+ if($tracker->est_delivery_date){
535
+ echo $day; ?>, <?php echo date('M d', strtotime($tracker->est_delivery_date));
536
+ } else{
537
+ echo 'N/A';
538
+ } ?></strong>
539
+ </span>
540
+ </div>
541
+ </div>
542
+ <?php }
543
+
544
+ public function layout1_progress_bar($tracker){
545
+ if($tracker->ep_status == "unknown"){ $state0_class = 'unknown'; } else{ $state0_class = 'pre_transit'; }
546
+
547
+ if($tracker->ep_status == "return_to_sender" ){
548
+ $state2_class = 'return_to_sender';
549
+ } elseif($tracker->ep_status == "failure"){
550
+ $state2_class = 'failure';
551
+ } elseif($tracker->ep_status == "available_for_pickup"){
552
+ $state2_class = 'available_for_pickup';
553
+ } else{
554
+ $state2_class = 'out_for_delivery';
555
+ }
556
+ ?>
557
+ <div class="status-section desktop-section">
558
+ <div class="tracker-progress-bar tracker-progress-bar-with-dots">
559
+ <div class="progress">
560
+ <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>
561
+ </div>
562
+ <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';} ?>">
563
+ <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>
564
 
565
+ <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>
566
+
567
+ <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>
568
+
569
+ <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>
570
+
571
+ </div>
572
+ </div>
573
+ </div>
574
+ <div class="status-section mobile-section">
575
+ <div class="tracker-progress-bar tracker-progress-bar-with-dots">
576
+ <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%'; } ?>">
577
+ <div class="progress-bar" style=""></div>
578
+ </div>
579
+ <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';} ?>">
580
+ <div class="dot-div">
581
  <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>
582
  <span class="state-label <?php if($tracker->ep_status =="pre_transit" || $tracker->ep_status =="unknown"){ echo 'current-state'; } else{ echo 'past-state';} ?>">
583
  <?php
588
  }
589
  ?>
590
  </span>
591
+ </div>
592
+
593
+ <div class="dot-div">
594
  <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>
595
  <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'; } ?>">
596
+ <?php echo apply_filters("trackship_status_filter",'in_transit'); ?>
597
  </span>
598
+ </div>
599
+
600
+ <div class="dot-div">
601
  <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>
602
+ <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'; } ?>">
603
+ <?php
604
+ if($tracker->ep_status == "return_to_sender"){
605
+ echo apply_filters("trackship_status_filter",'return_to_sender');
606
+ } elseif($tracker->ep_status == "failure"){
607
+ echo apply_filters("trackship_status_filter",'failure');
608
+ } else{
609
+ echo apply_filters("trackship_status_filter",'out_for_delivery');
610
+ }
611
+ ?>
612
  </span>
613
+ </div>
614
+
615
+ <div class="dot-div">
616
  <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>
617
  <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'; }?>">
618
  <?php echo apply_filters("trackship_status_filter",'delivered'); ?>
619
  </span>
620
+ </div>
621
+ </div>
622
+ </div>
623
+ </div>
624
+ <?php }
625
+
626
+ public function layout2_progress_bar($tracker){
627
+ 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'){
628
+ $width = '0';
629
+ $progress_bar_class = 'bg-secondary';
630
+ } else if($tracker->ep_status == 'in_transit'){
631
+ $width = '33%';
632
+ $progress_bar_class = 'bg-secondary';
633
+ } else if($tracker->ep_status == 'out_for_delivery'){
634
+ $width = '67%';
635
+ $progress_bar_class = 'bg-secondary';
636
+ } else if($tracker->ep_status == 'available_for_pickup'){
637
+ $width = '67%';
638
+ $progress_bar_class = 'bg-success';
639
+ } else if($tracker->ep_status == 'return_to_sender'){
640
+ $width = '67%';
641
+ $progress_bar_class = 'bg-warning';
642
+ } else if($tracker->ep_status == 'delivered'){
643
+ $width = '100%';
644
+ $progress_bar_class = 'bg-success';
645
+ }
646
+ ?>
647
+ <div class="tracker-progress-bar tracker-progress-bar-flat">
648
+ <div class="progress">
649
+ <div class="progress-bar <?php echo $progress_bar_class; ?>" style="width: <?php echo $width; ?>;"></div>
650
+ </div>
651
+ </div>
652
+ <?php }
653
+
654
+ public function layout1_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){
655
+ ?>
656
+ <div class="tracking-details" style="">
657
+ <div class="shipment_progress_heading_div">
658
+ <h4 class="tracking-number h4-heading text-uppercase"><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
659
+ </div>
660
+ <?php if(!empty($tracking_details_by_date)){ ?>
661
+ <div class="tracking_details_desktop">
662
+ <div class="tracking_group_by_date">
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
+ ?>
669
+ <div class="d-flex mb-3">
670
+ <div class="d-md-flex w-100">
671
+ <div class="date text-uppercase font-weight-demi-bold"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></div>
672
+ <div class="time mr-md-2"><?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
673
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
674
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
675
+ </div>
676
+ </div>
677
+ <?php } $a++; } ?>
678
+ </div>
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
+ <div class="tracking_group_by_date">
688
+ <?php foreach($date_details as $key => $value){ ?>
689
+ <div class="d-flex mb-3">
690
+ <div class="d-md-flex w-100">
691
+ <div class="date text-uppercase font-weight-demi-bold"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></div>
692
+ <div class="time mr-md-2"><?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
693
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
694
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
695
+ </div>
696
+ </div>
697
+ <?php } ?>
698
  </div>
699
+ <?php } ?>
700
  </div>
701
+ </div>
702
+ <div class="tracking_details_mobile">
703
+ <?php
704
+ $a = 1;
705
+ foreach($tracking_details_by_date as $date => $date_details){
706
+ if($a > 1)break;
707
+ foreach($date_details as $key => $value){ ?>
708
+ <div class="d-flex mb-3 tracking_details_mobile_row">
709
+ <div class="d-md-flex w-100">
710
+ <div class="time mr-md-2"><span class="text-uppercase"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></span> <?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
711
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
712
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
713
+ </div>
714
+ </div>
715
+ <?php }
716
+ $a++;
717
+ }
718
+ ?>
719
+ <div class="old-details" style="">
720
+ <?php
721
+ $a = 1;
722
+ foreach($tracking_details_by_date as $date => $date_details){
723
+ if($a == 1){
724
+ $a++;
725
+ continue;
726
+ }
727
+ foreach($date_details as $key => $value){
728
+ ?>
729
+ <div class="d-flex mb-3 tracking_details_mobile_row">
730
+ <div class="d-md-flex w-100">
731
+ <div class="time mr-md-2"><span class="text-uppercase"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></span> <?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
732
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
733
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
734
+ </div>
735
+ </div>
736
+ <?php } } ?>
737
+ </div>
738
+ </div>
739
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
740
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
741
+ <?php } ?>
742
+ </div>
743
+ <?php }
744
+
745
+ public function layout2_tracking_details($trackind_detail_by_status_rev,$tracking_details_by_date){ ?>
746
+ <div class="tracking-details">
747
+ <div class="shipment_progress_heading_div">
748
+ <h4 class="tracking-number h4-heading text-uppercase" style=""><?php _e( 'Tracking Details', 'woo-advanced-shipment-tracking' ); ?></h4>
749
+ </div>
750
+ <div class="tracking_details_desktop">
751
+ <?php
752
+ $a = 1;
753
+ foreach($tracking_details_by_date as $date => $date_details){
754
+ if($a > 1)break;
755
+ ?>
756
+ <div class="tracking_group_by_date">
757
+ <div class="date text-uppercase font-weight-bold mb-3"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></div>
758
+ <?php foreach($date_details as $key => $value){ ?>
759
+ <div class="d-flex mb-3">
760
+ <div class="d-md-flex w-100">
761
+ <div class="time mr-md-2"><?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
762
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
763
+ <div class="location text-uppercase text-md-right ml-auto"><?php echo $value->tracking_location->city; ?></div>
764
+ </div>
765
  </div>
766
+ <?php } ?>
767
+ </div>
768
+ <?php $a++; } ?>
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
+ <div class="tracking_group_by_date">
778
+ <div class="date text-uppercase font-weight-bold mb-3"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></div>
779
+ <?php foreach($date_details as $key => $value){ ?>
780
+ <div class="d-flex mb-3">
781
+ <div class="d-md-flex w-100">
782
+ <div class="time text-gray-300 mr-md-2 text-success"><?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
783
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
784
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
785
+ </div>
786
  </div>
787
+ <?php } ?>
788
  </div>
789
+ <?php } ?>
790
+ </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
791
  </div>
792
+ <div class="tracking_details_mobile">
793
+ <?php
794
+ $a = 1;
795
+ foreach($tracking_details_by_date as $date => $date_details){
796
+ if($a > 1)break;
797
+ foreach($date_details as $key => $value){ ?>
798
+ <div class="d-flex mb-3 tracking_details_mobile_row">
799
+ <div class="d-md-flex w-100">
800
+ <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_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
801
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
802
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
803
+ </div>
804
+ </div>
805
+ <?php }
806
+ $a++;
807
+ }
808
+ ?>
809
+ <div class="old-details" style="">
810
+ <?php
811
+ $a = 1;
812
+ foreach($tracking_details_by_date as $date => $date_details){
813
+ if($a == 1){
814
+ $a++;
815
+ continue;
816
+ }
817
+ foreach($date_details as $key => $value){
818
+ ?>
819
+ <div class="d-flex mb-3 tracking_details_mobile_row">
820
+ <div class="d-md-flex w-100">
821
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase"><?php echo date_i18n( get_option( 'date_format' ), strtotime($date) ); //date( 'F j, Y', strtotime($date)); ?></span> <?php echo date_i18n( get_option( 'time_format' ), strtotime($value->datetime) ) //date( 'g:i a', strtotime($value->datetime)); ?></div>
822
+ <div class="message font-weight-demi-bold mr-md-3"><?php echo $value->message; ?></div>
823
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300"><?php echo $value->tracking_location->city; ?></div>
824
+ </div>
825
+ </div>
826
+ <?php } } ?>
827
+ </div>
828
+ </div>
829
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
830
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
831
+ </div>
832
+ <?php }
833
 
834
  /**
835
  * convert string to date
848
 
849
  public static function preview_tracking_page(){
850
  $action = (isset($_REQUEST["action"])?$_REQUEST["action"]:"");
851
+ if($action != 'preview_tracking_page')return;
852
+ wp_head();
853
+
 
854
  $wc_ast_api_key = get_option('wc_ast_api_key');
855
  $primary_color = get_option('wc_ast_select_primary_color');
856
  $border_color = get_option('wc_ast_select_border_color');
857
+ $hide_tracking_provider_image = get_option('wc_ast_hide_tracking_provider_image');
858
+ $hide_tracking_events = get_option('wc_ast_hide_tracking_events');
859
+ $tracking_page_layout = get_option('wc_ast_select_tracking_page_layout','t_layout_1');
860
  ?>
861
 
862
  <style>
863
+ html{
864
+ background-color:#fff;
865
+ }
866
  <?php if($primary_color){ ?>
867
  .bg-secondary{
868
+ background-color:<?php echo $primary_color; ?>;
869
  }
870
  .tracker-progress-bar-with-dots .secondary .dot {
871
  border-color: <?php echo $primary_color; ?>;
872
  }
873
  .text-secondary{
874
+ color: <?php echo $primary_color; ?>;
875
  }
876
  .progress-bar.bg-secondary:before{
877
  background-color: <?php echo $primary_color; ?>;
878
  }
879
  .tracking-number{
880
+ color: <?php echo $primary_color; ?>;
881
  }
882
+ .tracking-detail .tracking-number{
883
+ color: <?php echo $primary_color; ?>;
884
+ }
885
+ .tracking-detail.tracking-layout-2{
886
+ color: <?php echo $primary_color; ?>;
887
  }
888
  <?php }
889
  if($border_color){ ?>
893
  <?php } ?>
894
  </style>
895
 
896
+ <div class="tracking-detail tracking-layout-1 col" style="<?php if($tracking_page_layout != 't_layout_1'){ echo 'display:none;'; } ?>">
897
+ <div class="tracking-header tracking-desktop-header">
898
+ <div class="col-md col-md-6">
899
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
900
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
901
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
902
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
903
  </div>
904
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
905
+ <div class="text-right">
906
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
907
  </div>
908
  </div>
909
  </div>
910
+ <div class="tracking-header tracking-mobile-header">
911
+ <div class="d-flex align-items-center header_top1">
912
+ <div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
913
+ <div class="header_top_right">
914
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
915
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
916
+ </div>
917
+ </div>
918
+ <div class="col-md col-md-6 header_top2">
919
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
920
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
921
+ </div>
922
+ </div>
923
  <div class="status-section desktop-section">
924
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
925
  <div class="progress">
926
+ <div class="progress-bar bg-success bg-success" style="width:67%"></div>
927
  </div>
928
  <div style="background-color: transparent;" class="success">
929
+ <span class="dot state-0 pre_transit past-state"></span>
930
+
 
 
931
  <span class="dot state-1 in_transit past-state"></span>
932
+
933
+ <span class="dot state-2 out_for_delivery current-state"></span>
934
+
935
+ <span class="dot state-3 delivered future-state"></span>
936
+
 
 
 
 
 
937
  </div>
938
  </div>
939
  </div>
940
  <div class="status-section mobile-section">
941
  <div class="tracker-progress-bar tracker-progress-bar-with-dots">
942
+ <div class="progress bg-success" style="height: 62%;">
943
+ <div class="progress-bar" style=""></div>
944
  </div>
945
  <div style="background-color: transparent;" class="success">
946
  <div class="dot-div">
947
+ <span class="dot state-0 pre_transit past-state"></span>
948
+ <span class="state-label past-state">Pre Transit</span>
 
 
949
  </div>
950
  <div class="dot-div">
951
+ <span class="dot state-1 in_transit past-state"></span>
952
+ <span class="state-label state-1 past-state">In Transit</span>
 
 
953
  </div>
954
  <div class="dot-div">
955
+ <span class="dot state-2 out_for_delivery current-state"></span>
956
+ <span class="state-label state-2 past-state">Out for delivery</span>
 
 
957
  </div>
958
  <div class="dot-div">
959
+ <span class="dot state-3 delivered future-state"></span>
960
+ <span class="state-label state-3 current-state">Delivered</span>
 
961
  </div>
962
  </div>
963
  </div>
964
+ </div>
 
 
965
 
966
+ <div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
967
+ <div class="shipment_progress_heading_div">
968
+ <h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
969
  </div>
970
+ <div class="tracking_details_desktop">
971
+ <div class="tracking_group_by_date">
972
+ <div class="d-flex mb-3">
973
+ <div class="d-md-flex w-100">
974
+ <div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
975
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
976
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
977
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
978
+ </div>
979
+ </div>
980
+ <div class="d-flex mb-3">
981
+ <div class="d-md-flex w-100">
982
+ <div class="date text-uppercase font-weight-demi-bold">December 23, 2019</div>
983
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
984
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
985
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
986
+ </div>
987
+ </div>
988
+ </div>
989
+ <div class="old-details" style="">
990
+ <div class="tracking_group_by_date">
991
+ <div class="d-flex mb-3">
992
+ <div class="d-md-flex w-100">
993
+ <div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
994
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
995
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
996
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
997
+ </div>
998
+ </div>
999
+ <div class="d-flex mb-3">
1000
+ <div class="d-md-flex w-100">
1001
+ <div class="date text-uppercase font-weight-demi-bold">December 22, 2019</div>
1002
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
1003
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1004
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1005
+ </div>
1006
+ </div>
1007
+ </div>
1008
+ </div>
1009
+ </div>
1010
+ <div class="tracking_details_mobile">
1011
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1012
+ <div class="d-md-flex w-100">
1013
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
1014
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
1015
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1016
+ </div>
1017
+ </div>
1018
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1019
+ <div class="d-md-flex w-100">
1020
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
1021
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1022
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1023
+ </div>
1024
+ </div>
1025
+ <div class="old-details" style="">
1026
+ <div class="tracking_group_by_date">
1027
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1028
+ <div class="d-md-flex w-100">
1029
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
1030
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
1031
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1032
+ </div>
1033
+ </div>
1034
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1035
+ <div class="d-md-flex w-100">
1036
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
1037
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1038
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1039
+ </div>
1040
+ </div>
1041
+ </div>
1042
+ </div>
1043
+ </div>
1044
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
1045
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
1046
+ </div>
1047
  </div>
 
1048
 
1049
+ <div class="tracking-detail tracking-layout-2 col" style="<?php if($tracking_page_layout != 't_layout_2'){ echo 'display:none;'; } ?>">
1050
+ <div class="tracking-header tracking-desktop-header">
1051
+ <div class="col-md col-md-6">
1052
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span><br>
1053
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span>
1054
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
1055
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
1056
+ </div>
1057
+ <div class="col-md col-md-6 provider-image-div" style="<?php if($hide_tracking_provider_image == 1) { echo 'display:none'; }; ?>">
1058
+ <div class="text-right">
1059
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png">
1060
+ </div>
1061
+ </div>
1062
+ </div>
1063
+ <div class="tracking-header tracking-mobile-header">
1064
+ <div class="d-flex align-items-center header_top1">
1065
+ <div class="header_top_left"><img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/shipment-provider-img/ups.png"></div>
1066
+ <div class="header_top_right">
1067
+ <span class="tracking-number">UPS: <strong>6A17149676461</strong></span><br>
1068
+ <span class="tracking-number"><?php _e( 'Order', 'woocommerce' ); ?>: <strong>#4542</strong></span>
1069
+ </div>
1070
+ </div>
1071
+ <div class="col-md col-md-6 header_top2">
1072
+ <h1 class="shipment_status_heading text-success">Out For Delivery</h1>
1073
+ <span class="tracking-number"><?php _e( 'Est. Delivery Date', 'woo-advanced-shipment-tracking' ); ?>: <strong>Monday, Dec 23</strong></span>
1074
+ </div>
1075
  </div>
1076
+
1077
+ <div class="tracker-progress-bar tracker-progress-bar-flat">
1078
+ <div class="progress">
1079
+ <div class="progress-bar bg-success" style="width: 67%;"></div>
1080
+ </div>
1081
+ </div>
1082
+ <div class="tracking-details" style="<?php if($hide_tracking_events == 1){ echo 'display:none'; } ?>">
1083
+ <div class="shipment_progress_heading_div">
1084
+ <h4 class="tracking-number h4-heading text-uppercase" style="">Tracking Details</h4>
1085
+ </div>
1086
+ <div class="tracking_details_desktop">
1087
+ <div class="tracking_group_by_date">
1088
+ <div class="date text-uppercase font-weight-bold mb-3">December 23, 2019</div>
1089
+ <div class="d-flex mb-3">
1090
+ <div class="d-md-flex w-100">
1091
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
1092
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
1093
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1094
+ </div>
1095
+ </div>
1096
+ <div class="d-flex mb-3">
1097
+ <div class="d-md-flex w-100">
1098
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
1099
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1100
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1101
+ </div>
1102
+ </div>
1103
+ </div>
1104
+ <div class="old-details" style="">
1105
+ <div class="tracking_group_by_date">
1106
+ <div class="date text-uppercase font-weight-bold mb-3">December 22, 2019</div>
1107
+ <div class="d-flex mb-3">
1108
+ <div class="d-md-flex w-100">
1109
+ <div class="time text-gray-300 mr-md-2 text-success">11:52am</div>
1110
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
1111
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1112
+ </div>
1113
+ </div>
1114
+ <div class="d-flex mb-3">
1115
+ <div class="d-md-flex w-100">
1116
+ <div class="time text-gray-300 mr-md-2 text-success">08:55am</div>
1117
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1118
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1119
+ </div>
1120
+ </div>
1121
+ </div>
1122
+ </div>
1123
+ </div>
1124
+ <div class="tracking_details_mobile">
1125
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1126
+ <div class="d-md-flex w-100">
1127
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 11:52am</div>
1128
+ <div class="message font-weight-demi-bold mr-md-3">Out for delivery</div>
1129
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1130
+ </div>
1131
+ </div>
1132
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1133
+ <div class="d-md-flex w-100">
1134
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 23, 2019 08:55am</div>
1135
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1136
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1137
+ </div>
1138
+ </div>
1139
+ <div class="old-details" style="">
1140
+ <div class="tracking_group_by_date">
1141
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1142
+ <div class="d-md-flex w-100">
1143
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 11:52am</div>
1144
+ <div class="message font-weight-demi-bold mr-md-3">In Transit</div>
1145
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1146
+ </div>
1147
+ </div>
1148
+ <div class="d-flex mb-3 tracking_details_mobile_row">
1149
+ <div class="d-md-flex w-100">
1150
+ <div class="time text-gray-300 mr-md-2 text-success"><span class="text-uppercase">December</span> 22, 2019 08:55am</div>
1151
+ <div class="message font-weight-demi-bold mr-md-3">Notice card left indicating where and when to pickup item</div>
1152
+ <div class="location text-uppercase text-md-right ml-auto text-gray-300">DAWSON CREEK,BC</div>
1153
+ </div>
1154
+ </div>
1155
+ </div>
1156
+ </div>
1157
+ </div>
1158
+ <a class="view_old_details" href="javaScript:void(0);" style="display: inline;"><?php _e( 'view more', 'woo-advanced-shipment-tracking' ); ?></a>
1159
+ <a class="hide_old_details" href="javaScript:void(0);" style="display: none;"><?php _e( 'view less', 'woo-advanced-shipment-tracking' ); ?></a>
1160
+ </div>
1161
+ </div>
1162
+ <?php
1163
+ $remove_trackship_branding = get_option('wc_ast_remove_trackship_branding');
1164
+ ?>
1165
+ <div class="trackship_branding" style="<?php if($remove_trackship_branding == 1){ echo 'display:none'; }?>">
1166
+ <p>Shipment Tracking info by <a href="https://trackship.info" title="TrackShip" target="blank">TrackShip</a></p>
1167
+ </div>
1168
+ <?php
1169
+ //wp_footer();
1170
  exit;
1171
  }
1172
  }
includes/class-wc-advanced-shipment-tracking-install.php CHANGED
@@ -58,11 +58,15 @@ class WC_Advanced_Shipment_Tracking_Install {
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
  if(!$wc_ast_api_key){
62
- add_action( 'adminmenu', array( $this, 'admin_notice_menu_tooltip') );
63
- //require_once( 'vendor/persist-admin-notices-dismissal/persist-admin-notices-dismissal.php' );
64
- //add_action( 'admin_init', array( 'PAnD', 'init' ) );
65
- //add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
66
  }
67
  }
68
 
@@ -82,29 +86,7 @@ class WC_Advanced_Shipment_Tracking_Install {
82
  // Add transient to trigger redirect.
83
  set_transient( '_ast_activation_redirect', 1, 30 );
84
 
85
- $woo_shippment_table_name = $wpdb->prefix . 'woo_shippment_provider';
86
- $woo_shippment_status_email_table = $wpdb->prefix . 'woo_shipment_status_email';
87
- // create the ECPT metabox database table
88
- if($wpdb->get_var("show tables like '$woo_shippment_status_email_table'") != $woo_shippment_status_email_table) {
89
- $charset_collate = $wpdb->get_charset_collate();
90
-
91
- $sql = "CREATE TABLE $woo_shippment_status_email_table (
92
- id int(11) NOT NULL AUTO_INCREMENT,
93
- enable int(11) NOT NULL DEFAULT '1',
94
- email_trigger text NOT NULL,
95
- email_label text NOT NULL,
96
- email_to text NOT NULL,
97
- shippment_status text NOT NULL,
98
- order_status text NOT NULL,
99
- email_subject text NOT NULL,
100
- email_heading text NOT NULL,
101
- email_content text NOT NULL,
102
- PRIMARY KEY (id)
103
- ) $charset_collate;";
104
- //echo $sql;exit;
105
- require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
106
- dbDelta( $sql );
107
- }
108
  if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
109
  {
110
  $charset_collate = $wpdb->get_charset_collate();
@@ -113,15 +95,14 @@ class WC_Advanced_Shipment_Tracking_Install {
113
  id mediumint(9) NOT NULL AUTO_INCREMENT,
114
  provider_name varchar(500) DEFAULT '' NOT NULL,
115
  ts_slug text NULL DEFAULT NULL,
116
- provider_url varchar(500) DEFAULT '' NOT NULL,
117
- shipping_country varchar(45) COLLATE utf8mb4_unicode_ci NOT NULL,
118
- shipping_default tinyint(4) NOT NULL DEFAULT '0',
119
  custom_thumb_id int(11) NOT NULL DEFAULT '0',
120
  display_in_order tinyint(4) NOT NULL DEFAULT '1',
121
  sort_order int(11) NOT NULL DEFAULT '0',
122
  PRIMARY KEY (id)
123
- ) $charset_collate;";
124
- //echo $sql;exit;
125
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
126
  dbDelta( $sql );
127
 
@@ -1525,7 +1506,54 @@ class WC_Advanced_Shipment_Tracking_Install {
1525
  }
1526
  update_option( 'wc_ast_unclude_tracking_info', $data_array );
1527
  update_option( 'wc_advanced_shipment_tracking', '3.5');
1528
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1529
  }
1530
  }
1531
 
@@ -1615,12 +1643,117 @@ class WC_Advanced_Shipment_Tracking_Install {
1615
  }
1616
  }
1617
  }
1618
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1619
  /*
1620
  * Display admin notice on plugin install or update
1621
  */
1622
  public function admin_notice_after_update(){
1623
- if ( ! PAnD::is_admin_notice_active( 'disable-ts-notice-new-forever' ) ) {
1624
  return;
1625
  }
1626
  ?>
@@ -1702,24 +1835,20 @@ class WC_Advanced_Shipment_Tracking_Install {
1702
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1703
  }
1704
  </style>
1705
- <div data-dismissible="disable-ts-notice-new-forever" class="notice updated is-dismissible ast-admin-notice">
1706
- <div class="ast-admin-notice-inner">
1707
- <div class="ast-admin-notice-icon">
1708
- <img class="notice-logo" src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url().'/assets/images/trackship-400.png'; ?>" alt="Trackship Logo" />
1709
- </div>
1710
-
1711
- <div class="ast-admin-notice-content">
1712
- <h3>Thanks for using the Advanced Shipment Tracking!</h3>
1713
- <p>
1714
- <p>Add TrackShip integration and automate your post shipping operations!</p>
1715
- <a href="https://trackship.info/" target="_blank">Try trackship with 50 free trackers >></a>
1716
- </p>
1717
- </div>
1718
-
1719
- <div class="trackship-install-now">
1720
- <a class="button button-primary btn_green2 btn_large" href="https://trackship.info/" target="_blank">SIGNUP NOW</a>
1721
- </div>
1722
- </div>
1723
  </div>
1724
  <?php
1725
  }
@@ -1916,6 +2045,7 @@ class WC_Advanced_Shipment_Tracking_Install {
1916
  </script>
1917
  <?php
1918
  }
 
1919
  /**
1920
  * Store the time when the float bar was hidden so it won't show again for 14 days.
1921
  */
@@ -1924,4 +2054,31 @@ class WC_Advanced_Shipment_Tracking_Install {
1924
  update_option( 'ast_admin_menu_tooltip', time() );
1925
  wp_send_json_success();
1926
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1927
  }
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
+ add_action( 'admin_notices', array( $this, 'admin_notice_after_update' ) );
68
  if(!$wc_ast_api_key){
69
+ add_action( 'adminmenu', array( $this, 'admin_notice_menu_tooltip') );
 
 
 
70
  }
71
  }
72
 
86
  // Add transient to trigger redirect.
87
  set_transient( '_ast_activation_redirect', 1, 30 );
88
 
89
+ $woo_shippment_table_name = $this->table;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
91
  {
92
  $charset_collate = $wpdb->get_charset_collate();
95
  id mediumint(9) NOT NULL AUTO_INCREMENT,
96
  provider_name varchar(500) DEFAULT '' NOT NULL,
97
  ts_slug text NULL DEFAULT NULL,
98
+ provider_url varchar(500) DEFAULT '' NULL,
99
+ shipping_country varchar(45) DEFAULT '' NULL,
100
+ shipping_default tinyint(4) NULL DEFAULT '0',
101
  custom_thumb_id int(11) NOT NULL DEFAULT '0',
102
  display_in_order tinyint(4) NOT NULL DEFAULT '1',
103
  sort_order int(11) NOT NULL DEFAULT '0',
104
  PRIMARY KEY (id)
105
+ ) $charset_collate;";
 
106
  require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
107
  dbDelta( $sql );
108
 
1506
  }
1507
  update_option( 'wc_ast_unclude_tracking_info', $data_array );
1508
  update_option( 'wc_advanced_shipment_tracking', '3.5');
1509
+ }
1510
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.6', '<') ){
1511
+ set_theme_mod('display_shipment_provider_name', 1);
1512
+ set_theme_mod('select_tracking_template', 'default_table');
1513
+ set_theme_mod('simple_provider_font_size', '14');
1514
+ set_theme_mod('simple_provider_font_color', '#575f6d');
1515
+ set_theme_mod('show_provider_border', 1);
1516
+ set_theme_mod('provider_border_color', '#e0e0e0');
1517
+ update_option( 'wc_advanced_shipment_tracking', '3.6');
1518
+ }
1519
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking' ),'3.7', '<') ){
1520
+ global $wpdb;
1521
+
1522
+ $woo_shippment_table_name = $this->table;
1523
+ if($wpdb->get_var("show tables like '$woo_shippment_table_name'") != $woo_shippment_table_name)
1524
+ {
1525
+ $charset_collate = $wpdb->get_charset_collate();
1526
+
1527
+ $sql = "CREATE TABLE $woo_shippment_table_name (
1528
+ id mediumint(9) NOT NULL AUTO_INCREMENT,
1529
+ provider_name varchar(500) DEFAULT '' NOT NULL,
1530
+ ts_slug text NULL DEFAULT NULL,
1531
+ provider_url varchar(500) DEFAULT '' NULL,
1532
+ shipping_country varchar(45) DEFAULT '' NULL,
1533
+ shipping_default tinyint(4) NULL DEFAULT '0',
1534
+ custom_thumb_id int(11) NOT NULL DEFAULT '0',
1535
+ display_in_order tinyint(4) NOT NULL DEFAULT '1',
1536
+ sort_order int(11) NOT NULL DEFAULT '0',
1537
+ PRIMARY KEY (id)
1538
+ ) $charset_collate;";
1539
+ require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
1540
+ dbDelta( $sql );
1541
+
1542
+ $providers = $this->provider_list();
1543
+
1544
+ foreach($providers as $shipping_provider){
1545
+ $shipping_provider['provider_name'];
1546
+ $success = $wpdb->insert($woo_shippment_table_name, array(
1547
+ "provider_name" => $shipping_provider['provider_name'],
1548
+ "ts_slug" => $shipping_provider['ts_slug'],
1549
+ "provider_url" => $shipping_provider['provider_url'],
1550
+ "shipping_country" => $shipping_provider['shipping_country'],
1551
+ "shipping_default" => $shipping_provider['shipping_default'],
1552
+ ));
1553
+ }
1554
+ }
1555
+ update_option( 'wc_advanced_shipment_tracking', '3.7');
1556
+ }
1557
  }
1558
  }
1559
 
1643
  }
1644
  }
1645
  }
1646
+
1647
+ /*
1648
+ * Display admin notice addons
1649
+ */
1650
+ public function admin_notice_for_addon(){
1651
+ if ( ! PAnD::is_admin_notice_active( 'disable-ast-addon-forever' ) ) {
1652
+ return;
1653
+ }
1654
+ ?>
1655
+ <style>
1656
+ .notice.addon-admin-notice {
1657
+ padding: 20px;
1658
+ background: #F6FBFF;
1659
+ border: 1px solid #eee;
1660
+ border-left: 4px solid #005B9A !important;
1661
+ }
1662
+ .rtl .notice.addon-admin-notice {
1663
+ border-right-color: #83bd31 !important;
1664
+ }
1665
+ .notice.addon-admin-notice .ast-admin-notice-inner {
1666
+ display: table;
1667
+ width: 100%;
1668
+ }
1669
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-icon,
1670
+ .notice.addon-admin-notice .ast-admin-notice-inner .ast-admin-notice-content,
1671
+ .notice.addon-admin-notice .ast-admin-notice-inner .trackship-install-now {
1672
+ display: table-cell;
1673
+ vertical-align: middle;
1674
+ }
1675
+ .notice.addon-admin-notice .ast-admin-notice-icon {
1676
+ color: #83bd31;
1677
+ }
1678
+ .notice.addon-admin-notice .ast-admin-notice-icon .notice-logo{
1679
+ width: 200px;
1680
+ }
1681
+ .notice.addon-admin-notice .ast-admin-notice-content {
1682
+ padding: 0 20px;
1683
+ }
1684
+ .notice.addon-admin-notice p {
1685
+ padding: 0;
1686
+ margin: 0;
1687
+ }
1688
+ .notice.addon-admin-notice h3 {
1689
+ margin: 0 0 5px;
1690
+ color: #005B9A;
1691
+ }
1692
+ .notice.addon-admin-notice .trackship-install-now {
1693
+ text-align: center;
1694
+ }
1695
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button {
1696
+ padding: 5px 30px;
1697
+ height: auto;
1698
+ line-height: 20px;
1699
+ text-transform: capitalize;
1700
+ }
1701
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1702
+ padding-right: 5px;
1703
+ }
1704
+ .rtl .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button i {
1705
+ padding-right: 0;
1706
+ padding-left: 5px;
1707
+ }
1708
+ .notice.addon-admin-notice .trackship-install-now .hello-elementor-install-button:active {
1709
+ transform: translateY(1px);
1710
+ }
1711
+ .addon-admin-notice .notice-dismiss:before{
1712
+ color: #005B9A;
1713
+ font: normal 20px/20px dashicons;
1714
+ }
1715
+ .wp-core-ui .btn_blue {
1716
+ background: #005B9A;
1717
+ text-shadow: none;
1718
+ border-color: #005B9A;
1719
+ box-shadow: none;
1720
+ font-size: 14px;
1721
+ line-height: 32px;
1722
+ height: 35px;
1723
+ padding: 0 20px;
1724
+ }
1725
+ .wp-core-ui .btn_blue:hover, .wp-core-ui .btn_blue:focus {
1726
+ background: #005B9A;
1727
+ border-color: rgba(0,0,0,0.05);
1728
+ color: #fff;
1729
+ text-shadow: none;
1730
+ box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1731
+ }
1732
+ </style>
1733
+ <div data-dismissible="disable-ast-addon-forever" class="notice updated is-dismissible addon-admin-notice">
1734
+ <div class="ast-admin-notice-inner">
1735
+ <div class="ast-admin-notice-icon">
1736
+ <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" />
1737
+ </div>
1738
+
1739
+ <div class="ast-admin-notice-content">
1740
+ <h3>New AST Add-on!</h3>
1741
+ <p>The Tracking Per Item add-on allows attaching the tracking numbers to specific order items.</p>
1742
+ </div>
1743
+
1744
+ <div data-dismissible="disable-ast-addon-forever" class="trackship-install-now">
1745
+ <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>
1746
+ </div>
1747
+ </div>
1748
+ </div>
1749
+ <?php
1750
+ }
1751
+
1752
  /*
1753
  * Display admin notice on plugin install or update
1754
  */
1755
  public function admin_notice_after_update(){
1756
+ if ( ! PAnD::is_admin_notice_active( 'disable-review-notice-forever' ) ) {
1757
  return;
1758
  }
1759
  ?>
1835
  box-shadow: inset 0 0 0 100px rgba(0,0,0,0.2);
1836
  }
1837
  </style>
1838
+ <div data-dismissible="disable-review-notice-forever" class="notice updated is-dismissible">
1839
+ <p>
1840
+ <?php
1841
+ printf(
1842
+ //esc_html__( '%1$s %2$s.' ),
1843
+ esc_html__( 'We added many improvements to %1$s, please help and give us a review :) Thanks!', '' ),
1844
+ sprintf(
1845
+ '<a href="%s" target="blank">%s</a>',
1846
+ esc_url( 'https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post' ),
1847
+ esc_html__( 'Advanced Shipment Tracking', '' )
1848
+ )
1849
+ );
1850
+ ?>
1851
+ </p>
 
 
 
 
1852
  </div>
1853
  <?php
1854
  }
2045
  </script>
2046
  <?php
2047
  }
2048
+
2049
  /**
2050
  * Store the time when the float bar was hidden so it won't show again for 14 days.
2051
  */
2054
  update_option( 'ast_admin_menu_tooltip', time() );
2055
  wp_send_json_success();
2056
  }
2057
+
2058
+ /**
2059
+ * Create tracking page after store is connected
2060
+ */
2061
+ public function create_tracking_page(){
2062
+ if(version_compare(get_option( 'wc_advanced_shipment_tracking_ts_page' ),'1.0', '<') ){
2063
+ $new_page_title = 'Shipment Tracking';
2064
+ $new_page_slug = 'ts-shipment-tracking';
2065
+ $new_page_content = '[wcast-track-order]';
2066
+ //don't change the code below, unless you know what you're doing
2067
+ $page_check = get_page_by_title($new_page_title);
2068
+
2069
+ if(!isset($page_check->ID)){
2070
+ $new_page = array(
2071
+ 'post_type' => 'page',
2072
+ 'post_title' => $new_page_title,
2073
+ 'post_name' => $new_page_slug,
2074
+ 'post_content' => $new_page_content,
2075
+ 'post_status' => 'publish',
2076
+ 'post_author' => 1,
2077
+ );
2078
+ $new_page_id = wp_insert_post($new_page);
2079
+ update_option( 'wc_ast_trackship_page_id', $new_page_id );
2080
+ }
2081
+ update_option( 'wc_advanced_shipment_tracking_ts_page', '1.0');
2082
+ }
2083
+ }
2084
  }
includes/class-wc-advanced-shipment-tracking-license.php ADDED
@@ -0,0 +1,332 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ if ( ! defined( 'ABSPATH' ) ) {
3
+ exit;
4
+ }
5
+
6
+ class WC_Advanced_Shipment_Tracking_License {
7
+
8
+ /**
9
+ * Instance of this class.
10
+ *
11
+ * @var object Class Instance
12
+ */
13
+ private static $instance;
14
+
15
+ /**
16
+ * @var string store_url
17
+ */
18
+ var $item_code = 'ast_per_product';
19
+ var $store_url = 'https://www.zorem.com/';
20
+ var $default_product_id = '76646';
21
+
22
+ /**
23
+ * Get the class instance
24
+ *
25
+ * @since 1.0
26
+ * @return smswoo_license
27
+ */
28
+ public static function get_instance() {
29
+
30
+ if ( null === self::$instance ) {
31
+ self::$instance = new self;
32
+ }
33
+
34
+ return self::$instance;
35
+ }
36
+
37
+ /**
38
+ * Initialize the main plugin function
39
+ *
40
+ * @since 1.0
41
+ * @return void
42
+ */
43
+ public function __construct() {
44
+ $this->init();
45
+ }
46
+
47
+ /**
48
+ * Return item code
49
+ *
50
+ * @since 1.0
51
+ * @return string
52
+ *
53
+ */
54
+ public function get_item_code() {
55
+ return $this->item_code;
56
+ }
57
+
58
+ /**
59
+ * Set license key
60
+ *
61
+ * @since 1.0
62
+ * @return Void
63
+ *
64
+ */
65
+ public function set_license_key( $license_key ) {
66
+ update_option( 'ast_product_license_key', $license_key );
67
+ }
68
+
69
+ /**
70
+ * Return licence key
71
+ *
72
+ * @since 1.0
73
+ * @return string
74
+ *
75
+ */
76
+ public function get_license_key() {
77
+ return get_option( 'ast_product_license_key', false);
78
+ }
79
+
80
+ /**
81
+ * Set license status
82
+ *
83
+ * @since 1.0
84
+ * @return Void
85
+ *
86
+ */
87
+ public function set_license_status( $status ) {
88
+ update_option( 'ast_product_license_status', $status );
89
+ }
90
+
91
+ /**
92
+ * Return license status
93
+ *
94
+ * @since 1.0
95
+ * @return Bool
96
+ *
97
+ */
98
+ public function get_license_status() {
99
+ return get_option( 'ast_product_license_status', false);
100
+ }
101
+ /*
102
+ //below line remove if in future not in use
103
+ */
104
+ public function licence_valid() {
105
+ return get_option( 'ast_product_license_status', false);
106
+ }
107
+
108
+
109
+ /**
110
+ * Create Instance ID
111
+ *
112
+ * @since 1.0
113
+ * @return string
114
+ *
115
+ */
116
+ public function create_instance_id() {
117
+ return $instance_id = md5( $this->get_item_code().time() );
118
+ }
119
+
120
+ /**
121
+ * Set Instance ID
122
+ *
123
+ * @since 1.0
124
+ * @return Void
125
+ *
126
+ */
127
+ public function set_instance_id( $instance_id ) {
128
+ update_option( $this->get_item_code().'_instance_id', $instance_id );
129
+ }
130
+
131
+ /**
132
+ * Return Instance ID
133
+ *
134
+ * @since 1.0
135
+ * @return string
136
+ *
137
+ */
138
+ public function get_instance_id() {
139
+ return get_option( $this->get_item_code().'_instance_id', false);
140
+ }
141
+
142
+ /**
143
+ * Set Instance ID
144
+ *
145
+ * @since 1.0
146
+ * @return Void
147
+ *
148
+ */
149
+ public function set_product_id( $product_id ) {
150
+ update_option( $this->get_item_code().'_product_id', $product_id );
151
+ }
152
+
153
+ /**
154
+ * Return item code
155
+ *
156
+ * @since 1.0
157
+ * @return string
158
+ *
159
+ */
160
+ public function get_product_id() {
161
+ $product_id = get_option( $this->get_item_code().'_product_id', false );
162
+ return !empty( $product_id ) ? $product_id : $this->default_product_id;
163
+ }
164
+
165
+ /*
166
+ * init function
167
+ *
168
+ * @since 1.0
169
+ */
170
+ public function init(){
171
+
172
+ //cron schedule added
173
+ add_filter( 'cron_schedules', array( $this, 'license_cron_schedule') );
174
+
175
+ //ajax call for license
176
+ add_action( 'wp_ajax_ast_product_license_activate', array( $this, 'license_activate') );
177
+ add_action( 'wp_ajax_ast_product_license_deactivate', array( $this, 'license_deactivate') );
178
+
179
+ //OLD
180
+
181
+ //check license valid
182
+ add_action( 'ast_license_cron_hook', array( $this, 'check_license_valid' ) );
183
+ if (!wp_next_scheduled( 'ast_license_cron_hook' ) ) {
184
+ wp_schedule_event( time(), 'ast_product_license_cron_events', 'ast_license_cron_hook' );
185
+ }
186
+ }
187
+
188
+ /*
189
+ * add schedule for license check
190
+ *
191
+ * @since 1.0
192
+ *
193
+ * @return array
194
+ */
195
+ function license_cron_schedule( $schedules ){
196
+ $schedules[ 'ast_product_license_cron_events' ] = array(
197
+ 'interval' => 86400,
198
+ 'display' => __( 'Every day' ),
199
+ );
200
+ return $schedules;
201
+ }
202
+
203
+ /*
204
+ * license activate
205
+ * @return json string
206
+ */
207
+ function license_activate() {
208
+ $license_key = sanitize_text_field( $_POST['ast_product_license_key'] );
209
+
210
+ //do api call and get product ID
211
+ $this->get_product_id_by_licence( $license_key );
212
+
213
+ if( isset( $license_key ) ) {
214
+ $instance_id = $this->create_instance_id();
215
+ $return = $this->license_authorize_action( $license_key, 'activate', $instance_id );
216
+ if($return->success == 'true'){
217
+ $this->set_license_key( $license_key );
218
+ $this->set_instance_id( $instance_id );
219
+ delete_transient( 'zorem_upgrade_'.$this->get_item_code() );
220
+ }
221
+ header('Content-type: application/json');
222
+ echo json_encode($return, JSON_PRETTY_PRINT);
223
+ die();
224
+ }
225
+ }
226
+
227
+ /*
228
+ * license deactivate
229
+ * @return json string
230
+ */
231
+ function license_deactivate() {
232
+
233
+ $license_key = sanitize_text_field( $_POST['ast_product_license_key'] );
234
+
235
+ if( isset( $license_key ) ) {
236
+ $return = $this->license_authorize_action( $license_key, 'deactivate' );
237
+ if($return->success == 'true'){
238
+ $this->set_license_key( '' );
239
+ $this->set_instance_id( '' );
240
+ $this->set_license_status( 0 );
241
+ delete_transient( 'zorem_upgrade_'.$this->get_item_code() );
242
+ }
243
+ header('Content-type: application/json');
244
+ echo json_encode($return, JSON_PRETTY_PRINT);
245
+ die();
246
+ }
247
+ }
248
+
249
+ /*
250
+ * License authorize with server
251
+ */
252
+ public function license_authorize_action( $license_key = '', $action = 'validate', $instance_id = false) {
253
+
254
+ if ( $instance_id == false ) $instance_id = $this->get_instance_id();
255
+
256
+ $domain = home_url();
257
+
258
+ $api_params = array(
259
+ 'wc-api' => 'wc-am-api',
260
+ 'wc_am_action' => $action,
261
+ 'instance' => $instance_id,
262
+ 'object' => $domain,
263
+ 'product_id' => $this->get_product_id(),
264
+ 'api_key' => $license_key,
265
+ );
266
+
267
+ $request = add_query_arg( $api_params, $this->store_url );
268
+ $response = wp_remote_get( $request, array( 'timeout' => 15, 'sslverify' => false ) );
269
+
270
+ if ( is_wp_error( $response ) )
271
+ return false;
272
+
273
+ $authorize_data = json_decode( wp_remote_retrieve_body( $response ) );
274
+ if(empty($authorize_data) || $authorize_data === NULL || $authorize_data === false) return false;
275
+ if( $authorize_data->success == 'true' ) {
276
+ $this->set_license_status( 1 );
277
+ } else {
278
+ $this->set_license_status( 0 );
279
+ }
280
+ return $authorize_data;
281
+ }
282
+
283
+ /**
284
+ *
285
+ *
286
+ */
287
+ function get_product_id_by_licence( $license_key ){
288
+
289
+ $domain = home_url();
290
+
291
+ $args = array(
292
+ 'body' => array(
293
+ 'license_key' => $license_key,
294
+ ),
295
+ 'timeout' => 15,
296
+ 'sslverify' => false,
297
+ );
298
+
299
+ $response = wp_remote_post( 'https://www.zorem.com/wp-json/get_plugin_product_id/v1/', $args );
300
+
301
+ if ( is_wp_error( $response ) ) return false;
302
+
303
+ $authorize_data = json_decode( wp_remote_retrieve_body( $response ) );
304
+ if(empty($authorize_data) || $authorize_data === NULL || $authorize_data === false) return false;
305
+
306
+ if( $authorize_data->product_id ) {
307
+ $this->set_product_id( $authorize_data->product_id );
308
+ }
309
+
310
+ }
311
+
312
+ /*
313
+ *
314
+ * OLD
315
+ *
316
+ */
317
+
318
+ /**
319
+ *
320
+ * Check license valid
321
+ *
322
+ */
323
+ public function check_license_valid() {
324
+ $license = $this->get_license_key();
325
+ $authorize = $this->license_authorize_action($license, 'status');
326
+ if($authorize->success == 'true'){
327
+ return true;
328
+ }
329
+ return false;
330
+ }
331
+
332
+ }
includes/class-wc-advanced-shipment-tracking-settings.php ADDED
@@ -0,0 +1,959 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ $img_slug = sanitize_title($provider_name);
849
+ $img = wc_advanced_shipment_tracking()->get_plugin_path().'/assets/shipment-provider-img/'.$img_slug.'.png';
850
+
851
+ $ch = curl_init();
852
+
853
+ curl_setopt($ch, CURLOPT_HEADER, 0);
854
+ curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
855
+ curl_setopt($ch, CURLOPT_URL, $img_url);
856
+
857
+ $data = curl_exec($ch);
858
+ curl_close($ch);
859
+
860
+ file_put_contents($img, $data);
861
+
862
+
863
+ $data_array = array(
864
+ 'shipping_country' => sanitize_text_field($shipping_country),
865
+ 'provider_name' => sanitize_text_field($provider_name),
866
+ 'ts_slug' => $ts_slug,
867
+ 'provider_url' => sanitize_text_field($provider_url),
868
+ 'display_in_order' => 0,
869
+ 'shipping_default' => 1,
870
+ );
871
+ $result = $wpdb->insert( $this->table, $data_array );
872
+ $added_data[$added] = array('provider_name' => $provider_name);
873
+ $added++;
874
+ }
875
+ }
876
+ foreach($default_shippment_providers as $db_provider){
877
+ if(!isset($providers_name[$db_provider->provider_name])){
878
+ $where = array(
879
+ 'provider_name' => $db_provider->provider_name,
880
+ 'shipping_default' => 1
881
+ );
882
+ $wpdb->delete( $this->table, $where );
883
+ $deleted_data[$deleted] = array('provider_name' => $db_provider->provider_name);
884
+ $deleted++;
885
+ }
886
+ }
887
+ if($added > 0){
888
+ ob_start();
889
+ $added_html = $this->added_html($added_data);
890
+ $added_html = ob_get_clean();
891
+ }
892
+ if($updated > 0){
893
+ ob_start();
894
+ $updated_html = $this->updated_html($updated_data);
895
+ $updated_html = ob_get_clean();
896
+ }
897
+ if($deleted > 0){
898
+ ob_start();
899
+ $deleted_html = $this->deleted_html($deleted_data);
900
+ $deleted_html = ob_get_clean();
901
+ }
902
+
903
+ $status = 'active';
904
+ $default_shippment_providers = $wpdb->get_results( "SELECT * FROM $this->table WHERE display_in_order = 1" );
905
+ ob_start();
906
+ $admin = new WC_Advanced_Shipment_Tracking_Admin;
907
+ $html = $admin->get_provider_html($default_shippment_providers,$status);
908
+ $html = ob_get_clean();
909
+ 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;
910
+ } else{
911
+ echo json_encode( array('sync_error' => 1, 'message' => __( 'There are some issue with sync, Please Retry.', 'woo-advanced-shipment-tracking')) );exit;
912
+ }
913
+ }
914
+
915
+ /**
916
+ * Output html of added provider from sync providers
917
+ */
918
+ public function added_html($added_data){ ?>
919
+ <ul class="updated_details" id="added_providers">
920
+ <?php
921
+ foreach ( $added_data as $added ){ ?>
922
+ <li><?php echo $added['provider_name']; ?></li>
923
+ <?php }
924
+ ?>
925
+ </ul>
926
+ <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>
927
+ <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>
928
+ <?php }
929
+
930
+ /**
931
+ * Output html of updated provider from sync providers
932
+ */
933
+ public function updated_html($updated_data){ ?>
934
+ <ul class="updated_details" id="updated_providers">
935
+ <?php
936
+ foreach ( $updated_data as $updated ){ ?>
937
+ <li><?php echo $updated['provider_name']; ?></li>
938
+ <?php }
939
+ ?>
940
+ </ul>
941
+ <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>
942
+ <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>
943
+ <?php }
944
+
945
+ /**
946
+ * Output html of deleted provider from sync providers
947
+ */
948
+ public function deleted_html($deleted_data){ ?>
949
+ <ul class="updated_details" id="deleted_providers">
950
+ <?php
951
+ foreach ( $deleted_data as $deleted ){ ?>
952
+ <li><?php echo $deleted['provider_name']; ?></li>
953
+ <?php }
954
+ ?>
955
+ </ul>
956
+ <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>
957
+ <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>
958
+ <?php }
959
+ }
includes/class-wc-advanced-shipment-tracking.php CHANGED
@@ -194,9 +194,12 @@ class WC_Advanced_Shipment_Tracking_Actions {
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
-
 
 
 
198
  <p class="form-field">
199
- <select class="chosen_select" id="tracking_provider" name="tracking_provider" style="width: 100%;">
200
  <option value=""><?php _e( 'Provider:', 'woo-advanced-shipment-tracking' ); ?></option>
201
  <?php
202
  foreach($shippment_countries as $s_c){
@@ -224,14 +227,16 @@ class WC_Advanced_Shipment_Tracking_Actions {
224
  <label for="date_shipped"><?php _e( 'Date shipped:', 'woo-advanced-shipment-tracking'); ?></label>
225
  <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() ); ?>">
226
  </p>
227
-
228
  <?php
 
 
 
229
  if($wc_ast_status_partial_shipped){ ?>
230
  <fieldset class="form-field change_order_to_shipped_field ">
231
  <legend><?php _e( 'Mark order as:', 'woo-advanced-shipment-tracking'); ?></legend>
232
  <ul class="wc-radios">
233
- <li><label><input name="change_order_to_shipped" value="change_order_to_shipped" type="radio" class="select short" style=""><?php _e( $shipped_label, 'woo-advanced-shipment-tracking'); ?></label></li>
234
- <li><label><input name="change_order_to_shipped" value="change_order_to_partial_shipped" type="radio" class="select short" style=""><?php _e( 'Partial Shipped', 'woo-advanced-shipment-tracking'); ?></label></li>
235
  </ul>
236
  </fieldset>
237
  <?php } else{ ?>
@@ -267,21 +272,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
267
  $formatted = $this->get_formatted_tracking_item( $order_id, $item );
268
  ?>
269
  <div class="tracking-item" id="tracking-item-<?php echo esc_attr( $item['tracking_id'] ); ?>">
270
- <p class="tracking-content">
271
- <strong><?php echo esc_html( $formatted['formatted_tracking_provider'] ); ?></strong>
272
-
273
- <?php if ( strlen( $formatted['formatted_tracking_link'] ) > 0 ) : ?>
274
- - <?php
275
- $url = str_replace('%number%',$item['tracking_number'],$formatted['formatted_tracking_link']);
276
- 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 ) ); ?>
277
- <?php endif; ?>
278
- <br/>
279
- <em><?php echo esc_html( $item['tracking_number'] ); ?></em>
280
- <?php $this->display_shipment_tracking_info( $order_id, $item );?>
281
- </p>
 
282
  <p class="meta">
283
  <?php /* translators: 1: shipping date */ ?>
284
- <?php echo esc_html( sprintf( __( 'Shipped on %s', 'woo-advanced-shipment-tracking' ), date_i18n( 'Y-m-d', $item['date_shipped'] ) ) ); ?>
285
  <a href="#" class="delete-tracking" rel="<?php echo esc_attr( $item['tracking_id'] ); ?>"><?php _e( 'Delete', 'woocommerce' ); ?></a>
286
  </p>
287
  </div>
@@ -295,6 +301,12 @@ class WC_Advanced_Shipment_Tracking_Actions {
295
  $shipment_status = get_post_meta( $order_id, "shipment_status", true);
296
  $tracking_id = $item['tracking_id'];
297
  $tracking_items = $this->get_tracking_items( $order_id );
 
 
 
 
 
 
298
  if ( count( $tracking_items ) > 0 ) {
299
  foreach ( $tracking_items as $key => $tracking_item ) {
300
  if( $tracking_id == $tracking_item['tracking_id'] ){
@@ -309,14 +321,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
309
  if( $status != 'delivered' && $status != 'return_to_sender' && !empty($est_delivery_date) ){
310
  $has_est_delivery = true;
311
  }
312
- ?>
313
- </br>
314
  <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>
315
- <span class="">on <?php echo date( "d/m", strtotime($status_date))?></span>
316
  <br>
317
  <?php if( $has_est_delivery ){?>
318
- <span class="wcast-shipment-est-delivery ft11">Est. Delivery(<?php echo date( "d/m", strtotime($est_delivery_date))?>)</span>
319
  <?php } ?>
 
320
  <?php
321
  }
322
  }
@@ -351,7 +364,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
351
  }
352
 
353
  $tracking_items = $this->get_tracking_items( $post->ID );
354
-
355
  $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $woo_shippment_table_name WHERE display_in_order = 1 GROUP BY shipping_country" );
356
 
357
  $shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
@@ -382,7 +395,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
382
 
383
  echo '<div id="tracking-items">';
384
  if ( count( $tracking_items ) > 0 ) {
385
- foreach ( $tracking_items as $tracking_item ) {
386
  $this->display_html_tracking_item_for_meta_box( $post->ID, $tracking_item );
387
  }
388
  }
@@ -444,18 +457,19 @@ class WC_Advanced_Shipment_Tracking_Actions {
444
  'class' => 'date-picker-field',
445
  'value' => date_i18n( __( 'Y-m-d', 'woo-advanced-shipment-tracking' ), current_time( 'timestamp' ) ),
446
  ) );
447
-
 
 
448
  if($wc_ast_status_partial_shipped){
449
- woocommerce_wp_radio( array(
450
- 'id' => 'change_order_to_shipped',
451
- 'label' => __( 'Mark order as:', 'woo-advanced-shipment-tracking' ),
452
- 'description' => '',
453
- 'options' => array(
454
- 'change_order_to_shipped' => __($shipped_label, 'woo-advanced-shipment-tracking'),
455
- 'change_order_to_partial_shipped' => __('Partial Shipped', 'woo-advanced-shipment-tracking')
456
- ),
457
- 'value' => $cbvalue,
458
- ) );
459
  } else{
460
  woocommerce_wp_checkbox( array(
461
  'id' => 'change_order_to_shipped',
@@ -465,8 +479,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
465
  'value' => $value,
466
  ) );
467
  }
468
- echo '<button class="button button-primary button-save-form">' . __( 'Save Tracking', 'woo-advanced-shipment-tracking' ) . '</button>';
469
- 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>';
470
 
471
  echo '</div>';
472
  $provider_array = array();
@@ -524,6 +538,8 @@ class WC_Advanced_Shipment_Tracking_Actions {
524
 
525
  wp_enqueue_style( 'shipment_tracking_styles', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/css/admin.css', array(), wc_advanced_shipment_tracking()->version );
526
  wp_enqueue_script( 'woocommerce-advanced-shipment-tracking-js', wc_advanced_shipment_tracking()->plugin_dir_url() . 'assets/js/admin.js' );
 
 
527
  }
528
 
529
  /**
@@ -573,10 +589,11 @@ class WC_Advanced_Shipment_Tracking_Actions {
573
  public function save_meta_box_ajax() {
574
  check_ajax_referer( 'create-tracking-item', 'security', true );
575
  $tracking_number = str_replace(' ', '', $_POST['tracking_number']);
576
-
577
  if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
578
 
579
  $order_id = wc_clean( $_POST['order_id'] );
 
580
  $args = array(
581
  'tracking_provider' => $_POST['tracking_provider'],
582
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
@@ -585,15 +602,21 @@ class WC_Advanced_Shipment_Tracking_Actions {
585
 
586
  $tracking_item = $this->add_tracking_item( $order_id, $args );
587
 
588
- if($_POST['change_order_to_shipped'] == 'change_order_to_shipped'){
589
- $order = new WC_Order($order_id);
590
- $order->update_status('completed');
591
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
592
- $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
593
- } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
594
- $order = new WC_Order($order_id);
595
- $order->update_status('partial-shipped');
596
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
 
 
 
 
 
 
597
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
598
  }
599
 
@@ -609,6 +632,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
609
  * Function for saving tracking items via AJAX
610
  */
611
  public function save_inline_tracking_number() {
 
612
  if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
613
  $order_id = wc_clean( $_POST['order_id'] );
614
  $args = array(
@@ -618,20 +642,25 @@ class WC_Advanced_Shipment_Tracking_Actions {
618
  );
619
 
620
  $tracking_item = $this->add_tracking_item( $order_id, $args );
621
-
622
  if($_POST['change_order_to_shipped'] == 'change_order_to_shipped' || $_POST['change_order_to_shipped'] == 'yes'){
623
  $order = new WC_Order($order_id);
624
- $order->update_status('completed');
625
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
626
- $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
 
 
627
  } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
628
  $order = new WC_Order($order_id);
629
- $order->update_status('partial-shipped');
630
- $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
 
 
 
 
 
631
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
632
- }
633
-
634
- //$this->display_html_tracking_item_for_meta_box( $order_id, $tracking_item );
635
  }
636
  }
637
 
@@ -685,7 +714,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
685
  * Display Shipment info in the frontend (order view/tracking page).
686
  */
687
  public function show_tracking_info_order( $order_id ) {
688
- 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/' );
689
  }
690
 
691
  /**
@@ -721,9 +750,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
721
 
722
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
723
  $order = wc_get_order( $order_id );
724
- $order_status = $order->get_status();
725
- //echo '<pre>';print_r($wc_ast_unclude_tracking_info);echo '</pre>';exit;
726
- //echo $order_status;exit;
727
 
728
  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){
729
  return;
@@ -735,9 +762,9 @@ class WC_Advanced_Shipment_Tracking_Actions {
735
  $tracking_items = $this->get_tracking_items( $order_id, true );
736
 
737
  if ( true === $plain_text ) {
738
- 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/' );
739
  } else {
740
- 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/' );
741
  }
742
  }
743
 
@@ -847,6 +874,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
847
  */
848
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
849
  $formatted = array();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
850
 
851
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
852
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
@@ -865,7 +906,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
865
  $formatted['formatted_tracking_provider'] = '';
866
  $formatted['formatted_tracking_link'] = '';
867
 
868
- if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider'] ) ) {
869
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
870
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
871
  } else {
@@ -888,7 +929,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
888
  $wc_ast_api_key = get_option('wc_ast_api_key');
889
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
890
 
891
- if( $wc_ast_api_key && $use_tracking_page){
892
  $order_key = $order->get_order_key();
893
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
894
  } else {
@@ -904,10 +945,17 @@ class WC_Advanced_Shipment_Tracking_Actions {
904
  $shipping_country = $order->get_billing_country();
905
  }
906
 
907
- if($shipping_country){
 
 
 
 
 
 
908
  if($tracking_item['tracking_provider'] == 'dhl-ecommerce'){
909
  $link_format = str_replace('us-en', strtolower($shipping_country).'-en', $link_format);
910
  }
 
911
  if($tracking_item['tracking_provider'] == 'dhl-freight'){
912
  $link_format = str_replace('global-en', strtolower($shipping_country).'-en', $link_format);
913
  }
@@ -999,6 +1047,10 @@ class WC_Advanced_Shipment_Tracking_Actions {
999
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1000
  }
1001
 
 
 
 
 
1002
  if(isset($args['status_shipped'])){
1003
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
1004
  }
@@ -1012,17 +1064,32 @@ class WC_Advanced_Shipment_Tracking_Actions {
1012
  } else {
1013
  $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
1014
  }
1015
-
1016
- $tracking_items = $this->get_tracking_items( $order_id );
1017
- $tracking_items[] = $tracking_item;
 
 
 
 
 
 
 
 
 
 
 
1018
 
1019
  $this->save_tracking_items( $order_id, $tracking_items );
1020
 
1021
  $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1022
-
1023
  if( $status_shipped == 1){
1024
  $order = new WC_Order( $order_id );
1025
- $order->update_status('completed');
 
 
 
 
1026
  }
1027
 
1028
  if( $status_shipped == 2){
@@ -1030,6 +1097,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1030
  if($wc_ast_status_partial_shipped){
1031
  $order = new WC_Order( $order_id );
1032
  $order->update_status('partial-shipped');
 
1033
  }
1034
  }
1035
 
@@ -1047,6 +1115,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
1047
  return $tracking_item;
1048
  }
1049
 
 
 
 
 
 
 
 
 
 
1050
  /*
1051
  * Adds a tracking item to the post_meta array from external system programatticaly
1052
  *
@@ -1095,15 +1172,20 @@ class WC_Advanced_Shipment_Tracking_Actions {
1095
  }
1096
 
1097
  $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1098
-
1099
  if( $status_shipped == 1){
1100
  $order = new WC_Order( $order_id );
1101
- $order->update_status('completed');
1102
- }
 
 
 
 
1103
 
1104
  if( $status_shipped == 2){
1105
  $order = new WC_Order( $order_id );
1106
  $order->update_status('partial-shipped');
 
1107
  }
1108
  return $tracking_item;
1109
  }
@@ -1243,7 +1325,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1243
  tracking_number.css( "border-color", "red" );
1244
  error = true;
1245
  } else {
1246
- var pattern = /^[A-Za-z0-9]+$/;
1247
  if(!pattern.test(tracking_number.val())){
1248
  tracking_number.css( "border-color", "red" );
1249
  error = true;
@@ -1262,10 +1344,10 @@ class WC_Advanced_Shipment_Tracking_Actions {
1262
  /**
1263
  * code for trigger shipment status email
1264
  */
1265
- public function trigger_tracking_email($order_id, $old_status, $new_status){
1266
  $order = wc_get_order( $order_id );
1267
  require_once( 'email-manager.php' );
1268
-
1269
  if( $old_status != $new_status){
1270
 
1271
  if($new_status == 'delivered'){
@@ -1273,7 +1355,7 @@ class WC_Advanced_Shipment_Tracking_Actions {
1273
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1274
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1275
  }
1276
- do_action( 'ast_trigger_ts_status_change',$order_id, $old_status, $new_status );
1277
  }
1278
  }
1279
 
@@ -1330,6 +1412,22 @@ class WC_Advanced_Shipment_Tracking_Actions {
1330
  }
1331
  }
1332
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1333
  if ( is_plugin_active( 'wp-lister-amazon/wp-lister-amazon.php' ) ) {
1334
  $wpla_use_amazon_order_number = get_option( 'wpla_use_amazon_order_number' );
1335
  if($wpla_use_amazon_order_number == 1){
@@ -1365,11 +1463,15 @@ class WC_Advanced_Shipment_Tracking_Actions {
1365
  'post_type' => 'shop_order',
1366
  'posts_per_page' => '1',
1367
  'meta_query' => array(
1368
- 'relation' => 'AND',
1369
  array(
1370
- 'key' => '_ebay_extended_order_id',
1371
- 'value' => $order_id
1372
  ),
 
 
 
 
1373
  ),
1374
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1375
  );
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){
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{ ?>
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
  }
364
  }
365
 
366
  $tracking_items = $this->get_tracking_items( $post->ID );
367
+ //echo '<pre>';print_r($tracking_items);echo '</pre>';
368
  $shippment_countries = $wpdb->get_results( "SELECT shipping_country FROM $woo_shippment_table_name WHERE display_in_order = 1 GROUP BY shipping_country" );
369
 
370
  $shippment_providers = $wpdb->get_results( "SELECT * FROM $woo_shippment_table_name" );
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
  }
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',
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
  /**
589
  public function save_meta_box_ajax() {
590
  check_ajax_referer( 'create-tracking-item', 'security', true );
591
  $tracking_number = str_replace(' ', '', $_POST['tracking_number']);
592
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
593
  if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
594
 
595
  $order_id = wc_clean( $_POST['order_id'] );
596
+ $order = new WC_Order($order_id);
597
  $args = array(
598
  'tracking_provider' => $_POST['tracking_provider'],
599
  'tracking_number' => wc_clean( $_POST['tracking_number'] ),
602
 
603
  $tracking_item = $this->add_tracking_item( $order_id, $args );
604
 
605
+ if($_POST['change_order_to_shipped'] == 'change_order_to_shipped'){
606
+
607
+ if('completed' == $order->get_status()){
608
+ WC()->mailer()->emails['WC_Email_Customer_Completed_Order']->trigger( $order_id, $order );
609
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
610
+ } else{
611
+ $order->update_status('completed');
612
+ }
613
+ } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
614
+ $previous_order_status = $order->get_status();
615
+
616
+ if('partial-shipped' == $previous_order_status){
617
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
618
+ }
619
+ $order->update_status('partial-shipped');
620
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
621
  }
622
 
632
  * Function for saving tracking items via AJAX
633
  */
634
  public function save_inline_tracking_number() {
635
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
636
  if ( isset( $_POST['tracking_number'] ) && $_POST['tracking_provider'] != '' && isset( $_POST['tracking_provider'] ) && strlen( $_POST['tracking_number'] ) > 0 ) {
637
  $order_id = wc_clean( $_POST['order_id'] );
638
  $args = array(
642
  );
643
 
644
  $tracking_item = $this->add_tracking_item( $order_id, $args );
645
+
646
  if($_POST['change_order_to_shipped'] == 'change_order_to_shipped' || $_POST['change_order_to_shipped'] == 'yes'){
647
  $order = new WC_Order($order_id);
648
+ if('completed' == $order->get_status()){
649
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
650
+ } else{
651
+ $order->update_status('completed');
652
+ }
653
  } elseif($_POST['change_order_to_shipped'] == 'change_order_to_partial_shipped'){
654
  $order = new WC_Order($order_id);
655
+
656
+ $previous_order_status = $order->get_status();
657
+
658
+ if('partial-shipped' == $previous_order_status){
659
+ WC()->mailer()->emails['WC_Email_Customer_Partial_Shipped_Order']->trigger( $order_id, $order );
660
+ }
661
+ $order->update_status('partial-shipped');
662
  $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
663
+ }
 
 
664
  }
665
  }
666
 
714
  * Display Shipment info in the frontend (order view/tracking page).
715
  */
716
  public function show_tracking_info_order( $order_id ) {
717
+ 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/' );
718
  }
719
 
720
  /**
750
 
751
  $order_id = is_callable( array( $order, 'get_id' ) ) ? $order->get_id() : $order->id;
752
  $order = wc_get_order( $order_id );
753
+ $order_status = $order->get_status();
 
 
754
 
755
  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){
756
  return;
762
  $tracking_items = $this->get_tracking_items( $order_id, true );
763
 
764
  if ( true === $plain_text ) {
765
+ 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/' );
766
  } else {
767
+ 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/' );
768
  }
769
  }
770
 
874
  */
875
  public function get_formatted_tracking_item( $order_id, $tracking_item ) {
876
  $formatted = array();
877
+ $tracking_items = $this->get_tracking_items( $order_id );
878
+
879
+ foreach($tracking_items as $key=>$item){
880
+ if($item['tracking_id'] == $tracking_item['tracking_id']){
881
+ $shipmet_key = $key;
882
+ }
883
+ }
884
+
885
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
886
+
887
+ $status = '';
888
+ if(isset($shipment_status[$shipmet_key])){
889
+ $status = $shipment_status[$shipmet_key]['status'];
890
+ }
891
 
892
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
893
  $postcode = get_post_meta( $order_id, '_shipping_postcode', true );
906
  $formatted['formatted_tracking_provider'] = '';
907
  $formatted['formatted_tracking_link'] = '';
908
 
909
+ if ( isset( $tracking_item['custom_tracking_provider'] ) && !empty( $tracking_item['custom_tracking_provider']) ) {
910
  $formatted['formatted_tracking_provider'] = $tracking_item['custom_tracking_provider'];
911
  $formatted['formatted_tracking_link'] = $tracking_item['custom_tracking_link'];
912
  } else {
929
  $wc_ast_api_key = get_option('wc_ast_api_key');
930
  $use_tracking_page = get_option('wc_ast_use_tracking_page');
931
 
932
+ if( $wc_ast_api_key && $use_tracking_page && $status != 'carrier_unsupported'){
933
  $order_key = $order->get_order_key();
934
  $formatted['formatted_tracking_link'] = get_permalink( $tracking_page ).'?order_id='.$order_id.'&order_key='.$order_key;
935
  } else {
945
  $shipping_country = $order->get_billing_country();
946
  }
947
 
948
+ if($shipping_country){
949
+
950
+ if($tracking_item['tracking_provider'] == 'jp-post' && $shipping_country != 'JP'){
951
+ $local_en = '&locale=en';
952
+ $link_format = $link_format.$local_en;
953
+ }
954
+
955
  if($tracking_item['tracking_provider'] == 'dhl-ecommerce'){
956
  $link_format = str_replace('us-en', strtolower($shipping_country).'-en', $link_format);
957
  }
958
+
959
  if($tracking_item['tracking_provider'] == 'dhl-freight'){
960
  $link_format = str_replace('global-en', strtolower($shipping_country).'-en', $link_format);
961
  }
1047
  $tracking_item['date_shipped'] = wc_clean( strtotime( $date ) );
1048
  }
1049
 
1050
+ if(isset($args['products_list'])){
1051
+ $tracking_item['products_list'] = $args['products_list'];
1052
+ }
1053
+
1054
  if(isset($args['status_shipped'])){
1055
  $tracking_item['status_shipped'] = wc_clean( $args['status_shipped'] );
1056
  }
1064
  } else {
1065
  $tracking_item['tracking_id'] = md5( "{$tracking_item['tracking_provider']}-{$tracking_item['tracking_number']}" . microtime() );
1066
  }
1067
+
1068
+ $tracking_items = $this->get_tracking_items( $order_id );
1069
+ if($tracking_items){
1070
+ $key = $this->seach_tracking_number_in_items($args['tracking_number'], $tracking_items);
1071
+ if($key && isset($args['products_list'])){
1072
+ array_push($tracking_items[$key]['products_list'],$args['products_list'][0]);
1073
+ } else{
1074
+ $tracking_items[] = $tracking_item;
1075
+ }
1076
+ } else{
1077
+ $tracking_items[] = $tracking_item;
1078
+ }
1079
+ //echo '<pre>';print_r($args['products_list']);echo '</pre>';
1080
+ //echo '<pre>';print_r($tracking_items);echo '</pre>';exit;
1081
 
1082
  $this->save_tracking_items( $order_id, $tracking_items );
1083
 
1084
  $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1085
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
1086
  if( $status_shipped == 1){
1087
  $order = new WC_Order( $order_id );
1088
+ if('completed' == $order->get_status()){
1089
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
1090
+ } else{
1091
+ $order->update_status('completed');
1092
+ }
1093
  }
1094
 
1095
  if( $status_shipped == 2){
1097
  if($wc_ast_status_partial_shipped){
1098
  $order = new WC_Order( $order_id );
1099
  $order->update_status('partial-shipped');
1100
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
1101
  }
1102
  }
1103
 
1115
  return $tracking_item;
1116
  }
1117
 
1118
+ public function seach_tracking_number_in_items($tracking_number, $tracking_items){
1119
+ foreach ($tracking_items as $key => $val) {
1120
+ if ($val['tracking_number'] === $tracking_number) {
1121
+ return $key;
1122
+ }
1123
+ }
1124
+ return null;
1125
+ }
1126
+
1127
  /*
1128
  * Adds a tracking item to the post_meta array from external system programatticaly
1129
  *
1172
  }
1173
 
1174
  $status_shipped = (isset($tracking_item["status_shipped"])?$tracking_item["status_shipped"]:"");
1175
+ $ast_admin = WC_Advanced_Shipment_Tracking_Admin::get_instance();
1176
  if( $status_shipped == 1){
1177
  $order = new WC_Order( $order_id );
1178
+ if('completed' == $order->get_status()){
1179
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
1180
+ } else{
1181
+ $order->update_status('completed');
1182
+ }
1183
+ }
1184
 
1185
  if( $status_shipped == 2){
1186
  $order = new WC_Order( $order_id );
1187
  $order->update_status('partial-shipped');
1188
+ $ast_admin->trigger_woocommerce_order_status_completed( $order_id );
1189
  }
1190
  return $tracking_item;
1191
  }
1325
  tracking_number.css( "border-color", "red" );
1326
  error = true;
1327
  } else {
1328
+ var pattern = /^[0-9a-zA-Z- \b]+$/;
1329
  if(!pattern.test(tracking_number.val())){
1330
  tracking_number.css( "border-color", "red" );
1331
  error = true;
1344
  /**
1345
  * code for trigger shipment status email
1346
  */
1347
+ public function trigger_tracking_email($order_id, $old_status, $new_status, $tracking_item, $shipment_status){
1348
  $order = wc_get_order( $order_id );
1349
  require_once( 'email-manager.php' );
1350
+ //echo $new_status;exit;
1351
  if( $old_status != $new_status){
1352
 
1353
  if($new_status == 'delivered'){
1355
  } elseif($new_status == 'failure' || $new_status == 'in_transit' || $new_status == 'out_for_delivery' || $new_status == 'available_for_pickup' || $new_status == 'return_to_sender'){
1356
  wc_advanced_shipment_tracking_email_class()->shippment_status_email_trigger($order_id, $order, $old_status, $new_status);
1357
  }
1358
+ do_action( 'ast_trigger_ts_status_change',$order_id, $old_status, $new_status, $tracking_item, $shipment_status );
1359
  }
1360
  }
1361
 
1412
  }
1413
  }
1414
 
1415
+ if ( is_plugin_active( 'woocommerce-sequential-order-numbers-pro/woocommerce-sequential-order-numbers.php' ) ) {
1416
+
1417
+ // search for the order by custom order number
1418
+ $query_args = array(
1419
+ 'numberposts' => 1,
1420
+ 'meta_key' => '_order_number_formatted',
1421
+ 'meta_value' => $order_id,
1422
+ 'post_type' => 'shop_order',
1423
+ 'post_status' => 'any',
1424
+ 'fields' => 'ids',
1425
+ );
1426
+
1427
+ $posts = get_posts( $query_args );
1428
+ list( $order_id ) = ! empty( $posts ) ? $posts : null;
1429
+ }
1430
+
1431
  if ( is_plugin_active( 'wp-lister-amazon/wp-lister-amazon.php' ) ) {
1432
  $wpla_use_amazon_order_number = get_option( 'wpla_use_amazon_order_number' );
1433
  if($wpla_use_amazon_order_number == 1){
1463
  'post_type' => 'shop_order',
1464
  'posts_per_page' => '1',
1465
  'meta_query' => array(
1466
+ 'relation' => 'OR',
1467
  array(
1468
+ 'key' => '_ebay_extended_order_id',
1469
+ 'value' => $order_id
1470
  ),
1471
+ array(
1472
+ 'key' => '_ebay_order_id',
1473
+ 'value' => $order_id
1474
+ ),
1475
  ),
1476
  'post_status' => array('wc-pending', 'wc-processing', 'wc-on-hold', 'wc-completed', 'wc-delivered', 'wc-cancelled', 'wc-refunded', 'wc-failed','wc-bit-payment') ,
1477
  );
includes/customizer/class-wc-availableforpickup-email-customizer.php CHANGED
@@ -228,13 +228,13 @@ class wcast_availableforpickup_customizer_email {
228
  $wp_customize->add_control( 'wcast_availableforpickup_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
232
  'section' => 'customer_availableforpickup_email',
233
  'type' => 'text',
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,20 +243,20 @@ 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
  );
250
  $wp_customize->add_control( 'wcast_availableforpickup_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
254
  'section' => 'customer_availableforpickup_email',
255
  'type' => 'text',
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
  ) );
@@ -377,7 +378,7 @@ class wcast_availableforpickup_customizer_email {
377
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
382
  'section' => 'customer_availableforpickup_email',
383
  )
@@ -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
  }
228
  $wp_customize->add_control( 'wcast_availableforpickup_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
232
  'section' => 'customer_availableforpickup_email',
233
  'type' => 'text',
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
  );
250
  $wp_customize->add_control( 'wcast_availableforpickup_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ) . ' {site_title}, {order_number}',
254
  'section' => 'customer_availableforpickup_email',
255
  'type' => 'text',
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
  ) );
378
  );
379
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_availableforpickup_email_code_block',
380
  array(
381
+ 'label' => __( 'Available variables:', '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
  )
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
@@ -229,13 +229,13 @@ class wcast_delivered_customizer_email {
229
  $wp_customize->add_control( 'wcast_delivered_status_email_subject',
230
  array(
231
  'label' => __( 'Subject', 'woocommerce' ),
232
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
233
  'section' => 'customer_delivered_status_email',
234
  'type' => 'text',
235
  'input_attrs' => array(
236
  'class' => '',
237
  'style' => '',
238
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
239
  ),
240
  )
241
  );
@@ -244,20 +244,20 @@ 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
  );
251
  $wp_customize->add_control( 'wcast_delivered_status_email_heading',
252
  array(
253
  'label' => __( 'Email heading', 'woocommerce' ),
254
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
255
  'section' => 'customer_delivered_status_email',
256
  'type' => 'text',
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
  ) );
@@ -379,7 +380,7 @@ class wcast_delivered_customizer_email {
379
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
384
  'section' => 'customer_delivered_status_email',
385
  )
@@ -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
  }
229
  $wp_customize->add_control( 'wcast_delivered_status_email_subject',
230
  array(
231
  'label' => __( 'Subject', 'woocommerce' ),
232
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
233
  'section' => 'customer_delivered_status_email',
234
  'type' => 'text',
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
  );
251
  $wp_customize->add_control( 'wcast_delivered_status_email_heading',
252
  array(
253
  'label' => __( 'Email heading', 'woocommerce' ),
254
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
255
  'section' => 'customer_delivered_status_email',
256
  'type' => 'text',
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
  ) );
380
  );
381
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_delivered_status_email_code_block',
382
  array(
383
+ 'label' => __( 'Available variables:', '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
  )
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
@@ -240,13 +240,13 @@ class wcast_initialise_customizer_email {
240
  $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[subject]',
241
  array(
242
  'label' => __( 'Subject', 'woocommerce' ),
243
- 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
244
  'section' => 'customer_delivered_email',
245
  'type' => 'text',
246
  'input_attrs' => array(
247
  'class' => '',
248
  'style' => '',
249
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
250
  ),
251
  )
252
  );
@@ -263,13 +263,13 @@ class wcast_initialise_customizer_email {
263
  $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[heading]',
264
  array(
265
  'label' => __( 'Email heading', 'woocommerce' ),
266
- 'description' => esc_html__( 'Available variables: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
267
  'section' => 'customer_delivered_email',
268
  'type' => 'text',
269
  'input_attrs' => array(
270
  'class' => '',
271
  'style' => '',
272
- 'placeholder' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
273
  ),
274
  )
275
  );
@@ -286,11 +286,12 @@ class wcast_initialise_customizer_email {
286
  $wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_delivered_email_content',
287
  array(
288
  'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
289
- 'description' => __( 'available variables: {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}', 'woo-advanced-shipment-tracking' ),
290
  'section' => 'customer_delivered_email',
291
  'input_attrs' => array(
292
  'toolbar1' => 'bold italic bullist numlist alignleft aligncenter alignright link',
293
  'mediaButtons' => true,
 
294
  )
295
  )
296
  ) );
@@ -410,7 +411,7 @@ class wcast_initialise_customizer_email {
410
  );
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_company_name}<br>{customer_username}<br>{order_number}</code>',
415
  'section' => 'customer_delivered_email',
416
  )
240
  $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[subject]',
241
  array(
242
  'label' => __( 'Subject', 'woocommerce' ),
243
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
244
  'section' => 'customer_delivered_email',
245
  'type' => 'text',
246
  'input_attrs' => array(
247
  'class' => '',
248
  'style' => '',
249
+ 'placeholder' => __( $this->defaults['wcast_delivered_email_subject'], 'woo-advanced-shipment-tracking' ),
250
  ),
251
  )
252
  );
263
  $wp_customize->add_control( 'woocommerce_customer_delivered_order_settings[heading]',
264
  array(
265
  'label' => __( 'Email heading', 'woocommerce' ),
266
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
267
  'section' => 'customer_delivered_email',
268
  'type' => 'text',
269
  'input_attrs' => array(
270
  'class' => '',
271
  'style' => '',
272
+ 'placeholder' => __( $this->defaults['wcast_delivered_email_heading'], 'woo-advanced-shipment-tracking' ),
273
  ),
274
  )
275
  );
286
  $wp_customize->add_control( new Skyrocket_TinyMCE_Custom_control( $wp_customize, 'wcast_delivered_email_content',
287
  array(
288
  'label' => __( 'Email content', 'woo-advanced-shipment-tracking' ),
289
+ 'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
290
  'section' => 'customer_delivered_email',
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
  ) );
411
  );
412
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_email_code_block',
413
  array(
414
+ 'label' => __( 'Available variables:', '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
  )
includes/customizer/class-wc-failure-email-customizer.php CHANGED
@@ -228,13 +228,13 @@ class wcast_failure_customizer_email {
228
  $wp_customize->add_control( 'wcast_failure_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
232
  'section' => 'customer_failure_email',
233
  'type' => 'text',
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,20 +243,20 @@ 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
  );
250
  $wp_customize->add_control( 'wcast_failure_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
254
  'section' => 'customer_failure_email',
255
  'type' => 'text',
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
  ) );
@@ -378,7 +379,7 @@ class wcast_failure_customizer_email {
378
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_failure_email',
384
  )
@@ -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
  }
228
  $wp_customize->add_control( 'wcast_failure_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
232
  'section' => 'customer_failure_email',
233
  'type' => 'text',
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
  );
250
  $wp_customize->add_control( 'wcast_failure_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
254
  'section' => 'customer_failure_email',
255
  'type' => 'text',
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
  ) );
379
  );
380
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_failure_email_code_block',
381
  array(
382
+ 'label' => __( 'Available variables:', '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
  )
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
@@ -232,13 +232,13 @@ class wcast_intransit_customizer_email {
232
  $wp_customize->add_control( 'wcast_intransit_email_subject',
233
  array(
234
  'label' => __( 'Subject', 'woocommerce' ),
235
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
236
  'section' => 'customer_intransit_email',
237
  'type' => 'text',
238
  'input_attrs' => array(
239
  'class' => '',
240
  'style' => '',
241
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
242
  ),
243
  )
244
  );
@@ -247,20 +247,20 @@ 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
  );
254
  $wp_customize->add_control( 'wcast_intransit_email_heading',
255
  array(
256
  'label' => __( 'Email heading', 'woocommerce' ),
257
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
258
  'section' => 'customer_intransit_email',
259
  'type' => 'text',
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
  ) );
@@ -382,7 +383,7 @@ class wcast_intransit_customizer_email {
382
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
387
  'section' => 'customer_intransit_email',
388
  )
@@ -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
  }
232
  $wp_customize->add_control( 'wcast_intransit_email_subject',
233
  array(
234
  'label' => __( 'Subject', 'woocommerce' ),
235
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
236
  'section' => 'customer_intransit_email',
237
  'type' => 'text',
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
  );
254
  $wp_customize->add_control( 'wcast_intransit_email_heading',
255
  array(
256
  'label' => __( 'Email heading', 'woocommerce' ),
257
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
258
  'section' => 'customer_intransit_email',
259
  'type' => 'text',
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
  ) );
383
  );
384
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_intransit_email_code_block',
385
  array(
386
+ 'label' => __( 'Available variables:', '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
  )
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
@@ -230,13 +230,13 @@ class wcast_outfordelivery_customizer_email {
230
  $wp_customize->add_control( 'wcast_outfordelivery_email_subject',
231
  array(
232
  'label' => __( 'Subject', 'woocommerce' ),
233
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
234
  'section' => 'customer_outfordelivery_email',
235
  'type' => 'text',
236
  'input_attrs' => array(
237
  'class' => '',
238
  'style' => '',
239
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
240
  ),
241
  )
242
  );
@@ -245,20 +245,20 @@ 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
  );
252
  $wp_customize->add_control( 'wcast_outfordelivery_email_heading',
253
  array(
254
  'label' => __( 'Email heading', 'woocommerce' ),
255
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
256
  'section' => 'customer_outfordelivery_email',
257
  'type' => 'text',
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
  ) );
@@ -380,7 +381,7 @@ class wcast_outfordelivery_customizer_email {
380
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
385
  'section' => 'customer_outfordelivery_email',
386
  )
@@ -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
  }
230
  $wp_customize->add_control( 'wcast_outfordelivery_email_subject',
231
  array(
232
  'label' => __( 'Subject', 'woocommerce' ),
233
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
234
  'section' => 'customer_outfordelivery_email',
235
  'type' => 'text',
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
  );
252
  $wp_customize->add_control( 'wcast_outfordelivery_email_heading',
253
  array(
254
  'label' => __( 'Email heading', 'woocommerce' ),
255
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
256
  'section' => 'customer_outfordelivery_email',
257
  'type' => 'text',
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
  ) );
381
  );
382
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_outfordelivery_email_code_block',
383
  array(
384
+ 'label' => __( 'Available variables:', '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
  )
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 CHANGED
@@ -113,9 +113,9 @@ class wcast_partial_shipped_customizer_email {
113
  */
114
  public function wcast_generate_defaults() {
115
  $customizer_defaults = array(
116
- 'wcast_partial_shipped_email_subject' => __( 'Your {site_title} order is now partial shipped', 'woo-advanced-shipment-tracking' ),
117
- 'wcast_partial_shipped_email_heading' => __( 'Thanks for shopping with us', '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 Partial Shipped.", 'woo-advanced-shipment-tracking' ),
119
  'wcast_enable_partial_shipped_email' => 'no',
120
  );
121
 
@@ -140,7 +140,7 @@ class wcast_partial_shipped_customizer_email {
140
  );
141
  $wp_customize->add_control( new WP_Customize_Heading_Control( $wp_customize, 'partial_shipped_order_email_heading',
142
  array(
143
- 'label' => __( 'Partial 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
  )
@@ -156,7 +156,7 @@ class wcast_partial_shipped_customizer_email {
156
  );
157
  $wp_customize->add_control( 'customizer_partial_shipped_order_settings_enabled',
158
  array(
159
- 'label' => __( 'Enable Partial 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',
@@ -197,13 +197,13 @@ class wcast_partial_shipped_customizer_email {
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' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
207
  ),
208
  )
209
  );
@@ -220,13 +220,13 @@ class wcast_partial_shipped_customizer_email {
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' => __( 'Please enter email heading here', 'woo-advanced-shipment-tracking' ),
230
  ),
231
  )
232
  );
@@ -243,11 +243,12 @@ class wcast_partial_shipped_customizer_email {
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
  )
252
  )
253
  ) );
@@ -261,7 +262,7 @@ class wcast_partial_shipped_customizer_email {
261
  );
262
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
263
  array(
264
- 'label' => __( 'Available placeholders', 'woo-advanced-shipment-tracking' ),
265
  '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>',
266
  'section' => 'customer_partial_shipped_email',
267
  )
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
 
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
  )
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',
197
  $wp_customize->add_control( 'woocommerce_customer_partial_shipped_order_settings[subject]',
198
  array(
199
  'label' => __( 'Subject', 'woocommerce' ),
200
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
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
  );
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:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
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
  );
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:', 'woo-advanced-shipment-tracking' ).' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
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
  ) );
262
  );
263
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_partial_shipped_code_block',
264
  array(
265
+ 'label' => __( 'Available variables:', '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
  )
includes/customizer/class-wc-returntosender-email-customizer.php CHANGED
@@ -228,13 +228,13 @@ class wcast_returntosender_customizer_email {
228
  $wp_customize->add_control( 'wcast_returntosender_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
232
  'section' => 'customer_returntosender_email',
233
  'type' => 'text',
234
  'input_attrs' => array(
235
  'class' => '',
236
  'style' => '',
237
- 'placeholder' => __( 'Please enter email subject here', 'woo-advanced-shipment-tracking' ),
238
  ),
239
  )
240
  );
@@ -243,20 +243,20 @@ 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
  );
250
  $wp_customize->add_control( 'wcast_returntosender_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
- 'description' => esc_html__( 'Available placeholders: {site_title}, {order_number}', 'woo-advanced-shipment-tracking' ),
254
  'section' => 'customer_returntosender_email',
255
  'type' => 'text',
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
  ) );
@@ -378,7 +379,7 @@ class wcast_returntosender_customizer_email {
378
  );
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_company_name}<br>{customer_username}<br>{order_number}<br>{est_delivery_date}</code>',
383
  'section' => 'customer_returntosender_email',
384
  )
@@ -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
  }
228
  $wp_customize->add_control( 'wcast_returntosender_email_subject',
229
  array(
230
  'label' => __( 'Subject', 'woocommerce' ),
231
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
232
  'section' => 'customer_returntosender_email',
233
  'type' => 'text',
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
  );
250
  $wp_customize->add_control( 'wcast_returntosender_email_heading',
251
  array(
252
  'label' => __( 'Email heading', 'woocommerce' ),
253
+ 'description' => esc_html__( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
254
  'section' => 'customer_returntosender_email',
255
  'type' => 'text',
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
  ) );
379
  );
380
  $wp_customize->add_control( new WP_Customize_codeinfoblock_Control( $wp_customize, 'wcast_returntosender_email_code_block',
381
  array(
382
+ 'label' => __( 'Available variables:', '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
  )
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:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
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:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_number}',
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:', 'woo-advanced-shipment-tracking' ).' {site_title}, {customer_email}, {customer_first_name}, {customer_last_name}, {customer_username}, {order_number}',
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 variables:', '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
@@ -65,7 +65,15 @@ class WC_Advanced_Shipment_Tracking_Customizer {
65
 
66
  $wp_customize->add_section( 'customer_partial_shipped_email',
67
  array(
68
- 'title' => __( 'Partial Shipped status email', 'woo-advanced-shipment-tracking' ),
 
 
 
 
 
 
 
 
69
  'description' => esc_html__( '', 'woo-advanced-shipment-tracking' ),
70
  'panel' => 'wcast_naviation_panel'
71
  )
@@ -140,6 +148,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
140
  'ajax_url' => admin_url('admin-ajax.php'),
141
  'email_preview_url' => $this->get_email_preview_url(),
142
  'partial_shipped_email_preview_url' => $this->get_partial_shipped_email_preview_url(),
 
143
  'tracking_preview_url' => $this->get_tracking_preview_url(),
144
  'tracking_page_preview_url' => $this->get_tracking_page_preview_url(),
145
  'customer_failure_preview_url' => $this->get_customer_failure_preview_url(),
@@ -178,6 +187,18 @@ class WC_Advanced_Shipment_Tracking_Customizer {
178
  return $email_preview_url;
179
  }
180
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  /**
182
  * Get Customizer URL
183
  *
@@ -353,7 +374,7 @@ class WC_Advanced_Shipment_Tracking_Customizer {
353
  */
354
  public static function is_own_section( $key ) {
355
 
356
- if ($key === 'default_controls_section' || $key === 'tracking_page_section' || $key === 'customer_delivered_email' || $key === 'customer_partial_shipped_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') {
357
  return true;
358
  }
359
 
@@ -395,11 +416,19 @@ class WC_Advanced_Shipment_Tracking_Customizer {
395
  'posts_per_page' => 20,
396
  )
397
  );
 
 
398
  if ( $orders->posts ) {
399
  foreach ( $orders->posts as $order ) {
400
  // Get order object.
401
  $order_object = new WC_Order( $order->ID );
402
- $order_array[ $order_object->get_id() ] = $order_object->get_id() . ' - ' . $order_object->get_billing_first_name() . ' ' . $order_object->get_billing_last_name();
 
 
 
 
 
 
403
  }
404
  }
405
  return $order_array;
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
  )
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(),
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
 
416
  'posts_per_page' => 20,
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/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
@@ -28,6 +28,10 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
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
  return $emails;
33
  }
@@ -39,6 +43,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
39
  $order_id = $order->get_id();
40
  $wcast_customizer_settings = new wcast_initialise_customizer_email();
41
  $email_subject = get_theme_mod('wcast_delivered_email_subject',$wcast_customizer_settings->defaults['wcast_delivered_email_subject']);
 
 
 
 
 
42
  $subject = $this->email_subject($email_subject,$order_id,$order);
43
 
44
  $email_to = get_theme_mod('wcast_delivered_email_to',$wcast_customizer_settings->defaults['wcast_delivered_email_to']);
@@ -50,8 +59,18 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
50
  $email_to = explode(",",$email_to);
51
 
52
  foreach($email_to as $email){
53
- $email_heading = get_theme_mod('wcast_delivered_email_heading',$wcast_customizer_settings->defaults['wcast_delivered_email_heading']);
54
- $email_content = get_theme_mod('wcast_delivered_email_content',$wcast_customizer_settings->defaults['wcast_delivered_email_content']);
 
 
 
 
 
 
 
 
 
 
55
  $wcast_show_tracking_details = get_theme_mod('wcast_show_tracking_details');
56
  $wcast_show_order_details = get_theme_mod('wcast_show_order_details');
57
  $wcast_show_billing_address = get_theme_mod('wcast_show_billing_address');
@@ -73,7 +92,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
73
  if($wcast_show_tracking_details == 1){
74
  ob_start();
75
  wc_get_template( 'emails/tracking-info.php', array(
76
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
77
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
78
  $message .= ob_get_clean();
79
  }
@@ -140,6 +160,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
140
  $status_class = 'wcast_'.$status.'_customizer_email';
141
  $wcast_status_customizer_email = new $status_class();
142
  $email_subject = get_theme_mod('wcast_'.$status.'_email_subject',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_subject']);
 
 
 
 
 
143
  $subject = $this->email_subject($email_subject,$order_id,$order);
144
  $email_to = get_theme_mod('wcast_'.$status.'_email_to',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_to']);
145
  $enable = get_theme_mod('wcast_enable_'.$status.'_email');
@@ -148,7 +173,17 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
148
  if($enable == 1){
149
  foreach($email_to as $email){
150
  $email_heading = get_theme_mod('wcast_'.$status.'_email_heading',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_heading']);
151
- $email_content = get_theme_mod('wcast_'.$status.'_email_content',$wcast_status_customizer_email->defaults['wcast_'.$status.'_email_content']);
 
 
 
 
 
 
 
 
 
 
152
  $wcast_show_tracking_details = get_theme_mod('wcast_'.$status.'_show_tracking_details');
153
  $wcast_show_order_details = get_theme_mod('wcast_'.$status.'_show_order_details');
154
  $wcast_show_billing_address = get_theme_mod('wcast_'.$status.'_show_billing_address');
@@ -173,7 +208,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
173
 
174
  ob_start();
175
  wc_get_template( 'emails/tracking-info.php', array(
176
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
177
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
178
  $message .= ob_get_clean();
179
  }
@@ -229,7 +265,10 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
229
  add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
230
  add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
231
 
232
- wp_mail( $recipient, $subject, $message, $email->get_headers() );
 
 
 
233
  }
234
  }
235
  }
@@ -241,15 +280,30 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
241
 
242
  $wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
243
  $email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
 
 
 
 
 
244
  $subject = $this->email_subject($email_subject,$order_id,$order);
245
- $email_to = get_theme_mod('wcast_delivered_status_email_to',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_to']);
246
  $enable = get_theme_mod('wcast_enable_delivered_status_email');
247
  $email_to = explode(",",$email_to);
248
 
249
  if($enable == 1){
250
  foreach($email_to as $email){
251
  $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
 
 
 
 
 
252
  $email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
 
 
 
 
 
253
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
254
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
255
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
@@ -274,7 +328,8 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
274
 
275
  ob_start();
276
  wc_get_template( 'emails/tracking-info.php', array(
277
- 'tracking_items' => $wast->get_tracking_items( $order_id, true )
 
278
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
279
  $message .= ob_get_clean();
280
  }
@@ -330,7 +385,11 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
330
  add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
331
  add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
332
 
333
- wp_mail( $recipient, $subject, $message, $email->get_headers() );
 
 
 
 
334
  }
335
  }
336
  }
@@ -394,7 +453,7 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
394
  /**
395
  * code for format email content
396
  */
397
- public function email_content($email_content, $order_id, $order){
398
  $customer_email = $order->get_billing_email();
399
  $first_name = $order->get_billing_first_name();
400
  $last_name = $order->get_billing_last_name();
@@ -459,36 +518,21 @@ class WC_Advanced_Shipment_Tracking_Email_Manager {
459
  */
460
  public function get_est_delivery_date($order_id, $order){
461
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
462
- $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
463
-
464
- //$get_order_key = get_post_meta( $order_id, 'order_key', true );
465
  } else {
466
  $order = new WC_Order( $order_id );
467
- $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
468
- //$get_order_key = $order->order_key;
469
  }
470
- $html = '';
471
 
 
 
 
472
  if($tracking_items){
473
- foreach($tracking_items as $item){
474
- $tracking_number = $item['tracking_number'];
475
- $trackship_url = 'https://trackship.info';
476
- $url = $trackship_url.'/wp-json/wc/v1/get_tracking_info_by_number';
477
- $args['body'] = array(
478
- 'tracking_number' => $tracking_number
479
- );
480
- $response = wp_remote_post( $url, $args );
481
- $data = $response['body'];
482
- $decoded_data = json_decode($data);
483
-
484
- if(!empty($decoded_data)){
485
- $tracker = $decoded_data[0];
486
- if($tracker->est_delivery_date){
487
- $unixTimestamp = strtotime($tracker->est_delivery_date);
488
- //Get the day of the week using PHP's date function.
489
- $day = date("l", $unixTimestamp);
490
- $html .= '<div>Estimated Delivery Date for Tracking Number - '.$tracking_number.'</div><h3 style="margin:0 0 10px;">'.$day.', '.date("M d", strtotime($tracker->est_delivery_date)).'</h3>';
491
- }
492
  }
493
  }
494
  }
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
  }
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
  }
265
  add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
266
  add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
267
 
268
+ $email_send = wp_mail( $recipient, $subject, $message, $email->get_headers() );
269
+ $logger = wc_get_logger();
270
+ $context = array( 'source' => 'trackship_shipment_status_email_log' );
271
+ $logger->error( "Order_Id: ".$order_id." Shipment_Status: ".$new_status." Email_Sent: " .$email_send, $context );
272
  }
273
  }
274
  }
280
 
281
  $wcast_delivered_customizer_email = new wcast_delivered_customizer_email();
282
  $email_subject = get_theme_mod('wcast_delivered_status_email_subject',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject']);
283
+
284
+ if($email_subject == ''){
285
+ $email_subject = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_subject'];
286
+ }
287
+
288
  $subject = $this->email_subject($email_subject,$order_id,$order);
289
+ $email_to = get_theme_mod('wcast_delivered_status_email_to',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_to']);
290
  $enable = get_theme_mod('wcast_enable_delivered_status_email');
291
  $email_to = explode(",",$email_to);
292
 
293
  if($enable == 1){
294
  foreach($email_to as $email){
295
  $email_heading = get_theme_mod('wcast_delivered_status_email_heading',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading']);
296
+
297
+ if($email_heading == ''){
298
+ $email_heading = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_heading'];
299
+ }
300
+
301
  $email_content = get_theme_mod('wcast_delivered_status_email_content',$wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content']);
302
+
303
+ if($email_content == ''){
304
+ $email_content = $wcast_delivered_customizer_email->defaults['wcast_delivered_status_email_content'];
305
+ }
306
+
307
  $wcast_show_tracking_details = get_theme_mod('wcast_delivered_status_show_tracking_details');
308
  $wcast_show_order_details = get_theme_mod('wcast_delivered_status_show_order_details');
309
  $wcast_show_billing_address = get_theme_mod('wcast_delivered_status_show_billing_address');
328
 
329
  ob_start();
330
  wc_get_template( 'emails/tracking-info.php', array(
331
+ 'tracking_items' => $wast->get_tracking_items( $order_id, true ),
332
+ 'order_id' => $order_id,
333
  ), 'woocommerce-advanced-shipment-tracking/', wc_advanced_shipment_tracking()->get_plugin_path() . '/templates/' );
334
  $message .= ob_get_clean();
335
  }
385
  add_filter( 'wp_mail_from', array( $this, 'get_from_address' ) );
386
  add_filter( 'wp_mail_from_name', array( $this, 'get_from_name' ) );
387
 
388
+ $email_send = wp_mail( $recipient, $subject, $message, $email->get_headers() );
389
+
390
+ $logger = wc_get_logger();
391
+ $context = array( 'source' => 'trackship_shipment_status_email_log' );
392
+ $logger->error( "Order_Id: ".$order_id." Shipment_Status: ".$new_status." Email_Sent: " .$email_send, $context );
393
  }
394
  }
395
  }
453
  /**
454
  * code for format email content
455
  */
456
+ public function email_content($email_content, $order_id, $order){
457
  $customer_email = $order->get_billing_email();
458
  $first_name = $order->get_billing_first_name();
459
  $last_name = $order->get_billing_last_name();
518
  */
519
  public function get_est_delivery_date($order_id, $order){
520
  if ( version_compare( WC_VERSION, '3.0', '<' ) ) {
521
+ $tracking_items = get_post_meta( $order_id, '_wc_shipment_tracking_items', true );
 
 
522
  } else {
523
  $order = new WC_Order( $order_id );
524
+ $tracking_items = $order->get_meta( '_wc_shipment_tracking_items', true );
 
525
  }
 
526
 
527
+ $html = '';
528
+ $wc_ast_api_key = get_option('wc_ast_api_key');
529
+ $shipment_status = get_post_meta( $order_id, "shipment_status", true);
530
  if($tracking_items){
531
+ foreach($tracking_items as $key => $item){
532
+ $tracking_number = $item['tracking_number'];
533
+ if(isset($shipment_status[$key]['est_delivery_date']) && $shipment_status[$key]['est_delivery_date'] != ''){
534
+ $est_delivery_date = $shipment_status[$key]['est_delivery_date'];
535
+ $html .= '<div>Estimated Delivery Date for Tracking Number - '.$tracking_number.'</div><h3 style="margin:0 0 10px;">'.$day.', '.date("M d", strtotime($est_delivery_date)).'</h3>';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
536
  }
537
  }
538
  }
includes/emails/class-shipment-delivered-email.php CHANGED
@@ -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
  }
@@ -252,7 +253,7 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
252
  'type' => 'text',
253
  'desc_tip' => true,
254
  /* translators: %s: list of placeholders */
255
- 'description' => sprintf( __( 'Available placeholders: %s', 'woocommerce' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
256
  'placeholder' => $this->get_default_subject(),
257
  'default' => '',
258
  ),
@@ -261,7 +262,7 @@ if ( ! class_exists( 'WC_Email_Customer_Delivered_Order', false ) ) :
261
  'type' => 'text',
262
  'desc_tip' => true,
263
  /* translators: %s: list of placeholders */
264
- 'description' => sprintf( __( 'Available placeholders: %s', 'woocommerce' ), '<code>{site_title}, {order_date}, {order_number}</code>' ),
265
  'placeholder' => $this->get_default_heading(),
266
  'default' => '',
267
  ),
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
  }
253
  'type' => 'text',
254
  'desc_tip' => true,
255
  /* translators: %s: list of placeholders */
256
+ 'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_date}, {order_number}',
257
  'placeholder' => $this->get_default_subject(),
258
  'default' => '',
259
  ),
262
  'type' => 'text',
263
  'desc_tip' => true,
264
  /* translators: %s: list of placeholders */
265
+ 'description' => __( 'Available variables:', 'woo-advanced-shipment-tracking' ).' {site_title}, {order_date}, {order_number}',
266
  'placeholder' => $this->get_default_heading(),
267
  'default' => '',
268
  ),
includes/emails/class-shipment-partial-shipped-email.php CHANGED
@@ -29,8 +29,8 @@ if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
29
  public function __construct() {
30
  $this->id = 'customer_partial_shipped_order';
31
  $this->customer_email = true;
32
- $this->title = __( 'Partial Shipped order', 'woocommerce' );
33
- $this->description = __( 'Order partial shipped emails are sent to customers when their orders are marked partial shipped and usually indicate that their orders have been partial 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(
@@ -89,7 +89,7 @@ if ( ! class_exists( 'WC_Email_Customer_Partial_Shipped_Order', false ) ) :
89
  * @return string
90
  */
91
  public function get_default_heading() {
92
- return __( 'Thanks for shopping with us', 'woocommerce' );
93
  }
94
 
95
  /**
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(
89
  * @return string
90
  */
91
  public function get_default_heading() {
92
+ return __( 'Your Order is Partially Shipped', 'woocommerce' );
93
  }
94
 
95
  /**
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,178 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
+ //echo $this->licence_valid();
109
+ if( $this->licence_valid() ){ ?>
110
+ <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>
111
+ <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>
112
+ <?php } else{ ?>
113
+ <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>
114
+ <?php }
115
+ ?>
116
+ <p class="pesan"></p>
117
+ <div class="spinner"></div>
118
+ <?php wp_nonce_field( 'wc_ast_addons_form', 'wc_ast_addons_form' );?>
119
+ <input type="hidden" id="ast-license-action" name="action" value="<?=$this->licence_valid() ? 'ast_product_license_deactivate':'ast_product_license_activate';?>" />
120
+ </div>
121
+ </td>
122
+ </tr>
123
+ </tbody>
124
+ </table>
125
+ <?php
126
+ } ?>
127
+ </div>
128
+
129
+ <div class="ast_addons_section">
130
+ <table class="form-table heading-table">
131
+ <tbody>
132
+ <tr valign="top" class="addons_header">
133
+ <td>
134
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/smswoo.png">
135
+ </td>
136
+ </tr>
137
+ <tr valign="top">
138
+ <td>
139
+ <h3 style="">SMS for WooCommerce</h3>
140
+ </td>
141
+ </tr>
142
+ </tbody>
143
+ </table>
144
+
145
+ <table class="form-table">
146
+ <tbody>
147
+ <tr style="height: 140px;">
148
+ <td>
149
+ <p style="margin-top: 4px;"><?php _e( 'Keep your customers happy by offering automated SMS text messages with order updates via Twilio/Nexmo. Send SMS updates to customers when their order status is updated. You can also manually send SMS messages through the Edit Order screen.', 'woo-advanced-shipment-tracking' ); ?></p>
150
+ </td>
151
+ </tr>
152
+ </tbody>
153
+ </table>
154
+ <table class="form-table">
155
+ <tbody>
156
+ <tr valign="top">
157
+ <td class="button-column">
158
+ <div class="submit">
159
+ <?php
160
+ if( function_exists('SMSWOO') ){
161
+ if ( SMSWOO()->license->get_license_status() ){ ?>
162
+ <button name="save" class="button-primary btn_ast2 btn_large" type="button"><?php _e('Active','woo-advanced-shipment-tracking');?></button>
163
+ <?php } else{ ?>
164
+ <a href="https://www.zorem.com/products/sms-for-woocommerce/" target="blank" class="button-primary btn_ast2 btn_large"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
165
+ <?php }} else{ ?>
166
+ <a href="https://www.zorem.com/products/sms-for-woocommerce/" target="blank" class="button-primary btn_ast2 btn_large"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
167
+ <?php } ?>
168
+ </div>
169
+ </td>
170
+ </tr>
171
+ </tbody>
172
+ </table>
173
+ </div>
174
+ </form>
175
+ </div>
176
+ <?php include 'zorem_admin_addons_sidebar.php'; ?>
177
+ </div>
178
+ </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>
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>
includes/views/admin_options_settings.php CHANGED
@@ -59,39 +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">
72
- <td class="button-column">
73
- <div class="submit">
74
- <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>
75
- <div class="spinner"></div>
76
- <?php wp_nonce_field( 'wc_ast_settings_form', 'wc_ast_settings_form' );?>
77
- <input type="hidden" name="action" value="wc_ast_settings_form_update">
78
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  </td>
80
  </tr>
81
- </tbody>
82
- </table>
83
-
84
- <table class="form-table heading-table">
85
- <tbody>
86
- <tr valign="top">
87
- <td>
88
- <h3 style=""><?php _e( 'Partial Shipped Order Status', 'woo-advanced-shipment-tracking' ); ?></h3>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
89
  </td>
90
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
91
  </tbody>
92
- </table>
93
- <?php $this->get_html( $this->get_partial_shipped_data() );?>
94
- <p class="description-below-table"><?php echo sprintf(__('<strong>PLEASE NOTE</strong> - If you use the custom order status "Partial Shipped", 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 "partial-shipped" order to "completed" before deactivating the plugin.', 'woo-advanced-shipment-tracking'), 'https://gist.github.com/zorem/acc273dccad16095836b8aab058dbe93'); ?></p>
95
  <table class="form-table">
96
  <tbody>
97
  <tr valign="top">
@@ -105,7 +186,8 @@
105
  </td>
106
  </tr>
107
  </tbody>
108
- </table>
 
109
  </form>
110
  </div>
111
  <?php include 'zorem_admin_sidebar.php';?>
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 status-label-column">
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 status-label-column">
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 status-label-column">
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/plugin-settings/#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 CHANGED
@@ -2,33 +2,32 @@
2
  /**
3
  * html code for tools tab
4
  */
5
-
6
  ?>
7
- <section id="content5" class="tab_section">
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
- <?php
31
- if($wc_ast_api_key){ include 'zorem_admin_sidebar.php'; }
32
- ?>
33
  </div>
 
34
  </section>
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
@@ -7,9 +7,23 @@
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';
@@ -17,223 +31,18 @@
17
  'user_key' => $wc_ast_api_key,
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' && get_option('wc_ast_status_delivered') == 1){ 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' && get_option('wc_ast_status_delivered') == 1){ 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' && get_option('wc_ast_status_delivered') == 1){ 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' && 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>
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' && 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>
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
  <?php } else{ ?>
238
  <div class="section-content trackship_section">
239
  <div class="trackship-upsell-overlay">
@@ -260,10 +69,5 @@
260
  ?>
261
  </form>
262
  </div>
263
- <?php
264
- if($wc_ast_api_key){
265
- include 'zorem_admin_sidebar.php';
266
- }
267
- ?>
268
  </div>
269
  </section>
7
  <section id="content3" class="tab_section">
8
  <div class="d_table" style="">
9
  <div class="tab_inner_container">
10
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key');
11
+ if($wc_ast_api_key){
12
+ ?>
13
+ <input id="tab_trackship_dashboard" type="radio" name="inner_tabs" class="inner_tab_input" data-tab="trackship-dashboard" checked>
14
+ <label for="tab_trackship_dashboard" class="inner_tab_label"><?php _e('Dashboard', 'woocommerce'); ?></label>
15
+
16
+ <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'; } ?>>
17
+ <label for="tab_tracking_page" class="inner_tab_label tracking_page_label"><?php _e('Tracking Page', 'woo-advanced-shipment-tracking'); ?></label>
18
+
19
+ <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'; } ?>>
20
+ <label for="tab_status_notifications" class="inner_tab_label"><?php _e('Shipment Status Notifications', 'woo-advanced-shipment-tracking'); ?></label>
21
+
22
+ <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'; } ?>>
23
+ <label for="tab_tools" class="inner_tab_label"><?php _e('Tools', 'woo-advanced-shipment-tracking'); ?></label>
24
+ <?php } ?>
25
+ <form method="post" id="wc_ast_trackship_form" action="" enctype="multipart/form-data">
26
  <?php
 
27
 
28
  if($wc_ast_api_key){
29
  $url = 'https://my.trackship.info/wp-json/tracking/get_user_plan';
31
  'user_key' => $wc_ast_api_key,
32
  );
33
  $response = wp_remote_post( $url, $args );
34
+ if ( is_wp_error( $response ) ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
35
 
36
+ } else{
37
+ $plan_data = json_decode($response['body']);
38
+ }
39
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
40
  <?php
41
+ require_once( 'admin_trackship_dashboard.php' );
42
+ require_once( 'admin_tracking_page_settings.php' );
43
+ require_once( 'admin_status_notifications.php' );
44
+ require_once( 'admin_options_tools.php' );
45
+ ?>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  <?php } else{ ?>
47
  <div class="section-content trackship_section">
48
  <div class="trackship-upsell-overlay">
69
  ?>
70
  </form>
71
  </div>
 
 
 
 
 
72
  </div>
73
  </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_addons_sidebar.php ADDED
@@ -0,0 +1,33 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * html code for admin sidebar
4
+ */
5
+ ?>
6
+ <div class="zorem_admin_sidebar">
7
+ <div class="zorem_admin_sidebar_inner">
8
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key'); ?>
9
+ <div class="zorem-sidebar__section">
10
+ <h3 class="top-border">Your opinion matters to us!</h3>
11
+ <p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_blank">share your review</a>
12
+ </p>
13
+ </div>
14
+
15
+ <div class="zorem-sidebar__section">
16
+ <h3 class="top-border">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 && 'Tracking Per Item Add-on' != $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>
33
+ </div>
includes/views/zorem_admin_sidebar.php CHANGED
@@ -4,42 +4,56 @@
4
  */
5
  ?>
6
  <div class="zorem_admin_sidebar">
7
- <div class="ts_launch zorem-sidebar__section">
8
- <h3>Your opinion matters to us!</h3>
9
- <p>If you enjoy using advanced shipment tracking plugin, please take a minute to review the plugin</br>
10
- <span>Thanks :)</span>
11
- </p>
12
- <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" class="button button-primary btn_ast1 btn_large" target="_blank"><span>Share your review >></span><i class="icon-angle-right"></i></a>
13
- </div>
14
-
15
- <?php
16
- $wc_ast_api_key = get_option('wc_ast_api_key');
17
-
18
- if(!$wc_ast_api_key){
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>
4
  */
5
  ?>
6
  <div class="zorem_admin_sidebar">
7
+ <div class="zorem_admin_sidebar_inner">
8
+ <?php $wc_ast_api_key = get_option('wc_ast_api_key'); ?>
9
+ <div class="zorem-sidebar__section">
10
+ <h3>AST Add-ons</h3>
11
+ <div class="sidebar_addon_inner">
12
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/Tracking-Per-Item-addon-sidebar.png" class="sidebar_addon_logo">
13
+ <div class="addon_button_div">
14
+ <?php if ( !is_plugin_active( 'ast-tracking-per-order-items/ast-tracking-per-order-items.php' ) ) { ?>
15
+ <a href="https://www.zorem.com/shop/tracking-per-item-ast-add-on/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" target="blank" class="button button-primary btn_ast2 addon_widget_button"><?php _e( 'Get This Add-on >', 'woo-advanced-shipment-tracking' ); ?></a>
16
+ <?php } else{
17
+ if($this->licence_valid() == 'true'){ ?>
18
+ <a href="https://www.zorem.com/my-account/manage-license-key/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_green2 addon_widget_button" target="blank"><?php _e('Active','woo-advanced-shipment-tracking');?> <span class="dashicons dashicons-yes"></span></a>
19
+ <?php }
20
+ } ?>
21
+ </div>
22
+ </div>
23
+ <div class="sidebar_addon_inner">
24
+ <img src="<?php echo wc_advanced_shipment_tracking()->plugin_dir_url()?>assets/images/trackship-sidebar-addons.png" class="sidebar_addon_logo">
25
+ <div class="addon_button_div">
26
+ <?php if(!$wc_ast_api_key){ ?>
27
+ <a href="https://trackship.info/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_ast2 addon_widget_button" target="_blank"><span><?php _e( 'Upgrade to PRO', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a>
28
+ <?php } else{ ?>
29
+ <a href="https://my.trackship.info/?utm_source=wp-admin&utm_medium=sidebar&utm_campaign=upgrade" class="button button-primary btn_green2 addon_widget_button" target="_blank"><span><?php _e( 'Connected', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a>
30
+ <?php } ?>
31
+ </div>
32
+ </div>
33
  </div>
34
+ <div class="zorem-sidebar__section">
35
+ <h3 class="top-border">Your opinion matters to us!</h3>
36
+ <p>If you enjoy using The Advanced Shipment Tracking plugin, please take a minute and <a href="https://wordpress.org/support/plugin/woo-advanced-shipment-tracking/reviews/#new-post" target="_blank">share your review</a>
37
+ </p>
38
+ </div>
39
+
40
+ <div class="zorem-sidebar__section">
41
+ <h3 class="top-border">More plugins by zorem</h3>
42
+ <?php
43
+
44
+ $response = wp_remote_get('https://www.zorem.com/wp-json/pluginlist/v1' );
45
+ if ( is_array( $response ) ) {
46
+ $plugin_list = json_decode($response['body']);
47
+ ?>
48
+ <ul>
49
+ <?php foreach($plugin_list as $plugin){
50
+ if( 'Advanced Shipment Tracking for WooCommerce' != $plugin->title && 'Tracking Per Item Add-on' != $plugin->title) {
51
+ ?>
52
+ <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>
53
+ <?php }
54
+ }?>
55
+ </ul>
56
+ <?php } ?>
57
+ </div>
58
+ </div>
59
  </div>
includes/views/zorem_admin_ts_sidebar.php DELETED
@@ -1,32 +0,0 @@
1
- <?php
2
- /**
3
- * html code for trackip tab sidebar
4
- */
5
- ?>
6
- <div class="zorem_admin_sidebar">
7
- <div class="ts_launch zorem-sidebar__section">
8
- <img src="https://trackship.info/wp-content/uploads/2019/08/trackship-400.png" alt="" style="max-width: 60%;">
9
-
10
- <p><a href="https://my.trackship.info" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Dashboard', 'woocommerce' ); ?></span><i class="icon-angle-right"></i></a></p>
11
-
12
- <p><a href="https://trackship.info/documentation/" target="_blank" class="button button-primary btn_green" target="_blank"><span><?php _e( 'Documentation', 'woo-advanced-shipment-tracking' ); ?></span><i class="icon-angle-right"></i></a></p>
13
- </div>
14
-
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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:06+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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,24 +23,365 @@ msgstr ""
23
  "Моля, инсталирайте и активирайте% sWooCommerce% s за усъвършенствано "
24
  "проследяване на пратки в WooCommerce!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 "
@@ -50,252 +391,321 @@ msgstr ""
50
  "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
51
  "в имейла за потвърждение, който трябваше да получите.\n"
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
  "Намерен в имейла за потвърждение на поръчката.\n"
58
 
59
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
60
  msgid "Order Email"
61
  msgstr ""
62
  "Имейл за поръчка\n"
63
 
64
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
65
- #: includes/class-wc-advanced-shipment-tracking.php:276
66
- #: includes/class-wc-advanced-shipment-tracking.php:701
67
- #: includes/class-wc-advanced-shipment-tracking.php:826
68
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
69
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
70
- #: templates/emails/tracking-info.php:174
71
- #: templates/myaccount/tracking-info.php:125
72
  msgid "Track"
73
  msgstr "път"
74
 
75
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
76
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
77
  #, php-format
78
  msgid "Shipment - %s (out of %s)"
79
  msgstr ""
80
  "Пратка -% s (от% s)\n"
81
 
82
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
84
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
85
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
86
- msgid "Estimated Delivery Date: "
87
- msgstr "Очаквана дата за доставка:"
 
 
 
 
 
 
 
 
88
 
89
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
90
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
91
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
92
  msgid "Tracking Details"
93
  msgstr "Детайли за проследяване"
94
 
95
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
96
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
97
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
98
  msgid "view more"
99
  msgstr "Виж повече"
100
 
101
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
102
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
103
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
104
  msgid "view less"
105
  msgstr "вижте по-малко"
106
 
107
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
108
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
109
- msgid "Tracking details not found in TrackShip"
110
- msgstr ""
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
113
- msgid "Estimated Delivery Date"
114
- msgstr ""
115
-
116
  #: includes/class-wc-advanced-shipment-tracking.php:95
117
- #: includes/class-wc-advanced-shipment-tracking.php:260
118
  #: includes/customizer/class-wcast-customizer.php:31
119
  msgid "Shipment Tracking"
120
  msgstr "Проследяване на пратките"
121
 
122
  #: includes/class-wc-advanced-shipment-tracking.php:184
123
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
124
  msgid "Mark as Shipped?"
125
- msgstr ""
126
-
127
- #: includes/class-wc-advanced-shipment-tracking.php:185
128
- msgid "Shipped"
129
- msgstr ""
130
 
131
  #: includes/class-wc-advanced-shipment-tracking.php:187
132
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
133
  msgid "Mark as Completed?"
134
- msgstr ""
135
 
136
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
137
  msgid "Completed"
138
- msgstr ""
139
 
140
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
141
  msgid "Add Tracking Number"
142
- msgstr ""
143
 
144
- #: includes/class-wc-advanced-shipment-tracking.php:200
145
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
146
  msgid "Provider:"
147
  msgstr "доставчик на:"
148
 
149
- #: includes/class-wc-advanced-shipment-tracking.php:220
150
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
151
  msgid "Tracking number:"
152
  msgstr "Номер за проследяване:"
153
 
154
- #: includes/class-wc-advanced-shipment-tracking.php:224
155
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
156
  msgid "Date shipped:"
157
  msgstr "Дата на изпращане:"
158
 
159
- #: includes/class-wc-advanced-shipment-tracking.php:225
160
- #: includes/class-wc-advanced-shipment-tracking.php:442
161
- #: includes/class-wc-advanced-shipment-tracking.php:445
162
- msgid "Y-m-d"
163
- msgstr ""
164
-
165
- #: includes/class-wc-advanced-shipment-tracking.php:231
166
- #: includes/class-wc-advanced-shipment-tracking.php:451
167
- msgid "Mark as"
168
- msgstr ""
169
 
170
- #: includes/class-wc-advanced-shipment-tracking.php:234
171
- #: includes/class-wc-advanced-shipment-tracking.php:455
 
172
  msgid "Partial Shipped"
173
- msgstr ""
174
 
175
- #: includes/class-wc-advanced-shipment-tracking.php:276
176
- #: includes/class-wc-advanced-shipment-tracking.php:469
177
- msgid "Click here to track your shipment"
178
- msgstr "Кликнете тук, за да проследите пратката си"
179
 
180
  #. 1: shipping date
181
- #: includes/class-wc-advanced-shipment-tracking.php:284
182
  #, php-format
183
  msgid "Shipped on %s"
184
  msgstr "Изпратено на% s"
185
 
186
- #: includes/class-wc-advanced-shipment-tracking.php:391
187
  msgid "Add Tracking Info"
188
  msgstr "Добавяне на информация за проследяване"
189
 
190
- #: includes/class-wc-advanced-shipment-tracking.php:396
191
  msgid "Select Provider"
192
  msgstr "Изберете Доставчик"
193
 
194
- #: includes/class-wc-advanced-shipment-tracking.php:468
195
  msgid "Save Tracking"
196
  msgstr "Запазване на проследяването"
197
 
198
- #: includes/class-wc-advanced-shipment-tracking.php:469
199
  msgid "Preview:"
200
  msgstr "Преглед:"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking.php:675
203
  #, php-format
204
  msgid ""
205
  "Tracking info was deleted for tracking provider %s with tracking number %s"
206
  msgstr ""
 
 
207
 
208
- #: includes/class-wc-advanced-shipment-tracking.php:1042
209
  #, php-format
210
  msgid "Order was shipped with %s and tracking number is: %s"
211
- msgstr ""
212
 
213
  #: includes/class-wc-advanced-shipment-welcome.php:38
214
  #: includes/class-wc-advanced-shipment-welcome.php:39
215
  msgid "Welcome to Advanced Shipment Tracking"
216
  msgstr ""
 
217
 
218
  #: includes/class-wc-advanced-shipment-welcome.php:90
219
  #: includes/class-wc-advanced-shipment-welcome.php:129
220
  #: includes/class-wc-advanced-shipment-welcome.php:147
221
  msgid "Save and Continue"
222
- msgstr ""
223
 
224
  #: includes/class-wc-advanced-shipment-welcome.php:177
225
- #: includes/views/admin_options_trackship_integration.php:26
226
  msgid "Connection status"
227
- msgstr ""
228
 
229
  #: includes/class-wc-advanced-shipment-welcome.php:184
230
- #: includes/views/admin_options_trackship_integration.php:33
231
  msgid "TrackShip Connection Status"
232
  msgstr "Състояние на връзката към TrackShip"
233
 
234
- #: includes/class-wc-advanced-shipment-welcome.php:188
235
- #: includes/views/admin_options_trackship_integration.php:37
236
- msgid "Connected"
237
- msgstr ""
238
- "свързан\n"
239
-
240
  #: includes/class-wc-advanced-shipment-welcome.php:194
241
- #: includes/views/admin_options_trackship_integration.php:43
242
  msgid "Trackers Balance"
243
- msgstr ""
244
 
245
  #: includes/class-wc-advanced-shipment-welcome.php:202
246
- #: includes/views/admin_options_trackship_integration.php:51
247
  msgid "Current Plan"
248
- msgstr ""
249
 
250
  #: includes/class-wc-advanced-shipment-welcome.php:217
251
- #: includes/views/admin_options_trackship_integration.php:66
 
252
  msgid ""
253
  "You are now connected with TrackShip! TrackShip makes it effortless to "
254
  "automate your post shipping operations and get tracking and delivery status "
255
  "updates directly in the WooCommerce admin."
256
  msgstr ""
257
-
258
- #: includes/class-wc-advanced-shipment-welcome.php:222
259
- #: includes/views/admin_options_bulk_upload.php:58
260
- #: includes/views/admin_options_trackship_integration.php:71
261
- #: includes/views/zorem_admin_ts_sidebar.php:12
262
- msgid "Documentation"
263
- msgstr ""
264
 
265
  #: includes/class-wc-advanced-shipment-welcome.php:223
266
- #: includes/views/admin_options_trackship_integration.php:72
267
  msgid "TrackShip Dashboard"
268
- msgstr ""
269
 
270
  #: includes/class-wc-advanced-shipment-welcome.php:253
271
  msgid "Save"
272
- msgstr ""
273
 
274
- #: includes/class-wc-advanced-shipment-welcome.php:310
275
- msgid ""
276
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
277
- "100 orders."
278
- msgstr ""
279
-
280
- #: includes/class-wc-advanced-shipment-welcome.php:343
281
- msgid "Data saved successfully."
282
- msgstr "Данните са запазени успешно."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
283
 
284
- #: includes/class-wc-advanced-shipment-welcome.php:344
285
- msgid "Really delete this entry? This will not be undo."
286
- msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
287
 
288
- #: includes/class-wc-advanced-shipment-welcome.php:345
289
- msgid "You can upload only csv file."
290
- msgstr "Можете да качите само csv файл."
 
291
 
292
- #: includes/class-wc-advanced-shipment-welcome.php:346
293
- msgid "This browser does not support HTML5."
294
- msgstr "Този браузър не поддържа HTML5."
295
 
296
- #: includes/class-wc-advanced-shipment-welcome.php:347
297
- msgid "Please upload a valid CSV file."
298
- msgstr "Моля, качете валиден CSV файл."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
 
300
  #: includes/customizer/class-wcast-customizer.php:40
301
  msgid "Shipment Status Emails"
@@ -313,51 +723,16 @@ msgstr "Предоставен е имейл за състоянието на п
313
 
314
  #: includes/customizer/class-wcast-customizer.php:68
315
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
316
- msgid "Partial Shipped status email"
317
- msgstr ""
318
 
319
  #: includes/customizer/class-wcast-customizer.php:76
320
- msgid "Pre Transit"
321
- msgstr "Предварително преминаване"
322
-
323
- #: includes/customizer/class-wcast-customizer.php:84
324
- #: includes/customizer/class-wc-intransit-email-customizer.php:127
325
- #: includes/views/admin_options_trackship_integration.php:161
326
- msgid "In Transit"
327
- msgstr "Транзитно"
328
-
329
- #: includes/customizer/class-wcast-customizer.php:92
330
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
331
- #: includes/views/admin_options_trackship_integration.php:175
332
- msgid "Return To Sender"
333
- msgstr "Върнете се към подателя"
334
-
335
- #: includes/customizer/class-wcast-customizer.php:99
336
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
337
- #: includes/views/admin_options_trackship_integration.php:189
338
- msgid "Available For Pickup"
339
- msgstr "Предлага се за пикап"
340
-
341
- #: includes/customizer/class-wcast-customizer.php:106
342
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
343
- #: includes/views/admin_options_trackship_integration.php:202
344
- msgid "Out For Delivery"
345
  msgstr ""
346
- "За доставка\n"
347
 
348
- #: includes/customizer/class-wcast-customizer.php:114
349
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
350
- #: includes/views/admin_options_trackship_integration.php:216
351
- msgid "Delivered"
352
- msgstr "Доставени"
353
-
354
- #: includes/customizer/class-wcast-customizer.php:122
355
- #: includes/customizer/class-wc-failure-email-customizer.php:124
356
- #: includes/views/admin_options_trackship_integration.php:231
357
- msgid "Failed Attempt"
358
- msgstr "Неуспешен опит"
359
-
360
- #: includes/customizer/class-wcast-customizer.php:390
361
  msgid "Select order to preview"
362
  msgstr ""
363
  "Изберете поръчка за визуализация\n"
@@ -388,6 +763,7 @@ msgstr ""
388
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
389
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
390
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
391
  msgid "This section lets you customize the Email Content."
392
  msgstr ""
393
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
@@ -405,8 +781,9 @@ msgstr ""
405
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
406
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
407
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
408
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
409
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
410
  msgid "Preview order"
411
  msgstr ""
412
  "Преглед на поръчката\n"
@@ -421,42 +798,41 @@ msgstr ""
421
  msgid "E.g. {customer.email}, admin@example.org"
422
  msgstr "E.g. {customer.email}, admin@example.org"
423
 
 
424
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
425
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
426
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
427
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
428
  #: includes/customizer/class-wc-failure-email-customizer.php:231
429
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
430
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
431
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
432
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
433
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
434
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
435
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
436
- msgid "Available placeholders: {site_title}, {order_number}"
437
- msgstr "Налични резерви: {site_title}, {order_number}"
438
-
439
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
440
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
441
- #: includes/customizer/class-wc-email-customizer.php:249
442
- #: includes/customizer/class-wc-failure-email-customizer.php:237
443
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
444
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
445
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
446
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
447
- msgid "Please enter email subject here"
448
- msgstr "Моля, въведете тук имейл"
449
-
450
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
451
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
452
- #: includes/customizer/class-wc-email-customizer.php:272
453
- #: includes/customizer/class-wc-failure-email-customizer.php:259
454
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
455
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
456
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
457
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
458
- msgid "Please enter email heading here"
459
- msgstr "Моля, въведете имейл адреса тук"
460
 
461
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
462
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -500,22 +876,22 @@ msgstr ""
500
 
501
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
502
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
503
- #: includes/customizer/class-wc-email-customizer.php:392
504
  #: includes/customizer/class-wc-failure-email-customizer.php:339
505
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
506
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
507
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
508
  msgid "Google Analytics link tracking"
509
- msgstr ""
510
 
511
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
512
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
513
  #: includes/customizer/class-wc-failure-email-customizer.php:340
514
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
515
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
516
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
517
  msgid "This will be appended to URL in the email content"
518
- msgstr ""
519
 
520
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
521
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -525,36 +901,31 @@ msgstr ""
525
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
526
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
527
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
528
  msgid "Email content"
529
  msgstr "Съдържание на имейла"
530
 
531
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
532
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
533
- #: includes/customizer/class-wc-email-customizer.php:413
534
- #: includes/customizer/class-wc-failure-email-customizer.php:381
535
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
536
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
537
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
538
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
539
- msgid "Available placeholders"
540
- msgstr ""
541
- "Налични места\n"
542
-
543
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
544
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
545
- #: includes/customizer/class-wc-email-customizer.php:446
546
- #: includes/customizer/class-wc-failure-email-customizer.php:428
547
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
548
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
549
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
550
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
551
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
552
  msgid "Please select order to preview."
553
- msgstr ""
554
 
555
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
556
  msgid "Your order #{order_number} has been delivered"
557
- msgstr ""
558
 
559
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
560
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -583,51 +954,40 @@ msgid "Enable Delivered order status email"
583
  msgstr "Активиране на имейл съобщението за състоянието на поръчката"
584
 
585
  #: includes/customizer/class-wc-email-customizer.php:201
586
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
587
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
588
  msgid "Please select a order..."
589
  msgstr ""
590
  "Моля, изберете поръчка ...\n"
591
 
592
- #: includes/customizer/class-wc-email-customizer.php:243
593
- #: includes/customizer/class-wc-email-customizer.php:266
594
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
595
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
596
- msgid "Available variables: {site_title}, {order_number}"
597
- msgstr ""
598
-
599
- #: includes/customizer/class-wc-email-customizer.php:289
600
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
601
- msgid ""
602
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
603
- "{customer_last_name}, {customer_username}, {order_number}"
604
- msgstr ""
605
-
606
- #: includes/customizer/class-wc-email-customizer.php:308
607
  msgid "Display tracking details"
608
- msgstr ""
609
 
610
- #: includes/customizer/class-wc-email-customizer.php:324
611
  msgid "Display order details"
612
- msgstr ""
613
 
614
- #: includes/customizer/class-wc-email-customizer.php:341
615
  msgid "Display Shipping Address"
616
- msgstr ""
617
 
618
- #: includes/customizer/class-wc-email-customizer.php:358
619
  msgid "Display Billing Address"
620
- msgstr ""
621
 
622
- #: includes/customizer/class-wc-email-customizer.php:375
623
  msgid "Enable Google Analytics tracking"
624
- msgstr ""
625
 
626
- #: includes/customizer/class-wc-email-customizer.php:393
627
  msgid ""
628
  "This will be appended to URL in the email content – e.g. "
629
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
630
  msgstr ""
 
 
631
 
632
  #: includes/customizer/class-wc-failure-email-customizer.php:123
633
  msgid "Your order #{order_number} is Failed Attempt"
@@ -715,203 +1075,288 @@ msgid "Enable Return To Sender shipment status email"
715
  msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
716
 
717
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
718
- #: includes/customizer/class-wc-tracking-info-customizer.php:364
719
- #: templates/emails/tracking-info.php:132
720
- #: templates/myaccount/tracking-info.php:91
721
  msgid "Provider"
722
  msgstr "доставчик"
723
 
724
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
725
- #: includes/customizer/class-wc-tracking-info-customizer.php:386
726
- #: templates/emails/tracking-info.php:156
727
- #: templates/myaccount/tracking-info.php:113
728
  msgid "Tracking Number"
729
  msgstr "Номер за проследяване"
730
 
731
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
732
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
733
  msgid "Shipped Date"
734
  msgstr ""
735
  "Дата на изпращане\n"
736
 
737
- #: includes/customizer/class-wc-tracking-info-customizer.php:179
738
- msgid ""
739
- "select from last 20 orders one order that you added tracking info in order "
740
- "to preview and design the tracking info table."
741
  msgstr ""
742
- "изберете от последните 20 поръчки една поръчка, която сте добавили "
743
- "информация за проследяване, за да визуализирате и проектирате "
744
- "информационната таблица за проследяване.\n"
745
-
746
- #: includes/customizer/class-wc-tracking-info-customizer.php:198
747
- #: includes/views/admin_options_settings.php:15
748
- #: includes/views/admin_options_trackship_integration.php:82
749
- msgid "General Settings"
750
- msgstr "Основни настройки"
751
 
752
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
753
  msgid "Tracking Display Position"
754
  msgstr "Проследяване на позицията на дисплея"
755
 
756
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
757
  msgid "Before Order Details"
758
  msgstr "Преди подробности за поръчката"
759
 
760
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
761
  msgid "After Order Details"
762
  msgstr "След подробности за поръчката"
763
 
764
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
765
- msgid "Main Header text"
766
- msgstr "Текст на основния заглавие"
 
767
 
768
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
769
  msgid "Tracking Information"
770
  msgstr "Информация за проследяване"
771
 
772
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
773
  msgid "Additional text after header"
774
  msgstr "Допълнителен текст след заглавието"
775
 
776
- #: includes/customizer/class-wc-tracking-info-customizer.php:276
777
- msgid "Table Content"
 
 
 
 
 
 
778
  msgstr ""
 
 
 
 
 
 
779
 
780
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
781
- msgid "Display Shipment Provider image"
782
- msgstr "Покажи изображението на доставчика на пратка"
 
783
 
784
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
785
- msgid "Hide date"
786
- msgstr "Скриване на дата"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
787
 
788
- #: includes/customizer/class-wc-tracking-info-customizer.php:325
789
- msgid "Table Header"
790
  msgstr ""
 
791
 
792
- #: includes/customizer/class-wc-tracking-info-customizer.php:340
793
- msgid "Hide Header"
794
  msgstr ""
 
795
 
796
- #: includes/customizer/class-wc-tracking-info-customizer.php:357
797
- msgid "Provider Header Text"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
798
  msgstr "Текст на заглавката на доставчика"
799
 
800
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
801
- msgid "Tracking Number Header Text"
802
- msgstr "Текст на заглавния номер на проследяването"
803
 
804
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
805
- msgid "Shipped Date Header Text"
806
- msgstr "Текст на заглавката на датата"
 
807
 
808
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
809
  msgid "Track Label"
810
  msgstr "Етикет за проследяване"
811
 
812
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
813
- msgid "Track Header Text"
814
- msgstr "Текст на заглавието на трака"
815
-
816
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
817
- msgid "Table header font size"
818
- msgstr "Размер на шрифта на заглавката на таблицата"
819
 
820
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
821
- msgid "Table header font color"
822
- msgstr "Цвят на шрифта на заглавката на таблицата"
 
823
 
824
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
825
- msgid "Table Design"
826
  msgstr ""
827
- "Изображение на доставчика\n"
 
 
 
 
828
 
829
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
830
  msgid "Padding"
831
  msgstr ""
832
  "подложка\n"
833
 
834
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
835
  msgid "Background color"
836
  msgstr "Цвят на фона"
837
 
838
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
839
  msgid "Border color"
840
  msgstr "Цвят на границата"
841
 
842
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
843
  msgid "Border size"
844
  msgstr "Размер на границата"
845
 
846
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
847
- msgid "Table text align"
848
- msgstr "Подравняване на текста на таблицата"
 
849
 
850
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
851
- msgid "Table content font size"
852
- msgstr "Размер на шрифта на съдържанието на таблицата"
 
853
 
854
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
855
- msgid "Table content font color"
856
- msgstr "Цвят на шрифта на съдържанието на таблицата"
 
857
 
858
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
859
  msgid "Content line height"
860
  msgstr ""
861
  "Височина на линията на съдържанието\n"
862
 
863
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
864
  msgid "Content font weight"
865
  msgstr ""
866
  "Тегло на шрифта на съдържанието\n"
867
 
868
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
869
- msgid "Track Button Design"
870
  msgstr ""
 
871
 
872
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
873
- msgid "Track Link Font Color"
874
- msgstr "Цвят на шрифта за връзка"
 
875
 
876
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
877
- msgid "Track Link Background Color"
878
- msgstr "Цвят на фона на проследяване на връзката"
 
879
 
880
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
881
- msgid "Track link Border"
882
- msgstr "Проследяване на връзката Граница"
 
 
 
 
 
883
 
884
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
885
- msgid "Your {site_title} order is now partial shipped"
886
- msgstr ""
887
 
888
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
889
  msgid ""
890
  "Hi there. we thought you'd like to know that your recent order from "
891
- "{site_title} has been Partial Shipped."
892
  msgstr ""
 
 
893
 
894
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
895
- msgid "Enable Partial Shipped order status email"
 
 
 
 
 
 
 
 
 
 
 
896
  msgstr ""
 
 
 
 
 
 
 
897
 
898
  #: includes/emails/class-shipment-delivered-email.php:32
899
  msgid "Delivered order"
900
- msgstr ""
901
 
902
  #: includes/emails/class-shipment-delivered-email.php:33
903
  msgid ""
904
  "Order delivered emails are sent to customers when their orders are marked "
905
  "delivered and usually indicate that their orders have been shipped."
906
  msgstr ""
 
 
907
 
908
- #: includes/emails/class-shipment-delivered-email.php:279
909
  msgid "Click Here"
910
- msgstr ""
911
 
912
- #: includes/emails/class-shipment-delivered-email.php:280
913
  msgid "Edit in customizer"
914
- msgstr ""
915
 
916
  #: includes/views/admin_options_bulk_upload.php:10
917
  msgid "Upload CSV"
@@ -926,8 +1371,8 @@ msgstr ""
926
  "отметнато, информацията за проследяване ще бъде добавена)"
927
 
928
  #: includes/views/admin_options_bulk_upload.php:29
929
- #: includes/views/admin_options_shipping_provider.php:119
930
- #: includes/views/admin_options_shipping_provider.php:153
931
  msgid "Upload"
932
  msgstr "Качи"
933
 
@@ -939,177 +1384,290 @@ msgstr "Настройките са запазени."
939
  msgid "Upload Progress - "
940
  msgstr "Качване на напредъка -"
941
 
942
- #: includes/views/admin_options_bulk_upload.php:45
943
  msgid "Sample CSV"
944
- msgstr ""
945
 
946
- #: includes/views/admin_options_bulk_upload.php:50
947
  msgid "You can download an example of the csv file:"
948
  msgstr "Можете да изтеглите пример за csv файл:"
949
 
950
- #: includes/views/admin_options_bulk_upload.php:53
951
  msgid "Download sample csv file"
952
  msgstr "Изтеглете примерния файл csv"
953
 
954
- #: includes/views/admin_options_bulk_upload.php:58
955
  msgid ""
956
  "For detailed instructions on how to upload tracking info in bulk, see our"
957
  msgstr ""
958
  "За подробни инструкции за това как да качите информация за проследяване в "
959
  "насипно състояние, вижте нашата"
960
 
 
 
 
 
 
961
  #: includes/views/admin_options_settings.php:26
962
- #: includes/views/admin_options_settings.php:74
963
- #: includes/views/admin_options_settings.php:100
964
- #: includes/views/admin_options_trackship_integration.php:93
965
- #: includes/views/admin_options_trackship_integration.php:124
966
  msgid "Save Changes"
967
- msgstr ""
968
 
969
  #: includes/views/admin_options_settings.php:40
970
  msgid "Tracking Info Display"
971
- msgstr ""
972
 
973
  #: includes/views/admin_options_settings.php:49
974
  msgid "You can customize the tracking info display on emails and my account"
975
  msgstr ""
 
 
976
 
977
  #: includes/views/admin_options_settings.php:52
978
  msgid "Launch Customizer"
979
- msgstr ""
980
 
981
  #: includes/views/admin_options_settings.php:62
982
- msgid "Delivered Order Status"
983
- msgstr "Състояние на поръчката за доставка"
984
-
985
- #: includes/views/admin_options_settings.php:88
986
- msgid "Partial Shipped Order Status"
987
  msgstr ""
 
988
 
989
  #: includes/views/admin_options_settings.php:94
990
- #, php-format
991
- msgid ""
992
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
993
- "Shipped\", when you deactivate the plugin, you must register this order "
994
- "status in function.php in order to see these orders in the orders admin. You "
995
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
996
- "php here or you can manually change all your \"partial-shipped\" order to "
997
- "\"completed\" before deactivating the plugin."
 
 
 
 
 
 
 
 
 
998
  msgstr ""
 
999
 
1000
  #: includes/views/admin_options_shipping_provider.php:12
1001
- #: includes/views/admin_options_shipping_provider.php:23
 
 
1002
  msgid "Active"
1003
- msgstr ""
1004
 
1005
  #: includes/views/admin_options_shipping_provider.php:13
1006
- #: includes/views/admin_options_shipping_provider.php:23
1007
  msgid "Inactive"
1008
- msgstr ""
1009
 
1010
  #: includes/views/admin_options_shipping_provider.php:14
1011
  msgid "Custom"
1012
- msgstr ""
1013
 
1014
- #: includes/views/admin_options_shipping_provider.php:21
1015
- msgid "Add Custom Provider"
 
 
 
 
1016
  msgstr ""
 
1017
 
1018
- #: includes/views/admin_options_shipping_provider.php:22
1019
- #: includes/views/admin_options_shipping_provider.php:170
1020
  #: includes/views/admin_options_shipping_provider.php:177
 
1021
  msgid "Sync Shipping Providers"
1022
- msgstr ""
1023
-
1024
- #: includes/views/admin_options_shipping_provider.php:23
1025
- msgid "Reset"
1026
- msgstr ""
1027
-
1028
- #: includes/views/admin_options_shipping_provider.php:27
1029
- msgid "Search by provider / country"
1030
- msgstr ""
1031
-
1032
- #: includes/views/admin_options_shipping_provider.php:95
1033
- #, php-format
1034
- msgid "You don't have any %s shipping providers."
1035
- msgstr "Нямате доставчици за доставки на% s."
1036
 
1037
- #: includes/views/admin_options_shipping_provider.php:101
1038
  msgid "Add Custom Shipping Provider"
1039
  msgstr "Добавете Потребителски доставчик"
1040
 
1041
- #: includes/views/admin_options_shipping_provider.php:108
1042
- #: includes/views/admin_options_shipping_provider.php:142
1043
  msgid "Shipping Country"
1044
- msgstr ""
1045
 
1046
- #: includes/views/admin_options_shipping_provider.php:109
1047
- #: includes/views/admin_options_shipping_provider.php:143
1048
  msgid "Global"
1049
- msgstr ""
 
 
 
 
 
1050
 
1051
- #: includes/views/admin_options_shipping_provider.php:135
1052
  msgid "Edit Custom Shipping Provider"
1053
  msgstr "Редактиране на доставчик по поръчка"
1054
 
1055
- #: includes/views/admin_options_shipping_provider.php:171
1056
  msgid ""
1057
  "Syncing the shipping providers list add or updates the pre-set shipping "
1058
  "providers and will not effect custom shipping providers."
1059
  msgstr ""
 
 
 
1060
 
1061
- #: includes/views/admin_options_shipping_provider.php:173
1062
  msgid "Providers Added"
1063
  msgstr "Доставчиците са добавени"
1064
 
1065
- #: includes/views/admin_options_shipping_provider.php:174
1066
  msgid "Providers Updated"
1067
  msgstr "Актуализирани доставчици"
1068
 
1069
- #: includes/views/admin_options_shipping_provider.php:175
1070
  msgid "Providers Deleted"
1071
  msgstr "Доставчиците са изтрити"
1072
 
1073
- #: includes/views/admin_options_trackship_integration.php:107
 
1074
  msgid "Tracking Page"
1075
  msgstr "Страница за проследяване"
1076
 
1077
- #: includes/views/admin_options_trackship_integration.php:117
1078
- msgid "Click to preview the tracking page"
1079
- msgstr "Кликнете, за да визуализирате проследяващата страница"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1080
 
1081
- #: includes/views/admin_options_trackship_integration.php:118
1082
- msgid "PLEASE NOTE - make sure to save your settings before preview."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1083
  msgstr ""
1084
- "МОЛЯ ЗАБЕЛЕЖКА - не забравяйте да запазите настройките си преди визуализация."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1085
 
1086
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1087
  msgid "Shipment Status Notifications "
1088
  msgstr "Известия за състоянието на пратката"
1089
 
1090
- #: includes/views/admin_options_trackship_integration.php:163
1091
  msgid ""
1092
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1093
  "the way."
1094
  msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
1095
 
1096
- #: includes/views/admin_options_trackship_integration.php:177
1097
  msgid "Shipment is returned to sender"
1098
  msgstr "Пратката се връща на подателя"
1099
 
1100
- #: includes/views/admin_options_trackship_integration.php:191
1101
  msgid "The shipment is ready to pickup."
1102
  msgstr "Пратката е готова за пикап."
1103
 
1104
- #: includes/views/admin_options_trackship_integration.php:204
1105
  msgid "Carrier is about to deliver the shipment"
1106
  msgstr "Превозвачът е на път да достави пратката"
1107
 
1108
- #: includes/views/admin_options_trackship_integration.php:218
1109
  msgid "The shipment was delivered successfully"
1110
  msgstr "Пратката е доставена успешно"
1111
 
1112
- #: includes/views/admin_options_trackship_integration.php:219
1113
  msgid ""
1114
  "You already have delivered email enabled, to enable this email you'll need "
1115
  "to disable the order status delivered in settings."
@@ -1117,7 +1675,7 @@ msgstr ""
1117
  "Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
1118
  "трябва да деактивирате състоянието на поръчката, доставена в настройките."
1119
 
1120
- #: includes/views/admin_options_trackship_integration.php:233
1121
  msgid ""
1122
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1123
  "will try to deliver the package again."
@@ -1125,15 +1683,10 @@ msgstr ""
1125
  "Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
1126
  "ще се опита да достави пакета отново."
1127
 
1128
- #: includes/views/admin_options_tools.php:14
1129
- msgid "Get Shipment Status"
1130
- msgstr ""
1131
-
1132
- #: includes/views/admin_options_tools.php:23
1133
- msgid ""
1134
- "You can send all your orders from the last 30 days to get shipment status "
1135
- "from TrackShip:"
1136
- msgstr ""
1137
 
1138
  #. %s: Order ID.
1139
  #: templates/emails/wcast-email-order-details.php:47
@@ -1142,9 +1695,22 @@ msgid "Order number: %s"
1142
  msgstr ""
1143
  "Номер на поръчката:% s\n"
1144
 
 
 
 
 
 
 
 
 
 
 
 
 
1145
  #. Name of the plugin
1146
  msgid "Advanced Shipment Tracking for WooCommerce"
1147
  msgstr ""
 
1148
 
1149
  #. Description of the plugin
1150
  msgid ""
@@ -1153,7 +1719,7 @@ msgid ""
1153
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1154
  "order complete email."
1155
  msgstr ""
1156
-
1157
- #. Author of the plugin
1158
- msgid "zorem"
1159
- msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:07+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.2"
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:254
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:465
32
+ #: includes/views/admin_options_settings.php:190
33
+ #, php-format
34
+ msgid ""
35
+ "<strong>Note:</strong> - If you use the custom order status, when you "
36
+ "deactivate the plugin, you must register the order status, otherwise these "
37
+ "orders will not display on your orders admin. You can find more information "
38
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
39
+ "php here."
40
+ msgstr ""
41
+ "Забележка: - Ако използвате статуса на поръчка по поръчка, когато "
42
+ "деактивирате приставката, трябва да регистрирате състоянието на поръчката, в "
43
+ "противен случай тези поръчки няма да се показват на администратора на вашите "
44
+ "поръчки. Можете да намерите повече информация и фрагмента на кода, който да "
45
+ "използвате в функции.php тук.\n"
46
+
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
48
+ msgid "Shipment status"
49
+ msgstr "Shipment status"
50
+
51
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
52
+ #: includes/class-wc-advanced-shipment-welcome.php:310
53
+ msgid ""
54
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
55
+ "100 orders."
56
  msgstr ""
57
+ "Съдържанието на пратката е ограничено до 100 поръчки наведнъж, моля изберете "
58
+ "до 100 поръчки."
59
+
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
61
+ #: includes/class-wc-advanced-shipment-welcome.php:343
62
+ msgid "Data saved successfully."
63
+ msgstr "Данните са запазени успешно."
64
+
65
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
66
+ #: includes/class-wc-advanced-shipment-welcome.php:344
67
+ msgid "Really delete this entry? This will not be undo."
68
+ msgstr "Наистина ли да изтриете този запис? Това няма да бъде отменено."
69
 
70
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
71
+ #: includes/class-wc-advanced-shipment-welcome.php:345
72
+ msgid "You can upload only csv file."
73
+ msgstr "Можете да качите само csv файл."
74
+
75
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
76
+ #: includes/class-wc-advanced-shipment-welcome.php:346
77
+ msgid "This browser does not support HTML5."
78
+ msgstr "Този браузър не поддържа HTML5."
79
+
80
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
81
+ #: includes/class-wc-advanced-shipment-welcome.php:347
82
+ msgid "Please upload a valid CSV file."
83
+ msgstr "Моля, качете валиден CSV файл."
84
+
85
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
86
+ msgid "Shipping Providers"
87
+ msgstr "Доставка доставчици"
88
+
89
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
90
+ msgid "Bulk Upload"
91
+ msgstr "Групово качване"
92
+
93
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
94
+ msgid "Add-ons"
95
+ msgstr "Добавки"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
98
+ #: includes/class-wc-advanced-shipment-welcome.php:222
99
+ #: includes/views/admin_options_bulk_upload.php:63
100
+ #: includes/views/admin_trackship_dashboard.php:51
101
+ msgid "Documentation"
102
+ msgstr "документация"
103
+
104
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
105
+ msgid "How to Video"
106
+ msgstr "Как да видео"
107
+
108
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
109
+ msgid "Custom Statuses"
110
+ msgstr "Персонализирани статуси"
111
+
112
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
113
+ #: includes/class-wc-advanced-shipment-welcome.php:188
114
+ #: includes/views/zorem_admin_sidebar.php:29
115
+ #: includes/views/admin_options_addons.php:46
116
+ #: includes/views/admin_trackship_dashboard.php:17
117
+ msgid "Connected"
118
+ msgstr ""
119
+ "свързан\n"
120
+
121
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
122
+ #, php-format
123
+ msgid "%s %s orders with tracking info"
124
+ msgstr "% s% s поръчки с информация за проследяване"
125
+
126
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
127
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
129
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
130
+ #: includes/views/admin_options_tools.php:14
131
+ msgid "Get Shipment Status"
132
+ msgstr "Получете състояние на пратката"
133
+
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
135
  #, php-format
136
+ msgid "%s %s orders with “TrackShip balance is 0”"
137
+ msgstr "% s% s поръчки с „TrackShip баланс е 0“"
138
+
139
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
140
+ #, php-format
141
+ msgid "%s %s orders with “Please do connection”"
142
+ msgstr "% s% s поръчки с „Моля, свържете се“"
143
+
144
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
145
+ msgid "Enable/Disable"
146
+ msgstr "Включване / Изключване"
147
+
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
149
+ msgid "Set order status Delivered when order is delivered"
150
+ msgstr "Задаване на състояние на поръчката Доставено при доставка на поръчката"
151
+
152
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
153
  msgid ""
154
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
155
+ "for the tracking page to work."
 
 
 
 
156
  msgstr ""
157
+ "Трябва да добавите краткия код [wcast-track-order] към избраната страница, "
158
+ "за да работи страницата за проследяване."
159
 
160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
161
+ #: includes/views/admin_tracking_page_settings.php:24
162
+ msgid "Select Tracking Page"
163
+ msgstr "Изберете страница за проследяване"
164
+
165
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
166
+ msgid "Use the tracking page in the customer email/my account tracking link"
167
+ msgstr ""
168
+ "Използвайте проследяващата страница в връзката за проследяване на имейла на "
169
+ "клиента / моя акаунт"
170
+
171
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
172
+ #: includes/views/admin_tracking_page_settings.php:49
173
+ msgid "Tracking Page Layout"
174
+ msgstr ""
175
+ "Оформление на проследяващата страница\n"
176
+
177
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
178
+ msgid "Select primary color for tracking page"
179
+ msgstr "Изберете основен цвят за проследяваща страница"
180
+
181
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
182
+ msgid "Select content border color for tracking page"
183
+ msgstr "Изберете цвят на границата на съдържанието за проследяваща страница"
184
+
185
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
186
+ #: includes/views/admin_tracking_page_settings.php:83
187
+ msgid "Hide Shipping Provider Image"
188
+ msgstr ""
189
+ "Скриване на изображението на доставчика на доставка\n"
190
+
191
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
192
+ msgid "Hide tracking events details"
193
+ msgstr "Скриване на детайлите за проследяване на събитията"
194
+
195
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
196
+ #: includes/views/admin_tracking_page_settings.php:93
197
+ msgid "Remove TrackShip branding"
198
+ msgstr "Премахване на марката TrackShip"
199
+
200
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
201
+ msgid "License Key"
202
+ msgstr "Лицензионен ключ"
203
+
204
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
205
+ msgid "a Valid license is required to receive updates and support"
206
+ msgstr "валиден лиценз е необходим за получаване на актуализации и поддръжка"
207
+
208
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
209
+ msgid "\">click here</a> to activate it."
210
+ msgstr "\"> щракнете тук </a>, за да го активирате."
211
+
212
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
213
+ #: includes/class-wc-advanced-shipment-tracking.php:185
214
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
215
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
216
+ msgid "Shipped"
217
+ msgstr "Доставят"
218
+
219
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
220
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
221
+ msgstr ""
222
+ "По подразбиране \"маркирай като <span class =\" shipped_label \"> изпратен "
223
+ "</span>\""
224
+
225
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
226
+ msgid ""
227
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
228
+ "will be selected by default when adding tracking info to orders."
229
+ msgstr ""
230
+ "Това означава, че 'марката като <span class =' ​​shipped_label '> изпратена "
231
+ "</span>' ще бъде избрана по подразбиране при добавяне на информация за "
232
+ "проследяване към поръчки."
233
+
234
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
235
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
236
+ msgstr ""
237
+ "По подразбиране \"маркирай като <span class =\" shipped_label \"> завършен "
238
+ "</span>\""
239
+
240
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
241
+ msgid ""
242
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
243
+ "will be selected by default when adding tracking info to orders."
244
+ msgstr ""
245
+ "Това означава, че 'маркирането като <span class =' ​​shipped_label '> "
246
+ "завършено </span>' ще бъде избрано по подразбиране при добавяне на "
247
+ "информация за проследяване към поръчки."
248
+
249
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
250
+ msgid "Rename the “Completed” Order status to “Shipped”"
251
+ msgstr "Преименувайте състоянието на поръчката „Завършено“ на „Доставка“"
252
+
253
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
254
+ msgid "On which order status email to include the shipment tracking info?"
255
+ msgstr ""
256
+ "На кой имейл за състоянието на поръчката да се включи информация за "
257
+ "проследяване на пратката?"
258
+
259
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
260
+ msgid "Show tracking info in Invoice"
261
+ msgstr "Показване на информация за проследяване във фактура"
262
+
263
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
264
+ msgid "Show tracking info in Packing Slip"
265
+ msgstr "Показване на информация за проследяване в опаковъчен лист"
266
+
267
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
268
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
269
+ #: includes/customizer/class-wcast-customizer.php:92
270
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
271
+ #: includes/views/admin_status_notifications.php:25
272
+ msgid "In Transit"
273
+ msgstr "Транзитно"
274
+
275
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
277
+ #: includes/customizer/class-wcast-customizer.php:84
278
+ msgid "Pre Transit"
279
+ msgstr "Предварително преминаване"
280
+
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
283
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
284
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
285
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
286
+ #: includes/customizer/class-wcast-customizer.php:122
287
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
288
+ #: includes/views/admin_options_settings.php:80
289
+ #: includes/views/admin_status_notifications.php:80
290
+ msgid "Delivered"
291
+ msgstr "Доставени"
292
+
293
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
295
+ #: includes/customizer/class-wcast-customizer.php:114
296
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
297
+ #: includes/views/admin_status_notifications.php:66
298
+ msgid "Out For Delivery"
299
+ msgstr ""
300
+ "За доставка\n"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
304
+ #: includes/customizer/class-wcast-customizer.php:107
305
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
306
+ #: includes/views/admin_status_notifications.php:53
307
+ msgid "Available For Pickup"
308
+ msgstr "Предлага се за пикап"
309
+
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
312
+ #: includes/customizer/class-wcast-customizer.php:100
313
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
314
+ #: includes/views/admin_status_notifications.php:39
315
+ msgid "Return To Sender"
316
+ msgstr "Върнете се към подателя"
317
+
318
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
320
+ #: includes/customizer/class-wcast-customizer.php:130
321
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
322
+ #: includes/views/admin_status_notifications.php:95
323
+ msgid "Failed Attempt"
324
+ msgstr "Неуспешен опит"
325
+
326
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
328
+ msgid "Unknown"
329
+ msgstr "неизвестен"
330
+
331
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
332
+ msgid "Pending TrackShip"
333
+ msgstr "В очакване на TrackShip"
334
+
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
337
+ msgid "Invalid Tracking Number"
338
+ msgstr "Невалиден проследяващ номер"
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
342
+ msgid "Carrier Unsupported"
343
+ msgstr "Превозвач не се поддържа"
344
+
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
346
+ msgid "Invalid User Key"
347
+ msgstr "Невалиден потребителски ключ"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
350
+ msgid "Wrong Shipping Provider"
351
+ msgstr "Грешен доставчик на доставка"
352
+
353
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
354
+ msgid "Shipped Order"
355
+ msgstr "Изпратена поръчка"
356
+
357
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
358
+ msgid "Mark order as delivered"
359
+ msgstr "Маркирайте поръчката като доставена"
360
+
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
362
+ msgid "Add Tracking"
363
+ msgstr "Добавяне на проследяване"
364
+
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
366
+ msgid "Change order status to"
367
+ msgstr "Промяна на състоянието на поръчката на"
368
+
369
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
370
+ #: includes/views/admin_options_shipping_provider.php:96
371
+ #, php-format
372
+ msgid "You don't have any %s shipping providers."
373
+ msgstr "Нямате доставчици за доставки на% s."
374
+
375
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
376
+ #: includes/views/admin_options_shipping_provider.php:27
377
+ msgid "Add Custom Provider"
378
+ msgstr "Добавете персонализиран доставчик"
379
+
380
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
381
+ msgid "Filter by shipment status"
382
+ msgstr "Филтриране по статус на пратката"
383
+
384
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
385
  msgid ""
386
  "To track your order please enter your Order ID in the box below and press "
387
  "the \"Track\" button. This was given to you on your receipt and in the "
391
  "долу и натиснете бутона \"Track\". Това ви беше дадено в касовата бележка и "
392
  "в имейла за потвърждение, който трябваше да получите.\n"
393
 
394
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
395
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
396
  msgid "Found in your order confirmation email."
397
  msgstr ""
398
  "Намерен в имейла за потвърждение на поръчката.\n"
399
 
400
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
401
  msgid "Order Email"
402
  msgstr ""
403
  "Имейл за поръчка\n"
404
 
405
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
406
+ #: includes/class-wc-advanced-shipment-tracking.php:728
407
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
408
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
409
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
410
+ #: templates/emails/tracking-info.php:256
411
+ #: templates/myaccount/tracking-info.php:191
412
  msgid "Track"
413
  msgstr "път"
414
 
415
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
416
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
417
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
418
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
419
  #, php-format
420
  msgid "Shipment - %s (out of %s)"
421
  msgstr ""
422
  "Пратка -% s (от% s)\n"
423
 
424
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
425
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
426
+ msgid "Tracking details not found in TrackShip"
427
+ msgstr "Детайли за проследяване не са открити в TrackShip"
428
+
429
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
430
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
431
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
432
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
433
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
434
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
435
+ msgid "Est. Delivery Date"
436
+ msgstr ""
437
+ "Est. Дата на доставка\n"
438
 
439
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
440
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
441
  msgid "Tracking Details"
442
  msgstr "Детайли за проследяване"
443
 
444
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
445
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
448
  msgid "view more"
449
  msgstr "Виж повече"
450
 
451
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
452
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
453
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
455
  msgid "view less"
456
  msgstr "вижте по-малко"
457
 
 
 
 
 
 
 
 
 
 
458
  #: includes/class-wc-advanced-shipment-tracking.php:95
459
+ #: includes/class-wc-advanced-shipment-tracking.php:265
460
  #: includes/customizer/class-wcast-customizer.php:31
461
  msgid "Shipment Tracking"
462
  msgstr "Проследяване на пратките"
463
 
464
  #: includes/class-wc-advanced-shipment-tracking.php:184
465
+ #: includes/class-wc-advanced-shipment-tracking.php:387
466
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
467
  msgid "Mark as Shipped?"
468
+ msgstr "Да се ​​маркира като изпратен?"
 
 
 
 
469
 
470
  #: includes/class-wc-advanced-shipment-tracking.php:187
471
+ #: includes/class-wc-advanced-shipment-tracking.php:390
472
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
473
  msgid "Mark as Completed?"
474
+ msgstr "Да се ​​маркира като завършен?"
475
 
476
  #: includes/class-wc-advanced-shipment-tracking.php:188
477
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
478
  msgid "Completed"
479
+ msgstr "завършен"
480
 
481
  #: includes/class-wc-advanced-shipment-tracking.php:195
482
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
483
  msgid "Add Tracking Number"
484
+ msgstr "Добавете проследяващ номер"
485
 
486
+ #: includes/class-wc-advanced-shipment-tracking.php:198
487
+ #: includes/class-wc-advanced-shipment-tracking.php:203
488
+ #: includes/class-wc-advanced-shipment-tracking.php:408
489
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
490
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
491
  msgid "Provider:"
492
  msgstr "доставчик на:"
493
 
494
+ #: includes/class-wc-advanced-shipment-tracking.php:223
495
+ #: includes/class-wc-advanced-shipment-tracking.php:446
496
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
497
  msgid "Tracking number:"
498
  msgstr "Номер за проследяване:"
499
 
500
+ #: includes/class-wc-advanced-shipment-tracking.php:227
501
+ #: includes/class-wc-advanced-shipment-tracking.php:454
502
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
503
  msgid "Date shipped:"
504
  msgstr "Дата на изпращане:"
505
 
506
+ #: includes/class-wc-advanced-shipment-tracking.php:236
507
+ #: includes/class-wc-advanced-shipment-tracking.php:466
508
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
509
+ msgid "Mark order as:"
510
+ msgstr "Маркиране на поръчката като:"
 
 
 
 
 
511
 
512
+ #: includes/class-wc-advanced-shipment-tracking.php:239
513
+ #: includes/class-wc-advanced-shipment-tracking.php:469
514
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
515
  msgid "Partial Shipped"
516
+ msgstr "Частично изпратено"
517
 
518
+ #: includes/class-wc-advanced-shipment-tracking.php:281
519
+ #: includes/class-wc-advanced-shipment-tracking.php:483
520
+ msgid "Track Shipment"
521
+ msgstr "Проследяване на пратката"
522
 
523
  #. 1: shipping date
524
+ #: includes/class-wc-advanced-shipment-tracking.php:290
525
  #, php-format
526
  msgid "Shipped on %s"
527
  msgstr "Изпратено на% s"
528
 
529
+ #: includes/class-wc-advanced-shipment-tracking.php:404
530
  msgid "Add Tracking Info"
531
  msgstr "Добавяне на информация за проследяване"
532
 
533
+ #: includes/class-wc-advanced-shipment-tracking.php:409
534
  msgid "Select Provider"
535
  msgstr "Изберете Доставчик"
536
 
537
+ #: includes/class-wc-advanced-shipment-tracking.php:482
538
  msgid "Save Tracking"
539
  msgstr "Запазване на проследяването"
540
 
541
+ #: includes/class-wc-advanced-shipment-tracking.php:483
542
  msgid "Preview:"
543
  msgstr "Преглед:"
544
 
545
+ #: includes/class-wc-advanced-shipment-tracking.php:702
546
  #, php-format
547
  msgid ""
548
  "Tracking info was deleted for tracking provider %s with tracking number %s"
549
  msgstr ""
550
+ "Информацията за проследяване бе изтрита за проследяване на доставчика% s с "
551
+ "проследяващ номер% s"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
554
  #, php-format
555
  msgid "Order was shipped with %s and tracking number is: %s"
556
+ msgstr "Поръчката беше изпратена с% s, а проследяващият номер е:% s"
557
 
558
  #: includes/class-wc-advanced-shipment-welcome.php:38
559
  #: includes/class-wc-advanced-shipment-welcome.php:39
560
  msgid "Welcome to Advanced Shipment Tracking"
561
  msgstr ""
562
+ "Добре дошли в разширеното проследяване на пратките\n"
563
 
564
  #: includes/class-wc-advanced-shipment-welcome.php:90
565
  #: includes/class-wc-advanced-shipment-welcome.php:129
566
  #: includes/class-wc-advanced-shipment-welcome.php:147
567
  msgid "Save and Continue"
568
+ msgstr "Запазете и продължете"
569
 
570
  #: includes/class-wc-advanced-shipment-welcome.php:177
571
+ #: includes/views/admin_trackship_dashboard.php:6
572
  msgid "Connection status"
573
+ msgstr "Състояние на връзката"
574
 
575
  #: includes/class-wc-advanced-shipment-welcome.php:184
576
+ #: includes/views/admin_trackship_dashboard.php:13
577
  msgid "TrackShip Connection Status"
578
  msgstr "Състояние на връзката към TrackShip"
579
 
 
 
 
 
 
 
580
  #: includes/class-wc-advanced-shipment-welcome.php:194
581
+ #: includes/views/admin_trackship_dashboard.php:23
582
  msgid "Trackers Balance"
583
+ msgstr "Баланс на тракерите"
584
 
585
  #: includes/class-wc-advanced-shipment-welcome.php:202
586
+ #: includes/views/admin_trackship_dashboard.php:31
587
  msgid "Current Plan"
588
+ msgstr "Настоящ план"
589
 
590
  #: includes/class-wc-advanced-shipment-welcome.php:217
591
+ #: includes/views/admin_options_addons.php:33
592
+ #: includes/views/admin_trackship_dashboard.php:46
593
  msgid ""
594
  "You are now connected with TrackShip! TrackShip makes it effortless to "
595
  "automate your post shipping operations and get tracking and delivery status "
596
  "updates directly in the WooCommerce admin."
597
  msgstr ""
598
+ "Вече сте свързани с TrackShip! TrackShip улеснява автоматизирането на вашите "
599
+ "операции след изпращане и получаване на актуализации за проследяване и "
600
+ "състояние директно в администратора на WooCommerce."
 
 
 
 
601
 
602
  #: includes/class-wc-advanced-shipment-welcome.php:223
603
+ #: includes/views/admin_trackship_dashboard.php:52
604
  msgid "TrackShip Dashboard"
605
+ msgstr "TrackShip табло"
606
 
607
  #: includes/class-wc-advanced-shipment-welcome.php:253
608
  msgid "Save"
609
+ msgstr "Запази"
610
 
611
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
612
+ #, php-format
613
+ msgid "Delivered <span class=\"count\">(%s)</span>"
614
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
615
+ msgstr[0] "Доставено <span class = \"count\"> (% s) </span>"
616
+ msgstr[1] "Доставено <span class = \"count\"> (% s) </span>"
617
+
618
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
619
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
620
+ #: includes/views/admin_options_settings.php:149
621
+ msgid "Updated Tracking"
622
+ msgstr "Актуализирано проследяване"
623
+
624
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
625
+ #, php-format
626
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
627
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
628
+ msgstr[0] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
629
+ msgstr[1] "Актуализирано проследяване <span class = \"count\"> (% s) </span>"
630
+
631
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
632
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
633
+ #: includes/views/admin_options_settings.php:115
634
+ msgid "Partially Shipped"
635
+ msgstr "Частично изпратени"
636
+
637
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
638
+ #, php-format
639
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
640
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
641
+ msgstr[0] "Частично изпратен <span class = \"count\"> (% s) </span>"
642
+ msgstr[1] "Частично изпратен <span class = \"count\"> (% s) </span>"
643
 
644
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
645
+ msgid "Change status to delivered"
646
+ msgstr "Промяна на състоянието на доставено"
647
 
648
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
649
+ msgid "Change status to Updated Tracking"
650
+ msgstr ""
651
+ "Промяна на състоянието на Актуализирано проследяване\n"
652
 
653
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
654
+ msgid "Change status to Partially Shipped"
655
+ msgstr "Промяна на състоянието на частично изпратено"
656
 
657
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
658
+ #, php-format
659
+ msgid "Shipped <span class=\"count\">(%s)</span>"
660
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
661
+ msgstr[0] "Изпратен <span class = \"count\"> (% s) </span>"
662
+ msgstr[1] "Изпратен <span class = \"count\"> (% s) </span>"
663
+
664
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
665
+ msgid "Change status to shipped"
666
+ msgstr "Промяна на състоянието на изпратено"
667
+
668
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
669
+ msgid "Resend delivered order notification"
670
+ msgstr "Повторно изпратено известие за поръчка"
671
+
672
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
673
+ msgid "Shipment Providers"
674
+ msgstr "Доставчици на пратки"
675
+
676
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
677
+ msgid "Shipment Status"
678
+ msgstr "Състояние на пратката"
679
+
680
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
681
+ msgid "Tracking issues"
682
+ msgstr "Проследяване на проблеми"
683
+
684
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
685
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
686
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
687
+ msgid "data not available."
688
+ msgstr "данни не са налични."
689
+
690
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
691
+ msgid "View more on TrackShip"
692
+ msgstr "Вижте повече на TrackShip"
693
+
694
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
695
+ msgid "There are some issue with sync, Please Retry."
696
+ msgstr "Има проблем със синхронизирането, Моля, опитайте отново."
697
+
698
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
700
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
701
+ msgid "view details"
702
+ msgstr "Разгледайте детайлите"
703
+
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
705
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
706
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
707
+ msgid "hide details"
708
+ msgstr "скрий подробности"
709
 
710
  #: includes/customizer/class-wcast-customizer.php:40
711
  msgid "Shipment Status Emails"
723
 
724
  #: includes/customizer/class-wcast-customizer.php:68
725
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
726
+ msgid "Partially Shipped status email"
727
+ msgstr "Частично изпратен имейл за състояние"
728
 
729
  #: includes/customizer/class-wcast-customizer.php:76
730
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
731
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
732
  msgstr ""
733
+ "Актуализиран имейл за състоянието на проследяването\n"
734
 
735
+ #: includes/customizer/class-wcast-customizer.php:411
 
 
 
 
 
 
 
 
 
 
 
 
736
  msgid "Select order to preview"
737
  msgstr ""
738
  "Изберете поръчка за визуализация\n"
763
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
764
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
765
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
766
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
767
  msgid "This section lets you customize the Email Content."
768
  msgstr ""
769
  "Този раздел ви позволява да персонализирате съдържанието на електронната "
781
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
782
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
783
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
784
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
785
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
786
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
787
  msgid "Preview order"
788
  msgstr ""
789
  "Преглед на поръчката\n"
798
  msgid "E.g. {customer.email}, admin@example.org"
799
  msgstr "E.g. {customer.email}, admin@example.org"
800
 
801
+ #. %s: list of placeholders
802
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
803
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
804
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
805
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
806
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
807
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
808
+ #: includes/customizer/class-wc-email-customizer.php:243
809
+ #: includes/customizer/class-wc-email-customizer.php:266
810
+ #: includes/customizer/class-wc-email-customizer.php:289
811
+ #: includes/customizer/class-wc-email-customizer.php:414
812
  #: includes/customizer/class-wc-failure-email-customizer.php:231
813
  #: includes/customizer/class-wc-failure-email-customizer.php:253
814
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
815
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
816
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
817
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
818
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
819
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
820
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
821
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
822
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
823
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
824
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
825
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
826
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
827
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
828
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
829
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
830
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
831
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
832
+ #: includes/emails/class-shipment-delivered-email.php:256
833
+ #: includes/emails/class-shipment-delivered-email.php:265
834
+ msgid "Available variables:"
835
+ msgstr "Налични променливи:"
 
 
 
 
 
 
 
 
 
 
 
836
 
837
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
838
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
876
 
877
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
878
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
879
+ #: includes/customizer/class-wc-email-customizer.php:393
880
  #: includes/customizer/class-wc-failure-email-customizer.php:339
881
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
882
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
883
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
884
  msgid "Google Analytics link tracking"
885
+ msgstr "Проследяване на връзки в Google Analytics"
886
 
887
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
888
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
889
  #: includes/customizer/class-wc-failure-email-customizer.php:340
890
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
891
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
892
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
893
  msgid "This will be appended to URL in the email content"
894
+ msgstr "Това ще бъде добавено към URL адреса в съдържанието на имейла"
895
 
896
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
897
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
901
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
902
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
903
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
904
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
905
  msgid "Email content"
906
  msgstr "Съдържание на имейла"
907
 
908
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
909
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
910
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
911
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
912
+ #: includes/customizer/class-wc-email-customizer.php:447
913
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
914
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
915
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
916
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
917
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
918
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
919
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
920
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
921
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
922
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
 
923
  msgid "Please select order to preview."
924
+ msgstr "Моля, изберете поръчка за преглед."
925
 
926
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
927
  msgid "Your order #{order_number} has been delivered"
928
+ msgstr "Вашата поръчка № {order_number} е доставена"
929
 
930
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
931
  #: includes/customizer/class-wc-email-customizer.php:132
954
  msgstr "Активиране на имейл съобщението за състоянието на поръчката"
955
 
956
  #: includes/customizer/class-wc-email-customizer.php:201
957
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
958
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
959
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
960
  msgid "Please select a order..."
961
  msgstr ""
962
  "Моля, изберете поръчка ...\n"
963
 
964
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
965
  msgid "Display tracking details"
966
+ msgstr "Показване на подробности за проследяване"
967
 
968
+ #: includes/customizer/class-wc-email-customizer.php:325
969
  msgid "Display order details"
970
+ msgstr "Показване на подробности за поръчката"
971
 
972
+ #: includes/customizer/class-wc-email-customizer.php:342
973
  msgid "Display Shipping Address"
974
+ msgstr "Показване на адрес за доставка"
975
 
976
+ #: includes/customizer/class-wc-email-customizer.php:359
977
  msgid "Display Billing Address"
978
+ msgstr "Показване на адрес за фактуриране"
979
 
980
+ #: includes/customizer/class-wc-email-customizer.php:376
981
  msgid "Enable Google Analytics tracking"
982
+ msgstr "Активиране на проследяването на Google Analytics"
983
 
984
+ #: includes/customizer/class-wc-email-customizer.php:394
985
  msgid ""
986
  "This will be appended to URL in the email content – e.g. "
987
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
988
  msgstr ""
989
+ "Това ще бъде добавено към URL адреса в съдържанието на имейла - напр. "
990
+ "utm_source = AST & utm_medium = имейл & utm_campaign = доставени"
991
 
992
  #: includes/customizer/class-wc-failure-email-customizer.php:123
993
  msgid "Your order #{order_number} is Failed Attempt"
1075
  msgstr "Активиране на имейла за състоянието на изпращане на изпращача"
1076
 
1077
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1078
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1079
+ #: templates/emails/tracking-info.php:203
1080
+ #: templates/myaccount/tracking-info.php:144
1081
  msgid "Provider"
1082
  msgstr "доставчик"
1083
 
1084
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1085
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1086
+ #: templates/emails/tracking-info.php:232
1087
+ #: templates/myaccount/tracking-info.php:171
1088
  msgid "Tracking Number"
1089
  msgstr "Номер за проследяване"
1090
 
1091
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1092
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1093
  msgid "Shipped Date"
1094
  msgstr ""
1095
  "Дата на изпращане\n"
1096
 
1097
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1098
+ msgid "Select an order to preview and design the tracking info display."
 
 
1099
  msgstr ""
1100
+ "Изберете поръчка за визуализация и дизайн на дисплея с информация за "
1101
+ "проследяване.\n"
 
 
 
 
 
 
 
1102
 
1103
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
1104
  msgid "Tracking Display Position"
1105
  msgstr "Проследяване на позицията на дисплея"
1106
 
1107
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1108
  msgid "Before Order Details"
1109
  msgstr "Преди подробности за поръчката"
1110
 
1111
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1112
  msgid "After Order Details"
1113
  msgstr "След подробности за поръчката"
1114
 
1115
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1116
+ msgid "Tracking Header text"
1117
+ msgstr ""
1118
+ "Проследяване на текста на заглавката\n"
1119
 
1120
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1121
  msgid "Tracking Information"
1122
  msgstr "Информация за проследяване"
1123
 
1124
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1125
  msgid "Additional text after header"
1126
  msgstr "Допълнителен текст след заглавието"
1127
 
1128
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1129
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1130
+ msgid "Tracking display template"
1131
+ msgstr ""
1132
+ "Шаблон за показване на проследяване\n"
1133
+
1134
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1135
+ msgid "Select Template"
1136
  msgstr ""
1137
+ "Изберете шаблон\n"
1138
+
1139
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1140
+ msgid "Table Layout"
1141
+ msgstr ""
1142
+ "Оформление на таблицата\n"
1143
 
1144
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1145
+ msgid "Simple Layout Design"
1146
+ msgstr ""
1147
+ "Прост дизайн на оформлението\n"
1148
 
1149
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1150
+ msgid "Provider font size"
1151
+ msgstr ""
1152
+ "Размер на шрифта на доставчика\n"
1153
+
1154
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1155
+ msgid "Provider font color"
1156
+ msgstr ""
1157
+ "Цвят на шрифта на доставчика\n"
1158
+
1159
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1160
+ msgid "Show bottom border"
1161
+ msgstr ""
1162
+ "Показване на долната граница\n"
1163
+
1164
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1165
+ msgid "Bottom border color"
1166
+ msgstr ""
1167
+ "Цвят на долната граница\n"
1168
 
1169
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1170
+ msgid "Table layout Design"
1171
  msgstr ""
1172
+ "Дизайн на таблицата\n"
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1175
+ msgid "Display shipping provider name"
1176
  msgstr ""
1177
+ "Показване на име на доставчика на доставка\n"
1178
 
1179
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1180
+ msgid "Display shipping provider image"
1181
+ msgstr ""
1182
+ "Покажи изображението на доставчика на доставка\n"
1183
+
1184
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1185
+ msgid "Hide the ship date"
1186
+ msgstr ""
1187
+ "Скриване на датата на кораба\n"
1188
+
1189
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1190
+ msgid "Use tracking number as a link"
1191
+ msgstr "Използвайте проследяващия номер като връзка"
1192
+
1193
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1194
+ msgid "Table Headers"
1195
+ msgstr ""
1196
+ "Заглавки на таблици\n"
1197
+
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1199
+ msgid "Hide Table Headers"
1200
+ msgstr ""
1201
+ "Скриване на заглавките на таблици\n"
1202
+
1203
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1204
+ msgid "Provider header text"
1205
  msgstr "Текст на заглавката на доставчика"
1206
 
1207
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1208
+ msgid "Tracking Number header text"
1209
+ msgstr "Текст на заглавния номер на проследяващия номер"
1210
 
1211
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1212
+ msgid "Ship date header text"
1213
+ msgstr ""
1214
+ "Текст на заглавието на датата на изпращане\n"
1215
 
1216
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1217
  msgid "Track Label"
1218
  msgstr "Етикет за проследяване"
1219
 
1220
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1221
+ msgid "Track header text"
1222
+ msgstr ""
1223
+ "Проследяване на заглавния текст\n"
 
 
 
1224
 
1225
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1226
+ msgid "Headers font size"
1227
+ msgstr ""
1228
+ "Размер на шрифта на заглавките\n"
1229
 
1230
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1231
+ msgid "Headers font color"
1232
  msgstr ""
1233
+ "Цвят на шрифта на заглавките\n"
1234
+
1235
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1236
+ msgid "Table Content"
1237
+ msgstr "Съдържание на таблицата"
1238
 
1239
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1240
  msgid "Padding"
1241
  msgstr ""
1242
  "подложка\n"
1243
 
1244
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1245
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1246
  msgid "Background color"
1247
  msgstr "Цвят на фона"
1248
 
1249
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1250
+ #: includes/views/admin_tracking_page_settings.php:72
1251
  msgid "Border color"
1252
  msgstr "Цвят на границата"
1253
 
1254
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1255
  msgid "Border size"
1256
  msgstr "Размер на границата"
1257
 
1258
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1259
+ msgid "Content Text align"
1260
+ msgstr ""
1261
+ "Изравняване на текста на съдържанието\n"
1262
 
1263
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1264
+ msgid "Content font color"
1265
+ msgstr ""
1266
+ "Цвят на шрифта на съдържанието\n"
1267
 
1268
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1269
+ msgid "Content font size"
1270
+ msgstr ""
1271
+ "Размер на шрифта на съдържанието\n"
1272
 
1273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1274
  msgid "Content line height"
1275
  msgstr ""
1276
  "Височина на линията на съдържанието\n"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1279
  msgid "Content font weight"
1280
  msgstr ""
1281
  "Тегло на шрифта на съдържанието\n"
1282
 
1283
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1284
+ msgid "Tracking Link"
1285
  msgstr ""
1286
+ "Проследяваща връзка\n"
1287
 
1288
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1289
+ msgid "Font Color"
1290
+ msgstr ""
1291
+ "Цвят на шрифта\n"
1292
 
1293
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1294
+ msgid "Border"
1295
+ msgstr ""
1296
+ "граница\n"
1297
 
1298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1299
+ msgid ""
1300
+ "To preview the tracking display, please add tracking information to at least "
1301
+ "one order and choose it in the preview order selection."
1302
+ msgstr ""
1303
+ "За да визуализирате проследяващия дисплей, моля, добавете информация за "
1304
+ "проследяване на поне една поръчка и я изберете в избора на поръчка за "
1305
+ "преглед.\n"
1306
 
1307
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1308
+ msgid "Your {site_title} order is now partially shipped"
1309
+ msgstr "Поръчката ви {site_title} вече е частично доставена"
1310
 
1311
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1312
  msgid ""
1313
  "Hi there. we thought you'd like to know that your recent order from "
1314
+ "{site_title} has been partially shipped."
1315
  msgstr ""
1316
+ "Здрасти. решихме, че бихте искали да знаете, че скорошната ви поръчка от "
1317
+ "{site_title} е частично изпратена.\n"
1318
 
1319
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1320
+ msgid "Enable Partially Shipped order status email"
1321
+ msgstr "Активиране на частично изпратен имейл за състоянието на поръчката"
1322
+
1323
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1324
+ msgid "Your {site_title} order is now updated tracking"
1325
+ msgstr ""
1326
+ "Поръчката ви {site_title} вече е актуализирана за проследяване\n"
1327
+
1328
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1329
+ msgid ""
1330
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1331
+ "recent order from {site_title} has been updated."
1332
  msgstr ""
1333
+ "Здрасти. решихме, че бихте искали да знаете, че проследяването на пратката "
1334
+ "за скорошната ви поръчка от {site_title} е актуализирано.\n"
1335
+
1336
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1337
+ msgid "Enable Updated Tracking order status email"
1338
+ msgstr ""
1339
+ "Активиране на имейла за актуализирано проследяване на поръчката\n"
1340
 
1341
  #: includes/emails/class-shipment-delivered-email.php:32
1342
  msgid "Delivered order"
1343
+ msgstr "Доставена поръчка"
1344
 
1345
  #: includes/emails/class-shipment-delivered-email.php:33
1346
  msgid ""
1347
  "Order delivered emails are sent to customers when their orders are marked "
1348
  "delivered and usually indicate that their orders have been shipped."
1349
  msgstr ""
1350
+ "Имейлите за доставени поръчки се изпращат на клиентите, когато поръчките им "
1351
+ "са маркирани доставени и обикновено показват, че поръчките им са изпратени."
1352
 
1353
+ #: includes/emails/class-shipment-delivered-email.php:280
1354
  msgid "Click Here"
1355
+ msgstr "Натисни тук"
1356
 
1357
+ #: includes/emails/class-shipment-delivered-email.php:281
1358
  msgid "Edit in customizer"
1359
+ msgstr "Редактиране в персонализатора"
1360
 
1361
  #: includes/views/admin_options_bulk_upload.php:10
1362
  msgid "Upload CSV"
1371
  "отметнато, информацията за проследяване ще бъде добавена)"
1372
 
1373
  #: includes/views/admin_options_bulk_upload.php:29
1374
+ #: includes/views/admin_options_shipping_provider.php:120
1375
+ #: includes/views/admin_options_shipping_provider.php:157
1376
  msgid "Upload"
1377
  msgstr "Качи"
1378
 
1384
  msgid "Upload Progress - "
1385
  msgstr "Качване на напредъка -"
1386
 
1387
+ #: includes/views/admin_options_bulk_upload.php:50
1388
  msgid "Sample CSV"
1389
+ msgstr "Примерен CSV"
1390
 
1391
+ #: includes/views/admin_options_bulk_upload.php:55
1392
  msgid "You can download an example of the csv file:"
1393
  msgstr "Можете да изтеглите пример за csv файл:"
1394
 
1395
+ #: includes/views/admin_options_bulk_upload.php:58
1396
  msgid "Download sample csv file"
1397
  msgstr "Изтеглете примерния файл csv"
1398
 
1399
+ #: includes/views/admin_options_bulk_upload.php:63
1400
  msgid ""
1401
  "For detailed instructions on how to upload tracking info in bulk, see our"
1402
  msgstr ""
1403
  "За подробни инструкции за това как да качите информация за проследяване в "
1404
  "насипно състояние, вижте нашата"
1405
 
1406
+ #: includes/views/admin_options_settings.php:15
1407
+ #: includes/views/admin_trackship_dashboard.php:62
1408
+ msgid "General Settings"
1409
+ msgstr "Основни настройки"
1410
+
1411
  #: includes/views/admin_options_settings.php:26
1412
+ #: includes/views/admin_options_settings.php:181
1413
+ #: includes/views/admin_trackship_dashboard.php:73
1414
+ #: includes/views/admin_tracking_page_settings.php:101
 
1415
  msgid "Save Changes"
1416
+ msgstr "Запазите промените"
1417
 
1418
  #: includes/views/admin_options_settings.php:40
1419
  msgid "Tracking Info Display"
1420
+ msgstr "Информация за проследяване на информация"
1421
 
1422
  #: includes/views/admin_options_settings.php:49
1423
  msgid "You can customize the tracking info display on emails and my account"
1424
  msgstr ""
1425
+ "Можете да персонализирате показването на информация за проследяване на "
1426
+ "имейли и моя акаунт"
1427
 
1428
  #: includes/views/admin_options_settings.php:52
1429
  msgid "Launch Customizer"
1430
+ msgstr "Стартирайте персонализатора"
1431
 
1432
  #: includes/views/admin_options_settings.php:62
1433
+ msgid "Custom Order Statuses"
 
 
 
 
1434
  msgstr ""
1435
+ "Статуси по поръчка\n"
1436
 
1437
  #: includes/views/admin_options_settings.php:94
1438
+ #: includes/views/admin_options_settings.php:129
1439
+ #: includes/views/admin_options_settings.php:163
1440
+ msgid "Light Font"
1441
+ msgstr ""
1442
+ "Лек шрифт\n"
1443
+
1444
+ #: includes/views/admin_options_settings.php:95
1445
+ #: includes/views/admin_options_settings.php:130
1446
+ #: includes/views/admin_options_settings.php:164
1447
+ msgid "Dark Font"
1448
+ msgstr ""
1449
+ "Тъмен шрифт\n"
1450
+
1451
+ #: includes/views/admin_options_settings.php:99
1452
+ #: includes/views/admin_options_settings.php:134
1453
+ #: includes/views/admin_options_settings.php:168
1454
+ msgid "Send Email"
1455
  msgstr ""
1456
+ "Изпратете имейл\n"
1457
 
1458
  #: includes/views/admin_options_shipping_provider.php:12
1459
+ #: includes/views/admin_options_shipping_provider.php:25
1460
+ #: includes/views/zorem_admin_sidebar.php:18
1461
+ #: includes/views/admin_options_addons.php:109
1462
  msgid "Active"
1463
+ msgstr "Активен"
1464
 
1465
  #: includes/views/admin_options_shipping_provider.php:13
1466
+ #: includes/views/admin_options_shipping_provider.php:25
1467
  msgid "Inactive"
1468
+ msgstr "неактивен"
1469
 
1470
  #: includes/views/admin_options_shipping_provider.php:14
1471
  msgid "Custom"
1472
+ msgstr "Персонализиран"
1473
 
1474
+ #: includes/views/admin_options_shipping_provider.php:20
1475
+ msgid "Search by provider / country"
1476
+ msgstr "Търсене по доставчик / държава"
1477
+
1478
+ #: includes/views/admin_options_shipping_provider.php:25
1479
+ msgid "Reset all:"
1480
  msgstr ""
1481
+ "Нулиране на всички:\n"
1482
 
1483
+ #: includes/views/admin_options_shipping_provider.php:26
 
1484
  #: includes/views/admin_options_shipping_provider.php:177
1485
+ #: includes/views/admin_options_shipping_provider.php:184
1486
  msgid "Sync Shipping Providers"
1487
+ msgstr "Синхронизирайте доставчиците на доставка"
 
 
 
 
 
 
 
 
 
 
 
 
 
1488
 
1489
+ #: includes/views/admin_options_shipping_provider.php:102
1490
  msgid "Add Custom Shipping Provider"
1491
  msgstr "Добавете Потребителски доставчик"
1492
 
1493
+ #: includes/views/admin_options_shipping_provider.php:109
1494
+ #: includes/views/admin_options_shipping_provider.php:146
1495
  msgid "Shipping Country"
1496
+ msgstr "Страна на доставка"
1497
 
1498
+ #: includes/views/admin_options_shipping_provider.php:110
1499
+ #: includes/views/admin_options_shipping_provider.php:147
1500
  msgid "Global"
1501
+ msgstr "в световен мащаб"
1502
+
1503
+ #: includes/views/admin_options_shipping_provider.php:126
1504
+ #: includes/views/admin_options_shipping_provider.php:163
1505
+ msgid "How to add Tracking URL"
1506
+ msgstr "Как да добавите проследяващ URL адрес"
1507
 
1508
+ #: includes/views/admin_options_shipping_provider.php:139
1509
  msgid "Edit Custom Shipping Provider"
1510
  msgstr "Редактиране на доставчик по поръчка"
1511
 
1512
+ #: includes/views/admin_options_shipping_provider.php:178
1513
  msgid ""
1514
  "Syncing the shipping providers list add or updates the pre-set shipping "
1515
  "providers and will not effect custom shipping providers."
1516
  msgstr ""
1517
+ "Синхронизирането на списъка на доставчиците на доставки добавя или "
1518
+ "актуализира предварително зададените доставчици за доставка и няма да "
1519
+ "повлияе на доставчиците по поръчка."
1520
 
1521
+ #: includes/views/admin_options_shipping_provider.php:180
1522
  msgid "Providers Added"
1523
  msgstr "Доставчиците са добавени"
1524
 
1525
+ #: includes/views/admin_options_shipping_provider.php:181
1526
  msgid "Providers Updated"
1527
  msgstr "Актуализирани доставчици"
1528
 
1529
+ #: includes/views/admin_options_shipping_provider.php:182
1530
  msgid "Providers Deleted"
1531
  msgstr "Доставчиците са изтрити"
1532
 
1533
+ #: includes/views/admin_options_trackship_integration.php:17
1534
+ #: includes/views/admin_tracking_page_settings.php:7
1535
  msgid "Tracking Page"
1536
  msgstr "Страница за проследяване"
1537
 
1538
+ #: includes/views/admin_options_trackship_integration.php:20
1539
+ msgid "Shipment Status Notifications"
1540
+ msgstr ""
1541
+ "Известия за състоянието на пратката\n"
1542
+
1543
+ #: includes/views/admin_options_trackship_integration.php:23
1544
+ msgid "Tools"
1545
+ msgstr "Инструменти"
1546
+
1547
+ #: includes/views/zorem_admin_sidebar.php:15
1548
+ #: includes/views/admin_options_addons.php:90
1549
+ msgid "Get This Add-on >"
1550
+ msgstr ""
1551
+ "Вземете тази добавка>\n"
1552
+
1553
+ #: includes/views/zorem_admin_sidebar.php:27
1554
+ msgid "Upgrade to PRO"
1555
+ msgstr ""
1556
+ "Надградете до PRO\n"
1557
+
1558
+ #: includes/views/admin_options_tools.php:23
1559
+ msgid ""
1560
+ "You can send all your orders from the last 30 days to get shipment status "
1561
+ "from TrackShip:"
1562
+ msgstr ""
1563
+ "Можете да изпратите всичките си поръчки от последните 30 дни, за да получите "
1564
+ "статус на пратката от TrackShip:"
1565
+
1566
+ #: includes/views/admin_options_addons.php:20
1567
+ msgid "TrackShip"
1568
+ msgstr "TrackShip"
1569
 
1570
+ #: includes/views/admin_options_addons.php:36
1571
+ msgid ""
1572
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1573
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1574
+ "the order management workflows, reduces customer inquiries, reduces time "
1575
+ "spent on customer service, and improves the post-purchase experience and "
1576
+ "satisfaction of your customers."
1577
+ msgstr ""
1578
+ "TracksShip е първокласна форма на API за проследяване на пратки, която "
1579
+ "напълно се интегрира с WooCommerce с разширеното проследяване на пратките. "
1580
+ "TrackShip автоматизира процесите на управление на поръчките, намалява "
1581
+ "запитванията на клиенти, намалява времето, изразходвано за обслужване на "
1582
+ "клиентите, и подобрява преживяването след покупка и удовлетворението на "
1583
+ "вашите клиенти.\n"
1584
+
1585
+ #: includes/views/admin_options_addons.php:37
1586
+ msgid ""
1587
+ "You must have account TracksShip and connect your store in order to activate "
1588
+ "these advanced features:"
1589
  msgstr ""
1590
+ "Трябва да имате акаунт TracksShip и да свържете магазина си, за да "
1591
+ "активирате тези разширени функции:\n"
1592
+
1593
+ #: includes/views/admin_options_addons.php:51
1594
+ msgid "SIGNUP NOW"
1595
+ msgstr ""
1596
+ "ВКЛЮЧИ СЕ СЕГА\n"
1597
+
1598
+ #: includes/views/admin_options_addons.php:80
1599
+ msgid ""
1600
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1601
+ "tracking numbers to specific line items and to line item quantities."
1602
+ msgstr ""
1603
+ "Добавката за проследяване на артикул разширява приставката AST и ви "
1604
+ "позволява да прикачите проследяващи номера към конкретни договорени позиции "
1605
+ "и за количества от договорени покупки.\n"
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
+ #: includes/views/admin_tracking_page_settings.php:39
1616
+ msgid ""
1617
+ "Note - If you select a different page than the Shipment Tracking page, add "
1618
+ "the [wcast-track-order] shortcode to the selected page content."
1619
+ msgstr ""
1620
+ "Забележка - Ако изберете страница, различна от тази за проследяване на "
1621
+ "пратката, добавете краткия код [wcast-track-order] към избраното съдържание "
1622
+ "на страницата.\n"
1623
+
1624
+ #: includes/views/admin_tracking_page_settings.php:39
1625
+ msgid "more info"
1626
+ msgstr ""
1627
+ "повече информация\n"
1628
+
1629
+ #: includes/views/admin_tracking_page_settings.php:66
1630
+ msgid "Text Color"
1631
+ msgstr ""
1632
+ "Цвят на текста\n"
1633
+
1634
+ #: includes/views/admin_tracking_page_settings.php:88
1635
+ msgid "Hide tracking event details"
1636
+ msgstr ""
1637
+ "Скриване на данните за проследяване на проследяването\n"
1638
+
1639
+ #: includes/views/admin_tracking_page_settings.php:110
1640
+ msgid "Preview"
1641
+ msgstr ""
1642
+ "предварителен преглед\n"
1643
+
1644
+ #: includes/views/admin_status_notifications.php:3
1645
  msgid "Shipment Status Notifications "
1646
  msgstr "Известия за състоянието на пратката"
1647
 
1648
+ #: includes/views/admin_status_notifications.php:27
1649
  msgid ""
1650
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1651
  "the way."
1652
  msgstr "Превозвачът е приел или взел пратка от изпращача. Пратката е на път."
1653
 
1654
+ #: includes/views/admin_status_notifications.php:41
1655
  msgid "Shipment is returned to sender"
1656
  msgstr "Пратката се връща на подателя"
1657
 
1658
+ #: includes/views/admin_status_notifications.php:55
1659
  msgid "The shipment is ready to pickup."
1660
  msgstr "Пратката е готова за пикап."
1661
 
1662
+ #: includes/views/admin_status_notifications.php:68
1663
  msgid "Carrier is about to deliver the shipment"
1664
  msgstr "Превозвачът е на път да достави пратката"
1665
 
1666
+ #: includes/views/admin_status_notifications.php:82
1667
  msgid "The shipment was delivered successfully"
1668
  msgstr "Пратката е доставена успешно"
1669
 
1670
+ #: includes/views/admin_status_notifications.php:83
1671
  msgid ""
1672
  "You already have delivered email enabled, to enable this email you'll need "
1673
  "to disable the order status delivered in settings."
1675
  "Вече сте предоставили активиран имейл, за да активирате този имейл, ще "
1676
  "трябва да деактивирате състоянието на поръчката, доставена в настройките."
1677
 
1678
+ #: includes/views/admin_status_notifications.php:97
1679
  msgid ""
1680
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1681
  "will try to deliver the package again."
1683
  "Превозвачът се опита да достави, но не успя и обикновено оставя известие и "
1684
  "ще се опита да достави пакета отново."
1685
 
1686
+ #: templates/emails/tracking-info.php:225
1687
+ #: templates/myaccount/tracking-info.php:166
1688
+ msgid "Provider Name"
1689
+ msgstr "Provider Name"
 
 
 
 
 
1690
 
1691
  #. %s: Order ID.
1692
  #: templates/emails/wcast-email-order-details.php:47
1695
  msgstr ""
1696
  "Номер на поръчката:% s\n"
1697
 
1698
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1699
+ msgid "Cannot create existing order shipment tracking."
1700
+ msgstr "Cannot create existing order shipment tracking."
1701
+
1702
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1703
+ msgid "Invalid order ID."
1704
+ msgstr "Невалиден идентификационен номер на поръчката."
1705
+
1706
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1707
+ msgid "Special character not allowd in tracking number"
1708
+ msgstr "Специален знак не е разрешен в проследяващия номер"
1709
+
1710
  #. Name of the plugin
1711
  msgid "Advanced Shipment Tracking for WooCommerce"
1712
  msgstr ""
1713
+ "Разширено проследяване на пратки за WooCommerce\n"
1714
 
1715
  #. Description of the plugin
1716
  msgid ""
1719
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1720
  "order complete email."
1721
  msgstr ""
1722
+ "Добавете информация за проследяване на пратките към вашите поръчки в "
1723
+ "WooCommerce и осигурете на клиентите лесен начин за проследяване на техните "
1724
+ "поръчки. Информация за проследяване на пратката ще се появи в клиентските "
1725
+ "акаунти (в панела за поръчки) и в пълния имейл на поръчката на WooCommerce."
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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:06+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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,24 +23,358 @@ msgstr ""
23
  "Installer og aktiver venligst% sWooCommerce% s for WooCommerce Advanced "
24
  "Shipping Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 "
@@ -50,252 +384,318 @@ msgstr ""
50
  "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
51
  "den bekræftelses e-mail, du skulle have modtaget.\n"
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
  "Findes i din ordrebekræftelses-email.\n"
58
 
59
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
60
  msgid "Order Email"
61
  msgstr ""
62
  "Bestil Email\n"
63
 
64
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
65
- #: includes/class-wc-advanced-shipment-tracking.php:276
66
- #: includes/class-wc-advanced-shipment-tracking.php:701
67
- #: includes/class-wc-advanced-shipment-tracking.php:826
68
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
69
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
70
- #: templates/emails/tracking-info.php:174
71
- #: templates/myaccount/tracking-info.php:125
72
  msgid "Track"
73
  msgstr "Spor pakke"
74
 
75
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
76
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
77
  #, php-format
78
  msgid "Shipment - %s (out of %s)"
79
  msgstr ""
80
  "Forsendelse -% s (ud af% s)\n"
81
 
82
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
84
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
85
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
86
- msgid "Estimated Delivery Date: "
87
- msgstr "Forventet leveringsdato:"
88
 
89
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
90
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
91
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
 
 
 
 
 
 
 
 
 
92
  msgid "Tracking Details"
93
  msgstr "Sporingsdetaljer"
94
 
95
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
96
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
97
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
98
  msgid "view more"
99
  msgstr "Se mere"
100
 
101
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
102
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
103
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
104
  msgid "view less"
105
  msgstr "se mindre"
106
 
107
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
108
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
109
- msgid "Tracking details not found in TrackShip"
110
- msgstr ""
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
113
- msgid "Estimated Delivery Date"
114
- msgstr ""
115
-
116
  #: includes/class-wc-advanced-shipment-tracking.php:95
117
- #: includes/class-wc-advanced-shipment-tracking.php:260
118
  #: includes/customizer/class-wcast-customizer.php:31
119
  msgid "Shipment Tracking"
120
  msgstr "Forsendelsessporing"
121
 
122
  #: includes/class-wc-advanced-shipment-tracking.php:184
123
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
124
  msgid "Mark as Shipped?"
125
- msgstr ""
126
-
127
- #: includes/class-wc-advanced-shipment-tracking.php:185
128
- msgid "Shipped"
129
- msgstr ""
130
 
131
  #: includes/class-wc-advanced-shipment-tracking.php:187
132
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
133
  msgid "Mark as Completed?"
134
- msgstr ""
135
 
136
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
137
  msgid "Completed"
138
- msgstr ""
139
 
140
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
141
  msgid "Add Tracking Number"
142
- msgstr ""
143
 
144
- #: includes/class-wc-advanced-shipment-tracking.php:200
145
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
146
  msgid "Provider:"
147
  msgstr "udbyder:"
148
 
149
- #: includes/class-wc-advanced-shipment-tracking.php:220
150
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
151
  msgid "Tracking number:"
152
  msgstr "Tracking nummer:"
153
 
154
- #: includes/class-wc-advanced-shipment-tracking.php:224
155
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
156
  msgid "Date shipped:"
157
  msgstr "Dato afsendt:"
158
 
159
- #: includes/class-wc-advanced-shipment-tracking.php:225
160
- #: includes/class-wc-advanced-shipment-tracking.php:442
161
- #: includes/class-wc-advanced-shipment-tracking.php:445
162
- msgid "Y-m-d"
163
- msgstr ""
164
-
165
- #: includes/class-wc-advanced-shipment-tracking.php:231
166
- #: includes/class-wc-advanced-shipment-tracking.php:451
167
- msgid "Mark as"
168
- msgstr ""
169
 
170
- #: includes/class-wc-advanced-shipment-tracking.php:234
171
- #: includes/class-wc-advanced-shipment-tracking.php:455
 
172
  msgid "Partial Shipped"
173
- msgstr ""
174
 
175
- #: includes/class-wc-advanced-shipment-tracking.php:276
176
- #: includes/class-wc-advanced-shipment-tracking.php:469
177
- msgid "Click here to track your shipment"
178
- msgstr "Klik her for at spore din forsendelse"
179
 
180
  #. 1: shipping date
181
- #: includes/class-wc-advanced-shipment-tracking.php:284
182
  #, php-format
183
  msgid "Shipped on %s"
184
  msgstr "Sendes på% s"
185
 
186
- #: includes/class-wc-advanced-shipment-tracking.php:391
187
  msgid "Add Tracking Info"
188
  msgstr "Tilføj sporingsinfo"
189
 
190
- #: includes/class-wc-advanced-shipment-tracking.php:396
191
  msgid "Select Provider"
192
  msgstr "Vælg Udbyder"
193
 
194
- #: includes/class-wc-advanced-shipment-tracking.php:468
195
  msgid "Save Tracking"
196
  msgstr "Gem sporing"
197
 
198
- #: includes/class-wc-advanced-shipment-tracking.php:469
199
  msgid "Preview:"
200
  msgstr "Eksempel:"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking.php:675
203
  #, php-format
204
  msgid ""
205
  "Tracking info was deleted for tracking provider %s with tracking number %s"
206
- msgstr ""
207
 
208
- #: includes/class-wc-advanced-shipment-tracking.php:1042
209
  #, php-format
210
  msgid "Order was shipped with %s and tracking number is: %s"
211
- msgstr ""
212
 
213
  #: includes/class-wc-advanced-shipment-welcome.php:38
214
  #: includes/class-wc-advanced-shipment-welcome.php:39
215
  msgid "Welcome to Advanced Shipment Tracking"
216
- msgstr ""
217
 
218
  #: includes/class-wc-advanced-shipment-welcome.php:90
219
  #: includes/class-wc-advanced-shipment-welcome.php:129
220
  #: includes/class-wc-advanced-shipment-welcome.php:147
221
  msgid "Save and Continue"
222
- msgstr ""
223
 
224
  #: includes/class-wc-advanced-shipment-welcome.php:177
225
- #: includes/views/admin_options_trackship_integration.php:26
226
  msgid "Connection status"
227
- msgstr ""
228
 
229
  #: includes/class-wc-advanced-shipment-welcome.php:184
230
- #: includes/views/admin_options_trackship_integration.php:33
231
  msgid "TrackShip Connection Status"
232
  msgstr "TrackShip-forbindelsesstatus"
233
 
234
- #: includes/class-wc-advanced-shipment-welcome.php:188
235
- #: includes/views/admin_options_trackship_integration.php:37
236
- msgid "Connected"
237
- msgstr ""
238
- "forbundet\n"
239
-
240
  #: includes/class-wc-advanced-shipment-welcome.php:194
241
- #: includes/views/admin_options_trackship_integration.php:43
242
  msgid "Trackers Balance"
243
- msgstr ""
244
 
245
  #: includes/class-wc-advanced-shipment-welcome.php:202
246
- #: includes/views/admin_options_trackship_integration.php:51
247
  msgid "Current Plan"
248
- msgstr ""
249
 
250
  #: includes/class-wc-advanced-shipment-welcome.php:217
251
- #: includes/views/admin_options_trackship_integration.php:66
 
252
  msgid ""
253
  "You are now connected with TrackShip! TrackShip makes it effortless to "
254
  "automate your post shipping operations and get tracking and delivery status "
255
  "updates directly in the WooCommerce admin."
256
  msgstr ""
257
-
258
- #: includes/class-wc-advanced-shipment-welcome.php:222
259
- #: includes/views/admin_options_bulk_upload.php:58
260
- #: includes/views/admin_options_trackship_integration.php:71
261
- #: includes/views/zorem_admin_ts_sidebar.php:12
262
- msgid "Documentation"
263
- msgstr ""
264
 
265
  #: includes/class-wc-advanced-shipment-welcome.php:223
266
- #: includes/views/admin_options_trackship_integration.php:72
267
  msgid "TrackShip Dashboard"
268
- msgstr ""
269
 
270
  #: includes/class-wc-advanced-shipment-welcome.php:253
271
  msgid "Save"
272
- msgstr ""
273
 
274
- #: includes/class-wc-advanced-shipment-welcome.php:310
275
- msgid ""
276
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
277
- "100 orders."
278
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
279
 
280
- #: includes/class-wc-advanced-shipment-welcome.php:343
281
- msgid "Data saved successfully."
282
- msgstr "Data gemmes med succes."
283
 
284
- #: includes/class-wc-advanced-shipment-welcome.php:344
285
- msgid "Really delete this entry? This will not be undo."
286
- msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
287
-
288
- #: includes/class-wc-advanced-shipment-welcome.php:345
289
- msgid "You can upload only csv file."
290
- msgstr "Du kan kun uploade csv-filen."
291
 
292
- #: includes/class-wc-advanced-shipment-welcome.php:346
293
- msgid "This browser does not support HTML5."
294
- msgstr "Denne browser understøtter ikke HTML5."
295
 
296
- #: includes/class-wc-advanced-shipment-welcome.php:347
297
- msgid "Please upload a valid CSV file."
298
- msgstr "Upload venligst en gyldig CSV-fil."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
299
 
300
  #: includes/customizer/class-wcast-customizer.php:40
301
  msgid "Shipment Status Emails"
@@ -314,53 +714,16 @@ msgstr ""
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 Transit\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 "Undervejs"
330
-
331
- #: includes/customizer/class-wcast-customizer.php:92
332
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
333
- #: includes/views/admin_options_trackship_integration.php:175
334
- msgid "Return To Sender"
335
- msgstr ""
336
- "Retur til Afsender\n"
337
-
338
- #: includes/customizer/class-wcast-customizer.php:99
339
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
340
- #: includes/views/admin_options_trackship_integration.php:189
341
- msgid "Available For Pickup"
342
  msgstr ""
343
- "Klar til afhentning\n"
344
-
345
- #: includes/customizer/class-wcast-customizer.php:106
346
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
347
- #: includes/views/admin_options_trackship_integration.php:202
348
- msgid "Out For Delivery"
349
- msgstr "Ud for levering"
350
-
351
- #: includes/customizer/class-wcast-customizer.php:114
352
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
353
- #: includes/views/admin_options_trackship_integration.php:216
354
- msgid "Delivered"
355
- msgstr "leveres"
356
-
357
- #: includes/customizer/class-wcast-customizer.php:122
358
- #: includes/customizer/class-wc-failure-email-customizer.php:124
359
- #: includes/views/admin_options_trackship_integration.php:231
360
- msgid "Failed Attempt"
361
- msgstr "Mislykket forsøg"
362
 
363
- #: includes/customizer/class-wcast-customizer.php:390
364
  msgid "Select order to preview"
365
  msgstr ""
366
  "Vælg rækkefølge for at forhåndsvise\n"
@@ -391,6 +754,7 @@ msgstr ""
391
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
392
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
393
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
394
  msgid "This section lets you customize the Email Content."
395
  msgstr ""
396
  "Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
@@ -407,8 +771,9 @@ msgstr ""
407
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
408
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
409
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
410
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
411
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
412
  msgid "Preview order"
413
  msgstr ""
414
  "Forhåndsvis rækkefølge\n"
@@ -423,42 +788,41 @@ msgstr ""
423
  msgid "E.g. {customer.email}, admin@example.org"
424
  msgstr "F.eks {customer.email}, admin@example.org"
425
 
 
426
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
427
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
428
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
429
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
430
  #: includes/customizer/class-wc-failure-email-customizer.php:231
431
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
432
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
433
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
434
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
435
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
436
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
437
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
438
- msgid "Available placeholders: {site_title}, {order_number}"
439
- msgstr "Tilgængelige pladsholdere: {site_title}, {order_number}"
440
-
441
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
442
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
443
- #: includes/customizer/class-wc-email-customizer.php:249
444
- #: includes/customizer/class-wc-failure-email-customizer.php:237
445
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
446
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
447
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
448
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
449
- msgid "Please enter email subject here"
450
- msgstr "Indtast venligst e-mail-emne her"
451
-
452
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
453
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
454
- #: includes/customizer/class-wc-email-customizer.php:272
455
- #: includes/customizer/class-wc-failure-email-customizer.php:259
456
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
457
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
458
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
459
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
460
- msgid "Please enter email heading here"
461
- msgstr "Indtast venligst e-mail-overskrift her"
462
 
463
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
464
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -502,22 +866,22 @@ msgstr ""
502
 
503
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
504
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
505
- #: includes/customizer/class-wc-email-customizer.php:392
506
  #: includes/customizer/class-wc-failure-email-customizer.php:339
507
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
508
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
509
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
510
  msgid "Google Analytics link tracking"
511
- msgstr ""
512
 
513
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
514
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
515
  #: includes/customizer/class-wc-failure-email-customizer.php:340
516
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
517
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
518
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
519
  msgid "This will be appended to URL in the email content"
520
- msgstr ""
521
 
522
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
523
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -527,36 +891,31 @@ msgstr ""
527
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
528
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
529
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
530
  msgid "Email content"
531
  msgstr "Email indhold"
532
 
533
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
534
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
535
- #: includes/customizer/class-wc-email-customizer.php:413
536
- #: includes/customizer/class-wc-failure-email-customizer.php:381
537
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
538
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
539
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
540
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
541
- msgid "Available placeholders"
542
- msgstr ""
543
- "Tilgængelige pladsholdere\n"
544
-
545
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
546
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
547
- #: includes/customizer/class-wc-email-customizer.php:446
548
- #: includes/customizer/class-wc-failure-email-customizer.php:428
549
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
550
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
551
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
552
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
553
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
554
  msgid "Please select order to preview."
555
- msgstr ""
556
 
557
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
558
  msgid "Your order #{order_number} has been delivered"
559
- msgstr ""
560
 
561
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
562
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -589,50 +948,39 @@ msgstr ""
589
  "Aktivér leveret ordre status email\n"
590
 
591
  #: includes/customizer/class-wc-email-customizer.php:201
592
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
593
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
594
  msgid "Please select a order..."
595
  msgstr "Vælg venligst en ordre ..."
596
 
597
- #: includes/customizer/class-wc-email-customizer.php:243
598
- #: includes/customizer/class-wc-email-customizer.php:266
599
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
600
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
601
- msgid "Available variables: {site_title}, {order_number}"
602
- msgstr ""
603
-
604
- #: includes/customizer/class-wc-email-customizer.php:289
605
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
606
- msgid ""
607
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
608
- "{customer_last_name}, {customer_username}, {order_number}"
609
- msgstr ""
610
-
611
- #: includes/customizer/class-wc-email-customizer.php:308
612
  msgid "Display tracking details"
613
- msgstr ""
614
 
615
- #: includes/customizer/class-wc-email-customizer.php:324
616
  msgid "Display order details"
617
- msgstr ""
618
 
619
- #: includes/customizer/class-wc-email-customizer.php:341
620
  msgid "Display Shipping Address"
621
- msgstr ""
622
 
623
- #: includes/customizer/class-wc-email-customizer.php:358
624
  msgid "Display Billing Address"
625
- msgstr ""
626
 
627
- #: includes/customizer/class-wc-email-customizer.php:375
628
  msgid "Enable Google Analytics tracking"
629
- msgstr ""
630
 
631
- #: includes/customizer/class-wc-email-customizer.php:393
632
  msgid ""
633
  "This will be appended to URL in the email content – e.g. "
634
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
635
  msgstr ""
 
 
636
 
637
  #: includes/customizer/class-wc-failure-email-customizer.php:123
638
  msgid "Your order #{order_number} is Failed Attempt"
@@ -720,203 +1068,288 @@ msgstr ""
720
  "Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
721
 
722
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
723
- #: includes/customizer/class-wc-tracking-info-customizer.php:364
724
- #: templates/emails/tracking-info.php:132
725
- #: templates/myaccount/tracking-info.php:91
726
  msgid "Provider"
727
  msgstr "Fragtfirma"
728
 
729
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
730
- #: includes/customizer/class-wc-tracking-info-customizer.php:386
731
- #: templates/emails/tracking-info.php:156
732
- #: templates/myaccount/tracking-info.php:113
733
  msgid "Tracking Number"
734
  msgstr "Tracking nummer"
735
 
736
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
737
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
738
  msgid "Shipped Date"
739
  msgstr ""
740
  "Afsendt dato\n"
741
 
742
- #: includes/customizer/class-wc-tracking-info-customizer.php:179
743
- msgid ""
744
- "select from last 20 orders one order that you added tracking info in order "
745
- "to preview and design the tracking info table."
746
  msgstr ""
747
- "vælg fra de sidste 20 ordrer en ordre, som du har tilføjet "
748
- "sporingsoplysninger for at forhåndsvise og designe "
749
- "sporingsinformatortabellen."
750
-
751
- #: includes/customizer/class-wc-tracking-info-customizer.php:198
752
- #: includes/views/admin_options_settings.php:15
753
- #: includes/views/admin_options_trackship_integration.php:82
754
- msgid "General Settings"
755
- msgstr "Generelle indstillinger"
756
 
757
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
758
  msgid "Tracking Display Position"
759
  msgstr "Sporing af skærmposition"
760
 
761
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
762
  msgid "Before Order Details"
763
  msgstr "Før ordredetaljer"
764
 
765
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
766
  msgid "After Order Details"
767
  msgstr "Efter ordredetaljer"
768
 
769
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
770
- msgid "Main Header text"
771
- msgstr "Hovedteksttekst"
 
772
 
773
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
774
  msgid "Tracking Information"
775
  msgstr "Sporing Oplysninger"
776
 
777
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
778
  msgid "Additional text after header"
779
  msgstr "Yderligere tekst efter overskrift"
780
 
781
- #: includes/customizer/class-wc-tracking-info-customizer.php:276
782
- msgid "Table Content"
 
 
 
 
 
 
783
  msgstr ""
 
 
 
 
 
 
784
 
785
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
786
- msgid "Display Shipment Provider image"
787
- msgstr "Vis leveringsbillede af forsendelse"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
788
 
789
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
790
- msgid "Hide date"
791
- msgstr "Skjul dato"
 
792
 
793
- #: includes/customizer/class-wc-tracking-info-customizer.php:325
794
- msgid "Table Header"
795
  msgstr ""
 
796
 
797
- #: includes/customizer/class-wc-tracking-info-customizer.php:340
798
- msgid "Hide Header"
799
  msgstr ""
 
800
 
801
- #: includes/customizer/class-wc-tracking-info-customizer.php:357
802
- msgid "Provider Header Text"
803
- msgstr "Texto del encabezado del proveedor"
 
804
 
805
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
806
- msgid "Tracking Number Header Text"
807
- msgstr "Número de seguimiento del encabezado de texto"
808
 
809
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
810
- msgid "Shipped Date Header Text"
811
- msgstr "Texto de encabezado de fecha de envío"
 
812
 
813
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
814
  msgid "Track Label"
815
  msgstr "Sporetiket"
816
 
817
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
818
- msgid "Track Header Text"
819
- msgstr "Texto del encabezado de pista"
 
820
 
821
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
822
- msgid "Table header font size"
823
- msgstr "Tabeloverskriftstørrelse"
 
824
 
825
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
826
- msgid "Table header font color"
827
- msgstr "Tabeloverskriftstypefarve"
 
828
 
829
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
830
- msgid "Table Design"
831
- msgstr "Borddesign"
832
 
833
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
834
  msgid "Padding"
835
  msgstr "polstring"
836
 
837
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
838
  msgid "Background color"
839
  msgstr "Baggrundsfarve"
840
 
841
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
842
  msgid "Border color"
843
  msgstr ""
844
  "Border farve\n"
845
 
846
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
847
  msgid "Border size"
848
  msgstr ""
849
  "Border størrelse\n"
850
 
851
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
852
- msgid "Table text align"
853
- msgstr "Tabeltekst justeres"
 
854
 
855
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
856
- msgid "Table content font size"
857
- msgstr "Tabelindhold skriftstørrelse"
 
858
 
859
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
860
- msgid "Table content font color"
861
- msgstr "Tabelindhold fontfarve"
 
862
 
863
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
864
  msgid "Content line height"
865
  msgstr ""
866
  "Indholdslinjehøjde\n"
867
 
868
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
869
  msgid "Content font weight"
870
  msgstr ""
871
  "Indhold skrifttype vægt\n"
872
 
873
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
874
- msgid "Track Button Design"
875
- msgstr ""
876
 
877
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
878
- msgid "Track Link Font Color"
879
- msgstr "Spor link font farve"
 
880
 
881
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
882
- msgid "Track Link Background Color"
883
- msgstr "Track Link Baggrundsfarve"
884
 
885
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
886
- msgid "Track link Border"
887
- msgstr "Spor link grænse"
 
 
 
 
 
888
 
889
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
890
- msgid "Your {site_title} order is now partial shipped"
891
- msgstr ""
892
 
893
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
894
  msgid ""
895
  "Hi there. we thought you'd like to know that your recent order from "
896
- "{site_title} has been Partial Shipped."
897
  msgstr ""
 
 
898
 
899
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
900
- msgid "Enable Partial Shipped order status email"
 
 
 
 
 
 
 
 
 
 
 
901
  msgstr ""
 
 
 
 
 
 
 
902
 
903
  #: includes/emails/class-shipment-delivered-email.php:32
904
  msgid "Delivered order"
905
- msgstr ""
906
 
907
  #: includes/emails/class-shipment-delivered-email.php:33
908
  msgid ""
909
  "Order delivered emails are sent to customers when their orders are marked "
910
  "delivered and usually indicate that their orders have been shipped."
911
  msgstr ""
 
 
912
 
913
- #: includes/emails/class-shipment-delivered-email.php:279
914
  msgid "Click Here"
915
- msgstr ""
916
 
917
- #: includes/emails/class-shipment-delivered-email.php:280
918
  msgid "Edit in customizer"
919
- msgstr ""
920
 
921
  #: includes/views/admin_options_bulk_upload.php:10
922
  msgid "Upload CSV"
@@ -931,8 +1364,8 @@ msgstr ""
931
  "sporingsoplysningerne blive tilføjet)"
932
 
933
  #: includes/views/admin_options_bulk_upload.php:29
934
- #: includes/views/admin_options_shipping_provider.php:119
935
- #: includes/views/admin_options_shipping_provider.php:153
936
  msgid "Upload"
937
  msgstr "Upload"
938
 
@@ -944,154 +1377,263 @@ msgstr "Indstillinger gemt."
944
  msgid "Upload Progress - "
945
  msgstr "Upload Progress -"
946
 
947
- #: includes/views/admin_options_bulk_upload.php:45
948
  msgid "Sample CSV"
949
- msgstr ""
950
 
951
- #: includes/views/admin_options_bulk_upload.php:50
952
  msgid "You can download an example of the csv file:"
953
  msgstr "Puedes descargar un ejemplo del archivo csv:"
954
 
955
- #: includes/views/admin_options_bulk_upload.php:53
956
  msgid "Download sample csv file"
957
  msgstr "Download prøve csv fil"
958
 
959
- #: includes/views/admin_options_bulk_upload.php:58
960
  msgid ""
961
  "For detailed instructions on how to upload tracking info in bulk, see our"
962
  msgstr ""
963
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
964
  "seguimiento de forma masiva, consulte nuestra"
965
 
 
 
 
 
 
966
  #: includes/views/admin_options_settings.php:26
967
- #: includes/views/admin_options_settings.php:74
968
- #: includes/views/admin_options_settings.php:100
969
- #: includes/views/admin_options_trackship_integration.php:93
970
- #: includes/views/admin_options_trackship_integration.php:124
971
  msgid "Save Changes"
972
- msgstr ""
973
 
974
  #: includes/views/admin_options_settings.php:40
975
  msgid "Tracking Info Display"
976
- msgstr ""
977
 
978
  #: includes/views/admin_options_settings.php:49
979
  msgid "You can customize the tracking info display on emails and my account"
980
- msgstr ""
981
 
982
  #: includes/views/admin_options_settings.php:52
983
  msgid "Launch Customizer"
984
- msgstr ""
985
 
986
  #: includes/views/admin_options_settings.php:62
987
- msgid "Delivered Order Status"
988
- msgstr "Leveret ordrestatus"
989
-
990
- #: includes/views/admin_options_settings.php:88
991
- msgid "Partial Shipped Order Status"
992
  msgstr ""
 
993
 
994
  #: includes/views/admin_options_settings.php:94
995
- #, php-format
996
- msgid ""
997
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
998
- "Shipped\", when you deactivate the plugin, you must register this order "
999
- "status in function.php in order to see these orders in the orders admin. You "
1000
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
1001
- "php here or you can manually change all your \"partial-shipped\" order to "
1002
- "\"completed\" before deactivating the plugin."
1003
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1004
 
1005
  #: includes/views/admin_options_shipping_provider.php:12
1006
- #: includes/views/admin_options_shipping_provider.php:23
 
 
1007
  msgid "Active"
1008
- msgstr ""
1009
 
1010
  #: includes/views/admin_options_shipping_provider.php:13
1011
- #: includes/views/admin_options_shipping_provider.php:23
1012
  msgid "Inactive"
1013
- msgstr ""
1014
 
1015
  #: includes/views/admin_options_shipping_provider.php:14
1016
  msgid "Custom"
1017
- msgstr ""
1018
 
1019
- #: includes/views/admin_options_shipping_provider.php:21
1020
- msgid "Add Custom Provider"
 
 
 
 
1021
  msgstr ""
 
1022
 
1023
- #: includes/views/admin_options_shipping_provider.php:22
1024
- #: includes/views/admin_options_shipping_provider.php:170
1025
  #: includes/views/admin_options_shipping_provider.php:177
 
1026
  msgid "Sync Shipping Providers"
1027
- msgstr ""
1028
-
1029
- #: includes/views/admin_options_shipping_provider.php:23
1030
- msgid "Reset"
1031
- msgstr ""
1032
 
1033
- #: includes/views/admin_options_shipping_provider.php:27
1034
- msgid "Search by provider / country"
1035
- msgstr ""
1036
-
1037
- #: includes/views/admin_options_shipping_provider.php:95
1038
- #, php-format
1039
- msgid "You don't have any %s shipping providers."
1040
- msgstr "Du har ikke% s forsendelsesudbydere."
1041
-
1042
- #: includes/views/admin_options_shipping_provider.php:101
1043
  msgid "Add Custom Shipping Provider"
1044
  msgstr "Tilføj Tilpasset forsendelsesleverandør"
1045
 
1046
- #: includes/views/admin_options_shipping_provider.php:108
1047
- #: includes/views/admin_options_shipping_provider.php:142
1048
  msgid "Shipping Country"
1049
- msgstr ""
1050
 
1051
- #: includes/views/admin_options_shipping_provider.php:109
1052
- #: includes/views/admin_options_shipping_provider.php:143
1053
  msgid "Global"
1054
- msgstr ""
 
 
 
 
 
1055
 
1056
- #: includes/views/admin_options_shipping_provider.php:135
1057
  msgid "Edit Custom Shipping Provider"
1058
  msgstr "Rediger leverandør af tilpasset forsendelse"
1059
 
1060
- #: includes/views/admin_options_shipping_provider.php:171
1061
  msgid ""
1062
  "Syncing the shipping providers list add or updates the pre-set shipping "
1063
  "providers and will not effect custom shipping providers."
1064
  msgstr ""
 
 
 
1065
 
1066
- #: includes/views/admin_options_shipping_provider.php:173
1067
  msgid "Providers Added"
1068
  msgstr "Udbydere tilføjet"
1069
 
1070
- #: includes/views/admin_options_shipping_provider.php:174
1071
  msgid "Providers Updated"
1072
  msgstr "Udbydere opdateret"
1073
 
1074
- #: includes/views/admin_options_shipping_provider.php:175
1075
  msgid "Providers Deleted"
1076
  msgstr "Udbydere er slettet"
1077
 
1078
- #: includes/views/admin_options_trackship_integration.php:107
 
1079
  msgid "Tracking Page"
1080
  msgstr "Tracking Page"
1081
 
1082
- #: includes/views/admin_options_trackship_integration.php:117
1083
- msgid "Click to preview the tracking page"
1084
- msgstr "Klik for at forhåndsvise sporingssiden"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1085
 
1086
- #: includes/views/admin_options_trackship_integration.php:118
1087
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1088
- msgstr "BEMÆRK - sørg for at gemme dine indstillinger før forhåndsvisning."
1089
 
1090
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1091
  msgid "Shipment Status Notifications "
1092
  msgstr "Notifikationer om forsendelsesstatus"
1093
 
1094
- #: includes/views/admin_options_trackship_integration.php:163
1095
  msgid ""
1096
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1097
  "the way."
@@ -1099,23 +1641,23 @@ msgstr ""
1099
  "Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
1100
  "Forsendelsen er på vej."
1101
 
1102
- #: includes/views/admin_options_trackship_integration.php:177
1103
  msgid "Shipment is returned to sender"
1104
  msgstr "Forsendelse returneres til afsenderen"
1105
 
1106
- #: includes/views/admin_options_trackship_integration.php:191
1107
  msgid "The shipment is ready to pickup."
1108
  msgstr "Forsendelsen er klar til afhentning."
1109
 
1110
- #: includes/views/admin_options_trackship_integration.php:204
1111
  msgid "Carrier is about to deliver the shipment"
1112
  msgstr "Carrier er ved at levere forsendelsen"
1113
 
1114
- #: includes/views/admin_options_trackship_integration.php:218
1115
  msgid "The shipment was delivered successfully"
1116
  msgstr "Forsendelsen blev leveret med succes"
1117
 
1118
- #: includes/views/admin_options_trackship_integration.php:219
1119
  msgid ""
1120
  "You already have delivered email enabled, to enable this email you'll need "
1121
  "to disable the order status delivered in settings."
@@ -1123,7 +1665,7 @@ msgstr ""
1123
  "Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
1124
  "du deaktivere ordrestatus leveret i indstillinger."
1125
 
1126
- #: includes/views/admin_options_trackship_integration.php:233
1127
  msgid ""
1128
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1129
  "will try to deliver the package again."
@@ -1131,15 +1673,11 @@ msgstr ""
1131
  "Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
1132
  "en meddelelse og vil forsøge at levere pakken igen."
1133
 
1134
- #: includes/views/admin_options_tools.php:14
1135
- msgid "Get Shipment Status"
1136
- msgstr ""
1137
-
1138
- #: includes/views/admin_options_tools.php:23
1139
- msgid ""
1140
- "You can send all your orders from the last 30 days to get shipment status "
1141
- "from TrackShip:"
1142
- msgstr ""
1143
 
1144
  #. %s: Order ID.
1145
  #: templates/emails/wcast-email-order-details.php:47
@@ -1148,9 +1686,22 @@ msgid "Order number: %s"
1148
  msgstr ""
1149
  "Ordrenummer:% s\n"
1150
 
 
 
 
 
 
 
 
 
 
 
 
 
1151
  #. Name of the plugin
1152
  msgid "Advanced Shipment Tracking for WooCommerce"
1153
  msgstr ""
 
1154
 
1155
  #. Description of the plugin
1156
  msgid ""
@@ -1159,7 +1710,6 @@ msgid ""
1159
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1160
  "order complete email."
1161
  msgstr ""
1162
-
1163
- #. Author of the plugin
1164
- msgid "zorem"
1165
- msgstr ""
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:08+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.2"
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:254
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:465
32
+ #: includes/views/admin_options_settings.php:190
33
+ #, php-format
34
+ msgid ""
35
+ "<strong>Note:</strong> - If you use the custom order status, when you "
36
+ "deactivate the plugin, you must register the order status, otherwise these "
37
+ "orders will not display on your orders admin. You can find more information "
38
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
39
+ "php here."
40
+ msgstr ""
41
+ "Bemærk: - Hvis du bruger den tilpassede ordrestatus, skal du registrere "
42
+ "ordrestatus, når du deaktiverer plugin, ellers vises disse ordrer ikke på "
43
+ "din ordreradministrator. Du kan finde mere information og kodestykket, der "
44
+ "skal bruges i features.php her.\n"
45
+
46
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
47
+ msgid "Shipment status"
48
+ msgstr "Forsendelsesstatus"
49
+
50
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
51
+ #: includes/class-wc-advanced-shipment-welcome.php:310
52
+ msgid ""
53
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
54
+ "100 orders."
55
+ msgstr ""
56
+ "Hent forsendelsesstatus er begrænset til 100 ordrer ad gangen. Vælg venligst "
57
+ "op til 100 ordrer."
58
+
59
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
60
+ #: includes/class-wc-advanced-shipment-welcome.php:343
61
+ msgid "Data saved successfully."
62
+ msgstr "Data gemmes med succes."
63
+
64
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
65
+ #: includes/class-wc-advanced-shipment-welcome.php:344
66
+ msgid "Really delete this entry? This will not be undo."
67
+ msgstr "Vil du virkelig slette denne post? Dette vil ikke blive fortrydt."
68
+
69
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
70
+ #: includes/class-wc-advanced-shipment-welcome.php:345
71
+ msgid "You can upload only csv file."
72
+ msgstr "Du kan kun uploade csv-filen."
73
+
74
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
75
+ #: includes/class-wc-advanced-shipment-welcome.php:346
76
+ msgid "This browser does not support HTML5."
77
+ msgstr "Denne browser understøtter ikke HTML5."
78
+
79
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
80
+ #: includes/class-wc-advanced-shipment-welcome.php:347
81
+ msgid "Please upload a valid CSV file."
82
+ msgstr "Upload venligst en gyldig CSV-fil."
83
+
84
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
85
+ msgid "Shipping Providers"
86
+ msgstr "Forsendelsesleverandører"
87
+
88
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
89
+ msgid "Bulk Upload"
90
+ msgstr "Bulk upload"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
93
+ msgid "Add-ons"
94
+ msgstr "Add-ons"
95
+
96
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
97
+ #: includes/class-wc-advanced-shipment-welcome.php:222
98
+ #: includes/views/admin_options_bulk_upload.php:63
99
+ #: includes/views/admin_trackship_dashboard.php:51
100
+ msgid "Documentation"
101
+ msgstr "Dokumentation"
102
+
103
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
104
+ msgid "How to Video"
105
+ msgstr "Sådan video"
106
+
107
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
108
+ msgid "Custom Statuses"
109
+ msgstr "Tilpassede statuer"
110
+
111
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
112
+ #: includes/class-wc-advanced-shipment-welcome.php:188
113
+ #: includes/views/zorem_admin_sidebar.php:29
114
+ #: includes/views/admin_options_addons.php:46
115
+ #: includes/views/admin_trackship_dashboard.php:17
116
+ msgid "Connected"
117
  msgstr ""
118
+ "forbundet\n"
119
 
120
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
 
121
  #, php-format
122
+ msgid "%s %s orders with tracking info"
123
+ msgstr "% s% s ordrer med sporingsinfo"
124
+
125
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
126
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
127
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
129
+ #: includes/views/admin_options_tools.php:14
130
+ msgid "Get Shipment Status"
131
+ msgstr "Få forsendelsesstatus"
132
+
133
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
134
+ #, php-format
135
+ msgid "%s %s orders with “TrackShip balance is 0”"
136
+ msgstr "% s% s ordrer med “TrackShip-saldo er 0”"
137
+
138
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
139
+ #, php-format
140
+ msgid "%s %s orders with “Please do connection”"
141
+ msgstr "% s% s ordrer med \"Venligst gør forbindelse\""
142
+
143
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
144
+ msgid "Enable/Disable"
145
+ msgstr "Aktivere deaktivere"
146
+
147
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
148
+ msgid "Set order status Delivered when order is delivered"
149
+ msgstr "Indstil ordrestatus Leveres når ordren er leveret"
150
+
151
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
152
  msgid ""
153
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
154
+ "for the tracking page to work."
 
 
 
 
155
  msgstr ""
156
+ "Du skal tilføje kortkoden [wcast-track-order] til den valgte side for at "
157
+ "sporingssiden skal fungere."
158
 
159
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
160
+ #: includes/views/admin_tracking_page_settings.php:24
161
+ msgid "Select Tracking Page"
162
+ msgstr "Vælg sporingsside"
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
165
+ msgid "Use the tracking page in the customer email/my account tracking link"
166
+ msgstr "Brug sporingssiden i kundens e-mail / min kontosporingslink"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
169
+ #: includes/views/admin_tracking_page_settings.php:49
170
+ msgid "Tracking Page Layout"
171
+ msgstr ""
172
+ "Sporing af sidelayout\n"
173
+
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
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:1007
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:1013
183
+ #: includes/views/admin_tracking_page_settings.php:83
184
+ msgid "Hide Shipping Provider Image"
185
+ msgstr ""
186
+ "Skjul forsendelsesbillede\n"
187
+
188
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
189
+ msgid "Hide tracking events details"
190
+ msgstr "Skjul detaljer om sporing af begivenheder"
191
+
192
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
193
+ #: includes/views/admin_tracking_page_settings.php:93
194
+ msgid "Remove TrackShip branding"
195
+ msgstr "Fjern TrackShip-branding"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
198
+ msgid "License Key"
199
+ msgstr "Licensnøgle"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
202
+ msgid "a Valid license is required to receive updates and support"
203
+ msgstr "der kræves en gyldig licens for at modtage opdateringer og support"
204
+
205
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
206
+ msgid "\">click here</a> to activate it."
207
+ msgstr "\"> Klik her </a> for at aktivere det."
208
+
209
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
210
+ #: includes/class-wc-advanced-shipment-tracking.php:185
211
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
212
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
213
+ msgid "Shipped"
214
+ msgstr "afsendt"
215
+
216
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
217
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
218
+ msgstr "Standard \"mark som <span class =\" shipped_label \"> sendt </span>\""
219
+
220
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
221
+ msgid ""
222
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
223
+ "will be selected by default when adding tracking info to orders."
224
+ msgstr ""
225
+ "Dette betyder, at 'mærket som <span class =' ​​shipped_label '> sendt </span>"
226
+ "' vælges som standard, når du tilføjer sporingsinfo til ordrer."
227
+
228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
229
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
230
+ msgstr ""
231
+ "Standard \"mark som <span class =\" shipped_label \"> afsluttet </span>\""
232
+
233
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
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
+ "Dette betyder, at 'mærket som <span class =' ​​send_label '> afsluttet "
239
+ "</span>' vælges som standard, når du tilføjer sporingsinfo til ordrer."
240
+
241
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
242
+ msgid "Rename the “Completed” Order status to “Shipped”"
243
+ msgstr "Omdøb ordre status \"Afsluttet\" til \"Sendt\""
244
+
245
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
246
+ msgid "On which order status email to include the shipment tracking info?"
247
+ msgstr ""
248
+ "På hvilken e-mail med ordrestatus for at inkludere forsendelsessporingsinfo?"
249
+
250
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
251
+ msgid "Show tracking info in Invoice"
252
+ msgstr "Vis sporingsinfo i faktura"
253
+
254
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
255
+ msgid "Show tracking info in Packing Slip"
256
+ msgstr "Vis sporingsinfo i pakkeseddel"
257
+
258
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
259
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
260
+ #: includes/customizer/class-wcast-customizer.php:92
261
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
262
+ #: includes/views/admin_status_notifications.php:25
263
+ msgid "In Transit"
264
+ msgstr "Undervejs"
265
+
266
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
267
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
268
+ #: includes/customizer/class-wcast-customizer.php:84
269
+ msgid "Pre Transit"
270
+ msgstr ""
271
+ "Pre Transit\n"
272
+
273
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
274
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
275
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
276
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
277
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
278
+ #: includes/customizer/class-wcast-customizer.php:122
279
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
280
+ #: includes/views/admin_options_settings.php:80
281
+ #: includes/views/admin_status_notifications.php:80
282
+ msgid "Delivered"
283
+ msgstr "leveres"
284
+
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
286
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
287
+ #: includes/customizer/class-wcast-customizer.php:114
288
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
289
+ #: includes/views/admin_status_notifications.php:66
290
+ msgid "Out For Delivery"
291
+ msgstr "Ud for levering"
292
+
293
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
294
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
295
+ #: includes/customizer/class-wcast-customizer.php:107
296
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
297
+ #: includes/views/admin_status_notifications.php:53
298
+ msgid "Available For Pickup"
299
+ msgstr ""
300
+ "Klar til afhentning\n"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
304
+ #: includes/customizer/class-wcast-customizer.php:100
305
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
306
+ #: includes/views/admin_status_notifications.php:39
307
+ msgid "Return To Sender"
308
+ msgstr ""
309
+ "Retur til Afsender\n"
310
+
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
312
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
313
+ #: includes/customizer/class-wcast-customizer.php:130
314
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
315
+ #: includes/views/admin_status_notifications.php:95
316
+ msgid "Failed Attempt"
317
+ msgstr "Mislykket forsøg"
318
+
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
320
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
321
+ msgid "Unknown"
322
+ msgstr "Ukendt"
323
+
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
325
+ msgid "Pending TrackShip"
326
+ msgstr "Venter på TrackShip"
327
+
328
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
329
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
330
+ msgid "Invalid Tracking Number"
331
+ msgstr "Ugyldigt sporingsnummer"
332
+
333
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
334
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
335
+ msgid "Carrier Unsupported"
336
+ msgstr "Transportør understøttes ikke"
337
+
338
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
339
+ msgid "Invalid User Key"
340
+ msgstr "Ugyldig brugernøgle"
341
+
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
343
+ msgid "Wrong Shipping Provider"
344
+ msgstr "Forkert leverandør af forsendelse"
345
+
346
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
347
+ msgid "Shipped Order"
348
+ msgstr "Afsendt ordre"
349
+
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
351
+ msgid "Mark order as delivered"
352
+ msgstr "Marker ordren som leveret"
353
+
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
355
+ msgid "Add Tracking"
356
+ msgstr "Tilføj sporing"
357
+
358
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
359
+ msgid "Change order status to"
360
+ msgstr "Skift ordrestatus til"
361
+
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
363
+ #: includes/views/admin_options_shipping_provider.php:96
364
+ #, php-format
365
+ msgid "You don't have any %s shipping providers."
366
+ msgstr "Du har ikke% s forsendelsesudbydere."
367
+
368
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
369
+ #: includes/views/admin_options_shipping_provider.php:27
370
+ msgid "Add Custom Provider"
371
+ msgstr "Tilføj brugerdefineret udbyder"
372
+
373
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
374
+ msgid "Filter by shipment status"
375
+ msgstr "Filtrer efter forsendelsesstatus"
376
+
377
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
378
  msgid ""
379
  "To track your order please enter your Order ID in the box below and press "
380
  "the \"Track\" button. This was given to you on your receipt and in the "
384
  "trykke på knappen \"Spor\". Dette blev givet til dig på din kvittering og i "
385
  "den bekræftelses e-mail, du skulle have modtaget.\n"
386
 
387
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
388
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
389
  msgid "Found in your order confirmation email."
390
  msgstr ""
391
  "Findes i din ordrebekræftelses-email.\n"
392
 
393
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
394
  msgid "Order Email"
395
  msgstr ""
396
  "Bestil Email\n"
397
 
398
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
399
+ #: includes/class-wc-advanced-shipment-tracking.php:728
400
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
401
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
402
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
403
+ #: templates/emails/tracking-info.php:256
404
+ #: templates/myaccount/tracking-info.php:191
405
  msgid "Track"
406
  msgstr "Spor pakke"
407
 
408
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
409
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
410
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
411
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
412
  #, php-format
413
  msgid "Shipment - %s (out of %s)"
414
  msgstr ""
415
  "Forsendelse -% s (ud af% s)\n"
416
 
417
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
418
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
419
+ msgid "Tracking details not found in TrackShip"
420
+ msgstr "Sporingsdetaljer findes ikke i TrackShip"
 
 
421
 
422
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
423
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
424
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
425
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
426
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
427
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
428
+ msgid "Est. Delivery Date"
429
+ msgstr ""
430
+ "Est. Leveringsdato\n"
431
+
432
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
433
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
434
  msgid "Tracking Details"
435
  msgstr "Sporingsdetaljer"
436
 
437
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
438
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
439
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
440
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
441
  msgid "view more"
442
  msgstr "Se mere"
443
 
444
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
445
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
448
  msgid "view less"
449
  msgstr "se mindre"
450
 
 
 
 
 
 
 
 
 
 
451
  #: includes/class-wc-advanced-shipment-tracking.php:95
452
+ #: includes/class-wc-advanced-shipment-tracking.php:265
453
  #: includes/customizer/class-wcast-customizer.php:31
454
  msgid "Shipment Tracking"
455
  msgstr "Forsendelsessporing"
456
 
457
  #: includes/class-wc-advanced-shipment-tracking.php:184
458
+ #: includes/class-wc-advanced-shipment-tracking.php:387
459
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
460
  msgid "Mark as Shipped?"
461
+ msgstr "Marker som sendt?"
 
 
 
 
462
 
463
  #: includes/class-wc-advanced-shipment-tracking.php:187
464
+ #: includes/class-wc-advanced-shipment-tracking.php:390
465
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
466
  msgid "Mark as Completed?"
467
+ msgstr "Marker som afsluttet?"
468
 
469
  #: includes/class-wc-advanced-shipment-tracking.php:188
470
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
471
  msgid "Completed"
472
+ msgstr "afsluttet"
473
 
474
  #: includes/class-wc-advanced-shipment-tracking.php:195
475
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
476
  msgid "Add Tracking Number"
477
+ msgstr "Tilføj sporingsnummer"
478
 
479
+ #: includes/class-wc-advanced-shipment-tracking.php:198
480
+ #: includes/class-wc-advanced-shipment-tracking.php:203
481
+ #: includes/class-wc-advanced-shipment-tracking.php:408
482
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
483
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
484
  msgid "Provider:"
485
  msgstr "udbyder:"
486
 
487
+ #: includes/class-wc-advanced-shipment-tracking.php:223
488
+ #: includes/class-wc-advanced-shipment-tracking.php:446
489
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
490
  msgid "Tracking number:"
491
  msgstr "Tracking nummer:"
492
 
493
+ #: includes/class-wc-advanced-shipment-tracking.php:227
494
+ #: includes/class-wc-advanced-shipment-tracking.php:454
495
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
496
  msgid "Date shipped:"
497
  msgstr "Dato afsendt:"
498
 
499
+ #: includes/class-wc-advanced-shipment-tracking.php:236
500
+ #: includes/class-wc-advanced-shipment-tracking.php:466
501
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
502
+ msgid "Mark order as:"
503
+ msgstr "Marker ordre som:"
 
 
 
 
 
504
 
505
+ #: includes/class-wc-advanced-shipment-tracking.php:239
506
+ #: includes/class-wc-advanced-shipment-tracking.php:469
507
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
508
  msgid "Partial Shipped"
509
+ msgstr "Delvis afsendt"
510
 
511
+ #: includes/class-wc-advanced-shipment-tracking.php:281
512
+ #: includes/class-wc-advanced-shipment-tracking.php:483
513
+ msgid "Track Shipment"
514
+ msgstr "Spor forsendelse"
515
 
516
  #. 1: shipping date
517
+ #: includes/class-wc-advanced-shipment-tracking.php:290
518
  #, php-format
519
  msgid "Shipped on %s"
520
  msgstr "Sendes på% s"
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking.php:404
523
  msgid "Add Tracking Info"
524
  msgstr "Tilføj sporingsinfo"
525
 
526
+ #: includes/class-wc-advanced-shipment-tracking.php:409
527
  msgid "Select Provider"
528
  msgstr "Vælg Udbyder"
529
 
530
+ #: includes/class-wc-advanced-shipment-tracking.php:482
531
  msgid "Save Tracking"
532
  msgstr "Gem sporing"
533
 
534
+ #: includes/class-wc-advanced-shipment-tracking.php:483
535
  msgid "Preview:"
536
  msgstr "Eksempel:"
537
 
538
+ #: includes/class-wc-advanced-shipment-tracking.php:702
539
  #, php-format
540
  msgid ""
541
  "Tracking info was deleted for tracking provider %s with tracking number %s"
542
+ msgstr "Sporingsinfo blev slettet for sporingsudbyder% s med sporingsnummer% s"
543
 
544
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
545
  #, php-format
546
  msgid "Order was shipped with %s and tracking number is: %s"
547
+ msgstr "Ordren blev sendt med% s, og sporingsnummeret er:% s"
548
 
549
  #: includes/class-wc-advanced-shipment-welcome.php:38
550
  #: includes/class-wc-advanced-shipment-welcome.php:39
551
  msgid "Welcome to Advanced Shipment Tracking"
552
+ msgstr "Velkommen til Advanced Shipment Tracking"
553
 
554
  #: includes/class-wc-advanced-shipment-welcome.php:90
555
  #: includes/class-wc-advanced-shipment-welcome.php:129
556
  #: includes/class-wc-advanced-shipment-welcome.php:147
557
  msgid "Save and Continue"
558
+ msgstr "Gem og fortsæt"
559
 
560
  #: includes/class-wc-advanced-shipment-welcome.php:177
561
+ #: includes/views/admin_trackship_dashboard.php:6
562
  msgid "Connection status"
563
+ msgstr "Forbindelsesstatus"
564
 
565
  #: includes/class-wc-advanced-shipment-welcome.php:184
566
+ #: includes/views/admin_trackship_dashboard.php:13
567
  msgid "TrackShip Connection Status"
568
  msgstr "TrackShip-forbindelsesstatus"
569
 
 
 
 
 
 
 
570
  #: includes/class-wc-advanced-shipment-welcome.php:194
571
+ #: includes/views/admin_trackship_dashboard.php:23
572
  msgid "Trackers Balance"
573
+ msgstr "Trackers balance"
574
 
575
  #: includes/class-wc-advanced-shipment-welcome.php:202
576
+ #: includes/views/admin_trackship_dashboard.php:31
577
  msgid "Current Plan"
578
+ msgstr "Nuværende plan"
579
 
580
  #: includes/class-wc-advanced-shipment-welcome.php:217
581
+ #: includes/views/admin_options_addons.php:33
582
+ #: includes/views/admin_trackship_dashboard.php:46
583
  msgid ""
584
  "You are now connected with TrackShip! TrackShip makes it effortless to "
585
  "automate your post shipping operations and get tracking and delivery status "
586
  "updates directly in the WooCommerce admin."
587
  msgstr ""
588
+ "Du er nu forbundet med TrackShip! TrackShip gør det nemt at automatisere "
589
+ "dine postforsendelsesoperationer og få sporings- og "
590
+ "leveringsstatusopdateringer direkte i WooCommerce-administratoren."
 
 
 
 
591
 
592
  #: includes/class-wc-advanced-shipment-welcome.php:223
593
+ #: includes/views/admin_trackship_dashboard.php:52
594
  msgid "TrackShip Dashboard"
595
+ msgstr "TrackShip Dashboard"
596
 
597
  #: includes/class-wc-advanced-shipment-welcome.php:253
598
  msgid "Save"
599
+ msgstr "Gemme"
600
 
601
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
602
+ #, php-format
603
+ msgid "Delivered <span class=\"count\">(%s)</span>"
604
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
605
+ msgstr[0] "Leveret <span class = \"count\"> (% s) </span>"
606
+ msgstr[1] "Leveret <span class = \"count\"> (% s) </span>"
607
+
608
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
609
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
610
+ #: includes/views/admin_options_settings.php:149
611
+ msgid "Updated Tracking"
612
+ msgstr "Opdateret sporing"
613
+
614
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
615
+ #, php-format
616
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
617
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
618
+ msgstr[0] "Opdateret sporing <span class = \"count\"> (% s) </span>"
619
+ msgstr[1] "Opdateret sporing <span class = \"count\"> (% s) </span>"
620
+
621
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
622
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
623
+ #: includes/views/admin_options_settings.php:115
624
+ msgid "Partially Shipped"
625
+ msgstr "Delvist afsendt"
626
+
627
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
628
+ #, php-format
629
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
630
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
631
+ msgstr[0] "Delvist afsendt <span class = \"count\"> (% s) </span>"
632
+ msgstr[1] "Delvist afsendt <span class = \"count\"> (% s) </span>"
633
 
634
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
635
+ msgid "Change status to delivered"
636
+ msgstr "Change status to delivered"
637
 
638
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
639
+ msgid "Change status to Updated Tracking"
640
+ msgstr ""
641
+ "Skift status til Opdateret sporing\n"
 
 
 
642
 
643
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
644
+ msgid "Change status to Partially Shipped"
645
+ msgstr "Skift status til delvist afsendt"
646
 
647
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
648
+ #, php-format
649
+ msgid "Shipped <span class=\"count\">(%s)</span>"
650
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
651
+ msgstr[0] "Afsendt <span class = \"count\"> (% s) </span>"
652
+ msgstr[1] "Afsendt <span class = \"count\"> (% s) </span>"
653
+
654
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
655
+ msgid "Change status to shipped"
656
+ msgstr "Skift status til afsendt"
657
+
658
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
659
+ msgid "Resend delivered order notification"
660
+ msgstr "Send leveret ordreanmeldelse igen"
661
+
662
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
663
+ msgid "Shipment Providers"
664
+ msgstr "Forsendelsesleverandører"
665
+
666
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
667
+ msgid "Shipment Status"
668
+ msgstr "Forsendelsesstatus"
669
+
670
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
671
+ msgid "Tracking issues"
672
+ msgstr "Sporingsspørgsmål"
673
+
674
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
675
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
676
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
677
+ msgid "data not available."
678
+ msgstr "data ikke tilgængelige."
679
+
680
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
681
+ msgid "View more on TrackShip"
682
+ msgstr "Se mere på TrackShip"
683
+
684
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
685
+ msgid "There are some issue with sync, Please Retry."
686
+ msgstr "Der er nogle problemer med synkronisering, prøv igen."
687
+
688
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
689
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
690
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
691
+ msgid "view details"
692
+ msgstr "view details"
693
+
694
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
695
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
696
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
697
+ msgid "hide details"
698
+ msgstr "Gem detaljer"
699
 
700
  #: includes/customizer/class-wcast-customizer.php:40
701
  msgid "Shipment Status Emails"
714
 
715
  #: includes/customizer/class-wcast-customizer.php:68
716
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
717
+ msgid "Partially Shipped status email"
718
+ msgstr "Delvis afsendt status-e-mail"
719
 
720
  #: includes/customizer/class-wcast-customizer.php:76
721
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
722
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
723
  msgstr ""
724
+ "Opdateret e-mail med sporingsstatus\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
725
 
726
+ #: includes/customizer/class-wcast-customizer.php:411
727
  msgid "Select order to preview"
728
  msgstr ""
729
  "Vælg rækkefølge for at forhåndsvise\n"
754
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
755
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
756
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
757
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
758
  msgid "This section lets you customize the Email Content."
759
  msgstr ""
760
  "Dette afsnit giver dig mulighed for at tilpasse e-mailindholdet.\n"
771
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
772
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
773
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
774
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
775
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
776
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
777
  msgid "Preview order"
778
  msgstr ""
779
  "Forhåndsvis rækkefølge\n"
788
  msgid "E.g. {customer.email}, admin@example.org"
789
  msgstr "F.eks {customer.email}, admin@example.org"
790
 
791
+ #. %s: list of placeholders
792
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
793
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
794
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
795
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
796
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
797
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
798
+ #: includes/customizer/class-wc-email-customizer.php:243
799
+ #: includes/customizer/class-wc-email-customizer.php:266
800
+ #: includes/customizer/class-wc-email-customizer.php:289
801
+ #: includes/customizer/class-wc-email-customizer.php:414
802
  #: includes/customizer/class-wc-failure-email-customizer.php:231
803
  #: includes/customizer/class-wc-failure-email-customizer.php:253
804
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
805
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
806
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
807
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
808
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
809
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
810
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
811
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
812
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
813
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
814
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
815
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
816
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
817
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
818
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
819
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
820
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
821
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
822
+ #: includes/emails/class-shipment-delivered-email.php:256
823
+ #: includes/emails/class-shipment-delivered-email.php:265
824
+ msgid "Available variables:"
825
+ msgstr "Tilgængelige variabler:"
 
 
 
 
 
 
 
 
 
 
 
826
 
827
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
828
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
866
 
867
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
868
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
869
+ #: includes/customizer/class-wc-email-customizer.php:393
870
  #: includes/customizer/class-wc-failure-email-customizer.php:339
871
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
872
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
873
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
874
  msgid "Google Analytics link tracking"
875
+ msgstr "Google Analytics-linksporing"
876
 
877
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
878
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
879
  #: includes/customizer/class-wc-failure-email-customizer.php:340
880
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
881
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
882
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
883
  msgid "This will be appended to URL in the email content"
884
+ msgstr "Dette føjes til URL i e-mail-indholdet"
885
 
886
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
887
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
891
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
892
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
893
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
894
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
895
  msgid "Email content"
896
  msgstr "Email indhold"
897
 
898
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
899
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
900
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
901
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
902
+ #: includes/customizer/class-wc-email-customizer.php:447
903
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
904
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
905
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
906
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
907
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
908
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
909
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
910
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
911
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
912
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
 
913
  msgid "Please select order to preview."
914
+ msgstr "Vælg rækkefølge for at få vist forhåndsvisning."
915
 
916
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
917
  msgid "Your order #{order_number} has been delivered"
918
+ msgstr "Din ordre nr. {Ordre_nummer} er leveret"
919
 
920
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
921
  #: includes/customizer/class-wc-email-customizer.php:132
948
  "Aktivér leveret ordre status email\n"
949
 
950
  #: includes/customizer/class-wc-email-customizer.php:201
951
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
952
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
953
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
954
  msgid "Please select a order..."
955
  msgstr "Vælg venligst en ordre ..."
956
 
957
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
958
  msgid "Display tracking details"
959
+ msgstr "Vis sporingsdetaljer"
960
 
961
+ #: includes/customizer/class-wc-email-customizer.php:325
962
  msgid "Display order details"
963
+ msgstr "Vis ordredetaljer"
964
 
965
+ #: includes/customizer/class-wc-email-customizer.php:342
966
  msgid "Display Shipping Address"
967
+ msgstr "Vis forsendelsesadresse"
968
 
969
+ #: includes/customizer/class-wc-email-customizer.php:359
970
  msgid "Display Billing Address"
971
+ msgstr "Vis faktureringsadresse"
972
 
973
+ #: includes/customizer/class-wc-email-customizer.php:376
974
  msgid "Enable Google Analytics tracking"
975
+ msgstr "Aktivér Google Analytics-sporing"
976
 
977
+ #: includes/customizer/class-wc-email-customizer.php:394
978
  msgid ""
979
  "This will be appended to URL in the email content – e.g. "
980
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
981
  msgstr ""
982
+ "Dette føjes til URL i e-mail-indholdet - f.eks. utm_source = ast & "
983
+ "utm_medium = email & utm_campaign = leveret"
984
 
985
  #: includes/customizer/class-wc-failure-email-customizer.php:123
986
  msgid "Your order #{order_number} is Failed Attempt"
1068
  "Aktivér Send e-mail til afsendelse af afsendelsesstatus\n"
1069
 
1070
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1071
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1072
+ #: templates/emails/tracking-info.php:203
1073
+ #: templates/myaccount/tracking-info.php:144
1074
  msgid "Provider"
1075
  msgstr "Fragtfirma"
1076
 
1077
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1078
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1079
+ #: templates/emails/tracking-info.php:232
1080
+ #: templates/myaccount/tracking-info.php:171
1081
  msgid "Tracking Number"
1082
  msgstr "Tracking nummer"
1083
 
1084
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1085
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1086
  msgid "Shipped Date"
1087
  msgstr ""
1088
  "Afsendt dato\n"
1089
 
1090
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1091
+ msgid "Select an order to preview and design the tracking info display."
 
 
1092
  msgstr ""
1093
+ "Vælg en ordre for at vist og designe visningen af ​​sporingsinfo.\n"
 
 
 
 
 
 
 
 
1094
 
1095
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
1096
  msgid "Tracking Display Position"
1097
  msgstr "Sporing af skærmposition"
1098
 
1099
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1100
  msgid "Before Order Details"
1101
  msgstr "Før ordredetaljer"
1102
 
1103
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1104
  msgid "After Order Details"
1105
  msgstr "Efter ordredetaljer"
1106
 
1107
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1108
+ msgid "Tracking Header text"
1109
+ msgstr ""
1110
+ "Sporing af overskriftstekst\n"
1111
 
1112
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1113
  msgid "Tracking Information"
1114
  msgstr "Sporing Oplysninger"
1115
 
1116
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1117
  msgid "Additional text after header"
1118
  msgstr "Yderligere tekst efter overskrift"
1119
 
1120
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1121
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1122
+ msgid "Tracking display template"
1123
+ msgstr ""
1124
+ "Sporing af skærmskabelon\n"
1125
+
1126
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1127
+ msgid "Select Template"
1128
  msgstr ""
1129
+ "Vælg skabelon\n"
1130
+
1131
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1132
+ msgid "Table Layout"
1133
+ msgstr ""
1134
+ "Tabellayout\n"
1135
 
1136
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1137
+ msgid "Simple Layout Design"
1138
+ msgstr ""
1139
+ "Simpelt layoutdesign\n"
1140
+
1141
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1142
+ msgid "Provider font size"
1143
+ msgstr ""
1144
+ "Udbyderens skriftstørrelse\n"
1145
+
1146
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1147
+ msgid "Provider font color"
1148
+ msgstr ""
1149
+ "Udbyderens fontfarve\n"
1150
+
1151
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1152
+ msgid "Show bottom border"
1153
+ msgstr ""
1154
+ "Vis nederste kant\n"
1155
+
1156
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1157
+ msgid "Bottom border color"
1158
+ msgstr ""
1159
+ "Nederste kantfarve\n"
1160
 
1161
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1162
+ msgid "Table layout Design"
1163
+ msgstr ""
1164
+ "Tabellayout Design\n"
1165
 
1166
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1167
+ msgid "Display shipping provider name"
1168
  msgstr ""
1169
+ "Vis forsendelsesudbyderens navn\n"
1170
 
1171
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1172
+ msgid "Display shipping provider image"
1173
  msgstr ""
1174
+ "Vis forsendelsesudbyders billede\n"
1175
 
1176
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1177
+ msgid "Hide the ship date"
1178
+ msgstr ""
1179
+ "Skjul skibets dato\n"
1180
 
1181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1182
+ msgid "Use tracking number as a link"
1183
+ msgstr "Brug sporingsnummer som et link"
1184
 
1185
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1186
+ msgid "Table Headers"
1187
+ msgstr ""
1188
+ "Bordoverskrifter\n"
1189
 
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1191
+ msgid "Hide Table Headers"
1192
+ msgstr ""
1193
+ "Skjul tabeloverskrifter\n"
1194
+
1195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1196
+ msgid "Provider header text"
1197
+ msgstr ""
1198
+ "Udbyderens hovedtekst\n"
1199
+
1200
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1201
+ msgid "Tracking Number header text"
1202
+ msgstr ""
1203
+ "Sporing af nummeroverskriftstekst\n"
1204
+
1205
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1206
+ msgid "Ship date header text"
1207
+ msgstr ""
1208
+ "Send datoens overskriftstekst\n"
1209
+
1210
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1211
  msgid "Track Label"
1212
  msgstr "Sporetiket"
1213
 
1214
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1215
+ msgid "Track header text"
1216
+ msgstr ""
1217
+ "Spor overskriftstekst\n"
1218
 
1219
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1220
+ msgid "Headers font size"
1221
+ msgstr ""
1222
+ "Headers skriftstørrelse\n"
1223
 
1224
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1225
+ msgid "Headers font color"
1226
+ msgstr ""
1227
+ "Headers fontfarve\n"
1228
 
1229
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1230
+ msgid "Table Content"
1231
+ msgstr "Table Content"
1232
 
1233
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1234
  msgid "Padding"
1235
  msgstr "polstring"
1236
 
1237
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1239
  msgid "Background color"
1240
  msgstr "Baggrundsfarve"
1241
 
1242
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1243
+ #: includes/views/admin_tracking_page_settings.php:72
1244
  msgid "Border color"
1245
  msgstr ""
1246
  "Border farve\n"
1247
 
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1249
  msgid "Border size"
1250
  msgstr ""
1251
  "Border størrelse\n"
1252
 
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1254
+ msgid "Content Text align"
1255
+ msgstr ""
1256
+ "Juster indholdstekst\n"
1257
 
1258
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1259
+ msgid "Content font color"
1260
+ msgstr ""
1261
+ "Indhold font farve\n"
1262
 
1263
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1264
+ msgid "Content font size"
1265
+ msgstr ""
1266
+ "Indholdsstørrelse\n"
1267
 
1268
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1269
  msgid "Content line height"
1270
  msgstr ""
1271
  "Indholdslinjehøjde\n"
1272
 
1273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1274
  msgid "Content font weight"
1275
  msgstr ""
1276
  "Indhold skrifttype vægt\n"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1279
+ msgid "Tracking Link"
1280
+ msgstr "Sporingslink"
1281
 
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1283
+ msgid "Font Color"
1284
+ msgstr ""
1285
+ "Skrift farve\n"
1286
 
1287
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1288
+ msgid "Border"
1289
+ msgstr "Grænse"
1290
 
1291
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1292
+ msgid ""
1293
+ "To preview the tracking display, please add tracking information to at least "
1294
+ "one order and choose it in the preview order selection."
1295
+ msgstr ""
1296
+ "Hvis du vil se en forhåndsvisning af sporingsdisplayet, skal du tilføje "
1297
+ "sporingsoplysninger til mindst en ordre og vælge dem i valg af "
1298
+ "forhåndsvisning af forhåndsvisning.\n"
1299
 
1300
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1301
+ msgid "Your {site_title} order is now partially shipped"
1302
+ msgstr "Din {site_title} ordre er nu delvist sendt"
1303
 
1304
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1305
  msgid ""
1306
  "Hi there. we thought you'd like to know that your recent order from "
1307
+ "{site_title} has been partially shipped."
1308
  msgstr ""
1309
+ "Hej. vi troede, du gerne vil vide, at din seneste ordre fra {site_title} er "
1310
+ "delvist sendt.\n"
1311
 
1312
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1313
+ msgid "Enable Partially Shipped order status email"
1314
+ msgstr "Aktivér delvis afsendt ordre-status-e-mail"
1315
+
1316
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1317
+ msgid "Your {site_title} order is now updated tracking"
1318
+ msgstr ""
1319
+ "Din {site_title} ordre er nu opdateret sporing\n"
1320
+
1321
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1322
+ msgid ""
1323
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1324
+ "recent order from {site_title} has been updated."
1325
  msgstr ""
1326
+ "Hej. vi troede, du gerne vil vide, at forsendelsessporing for din seneste "
1327
+ "ordre fra {site_title} er blevet opdateret.\n"
1328
+
1329
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1330
+ msgid "Enable Updated Tracking order status email"
1331
+ msgstr ""
1332
+ "Aktivér e-mail med opdateret sporingsordrestatus\n"
1333
 
1334
  #: includes/emails/class-shipment-delivered-email.php:32
1335
  msgid "Delivered order"
1336
+ msgstr "Leveret ordre"
1337
 
1338
  #: includes/emails/class-shipment-delivered-email.php:33
1339
  msgid ""
1340
  "Order delivered emails are sent to customers when their orders are marked "
1341
  "delivered and usually indicate that their orders have been shipped."
1342
  msgstr ""
1343
+ "Ordrer leverede e-mails sendes til kunderne, når deres ordrer er mærket "
1344
+ "leveret og angiver normalt, at deres ordrer er blevet sendt."
1345
 
1346
+ #: includes/emails/class-shipment-delivered-email.php:280
1347
  msgid "Click Here"
1348
+ msgstr "Klik her"
1349
 
1350
+ #: includes/emails/class-shipment-delivered-email.php:281
1351
  msgid "Edit in customizer"
1352
+ msgstr "Rediger i brugerdefineret"
1353
 
1354
  #: includes/views/admin_options_bulk_upload.php:10
1355
  msgid "Upload CSV"
1364
  "sporingsoplysningerne blive tilføjet)"
1365
 
1366
  #: includes/views/admin_options_bulk_upload.php:29
1367
+ #: includes/views/admin_options_shipping_provider.php:120
1368
+ #: includes/views/admin_options_shipping_provider.php:157
1369
  msgid "Upload"
1370
  msgstr "Upload"
1371
 
1377
  msgid "Upload Progress - "
1378
  msgstr "Upload Progress -"
1379
 
1380
+ #: includes/views/admin_options_bulk_upload.php:50
1381
  msgid "Sample CSV"
1382
+ msgstr "Eksempel på CSV"
1383
 
1384
+ #: includes/views/admin_options_bulk_upload.php:55
1385
  msgid "You can download an example of the csv file:"
1386
  msgstr "Puedes descargar un ejemplo del archivo csv:"
1387
 
1388
+ #: includes/views/admin_options_bulk_upload.php:58
1389
  msgid "Download sample csv file"
1390
  msgstr "Download prøve csv fil"
1391
 
1392
+ #: includes/views/admin_options_bulk_upload.php:63
1393
  msgid ""
1394
  "For detailed instructions on how to upload tracking info in bulk, see our"
1395
  msgstr ""
1396
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
1397
  "seguimiento de forma masiva, consulte nuestra"
1398
 
1399
+ #: includes/views/admin_options_settings.php:15
1400
+ #: includes/views/admin_trackship_dashboard.php:62
1401
+ msgid "General Settings"
1402
+ msgstr "Generelle indstillinger"
1403
+
1404
  #: includes/views/admin_options_settings.php:26
1405
+ #: includes/views/admin_options_settings.php:181
1406
+ #: includes/views/admin_trackship_dashboard.php:73
1407
+ #: includes/views/admin_tracking_page_settings.php:101
 
1408
  msgid "Save Changes"
1409
+ msgstr "Gem ændringer"
1410
 
1411
  #: includes/views/admin_options_settings.php:40
1412
  msgid "Tracking Info Display"
1413
+ msgstr "Tracking Info Display"
1414
 
1415
  #: includes/views/admin_options_settings.php:49
1416
  msgid "You can customize the tracking info display on emails and my account"
1417
+ msgstr "Du kan tilpasse visningen af ​​sporingsinfo på e-mails og min konto"
1418
 
1419
  #: includes/views/admin_options_settings.php:52
1420
  msgid "Launch Customizer"
1421
+ msgstr "Start Customizer"
1422
 
1423
  #: includes/views/admin_options_settings.php:62
1424
+ msgid "Custom Order Statuses"
 
 
 
 
1425
  msgstr ""
1426
+ "Status for tilpasset ordre\n"
1427
 
1428
  #: includes/views/admin_options_settings.php:94
1429
+ #: includes/views/admin_options_settings.php:129
1430
+ #: includes/views/admin_options_settings.php:163
1431
+ msgid "Light Font"
 
 
 
 
 
1432
  msgstr ""
1433
+ "Let skrift\n"
1434
+
1435
+ #: includes/views/admin_options_settings.php:95
1436
+ #: includes/views/admin_options_settings.php:130
1437
+ #: includes/views/admin_options_settings.php:164
1438
+ msgid "Dark Font"
1439
+ msgstr ""
1440
+ "Mørk skrifttype\n"
1441
+
1442
+ #: includes/views/admin_options_settings.php:99
1443
+ #: includes/views/admin_options_settings.php:134
1444
+ #: includes/views/admin_options_settings.php:168
1445
+ msgid "Send Email"
1446
+ msgstr ""
1447
+ "Send e-mail\n"
1448
 
1449
  #: includes/views/admin_options_shipping_provider.php:12
1450
+ #: includes/views/admin_options_shipping_provider.php:25
1451
+ #: includes/views/zorem_admin_sidebar.php:18
1452
+ #: includes/views/admin_options_addons.php:109
1453
  msgid "Active"
1454
+ msgstr "Aktiv"
1455
 
1456
  #: includes/views/admin_options_shipping_provider.php:13
1457
+ #: includes/views/admin_options_shipping_provider.php:25
1458
  msgid "Inactive"
1459
+ msgstr "inaktive"
1460
 
1461
  #: includes/views/admin_options_shipping_provider.php:14
1462
  msgid "Custom"
1463
+ msgstr "Brugerdefinerede"
1464
 
1465
+ #: includes/views/admin_options_shipping_provider.php:20
1466
+ msgid "Search by provider / country"
1467
+ msgstr "Søg efter udbyder / land"
1468
+
1469
+ #: includes/views/admin_options_shipping_provider.php:25
1470
+ msgid "Reset all:"
1471
  msgstr ""
1472
+ "Genstart alt:\n"
1473
 
1474
+ #: includes/views/admin_options_shipping_provider.php:26
 
1475
  #: includes/views/admin_options_shipping_provider.php:177
1476
+ #: includes/views/admin_options_shipping_provider.php:184
1477
  msgid "Sync Shipping Providers"
1478
+ msgstr "Synkroniseringsforsendelser"
 
 
 
 
1479
 
1480
+ #: includes/views/admin_options_shipping_provider.php:102
 
 
 
 
 
 
 
 
 
1481
  msgid "Add Custom Shipping Provider"
1482
  msgstr "Tilføj Tilpasset forsendelsesleverandør"
1483
 
1484
+ #: includes/views/admin_options_shipping_provider.php:109
1485
+ #: includes/views/admin_options_shipping_provider.php:146
1486
  msgid "Shipping Country"
1487
+ msgstr "Forsendelsesland"
1488
 
1489
+ #: includes/views/admin_options_shipping_provider.php:110
1490
+ #: includes/views/admin_options_shipping_provider.php:147
1491
  msgid "Global"
1492
+ msgstr "Global"
1493
+
1494
+ #: includes/views/admin_options_shipping_provider.php:126
1495
+ #: includes/views/admin_options_shipping_provider.php:163
1496
+ msgid "How to add Tracking URL"
1497
+ msgstr "Sådan tilføjes sporings-URL"
1498
 
1499
+ #: includes/views/admin_options_shipping_provider.php:139
1500
  msgid "Edit Custom Shipping Provider"
1501
  msgstr "Rediger leverandør af tilpasset forsendelse"
1502
 
1503
+ #: includes/views/admin_options_shipping_provider.php:178
1504
  msgid ""
1505
  "Syncing the shipping providers list add or updates the pre-set shipping "
1506
  "providers and will not effect custom shipping providers."
1507
  msgstr ""
1508
+ "Synkronisering af leverandørlisten tilføj eller opdaterer de "
1509
+ "forudindstillede leverandører af levering og påvirker ikke brugerdefinerede "
1510
+ "forsendelsesleverandører."
1511
 
1512
+ #: includes/views/admin_options_shipping_provider.php:180
1513
  msgid "Providers Added"
1514
  msgstr "Udbydere tilføjet"
1515
 
1516
+ #: includes/views/admin_options_shipping_provider.php:181
1517
  msgid "Providers Updated"
1518
  msgstr "Udbydere opdateret"
1519
 
1520
+ #: includes/views/admin_options_shipping_provider.php:182
1521
  msgid "Providers Deleted"
1522
  msgstr "Udbydere er slettet"
1523
 
1524
+ #: includes/views/admin_options_trackship_integration.php:17
1525
+ #: includes/views/admin_tracking_page_settings.php:7
1526
  msgid "Tracking Page"
1527
  msgstr "Tracking Page"
1528
 
1529
+ #: includes/views/admin_options_trackship_integration.php:20
1530
+ msgid "Shipment Status Notifications"
1531
+ msgstr ""
1532
+ "Notifikationer om forsendelsesstatus\n"
1533
+
1534
+ #: includes/views/admin_options_trackship_integration.php:23
1535
+ msgid "Tools"
1536
+ msgstr "Værktøj"
1537
+
1538
+ #: includes/views/zorem_admin_sidebar.php:15
1539
+ #: includes/views/admin_options_addons.php:90
1540
+ msgid "Get This Add-on >"
1541
+ msgstr ""
1542
+ "Hent denne tilføjelse>\n"
1543
+
1544
+ #: includes/views/zorem_admin_sidebar.php:27
1545
+ msgid "Upgrade to PRO"
1546
+ msgstr ""
1547
+ "Opgrader til Pro\n"
1548
+
1549
+ #: includes/views/admin_options_tools.php:23
1550
+ msgid ""
1551
+ "You can send all your orders from the last 30 days to get shipment status "
1552
+ "from TrackShip:"
1553
+ msgstr ""
1554
+ "Du kan sende alle dine ordrer fra de sidste 30 dage for at få "
1555
+ "forsendelsesstatus fra TrackShip:"
1556
+
1557
+ #: includes/views/admin_options_addons.php:20
1558
+ msgid "TrackShip"
1559
+ msgstr "TrackShip"
1560
+
1561
+ #: includes/views/admin_options_addons.php:36
1562
+ msgid ""
1563
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1564
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1565
+ "the order management workflows, reduces customer inquiries, reduces time "
1566
+ "spent on customer service, and improves the post-purchase experience and "
1567
+ "satisfaction of your customers."
1568
+ msgstr ""
1569
+ "TracksShip er en premium-forsendelses-API-flatform, der fuldt ud integreres "
1570
+ "med WooCommerce med Advanced Shipment Tracking. TrackShip automatiserer "
1571
+ "orderstyringsarbejdsgange, reducerer kundeforespørgsler, reducerer tiden, "
1572
+ "der bruges på kundeservice og forbedrer dine kunders oplevelse efter købet "
1573
+ "og tilfredshed.\n"
1574
+
1575
+ #: includes/views/admin_options_addons.php:37
1576
+ msgid ""
1577
+ "You must have account TracksShip and connect your store in order to activate "
1578
+ "these advanced features:"
1579
+ msgstr ""
1580
+ "Du skal have konto TracksShip og forbinde din butik for at aktivere disse "
1581
+ "avancerede funktioner:\n"
1582
+
1583
+ #: includes/views/admin_options_addons.php:51
1584
+ msgid "SIGNUP NOW"
1585
+ msgstr ""
1586
+ "TILMELD DIG NU\n"
1587
+
1588
+ #: includes/views/admin_options_addons.php:80
1589
+ msgid ""
1590
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1591
+ "tracking numbers to specific line items and to line item quantities."
1592
+ msgstr ""
1593
+ "Tilføjelsen Tracking per Item udvider AST-pluginet og giver dig mulighed for "
1594
+ "at knytte sporingsnumre til specifikke linjeposter og til "
1595
+ "linjeposteremængder.\n"
1596
 
1597
+ #: includes/views/admin_options_addons.php:110
1598
+ msgid "Deactivate"
1599
+ msgstr "Deaktiver"
1600
 
1601
+ #: includes/views/admin_options_addons.php:112
1602
+ msgid "Activate"
1603
+ msgstr "Activate"
1604
+
1605
+ #: includes/views/admin_tracking_page_settings.php:39
1606
+ msgid ""
1607
+ "Note - If you select a different page than the Shipment Tracking page, add "
1608
+ "the [wcast-track-order] shortcode to the selected page content."
1609
+ msgstr ""
1610
+ "Bemærk - Hvis du vælger en anden side end siden med sporing af forsendelse, "
1611
+ "tilføj kortkoden [wcast-track-order] til det valgte sideindhold.\n"
1612
+
1613
+ #: includes/views/admin_tracking_page_settings.php:39
1614
+ msgid "more info"
1615
+ msgstr ""
1616
+ "mere info\n"
1617
+
1618
+ #: includes/views/admin_tracking_page_settings.php:66
1619
+ msgid "Text Color"
1620
+ msgstr ""
1621
+ "Tekstfarve\n"
1622
+
1623
+ #: includes/views/admin_tracking_page_settings.php:88
1624
+ msgid "Hide tracking event details"
1625
+ msgstr ""
1626
+ "Skjul detaljer om sporingsbegivenhed\n"
1627
+
1628
+ #: includes/views/admin_tracking_page_settings.php:110
1629
+ msgid "Preview"
1630
+ msgstr "Eksempel"
1631
+
1632
+ #: includes/views/admin_status_notifications.php:3
1633
  msgid "Shipment Status Notifications "
1634
  msgstr "Notifikationer om forsendelsesstatus"
1635
 
1636
+ #: includes/views/admin_status_notifications.php:27
1637
  msgid ""
1638
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1639
  "the way."
1641
  "Luftfartsselskab har accepteret eller hentet forsendelse fra afsender. "
1642
  "Forsendelsen er på vej."
1643
 
1644
+ #: includes/views/admin_status_notifications.php:41
1645
  msgid "Shipment is returned to sender"
1646
  msgstr "Forsendelse returneres til afsenderen"
1647
 
1648
+ #: includes/views/admin_status_notifications.php:55
1649
  msgid "The shipment is ready to pickup."
1650
  msgstr "Forsendelsen er klar til afhentning."
1651
 
1652
+ #: includes/views/admin_status_notifications.php:68
1653
  msgid "Carrier is about to deliver the shipment"
1654
  msgstr "Carrier er ved at levere forsendelsen"
1655
 
1656
+ #: includes/views/admin_status_notifications.php:82
1657
  msgid "The shipment was delivered successfully"
1658
  msgstr "Forsendelsen blev leveret med succes"
1659
 
1660
+ #: includes/views/admin_status_notifications.php:83
1661
  msgid ""
1662
  "You already have delivered email enabled, to enable this email you'll need "
1663
  "to disable the order status delivered in settings."
1665
  "Du har allerede leveret e-mail aktiveret, for at aktivere denne e-mail skal "
1666
  "du deaktivere ordrestatus leveret i indstillinger."
1667
 
1668
+ #: includes/views/admin_status_notifications.php:97
1669
  msgid ""
1670
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1671
  "will try to deliver the package again."
1673
  "Luftfartsselskab forsøgte at levere, men mislykkedes, og efterlader normalt "
1674
  "en meddelelse og vil forsøge at levere pakken igen."
1675
 
1676
+ # Udbyderens navn
1677
+ #: templates/emails/tracking-info.php:225
1678
+ #: templates/myaccount/tracking-info.php:166
1679
+ msgid "Provider Name"
1680
+ msgstr "Udbyderens navn"
 
 
 
 
1681
 
1682
  #. %s: Order ID.
1683
  #: templates/emails/wcast-email-order-details.php:47
1686
  msgstr ""
1687
  "Ordrenummer:% s\n"
1688
 
1689
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1690
+ msgid "Cannot create existing order shipment tracking."
1691
+ msgstr "Kan ikke oprette eksisterende ordreforsendelsesporing."
1692
+
1693
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1694
+ msgid "Invalid order ID."
1695
+ msgstr "Ugyldigt ordre-ID."
1696
+
1697
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1698
+ msgid "Special character not allowd in tracking number"
1699
+ msgstr "Specialtegn er ikke tilladt i sporingsnummer"
1700
+
1701
  #. Name of the plugin
1702
  msgid "Advanced Shipment Tracking for WooCommerce"
1703
  msgstr ""
1704
+ "Avanceret forsendelsesporing til WooCommerce\n"
1705
 
1706
  #. Description of the plugin
1707
  msgid ""
1710
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1711
  "order complete email."
1712
  msgstr ""
1713
+ "Tilføj forsendelsessporingsoplysninger til dine WooCommerce-ordrer og giver "
1714
+ "kunderne en nem måde at spore deres ordrer på. Forsendelsessporingsinfo "
1715
+ "vises på kundekonti (i ordrepanelet) og i WooCommerce fuldstændig e-mail."
 
lang/woo-advanced-shipment-tracking-de_DE.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-de_DE.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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-04 07:07+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,24 +23,399 @@ msgstr ""
23
  "Bitte installieren und aktivieren Sie% sWooCommerce% s für WooCommerce "
24
  "Advanced Shipment Tracking!\n"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 "
@@ -51,252 +426,349 @@ msgstr ""
51
  "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
52
  "sollen, mitgeteilt.\n"
53
 
54
- #: includes/class-wc-advanced-shipment-tracking-front.php:151
55
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
56
  msgid "Found in your order confirmation email."
57
  msgstr ""
58
  "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
59
 
60
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
61
  msgid "Order Email"
62
  msgstr ""
63
  "E-Mail bestellen\n"
64
 
65
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
66
- #: includes/class-wc-advanced-shipment-tracking.php:276
67
- #: includes/class-wc-advanced-shipment-tracking.php:701
68
- #: includes/class-wc-advanced-shipment-tracking.php:826
69
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
70
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
71
- #: templates/emails/tracking-info.php:174
72
- #: templates/myaccount/tracking-info.php:125
73
  msgid "Track"
74
- msgstr "Track"
75
 
76
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
77
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
78
  #, php-format
79
  msgid "Shipment - %s (out of %s)"
80
  msgstr ""
81
  "Versand -% s (von% s)\n"
82
 
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
84
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
85
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
86
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
87
- msgid "Estimated Delivery Date: "
88
- msgstr "Voraussichtlicher Liefertermin:"
 
 
 
 
 
 
 
 
89
 
90
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
91
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
92
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
93
  msgid "Tracking Details"
94
  msgstr "Verfolgungsdetails"
95
 
96
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
97
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
98
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
99
  msgid "view more"
100
  msgstr "mehr sehen"
101
 
102
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
103
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
104
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
105
  msgid "view less"
106
  msgstr "weniger anzeigen"
107
 
108
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
109
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
110
- msgid "Tracking details not found in TrackShip"
111
- msgstr ""
112
-
113
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
114
- msgid "Estimated Delivery Date"
115
- msgstr ""
116
-
117
  #: includes/class-wc-advanced-shipment-tracking.php:95
118
- #: includes/class-wc-advanced-shipment-tracking.php:260
119
  #: includes/customizer/class-wcast-customizer.php:31
120
  msgid "Shipment Tracking"
121
  msgstr "Sendungsverfolgung"
122
 
123
  #: includes/class-wc-advanced-shipment-tracking.php:184
124
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
125
  msgid "Mark as Shipped?"
126
- msgstr ""
127
-
128
- #: includes/class-wc-advanced-shipment-tracking.php:185
129
- msgid "Shipped"
130
- msgstr "Versendet"
131
 
132
  #: includes/class-wc-advanced-shipment-tracking.php:187
133
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
134
  msgid "Mark as Completed?"
135
- msgstr ""
136
 
137
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
138
  msgid "Completed"
139
- msgstr ""
140
 
141
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
142
  msgid "Add Tracking Number"
143
- msgstr ""
144
 
145
- #: includes/class-wc-advanced-shipment-tracking.php:200
146
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
147
  msgid "Provider:"
148
  msgstr "Anbieter:"
149
 
150
- #: includes/class-wc-advanced-shipment-tracking.php:220
151
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
152
  msgid "Tracking number:"
153
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
154
 
155
- #: includes/class-wc-advanced-shipment-tracking.php:224
156
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
157
  msgid "Date shipped:"
158
  msgstr "Lieferdatum:"
159
 
160
- #: includes/class-wc-advanced-shipment-tracking.php:225
161
- #: includes/class-wc-advanced-shipment-tracking.php:442
162
- #: includes/class-wc-advanced-shipment-tracking.php:445
163
- msgid "Y-m-d"
164
- msgstr ""
165
 
166
- #: includes/class-wc-advanced-shipment-tracking.php:231
167
- #: includes/class-wc-advanced-shipment-tracking.php:451
168
- msgid "Mark as"
169
- msgstr ""
170
-
171
- #: includes/class-wc-advanced-shipment-tracking.php:234
172
- #: includes/class-wc-advanced-shipment-tracking.php:455
173
  msgid "Partial Shipped"
174
- msgstr ""
175
 
176
- #: includes/class-wc-advanced-shipment-tracking.php:276
177
- #: includes/class-wc-advanced-shipment-tracking.php:469
178
- msgid "Click here to track your shipment"
179
- msgstr "Klicken Sie hier, um Ihre Sendung zu verfolgen"
 
180
 
181
  #. 1: shipping date
182
- #: includes/class-wc-advanced-shipment-tracking.php:284
183
  #, php-format
184
  msgid "Shipped on %s"
185
  msgstr "Versand auf% s"
186
 
187
- #: includes/class-wc-advanced-shipment-tracking.php:391
188
  msgid "Add Tracking Info"
189
  msgstr "Tracking-Info hinzufügen"
190
 
191
- #: includes/class-wc-advanced-shipment-tracking.php:396
192
  msgid "Select Provider"
193
  msgstr "Wählen Sie Provider aus"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking.php:468
196
  msgid "Save Tracking"
197
  msgstr "Tracking speichern"
198
 
199
- #: includes/class-wc-advanced-shipment-tracking.php:469
200
  msgid "Preview:"
201
  msgstr "Vorschau:"
202
 
203
- #: includes/class-wc-advanced-shipment-tracking.php:675
204
  #, php-format
205
  msgid ""
206
  "Tracking info was deleted for tracking provider %s with tracking number %s"
207
  msgstr ""
 
 
208
 
209
- #: includes/class-wc-advanced-shipment-tracking.php:1042
210
  #, php-format
211
  msgid "Order was shipped with %s and tracking number is: %s"
212
  msgstr ""
 
213
 
214
  #: includes/class-wc-advanced-shipment-welcome.php:38
215
  #: includes/class-wc-advanced-shipment-welcome.php:39
216
  msgid "Welcome to Advanced Shipment Tracking"
217
- msgstr ""
218
 
219
  #: includes/class-wc-advanced-shipment-welcome.php:90
220
  #: includes/class-wc-advanced-shipment-welcome.php:129
221
  #: includes/class-wc-advanced-shipment-welcome.php:147
222
  msgid "Save and Continue"
223
- msgstr ""
224
 
225
  #: includes/class-wc-advanced-shipment-welcome.php:177
226
- #: includes/views/admin_options_trackship_integration.php:26
227
  msgid "Connection status"
228
- msgstr ""
229
 
230
  #: includes/class-wc-advanced-shipment-welcome.php:184
231
- #: includes/views/admin_options_trackship_integration.php:33
232
  msgid "TrackShip Connection Status"
233
  msgstr "TrackShip-Verbindungsstatus"
234
 
235
- #: includes/class-wc-advanced-shipment-welcome.php:188
236
- #: includes/views/admin_options_trackship_integration.php:37
237
- msgid "Connected"
238
- msgstr ""
239
- "In Verbindung gebracht\n"
240
-
241
  #: includes/class-wc-advanced-shipment-welcome.php:194
242
- #: includes/views/admin_options_trackship_integration.php:43
243
  msgid "Trackers Balance"
244
  msgstr ""
 
245
 
246
  #: includes/class-wc-advanced-shipment-welcome.php:202
247
- #: includes/views/admin_options_trackship_integration.php:51
248
  msgid "Current Plan"
249
  msgstr ""
 
250
 
251
  #: includes/class-wc-advanced-shipment-welcome.php:217
252
- #: includes/views/admin_options_trackship_integration.php:66
 
253
  msgid ""
254
  "You are now connected with TrackShip! TrackShip makes it effortless to "
255
  "automate your post shipping operations and get tracking and delivery status "
256
  "updates directly in the WooCommerce admin."
257
  msgstr ""
258
-
259
- #: includes/class-wc-advanced-shipment-welcome.php:222
260
- #: includes/views/admin_options_bulk_upload.php:58
261
- #: includes/views/admin_options_trackship_integration.php:71
262
- #: includes/views/zorem_admin_ts_sidebar.php:12
263
- msgid "Documentation"
264
- msgstr ""
265
 
266
  #: includes/class-wc-advanced-shipment-welcome.php:223
267
- #: includes/views/admin_options_trackship_integration.php:72
268
  msgid "TrackShip Dashboard"
269
  msgstr ""
 
270
 
271
  #: includes/class-wc-advanced-shipment-welcome.php:253
272
  msgid "Save"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
273
  msgstr ""
 
274
 
275
- #: includes/class-wc-advanced-shipment-welcome.php:310
276
- msgid ""
277
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
278
- "100 orders."
 
 
 
 
 
 
 
 
 
279
  msgstr ""
 
280
 
281
- #: includes/class-wc-advanced-shipment-welcome.php:343
282
- msgid "Data saved successfully."
283
- msgstr "Daten erfolgreich gespeichert."
 
 
 
 
 
284
 
285
- #: includes/class-wc-advanced-shipment-welcome.php:344
286
- msgid "Really delete this entry? This will not be undo."
287
- msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
 
288
 
289
- #: includes/class-wc-advanced-shipment-welcome.php:345
290
- msgid "You can upload only csv file."
291
- msgstr "Sie können nur eine CSV-Datei hochladen."
 
292
 
293
- #: includes/class-wc-advanced-shipment-welcome.php:346
294
- msgid "This browser does not support HTML5."
295
- msgstr "Dieser Browser unterstützt kein HTML5."
 
296
 
297
- #: includes/class-wc-advanced-shipment-welcome.php:347
298
- msgid "Please upload a valid CSV file."
299
- msgstr "Laden Sie eine gültige CSV-Datei hoch."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
 
301
  #: includes/customizer/class-wcast-customizer.php:40
302
  msgid "Shipment Status Emails"
@@ -315,55 +787,17 @@ msgstr ""
315
 
316
  #: includes/customizer/class-wcast-customizer.php:68
317
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
318
- msgid "Partial Shipped status email"
319
  msgstr ""
 
320
 
321
  #: includes/customizer/class-wcast-customizer.php:76
322
- msgid "Pre Transit"
323
- msgstr ""
324
- "Pre Transit\n"
325
-
326
- #: includes/customizer/class-wcast-customizer.php:84
327
- #: includes/customizer/class-wc-intransit-email-customizer.php:127
328
- #: includes/views/admin_options_trackship_integration.php:161
329
- msgid "In Transit"
330
  msgstr ""
331
- "Im Transit\n"
332
-
333
- #: includes/customizer/class-wcast-customizer.php:92
334
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
335
- #: includes/views/admin_options_trackship_integration.php:175
336
- msgid "Return To Sender"
337
- msgstr ""
338
- "Zurück an den Absender\n"
339
 
340
- #: includes/customizer/class-wcast-customizer.php:99
341
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
342
- #: includes/views/admin_options_trackship_integration.php:189
343
- msgid "Available For Pickup"
344
- msgstr ""
345
- "Zur Abholung bereit\n"
346
-
347
- #: includes/customizer/class-wcast-customizer.php:106
348
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
349
- #: includes/views/admin_options_trackship_integration.php:202
350
- msgid "Out For Delivery"
351
- msgstr ""
352
- "Raus zur Lieferung\n"
353
-
354
- #: includes/customizer/class-wcast-customizer.php:114
355
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
356
- #: includes/views/admin_options_trackship_integration.php:216
357
- msgid "Delivered"
358
- msgstr "Geliefert"
359
-
360
- #: includes/customizer/class-wcast-customizer.php:122
361
- #: includes/customizer/class-wc-failure-email-customizer.php:124
362
- #: includes/views/admin_options_trackship_integration.php:231
363
- msgid "Failed Attempt"
364
- msgstr "Misslungener Versuch"
365
-
366
- #: includes/customizer/class-wcast-customizer.php:390
367
  msgid "Select order to preview"
368
  msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
369
 
@@ -391,6 +825,7 @@ msgstr "Verfügbar für Abholung Versandstatus E-Mail"
391
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
392
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
393
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
394
  msgid "This section lets you customize the Email Content."
395
  msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
396
 
@@ -405,8 +840,9 @@ msgstr "Versandstatus-E-Mail für Abholung aktivieren"
405
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
406
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
407
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
408
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
409
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
410
  msgid "Preview order"
411
  msgstr "Vorschau der Bestellung"
412
 
@@ -420,42 +856,41 @@ msgstr "Vorschau der Bestellung"
420
  msgid "E.g. {customer.email}, admin@example.org"
421
  msgstr "Z.B. {customer.email}, admin@example.org"
422
 
 
423
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
424
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
425
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
426
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
427
  #: includes/customizer/class-wc-failure-email-customizer.php:231
428
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
429
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
430
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
431
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
432
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
433
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
434
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
435
- msgid "Available placeholders: {site_title}, {order_number}"
436
- msgstr "Verfügbare Platzhalter: {site_title}, {order_number}"
437
-
438
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
439
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
440
- #: includes/customizer/class-wc-email-customizer.php:249
441
- #: includes/customizer/class-wc-failure-email-customizer.php:237
442
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
443
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
444
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
445
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
446
- msgid "Please enter email subject here"
447
- msgstr "Bitte geben Sie hier den E-Mail-Betreff ein"
448
-
449
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
450
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
451
- #: includes/customizer/class-wc-email-customizer.php:272
452
- #: includes/customizer/class-wc-failure-email-customizer.php:259
453
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
454
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
455
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
456
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
457
- msgid "Please enter email heading here"
458
- msgstr "Bitte geben Sie hier die E-Mail-Überschrift ein"
459
 
460
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
461
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -498,22 +933,24 @@ msgstr ""
498
 
499
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
500
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
501
- #: includes/customizer/class-wc-email-customizer.php:392
502
  #: includes/customizer/class-wc-failure-email-customizer.php:339
503
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
504
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
505
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
506
  msgid "Google Analytics link tracking"
507
  msgstr ""
 
508
 
509
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
510
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
511
  #: includes/customizer/class-wc-failure-email-customizer.php:340
512
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
513
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
514
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
515
  msgid "This will be appended to URL in the email content"
516
  msgstr ""
 
517
 
518
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
519
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -523,36 +960,33 @@ msgstr ""
523
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
524
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
525
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
526
  msgid "Email content"
527
  msgstr "E-Mail-Inhalt"
528
 
529
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
530
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
531
- #: includes/customizer/class-wc-email-customizer.php:413
532
- #: includes/customizer/class-wc-failure-email-customizer.php:381
533
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
534
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
535
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
536
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
537
- msgid "Available placeholders"
538
- msgstr ""
539
- "Verfügbare Platzhalter\n"
540
-
541
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
542
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
543
- #: includes/customizer/class-wc-email-customizer.php:446
544
- #: includes/customizer/class-wc-failure-email-customizer.php:428
545
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
546
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
547
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
548
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
549
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
550
  msgid "Please select order to preview."
551
  msgstr ""
 
552
 
553
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
554
  msgid "Your order #{order_number} has been delivered"
555
  msgstr ""
 
556
 
557
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
558
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -583,51 +1017,45 @@ msgstr ""
583
  "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
584
 
585
  #: includes/customizer/class-wc-email-customizer.php:201
586
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
587
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
588
  msgid "Please select a order..."
589
  msgstr ""
590
  "Bitte wählen Sie eine Bestellung aus ...\n"
591
 
592
- #: includes/customizer/class-wc-email-customizer.php:243
593
- #: includes/customizer/class-wc-email-customizer.php:266
594
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
595
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
596
- msgid "Available variables: {site_title}, {order_number}"
597
- msgstr ""
598
-
599
- #: includes/customizer/class-wc-email-customizer.php:289
600
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
601
- msgid ""
602
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
603
- "{customer_last_name}, {customer_username}, {order_number}"
604
- msgstr ""
605
-
606
- #: includes/customizer/class-wc-email-customizer.php:308
607
  msgid "Display tracking details"
608
  msgstr ""
 
609
 
610
- #: includes/customizer/class-wc-email-customizer.php:324
611
  msgid "Display order details"
612
  msgstr ""
 
613
 
614
- #: includes/customizer/class-wc-email-customizer.php:341
615
  msgid "Display Shipping Address"
616
  msgstr ""
 
617
 
618
- #: includes/customizer/class-wc-email-customizer.php:358
619
  msgid "Display Billing Address"
620
  msgstr ""
 
621
 
622
- #: includes/customizer/class-wc-email-customizer.php:375
623
  msgid "Enable Google Analytics tracking"
624
  msgstr ""
 
625
 
626
- #: includes/customizer/class-wc-email-customizer.php:393
627
  msgid ""
628
  "This will be appended to URL in the email content – e.g. "
629
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
630
  msgstr ""
 
 
631
 
632
  #: includes/customizer/class-wc-failure-email-customizer.php:123
633
  msgid "Your order #{order_number} is Failed Attempt"
@@ -715,202 +1143,297 @@ msgstr ""
715
  "Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
716
 
717
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
718
- #: includes/customizer/class-wc-tracking-info-customizer.php:364
719
- #: templates/emails/tracking-info.php:132
720
- #: templates/myaccount/tracking-info.php:91
721
  msgid "Provider"
722
  msgstr "Anbieter"
723
 
724
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
725
- #: includes/customizer/class-wc-tracking-info-customizer.php:386
726
- #: templates/emails/tracking-info.php:156
727
- #: templates/myaccount/tracking-info.php:113
728
  msgid "Tracking Number"
729
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
730
 
731
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
732
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
733
  msgid "Shipped Date"
734
  msgstr "Versanddatum"
735
 
736
- #: includes/customizer/class-wc-tracking-info-customizer.php:179
737
- msgid ""
738
- "select from last 20 orders one order that you added tracking info in order "
739
- "to preview and design the tracking info table."
740
  msgstr ""
741
- "Wählen Sie aus den letzten 20 Bestellungen eine Bestellung aus, die Sie mit "
742
- "Tracking-Informationen versehen haben, um die Tracking-Informationstabelle "
743
- "in der Vorschau anzuzeigen und zu gestalten.\n"
744
 
745
- #: includes/customizer/class-wc-tracking-info-customizer.php:198
746
- #: includes/views/admin_options_settings.php:15
747
- #: includes/views/admin_options_trackship_integration.php:82
748
- msgid "General Settings"
749
- msgstr "Allgemeine Einstellungen"
750
-
751
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
752
  msgid "Tracking Display Position"
753
  msgstr "Verfolgung der Anzeigeposition"
754
 
755
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
756
  msgid "Before Order Details"
757
  msgstr "Vor der Bestellung Details"
758
 
759
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
760
  msgid "After Order Details"
761
  msgstr "Nach Auftragsdetails"
762
 
763
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
764
- msgid "Main Header text"
765
- msgstr "Haupt-Header-Text"
 
766
 
767
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
768
  msgid "Tracking Information"
769
  msgstr "Tracking-Informationen"
770
 
771
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
772
  msgid "Additional text after header"
773
  msgstr "Zusätzlicher Text nach Kopfzeile"
774
 
775
- #: includes/customizer/class-wc-tracking-info-customizer.php:276
776
- msgid "Table Content"
 
 
 
 
 
 
777
  msgstr ""
 
 
 
 
 
 
778
 
779
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
780
- msgid "Display Shipment Provider image"
781
- msgstr "Bild des Versandanbieters anzeigen"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
782
 
783
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
784
- msgid "Hide date"
785
- msgstr "Datum ausblenden"
 
786
 
787
- #: includes/customizer/class-wc-tracking-info-customizer.php:325
788
- msgid "Table Header"
789
  msgstr ""
 
790
 
791
- #: includes/customizer/class-wc-tracking-info-customizer.php:340
792
- msgid "Hide Header"
793
  msgstr ""
 
794
 
795
- #: includes/customizer/class-wc-tracking-info-customizer.php:357
796
- msgid "Provider Header Text"
797
- msgstr "Anbieterkopfzeilentext"
 
798
 
799
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
800
- msgid "Tracking Number Header Text"
801
- msgstr "Tracking-Nummer-Header-Text"
 
802
 
803
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
804
- msgid "Shipped Date Header Text"
805
- msgstr "Versanddatum Header Text"
 
806
 
807
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
808
  msgid "Track Label"
809
  msgstr "Track Label"
810
 
811
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
812
- msgid "Track Header Text"
813
- msgstr "Kopfzeilentext verfolgen"
 
814
 
815
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
816
- msgid "Table header font size"
817
- msgstr "Schriftgröße der Tabellenüberschrift"
 
818
 
819
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
820
- msgid "Table header font color"
821
- msgstr "Schriftfarbe der Tabellenüberschrift"
 
822
 
823
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
824
- msgid "Table Design"
825
  msgstr ""
826
- "Tisch Design\n"
827
 
828
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
829
  msgid "Padding"
830
  msgstr "Polsterung"
831
 
832
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
833
  msgid "Background color"
834
  msgstr ""
835
  "Hintergrundfarbe\n"
836
 
837
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
838
  msgid "Border color"
839
  msgstr "Randfarbe"
840
 
841
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
842
  msgid "Border size"
843
  msgstr ""
844
  "Rahmengrösse\n"
845
 
846
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
847
- msgid "Table text align"
848
- msgstr "Tabellentext ausrichten"
 
849
 
850
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
851
- msgid "Table content font size"
852
- msgstr "Schriftgröße des Tabelleninhalts"
 
853
 
854
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
855
- msgid "Table content font color"
856
- msgstr "Schriftfarbe des Tabelleninhalts"
 
857
 
858
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
859
  msgid "Content line height"
860
  msgstr "Höhe der Inhaltszeile"
861
 
862
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
863
  msgid "Content font weight"
864
  msgstr ""
865
  "Schriftgröße des Inhalts\n"
866
 
867
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
868
- msgid "Track Button Design"
869
  msgstr ""
 
870
 
871
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
872
- msgid "Track Link Font Color"
873
- msgstr "Track Link-Schriftfarbe"
 
874
 
875
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
876
- msgid "Track Link Background Color"
877
- msgstr "Track Link Hintergrundfarbe"
878
 
879
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
880
- msgid "Track link Border"
881
- msgstr "Track Link Grenze"
 
 
 
 
 
882
 
883
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
884
- msgid "Your {site_title} order is now partial shipped"
885
  msgstr ""
 
886
 
887
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
888
  msgid ""
889
  "Hi there. we thought you'd like to know that your recent order from "
890
- "{site_title} has been Partial Shipped."
891
  msgstr ""
 
 
892
 
893
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
894
- msgid "Enable Partial Shipped order status email"
 
 
 
 
 
 
 
 
 
 
 
 
895
  msgstr ""
 
 
 
 
 
 
 
 
896
 
897
  #: includes/emails/class-shipment-delivered-email.php:32
898
  msgid "Delivered order"
899
  msgstr ""
 
900
 
901
  #: includes/emails/class-shipment-delivered-email.php:33
902
  msgid ""
903
  "Order delivered emails are sent to customers when their orders are marked "
904
  "delivered and usually indicate that their orders have been shipped."
905
  msgstr ""
 
 
 
906
 
907
- #: includes/emails/class-shipment-delivered-email.php:279
908
  msgid "Click Here"
909
  msgstr ""
 
910
 
911
- #: includes/emails/class-shipment-delivered-email.php:280
912
  msgid "Edit in customizer"
913
  msgstr ""
 
914
 
915
  #: includes/views/admin_options_bulk_upload.php:10
916
  msgid "Upload CSV"
@@ -925,8 +1448,8 @@ msgstr ""
925
  "Tracking-Informationen hinzugefügt)"
926
 
927
  #: includes/views/admin_options_bulk_upload.php:29
928
- #: includes/views/admin_options_shipping_provider.php:119
929
- #: includes/views/admin_options_shipping_provider.php:153
930
  msgid "Upload"
931
  msgstr "Hochladen"
932
 
@@ -938,155 +1461,274 @@ msgstr "Einstellungen gespeichert."
938
  msgid "Upload Progress - "
939
  msgstr "Upload-Fortschritt -"
940
 
941
- #: includes/views/admin_options_bulk_upload.php:45
942
  msgid "Sample CSV"
943
  msgstr ""
 
944
 
945
- #: includes/views/admin_options_bulk_upload.php:50
946
  msgid "You can download an example of the csv file:"
947
  msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
948
 
949
- #: includes/views/admin_options_bulk_upload.php:53
950
  msgid "Download sample csv file"
951
  msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
952
 
953
- #: includes/views/admin_options_bulk_upload.php:58
954
  msgid ""
955
  "For detailed instructions on how to upload tracking info in bulk, see our"
956
  msgstr ""
957
  "For detailed instructions on how to upload tracking info in bulk, see our"
958
 
 
 
 
 
 
959
  #: includes/views/admin_options_settings.php:26
960
- #: includes/views/admin_options_settings.php:74
961
- #: includes/views/admin_options_settings.php:100
962
- #: includes/views/admin_options_trackship_integration.php:93
963
- #: includes/views/admin_options_trackship_integration.php:124
964
  msgid "Save Changes"
965
  msgstr ""
 
966
 
967
  #: includes/views/admin_options_settings.php:40
968
  msgid "Tracking Info Display"
969
  msgstr ""
 
970
 
971
  #: includes/views/admin_options_settings.php:49
972
  msgid "You can customize the tracking info display on emails and my account"
973
  msgstr ""
 
 
974
 
975
  #: includes/views/admin_options_settings.php:52
976
  msgid "Launch Customizer"
977
  msgstr ""
 
978
 
979
  #: includes/views/admin_options_settings.php:62
980
- msgid "Delivered Order Status"
981
- msgstr "Status der gelieferten Bestellung"
982
-
983
- #: includes/views/admin_options_settings.php:88
984
- msgid "Partial Shipped Order Status"
985
  msgstr ""
 
986
 
987
  #: includes/views/admin_options_settings.php:94
988
- #, php-format
989
- msgid ""
990
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
991
- "Shipped\", when you deactivate the plugin, you must register this order "
992
- "status in function.php in order to see these orders in the orders admin. You "
993
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
994
- "php here or you can manually change all your \"partial-shipped\" order to "
995
- "\"completed\" before deactivating the plugin."
 
 
 
 
 
 
 
 
 
996
  msgstr ""
 
997
 
998
  #: includes/views/admin_options_shipping_provider.php:12
999
- #: includes/views/admin_options_shipping_provider.php:23
 
 
1000
  msgid "Active"
1001
- msgstr ""
1002
 
1003
  #: includes/views/admin_options_shipping_provider.php:13
1004
- #: includes/views/admin_options_shipping_provider.php:23
1005
  msgid "Inactive"
1006
- msgstr ""
1007
 
1008
  #: includes/views/admin_options_shipping_provider.php:14
1009
  msgid "Custom"
 
 
 
 
1010
  msgstr ""
 
1011
 
1012
- #: includes/views/admin_options_shipping_provider.php:21
1013
- msgid "Add Custom Provider"
1014
  msgstr ""
 
1015
 
1016
- #: includes/views/admin_options_shipping_provider.php:22
1017
- #: includes/views/admin_options_shipping_provider.php:170
1018
  #: includes/views/admin_options_shipping_provider.php:177
 
1019
  msgid "Sync Shipping Providers"
1020
  msgstr ""
 
1021
 
1022
- #: includes/views/admin_options_shipping_provider.php:23
1023
- msgid "Reset"
1024
- msgstr ""
1025
-
1026
- #: includes/views/admin_options_shipping_provider.php:27
1027
- msgid "Search by provider / country"
1028
- msgstr ""
1029
-
1030
- #: includes/views/admin_options_shipping_provider.php:95
1031
- #, php-format
1032
- msgid "You don't have any %s shipping providers."
1033
- msgstr "Sie haben keine% s Versandanbieter."
1034
-
1035
- #: includes/views/admin_options_shipping_provider.php:101
1036
  msgid "Add Custom Shipping Provider"
1037
  msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1038
 
1039
- #: includes/views/admin_options_shipping_provider.php:108
1040
- #: includes/views/admin_options_shipping_provider.php:142
1041
  msgid "Shipping Country"
1042
  msgstr ""
 
1043
 
1044
- #: includes/views/admin_options_shipping_provider.php:109
1045
- #: includes/views/admin_options_shipping_provider.php:143
1046
  msgid "Global"
 
 
 
 
 
1047
  msgstr ""
 
1048
 
1049
- #: includes/views/admin_options_shipping_provider.php:135
1050
  msgid "Edit Custom Shipping Provider"
1051
  msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
1052
 
1053
- #: includes/views/admin_options_shipping_provider.php:171
1054
  msgid ""
1055
  "Syncing the shipping providers list add or updates the pre-set shipping "
1056
  "providers and will not effect custom shipping providers."
1057
  msgstr ""
 
 
 
1058
 
1059
- #: includes/views/admin_options_shipping_provider.php:173
1060
  msgid "Providers Added"
1061
  msgstr "Anbieter hinzugefügt"
1062
 
1063
- #: includes/views/admin_options_shipping_provider.php:174
1064
  msgid "Providers Updated"
1065
  msgstr "Anbieter aktualisiert"
1066
 
1067
- #: includes/views/admin_options_shipping_provider.php:175
1068
  msgid "Providers Deleted"
1069
  msgstr "Anbieter gelöscht"
1070
 
1071
- #: includes/views/admin_options_trackship_integration.php:107
 
1072
  msgid "Tracking Page"
1073
  msgstr "Tracking-Seite"
1074
 
1075
- #: includes/views/admin_options_trackship_integration.php:117
1076
- msgid "Click to preview the tracking page"
1077
- msgstr "Klicken Sie hier, um eine Vorschau der Tracking-Seite anzuzeigen"
 
1078
 
1079
- #: includes/views/admin_options_trackship_integration.php:118
1080
- msgid "PLEASE NOTE - make sure to save your settings before preview."
 
 
 
 
 
 
 
 
 
 
1081
  msgstr ""
1082
- "BITTE BEACHTEN SIE - Stellen Sie sicher, dass Sie Ihre Einstellungen vor der "
1083
- "Vorschau speichern."
1084
 
1085
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1086
  msgid "Shipment Status Notifications "
1087
  msgstr "Benachrichtigungen zum Sendungsstatus"
1088
 
1089
- #: includes/views/admin_options_trackship_integration.php:163
1090
  msgid ""
1091
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1092
  "the way."
@@ -1094,23 +1736,23 @@ msgstr ""
1094
  "Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
1095
  "Sendung ist unterwegs."
1096
 
1097
- #: includes/views/admin_options_trackship_integration.php:177
1098
  msgid "Shipment is returned to sender"
1099
  msgstr "Die Sendung wird an den Absender zurückgeschickt"
1100
 
1101
- #: includes/views/admin_options_trackship_integration.php:191
1102
  msgid "The shipment is ready to pickup."
1103
  msgstr "Die Sendung ist zur Abholung bereit."
1104
 
1105
- #: includes/views/admin_options_trackship_integration.php:204
1106
  msgid "Carrier is about to deliver the shipment"
1107
  msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
1108
 
1109
- #: includes/views/admin_options_trackship_integration.php:218
1110
  msgid "The shipment was delivered successfully"
1111
  msgstr "Die Sendung wurde erfolgreich zugestellt"
1112
 
1113
- #: includes/views/admin_options_trackship_integration.php:219
1114
  msgid ""
1115
  "You already have delivered email enabled, to enable this email you'll need "
1116
  "to disable the order status delivered in settings."
@@ -1119,7 +1761,7 @@ msgstr ""
1119
  "aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
1120
  "deaktivieren."
1121
 
1122
- #: includes/views/admin_options_trackship_integration.php:233
1123
  msgid ""
1124
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1125
  "will try to deliver the package again."
@@ -1128,15 +1770,10 @@ msgstr ""
1128
  "Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
1129
  "zuzustellen."
1130
 
1131
- #: includes/views/admin_options_tools.php:14
1132
- msgid "Get Shipment Status"
1133
- msgstr ""
1134
-
1135
- #: includes/views/admin_options_tools.php:23
1136
- msgid ""
1137
- "You can send all your orders from the last 30 days to get shipment status "
1138
- "from TrackShip:"
1139
- msgstr ""
1140
 
1141
  #. %s: Order ID.
1142
  #: templates/emails/wcast-email-order-details.php:47
@@ -1145,9 +1782,25 @@ msgid "Order number: %s"
1145
  msgstr ""
1146
  "Bestellnummer:% s\n"
1147
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1148
  #. Name of the plugin
1149
  msgid "Advanced Shipment Tracking for WooCommerce"
1150
  msgstr ""
 
1151
 
1152
  #. Description of the plugin
1153
  msgid ""
@@ -1156,7 +1809,8 @@ msgid ""
1156
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1157
  "order complete email."
1158
  msgstr ""
1159
-
1160
- #. Author of the plugin
1161
- msgid "zorem"
1162
- msgstr ""
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:08+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\n"
8
  "Language-Team: German\n"
9
  "Language: de_DE\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.2"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
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:254
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:465
33
+ #: includes/views/admin_options_settings.php:190
34
  #, php-format
35
  msgid ""
36
+ "<strong>Note:</strong> - If you use the custom order status, when you "
37
+ "deactivate the plugin, you must register the order status, otherwise these "
38
+ "orders will not display on your orders admin. You can find more information "
39
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
40
+ "php here."
41
+ msgstr ""
42
+ "Hinweis: - Wenn Sie den benutzerdefinierten Bestellstatus verwenden und das "
43
+ "Plug-in deaktivieren, müssen Sie den Bestellstatus registrieren. Andernfalls "
44
+ "werden diese Bestellungen nicht in Ihrem Bestelladministrator angezeigt. "
45
+ "Weitere Informationen und das Code-Snippet zur Verwendung in functions.php "
46
+ "finden Sie hier.\n"
47
+
48
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
49
+ msgid "Shipment status"
50
+ msgstr "Versandstatus"
51
+
52
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
53
+ #: includes/class-wc-advanced-shipment-welcome.php:310
54
+ msgid ""
55
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
56
+ "100 orders."
57
  msgstr ""
58
+ "Der Status \"Sendung abrufen\" ist jeweils auf 100 Bestellungen begrenzt. "
59
+ "Wählen Sie bis zu 100 Bestellungen aus.\n"
60
 
61
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
62
+ #: includes/class-wc-advanced-shipment-welcome.php:343
63
+ msgid "Data saved successfully."
64
+ msgstr "Daten erfolgreich gespeichert."
65
+
66
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
67
+ #: includes/class-wc-advanced-shipment-welcome.php:344
68
+ msgid "Really delete this entry? This will not be undo."
69
+ msgstr "Diesen Eintrag wirklich löschen? Dies wird nicht rückgängig gemacht."
70
+
71
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
72
+ #: includes/class-wc-advanced-shipment-welcome.php:345
73
+ msgid "You can upload only csv file."
74
+ msgstr "Sie können nur eine CSV-Datei hochladen."
75
+
76
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
77
+ #: includes/class-wc-advanced-shipment-welcome.php:346
78
+ msgid "This browser does not support HTML5."
79
+ msgstr "Dieser Browser unterstützt kein HTML5."
80
+
81
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
82
+ #: includes/class-wc-advanced-shipment-welcome.php:347
83
+ msgid "Please upload a valid CSV file."
84
+ msgstr "Laden Sie eine gültige CSV-Datei hoch."
85
+
86
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
87
+ msgid "Shipping Providers"
88
+ msgstr ""
89
+ "Versandanbieter\n"
90
+
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
92
+ msgid "Bulk Upload"
93
+ msgstr ""
94
+ "Bulk-Upload\n"
95
+
96
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
97
+ msgid "Add-ons"
98
+ msgstr ""
99
+ "Add-Ons\n"
100
+
101
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
102
+ #: includes/class-wc-advanced-shipment-welcome.php:222
103
+ #: includes/views/admin_options_bulk_upload.php:63
104
+ #: includes/views/admin_trackship_dashboard.php:51
105
+ msgid "Documentation"
106
+ msgstr "Dokumentation"
107
+
108
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
109
+ msgid "How to Video"
110
+ msgstr ""
111
+ "Video erstellen\n"
112
+
113
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
114
+ msgid "Custom Statuses"
115
+ msgstr ""
116
+ "Benutzerdefinierte Status\n"
117
+
118
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
119
+ #: includes/class-wc-advanced-shipment-welcome.php:188
120
+ #: includes/views/zorem_admin_sidebar.php:29
121
+ #: includes/views/admin_options_addons.php:46
122
+ #: includes/views/admin_trackship_dashboard.php:17
123
+ msgid "Connected"
124
+ msgstr ""
125
+ "In Verbindung gebracht\n"
126
+
127
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
128
+ #, php-format
129
+ msgid "%s %s orders with tracking info"
130
+ msgstr ""
131
+ "% s% s Bestellungen mit Tracking-Informationen\n"
132
+
133
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
137
+ #: includes/views/admin_options_tools.php:14
138
+ msgid "Get Shipment Status"
139
+ msgstr ""
140
+ "Sendungsstatus abrufen\n"
141
+
142
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
143
+ #, php-format
144
+ msgid "%s %s orders with “TrackShip balance is 0”"
145
+ msgstr ""
146
+ "% s% s Bestellungen mit \"TrackShip-Guthaben ist 0\"\n"
147
+
148
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
149
+ #, php-format
150
+ msgid "%s %s orders with “Please do connection”"
151
+ msgstr ""
152
+ "% s% s Bestellungen mit \"Bitte Verbindung herstellen\"\n"
153
+
154
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
155
+ msgid "Enable/Disable"
156
+ msgstr ""
157
+ "Aktivieren/deaktivieren\n"
158
+
159
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
160
+ msgid "Set order status Delivered when order is delivered"
161
+ msgstr ""
162
+ "Setzt den Bestellstatus Ausgeliefert, wenn die Bestellung ausgeliefert wird\n"
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
165
+ msgid ""
166
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
167
+ "for the tracking page to work."
168
+ msgstr ""
169
+ "Sie müssen der ausgewählten Seite den Shortcode [wcast-track-order] "
170
+ "hinzufügen, damit die Tracking-Seite funktioniert."
171
+
172
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
173
+ #: includes/views/admin_tracking_page_settings.php:24
174
+ msgid "Select Tracking Page"
175
+ msgstr ""
176
+ "Wählen Sie Tracking-Seite\n"
177
+
178
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
179
+ msgid "Use the tracking page in the customer email/my account tracking link"
180
+ msgstr ""
181
+ "Verwenden Sie die Tracking-Seite in der Kunden-E-Mail / meinem Konto-"
182
+ "Tracking-Link\n"
183
+
184
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
185
+ #: includes/views/admin_tracking_page_settings.php:49
186
+ msgid "Tracking Page Layout"
187
+ msgstr ""
188
+ "Seitenlayout verfolgen\n"
189
+
190
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
191
+ msgid "Select primary color for tracking page"
192
+ msgstr ""
193
+ "Wählen Sie die Primärfarbe für die Verfolgungsseite aus\n"
194
+
195
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
196
+ msgid "Select content border color for tracking page"
197
+ msgstr ""
198
+ "Wählen Sie die Farbe des Inhaltsrahmens für die Verfolgungsseite aus\n"
199
+
200
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
201
+ #: includes/views/admin_tracking_page_settings.php:83
202
+ msgid "Hide Shipping Provider Image"
203
+ msgstr ""
204
+ "Bild des Versandanbieters ausblenden\n"
205
+
206
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
207
+ msgid "Hide tracking events details"
208
+ msgstr ""
209
+ "Details zu Verfolgungsereignissen ausblenden\n"
210
+
211
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
212
+ #: includes/views/admin_tracking_page_settings.php:93
213
+ msgid "Remove TrackShip branding"
214
+ msgstr ""
215
+ "Entfernen Sie das TrackShip-Branding\n"
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
218
+ msgid "License Key"
219
+ msgstr ""
220
+ "Lizenzschlüssel\n"
221
+
222
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
223
+ msgid "a Valid license is required to receive updates and support"
224
+ msgstr ""
225
+ "Für den Erhalt von Updates und Support ist eine gültige Lizenz erforderlich"
226
+
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
228
+ msgid "\">click here</a> to activate it."
229
+ msgstr ""
230
+ "\"> klicke hier um es zu aktivieren.\n"
231
+
232
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
233
+ #: includes/class-wc-advanced-shipment-tracking.php:185
234
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
235
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
236
+ msgid "Shipped"
237
+ msgstr "Versendet"
238
+
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
240
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
241
+ msgstr ""
242
+ "Standard \"Als versandt markieren\"\n"
243
+
244
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
245
+ msgid ""
246
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
247
+ "will be selected by default when adding tracking info to orders."
248
+ msgstr ""
249
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu "
250
+ "Bestellungen standardmäßig die Option \"Als versandt markieren\" ausgewählt "
251
+ "wird.\n"
252
+
253
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
254
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
255
+ msgstr ""
256
+ "Standard \"Als erledigt markieren\"\n"
257
+
258
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
259
+ msgid ""
260
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
261
+ "will be selected by default when adding tracking info to orders."
262
+ msgstr ""
263
+ "Dies bedeutet, dass beim Hinzufügen von Tracking-Informationen zu Aufträgen "
264
+ "standardmäßig die Option \"Als erledigt markieren\" ausgewählt wird.\n"
265
+
266
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
267
+ msgid "Rename the “Completed” Order status to “Shipped”"
268
+ msgstr ""
269
+ "Benennen Sie den Auftragsstatus \"Abgeschlossen\" in \"Versandt\" um.\n"
270
+
271
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
272
+ msgid "On which order status email to include the shipment tracking info?"
273
+ msgstr ""
274
+ "In welcher Auftragsstatus-E-Mail werden die Sendungsverfolgungsinformationen "
275
+ "angegeben?\n"
276
+
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
278
+ msgid "Show tracking info in Invoice"
279
+ msgstr ""
280
+ "Tracking-Informationen in Rechnung anzeigen\n"
281
+
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
283
+ msgid "Show tracking info in Packing Slip"
284
+ msgstr ""
285
+ "Tracking-Informationen im Packzettel anzeigen\n"
286
+
287
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
288
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
289
+ #: includes/customizer/class-wcast-customizer.php:92
290
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
291
+ #: includes/views/admin_status_notifications.php:25
292
+ msgid "In Transit"
293
+ msgstr ""
294
+ "Im Transit\n"
295
+
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
297
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
298
+ #: includes/customizer/class-wcast-customizer.php:84
299
+ msgid "Pre Transit"
300
+ msgstr ""
301
+ "Pre Transit\n"
302
+
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
305
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
306
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
307
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
308
+ #: includes/customizer/class-wcast-customizer.php:122
309
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
310
+ #: includes/views/admin_options_settings.php:80
311
+ #: includes/views/admin_status_notifications.php:80
312
+ msgid "Delivered"
313
+ msgstr "Geliefert"
314
+
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
316
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
317
+ #: includes/customizer/class-wcast-customizer.php:114
318
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
319
+ #: includes/views/admin_status_notifications.php:66
320
+ msgid "Out For Delivery"
321
+ msgstr ""
322
+ "Raus zur Lieferung\n"
323
+
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
325
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
326
+ #: includes/customizer/class-wcast-customizer.php:107
327
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
328
+ #: includes/views/admin_status_notifications.php:53
329
+ msgid "Available For Pickup"
330
+ msgstr ""
331
+ "Zur Abholung bereit\n"
332
+
333
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
334
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
335
+ #: includes/customizer/class-wcast-customizer.php:100
336
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
337
+ #: includes/views/admin_status_notifications.php:39
338
+ msgid "Return To Sender"
339
+ msgstr ""
340
+ "Zurück an den Absender\n"
341
+
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
343
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
344
+ #: includes/customizer/class-wcast-customizer.php:130
345
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
346
+ #: includes/views/admin_status_notifications.php:95
347
+ msgid "Failed Attempt"
348
+ msgstr "Misslungener Versuch"
349
+
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
351
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
352
+ msgid "Unknown"
353
+ msgstr "Unbekannt"
354
+
355
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
356
+ msgid "Pending TrackShip"
357
+ msgstr ""
358
+ "Ausstehendes TrackShip\n"
359
+
360
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
362
+ msgid "Invalid Tracking Number"
363
+ msgstr ""
364
+ "Ungültige Tracking-Nummer\n"
365
+
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
367
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
368
+ msgid "Carrier Unsupported"
369
+ msgstr ""
370
+ "Träger nicht unterstützt\n"
371
+
372
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
373
+ msgid "Invalid User Key"
374
+ msgstr ""
375
+ "Ungültiger Benutzerschlüssel\n"
376
+
377
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
378
+ msgid "Wrong Shipping Provider"
379
+ msgstr ""
380
+ "Falscher Versandanbieter\n"
381
+
382
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
383
+ msgid "Shipped Order"
384
+ msgstr "Versandauftrag"
385
+
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
387
+ msgid "Mark order as delivered"
388
+ msgstr ""
389
+ "Bestellung als geliefert markieren\n"
390
+
391
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
392
+ msgid "Add Tracking"
393
+ msgstr ""
394
+ "Tracking hinzufügen\n"
395
+
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
397
+ msgid "Change order status to"
398
+ msgstr ""
399
+ "Ändern Sie den Auftragsstatus in\n"
400
+
401
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
402
+ #: includes/views/admin_options_shipping_provider.php:96
403
+ #, php-format
404
+ msgid "You don't have any %s shipping providers."
405
+ msgstr "Sie haben keine% s Versandanbieter."
406
+
407
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
408
+ #: includes/views/admin_options_shipping_provider.php:27
409
+ msgid "Add Custom Provider"
410
+ msgstr ""
411
+ "Benutzerdefinierten Anbieter hinzufügen\n"
412
+
413
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
414
+ msgid "Filter by shipment status"
415
+ msgstr ""
416
+ "Filtern nach Sendungsstatus\n"
417
+
418
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
419
  msgid ""
420
  "To track your order please enter your Order ID in the box below and press "
421
  "the \"Track\" button. This was given to you on your receipt and in the "
426
  "auf Ihrer Quittung und in der Bestätigungs-E-Mail, die Sie hätten erhalten "
427
  "sollen, mitgeteilt.\n"
428
 
429
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
430
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
431
  msgid "Found in your order confirmation email."
432
  msgstr ""
433
  "Gefunden in Ihrer Auftragsbestätigungs-E-Mail.\n"
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
436
  msgid "Order Email"
437
  msgstr ""
438
  "E-Mail bestellen\n"
439
 
440
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
441
+ #: includes/class-wc-advanced-shipment-tracking.php:728
442
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
443
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
444
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
445
+ #: templates/emails/tracking-info.php:256
446
+ #: templates/myaccount/tracking-info.php:191
447
  msgid "Track"
448
+ msgstr "Verfolgen"
449
 
450
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
451
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
452
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
453
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
454
  #, php-format
455
  msgid "Shipment - %s (out of %s)"
456
  msgstr ""
457
  "Versand -% s (von% s)\n"
458
 
459
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
460
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
461
+ msgid "Tracking details not found in TrackShip"
462
+ msgstr "Tracking-Details wurden in TrackShip nicht gefunden"
463
+
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
465
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
466
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
467
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
468
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
469
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
470
+ msgid "Est. Delivery Date"
471
+ msgstr ""
472
+ "Europäische Sommerzeit. Lieferdatum\n"
473
 
474
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
475
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
476
  msgid "Tracking Details"
477
  msgstr "Verfolgungsdetails"
478
 
479
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
480
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
481
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
482
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
483
  msgid "view more"
484
  msgstr "mehr sehen"
485
 
486
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
487
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
488
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
489
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
490
  msgid "view less"
491
  msgstr "weniger anzeigen"
492
 
 
 
 
 
 
 
 
 
 
493
  #: includes/class-wc-advanced-shipment-tracking.php:95
494
+ #: includes/class-wc-advanced-shipment-tracking.php:265
495
  #: includes/customizer/class-wcast-customizer.php:31
496
  msgid "Shipment Tracking"
497
  msgstr "Sendungsverfolgung"
498
 
499
  #: includes/class-wc-advanced-shipment-tracking.php:184
500
+ #: includes/class-wc-advanced-shipment-tracking.php:387
501
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
502
  msgid "Mark as Shipped?"
503
+ msgstr "Als versandt markieren?"
 
 
 
 
504
 
505
  #: includes/class-wc-advanced-shipment-tracking.php:187
506
+ #: includes/class-wc-advanced-shipment-tracking.php:390
507
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
508
  msgid "Mark as Completed?"
509
+ msgstr "Als erledigt markieren?"
510
 
511
  #: includes/class-wc-advanced-shipment-tracking.php:188
512
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
513
  msgid "Completed"
514
+ msgstr "vollendet, fertiggestellt"
515
 
516
  #: includes/class-wc-advanced-shipment-tracking.php:195
517
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
518
  msgid "Add Tracking Number"
519
+ msgstr "Tracking-Nummer hinzufügen"
520
 
521
+ #: includes/class-wc-advanced-shipment-tracking.php:198
522
+ #: includes/class-wc-advanced-shipment-tracking.php:203
523
+ #: includes/class-wc-advanced-shipment-tracking.php:408
524
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
525
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
526
  msgid "Provider:"
527
  msgstr "Anbieter:"
528
 
529
+ #: includes/class-wc-advanced-shipment-tracking.php:223
530
+ #: includes/class-wc-advanced-shipment-tracking.php:446
531
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
532
  msgid "Tracking number:"
533
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode:"
534
 
535
+ #: includes/class-wc-advanced-shipment-tracking.php:227
536
+ #: includes/class-wc-advanced-shipment-tracking.php:454
537
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
538
  msgid "Date shipped:"
539
  msgstr "Lieferdatum:"
540
 
541
+ #: includes/class-wc-advanced-shipment-tracking.php:236
542
+ #: includes/class-wc-advanced-shipment-tracking.php:466
543
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
544
+ msgid "Mark order as:"
545
+ msgstr "Bestellung markieren als:"
546
 
547
+ #: includes/class-wc-advanced-shipment-tracking.php:239
548
+ #: includes/class-wc-advanced-shipment-tracking.php:469
549
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
 
 
 
 
550
  msgid "Partial Shipped"
551
+ msgstr "Teilweise versandt"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking.php:281
554
+ #: includes/class-wc-advanced-shipment-tracking.php:483
555
+ msgid "Track Shipment"
556
+ msgstr ""
557
+ "Sendung verfolgen\n"
558
 
559
  #. 1: shipping date
560
+ #: includes/class-wc-advanced-shipment-tracking.php:290
561
  #, php-format
562
  msgid "Shipped on %s"
563
  msgstr "Versand auf% s"
564
 
565
+ #: includes/class-wc-advanced-shipment-tracking.php:404
566
  msgid "Add Tracking Info"
567
  msgstr "Tracking-Info hinzufügen"
568
 
569
+ #: includes/class-wc-advanced-shipment-tracking.php:409
570
  msgid "Select Provider"
571
  msgstr "Wählen Sie Provider aus"
572
 
573
+ #: includes/class-wc-advanced-shipment-tracking.php:482
574
  msgid "Save Tracking"
575
  msgstr "Tracking speichern"
576
 
577
+ #: includes/class-wc-advanced-shipment-tracking.php:483
578
  msgid "Preview:"
579
  msgstr "Vorschau:"
580
 
581
+ #: includes/class-wc-advanced-shipment-tracking.php:702
582
  #, php-format
583
  msgid ""
584
  "Tracking info was deleted for tracking provider %s with tracking number %s"
585
  msgstr ""
586
+ "Die Tracking-Informationen wurden für den Tracking-Anbieter% s mit der "
587
+ "Tracking-Nummer% s gelöscht"
588
 
589
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
590
  #, php-format
591
  msgid "Order was shipped with %s and tracking number is: %s"
592
  msgstr ""
593
+ "Die Bestellung wurde mit% s verschickt und die Sendungsnummer lautet:% s"
594
 
595
  #: includes/class-wc-advanced-shipment-welcome.php:38
596
  #: includes/class-wc-advanced-shipment-welcome.php:39
597
  msgid "Welcome to Advanced Shipment Tracking"
598
+ msgstr "Willkommen bei Advanced Shipment Tracking"
599
 
600
  #: includes/class-wc-advanced-shipment-welcome.php:90
601
  #: includes/class-wc-advanced-shipment-welcome.php:129
602
  #: includes/class-wc-advanced-shipment-welcome.php:147
603
  msgid "Save and Continue"
604
+ msgstr "Speichern und fortfahren"
605
 
606
  #: includes/class-wc-advanced-shipment-welcome.php:177
607
+ #: includes/views/admin_trackship_dashboard.php:6
608
  msgid "Connection status"
609
+ msgstr "Verbindungsstatus"
610
 
611
  #: includes/class-wc-advanced-shipment-welcome.php:184
612
+ #: includes/views/admin_trackship_dashboard.php:13
613
  msgid "TrackShip Connection Status"
614
  msgstr "TrackShip-Verbindungsstatus"
615
 
 
 
 
 
 
 
616
  #: includes/class-wc-advanced-shipment-welcome.php:194
617
+ #: includes/views/admin_trackship_dashboard.php:23
618
  msgid "Trackers Balance"
619
  msgstr ""
620
+ "Tracker-Balance\n"
621
 
622
  #: includes/class-wc-advanced-shipment-welcome.php:202
623
+ #: includes/views/admin_trackship_dashboard.php:31
624
  msgid "Current Plan"
625
  msgstr ""
626
+ "Derzeitiger Plan\n"
627
 
628
  #: includes/class-wc-advanced-shipment-welcome.php:217
629
+ #: includes/views/admin_options_addons.php:33
630
+ #: includes/views/admin_trackship_dashboard.php:46
631
  msgid ""
632
  "You are now connected with TrackShip! TrackShip makes it effortless to "
633
  "automate your post shipping operations and get tracking and delivery status "
634
  "updates directly in the WooCommerce admin."
635
  msgstr ""
636
+ "Sie sind jetzt mit TrackShip verbunden! Mit TrackShip können Sie Ihre "
637
+ "Postversandvorgänge mühelos automatisieren und Statusaktualisierungen für "
638
+ "Sendungsverfolgung und Zustellung direkt im WooCommerce-Administrator "
639
+ "abrufen.\n"
 
 
 
640
 
641
  #: includes/class-wc-advanced-shipment-welcome.php:223
642
+ #: includes/views/admin_trackship_dashboard.php:52
643
  msgid "TrackShip Dashboard"
644
  msgstr ""
645
+ "TrackShip Dashboard\n"
646
 
647
  #: includes/class-wc-advanced-shipment-welcome.php:253
648
  msgid "Save"
649
+ msgstr "speichern"
650
+
651
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
652
+ #, php-format
653
+ msgid "Delivered <span class=\"count\">(%s)</span>"
654
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
655
+ msgstr[0] ""
656
+ "Geliefert <span class=\"count\">(%s)</span>\n"
657
+ msgstr[1] ""
658
+ "Geliefert <span class=\"count\">(%s)</span>\n"
659
+
660
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
661
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
662
+ #: includes/views/admin_options_settings.php:149
663
+ msgid "Updated Tracking"
664
  msgstr ""
665
+ "Aktualisiertes Tracking\n"
666
 
667
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
668
+ #, php-format
669
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
670
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
671
+ msgstr[0] ""
672
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
673
+ msgstr[1] ""
674
+ "Aktualisiertes Tracking <span class=\"count\">(%s)</span>\n"
675
+
676
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
677
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
678
+ #: includes/views/admin_options_settings.php:115
679
+ msgid "Partially Shipped"
680
  msgstr ""
681
+ "zum Teil versandt\n"
682
 
683
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
684
+ #, php-format
685
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
686
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
687
+ msgstr[0] ""
688
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
689
+ msgstr[1] ""
690
+ "Teilweise versandt <span class=\"count\">(%s)</span>\n"
691
 
692
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
693
+ msgid "Change status to delivered"
694
+ msgstr ""
695
+ "Ändern Sie den Status in geliefert\n"
696
 
697
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
698
+ msgid "Change status to Updated Tracking"
699
+ msgstr ""
700
+ "Ändern Sie den Status in \"Aktualisiertes Tracking\"\n"
701
 
702
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
703
+ msgid "Change status to Partially Shipped"
704
+ msgstr ""
705
+ "Ändern Sie den Status in Teilweise versandt\n"
706
 
707
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
708
+ #, php-format
709
+ msgid "Shipped <span class=\"count\">(%s)</span>"
710
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
711
+ msgstr[0] ""
712
+ "Versand <span class=\"count\">(%s)</span>\n"
713
+ msgstr[1] ""
714
+ "Versand <span class=\"count\">(%s)</span>\n"
715
+
716
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
717
+ msgid "Change status to shipped"
718
+ msgstr ""
719
+ "Ändern Sie den Status in \"Versand\"\n"
720
+
721
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
722
+ msgid "Resend delivered order notification"
723
+ msgstr ""
724
+ "Senden Sie die gelieferte Bestellbenachrichtigung erneut\n"
725
+
726
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
727
+ msgid "Shipment Providers"
728
+ msgstr ""
729
+ "Versandanbieter\n"
730
+
731
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
732
+ msgid "Shipment Status"
733
+ msgstr ""
734
+ "Versandstatus\n"
735
+
736
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
737
+ msgid "Tracking issues"
738
+ msgstr ""
739
+ "Verfolgung von Problemen\n"
740
+
741
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
742
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
743
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
744
+ msgid "data not available."
745
+ msgstr ""
746
+ "keine Daten verfügbar.\n"
747
+
748
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
749
+ msgid "View more on TrackShip"
750
+ msgstr ""
751
+ "Erfahren Sie mehr über TrackShip\n"
752
+
753
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
754
+ msgid "There are some issue with sync, Please Retry."
755
+ msgstr ""
756
+ "Es gibt ein Problem mit der Synchronisierung. Bitte versuchen Sie es erneut."
757
+ "\n"
758
+
759
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
760
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
761
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
762
+ msgid "view details"
763
+ msgstr ""
764
+ "Details anzeigen\n"
765
+
766
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
767
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
768
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
769
+ msgid "hide details"
770
+ msgstr ""
771
+ "Details ausblenden\n"
772
 
773
  #: includes/customizer/class-wcast-customizer.php:40
774
  msgid "Shipment Status Emails"
787
 
788
  #: includes/customizer/class-wcast-customizer.php:68
789
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
790
+ msgid "Partially Shipped status email"
791
  msgstr ""
792
+ "Teilweise versendete Status-E-Mail\n"
793
 
794
  #: includes/customizer/class-wcast-customizer.php:76
795
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
796
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
797
  msgstr ""
798
+ "Aktualisierte Tracking-Status-E-Mail\n"
 
 
 
 
 
 
 
799
 
800
+ #: includes/customizer/class-wcast-customizer.php:411
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
801
  msgid "Select order to preview"
802
  msgstr "Wählen Sie die Bestellung aus, um eine Vorschau anzuzeigen"
803
 
825
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
826
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
827
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
828
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
829
  msgid "This section lets you customize the Email Content."
830
  msgstr "In diesem Abschnitt können Sie den E-Mail-Inhalt anpassen."
831
 
840
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
841
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
842
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
843
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
844
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
845
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
846
  msgid "Preview order"
847
  msgstr "Vorschau der Bestellung"
848
 
856
  msgid "E.g. {customer.email}, admin@example.org"
857
  msgstr "Z.B. {customer.email}, admin@example.org"
858
 
859
+ #. %s: list of placeholders
860
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
861
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
862
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
863
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
864
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
865
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
866
+ #: includes/customizer/class-wc-email-customizer.php:243
867
+ #: includes/customizer/class-wc-email-customizer.php:266
868
+ #: includes/customizer/class-wc-email-customizer.php:289
869
+ #: includes/customizer/class-wc-email-customizer.php:414
870
  #: includes/customizer/class-wc-failure-email-customizer.php:231
871
  #: includes/customizer/class-wc-failure-email-customizer.php:253
872
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
873
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
874
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
875
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
876
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
877
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
878
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
879
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
880
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
881
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
882
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
883
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
884
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
885
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
886
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
887
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
888
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
889
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
890
+ #: includes/emails/class-shipment-delivered-email.php:256
891
+ #: includes/emails/class-shipment-delivered-email.php:265
892
+ msgid "Available variables:"
893
+ msgstr "Verfügbare Variablen:"
 
 
 
 
 
 
 
 
 
 
 
894
 
895
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
896
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
933
 
934
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
935
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
936
+ #: includes/customizer/class-wc-email-customizer.php:393
937
  #: includes/customizer/class-wc-failure-email-customizer.php:339
938
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
939
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
940
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
941
  msgid "Google Analytics link tracking"
942
  msgstr ""
943
+ "Google Analytics-Linkverfolgung\n"
944
 
945
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
946
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
947
  #: includes/customizer/class-wc-failure-email-customizer.php:340
948
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
949
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
950
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
951
  msgid "This will be appended to URL in the email content"
952
  msgstr ""
953
+ "Dies wird an die URL im E-Mail-Inhalt angehängt\n"
954
 
955
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
956
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
960
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
961
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
962
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
963
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
964
  msgid "Email content"
965
  msgstr "E-Mail-Inhalt"
966
 
967
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
968
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
969
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
970
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
971
+ #: includes/customizer/class-wc-email-customizer.php:447
972
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
973
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
974
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
975
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
976
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
977
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
978
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
979
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
980
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
981
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
 
982
  msgid "Please select order to preview."
983
  msgstr ""
984
+ "Bitte wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen.\n"
985
 
986
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
987
  msgid "Your order #{order_number} has been delivered"
988
  msgstr ""
989
+ "Ihre Bestellung Nr. {Order_number} wurde geliefert\n"
990
 
991
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
992
  #: includes/customizer/class-wc-email-customizer.php:132
1017
  "Aktivieren Sie die Status-E-Mail für die gelieferte Bestellung\n"
1018
 
1019
  #: includes/customizer/class-wc-email-customizer.php:201
1020
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1021
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1022
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1023
  msgid "Please select a order..."
1024
  msgstr ""
1025
  "Bitte wählen Sie eine Bestellung aus ...\n"
1026
 
1027
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1028
  msgid "Display tracking details"
1029
  msgstr ""
1030
+ "Tracking-Details anzeigen\n"
1031
 
1032
+ #: includes/customizer/class-wc-email-customizer.php:325
1033
  msgid "Display order details"
1034
  msgstr ""
1035
+ "Bestelldetails anzeigen\n"
1036
 
1037
+ #: includes/customizer/class-wc-email-customizer.php:342
1038
  msgid "Display Shipping Address"
1039
  msgstr ""
1040
+ "Lieferadresse anzeigen\n"
1041
 
1042
+ #: includes/customizer/class-wc-email-customizer.php:359
1043
  msgid "Display Billing Address"
1044
  msgstr ""
1045
+ "Rechnungsadresse anzeigen\n"
1046
 
1047
+ #: includes/customizer/class-wc-email-customizer.php:376
1048
  msgid "Enable Google Analytics tracking"
1049
  msgstr ""
1050
+ "Aktivieren Sie das Google Analytics-Tracking\n"
1051
 
1052
+ #: includes/customizer/class-wc-email-customizer.php:394
1053
  msgid ""
1054
  "This will be appended to URL in the email content – e.g. "
1055
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1056
  msgstr ""
1057
+ "Dies wird an die URL im E-Mail-Inhalt angehängt - z. utm_source = ast & "
1058
+ "utm_medium = email & utm_campaign = geliefert\n"
1059
 
1060
  #: includes/customizer/class-wc-failure-email-customizer.php:123
1061
  msgid "Your order #{order_number} is Failed Attempt"
1143
  "Aktivieren Sie die Sendungsstatus-E-Mail für die Rücksendung an den Absender"
1144
 
1145
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1146
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1147
+ #: templates/emails/tracking-info.php:203
1148
+ #: templates/myaccount/tracking-info.php:144
1149
  msgid "Provider"
1150
  msgstr "Anbieter"
1151
 
1152
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1154
+ #: templates/emails/tracking-info.php:232
1155
+ #: templates/myaccount/tracking-info.php:171
1156
  msgid "Tracking Number"
1157
  msgstr "Auftragsnummer, Frachtnummer, Sendungscode"
1158
 
1159
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1160
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1161
  msgid "Shipped Date"
1162
  msgstr "Versanddatum"
1163
 
1164
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1165
+ msgid "Select an order to preview and design the tracking info display."
 
 
1166
  msgstr ""
1167
+ "Wählen Sie eine Bestellung aus, um eine Vorschau anzuzeigen und die Anzeige "
1168
+ "der Tracking-Informationen zu gestalten.\n"
 
1169
 
1170
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
 
 
 
 
 
 
1171
  msgid "Tracking Display Position"
1172
  msgstr "Verfolgung der Anzeigeposition"
1173
 
1174
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1175
  msgid "Before Order Details"
1176
  msgstr "Vor der Bestellung Details"
1177
 
1178
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1179
  msgid "After Order Details"
1180
  msgstr "Nach Auftragsdetails"
1181
 
1182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1183
+ msgid "Tracking Header text"
1184
+ msgstr ""
1185
+ "Tracking-Header-Text\n"
1186
 
1187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1188
  msgid "Tracking Information"
1189
  msgstr "Tracking-Informationen"
1190
 
1191
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1192
  msgid "Additional text after header"
1193
  msgstr "Zusätzlicher Text nach Kopfzeile"
1194
 
1195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1196
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1197
+ msgid "Tracking display template"
1198
+ msgstr ""
1199
+ "Tracking-Display-Vorlage\n"
1200
+
1201
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1202
+ msgid "Select Template"
1203
  msgstr ""
1204
+ "Vorlage auswählen\n"
1205
+
1206
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1207
+ msgid "Table Layout"
1208
+ msgstr ""
1209
+ "Tabellenlayout\n"
1210
 
1211
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1212
+ msgid "Simple Layout Design"
1213
+ msgstr ""
1214
+ "Einfaches Layout Design\n"
1215
+
1216
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1217
+ msgid "Provider font size"
1218
+ msgstr ""
1219
+ "Provider-Schriftgröße\n"
1220
+
1221
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1222
+ msgid "Provider font color"
1223
+ msgstr ""
1224
+ "Provider-Schriftfarbe\n"
1225
+
1226
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1227
+ msgid "Show bottom border"
1228
+ msgstr ""
1229
+ "Zeige unteren Rand\n"
1230
+
1231
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1232
+ msgid "Bottom border color"
1233
+ msgstr ""
1234
+ "Farbe des unteren Randes\n"
1235
 
1236
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1237
+ msgid "Table layout Design"
1238
+ msgstr ""
1239
+ "Tabellenlayout Design\n"
1240
 
1241
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1242
+ msgid "Display shipping provider name"
1243
  msgstr ""
1244
+ "Name des Versandanbieters anzeigen\n"
1245
 
1246
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1247
+ msgid "Display shipping provider image"
1248
  msgstr ""
1249
+ "Bild des Versandanbieters anzeigen\n"
1250
 
1251
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1252
+ msgid "Hide the ship date"
1253
+ msgstr ""
1254
+ "Verstecken Sie das Versanddatum\n"
1255
 
1256
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1257
+ msgid "Use tracking number as a link"
1258
+ msgstr ""
1259
+ "Verwenden Sie die Tracking-Nummer als Link\n"
1260
 
1261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1262
+ msgid "Table Headers"
1263
+ msgstr ""
1264
+ "Tabellenüberschriften\n"
1265
 
1266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1267
+ msgid "Hide Table Headers"
1268
+ msgstr ""
1269
+ "Tabellenüberschriften ausblenden\n"
1270
+
1271
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1272
+ msgid "Provider header text"
1273
+ msgstr ""
1274
+ "Provider-Header-Text\n"
1275
+
1276
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1277
+ msgid "Tracking Number header text"
1278
+ msgstr ""
1279
+ "Tracking-Nummer-Header-Text\n"
1280
+
1281
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1282
+ msgid "Ship date header text"
1283
+ msgstr ""
1284
+ "Versanddatum Kopfzeilentext\n"
1285
+
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1287
  msgid "Track Label"
1288
  msgstr "Track Label"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1291
+ msgid "Track header text"
1292
+ msgstr ""
1293
+ "Verfolgen Sie den Header-Text\n"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1296
+ msgid "Headers font size"
1297
+ msgstr ""
1298
+ "Schriftgröße der Überschriften\n"
1299
 
1300
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1301
+ msgid "Headers font color"
1302
+ msgstr ""
1303
+ "Schriftfarbe der Überschriften\n"
1304
 
1305
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1306
+ msgid "Table Content"
1307
  msgstr ""
1308
+ "Tabelleninhalt\n"
1309
 
1310
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1311
  msgid "Padding"
1312
  msgstr "Polsterung"
1313
 
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1315
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1316
  msgid "Background color"
1317
  msgstr ""
1318
  "Hintergrundfarbe\n"
1319
 
1320
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1321
+ #: includes/views/admin_tracking_page_settings.php:72
1322
  msgid "Border color"
1323
  msgstr "Randfarbe"
1324
 
1325
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1326
  msgid "Border size"
1327
  msgstr ""
1328
  "Rahmengrösse\n"
1329
 
1330
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1331
+ msgid "Content Text align"
1332
+ msgstr ""
1333
+ "Inhalt Text ausrichten\n"
1334
 
1335
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1336
+ msgid "Content font color"
1337
+ msgstr ""
1338
+ "Schriftfarbe des Inhalts\n"
1339
 
1340
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1341
+ msgid "Content font size"
1342
+ msgstr ""
1343
+ "Schriftgröße des Inhalts\n"
1344
 
1345
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1346
  msgid "Content line height"
1347
  msgstr "Höhe der Inhaltszeile"
1348
 
1349
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1350
  msgid "Content font weight"
1351
  msgstr ""
1352
  "Schriftgröße des Inhalts\n"
1353
 
1354
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1355
+ msgid "Tracking Link"
1356
  msgstr ""
1357
+ "Tracking-Link\n"
1358
 
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1360
+ msgid "Font Color"
1361
+ msgstr ""
1362
+ "Schriftfarbe\n"
1363
 
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1365
+ msgid "Border"
1366
+ msgstr "Rand"
1367
 
1368
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1369
+ msgid ""
1370
+ "To preview the tracking display, please add tracking information to at least "
1371
+ "one order and choose it in the preview order selection."
1372
+ msgstr ""
1373
+ "Um eine Vorschau der Tracking-Anzeige anzuzeigen, fügen Sie mindestens einer "
1374
+ "Bestellung Tracking-Informationen hinzu und wählen Sie diese in der Auswahl "
1375
+ "der Vorschau-Bestellung aus.\n"
1376
 
1377
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1378
+ msgid "Your {site_title} order is now partially shipped"
1379
  msgstr ""
1380
+ "Ihre {site_title} Bestellung wird jetzt teilweise versendet\n"
1381
 
1382
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1383
  msgid ""
1384
  "Hi there. we thought you'd like to know that your recent order from "
1385
+ "{site_title} has been partially shipped."
1386
  msgstr ""
1387
+ "Hallo. Wir dachten, Sie möchten wissen, dass Ihre letzte Bestellung von "
1388
+ "{site_title} teilweise versendet wurde.\n"
1389
 
1390
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1391
+ msgid "Enable Partially Shipped order status email"
1392
+ msgstr ""
1393
+ "Teilweise versendete Bestellstatus-E-Mail aktivieren\n"
1394
+
1395
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1396
+ msgid "Your {site_title} order is now updated tracking"
1397
+ msgstr ""
1398
+ "Ihre {site_title} Bestellung wird jetzt nachverfolgt\n"
1399
+
1400
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1401
+ msgid ""
1402
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1403
+ "recent order from {site_title} has been updated."
1404
  msgstr ""
1405
+ "Hallo. Wir dachten, Sie möchten wissen, dass die Sendungsverfolgung für Ihre "
1406
+ "letzte Bestellung von {site_title} aktualisiert wurde.\n"
1407
+
1408
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1409
+ msgid "Enable Updated Tracking order status email"
1410
+ msgstr ""
1411
+ "Aktivieren Sie die E-Mail mit dem Status der aktualisierten "
1412
+ "Sendungsverfolgung\n"
1413
 
1414
  #: includes/emails/class-shipment-delivered-email.php:32
1415
  msgid "Delivered order"
1416
  msgstr ""
1417
+ "Gelieferte Bestellung\n"
1418
 
1419
  #: includes/emails/class-shipment-delivered-email.php:33
1420
  msgid ""
1421
  "Order delivered emails are sent to customers when their orders are marked "
1422
  "delivered and usually indicate that their orders have been shipped."
1423
  msgstr ""
1424
+ "Von der Bestellung zugestellte E-Mails werden an Kunden gesendet, wenn ihre "
1425
+ "Bestellungen als zugestellt markiert sind und in der Regel angeben, dass "
1426
+ "ihre Bestellungen versandt wurden.\n"
1427
 
1428
+ #: includes/emails/class-shipment-delivered-email.php:280
1429
  msgid "Click Here"
1430
  msgstr ""
1431
+ "Klick hier\n"
1432
 
1433
+ #: includes/emails/class-shipment-delivered-email.php:281
1434
  msgid "Edit in customizer"
1435
  msgstr ""
1436
+ "Bearbeiten Sie im Customizer\n"
1437
 
1438
  #: includes/views/admin_options_bulk_upload.php:10
1439
  msgid "Upload CSV"
1448
  "Tracking-Informationen hinzugefügt)"
1449
 
1450
  #: includes/views/admin_options_bulk_upload.php:29
1451
+ #: includes/views/admin_options_shipping_provider.php:120
1452
+ #: includes/views/admin_options_shipping_provider.php:157
1453
  msgid "Upload"
1454
  msgstr "Hochladen"
1455
 
1461
  msgid "Upload Progress - "
1462
  msgstr "Upload-Fortschritt -"
1463
 
1464
+ #: includes/views/admin_options_bulk_upload.php:50
1465
  msgid "Sample CSV"
1466
  msgstr ""
1467
+ "Beispiel CSV\n"
1468
 
1469
+ #: includes/views/admin_options_bulk_upload.php:55
1470
  msgid "You can download an example of the csv file:"
1471
  msgstr "Sie können ein Beispiel für die CSV-Datei herunterladen:"
1472
 
1473
+ #: includes/views/admin_options_bulk_upload.php:58
1474
  msgid "Download sample csv file"
1475
  msgstr "Laden Sie die Beispiel-CSV-Datei herunter"
1476
 
1477
+ #: includes/views/admin_options_bulk_upload.php:63
1478
  msgid ""
1479
  "For detailed instructions on how to upload tracking info in bulk, see our"
1480
  msgstr ""
1481
  "For detailed instructions on how to upload tracking info in bulk, see our"
1482
 
1483
+ #: includes/views/admin_options_settings.php:15
1484
+ #: includes/views/admin_trackship_dashboard.php:62
1485
+ msgid "General Settings"
1486
+ msgstr "Allgemeine Einstellungen"
1487
+
1488
  #: includes/views/admin_options_settings.php:26
1489
+ #: includes/views/admin_options_settings.php:181
1490
+ #: includes/views/admin_trackship_dashboard.php:73
1491
+ #: includes/views/admin_tracking_page_settings.php:101
 
1492
  msgid "Save Changes"
1493
  msgstr ""
1494
+ "Änderungen speichern\n"
1495
 
1496
  #: includes/views/admin_options_settings.php:40
1497
  msgid "Tracking Info Display"
1498
  msgstr ""
1499
+ "Tracking-Info-Anzeige\n"
1500
 
1501
  #: includes/views/admin_options_settings.php:49
1502
  msgid "You can customize the tracking info display on emails and my account"
1503
  msgstr ""
1504
+ "Sie können die Anzeige der Tracking-Informationen in E-Mails und in meinem "
1505
+ "Konto anpassen\n"
1506
 
1507
  #: includes/views/admin_options_settings.php:52
1508
  msgid "Launch Customizer"
1509
  msgstr ""
1510
+ "Starten Sie den Customizer\n"
1511
 
1512
  #: includes/views/admin_options_settings.php:62
1513
+ msgid "Custom Order Statuses"
 
 
 
 
1514
  msgstr ""
1515
+ "Benutzerdefinierte Auftragsstatus\n"
1516
 
1517
  #: includes/views/admin_options_settings.php:94
1518
+ #: includes/views/admin_options_settings.php:129
1519
+ #: includes/views/admin_options_settings.php:163
1520
+ msgid "Light Font"
1521
+ msgstr ""
1522
+ "Leichte Schrift\n"
1523
+
1524
+ #: includes/views/admin_options_settings.php:95
1525
+ #: includes/views/admin_options_settings.php:130
1526
+ #: includes/views/admin_options_settings.php:164
1527
+ msgid "Dark Font"
1528
+ msgstr ""
1529
+ "Dunkle Schrift\n"
1530
+
1531
+ #: includes/views/admin_options_settings.php:99
1532
+ #: includes/views/admin_options_settings.php:134
1533
+ #: includes/views/admin_options_settings.php:168
1534
+ msgid "Send Email"
1535
  msgstr ""
1536
+ "E-Mail senden\n"
1537
 
1538
  #: includes/views/admin_options_shipping_provider.php:12
1539
+ #: includes/views/admin_options_shipping_provider.php:25
1540
+ #: includes/views/zorem_admin_sidebar.php:18
1541
+ #: includes/views/admin_options_addons.php:109
1542
  msgid "Active"
1543
+ msgstr "Aktiv"
1544
 
1545
  #: includes/views/admin_options_shipping_provider.php:13
1546
+ #: includes/views/admin_options_shipping_provider.php:25
1547
  msgid "Inactive"
1548
+ msgstr "Inaktiv"
1549
 
1550
  #: includes/views/admin_options_shipping_provider.php:14
1551
  msgid "Custom"
1552
+ msgstr "Benutzerdefiniert"
1553
+
1554
+ #: includes/views/admin_options_shipping_provider.php:20
1555
+ msgid "Search by provider / country"
1556
  msgstr ""
1557
+ "Suche nach Anbieter / Land\n"
1558
 
1559
+ #: includes/views/admin_options_shipping_provider.php:25
1560
+ msgid "Reset all:"
1561
  msgstr ""
1562
+ "Alles zurücksetzen:\n"
1563
 
1564
+ #: includes/views/admin_options_shipping_provider.php:26
 
1565
  #: includes/views/admin_options_shipping_provider.php:177
1566
+ #: includes/views/admin_options_shipping_provider.php:184
1567
  msgid "Sync Shipping Providers"
1568
  msgstr ""
1569
+ "Versandanbieter synchronisieren\n"
1570
 
1571
+ #: includes/views/admin_options_shipping_provider.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
1572
  msgid "Add Custom Shipping Provider"
1573
  msgstr "Fügen Sie einen benutzerdefinierten Versandanbieter hinzu"
1574
 
1575
+ #: includes/views/admin_options_shipping_provider.php:109
1576
+ #: includes/views/admin_options_shipping_provider.php:146
1577
  msgid "Shipping Country"
1578
  msgstr ""
1579
+ "Lieferungsland\n"
1580
 
1581
+ #: includes/views/admin_options_shipping_provider.php:110
1582
+ #: includes/views/admin_options_shipping_provider.php:147
1583
  msgid "Global"
1584
+ msgstr "Global"
1585
+
1586
+ #: includes/views/admin_options_shipping_provider.php:126
1587
+ #: includes/views/admin_options_shipping_provider.php:163
1588
+ msgid "How to add Tracking URL"
1589
  msgstr ""
1590
+ "So fügen Sie eine Tracking-URL hinzu\n"
1591
 
1592
+ #: includes/views/admin_options_shipping_provider.php:139
1593
  msgid "Edit Custom Shipping Provider"
1594
  msgstr "Benutzerdefinierten Versandanbieter bearbeiten"
1595
 
1596
+ #: includes/views/admin_options_shipping_provider.php:178
1597
  msgid ""
1598
  "Syncing the shipping providers list add or updates the pre-set shipping "
1599
  "providers and will not effect custom shipping providers."
1600
  msgstr ""
1601
+ "Durch das Synchronisieren der Versandanbieterliste werden die "
1602
+ "voreingestellten Versandanbieter hinzugefügt oder aktualisiert. "
1603
+ "Benutzerdefinierte Versandanbieter werden davon nicht betroffen.\n"
1604
 
1605
+ #: includes/views/admin_options_shipping_provider.php:180
1606
  msgid "Providers Added"
1607
  msgstr "Anbieter hinzugefügt"
1608
 
1609
+ #: includes/views/admin_options_shipping_provider.php:181
1610
  msgid "Providers Updated"
1611
  msgstr "Anbieter aktualisiert"
1612
 
1613
+ #: includes/views/admin_options_shipping_provider.php:182
1614
  msgid "Providers Deleted"
1615
  msgstr "Anbieter gelöscht"
1616
 
1617
+ #: includes/views/admin_options_trackship_integration.php:17
1618
+ #: includes/views/admin_tracking_page_settings.php:7
1619
  msgid "Tracking Page"
1620
  msgstr "Tracking-Seite"
1621
 
1622
+ #: includes/views/admin_options_trackship_integration.php:20
1623
+ msgid "Shipment Status Notifications"
1624
+ msgstr ""
1625
+ "Benachrichtigungen zum Sendungsstatus\n"
1626
 
1627
+ #: includes/views/admin_options_trackship_integration.php:23
1628
+ msgid "Tools"
1629
+ msgstr "Werkzeuge"
1630
+
1631
+ #: includes/views/zorem_admin_sidebar.php:15
1632
+ #: includes/views/admin_options_addons.php:90
1633
+ msgid "Get This Add-on >"
1634
+ msgstr ""
1635
+ "Holen Sie sich dieses Add-on>\n"
1636
+
1637
+ #: includes/views/zorem_admin_sidebar.php:27
1638
+ msgid "Upgrade to PRO"
1639
  msgstr ""
1640
+ "Upgrade auf PRO\n"
 
1641
 
1642
+ #: includes/views/admin_options_tools.php:23
1643
+ msgid ""
1644
+ "You can send all your orders from the last 30 days to get shipment status "
1645
+ "from TrackShip:"
1646
+ msgstr ""
1647
+ "Sie können alle Ihre Bestellungen der letzten 30 Tage senden, um den "
1648
+ "Sendungsstatus von TrackShip zu erhalten:\n"
1649
+
1650
+ #: includes/views/admin_options_addons.php:20
1651
+ msgid "TrackShip"
1652
+ msgstr "TrackShip"
1653
+
1654
+ #: includes/views/admin_options_addons.php:36
1655
+ msgid ""
1656
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1657
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1658
+ "the order management workflows, reduces customer inquiries, reduces time "
1659
+ "spent on customer service, and improves the post-purchase experience and "
1660
+ "satisfaction of your customers."
1661
+ msgstr ""
1662
+ "TracksShip ist eine Premium-Sendungsverfolgungs-API-Plattform, die mit der "
1663
+ "erweiterten Sendungsverfolgung vollständig in WooCommerce integriert ist. "
1664
+ "TrackShip automatisiert die Auftragsverwaltungsabläufe, reduziert "
1665
+ "Kundenanfragen, verkürzt den Zeitaufwand für den Kundenservice und "
1666
+ "verbessert die Erfahrung und Zufriedenheit Ihrer Kunden nach dem Kauf.\n"
1667
+
1668
+ #: includes/views/admin_options_addons.php:37
1669
+ msgid ""
1670
+ "You must have account TracksShip and connect your store in order to activate "
1671
+ "these advanced features:"
1672
+ msgstr ""
1673
+ "Sie müssen über ein TrackShip-Konto verfügen und eine Verbindung zu Ihrem "
1674
+ "Geschäft herstellen, um diese erweiterten Funktionen zu aktivieren:\n"
1675
+
1676
+ #: includes/views/admin_options_addons.php:51
1677
+ msgid "SIGNUP NOW"
1678
+ msgstr ""
1679
+ "JETZT REGISTRIEREN\n"
1680
+
1681
+ #: includes/views/admin_options_addons.php:80
1682
+ msgid ""
1683
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1684
+ "tracking numbers to specific line items and to line item quantities."
1685
+ msgstr ""
1686
+ "Das Add-On Sendungsverfolgung erweitert das AST-Plug-In und ermöglicht Ihnen,"
1687
+ " Sendungsverfolgungsnummern an bestimmte Werbebuchungen und "
1688
+ "Werbebuchungsmengen anzuhängen.\n"
1689
+
1690
+ #: includes/views/admin_options_addons.php:110
1691
+ msgid "Deactivate"
1692
+ msgstr "Deaktivieren"
1693
+
1694
+ #: includes/views/admin_options_addons.php:112
1695
+ msgid "Activate"
1696
+ msgstr ""
1697
+ "aktivieren Sie\n"
1698
+
1699
+ #: includes/views/admin_tracking_page_settings.php:39
1700
+ msgid ""
1701
+ "Note - If you select a different page than the Shipment Tracking page, add "
1702
+ "the [wcast-track-order] shortcode to the selected page content."
1703
+ msgstr ""
1704
+ "Hinweis - Wenn Sie eine andere Seite als die Seite \"Sendungsverfolgung\" "
1705
+ "auswählen, fügen Sie dem ausgewählten Seiteninhalt den Shortcode [wcast-"
1706
+ "track-order] hinzu.\n"
1707
+
1708
+ #: includes/views/admin_tracking_page_settings.php:39
1709
+ msgid "more info"
1710
+ msgstr ""
1711
+ "Mehr Info\n"
1712
+
1713
+ #: includes/views/admin_tracking_page_settings.php:66
1714
+ msgid "Text Color"
1715
+ msgstr ""
1716
+ "Textfarbe\n"
1717
+
1718
+ #: includes/views/admin_tracking_page_settings.php:88
1719
+ msgid "Hide tracking event details"
1720
+ msgstr ""
1721
+ "Tracking-Ereignisdetails ausblenden\n"
1722
+
1723
+ #: includes/views/admin_tracking_page_settings.php:110
1724
+ msgid "Preview"
1725
+ msgstr "Vorschau"
1726
+
1727
+ #: includes/views/admin_status_notifications.php:3
1728
  msgid "Shipment Status Notifications "
1729
  msgstr "Benachrichtigungen zum Sendungsstatus"
1730
 
1731
+ #: includes/views/admin_status_notifications.php:27
1732
  msgid ""
1733
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1734
  "the way."
1736
  "Der Spediteur hat die Sendung vom Versender angenommen oder abgeholt. Die "
1737
  "Sendung ist unterwegs."
1738
 
1739
+ #: includes/views/admin_status_notifications.php:41
1740
  msgid "Shipment is returned to sender"
1741
  msgstr "Die Sendung wird an den Absender zurückgeschickt"
1742
 
1743
+ #: includes/views/admin_status_notifications.php:55
1744
  msgid "The shipment is ready to pickup."
1745
  msgstr "Die Sendung ist zur Abholung bereit."
1746
 
1747
+ #: includes/views/admin_status_notifications.php:68
1748
  msgid "Carrier is about to deliver the shipment"
1749
  msgstr "Der Spediteur ist im Begriff, die Sendung zu liefern"
1750
 
1751
+ #: includes/views/admin_status_notifications.php:82
1752
  msgid "The shipment was delivered successfully"
1753
  msgstr "Die Sendung wurde erfolgreich zugestellt"
1754
 
1755
+ #: includes/views/admin_status_notifications.php:83
1756
  msgid ""
1757
  "You already have delivered email enabled, to enable this email you'll need "
1758
  "to disable the order status delivered in settings."
1761
  "aktivieren, müssen Sie den in den Einstellungen angegebenen Bestellstatus "
1762
  "deaktivieren."
1763
 
1764
+ #: includes/views/admin_status_notifications.php:97
1765
  msgid ""
1766
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1767
  "will try to deliver the package again."
1770
  "Normalerweise hinterlässt er eine Nachricht und versucht, das Paket erneut "
1771
  "zuzustellen."
1772
 
1773
+ #: templates/emails/tracking-info.php:225
1774
+ #: templates/myaccount/tracking-info.php:166
1775
+ msgid "Provider Name"
1776
+ msgstr "Anbietername"
 
 
 
 
 
1777
 
1778
  #. %s: Order ID.
1779
  #: templates/emails/wcast-email-order-details.php:47
1782
  msgstr ""
1783
  "Bestellnummer:% s\n"
1784
 
1785
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1786
+ msgid "Cannot create existing order shipment tracking."
1787
+ msgstr ""
1788
+ "Bestehende Sendungsverfolgung für Bestellungen kann nicht erstellt werden.\n"
1789
+
1790
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1791
+ msgid "Invalid order ID."
1792
+ msgstr ""
1793
+ "Ungültige Bestellnummer.\n"
1794
+
1795
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1796
+ msgid "Special character not allowd in tracking number"
1797
+ msgstr ""
1798
+ "Sonderzeichen in Tracking-Nummer nicht zulässig\n"
1799
+
1800
  #. Name of the plugin
1801
  msgid "Advanced Shipment Tracking for WooCommerce"
1802
  msgstr ""
1803
+ "Erweiterte Sendungsverfolgung für WooCommerce\n"
1804
 
1805
  #. Description of the plugin
1806
  msgid ""
1809
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1810
  "order complete email."
1811
  msgstr ""
1812
+ "Fügen Sie Sendungsverfolgungsinformationen zu Ihren WooCommerce-Bestellungen "
1813
+ "hinzu und bieten Sie Kunden eine einfache Möglichkeit, ihre Bestellungen zu "
1814
+ "verfolgen. Sendungsverfolgungsinformationen werden in den Kundenkonten (im "
1815
+ "Bestellfeld) und in der vollständigen E-Mail für Bestellungen von "
1816
+ "WooCommerce angezeigt.\n"
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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:07+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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,24 +23,374 @@ msgstr ""
23
  "Παρακαλούμε εγκαταστήστε και ενεργοποιήστε %sWooCommerce%s for WooCommerce "
24
  "Advanced Shipment Tracking!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 "
@@ -51,254 +401,322 @@ msgstr ""
51
  " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
52
  "να έχετε λάβει.\n"
53
 
54
- #: includes/class-wc-advanced-shipment-tracking-front.php:151
55
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
56
  msgid "Found in your order confirmation email."
57
  msgstr ""
58
  "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
59
 
60
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
61
  msgid "Order Email"
62
  msgstr ""
63
  "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
64
 
65
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
66
- #: includes/class-wc-advanced-shipment-tracking.php:276
67
- #: includes/class-wc-advanced-shipment-tracking.php:701
68
- #: includes/class-wc-advanced-shipment-tracking.php:826
69
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
70
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
71
- #: templates/emails/tracking-info.php:174
72
- #: templates/myaccount/tracking-info.php:125
73
  msgid "Track"
74
  msgstr "Παρακολούθηση"
75
 
76
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
77
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
78
  #, php-format
79
  msgid "Shipment - %s (out of %s)"
80
  msgstr ""
81
  "Αποστολή -% s (από% s)\n"
82
 
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
84
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
85
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
86
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
87
- msgid "Estimated Delivery Date: "
88
- msgstr "Εκτιμώμενη Ημερομηνία Παράδοσης:"
 
 
 
 
 
 
 
 
89
 
90
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
91
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
92
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
93
  msgid "Tracking Details"
94
  msgstr "Στοιχεία παρακολούθησης"
95
 
96
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
97
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
98
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
99
  msgid "view more"
100
  msgstr "Δείτε περισσότερα"
101
 
102
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
103
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
104
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
105
  msgid "view less"
106
  msgstr "δείτε λιγότερο"
107
 
108
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
109
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
110
- msgid "Tracking details not found in TrackShip"
111
- msgstr ""
112
-
113
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
114
- msgid "Estimated Delivery Date"
115
- msgstr ""
116
-
117
  #: includes/class-wc-advanced-shipment-tracking.php:95
118
- #: includes/class-wc-advanced-shipment-tracking.php:260
119
  #: includes/customizer/class-wcast-customizer.php:31
120
  msgid "Shipment Tracking"
121
  msgstr "Παρακολούθηση Αποστολής"
122
 
123
  #: includes/class-wc-advanced-shipment-tracking.php:184
124
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
125
  msgid "Mark as Shipped?"
126
- msgstr ""
127
-
128
- #: includes/class-wc-advanced-shipment-tracking.php:185
129
- msgid "Shipped"
130
- msgstr ""
131
 
132
  #: includes/class-wc-advanced-shipment-tracking.php:187
133
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
134
  msgid "Mark as Completed?"
135
- msgstr ""
136
 
137
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
138
  msgid "Completed"
139
- msgstr ""
140
 
141
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
142
  msgid "Add Tracking Number"
143
- msgstr ""
144
 
145
- #: includes/class-wc-advanced-shipment-tracking.php:200
146
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
147
  msgid "Provider:"
148
  msgstr "Μεταφορέας:"
149
 
150
- #: includes/class-wc-advanced-shipment-tracking.php:220
151
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
152
  msgid "Tracking number:"
153
  msgstr "Αριθμός Παρακολούθησης:"
154
 
155
- #: includes/class-wc-advanced-shipment-tracking.php:224
156
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
157
  msgid "Date shipped:"
158
  msgstr "Ημερομηνία αποστολής:"
159
 
160
- #: includes/class-wc-advanced-shipment-tracking.php:225
161
- #: includes/class-wc-advanced-shipment-tracking.php:442
162
- #: includes/class-wc-advanced-shipment-tracking.php:445
163
- msgid "Y-m-d"
164
- msgstr ""
165
-
166
- #: includes/class-wc-advanced-shipment-tracking.php:231
167
- #: includes/class-wc-advanced-shipment-tracking.php:451
168
- msgid "Mark as"
169
- msgstr ""
170
 
171
- #: includes/class-wc-advanced-shipment-tracking.php:234
172
- #: includes/class-wc-advanced-shipment-tracking.php:455
 
173
  msgid "Partial Shipped"
174
- msgstr ""
175
 
176
- #: includes/class-wc-advanced-shipment-tracking.php:276
177
- #: includes/class-wc-advanced-shipment-tracking.php:469
178
- msgid "Click here to track your shipment"
179
- msgstr "Πατήστε εδώ για παρακολούθηση της παραγγελίας σας"
180
 
181
  #. 1: shipping date
182
- #: includes/class-wc-advanced-shipment-tracking.php:284
183
  #, php-format
184
  msgid "Shipped on %s"
185
  msgstr "Στάλθηκε στις %s"
186
 
187
- #: includes/class-wc-advanced-shipment-tracking.php:391
188
  msgid "Add Tracking Info"
189
  msgstr "Προσθήκη Παρακολούθησης"
190
 
191
- #: includes/class-wc-advanced-shipment-tracking.php:396
192
  msgid "Select Provider"
193
  msgstr "Επιλογή Παροχέα"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking.php:468
196
  msgid "Save Tracking"
197
  msgstr "Αποθήκευση Παρακολούθησης"
198
 
199
- #: includes/class-wc-advanced-shipment-tracking.php:469
200
  msgid "Preview:"
201
  msgstr "Επισκόπηση:"
202
 
203
- #: includes/class-wc-advanced-shipment-tracking.php:675
204
  #, php-format
205
  msgid ""
206
  "Tracking info was deleted for tracking provider %s with tracking number %s"
207
  msgstr ""
 
 
208
 
209
- #: includes/class-wc-advanced-shipment-tracking.php:1042
210
  #, php-format
211
  msgid "Order was shipped with %s and tracking number is: %s"
212
- msgstr ""
213
 
214
  #: includes/class-wc-advanced-shipment-welcome.php:38
215
  #: includes/class-wc-advanced-shipment-welcome.php:39
216
  msgid "Welcome to Advanced Shipment Tracking"
217
  msgstr ""
 
218
 
219
  #: includes/class-wc-advanced-shipment-welcome.php:90
220
  #: includes/class-wc-advanced-shipment-welcome.php:129
221
  #: includes/class-wc-advanced-shipment-welcome.php:147
222
  msgid "Save and Continue"
223
- msgstr ""
224
 
225
  #: includes/class-wc-advanced-shipment-welcome.php:177
226
- #: includes/views/admin_options_trackship_integration.php:26
227
  msgid "Connection status"
228
- msgstr ""
229
 
230
  #: includes/class-wc-advanced-shipment-welcome.php:184
231
- #: includes/views/admin_options_trackship_integration.php:33
232
  msgid "TrackShip Connection Status"
233
  msgstr "Κατάσταση σύνδεσης TrackShip"
234
 
235
- #: includes/class-wc-advanced-shipment-welcome.php:188
236
- #: includes/views/admin_options_trackship_integration.php:37
237
- msgid "Connected"
238
- msgstr ""
239
- "Συνδεδεμένος\n"
240
-
241
  #: includes/class-wc-advanced-shipment-welcome.php:194
242
- #: includes/views/admin_options_trackship_integration.php:43
243
  msgid "Trackers Balance"
244
- msgstr ""
245
 
246
  #: includes/class-wc-advanced-shipment-welcome.php:202
247
- #: includes/views/admin_options_trackship_integration.php:51
248
  msgid "Current Plan"
249
- msgstr ""
250
 
251
  #: includes/class-wc-advanced-shipment-welcome.php:217
252
- #: includes/views/admin_options_trackship_integration.php:66
 
253
  msgid ""
254
  "You are now connected with TrackShip! TrackShip makes it effortless to "
255
  "automate your post shipping operations and get tracking and delivery status "
256
  "updates directly in the WooCommerce admin."
257
  msgstr ""
258
-
259
- #: includes/class-wc-advanced-shipment-welcome.php:222
260
- #: includes/views/admin_options_bulk_upload.php:58
261
- #: includes/views/admin_options_trackship_integration.php:71
262
- #: includes/views/zorem_admin_ts_sidebar.php:12
263
- msgid "Documentation"
264
- msgstr ""
265
 
266
  #: includes/class-wc-advanced-shipment-welcome.php:223
267
- #: includes/views/admin_options_trackship_integration.php:72
268
  msgid "TrackShip Dashboard"
269
- msgstr ""
270
 
271
  #: includes/class-wc-advanced-shipment-welcome.php:253
272
  msgid "Save"
273
- msgstr ""
274
 
275
- #: includes/class-wc-advanced-shipment-welcome.php:310
276
- msgid ""
277
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
278
- "100 orders."
279
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-welcome.php:343
282
- msgid "Data saved successfully."
283
- msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
284
 
285
- #: includes/class-wc-advanced-shipment-welcome.php:344
286
- msgid "Really delete this entry? This will not be undo."
287
  msgstr ""
288
- "Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
289
- "να αναιρεθεί."
290
 
291
- #: includes/class-wc-advanced-shipment-welcome.php:345
292
- msgid "You can upload only csv file."
293
- msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
294
 
295
- #: includes/class-wc-advanced-shipment-welcome.php:346
296
- msgid "This browser does not support HTML5."
297
- msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
298
-
299
- #: includes/class-wc-advanced-shipment-welcome.php:347
300
- msgid "Please upload a valid CSV file."
301
- msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
302
 
303
  #: includes/customizer/class-wcast-customizer.php:40
304
  msgid "Shipment Status Emails"
@@ -316,55 +734,16 @@ msgstr ""
316
 
317
  #: includes/customizer/class-wcast-customizer.php:68
318
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
319
- msgid "Partial Shipped status email"
320
- msgstr ""
321
 
322
  #: includes/customizer/class-wcast-customizer.php:76
323
- msgid "Pre Transit"
324
- msgstr ""
325
- "Pre Transit\n"
326
-
327
- #: includes/customizer/class-wcast-customizer.php:84
328
- #: includes/customizer/class-wc-intransit-email-customizer.php:127
329
- #: includes/views/admin_options_trackship_integration.php:161
330
- msgid "In Transit"
331
- msgstr ""
332
- "Στη διαμετακόμιση\n"
333
-
334
- #: includes/customizer/class-wcast-customizer.php:92
335
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
336
- #: includes/views/admin_options_trackship_integration.php:175
337
- msgid "Return To Sender"
338
  msgstr ""
339
- "Επιστροφή στον αποστολέα\n"
340
-
341
- #: includes/customizer/class-wcast-customizer.php:99
342
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
343
- #: includes/views/admin_options_trackship_integration.php:189
344
- msgid "Available For Pickup"
345
- msgstr ""
346
- "Διαθέσιμο για παραλαβή\n"
347
 
348
- #: includes/customizer/class-wcast-customizer.php:106
349
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
350
- #: includes/views/admin_options_trackship_integration.php:202
351
- msgid "Out For Delivery"
352
- msgstr ""
353
- "Out για παράδοση\n"
354
-
355
- #: includes/customizer/class-wcast-customizer.php:114
356
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
357
- #: includes/views/admin_options_trackship_integration.php:216
358
- msgid "Delivered"
359
- msgstr "Παραδόθηκε"
360
-
361
- #: includes/customizer/class-wcast-customizer.php:122
362
- #: includes/customizer/class-wc-failure-email-customizer.php:124
363
- #: includes/views/admin_options_trackship_integration.php:231
364
- msgid "Failed Attempt"
365
- msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
366
-
367
- #: includes/customizer/class-wcast-customizer.php:390
368
  msgid "Select order to preview"
369
  msgstr ""
370
  "Επιλέξτε παραγγελία για προεπισκόπηση\n"
@@ -395,6 +774,7 @@ msgstr ""
395
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
396
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
397
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
398
  msgid "This section lets you customize the Email Content."
399
  msgstr ""
400
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
@@ -412,8 +792,9 @@ msgstr ""
412
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
413
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
414
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
415
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
416
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
417
  msgid "Preview order"
418
  msgstr ""
419
  "Προεπισκόπηση σειράς\n"
@@ -428,42 +809,41 @@ msgstr ""
428
  msgid "E.g. {customer.email}, admin@example.org"
429
  msgstr "Πχ: {customer.email}, admin@example.org"
430
 
 
431
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
432
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
433
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
434
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
435
  #: includes/customizer/class-wc-failure-email-customizer.php:231
436
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
437
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
438
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
439
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
440
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
441
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
442
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
443
- msgid "Available placeholders: {site_title}, {order_number}"
444
- msgstr "Διαθέσιμοι εντολοδότες: {site_title}, {order_number}"
445
-
446
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
447
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
448
- #: includes/customizer/class-wc-email-customizer.php:249
449
- #: includes/customizer/class-wc-failure-email-customizer.php:237
450
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
451
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
452
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
453
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
454
- msgid "Please enter email subject here"
455
- msgstr "Παρακαλούμε εισάγετε το θέμα email εδώ"
456
-
457
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
458
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
459
- #: includes/customizer/class-wc-email-customizer.php:272
460
- #: includes/customizer/class-wc-failure-email-customizer.php:259
461
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
462
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
463
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
464
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
465
- msgid "Please enter email heading here"
466
- msgstr "Παρακαλούμε εισάγετε την κεφαλίδα email εδώ"
467
 
468
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
469
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -507,22 +887,23 @@ msgstr ""
507
 
508
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
509
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
510
- #: includes/customizer/class-wc-email-customizer.php:392
511
  #: includes/customizer/class-wc-failure-email-customizer.php:339
512
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
513
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
514
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
515
  msgid "Google Analytics link tracking"
516
- msgstr ""
517
 
518
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
519
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
520
  #: includes/customizer/class-wc-failure-email-customizer.php:340
521
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
522
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
523
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
524
  msgid "This will be appended to URL in the email content"
525
  msgstr ""
 
526
 
527
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
528
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -532,36 +913,31 @@ msgstr ""
532
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
533
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
534
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
535
  msgid "Email content"
536
  msgstr "Περιεχόμενο email"
537
 
538
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
539
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
540
- #: includes/customizer/class-wc-email-customizer.php:413
541
- #: includes/customizer/class-wc-failure-email-customizer.php:381
542
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
543
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
544
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
545
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
546
- msgid "Available placeholders"
547
- msgstr ""
548
- "Διαθέσιμες επιλογές κράτησης θέσης\n"
549
-
550
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
551
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
552
- #: includes/customizer/class-wc-email-customizer.php:446
553
- #: includes/customizer/class-wc-failure-email-customizer.php:428
554
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
555
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
556
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
557
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
558
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
559
  msgid "Please select order to preview."
560
- msgstr ""
561
 
562
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
563
  msgid "Your order #{order_number} has been delivered"
564
- msgstr ""
565
 
566
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
567
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -593,51 +969,41 @@ msgstr ""
593
  "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
594
 
595
  #: includes/customizer/class-wc-email-customizer.php:201
596
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
597
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
598
  msgid "Please select a order..."
599
  msgstr ""
600
  "Παρακαλώ επιλέξτε παραγγελία ...\n"
601
 
602
- #: includes/customizer/class-wc-email-customizer.php:243
603
- #: includes/customizer/class-wc-email-customizer.php:266
604
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
605
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
606
- msgid "Available variables: {site_title}, {order_number}"
607
- msgstr ""
608
-
609
- #: includes/customizer/class-wc-email-customizer.php:289
610
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
611
- msgid ""
612
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
613
- "{customer_last_name}, {customer_username}, {order_number}"
614
- msgstr ""
615
-
616
- #: includes/customizer/class-wc-email-customizer.php:308
617
  msgid "Display tracking details"
618
- msgstr ""
619
 
620
- #: includes/customizer/class-wc-email-customizer.php:324
621
  msgid "Display order details"
622
- msgstr ""
623
 
624
- #: includes/customizer/class-wc-email-customizer.php:341
625
  msgid "Display Shipping Address"
626
- msgstr ""
627
 
628
- #: includes/customizer/class-wc-email-customizer.php:358
629
  msgid "Display Billing Address"
630
- msgstr ""
631
 
632
- #: includes/customizer/class-wc-email-customizer.php:375
633
  msgid "Enable Google Analytics tracking"
634
- msgstr ""
635
 
636
- #: includes/customizer/class-wc-email-customizer.php:393
637
  msgid ""
638
  "This will be appended to URL in the email content – e.g. "
639
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
640
  msgstr ""
 
 
 
641
 
642
  #: includes/customizer/class-wc-failure-email-customizer.php:123
643
  msgid "Your order #{order_number} is Failed Attempt"
@@ -733,206 +1099,281 @@ msgstr ""
733
  "αποστολέα"
734
 
735
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
736
- #: includes/customizer/class-wc-tracking-info-customizer.php:364
737
- #: templates/emails/tracking-info.php:132
738
- #: templates/myaccount/tracking-info.php:91
739
  msgid "Provider"
740
  msgstr "Μεταφορέας"
741
 
742
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
743
- #: includes/customizer/class-wc-tracking-info-customizer.php:386
744
- #: templates/emails/tracking-info.php:156
745
- #: templates/myaccount/tracking-info.php:113
746
  msgid "Tracking Number"
747
  msgstr "Αριθμός"
748
 
749
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
750
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
751
  msgid "Shipped Date"
752
  msgstr ""
753
  "Ημερομηνία αποστολής\n"
754
 
755
- #: includes/customizer/class-wc-tracking-info-customizer.php:179
756
- msgid ""
757
- "select from last 20 orders one order that you added tracking info in order "
758
- "to preview and design the tracking info table."
759
  msgstr ""
760
- "επιλέξτε από τις τελευταίες 20 παραγγελίες μία παραγγελία που προσθέσατε "
761
- "πληροφορίες παρακολούθησης για να δείτε και να σχεδιάσετε τον πίνακα "
762
- "πληροφοριών παρακολούθησης.\n"
763
 
764
- #: includes/customizer/class-wc-tracking-info-customizer.php:198
765
- #: includes/views/admin_options_settings.php:15
766
- #: includes/views/admin_options_trackship_integration.php:82
767
- msgid "General Settings"
768
- msgstr "Γενικές Ρυθμίσεις"
769
-
770
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
771
  msgid "Tracking Display Position"
772
  msgstr "Παρακολούθηση θέσης προβολής"
773
 
774
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
775
  msgid "Before Order Details"
776
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
777
 
778
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
779
  msgid "After Order Details"
780
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
781
 
782
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
783
- msgid "Main Header text"
784
- msgstr "Κύριο κείμενο κεφαλίδας"
 
785
 
786
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
787
  msgid "Tracking Information"
788
  msgstr "Πληροφορίες Παρακολούθησης"
789
 
790
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
791
  msgid "Additional text after header"
792
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
793
 
794
- #: includes/customizer/class-wc-tracking-info-customizer.php:276
795
- msgid "Table Content"
 
796
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
797
 
798
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
799
- msgid "Display Shipment Provider image"
800
- msgstr "Εμφάνιση εικόνας παροχέα αποστολής"
 
801
 
802
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
803
- msgid "Hide date"
804
- msgstr "Απόκρυψη ημερομηνίας"
805
 
806
- #: includes/customizer/class-wc-tracking-info-customizer.php:325
807
- msgid "Table Header"
808
  msgstr ""
 
 
 
 
 
 
 
 
 
809
 
810
- #: includes/customizer/class-wc-tracking-info-customizer.php:340
811
- msgid "Hide Header"
 
 
 
 
 
 
 
 
 
 
 
 
812
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
813
 
814
- #: includes/customizer/class-wc-tracking-info-customizer.php:357
815
- msgid "Provider Header Text"
816
  msgstr "Κείμενο κεφαλίδας παροχέα"
817
 
818
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
819
- msgid "Tracking Number Header Text"
820
- msgstr "Κείμενο κεφαλίδας αριθμού παρακολούθησης"
 
821
 
822
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
823
- msgid "Shipped Date Header Text"
824
- msgstr "Κείμενο κεφαλίδας μεταφερόμενης ημερομηνίας"
 
825
 
826
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
827
  msgid "Track Label"
828
  msgstr "Ετικέτα διαδρομής"
829
 
830
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
831
- msgid "Track Header Text"
832
- msgstr "Κείμενο κεφαλίδας κομματιού"
833
-
834
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
835
- msgid "Table header font size"
836
- msgstr "Μέγεθος γραμματοσειράς κεφαλίδας πίνακα"
837
 
838
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
839
- msgid "Table header font color"
840
- msgstr "Χρώμα γραμματοσειράς κεφαλίδας πίνακα"
841
 
842
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
843
- msgid "Table Design"
844
  msgstr ""
845
- "Σχεδιασμός πίνακα\n"
 
 
 
 
846
 
847
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
848
  msgid "Padding"
849
  msgstr ""
850
  "Υλικό παραγεμίσματος\n"
851
 
852
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
853
  msgid "Background color"
854
  msgstr ""
855
  "Χρώμα του φόντου\n"
856
 
857
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
858
  msgid "Border color"
859
  msgstr ""
860
  "Χρώμα πλαισίου\n"
861
 
862
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
863
  msgid "Border size"
864
  msgstr ""
865
  "Μέγεθος περιθωρίου\n"
866
 
867
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
868
- msgid "Table text align"
869
- msgstr "Ευθυγράμμιση κειμένου πίνακα"
 
870
 
871
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
872
- msgid "Table content font size"
873
- msgstr "Μέγεθος γραμματοσειράς περιεχομένου πίνακα"
874
 
875
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
876
- msgid "Table content font color"
877
- msgstr "Χρώμα γραμματοσειράς περιεχομένου πίνακα"
878
 
879
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
880
  msgid "Content line height"
881
  msgstr ""
882
  "Το ύψος της γραμμής περιεχομένου\n"
883
 
884
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
885
  msgid "Content font weight"
886
  msgstr ""
887
  "Βάρος γραμματοσειράς περιεχομένου\n"
888
 
889
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
890
- msgid "Track Button Design"
891
  msgstr ""
 
892
 
893
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
894
- msgid "Track Link Font Color"
895
- msgstr "Χρώμα γραμματοσειράς γραμμής σύνδεσης"
 
896
 
897
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
898
- msgid "Track Link Background Color"
899
- msgstr "Χρώμα φόντου συνδέσμου διαδρομής"
900
 
901
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
902
- msgid "Track link Border"
903
- msgstr "Γραμμή συνδέσμου γραμμής"
 
 
 
 
 
904
 
905
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
906
- msgid "Your {site_title} order is now partial shipped"
907
- msgstr ""
908
 
909
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
910
  msgid ""
911
  "Hi there. we thought you'd like to know that your recent order from "
912
- "{site_title} has been Partial Shipped."
913
  msgstr ""
 
 
914
 
915
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
916
- msgid "Enable Partial Shipped order status email"
 
 
 
 
917
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
918
 
919
  #: includes/emails/class-shipment-delivered-email.php:32
920
  msgid "Delivered order"
921
- msgstr ""
922
 
923
  #: includes/emails/class-shipment-delivered-email.php:33
924
  msgid ""
925
  "Order delivered emails are sent to customers when their orders are marked "
926
  "delivered and usually indicate that their orders have been shipped."
927
  msgstr ""
 
 
 
928
 
929
- #: includes/emails/class-shipment-delivered-email.php:279
930
  msgid "Click Here"
931
- msgstr ""
932
 
933
- #: includes/emails/class-shipment-delivered-email.php:280
934
  msgid "Edit in customizer"
935
- msgstr ""
936
 
937
  #: includes/views/admin_options_bulk_upload.php:10
938
  msgid "Upload CSV"
@@ -947,8 +1388,8 @@ msgstr ""
947
  "επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
948
 
949
  #: includes/views/admin_options_bulk_upload.php:29
950
- #: includes/views/admin_options_shipping_provider.php:119
951
- #: includes/views/admin_options_shipping_provider.php:153
952
  msgid "Upload"
953
  msgstr "Μεταφόρτωση"
954
 
@@ -960,156 +1401,266 @@ msgstr "Οι Ρυθμίσεις Αποθηκεύτηκαν"
960
  msgid "Upload Progress - "
961
  msgstr "Πρόοδος Μεταφόρτωσης - "
962
 
963
- #: includes/views/admin_options_bulk_upload.php:45
964
  msgid "Sample CSV"
965
- msgstr ""
966
 
967
- #: includes/views/admin_options_bulk_upload.php:50
968
  msgid "You can download an example of the csv file:"
969
  msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
970
 
971
- #: includes/views/admin_options_bulk_upload.php:53
972
  msgid "Download sample csv file"
973
  msgstr "Κάντε λήψη δείγματος αρχείου csv"
974
 
975
- #: includes/views/admin_options_bulk_upload.php:58
976
  msgid ""
977
  "For detailed instructions on how to upload tracking info in bulk, see our"
978
  msgstr ""
979
  "Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
980
  "παρακολούθησης, ανατρέξτε στη σελίδα μας"
981
 
 
 
 
 
 
982
  #: includes/views/admin_options_settings.php:26
983
- #: includes/views/admin_options_settings.php:74
984
- #: includes/views/admin_options_settings.php:100
985
- #: includes/views/admin_options_trackship_integration.php:93
986
- #: includes/views/admin_options_trackship_integration.php:124
987
  msgid "Save Changes"
988
- msgstr ""
989
 
990
  #: includes/views/admin_options_settings.php:40
991
  msgid "Tracking Info Display"
992
- msgstr ""
993
 
994
  #: includes/views/admin_options_settings.php:49
995
  msgid "You can customize the tracking info display on emails and my account"
996
  msgstr ""
 
 
997
 
998
  #: includes/views/admin_options_settings.php:52
999
  msgid "Launch Customizer"
1000
- msgstr ""
1001
 
1002
  #: includes/views/admin_options_settings.php:62
1003
- msgid "Delivered Order Status"
1004
- msgstr "Παραδοθείσα κατάσταση παραγγελίας"
 
 
 
 
 
 
1005
 
1006
- #: includes/views/admin_options_settings.php:88
1007
- msgid "Partial Shipped Order Status"
 
 
1008
  msgstr ""
 
1009
 
1010
- #: includes/views/admin_options_settings.php:94
1011
- #, php-format
1012
- msgid ""
1013
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
1014
- "Shipped\", when you deactivate the plugin, you must register this order "
1015
- "status in function.php in order to see these orders in the orders admin. You "
1016
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
1017
- "php here or you can manually change all your \"partial-shipped\" order to "
1018
- "\"completed\" before deactivating the plugin."
1019
  msgstr ""
 
1020
 
1021
  #: includes/views/admin_options_shipping_provider.php:12
1022
- #: includes/views/admin_options_shipping_provider.php:23
 
 
1023
  msgid "Active"
1024
- msgstr ""
1025
 
1026
  #: includes/views/admin_options_shipping_provider.php:13
1027
- #: includes/views/admin_options_shipping_provider.php:23
1028
  msgid "Inactive"
1029
- msgstr ""
1030
 
1031
  #: includes/views/admin_options_shipping_provider.php:14
1032
  msgid "Custom"
1033
- msgstr ""
1034
 
1035
- #: includes/views/admin_options_shipping_provider.php:21
1036
- msgid "Add Custom Provider"
 
 
 
 
1037
  msgstr ""
 
1038
 
1039
- #: includes/views/admin_options_shipping_provider.php:22
1040
- #: includes/views/admin_options_shipping_provider.php:170
1041
  #: includes/views/admin_options_shipping_provider.php:177
 
1042
  msgid "Sync Shipping Providers"
1043
- msgstr ""
1044
 
1045
- #: includes/views/admin_options_shipping_provider.php:23
1046
- msgid "Reset"
1047
- msgstr ""
1048
-
1049
- #: includes/views/admin_options_shipping_provider.php:27
1050
- msgid "Search by provider / country"
1051
- msgstr ""
1052
-
1053
- #: includes/views/admin_options_shipping_provider.php:95
1054
- #, php-format
1055
- msgid "You don't have any %s shipping providers."
1056
- msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
1057
-
1058
- #: includes/views/admin_options_shipping_provider.php:101
1059
  msgid "Add Custom Shipping Provider"
1060
  msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1061
 
1062
- #: includes/views/admin_options_shipping_provider.php:108
1063
- #: includes/views/admin_options_shipping_provider.php:142
1064
  msgid "Shipping Country"
1065
- msgstr ""
1066
 
1067
- #: includes/views/admin_options_shipping_provider.php:109
1068
- #: includes/views/admin_options_shipping_provider.php:143
1069
  msgid "Global"
1070
- msgstr ""
1071
 
1072
- #: includes/views/admin_options_shipping_provider.php:135
 
 
 
 
 
1073
  msgid "Edit Custom Shipping Provider"
1074
  msgstr "Επεξεργασία προσαρμοσμένου προμηθευτή αποστολής"
1075
 
1076
- #: includes/views/admin_options_shipping_provider.php:171
1077
  msgid ""
1078
  "Syncing the shipping providers list add or updates the pre-set shipping "
1079
  "providers and will not effect custom shipping providers."
1080
  msgstr ""
 
 
 
1081
 
1082
- #: includes/views/admin_options_shipping_provider.php:173
1083
  msgid "Providers Added"
1084
  msgstr "Προστέθηκαν παροχείς"
1085
 
1086
- #: includes/views/admin_options_shipping_provider.php:174
1087
  msgid "Providers Updated"
1088
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1089
 
1090
- #: includes/views/admin_options_shipping_provider.php:175
1091
  msgid "Providers Deleted"
1092
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1093
 
1094
- #: includes/views/admin_options_trackship_integration.php:107
 
1095
  msgid "Tracking Page"
1096
  msgstr "Σελίδα Παρακολούθησης"
1097
 
1098
- #: includes/views/admin_options_trackship_integration.php:117
1099
- msgid "Click to preview the tracking page"
1100
- msgstr "Click to preview the tracking page"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1101
 
1102
- #: includes/views/admin_options_trackship_integration.php:118
1103
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1104
  msgstr ""
1105
- "ΣΗΜΕΙΩΣΤΕ - βεβαιωθείτε ότι έχετε αποθηκεύσει τις ρυθμίσεις σας πριν από την "
1106
- "προεπισκόπηση."
1107
 
1108
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1109
  msgid "Shipment Status Notifications "
1110
  msgstr "Ειδοποιήσεις κατάστασης αποστολής"
1111
 
1112
- #: includes/views/admin_options_trackship_integration.php:163
1113
  msgid ""
1114
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1115
  "the way."
@@ -1117,23 +1668,23 @@ msgstr ""
1117
  "Ο μεταφορέας έχει αποδεχτεί ή έχει παραλάβει την αποστολή από τον αποστολέα. "
1118
  "Η αποστολή βρίσκεται στο δρόμο."
1119
 
1120
- #: includes/views/admin_options_trackship_integration.php:177
1121
  msgid "Shipment is returned to sender"
1122
  msgstr "Η αποστολή επιστρέφεται στον αποστολέα"
1123
 
1124
- #: includes/views/admin_options_trackship_integration.php:191
1125
  msgid "The shipment is ready to pickup."
1126
  msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1127
 
1128
- #: includes/views/admin_options_trackship_integration.php:204
1129
  msgid "Carrier is about to deliver the shipment"
1130
  msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή"
1131
 
1132
- #: includes/views/admin_options_trackship_integration.php:218
1133
  msgid "The shipment was delivered successfully"
1134
  msgstr "Η αποστολή παραδόθηκε με επιτυχία"
1135
 
1136
- #: includes/views/admin_options_trackship_integration.php:219
1137
  msgid ""
1138
  "You already have delivered email enabled, to enable this email you'll need "
1139
  "to disable the order status delivered in settings."
@@ -1143,7 +1694,7 @@ msgstr ""
1143
  "απενεργοποιήσετε την κατάσταση της παραγγελίας που εμφανίζεται στις "
1144
  "ρυθμίσεις."
1145
 
1146
- #: includes/views/admin_options_trackship_integration.php:233
1147
  msgid ""
1148
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1149
  "will try to deliver the package again."
@@ -1151,15 +1702,10 @@ msgstr ""
1151
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1152
  "will try to deliver the package again."
1153
 
1154
- #: includes/views/admin_options_tools.php:14
1155
- msgid "Get Shipment Status"
1156
- msgstr ""
1157
-
1158
- #: includes/views/admin_options_tools.php:23
1159
- msgid ""
1160
- "You can send all your orders from the last 30 days to get shipment status "
1161
- "from TrackShip:"
1162
- msgstr ""
1163
 
1164
  #. %s: Order ID.
1165
  #: templates/emails/wcast-email-order-details.php:47
@@ -1168,9 +1714,24 @@ msgid "Order number: %s"
1168
  msgstr ""
1169
  "Αριθμός παραγγελίας:% s\n"
1170
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1171
  #. Name of the plugin
1172
  msgid "Advanced Shipment Tracking for WooCommerce"
1173
  msgstr ""
 
1174
 
1175
  #. Description of the plugin
1176
  msgid ""
@@ -1179,7 +1740,8 @@ msgid ""
1179
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1180
  "order complete email."
1181
  msgstr ""
1182
-
1183
- #. Author of the plugin
1184
- msgid "zorem"
1185
- msgstr ""
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:08+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.2"
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:254
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:465
32
+ #: includes/views/admin_options_settings.php:190
33
+ #, php-format
34
+ msgid ""
35
+ "<strong>Note:</strong> - If you use the custom order status, when you "
36
+ "deactivate the plugin, you must register the order status, otherwise these "
37
+ "orders will not display on your orders admin. You can find more information "
38
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
39
+ "php here."
40
+ msgstr ""
41
+ "Σημείωση: - Εάν χρησιμοποιείτε την κατάσταση της προσαρμοσμένης παραγγελίας, "
42
+ "όταν απενεργοποιείτε την προσθήκη, πρέπει να καταχωρήσετε την κατάσταση της "
43
+ "παραγγελίας, διαφορετικά αυτές οι εντολές δε θα εμφανιστούν στις εντολές σας "
44
+ "admin. Μπορείτε να βρείτε περισσότερες πληροφορίες και το απόσπασμα κώδικα "
45
+ "για χρήση στις λειτουργίες.php εδώ.\n"
46
+
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
48
+ msgid "Shipment status"
49
+ msgstr "Κατάσταση αποστολής"
50
+
51
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
52
+ #: includes/class-wc-advanced-shipment-welcome.php:310
53
+ msgid ""
54
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
55
+ "100 orders."
56
+ msgstr ""
57
+ "Η λήψη της Κατάστασης αποστολής περιορίζεται σε 100 παραγγελίες τη φορά, "
58
+ "παρακαλούμε επιλέξτε έως και 100 παραγγελίες."
59
+
60
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
61
+ #: includes/class-wc-advanced-shipment-welcome.php:343
62
+ msgid "Data saved successfully."
63
+ msgstr "Τα δεδομένα αποθηκεύτηκαν με επιτυχία."
64
+
65
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
66
+ #: includes/class-wc-advanced-shipment-welcome.php:344
67
+ msgid "Really delete this entry? This will not be undo."
68
+ msgstr ""
69
+ "Θέλετε πραγματικά να διαγράψετε αυτή την εγγραφή; Η ενέργεια αυτή δεν μπορεί "
70
+ "να αναιρεθεί."
71
+
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
73
+ #: includes/class-wc-advanced-shipment-welcome.php:345
74
+ msgid "You can upload only csv file."
75
+ msgstr "Μπορείτε να ανεβάσετε μόνο το αρχείο csv."
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
78
+ #: includes/class-wc-advanced-shipment-welcome.php:346
79
+ msgid "This browser does not support HTML5."
80
+ msgstr "Αυτό το πρόγραμμα περιήγησης δεν υποστηρίζει HTML5."
81
+
82
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
83
+ #: includes/class-wc-advanced-shipment-welcome.php:347
84
+ msgid "Please upload a valid CSV file."
85
+ msgstr "Ανεβάστε ένα έγκυρο αρχείο CSV."
86
+
87
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
88
+ msgid "Shipping Providers"
89
+ msgstr "Προμηθευτές αποστολής"
90
+
91
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
92
+ msgid "Bulk Upload"
93
+ msgstr "Μαζική μεταφόρτωση"
94
+
95
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
96
+ msgid "Add-ons"
97
+ msgstr "Πρόσθετα"
98
+
99
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
100
+ #: includes/class-wc-advanced-shipment-welcome.php:222
101
+ #: includes/views/admin_options_bulk_upload.php:63
102
+ #: includes/views/admin_trackship_dashboard.php:51
103
+ msgid "Documentation"
104
+ msgstr "Απόδειξη με έγγραφα"
105
+
106
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
107
+ msgid "How to Video"
108
+ msgstr "Πώς να Βίντεο"
109
+
110
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
111
+ msgid "Custom Statuses"
112
+ msgstr "Προσαρμοσμένες καταστάσεις"
113
+
114
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
115
+ #: includes/class-wc-advanced-shipment-welcome.php:188
116
+ #: includes/views/zorem_admin_sidebar.php:29
117
+ #: includes/views/admin_options_addons.php:46
118
+ #: includes/views/admin_trackship_dashboard.php:17
119
+ msgid "Connected"
120
  msgstr ""
121
+ "Συνδεδεμένος\n"
122
 
123
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
 
124
  #, php-format
125
+ msgid "%s %s orders with tracking info"
126
+ msgstr "% s% s παραγγελίες με πληροφορίες παρακολούθησης"
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
129
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
130
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
131
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
132
+ #: includes/views/admin_options_tools.php:14
133
+ msgid "Get Shipment Status"
134
+ msgstr "Λήψη κατάστασης αποστολής"
135
+
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
137
+ #, php-format
138
+ msgid "%s %s orders with “TrackShip balance is 0”"
139
+ msgstr "Οι εντολές% s% s με \"Το υπόλοιπο TrackShip είναι 0\""
140
+
141
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
142
+ #, php-format
143
+ msgid "%s %s orders with “Please do connection”"
144
+ msgstr "% s% s παραγγελίες με \"Παρακαλώ κάντε σύνδεση\""
145
+
146
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
147
+ msgid "Enable/Disable"
148
+ msgstr "Ενεργοποιώ απενεργοποιώ"
149
+
150
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
151
+ msgid "Set order status Delivered when order is delivered"
152
+ msgstr ""
153
+ "Ορισμός σειράς παραγγελίας Παραδίδεται κατά την παράδοση της παραγγελίας"
154
+
155
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
156
  msgid ""
157
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
158
+ "for the tracking page to work."
 
 
 
 
159
  msgstr ""
160
+ "Πρέπει να προσθέσετε το shortcode [wcast-track-order] στην επιλεγμένη σελίδα "
161
+ "για να λειτουργήσει η σελίδα παρακολούθησης."
162
 
163
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
164
+ #: includes/views/admin_tracking_page_settings.php:24
165
+ msgid "Select Tracking Page"
166
+ msgstr "Επιλέξτε Σελίδα παρακολούθησης"
167
+
168
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
169
+ msgid "Use the tracking page in the customer email/my account tracking link"
170
+ msgstr ""
171
+ "Χρησιμοποιήστε τη σελίδα παρακολούθησης στη σύνδεση ηλεκτρονικού "
172
+ "ταχυδρομείου πελάτη / λογαριασμού παρακολούθησης λογαριασμού"
173
+
174
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
175
+ #: includes/views/admin_tracking_page_settings.php:49
176
+ msgid "Tracking Page Layout"
177
+ msgstr ""
178
+ "Παρακολούθηση διάταξης σελίδας\n"
179
+
180
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
181
+ msgid "Select primary color for tracking page"
182
+ msgstr "Επιλέξτε το αρχικό χρώμα για τη σελίδα παρακολούθησης"
183
+
184
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
185
+ msgid "Select content border color for tracking page"
186
+ msgstr ""
187
+ "Επιλέξτε το χρώμα περιγράμματος περιεχομένου για τη σελίδα παρακολούθησης"
188
+
189
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
190
+ #: includes/views/admin_tracking_page_settings.php:83
191
+ msgid "Hide Shipping Provider Image"
192
+ msgstr ""
193
+ "Απόκρυψη εικόνας παροχέα αποστολής\n"
194
+
195
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
196
+ msgid "Hide tracking events details"
197
+ msgstr "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης"
198
+
199
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
200
+ #: includes/views/admin_tracking_page_settings.php:93
201
+ msgid "Remove TrackShip branding"
202
+ msgstr "Αφαιρέστε το branding του TrackShip"
203
+
204
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
205
+ msgid "License Key"
206
+ msgstr "Κλειδί άδειας χρήσης"
207
+
208
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
209
+ msgid "a Valid license is required to receive updates and support"
210
+ msgstr ""
211
+ "απαιτείται έγκυρη άδεια χρήσης για να λαμβάνετε ενημερώσεις και υποστήριξη"
212
+
213
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
214
+ msgid "\">click here</a> to activate it."
215
+ msgstr "\"> κάντε κλικ εδώ </a> για να την ενεργοποιήσετε."
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
218
+ #: includes/class-wc-advanced-shipment-tracking.php:185
219
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
220
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
221
+ msgid "Shipped"
222
+ msgstr "Αποστέλλονται"
223
+
224
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
225
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
226
+ msgstr ""
227
+ "Προεπιλεγμένο \"ως <span class =\" shipped_label \"> απεσταλμένο </ span>\""
228
+
229
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
230
+ msgid ""
231
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
232
+ "will be selected by default when adding tracking info to orders."
233
+ msgstr ""
234
+ "Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> αποσταλεί </ "
235
+ "span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
236
+ "παρακολούθησης σε παραγγελίες."
237
+
238
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
239
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
240
+ msgstr ""
241
+ "Προεπιλεγμένο \"ως <span class =\" shipped_label \"> ολοκληρώθηκε </ span>\""
242
+
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
244
+ msgid ""
245
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
246
+ "will be selected by default when adding tracking info to orders."
247
+ msgstr ""
248
+ "Αυτό σημαίνει ότι το σήμα ως <span class = 'shipped_label'> ολοκληρώθηκε </ "
249
+ "span> θα επιλεγεί από προεπιλογή κατά την προσθήκη πληροφοριών "
250
+ "παρακολούθησης σε παραγγελίες."
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
253
+ msgid "Rename the “Completed” Order status to “Shipped”"
254
+ msgstr ""
255
+ "Μετονομάστε την κατάσταση της παραγγελίας \"Ολοκληρωμένη\" σε "
256
+ "\"Αποστέλλονται\""
257
+
258
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
259
+ msgid "On which order status email to include the shipment tracking info?"
260
+ msgstr ""
261
+ "Σε ποιο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας "
262
+ "συμπεριλαμβάνονται οι πληροφορίες παρακολούθησης αποστολής;"
263
+
264
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
265
+ msgid "Show tracking info in Invoice"
266
+ msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο τιμολόγιο"
267
+
268
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
269
+ msgid "Show tracking info in Packing Slip"
270
+ msgstr "Εμφάνιση πληροφοριών παρακολούθησης στο πακέτο συσκευασίας"
271
+
272
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
273
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
274
+ #: includes/customizer/class-wcast-customizer.php:92
275
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
276
+ #: includes/views/admin_status_notifications.php:25
277
+ msgid "In Transit"
278
+ msgstr ""
279
+ "Στη διαμετακόμιση\n"
280
+
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
283
+ #: includes/customizer/class-wcast-customizer.php:84
284
+ msgid "Pre Transit"
285
+ msgstr ""
286
+ "Pre Transit\n"
287
+
288
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
289
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
290
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
291
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
292
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
293
+ #: includes/customizer/class-wcast-customizer.php:122
294
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
295
+ #: includes/views/admin_options_settings.php:80
296
+ #: includes/views/admin_status_notifications.php:80
297
+ msgid "Delivered"
298
+ msgstr "Παραδόθηκε"
299
+
300
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
301
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
302
+ #: includes/customizer/class-wcast-customizer.php:114
303
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
304
+ #: includes/views/admin_status_notifications.php:66
305
+ msgid "Out For Delivery"
306
+ msgstr ""
307
+ "Out για παράδοση\n"
308
+
309
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
311
+ #: includes/customizer/class-wcast-customizer.php:107
312
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
313
+ #: includes/views/admin_status_notifications.php:53
314
+ msgid "Available For Pickup"
315
+ msgstr ""
316
+ "Διαθέσιμο για παραλαβή\n"
317
+
318
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
320
+ #: includes/customizer/class-wcast-customizer.php:100
321
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
322
+ #: includes/views/admin_status_notifications.php:39
323
+ msgid "Return To Sender"
324
+ msgstr ""
325
+ "Επιστροφή στον αποστολέα\n"
326
+
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
328
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
329
+ #: includes/customizer/class-wcast-customizer.php:130
330
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
331
+ #: includes/views/admin_status_notifications.php:95
332
+ msgid "Failed Attempt"
333
+ msgstr "ΑΠΟΤΥΧΗΜΕΝΗ προσπαθεια"
334
+
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
336
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
337
+ msgid "Unknown"
338
+ msgstr "Αγνωστος"
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
341
+ msgid "Pending TrackShip"
342
+ msgstr "Εκκρεμεί το TrackShip"
343
+
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
346
+ msgid "Invalid Tracking Number"
347
+ msgstr "Μη έγκυρος αριθμός παρακολούθησης"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
351
+ msgid "Carrier Unsupported"
352
+ msgstr "Ο μεταφορέας δεν υποστηρίζεται"
353
+
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
355
+ msgid "Invalid User Key"
356
+ msgstr "Μη έγκυρο κλειδί χρήστη"
357
+
358
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
359
+ msgid "Wrong Shipping Provider"
360
+ msgstr "Δυστυχώς αποστολέας αποστολής"
361
+
362
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
363
+ msgid "Shipped Order"
364
+ msgstr "Αποστολή Παραγγελίας"
365
+
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
367
+ msgid "Mark order as delivered"
368
+ msgstr "Σημειώστε την παραγγελία όπως παραδόθηκε"
369
+
370
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
371
+ msgid "Add Tracking"
372
+ msgstr "Προσθήκη παρακολούθησης"
373
+
374
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
375
+ msgid "Change order status to"
376
+ msgstr "Αλλαγή κατάστασης παραγγελίας σε"
377
+
378
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
379
+ #: includes/views/admin_options_shipping_provider.php:96
380
+ #, php-format
381
+ msgid "You don't have any %s shipping providers."
382
+ msgstr "Δεν διαθέτετε παρόχους ναυτιλίας% s."
383
+
384
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
385
+ #: includes/views/admin_options_shipping_provider.php:27
386
+ msgid "Add Custom Provider"
387
+ msgstr "Προσθέστε προσαρμοσμένο παροχέα"
388
+
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
390
+ msgid "Filter by shipment status"
391
+ msgstr "Φιλτράρετε κατά κατάσταση αποστολής"
392
+
393
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
394
  msgid ""
395
  "To track your order please enter your Order ID in the box below and press "
396
  "the \"Track\" button. This was given to you on your receipt and in the "
401
  " Αυτό σας δόθηκε στην απόδειξή σας και στο e-mail επιβεβαίωσης που θα έπρεπε "
402
  "να έχετε λάβει.\n"
403
 
404
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
405
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
406
  msgid "Found in your order confirmation email."
407
  msgstr ""
408
  "Βρέθηκε στο email επιβεβαίωσης της παραγγελίας σας.\n"
409
 
410
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
411
  msgid "Order Email"
412
  msgstr ""
413
  "Παραγγελία ηλεκτρονικού ταχυδρομείου\n"
414
 
415
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
416
+ #: includes/class-wc-advanced-shipment-tracking.php:728
417
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
418
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
419
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
420
+ #: templates/emails/tracking-info.php:256
421
+ #: templates/myaccount/tracking-info.php:191
422
  msgid "Track"
423
  msgstr "Παρακολούθηση"
424
 
425
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
426
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
427
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
428
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
429
  #, php-format
430
  msgid "Shipment - %s (out of %s)"
431
  msgstr ""
432
  "Αποστολή -% s (από% s)\n"
433
 
434
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
436
+ msgid "Tracking details not found in TrackShip"
437
+ msgstr "Τα στοιχεία παρακολούθησης δεν βρέθηκαν στο TrackShip"
438
+
439
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
440
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
441
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
442
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
443
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
444
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
445
+ msgid "Est. Delivery Date"
446
+ msgstr ""
447
+ "Est. Ημερομηνία παράδοσης\n"
448
 
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
450
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
451
  msgid "Tracking Details"
452
  msgstr "Στοιχεία παρακολούθησης"
453
 
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
455
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
456
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
457
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
458
  msgid "view more"
459
  msgstr "Δείτε περισσότερα"
460
 
461
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
462
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
465
  msgid "view less"
466
  msgstr "δείτε λιγότερο"
467
 
 
 
 
 
 
 
 
 
 
468
  #: includes/class-wc-advanced-shipment-tracking.php:95
469
+ #: includes/class-wc-advanced-shipment-tracking.php:265
470
  #: includes/customizer/class-wcast-customizer.php:31
471
  msgid "Shipment Tracking"
472
  msgstr "Παρακολούθηση Αποστολής"
473
 
474
  #: includes/class-wc-advanced-shipment-tracking.php:184
475
+ #: includes/class-wc-advanced-shipment-tracking.php:387
476
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
477
  msgid "Mark as Shipped?"
478
+ msgstr "Ορίστε ως αποστολέα;"
 
 
 
 
479
 
480
  #: includes/class-wc-advanced-shipment-tracking.php:187
481
+ #: includes/class-wc-advanced-shipment-tracking.php:390
482
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
483
  msgid "Mark as Completed?"
484
+ msgstr "Σημειώστε ως ολοκληρωμένο;"
485
 
486
  #: includes/class-wc-advanced-shipment-tracking.php:188
487
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
488
  msgid "Completed"
489
+ msgstr "Ολοκληρώθηκε το"
490
 
491
  #: includes/class-wc-advanced-shipment-tracking.php:195
492
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
493
  msgid "Add Tracking Number"
494
+ msgstr "Προσθέστε τον αριθμό παρακολούθησης"
495
 
496
+ #: includes/class-wc-advanced-shipment-tracking.php:198
497
+ #: includes/class-wc-advanced-shipment-tracking.php:203
498
+ #: includes/class-wc-advanced-shipment-tracking.php:408
499
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
500
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
501
  msgid "Provider:"
502
  msgstr "Μεταφορέας:"
503
 
504
+ #: includes/class-wc-advanced-shipment-tracking.php:223
505
+ #: includes/class-wc-advanced-shipment-tracking.php:446
506
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
507
  msgid "Tracking number:"
508
  msgstr "Αριθμός Παρακολούθησης:"
509
 
510
+ #: includes/class-wc-advanced-shipment-tracking.php:227
511
+ #: includes/class-wc-advanced-shipment-tracking.php:454
512
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
513
  msgid "Date shipped:"
514
  msgstr "Ημερομηνία αποστολής:"
515
 
516
+ #: includes/class-wc-advanced-shipment-tracking.php:236
517
+ #: includes/class-wc-advanced-shipment-tracking.php:466
518
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
519
+ msgid "Mark order as:"
520
+ msgstr "Σημειώστε την τάξη ως:"
 
 
 
 
 
521
 
522
+ #: includes/class-wc-advanced-shipment-tracking.php:239
523
+ #: includes/class-wc-advanced-shipment-tracking.php:469
524
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
525
  msgid "Partial Shipped"
526
+ msgstr "Μερική αποστολή"
527
 
528
+ #: includes/class-wc-advanced-shipment-tracking.php:281
529
+ #: includes/class-wc-advanced-shipment-tracking.php:483
530
+ msgid "Track Shipment"
531
+ msgstr "Παρακολούθηση αποστολής"
532
 
533
  #. 1: shipping date
534
+ #: includes/class-wc-advanced-shipment-tracking.php:290
535
  #, php-format
536
  msgid "Shipped on %s"
537
  msgstr "Στάλθηκε στις %s"
538
 
539
+ #: includes/class-wc-advanced-shipment-tracking.php:404
540
  msgid "Add Tracking Info"
541
  msgstr "Προσθήκη Παρακολούθησης"
542
 
543
+ #: includes/class-wc-advanced-shipment-tracking.php:409
544
  msgid "Select Provider"
545
  msgstr "Επιλογή Παροχέα"
546
 
547
+ #: includes/class-wc-advanced-shipment-tracking.php:482
548
  msgid "Save Tracking"
549
  msgstr "Αποθήκευση Παρακολούθησης"
550
 
551
+ #: includes/class-wc-advanced-shipment-tracking.php:483
552
  msgid "Preview:"
553
  msgstr "Επισκόπηση:"
554
 
555
+ #: includes/class-wc-advanced-shipment-tracking.php:702
556
  #, php-format
557
  msgid ""
558
  "Tracking info was deleted for tracking provider %s with tracking number %s"
559
  msgstr ""
560
+ "Οι πληροφορίες παρακολούθησης διαγράφηκαν για τον παροχέα παρακολούθησης% s "
561
+ "με τον αριθμό παρακολούθησης% s"
562
 
563
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
564
  #, php-format
565
  msgid "Order was shipped with %s and tracking number is: %s"
566
+ msgstr "Η παραγγελία παραδόθηκε με% s και ο αριθμός παρακολούθησης είναι:% s"
567
 
568
  #: includes/class-wc-advanced-shipment-welcome.php:38
569
  #: includes/class-wc-advanced-shipment-welcome.php:39
570
  msgid "Welcome to Advanced Shipment Tracking"
571
  msgstr ""
572
+ "Καλώς ήρθατε στην Προηγμένη παρακολούθηση αποστολής\n"
573
 
574
  #: includes/class-wc-advanced-shipment-welcome.php:90
575
  #: includes/class-wc-advanced-shipment-welcome.php:129
576
  #: includes/class-wc-advanced-shipment-welcome.php:147
577
  msgid "Save and Continue"
578
+ msgstr "Αποθήκευση και συνέχεια"
579
 
580
  #: includes/class-wc-advanced-shipment-welcome.php:177
581
+ #: includes/views/admin_trackship_dashboard.php:6
582
  msgid "Connection status"
583
+ msgstr "Κατάσταση σύνδεσης"
584
 
585
  #: includes/class-wc-advanced-shipment-welcome.php:184
586
+ #: includes/views/admin_trackship_dashboard.php:13
587
  msgid "TrackShip Connection Status"
588
  msgstr "Κατάσταση σύνδεσης TrackShip"
589
 
 
 
 
 
 
 
590
  #: includes/class-wc-advanced-shipment-welcome.php:194
591
+ #: includes/views/admin_trackship_dashboard.php:23
592
  msgid "Trackers Balance"
593
+ msgstr "Ισορροπία ιχνηλάτη"
594
 
595
  #: includes/class-wc-advanced-shipment-welcome.php:202
596
+ #: includes/views/admin_trackship_dashboard.php:31
597
  msgid "Current Plan"
598
+ msgstr "Τρέχον Σχέδιο"
599
 
600
  #: includes/class-wc-advanced-shipment-welcome.php:217
601
+ #: includes/views/admin_options_addons.php:33
602
+ #: includes/views/admin_trackship_dashboard.php:46
603
  msgid ""
604
  "You are now connected with TrackShip! TrackShip makes it effortless to "
605
  "automate your post shipping operations and get tracking and delivery status "
606
  "updates directly in the WooCommerce admin."
607
  msgstr ""
608
+ "Τώρα είστε συνδεδεμένοι με το TrackShip! Το TrackShip καθιστά εύκολη την "
609
+ "αυτοματοποίηση των λειτουργιών αποστολής μετά την αποστολή και την ενημέρωση "
610
+ "για την παρακολούθηση και την παράδοση απευθείας στον διαχειριστή του "
611
+ "WooCommerce."
 
 
 
612
 
613
  #: includes/class-wc-advanced-shipment-welcome.php:223
614
+ #: includes/views/admin_trackship_dashboard.php:52
615
  msgid "TrackShip Dashboard"
616
+ msgstr "Πίνακα ελέγχου TrackShip"
617
 
618
  #: includes/class-wc-advanced-shipment-welcome.php:253
619
  msgid "Save"
620
+ msgstr "Σώσει"
621
 
622
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
623
+ #, php-format
624
+ msgid "Delivered <span class=\"count\">(%s)</span>"
625
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
626
+ msgstr[0] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
627
+ msgstr[1] "Παραδόθηκε <span class = \"count\"> (% s) </ span>"
628
+
629
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
630
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
631
+ #: includes/views/admin_options_settings.php:149
632
+ msgid "Updated Tracking"
633
+ msgstr "Ενημερωμένη παρακολούθηση"
634
+
635
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
636
+ #, php-format
637
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
638
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
639
+ msgstr[0] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
640
+ msgstr[1] "Ενημερωμένη παρακολούθηση <span class = \"count\"> (% s) </ span>"
641
+
642
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
643
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
644
+ #: includes/views/admin_options_settings.php:115
645
+ msgid "Partially Shipped"
646
+ msgstr "Μερικώς αποστέλλονται"
647
+
648
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
649
+ #, php-format
650
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
651
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
652
+ msgstr[0] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
653
+ msgstr[1] "Μερική αποστολή <span class = \"count\"> (% s) </ span>"
654
 
655
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
656
+ msgid "Change status to delivered"
657
+ msgstr "Αλλάξτε την κατάσταση στην παραγγελία"
658
 
659
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
660
+ msgid "Change status to Updated Tracking"
661
  msgstr ""
662
+ "Αλλάξτε την κατάσταση στην ενημερωμένη παρακολούθηση\n"
 
663
 
664
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
665
+ msgid "Change status to Partially Shipped"
666
+ msgstr "Αλλάξτε την κατάσταση σε Μερική αποστολή"
667
 
668
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
669
+ #, php-format
670
+ msgid "Shipped <span class=\"count\">(%s)</span>"
671
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
672
+ msgstr[0] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
673
+ msgstr[1] "Αποστέλλονται <span class = \"count\"> (% s) </ span>"
674
+
675
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
676
+ msgid "Change status to shipped"
677
+ msgstr "Αλλάξτε την κατάσταση αποστολής"
678
+
679
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
680
+ msgid "Resend delivered order notification"
681
+ msgstr "Επαναλάβετε την ειδοποίηση παραγγελίας"
682
+
683
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
684
+ msgid "Shipment Providers"
685
+ msgstr "Παροχείς αποστολής"
686
+
687
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
688
+ msgid "Shipment Status"
689
+ msgstr "Κατάσταση αποστολής"
690
+
691
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
692
+ msgid "Tracking issues"
693
+ msgstr "Παρακολούθηση ζητημάτων"
694
+
695
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
696
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
697
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
698
+ msgid "data not available."
699
+ msgstr "τα δεδομένα δεν είναι διαθέσιμα."
700
+
701
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
702
+ msgid "View more on TrackShip"
703
+ msgstr "Δείτε περισσότερα στο TrackShip"
704
+
705
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
706
+ msgid "There are some issue with sync, Please Retry."
707
+ msgstr "Υπάρχει κάποιο ζήτημα με συγχρονισμό, δοκιμάστε ξανά."
708
+
709
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
710
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
711
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
712
+ msgid "view details"
713
+ msgstr "δείτε λεπτομέρειες"
714
+
715
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
716
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
717
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
718
+ msgid "hide details"
719
+ msgstr "Κρύψε τις λεπτομέρειες"
720
 
721
  #: includes/customizer/class-wcast-customizer.php:40
722
  msgid "Shipment Status Emails"
734
 
735
  #: includes/customizer/class-wcast-customizer.php:68
736
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
737
+ msgid "Partially Shipped status email"
738
+ msgstr "Μερική αποστολή μηνύματος κατάστασης κατάστασης"
739
 
740
  #: includes/customizer/class-wcast-customizer.php:76
741
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
742
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
743
  msgstr ""
744
+ "Ενημερωμένο μήνυμα ηλεκτρονικού ταχυδρομείου κατάστασης παρακολούθησης\n"
 
 
 
 
 
 
 
745
 
746
+ #: includes/customizer/class-wcast-customizer.php:411
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
747
  msgid "Select order to preview"
748
  msgstr ""
749
  "Επιλέξτε παραγγελία για προεπισκόπηση\n"
774
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
775
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
776
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
777
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
778
  msgid "This section lets you customize the Email Content."
779
  msgstr ""
780
  "Αυτή η ενότητα σάς επιτρέπει να προσαρμόσετε το περιεχόμενο ηλεκτρονικού "
792
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
793
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
794
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
795
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
796
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
797
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
798
  msgid "Preview order"
799
  msgstr ""
800
  "Προεπισκόπηση σειράς\n"
809
  msgid "E.g. {customer.email}, admin@example.org"
810
  msgstr "Πχ: {customer.email}, admin@example.org"
811
 
812
+ #. %s: list of placeholders
813
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
814
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
815
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
816
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
817
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
818
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
819
+ #: includes/customizer/class-wc-email-customizer.php:243
820
+ #: includes/customizer/class-wc-email-customizer.php:266
821
+ #: includes/customizer/class-wc-email-customizer.php:289
822
+ #: includes/customizer/class-wc-email-customizer.php:414
823
  #: includes/customizer/class-wc-failure-email-customizer.php:231
824
  #: includes/customizer/class-wc-failure-email-customizer.php:253
825
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
826
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
827
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
828
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
829
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
830
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
831
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
832
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
833
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
834
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
835
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
836
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
837
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
838
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
839
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
840
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
841
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
842
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
843
+ #: includes/emails/class-shipment-delivered-email.php:256
844
+ #: includes/emails/class-shipment-delivered-email.php:265
845
+ msgid "Available variables:"
846
+ msgstr "Διαθέσιμες μεταβλητές:"
 
 
 
 
 
 
 
 
 
 
 
847
 
848
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
849
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
887
 
888
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
889
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
890
+ #: includes/customizer/class-wc-email-customizer.php:393
891
  #: includes/customizer/class-wc-failure-email-customizer.php:339
892
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
893
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
894
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
895
  msgid "Google Analytics link tracking"
896
+ msgstr "Παρακολούθηση συνδέσμου Google Analytics"
897
 
898
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
899
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
900
  #: includes/customizer/class-wc-failure-email-customizer.php:340
901
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
902
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
903
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
904
  msgid "This will be appended to URL in the email content"
905
  msgstr ""
906
+ "Αυτό θα προστεθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού ταχυδρομείου"
907
 
908
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
909
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
913
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
914
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
915
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
916
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
917
  msgid "Email content"
918
  msgstr "Περιεχόμενο email"
919
 
920
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
921
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
922
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
923
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
924
+ #: includes/customizer/class-wc-email-customizer.php:447
925
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
926
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
927
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
928
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
929
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
930
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
931
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
932
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
933
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
934
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
 
935
  msgid "Please select order to preview."
936
+ msgstr "Επιλέξτε παραγγελία για προεπισκόπηση."
937
 
938
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
939
  msgid "Your order #{order_number} has been delivered"
940
+ msgstr "Η παραγγελία σας # {order_number} έχει παραδοθεί"
941
 
942
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
943
  #: includes/customizer/class-wc-email-customizer.php:132
969
  "Ενεργοποίηση μηνύματος ηλεκτρονικού ταχυδρομείου κατάστασης παραγγελίας\n"
970
 
971
  #: includes/customizer/class-wc-email-customizer.php:201
972
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
973
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
974
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
975
  msgid "Please select a order..."
976
  msgstr ""
977
  "Παρακαλώ επιλέξτε παραγγελία ...\n"
978
 
979
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980
  msgid "Display tracking details"
981
+ msgstr "Προβολή λεπτομερειών παρακολούθησης"
982
 
983
+ #: includes/customizer/class-wc-email-customizer.php:325
984
  msgid "Display order details"
985
+ msgstr "Εμφάνιση λεπτομερειών παραγγελίας"
986
 
987
+ #: includes/customizer/class-wc-email-customizer.php:342
988
  msgid "Display Shipping Address"
989
+ msgstr "Εμφάνιση της διεύθυνσης αποστολής"
990
 
991
+ #: includes/customizer/class-wc-email-customizer.php:359
992
  msgid "Display Billing Address"
993
+ msgstr "Εμφάνιση της διεύθυνσης χρέωσης"
994
 
995
+ #: includes/customizer/class-wc-email-customizer.php:376
996
  msgid "Enable Google Analytics tracking"
997
+ msgstr "Ενεργοποιήστε την παρακολούθηση του Google Analytics"
998
 
999
+ #: includes/customizer/class-wc-email-customizer.php:394
1000
  msgid ""
1001
  "This will be appended to URL in the email content – e.g. "
1002
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1003
  msgstr ""
1004
+ "Αυτό θα προσαρτηθεί στη διεύθυνση URL στο περιεχόμενο ηλεκτρονικού "
1005
+ "ταχυδρομείου - π.χ. utm_source = ast & utm_medium = email & utm_campaign = "
1006
+ "παραδόθηκε"
1007
 
1008
  #: includes/customizer/class-wc-failure-email-customizer.php:123
1009
  msgid "Your order #{order_number} is Failed Attempt"
1099
  "αποστολέα"
1100
 
1101
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1102
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1103
+ #: templates/emails/tracking-info.php:203
1104
+ #: templates/myaccount/tracking-info.php:144
1105
  msgid "Provider"
1106
  msgstr "Μεταφορέας"
1107
 
1108
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1109
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1110
+ #: templates/emails/tracking-info.php:232
1111
+ #: templates/myaccount/tracking-info.php:171
1112
  msgid "Tracking Number"
1113
  msgstr "Αριθμός"
1114
 
1115
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1116
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1117
  msgid "Shipped Date"
1118
  msgstr ""
1119
  "Ημερομηνία αποστολής\n"
1120
 
1121
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1122
+ msgid "Select an order to preview and design the tracking info display."
 
 
1123
  msgstr ""
1124
+ "Επιλέξτε μια παραγγελία για να κάνετε προεπισκόπηση και να σχεδιάσετε την "
1125
+ "οθόνη πληροφοριών παρακολούθησης.\n"
 
1126
 
1127
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
 
 
 
 
 
 
1128
  msgid "Tracking Display Position"
1129
  msgstr "Παρακολούθηση θέσης προβολής"
1130
 
1131
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1132
  msgid "Before Order Details"
1133
  msgstr "Πριν από τις λεπτομέρειες της παραγγελίας"
1134
 
1135
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1136
  msgid "After Order Details"
1137
  msgstr "Μετά από Λεπτομέρειες Παραγγελίας"
1138
 
1139
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1140
+ msgid "Tracking Header text"
1141
+ msgstr ""
1142
+ "Κείμενο κεφαλίδας εντοπισμού\n"
1143
 
1144
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1145
  msgid "Tracking Information"
1146
  msgstr "Πληροφορίες Παρακολούθησης"
1147
 
1148
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1149
  msgid "Additional text after header"
1150
  msgstr "Πρόσθετο κείμενο μετά την κεφαλίδα"
1151
 
1152
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1153
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1154
+ msgid "Tracking display template"
1155
  msgstr ""
1156
+ "Παρακολούθηση πρότυπου προβολής\n"
1157
+
1158
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1159
+ msgid "Select Template"
1160
+ msgstr ""
1161
+ "Επιλέξτε Πρότυπο\n"
1162
+
1163
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1164
+ msgid "Table Layout"
1165
+ msgstr ""
1166
+ "Διάταξη πίνακα\n"
1167
 
1168
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1169
+ msgid "Simple Layout Design"
1170
+ msgstr ""
1171
+ "Απλό σχέδιο διάταξης\n"
1172
 
1173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1174
+ msgid "Provider font size"
1175
+ msgstr "Μέγεθος γραμματοσειράς παροχέα"
1176
 
1177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1178
+ msgid "Provider font color"
1179
  msgstr ""
1180
+ "Χρώμα γραμματοσειράς παροχέα\n"
1181
+
1182
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1183
+ msgid "Show bottom border"
1184
+ msgstr "Εμφάνιση περιθωρίου κάτω"
1185
+
1186
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1187
+ msgid "Bottom border color"
1188
+ msgstr "Το χρώμα του κάτω ορίου"
1189
 
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1191
+ msgid "Table layout Design"
1192
+ msgstr "Σχέδιο διάταξης πίνακα"
1193
+
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1195
+ msgid "Display shipping provider name"
1196
+ msgstr "Εμφάνιση ονόματος παρόχου αποστολής"
1197
+
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1199
+ msgid "Display shipping provider image"
1200
+ msgstr "Εμφανίστε την εικόνα του προμηθευτή αποστολής"
1201
+
1202
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1203
+ msgid "Hide the ship date"
1204
  msgstr ""
1205
+ "Απόκρυψη της ημερομηνίας του πλοίου\n"
1206
+
1207
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1208
+ msgid "Use tracking number as a link"
1209
+ msgstr "Χρησιμοποιήστε τον αριθμό παρακολούθησης ως σύνδεσμο"
1210
+
1211
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1212
+ msgid "Table Headers"
1213
+ msgstr "Κεφαλίδες στον πίνακα"
1214
+
1215
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1216
+ msgid "Hide Table Headers"
1217
+ msgstr "Απόκρυψη κεφαλίδων πίνακα"
1218
 
1219
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1220
+ msgid "Provider header text"
1221
  msgstr "Κείμενο κεφαλίδας παροχέα"
1222
 
1223
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1224
+ msgid "Tracking Number header text"
1225
+ msgstr ""
1226
+ "Κείμενο κεφαλίδας αριθμού παρακολούθησης\n"
1227
 
1228
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1229
+ msgid "Ship date header text"
1230
+ msgstr ""
1231
+ "Κείμενο κεφαλίδας ημερομηνίας πλοίου\n"
1232
 
1233
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1234
  msgid "Track Label"
1235
  msgstr "Ετικέτα διαδρομής"
1236
 
1237
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1238
+ msgid "Track header text"
1239
+ msgstr ""
1240
+ "Κείμενο κεφαλίδας παρακολούθησης\n"
 
 
 
1241
 
1242
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1243
+ msgid "Headers font size"
1244
+ msgstr "Κεφάλαιο μέγεθος γραμματοσειράς"
1245
 
1246
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1247
+ msgid "Headers font color"
1248
  msgstr ""
1249
+ "Χρώμα γραμματοσειράς κεφαλίδων\n"
1250
+
1251
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1252
+ msgid "Table Content"
1253
+ msgstr "Περιεχόμενο πίνακα"
1254
 
1255
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1256
  msgid "Padding"
1257
  msgstr ""
1258
  "Υλικό παραγεμίσματος\n"
1259
 
1260
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1261
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1262
  msgid "Background color"
1263
  msgstr ""
1264
  "Χρώμα του φόντου\n"
1265
 
1266
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1267
+ #: includes/views/admin_tracking_page_settings.php:72
1268
  msgid "Border color"
1269
  msgstr ""
1270
  "Χρώμα πλαισίου\n"
1271
 
1272
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1273
  msgid "Border size"
1274
  msgstr ""
1275
  "Μέγεθος περιθωρίου\n"
1276
 
1277
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1278
+ msgid "Content Text align"
1279
+ msgstr ""
1280
+ "Ευθυγράμμιση κειμένου περιεχομένου\n"
1281
 
1282
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1283
+ msgid "Content font color"
1284
+ msgstr "Το χρώμα γραμματοσειράς περιεχομένου"
1285
 
1286
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1287
+ msgid "Content font size"
1288
+ msgstr "Μέγεθος γραμματοσειράς περιεχομένου"
1289
 
1290
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1291
  msgid "Content line height"
1292
  msgstr ""
1293
  "Το ύψος της γραμμής περιεχομένου\n"
1294
 
1295
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1296
  msgid "Content font weight"
1297
  msgstr ""
1298
  "Βάρος γραμματοσειράς περιεχομένου\n"
1299
 
1300
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1301
+ msgid "Tracking Link"
1302
  msgstr ""
1303
+ "Σύνδεσμος παρακολούθησης\n"
1304
 
1305
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1306
+ msgid "Font Color"
1307
+ msgstr ""
1308
+ "Χρώμα γραμματοσειράς\n"
1309
 
1310
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1311
+ msgid "Border"
1312
+ msgstr "Σύνορο"
1313
 
1314
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1315
+ msgid ""
1316
+ "To preview the tracking display, please add tracking information to at least "
1317
+ "one order and choose it in the preview order selection."
1318
+ msgstr ""
1319
+ "Για να κάνετε προεπισκόπηση της οθόνης παρακολούθησης, προσθέστε πληροφορίες "
1320
+ "παρακολούθησης σε τουλάχιστον μία παραγγελία και επιλέξτε την στην επιλογή "
1321
+ "σειράς προεπισκόπησης.\n"
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} έχει αποσταλεί εν μέρει.\n"
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/customizer/class-wc-updated-tracking-email-customizer.php:116
1340
+ msgid "Your {site_title} order is now updated tracking"
1341
  msgstr ""
1342
+ "Η παραγγελία σας {site_title} είναι πλέον ενημερωμένη παρακολούθηση\n"
1343
+
1344
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1345
+ msgid ""
1346
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1347
+ "recent order from {site_title} has been updated."
1348
+ msgstr ""
1349
+ "Γεια σου. σκεφτήκαμε ότι θα θέλατε να μάθετε ότι η παρακολούθηση αποστολής "
1350
+ "για την πρόσφατη παραγγελία σας από {site_title} έχει ενημερωθεί.\n"
1351
+
1352
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1353
+ msgid "Enable Updated Tracking order status email"
1354
+ msgstr ""
1355
+ "Ενεργοποιήστε το ενημερωμένο email κατάστασης εντολής παρακολούθησης\n"
1356
 
1357
  #: includes/emails/class-shipment-delivered-email.php:32
1358
  msgid "Delivered order"
1359
+ msgstr "Παραδοθείσα παραγγελία"
1360
 
1361
  #: includes/emails/class-shipment-delivered-email.php:33
1362
  msgid ""
1363
  "Order delivered emails are sent to customers when their orders are marked "
1364
  "delivered and usually indicate that their orders have been shipped."
1365
  msgstr ""
1366
+ "Τα παραδοθέντα ηλεκτρονικά μηνύματα αποστέλλονται στους πελάτες όταν "
1367
+ "παραγγελθούν οι παραγγελίες τους και συνήθως υποδεικνύουν ότι οι παραγγελίες "
1368
+ "τους έχουν αποσταλεί."
1369
 
1370
+ #: includes/emails/class-shipment-delivered-email.php:280
1371
  msgid "Click Here"
1372
+ msgstr "Κάντε κλικ ΕΔΩ"
1373
 
1374
+ #: includes/emails/class-shipment-delivered-email.php:281
1375
  msgid "Edit in customizer"
1376
+ msgstr "Επεξεργασία στο customizer"
1377
 
1378
  #: includes/views/admin_options_bulk_upload.php:10
1379
  msgid "Upload CSV"
1388
  "επιλεγεί, θα προστεθούν οι πληροφορίες παρακολούθησης)"
1389
 
1390
  #: includes/views/admin_options_bulk_upload.php:29
1391
+ #: includes/views/admin_options_shipping_provider.php:120
1392
+ #: includes/views/admin_options_shipping_provider.php:157
1393
  msgid "Upload"
1394
  msgstr "Μεταφόρτωση"
1395
 
1401
  msgid "Upload Progress - "
1402
  msgstr "Πρόοδος Μεταφόρτωσης - "
1403
 
1404
+ #: includes/views/admin_options_bulk_upload.php:50
1405
  msgid "Sample CSV"
1406
+ msgstr "Δείγμα CSV"
1407
 
1408
+ #: includes/views/admin_options_bulk_upload.php:55
1409
  msgid "You can download an example of the csv file:"
1410
  msgstr "Μπορείτε να κατεβάσετε ένα παράδειγμα του αρχείου csv:"
1411
 
1412
+ #: includes/views/admin_options_bulk_upload.php:58
1413
  msgid "Download sample csv file"
1414
  msgstr "Κάντε λήψη δείγματος αρχείου csv"
1415
 
1416
+ #: includes/views/admin_options_bulk_upload.php:63
1417
  msgid ""
1418
  "For detailed instructions on how to upload tracking info in bulk, see our"
1419
  msgstr ""
1420
  "Για λεπτομερείς οδηγίες σχετικά με τον τρόπο μαζικής αποστολής πληροφοριών "
1421
  "παρακολούθησης, ανατρέξτε στη σελίδα μας"
1422
 
1423
+ #: includes/views/admin_options_settings.php:15
1424
+ #: includes/views/admin_trackship_dashboard.php:62
1425
+ msgid "General Settings"
1426
+ msgstr "Γενικές Ρυθμίσεις"
1427
+
1428
  #: includes/views/admin_options_settings.php:26
1429
+ #: includes/views/admin_options_settings.php:181
1430
+ #: includes/views/admin_trackship_dashboard.php:73
1431
+ #: includes/views/admin_tracking_page_settings.php:101
 
1432
  msgid "Save Changes"
1433
+ msgstr "Αποθήκευσε τις αλλαγές"
1434
 
1435
  #: includes/views/admin_options_settings.php:40
1436
  msgid "Tracking Info Display"
1437
+ msgstr "Παρακολούθηση πληροφοριών προβολής"
1438
 
1439
  #: includes/views/admin_options_settings.php:49
1440
  msgid "You can customize the tracking info display on emails and my account"
1441
  msgstr ""
1442
+ "Μπορείτε να προσαρμόσετε την εμφάνιση πληροφοριών παρακολούθησης στα "
1443
+ "μηνύματα ηλεκτρονικού ταχυδρομείου και στον λογαριασμό μου"
1444
 
1445
  #: includes/views/admin_options_settings.php:52
1446
  msgid "Launch Customizer"
1447
+ msgstr "Εκκινήστε το Customizer"
1448
 
1449
  #: includes/views/admin_options_settings.php:62
1450
+ msgid "Custom Order Statuses"
1451
+ msgstr "Κατάσταση προσαρμοσμένων παραγγελιών"
1452
+
1453
+ #: includes/views/admin_options_settings.php:94
1454
+ #: includes/views/admin_options_settings.php:129
1455
+ #: includes/views/admin_options_settings.php:163
1456
+ msgid "Light Font"
1457
+ msgstr "Φως γραμματοσειράς"
1458
 
1459
+ #: includes/views/admin_options_settings.php:95
1460
+ #: includes/views/admin_options_settings.php:130
1461
+ #: includes/views/admin_options_settings.php:164
1462
+ msgid "Dark Font"
1463
  msgstr ""
1464
+ "Σκούρα γραμματοσειρά\n"
1465
 
1466
+ #: includes/views/admin_options_settings.php:99
1467
+ #: includes/views/admin_options_settings.php:134
1468
+ #: includes/views/admin_options_settings.php:168
1469
+ msgid "Send Email"
 
 
 
 
 
1470
  msgstr ""
1471
+ "Να στείλετε e-mail\n"
1472
 
1473
  #: includes/views/admin_options_shipping_provider.php:12
1474
+ #: includes/views/admin_options_shipping_provider.php:25
1475
+ #: includes/views/zorem_admin_sidebar.php:18
1476
+ #: includes/views/admin_options_addons.php:109
1477
  msgid "Active"
1478
+ msgstr "Ενεργός"
1479
 
1480
  #: includes/views/admin_options_shipping_provider.php:13
1481
+ #: includes/views/admin_options_shipping_provider.php:25
1482
  msgid "Inactive"
1483
+ msgstr "Αδρανής"
1484
 
1485
  #: includes/views/admin_options_shipping_provider.php:14
1486
  msgid "Custom"
1487
+ msgstr "Εθιμο"
1488
 
1489
+ #: includes/views/admin_options_shipping_provider.php:20
1490
+ msgid "Search by provider / country"
1491
+ msgstr "Αναζήτηση ανά προμηθευτή / χώρα"
1492
+
1493
+ #: includes/views/admin_options_shipping_provider.php:25
1494
+ msgid "Reset all:"
1495
  msgstr ""
1496
+ "Επαναφορά όλων:\n"
1497
 
1498
+ #: includes/views/admin_options_shipping_provider.php:26
 
1499
  #: includes/views/admin_options_shipping_provider.php:177
1500
+ #: includes/views/admin_options_shipping_provider.php:184
1501
  msgid "Sync Shipping Providers"
1502
+ msgstr "Sync Shipping Providers"
1503
 
1504
+ #: includes/views/admin_options_shipping_provider.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
1505
  msgid "Add Custom Shipping Provider"
1506
  msgstr "Προσθήκη Προσαρμοσμένου Μεταφορέα"
1507
 
1508
+ #: includes/views/admin_options_shipping_provider.php:109
1509
+ #: includes/views/admin_options_shipping_provider.php:146
1510
  msgid "Shipping Country"
1511
+ msgstr "Χώρα αποστολής"
1512
 
1513
+ #: includes/views/admin_options_shipping_provider.php:110
1514
+ #: includes/views/admin_options_shipping_provider.php:147
1515
  msgid "Global"
1516
+ msgstr "Παγκόσμια"
1517
 
1518
+ #: includes/views/admin_options_shipping_provider.php:126
1519
+ #: includes/views/admin_options_shipping_provider.php:163
1520
+ msgid "How to add Tracking URL"
1521
+ msgstr "Πώς να προσθέσετε τη διεύθυνση URL παρακολούθησης"
1522
+
1523
+ #: includes/views/admin_options_shipping_provider.php:139
1524
  msgid "Edit Custom Shipping Provider"
1525
  msgstr "Επεξεργασία προσαρμοσμένου προμηθευτή αποστολής"
1526
 
1527
+ #: includes/views/admin_options_shipping_provider.php:178
1528
  msgid ""
1529
  "Syncing the shipping providers list add or updates the pre-set shipping "
1530
  "providers and will not effect custom shipping providers."
1531
  msgstr ""
1532
+ "Ο συγχρονισμός της λίστας παρόχων ναυτιλίας προσθέτει ή ενημερώνει τους "
1533
+ "προκαθορισμένους παροχείς αποστολής και δεν θα επηρεάσει τους "
1534
+ "προσαρμοσμένους παροχείς αποστολής."
1535
 
1536
+ #: includes/views/admin_options_shipping_provider.php:180
1537
  msgid "Providers Added"
1538
  msgstr "Προστέθηκαν παροχείς"
1539
 
1540
+ #: includes/views/admin_options_shipping_provider.php:181
1541
  msgid "Providers Updated"
1542
  msgstr "Οι προμηθευτές ενημερώθηκαν"
1543
 
1544
+ #: includes/views/admin_options_shipping_provider.php:182
1545
  msgid "Providers Deleted"
1546
  msgstr "Οι πάροχοι έχουν διαγραφεί"
1547
 
1548
+ #: includes/views/admin_options_trackship_integration.php:17
1549
+ #: includes/views/admin_tracking_page_settings.php:7
1550
  msgid "Tracking Page"
1551
  msgstr "Σελίδα Παρακολούθησης"
1552
 
1553
+ #: includes/views/admin_options_trackship_integration.php:20
1554
+ msgid "Shipment Status Notifications"
1555
+ msgstr ""
1556
+ "Ειδοποιήσεις κατάστασης αποστολής\n"
1557
+
1558
+ #: includes/views/admin_options_trackship_integration.php:23
1559
+ msgid "Tools"
1560
+ msgstr "Εργαλεία"
1561
+
1562
+ #: includes/views/zorem_admin_sidebar.php:15
1563
+ #: includes/views/admin_options_addons.php:90
1564
+ msgid "Get This Add-on >"
1565
+ msgstr ""
1566
+ "Πάρτε αυτό το πρόσθετο>\n"
1567
+
1568
+ #: includes/views/zorem_admin_sidebar.php:27
1569
+ msgid "Upgrade to PRO"
1570
+ msgstr ""
1571
+ "Αναβάθμιση σε επαγγελματικό\n"
1572
+
1573
+ #: includes/views/admin_options_tools.php:23
1574
+ msgid ""
1575
+ "You can send all your orders from the last 30 days to get shipment status "
1576
+ "from TrackShip:"
1577
+ msgstr ""
1578
+ "Μπορείτε να στείλετε όλες τις παραγγελίες σας από τις τελευταίες 30 ημέρες "
1579
+ "για να λάβετε την κατάσταση αποστολής από το TrackShip:"
1580
+
1581
+ #: includes/views/admin_options_addons.php:20
1582
+ msgid "TrackShip"
1583
+ msgstr "TrackShip"
1584
+
1585
+ #: includes/views/admin_options_addons.php:36
1586
+ msgid ""
1587
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1588
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1589
+ "the order management workflows, reduces customer inquiries, reduces time "
1590
+ "spent on customer service, and improves the post-purchase experience and "
1591
+ "satisfaction of your customers."
1592
+ msgstr ""
1593
+ "Το TracksShip είναι μια πρωτοποριακή πλατφόρμα API tracking tracking που "
1594
+ "ενσωματώνει πλήρως το WooCommerce με την Advanced Tracking Tracking. Το "
1595
+ "TrackShip αυτοματοποιεί τις ροές εργασίας διαχείρισης της παραγγελίας, "
1596
+ "μειώνει τις ερωτήσεις πελατών, μειώνει το χρόνο που αφιερώνεται στην "
1597
+ "εξυπηρέτηση πελατών και βελτιώνει την εμπειρία μετά την αγορά και την "
1598
+ "ικανοποίηση των πελατών σας.\n"
1599
+
1600
+ #: includes/views/admin_options_addons.php:37
1601
+ msgid ""
1602
+ "You must have account TracksShip and connect your store in order to activate "
1603
+ "these advanced features:"
1604
+ msgstr ""
1605
+ "Πρέπει να έχετε λογαριασμό TracksShip και να συνδέσετε το κατάστημά σας για "
1606
+ "να ενεργοποιήσετε αυτές τις προηγμένες λειτουργίες:\n"
1607
 
1608
+ #: includes/views/admin_options_addons.php:51
1609
+ msgid "SIGNUP NOW"
1610
  msgstr ""
1611
+ "ΕΓΓΡΑΦΕΙΤΕ ΤΩΡΑ\n"
 
1612
 
1613
+ #: includes/views/admin_options_addons.php:80
1614
+ msgid ""
1615
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1616
+ "tracking numbers to specific line items and to line item quantities."
1617
+ msgstr ""
1618
+ "Το πρόσθετο Παρακολούθηση ανά αντικείμενο επεκτείνει το plugin AST και σας "
1619
+ "επιτρέπει να επισυνάψετε αριθμούς παρακολούθησης σε συγκεκριμένα στοιχεία "
1620
+ "γραμμής και σε ποσότητες στοιχείων γραμμής.\n"
1621
+
1622
+ #: includes/views/admin_options_addons.php:110
1623
+ msgid "Deactivate"
1624
+ msgstr "Απενεργοποιήστε"
1625
+
1626
+ #: includes/views/admin_options_addons.php:112
1627
+ msgid "Activate"
1628
+ msgstr "Θέτω εις ενέργειαν"
1629
+
1630
+ #: includes/views/admin_tracking_page_settings.php:39
1631
+ msgid ""
1632
+ "Note - If you select a different page than the Shipment Tracking page, add "
1633
+ "the [wcast-track-order] shortcode to the selected page content."
1634
+ msgstr ""
1635
+ "Σημείωση - Αν επιλέξετε διαφορετική σελίδα από τη σελίδα Tracking Tracking, "
1636
+ "προσθέστε το shortcode [wcast-track-order] στο επιλεγμένο περιεχόμενο "
1637
+ "σελίδας.\n"
1638
+
1639
+ #: includes/views/admin_tracking_page_settings.php:39
1640
+ msgid "more info"
1641
+ msgstr ""
1642
+ "περισσότερες πληροφορίες\n"
1643
+
1644
+ #: includes/views/admin_tracking_page_settings.php:66
1645
+ msgid "Text Color"
1646
+ msgstr ""
1647
+ "Χρώμα κειμένου\n"
1648
+
1649
+ #: includes/views/admin_tracking_page_settings.php:88
1650
+ msgid "Hide tracking event details"
1651
+ msgstr ""
1652
+ "Απόκρυψη λεπτομερειών συμβάντων παρακολούθησης\n"
1653
+
1654
+ #: includes/views/admin_tracking_page_settings.php:110
1655
+ msgid "Preview"
1656
+ msgstr ""
1657
+ "Προεπισκόπηση\n"
1658
+
1659
+ #: includes/views/admin_status_notifications.php:3
1660
  msgid "Shipment Status Notifications "
1661
  msgstr "Ειδοποιήσεις κατάστασης αποστολής"
1662
 
1663
+ #: includes/views/admin_status_notifications.php:27
1664
  msgid ""
1665
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1666
  "the way."
1668
  "Ο μεταφορέας έχει αποδεχτεί ή έχει παραλάβει την αποστολή από τον αποστολέα. "
1669
  "Η αποστολή βρίσκεται στο δρόμο."
1670
 
1671
+ #: includes/views/admin_status_notifications.php:41
1672
  msgid "Shipment is returned to sender"
1673
  msgstr "Η αποστολή επιστρέφεται στον αποστολέα"
1674
 
1675
+ #: includes/views/admin_status_notifications.php:55
1676
  msgid "The shipment is ready to pickup."
1677
  msgstr "Η αποστολή είναι έτοιμη για παραλαβή."
1678
 
1679
+ #: includes/views/admin_status_notifications.php:68
1680
  msgid "Carrier is about to deliver the shipment"
1681
  msgstr "Ο μεταφορέας πρόκειται να παραδώσει την αποστολή"
1682
 
1683
+ #: includes/views/admin_status_notifications.php:82
1684
  msgid "The shipment was delivered successfully"
1685
  msgstr "Η αποστολή παραδόθηκε με επιτυχία"
1686
 
1687
+ #: includes/views/admin_status_notifications.php:83
1688
  msgid ""
1689
  "You already have delivered email enabled, to enable this email you'll need "
1690
  "to disable the order status delivered in settings."
1694
  "απενεργοποιήσετε την κατάσταση της παραγγελίας που εμφανίζεται στις "
1695
  "ρυθμίσεις."
1696
 
1697
+ #: includes/views/admin_status_notifications.php:97
1698
  msgid ""
1699
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1700
  "will try to deliver the package again."
1702
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1703
  "will try to deliver the package again."
1704
 
1705
+ #: templates/emails/tracking-info.php:225
1706
+ #: templates/myaccount/tracking-info.php:166
1707
+ msgid "Provider Name"
1708
+ msgstr "Ονομα πάροχου"
 
 
 
 
 
1709
 
1710
  #. %s: Order ID.
1711
  #: templates/emails/wcast-email-order-details.php:47
1714
  msgstr ""
1715
  "Αριθμός παραγγελίας:% s\n"
1716
 
1717
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1718
+ msgid "Cannot create existing order shipment tracking."
1719
+ msgstr ""
1720
+ "Δεν είναι δυνατή η δημιουργία της υπάρχουσας παρακολούθησης αποστολής "
1721
+ "παραγγελιών."
1722
+
1723
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1724
+ msgid "Invalid order ID."
1725
+ msgstr "Μη έγκυρο αναγνωριστικό παραγγελίας."
1726
+
1727
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1728
+ msgid "Special character not allowd in tracking number"
1729
+ msgstr "Ειδικός χαρακτήρας που δεν επιτρέπεται στον αριθμό καταδίωξης"
1730
+
1731
  #. Name of the plugin
1732
  msgid "Advanced Shipment Tracking for WooCommerce"
1733
  msgstr ""
1734
+ "Προηγμένη παρακολούθηση αποστολής για το WooCommerce\n"
1735
 
1736
  #. Description of the plugin
1737
  msgid ""
1740
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1741
  "order complete email."
1742
  msgstr ""
1743
+ "Προσθέστε πληροφορίες παρακολούθησης αποστολής στις παραγγελίες σας στο "
1744
+ "WooCommerce και παρέχετε στους πελάτες έναν εύκολο τρόπο παρακολούθησης των "
1745
+ "παραγγελιών τους. Τα στοιχεία παρακολούθησης αποστολής θα εμφανίζονται στους "
1746
+ "λογαριασμούς πελατών (στον πίνακα παραγγελιών) και στην παραγγελία του "
1747
+ "WooCommerce για πλήρη ηλεκτρονική αλληλογραφία.\n"
lang/woo-advanced-shipment-tracking-es_ES.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-es_ES.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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:07+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,280 +23,758 @@ msgstr ""
23
  "¡Instale y active% sWooCommerce% s para el seguimiento de envío avanzado de "
24
  "WooCommerce!"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 ID de pedido en el cuadro a continuación "
50
- "y presione el botón \"Rastrear\". Esto se le entregó en su recibo y en el "
51
- "correo electrónico de confirmación que debería haber recibido.\n"
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 ""
62
- "Orden de correo electrónico\n"
63
 
64
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
65
- #: includes/class-wc-advanced-shipment-tracking.php:276
66
- #: includes/class-wc-advanced-shipment-tracking.php:701
67
- #: includes/class-wc-advanced-shipment-tracking.php:826
68
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
69
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
70
- #: templates/emails/tracking-info.php:174
71
- #: templates/myaccount/tracking-info.php:125
72
  msgid "Track"
73
- msgstr "seguimiento"
74
 
75
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
76
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
77
  #, php-format
78
  msgid "Shipment - %s (out of %s)"
79
  msgstr ""
80
  "Envío -% s (de% s)\n"
81
 
82
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
84
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
85
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
86
- msgid "Estimated Delivery Date: "
87
- msgstr "Fecha estimada de entrega:"
 
 
 
 
 
 
 
 
 
88
 
89
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
90
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
91
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
92
  msgid "Tracking Details"
93
  msgstr "Detalles de seguimiento"
94
 
95
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
96
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
97
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
98
  msgid "view more"
99
  msgstr "ver más"
100
 
101
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
102
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
103
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
104
  msgid "view less"
105
  msgstr "ver menos"
106
 
107
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
108
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
109
- msgid "Tracking details not found in TrackShip"
110
- msgstr ""
111
-
112
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
113
- msgid "Estimated Delivery Date"
114
- msgstr ""
115
-
116
  #: includes/class-wc-advanced-shipment-tracking.php:95
117
- #: includes/class-wc-advanced-shipment-tracking.php:260
118
  #: includes/customizer/class-wcast-customizer.php:31
119
  msgid "Shipment Tracking"
120
  msgstr "rastreo de envío"
121
 
122
  #: includes/class-wc-advanced-shipment-tracking.php:184
123
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
124
  msgid "Mark as Shipped?"
125
  msgstr ""
126
-
127
- #: includes/class-wc-advanced-shipment-tracking.php:185
128
- msgid "Shipped"
129
- msgstr ""
130
 
131
  #: includes/class-wc-advanced-shipment-tracking.php:187
132
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
133
  msgid "Mark as Completed?"
134
  msgstr ""
 
135
 
136
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
137
  msgid "Completed"
138
- msgstr ""
139
 
140
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
141
  msgid "Add Tracking Number"
142
  msgstr ""
 
143
 
144
- #: includes/class-wc-advanced-shipment-tracking.php:200
145
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
146
  msgid "Provider:"
147
  msgstr "Proveedor:"
148
 
149
- #: includes/class-wc-advanced-shipment-tracking.php:220
150
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
151
  msgid "Tracking number:"
152
  msgstr "El número de rastreo:"
153
 
154
- #: includes/class-wc-advanced-shipment-tracking.php:224
155
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
156
  msgid "Date shipped:"
157
  msgstr "Fecha de envío:"
158
 
159
- #: includes/class-wc-advanced-shipment-tracking.php:225
160
- #: includes/class-wc-advanced-shipment-tracking.php:442
161
- #: includes/class-wc-advanced-shipment-tracking.php:445
162
- msgid "Y-m-d"
163
- msgstr ""
164
-
165
- #: includes/class-wc-advanced-shipment-tracking.php:231
166
- #: includes/class-wc-advanced-shipment-tracking.php:451
167
- msgid "Mark as"
168
  msgstr ""
 
169
 
170
- #: includes/class-wc-advanced-shipment-tracking.php:234
171
- #: includes/class-wc-advanced-shipment-tracking.php:455
 
172
  msgid "Partial Shipped"
173
  msgstr ""
 
174
 
175
- #: includes/class-wc-advanced-shipment-tracking.php:276
176
- #: includes/class-wc-advanced-shipment-tracking.php:469
177
- msgid "Click here to track your shipment"
178
- msgstr "Haga clic aquí para rastrear su envío"
 
179
 
180
  #. 1: shipping date
181
- #: includes/class-wc-advanced-shipment-tracking.php:284
182
  #, php-format
183
  msgid "Shipped on %s"
184
  msgstr "Enviado en% s"
185
 
186
- #: includes/class-wc-advanced-shipment-tracking.php:391
187
  msgid "Add Tracking Info"
188
  msgstr "Agregar información de seguimiento"
189
 
190
- #: includes/class-wc-advanced-shipment-tracking.php:396
191
  msgid "Select Provider"
192
  msgstr "Seleccionar Proveedor"
193
 
194
- #: includes/class-wc-advanced-shipment-tracking.php:468
195
  msgid "Save Tracking"
196
  msgstr "Guardar seguimiento"
197
 
198
- #: includes/class-wc-advanced-shipment-tracking.php:469
199
  msgid "Preview:"
200
  msgstr "Avance:"
201
 
202
- #: includes/class-wc-advanced-shipment-tracking.php:675
203
  #, php-format
204
  msgid ""
205
  "Tracking info was deleted for tracking provider %s with tracking number %s"
206
  msgstr ""
 
 
207
 
208
- #: includes/class-wc-advanced-shipment-tracking.php:1042
209
  #, php-format
210
  msgid "Order was shipped with %s and tracking number is: %s"
211
  msgstr ""
 
212
 
213
  #: includes/class-wc-advanced-shipment-welcome.php:38
214
  #: includes/class-wc-advanced-shipment-welcome.php:39
215
  msgid "Welcome to Advanced Shipment Tracking"
216
  msgstr ""
 
217
 
218
  #: includes/class-wc-advanced-shipment-welcome.php:90
219
  #: includes/class-wc-advanced-shipment-welcome.php:129
220
  #: includes/class-wc-advanced-shipment-welcome.php:147
221
  msgid "Save and Continue"
222
  msgstr ""
 
223
 
224
  #: includes/class-wc-advanced-shipment-welcome.php:177
225
- #: includes/views/admin_options_trackship_integration.php:26
226
  msgid "Connection status"
227
  msgstr ""
 
228
 
229
  #: includes/class-wc-advanced-shipment-welcome.php:184
230
- #: includes/views/admin_options_trackship_integration.php:33
231
  msgid "TrackShip Connection Status"
232
  msgstr "Estado de conexión de TrackShip"
233
 
234
- #: includes/class-wc-advanced-shipment-welcome.php:188
235
- #: includes/views/admin_options_trackship_integration.php:37
236
- msgid "Connected"
237
- msgstr ""
238
- "Conectado\n"
239
-
240
  #: includes/class-wc-advanced-shipment-welcome.php:194
241
- #: includes/views/admin_options_trackship_integration.php:43
242
  msgid "Trackers Balance"
243
  msgstr ""
 
244
 
245
  #: includes/class-wc-advanced-shipment-welcome.php:202
246
- #: includes/views/admin_options_trackship_integration.php:51
247
  msgid "Current Plan"
248
  msgstr ""
 
249
 
250
  #: includes/class-wc-advanced-shipment-welcome.php:217
251
- #: includes/views/admin_options_trackship_integration.php:66
 
252
  msgid ""
253
  "You are now connected with TrackShip! TrackShip makes it effortless to "
254
  "automate your post shipping operations and get tracking and delivery status "
255
  "updates directly in the WooCommerce admin."
256
  msgstr ""
257
-
258
- #: includes/class-wc-advanced-shipment-welcome.php:222
259
- #: includes/views/admin_options_bulk_upload.php:58
260
- #: includes/views/admin_options_trackship_integration.php:71
261
- #: includes/views/zorem_admin_ts_sidebar.php:12
262
- msgid "Documentation"
263
- msgstr ""
264
 
265
  #: includes/class-wc-advanced-shipment-welcome.php:223
266
- #: includes/views/admin_options_trackship_integration.php:72
267
  msgid "TrackShip Dashboard"
268
  msgstr ""
 
269
 
270
  #: includes/class-wc-advanced-shipment-welcome.php:253
271
  msgid "Save"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
272
  msgstr ""
 
273
 
274
- #: includes/class-wc-advanced-shipment-welcome.php:310
275
- msgid ""
276
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
277
- "100 orders."
 
 
 
 
 
 
 
 
 
278
  msgstr ""
 
279
 
280
- #: includes/class-wc-advanced-shipment-welcome.php:343
281
- msgid "Data saved successfully."
282
- msgstr "Datos guardados exitosamente."
 
 
 
 
 
283
 
284
- #: includes/class-wc-advanced-shipment-welcome.php:344
285
- msgid "Really delete this entry? This will not be undo."
286
  msgstr ""
287
- "¿Realmente eliminar esta entrada? Esto no será deshacer.\n"
288
 
289
- #: includes/class-wc-advanced-shipment-welcome.php:345
290
- msgid "You can upload only csv file."
291
- msgstr "Puedes subir solo el archivo csv."
 
292
 
293
- #: includes/class-wc-advanced-shipment-welcome.php:346
294
- msgid "This browser does not support HTML5."
295
- msgstr "Este navegador no es compatible con HTML5."
 
296
 
297
- #: includes/class-wc-advanced-shipment-welcome.php:347
298
- msgid "Please upload a valid CSV file."
299
- msgstr "Por favor, cargue un archivo CSV válido."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
300
 
301
  #: includes/customizer/class-wcast-customizer.php:40
302
  msgid "Shipment Status Emails"
@@ -315,55 +793,17 @@ msgstr ""
315
 
316
  #: includes/customizer/class-wcast-customizer.php:68
317
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
318
- msgid "Partial Shipped status email"
319
  msgstr ""
 
320
 
321
  #: includes/customizer/class-wcast-customizer.php:76
322
- msgid "Pre Transit"
 
323
  msgstr ""
324
- "Pre tránsito\n"
325
-
326
- #: includes/customizer/class-wcast-customizer.php:84
327
- #: includes/customizer/class-wc-intransit-email-customizer.php:127
328
- #: includes/views/admin_options_trackship_integration.php:161
329
- msgid "In Transit"
330
- msgstr ""
331
- "En tránsito\n"
332
-
333
- #: includes/customizer/class-wcast-customizer.php:92
334
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
335
- #: includes/views/admin_options_trackship_integration.php:175
336
- msgid "Return To Sender"
337
- msgstr ""
338
- "Devolver al remitente\n"
339
-
340
- #: includes/customizer/class-wcast-customizer.php:99
341
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
342
- #: includes/views/admin_options_trackship_integration.php:189
343
- msgid "Available For Pickup"
344
- msgstr ""
345
- "Disponible para envíos\n"
346
-
347
- #: includes/customizer/class-wcast-customizer.php:106
348
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
349
- #: includes/views/admin_options_trackship_integration.php:202
350
- msgid "Out For Delivery"
351
- msgstr ""
352
- "Fuera de Entrega\n"
353
-
354
- #: includes/customizer/class-wcast-customizer.php:114
355
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
356
- #: includes/views/admin_options_trackship_integration.php:216
357
- msgid "Delivered"
358
- msgstr "Entregado"
359
 
360
- #: includes/customizer/class-wcast-customizer.php:122
361
- #: includes/customizer/class-wc-failure-email-customizer.php:124
362
- #: includes/views/admin_options_trackship_integration.php:231
363
- msgid "Failed Attempt"
364
- msgstr "Intento fallido"
365
-
366
- #: includes/customizer/class-wcast-customizer.php:390
367
  msgid "Select order to preview"
368
  msgstr ""
369
  "Seleccione el orden para previsualizar\n"
@@ -394,6 +834,7 @@ msgstr ""
394
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
395
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
396
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
397
  msgid "This section lets you customize the Email Content."
398
  msgstr ""
399
  "Esta sección le permite personalizar el contenido del correo electrónico.\n"
@@ -410,8 +851,9 @@ msgstr ""
410
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
411
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
412
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
413
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
414
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
415
  msgid "Preview order"
416
  msgstr ""
417
  "Orden de previsualización\n"
@@ -426,42 +868,41 @@ msgstr ""
426
  msgid "E.g. {customer.email}, admin@example.org"
427
  msgstr "Por ejemplo, {customer.email}, admin@example.org"
428
 
 
429
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
430
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
431
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
432
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
433
  #: includes/customizer/class-wc-failure-email-customizer.php:231
434
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
435
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
436
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
437
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
438
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
439
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
440
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
441
- msgid "Available placeholders: {site_title}, {order_number}"
442
- msgstr "Marcadores de posición disponibles: {site_title}, {order_number}"
443
-
444
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
445
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
446
- #: includes/customizer/class-wc-email-customizer.php:249
447
- #: includes/customizer/class-wc-failure-email-customizer.php:237
448
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
449
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
450
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
451
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
452
- msgid "Please enter email subject here"
453
- msgstr "Por favor ingrese el asunto del correo electrónico aquí"
454
-
455
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
456
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
457
- #: includes/customizer/class-wc-email-customizer.php:272
458
- #: includes/customizer/class-wc-failure-email-customizer.php:259
459
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
460
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
461
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
462
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
463
- msgid "Please enter email heading here"
464
- msgstr "Por favor, introduzca el encabezado del correo electrónico aquí"
465
 
466
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
467
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -505,22 +946,24 @@ msgstr ""
505
 
506
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
507
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
508
- #: includes/customizer/class-wc-email-customizer.php:392
509
  #: includes/customizer/class-wc-failure-email-customizer.php:339
510
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
511
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
512
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
513
  msgid "Google Analytics link tracking"
514
  msgstr ""
 
515
 
516
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
517
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
518
  #: includes/customizer/class-wc-failure-email-customizer.php:340
519
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
520
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
521
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
522
  msgid "This will be appended to URL in the email content"
523
  msgstr ""
 
524
 
525
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
526
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -530,36 +973,33 @@ msgstr ""
530
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
531
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
532
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
533
  msgid "Email content"
534
  msgstr "Contenido de correo electronico"
535
 
536
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
537
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
538
- #: includes/customizer/class-wc-email-customizer.php:413
539
- #: includes/customizer/class-wc-failure-email-customizer.php:381
540
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
541
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
542
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
543
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
544
- msgid "Available placeholders"
545
- msgstr ""
546
- "Marcadores de posición disponibles\n"
547
-
548
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
549
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
550
- #: includes/customizer/class-wc-email-customizer.php:446
551
- #: includes/customizer/class-wc-failure-email-customizer.php:428
552
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
553
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
554
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
555
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
556
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
557
  msgid "Please select order to preview."
558
  msgstr ""
 
559
 
560
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
561
  msgid "Your order #{order_number} has been delivered"
562
  msgstr ""
 
563
 
564
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
565
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -591,51 +1031,45 @@ msgstr ""
591
  "Habilitar correo electrónico de estado de pedido entregado\n"
592
 
593
  #: includes/customizer/class-wc-email-customizer.php:201
594
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
595
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
596
  msgid "Please select a order..."
597
  msgstr ""
598
  "Por favor seleccione una orden ...\n"
599
 
600
- #: includes/customizer/class-wc-email-customizer.php:243
601
- #: includes/customizer/class-wc-email-customizer.php:266
602
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
603
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
604
- msgid "Available variables: {site_title}, {order_number}"
605
- msgstr ""
606
-
607
- #: includes/customizer/class-wc-email-customizer.php:289
608
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
609
- msgid ""
610
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
611
- "{customer_last_name}, {customer_username}, {order_number}"
612
- msgstr ""
613
-
614
- #: includes/customizer/class-wc-email-customizer.php:308
615
  msgid "Display tracking details"
616
  msgstr ""
 
617
 
618
- #: includes/customizer/class-wc-email-customizer.php:324
619
  msgid "Display order details"
620
  msgstr ""
 
621
 
622
- #: includes/customizer/class-wc-email-customizer.php:341
623
  msgid "Display Shipping Address"
624
  msgstr ""
 
625
 
626
- #: includes/customizer/class-wc-email-customizer.php:358
627
  msgid "Display Billing Address"
628
  msgstr ""
 
629
 
630
- #: includes/customizer/class-wc-email-customizer.php:375
631
  msgid "Enable Google Analytics tracking"
632
  msgstr ""
 
633
 
634
- #: includes/customizer/class-wc-email-customizer.php:393
635
  msgid ""
636
  "This will be appended to URL in the email content – e.g. "
637
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
638
  msgstr ""
 
 
639
 
640
  #: includes/customizer/class-wc-failure-email-customizer.php:123
641
  msgid "Your order #{order_number} is Failed Attempt"
@@ -726,205 +1160,300 @@ msgstr ""
726
  "Habilitar el correo electrónico de estado de envío de Devolución al remitente"
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 "Proveedor"
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 "El número de rastreo"
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 "Fecha de envío"
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."
751
  msgstr ""
752
- "seleccione de los últimos 20 pedidos un pedido que haya agregado información "
753
- "de seguimiento para obtener una vista previa y diseñar la tabla de "
754
  "información de seguimiento.\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 "Configuración general"
761
-
762
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
763
  msgid "Tracking Display Position"
764
  msgstr "Seguimiento de la posición de visualización"
765
 
766
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
767
  msgid "Before Order Details"
768
  msgstr "Antes de los detalles del pedido"
769
 
770
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
771
  msgid "After Order Details"
772
  msgstr "Después de los detalles del pedido"
773
 
774
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
775
- msgid "Main Header text"
776
- msgstr "Texto del encabezado principal"
 
777
 
778
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
779
  msgid "Tracking Information"
780
  msgstr "Información de seguimiento"
781
 
782
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
783
  msgid "Additional text after header"
784
  msgstr "Texto adicional después del encabezado"
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 "Mostrar imagen del proveedor de envío"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
793
 
794
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
795
- msgid "Hide date"
796
- msgstr "Ocultar fecha"
 
 
 
 
 
 
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 "Texto del encabezado del proveedor"
 
809
 
810
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
811
- msgid "Tracking Number Header Text"
812
- msgstr "Número de seguimiento del encabezado de texto"
 
813
 
814
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
815
- msgid "Shipped Date Header Text"
816
- msgstr "Texto de encabezado de fecha de envío"
 
817
 
818
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
819
  msgid "Track Label"
820
  msgstr "Etiqueta de la pista"
821
 
822
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
823
- msgid "Track Header Text"
824
- msgstr "Texto del encabezado de pista"
 
825
 
826
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
827
- msgid "Table header font size"
828
- msgstr "Tamaño de fuente del encabezado de tabla"
 
829
 
830
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
831
- msgid "Table header font color"
832
- msgstr "Color de fuente del encabezado de tabla"
 
833
 
834
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
835
- msgid "Table Design"
836
  msgstr ""
837
- "Diseño de mesa\n"
838
 
839
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
840
  msgid "Padding"
841
  msgstr ""
842
  "Relleno\n"
843
 
844
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
845
  msgid "Background color"
846
  msgstr ""
847
  "Color de fondo\n"
848
 
849
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
850
  msgid "Border color"
851
  msgstr ""
852
  "Color del borde\n"
853
 
854
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
855
  msgid "Border size"
856
  msgstr ""
857
  "Tamaño del borde\n"
858
 
859
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
860
- msgid "Table text align"
861
- msgstr "Alinear el texto de la tabla"
 
862
 
863
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
864
- msgid "Table content font size"
865
- msgstr "Tamaño de fuente del contenido de la tabla"
 
866
 
867
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
868
- msgid "Table content font color"
869
- msgstr "Color de fuente del contenido de la tabla"
 
870
 
871
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
872
  msgid "Content line height"
873
  msgstr ""
874
  "Altura de la línea de contenido\n"
875
 
876
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
877
  msgid "Content font weight"
878
  msgstr ""
879
  "Peso de la fuente de contenido\n"
880
 
881
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
882
- msgid "Track Button Design"
883
  msgstr ""
 
884
 
885
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
886
- msgid "Track Link Font Color"
887
- msgstr "Track Link Color de fuente"
 
888
 
889
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
890
- msgid "Track Link Background Color"
891
- msgstr "Color de fondo del enlace de seguimiento"
892
 
893
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
894
- msgid "Track link Border"
895
- msgstr "Track link Border"
 
 
 
 
 
896
 
897
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
898
- msgid "Your {site_title} order is now partial shipped"
899
  msgstr ""
 
900
 
901
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
902
  msgid ""
903
  "Hi there. we thought you'd like to know that your recent order from "
904
- "{site_title} has been Partial Shipped."
905
  msgstr ""
 
 
906
 
907
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
908
- msgid "Enable Partial Shipped order status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
909
  msgstr ""
 
 
910
 
911
  #: includes/emails/class-shipment-delivered-email.php:32
912
  msgid "Delivered order"
913
  msgstr ""
 
914
 
915
  #: includes/emails/class-shipment-delivered-email.php:33
916
  msgid ""
917
  "Order delivered emails are sent to customers when their orders are marked "
918
  "delivered and usually indicate that their orders have been shipped."
919
  msgstr ""
 
 
 
920
 
921
- #: includes/emails/class-shipment-delivered-email.php:279
922
  msgid "Click Here"
923
  msgstr ""
 
924
 
925
- #: includes/emails/class-shipment-delivered-email.php:280
926
  msgid "Edit in customizer"
927
  msgstr ""
 
928
 
929
  #: includes/views/admin_options_bulk_upload.php:10
930
  msgid "Upload CSV"
@@ -939,8 +1468,8 @@ msgstr ""
939
  "agregará la información de seguimiento)"
940
 
941
  #: includes/views/admin_options_bulk_upload.php:29
942
- #: includes/views/admin_options_shipping_provider.php:119
943
- #: includes/views/admin_options_shipping_provider.php:153
944
  msgid "Upload"
945
  msgstr "Subir"
946
 
@@ -952,156 +1481,276 @@ msgstr "Se guardó la configuración."
952
  msgid "Upload Progress - "
953
  msgstr "Progreso de carga -"
954
 
955
- #: includes/views/admin_options_bulk_upload.php:45
956
  msgid "Sample CSV"
957
  msgstr ""
 
958
 
959
- #: includes/views/admin_options_bulk_upload.php:50
960
  msgid "You can download an example of the csv file:"
961
  msgstr "Puedes descargar un ejemplo del archivo csv:"
962
 
963
- #: includes/views/admin_options_bulk_upload.php:53
964
  msgid "Download sample csv file"
965
  msgstr "Descargar archivo csv de muestra"
966
 
967
- #: includes/views/admin_options_bulk_upload.php:58
968
  msgid ""
969
  "For detailed instructions on how to upload tracking info in bulk, see our"
970
  msgstr ""
971
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
972
  "seguimiento de forma masiva, consulte nuestra"
973
 
 
 
 
 
 
974
  #: includes/views/admin_options_settings.php:26
975
- #: includes/views/admin_options_settings.php:74
976
- #: includes/views/admin_options_settings.php:100
977
- #: includes/views/admin_options_trackship_integration.php:93
978
- #: includes/views/admin_options_trackship_integration.php:124
979
  msgid "Save Changes"
980
  msgstr ""
 
981
 
982
  #: includes/views/admin_options_settings.php:40
983
  msgid "Tracking Info Display"
984
  msgstr ""
 
985
 
986
  #: includes/views/admin_options_settings.php:49
987
  msgid "You can customize the tracking info display on emails and my account"
988
  msgstr ""
 
 
989
 
990
  #: includes/views/admin_options_settings.php:52
991
  msgid "Launch Customizer"
992
  msgstr ""
 
993
 
994
  #: includes/views/admin_options_settings.php:62
995
- msgid "Delivered Order Status"
996
- msgstr "Estado de pedido entregado"
997
-
998
- #: includes/views/admin_options_settings.php:88
999
- msgid "Partial Shipped Order Status"
1000
  msgstr ""
 
1001
 
1002
  #: includes/views/admin_options_settings.php:94
1003
- #, php-format
1004
- msgid ""
1005
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
1006
- "Shipped\", when you deactivate the plugin, you must register this order "
1007
- "status in function.php in order to see these orders in the orders admin. You "
1008
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
1009
- "php here or you can manually change all your \"partial-shipped\" order to "
1010
- "\"completed\" before deactivating the plugin."
1011
  msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1012
 
1013
  #: includes/views/admin_options_shipping_provider.php:12
1014
- #: includes/views/admin_options_shipping_provider.php:23
 
 
1015
  msgid "Active"
1016
- msgstr ""
1017
 
1018
  #: includes/views/admin_options_shipping_provider.php:13
1019
- #: includes/views/admin_options_shipping_provider.php:23
1020
  msgid "Inactive"
1021
- msgstr ""
1022
 
1023
  #: includes/views/admin_options_shipping_provider.php:14
1024
  msgid "Custom"
1025
  msgstr ""
 
1026
 
1027
- #: includes/views/admin_options_shipping_provider.php:21
1028
- msgid "Add Custom Provider"
1029
- msgstr ""
1030
-
1031
- #: includes/views/admin_options_shipping_provider.php:22
1032
- #: includes/views/admin_options_shipping_provider.php:170
1033
- #: includes/views/admin_options_shipping_provider.php:177
1034
- msgid "Sync Shipping Providers"
1035
  msgstr ""
 
1036
 
1037
- #: includes/views/admin_options_shipping_provider.php:23
1038
- msgid "Reset"
1039
  msgstr ""
 
1040
 
1041
- #: includes/views/admin_options_shipping_provider.php:27
1042
- msgid "Search by provider / country"
 
 
1043
  msgstr ""
 
1044
 
1045
- #: includes/views/admin_options_shipping_provider.php:95
1046
- #, php-format
1047
- msgid "You don't have any %s shipping providers."
1048
- msgstr "No tiene ningún proveedor de envío% s."
1049
-
1050
- #: includes/views/admin_options_shipping_provider.php:101
1051
  msgid "Add Custom Shipping Provider"
1052
  msgstr "Añadir proveedor de envío personalizado"
1053
 
1054
- #: includes/views/admin_options_shipping_provider.php:108
1055
- #: includes/views/admin_options_shipping_provider.php:142
1056
  msgid "Shipping Country"
1057
  msgstr ""
 
1058
 
1059
- #: includes/views/admin_options_shipping_provider.php:109
1060
- #: includes/views/admin_options_shipping_provider.php:143
1061
  msgid "Global"
 
 
 
 
 
1062
  msgstr ""
 
1063
 
1064
- #: includes/views/admin_options_shipping_provider.php:135
1065
  msgid "Edit Custom Shipping Provider"
1066
  msgstr "Editar proveedor de envío personalizado"
1067
 
1068
- #: includes/views/admin_options_shipping_provider.php:171
1069
  msgid ""
1070
  "Syncing the shipping providers list add or updates the pre-set shipping "
1071
  "providers and will not effect custom shipping providers."
1072
  msgstr ""
 
 
 
1073
 
1074
- #: includes/views/admin_options_shipping_provider.php:173
1075
  msgid "Providers Added"
1076
  msgstr "Providers Added"
1077
 
1078
- #: includes/views/admin_options_shipping_provider.php:174
1079
  msgid "Providers Updated"
1080
  msgstr "Providers Updated"
1081
 
1082
- #: includes/views/admin_options_shipping_provider.php:175
1083
  msgid "Providers Deleted"
1084
  msgstr "Providers Deleted"
1085
 
1086
- #: includes/views/admin_options_trackship_integration.php:107
 
1087
  msgid "Tracking Page"
1088
  msgstr "Página de seguimiento"
1089
 
1090
- #: includes/views/admin_options_trackship_integration.php:117
1091
- msgid "Click to preview the tracking page"
1092
- msgstr "Haga clic para obtener una vista previa de la página de seguimiento"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1093
 
1094
- #: includes/views/admin_options_trackship_integration.php:118
1095
- msgid "PLEASE NOTE - make sure to save your settings before preview."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1096
  msgstr ""
1097
- "TENGA EN CUENTA: asegúrese de guardar su configuración antes de la vista "
1098
- "previa."
 
1099
 
1100
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1101
  msgid "Shipment Status Notifications "
1102
  msgstr "Notificaciones de estado de envío"
1103
 
1104
- #: includes/views/admin_options_trackship_integration.php:163
1105
  msgid ""
1106
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1107
  "the way."
@@ -1109,23 +1758,23 @@ msgstr ""
1109
  "El transportista ha aceptado o recogido el envío del remitente. El envío "
1110
  "está en camino."
1111
 
1112
- #: includes/views/admin_options_trackship_integration.php:177
1113
  msgid "Shipment is returned to sender"
1114
  msgstr "El envío se devuelve al remitente"
1115
 
1116
- #: includes/views/admin_options_trackship_integration.php:191
1117
  msgid "The shipment is ready to pickup."
1118
  msgstr "El envío está listo para ser recogido."
1119
 
1120
- #: includes/views/admin_options_trackship_integration.php:204
1121
  msgid "Carrier is about to deliver the shipment"
1122
  msgstr "El transportista está a punto de entregar el envío."
1123
 
1124
- #: includes/views/admin_options_trackship_integration.php:218
1125
  msgid "The shipment was delivered successfully"
1126
  msgstr "El envío fue entregado exitosamente"
1127
 
1128
- #: includes/views/admin_options_trackship_integration.php:219
1129
  msgid ""
1130
  "You already have delivered email enabled, to enable this email you'll need "
1131
  "to disable the order status delivered in settings."
@@ -1134,7 +1783,7 @@ msgstr ""
1134
  "electrónico deberá deshabilitar el estado del pedido entregado en la "
1135
  "configuración."
1136
 
1137
- #: includes/views/admin_options_trackship_integration.php:233
1138
  msgid ""
1139
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1140
  "will try to deliver the package again."
@@ -1142,15 +1791,11 @@ msgstr ""
1142
  "El transportista intentó entregar pero falló, y generalmente deja un aviso e "
1143
  "intentará entregar el paquete nuevamente."
1144
 
1145
- #: includes/views/admin_options_tools.php:14
1146
- msgid "Get Shipment Status"
1147
- msgstr ""
1148
-
1149
- #: includes/views/admin_options_tools.php:23
1150
- msgid ""
1151
- "You can send all your orders from the last 30 days to get shipment status "
1152
- "from TrackShip:"
1153
  msgstr ""
 
1154
 
1155
  #. %s: Order ID.
1156
  #: templates/emails/wcast-email-order-details.php:47
@@ -1158,9 +1803,25 @@ msgstr ""
1158
  msgid "Order number: %s"
1159
  msgstr "Número de pedido:% s"
1160
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1161
  #. Name of the plugin
1162
  msgid "Advanced Shipment Tracking for WooCommerce"
1163
  msgstr ""
 
1164
 
1165
  #. Description of the plugin
1166
  msgid ""
@@ -1169,7 +1830,8 @@ msgid ""
1169
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1170
  "order complete email."
1171
  msgstr ""
1172
-
1173
- #. Author of the plugin
1174
- msgid "zorem"
1175
- msgstr ""
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:08+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\n"
8
  "Language-Team: Spanish (Spain)\n"
9
  "Language: es_ES\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.2"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
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:254
27
  #, php-format
28
  msgid "Your order was shipped with %s and your tracking code is: %s"
29
  msgstr ""
30
+ "Su pedido se envió con% sy su código de seguimiento es:% s\n"
31
 
32
+ #: woocommerce-advanced-shipment-tracking.php:465
33
+ #: includes/views/admin_options_settings.php:190
34
  #, php-format
35
  msgid ""
36
+ "<strong>Note:</strong> - If you use the custom order status, when you "
37
+ "deactivate the plugin, you must register the order status, otherwise these "
38
+ "orders will not display on your orders admin. You can find more information "
39
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
40
+ "php here."
 
41
  msgstr ""
42
+ "Nota: - Si utiliza el estado del pedido personalizado, cuando desactiva el "
43
+ "complemento, debe registrar el estado del pedido, de lo contrario, estos "
44
+ "pedidos no se mostrarán en el administrador de sus pedidos. Puede encontrar "
45
+ "más información y el fragmento de código para usar en functions.php aquí.\n"
46
 
47
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
48
+ msgid "Shipment status"
49
+ msgstr ""
50
+ "Estado del envío\n"
51
+
52
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
53
+ #: includes/class-wc-advanced-shipment-welcome.php:310
54
+ msgid ""
55
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
56
+ "100 orders."
57
+ msgstr ""
58
+ "Obtener estado de envío está limitado a 100 pedidos a la vez, seleccione "
59
+ "hasta 100 pedidos.\n"
60
+
61
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
62
+ #: includes/class-wc-advanced-shipment-welcome.php:343
63
+ msgid "Data saved successfully."
64
+ msgstr "Datos guardados exitosamente."
65
+
66
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
67
+ #: includes/class-wc-advanced-shipment-welcome.php:344
68
+ msgid "Really delete this entry? This will not be undo."
69
+ msgstr ""
70
+ "¿Realmente eliminar esta entrada? Esto no será deshacer.\n"
71
+
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
73
+ #: includes/class-wc-advanced-shipment-welcome.php:345
74
+ msgid "You can upload only csv file."
75
+ msgstr "Puedes subir solo el archivo csv."
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
78
+ #: includes/class-wc-advanced-shipment-welcome.php:346
79
+ msgid "This browser does not support HTML5."
80
+ msgstr "Este navegador no es compatible con HTML5."
81
+
82
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
83
+ #: includes/class-wc-advanced-shipment-welcome.php:347
84
+ msgid "Please upload a valid CSV file."
85
+ msgstr "Por favor, cargue un archivo CSV válido."
86
+
87
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
88
+ msgid "Shipping Providers"
89
+ msgstr ""
90
+ "Proveedores de envío\n"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
93
+ msgid "Bulk Upload"
94
+ msgstr ""
95
+ "Subida masiva\n"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
98
+ msgid "Add-ons"
99
+ msgstr ""
100
+ "Complementos\n"
101
+
102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
103
+ #: includes/class-wc-advanced-shipment-welcome.php:222
104
+ #: includes/views/admin_options_bulk_upload.php:63
105
+ #: includes/views/admin_trackship_dashboard.php:51
106
+ msgid "Documentation"
107
+ msgstr "Documentación"
108
+
109
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
110
+ msgid "How to Video"
111
+ msgstr ""
112
+ "Cómo video\n"
113
+
114
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
115
+ msgid "Custom Statuses"
116
+ msgstr ""
117
+ "Estados personalizados\n"
118
+
119
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
120
+ #: includes/class-wc-advanced-shipment-welcome.php:188
121
+ #: includes/views/zorem_admin_sidebar.php:29
122
+ #: includes/views/admin_options_addons.php:46
123
+ #: includes/views/admin_trackship_dashboard.php:17
124
+ msgid "Connected"
125
+ msgstr ""
126
+ "Conectado\n"
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
129
+ #, php-format
130
+ msgid "%s %s orders with tracking info"
131
+ msgstr ""
132
+ "% s% s pedidos con información de seguimiento\n"
133
+
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
137
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
138
+ #: includes/views/admin_options_tools.php:14
139
+ msgid "Get Shipment Status"
140
+ msgstr ""
141
+ "Obtener estado de envío\n"
142
+
143
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
144
+ #, php-format
145
+ msgid "%s %s orders with “TrackShip balance is 0”"
146
+ msgstr ""
147
+ "% s% s pedidos con \"El saldo de TrackShip es 0\"\n"
148
+
149
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
150
+ #, php-format
151
+ msgid "%s %s orders with “Please do connection”"
152
+ msgstr ""
153
+ "% s% s pedidos con \"Por favor, haga la conexión\"\n"
154
+
155
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
156
+ msgid "Enable/Disable"
157
+ msgstr ""
158
+ "Habilitar deshabilitar\n"
159
+
160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
161
+ msgid "Set order status Delivered when order is delivered"
162
+ msgstr ""
163
+ "Establecer el estado del pedido Entregado cuando se entrega el pedido\n"
164
+
165
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
166
+ msgid ""
167
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
168
+ "for the tracking page to work."
169
+ msgstr ""
170
+ "Debe agregar el shortcode [wcast-track-order] a la página seleccionada para "
171
+ "que la página de seguimiento funcione."
172
+
173
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
174
+ #: includes/views/admin_tracking_page_settings.php:24
175
+ msgid "Select Tracking Page"
176
+ msgstr ""
177
+ "Seleccionar página de seguimiento\n"
178
+
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
180
+ msgid "Use the tracking page in the customer email/my account tracking link"
181
+ msgstr ""
182
+ "Use la página de seguimiento en el correo electrónico del cliente / enlace "
183
+ "de seguimiento de mi cuenta\n"
184
+
185
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
186
+ #: includes/views/admin_tracking_page_settings.php:49
187
+ msgid "Tracking Page Layout"
188
+ msgstr ""
189
+ "Diseño de página de seguimiento\n"
190
+
191
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
192
+ msgid "Select primary color for tracking page"
193
+ msgstr ""
194
+ "Seleccione el color primario para la página de seguimiento\n"
195
+
196
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
197
+ msgid "Select content border color for tracking page"
198
+ msgstr ""
199
+ "Seleccione el color del borde del contenido para la página de seguimiento\n"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
202
+ #: includes/views/admin_tracking_page_settings.php:83
203
+ msgid "Hide Shipping Provider Image"
204
+ msgstr ""
205
+ "Ocultar imagen de proveedor de envío\n"
206
+
207
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
208
+ msgid "Hide tracking events details"
209
+ msgstr ""
210
+ "Ocultar detalles de eventos de seguimiento\n"
211
+
212
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
213
+ #: includes/views/admin_tracking_page_settings.php:93
214
+ msgid "Remove TrackShip branding"
215
+ msgstr ""
216
+ "Eliminar la marca TrackShip\n"
217
+
218
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
219
+ msgid "License Key"
220
+ msgstr ""
221
+ "Clave de licencia\n"
222
+
223
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
224
+ msgid "a Valid license is required to receive updates and support"
225
+ msgstr "Se requiere una licencia válida para recibir actualizaciones y soporte"
226
+
227
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
228
+ msgid "\">click here</a> to activate it."
229
+ msgstr ""
230
+ "\"> haz clic aquí para activarlo.\n"
231
+
232
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
233
+ #: includes/class-wc-advanced-shipment-tracking.php:185
234
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
235
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
236
+ msgid "Shipped"
237
+ msgstr "Enviada"
238
+
239
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
240
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
241
+ msgstr ""
242
+ "Predeterminado \"marcar como enviado\"\n"
243
+
244
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
245
+ msgid ""
246
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
247
+ "will be selected by default when adding tracking info to orders."
248
+ msgstr ""
249
+ "Esto significa que la 'marca como enviada' se seleccionará de forma "
250
+ "predeterminada al agregar información de seguimiento a los pedidos.\n"
251
+
252
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
253
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
254
+ msgstr ""
255
+ "Predeterminado \"marcar como completado\"\n"
256
+
257
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
258
+ msgid ""
259
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
260
+ "will be selected by default when adding tracking info to orders."
261
+ msgstr ""
262
+ "Esto significa que la 'marca como completada' se seleccionará de forma "
263
+ "predeterminada al agregar información de seguimiento a los pedidos.\n"
264
+
265
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
266
+ msgid "Rename the “Completed” Order status to “Shipped”"
267
+ msgstr ""
268
+ "Cambie el nombre del estado del pedido \"Completado\" a \"Enviado\"\n"
269
+
270
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
271
+ msgid "On which order status email to include the shipment tracking info?"
272
+ msgstr ""
273
+ "¿En qué estado del pedido se incluye el correo electrónico para incluir la "
274
+ "información de seguimiento del envío?\n"
275
+
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
277
+ msgid "Show tracking info in Invoice"
278
+ msgstr ""
279
+ "Mostrar información de seguimiento en la factura\n"
280
+
281
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
282
+ msgid "Show tracking info in Packing Slip"
283
+ msgstr ""
284
+ "Mostrar información de seguimiento en el albarán\n"
285
+
286
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
287
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
288
+ #: includes/customizer/class-wcast-customizer.php:92
289
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
290
+ #: includes/views/admin_status_notifications.php:25
291
+ msgid "In Transit"
292
+ msgstr ""
293
+ "En tránsito\n"
294
+
295
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
297
+ #: includes/customizer/class-wcast-customizer.php:84
298
+ msgid "Pre Transit"
299
+ msgstr ""
300
+ "Pre tránsito\n"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
305
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
306
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
307
+ #: includes/customizer/class-wcast-customizer.php:122
308
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
309
+ #: includes/views/admin_options_settings.php:80
310
+ #: includes/views/admin_status_notifications.php:80
311
+ msgid "Delivered"
312
+ msgstr "Entregado"
313
+
314
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
316
+ #: includes/customizer/class-wcast-customizer.php:114
317
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
318
+ #: includes/views/admin_status_notifications.php:66
319
+ msgid "Out For Delivery"
320
+ msgstr ""
321
+ "Fuera de Entrega\n"
322
+
323
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
325
+ #: includes/customizer/class-wcast-customizer.php:107
326
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
327
+ #: includes/views/admin_status_notifications.php:53
328
+ msgid "Available For Pickup"
329
+ msgstr ""
330
+ "Disponible para envíos\n"
331
+
332
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
333
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
334
+ #: includes/customizer/class-wcast-customizer.php:100
335
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
336
+ #: includes/views/admin_status_notifications.php:39
337
+ msgid "Return To Sender"
338
+ msgstr ""
339
+ "Devolver al remitente\n"
340
+
341
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
342
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
343
+ #: includes/customizer/class-wcast-customizer.php:130
344
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
345
+ #: includes/views/admin_status_notifications.php:95
346
+ msgid "Failed Attempt"
347
+ msgstr "Intento fallido"
348
+
349
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
351
+ msgid "Unknown"
352
+ msgstr "Desconocida"
353
+
354
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
355
+ msgid "Pending TrackShip"
356
+ msgstr ""
357
+ "TrackShip pendiente\n"
358
+
359
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
360
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
361
+ msgid "Invalid Tracking Number"
362
+ msgstr ""
363
+ "Número de seguimiento inválido\n"
364
+
365
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
367
+ msgid "Carrier Unsupported"
368
+ msgstr ""
369
+ "Transportista no admitido\n"
370
+
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
372
+ msgid "Invalid User Key"
373
+ msgstr ""
374
+ "Clave de usuario inválida\n"
375
+
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
377
+ msgid "Wrong Shipping Provider"
378
+ msgstr ""
379
+ "Proveedor de envío incorrecto\n"
380
+
381
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
382
+ msgid "Shipped Order"
383
+ msgstr ""
384
+ "Orden enviada\n"
385
+
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
387
+ msgid "Mark order as delivered"
388
+ msgstr ""
389
+ "Marcar pedido como entregado\n"
390
+
391
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
392
+ msgid "Add Tracking"
393
+ msgstr ""
394
+ "Agregar seguimiento\n"
395
+
396
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
397
+ msgid "Change order status to"
398
+ msgstr ""
399
+ "Cambiar el estado del pedido a\n"
400
+
401
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
402
+ #: includes/views/admin_options_shipping_provider.php:96
403
+ #, php-format
404
+ msgid "You don't have any %s shipping providers."
405
+ msgstr "No tiene ningún proveedor de envío% s."
406
+
407
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
408
+ #: includes/views/admin_options_shipping_provider.php:27
409
+ msgid "Add Custom Provider"
410
+ msgstr ""
411
+ "Añadir proveedor personalizado\n"
412
+
413
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
414
+ msgid "Filter by shipment status"
415
+ msgstr ""
416
+ "Filtrar por estado de envío\n"
417
+
418
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
419
  msgid ""
420
  "To track your order please enter your Order ID in the box below and press "
421
  "the \"Track\" button. This was given to you on your receipt and in the "
422
  "confirmation email you should have received."
423
  msgstr ""
424
+ "Para rastrear su pedido, ingrese su número de pedido en el cuadro a "
425
+ "continuación y presione el botón \"Rastrear\". Esto se le entregó en su "
426
+ "recibo y en el correo electrónico de confirmación que debería haber recibido."
427
 
428
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
429
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
430
  msgid "Found in your order confirmation email."
431
  msgstr ""
432
  "Encontrado en tu email de confirmación de orden.\n"
433
 
434
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
435
  msgid "Order Email"
436
+ msgstr "Correo electrónico:"
 
437
 
438
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
439
+ #: includes/class-wc-advanced-shipment-tracking.php:728
440
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
441
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
442
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
443
+ #: templates/emails/tracking-info.php:256
444
+ #: templates/myaccount/tracking-info.php:191
445
  msgid "Track"
446
+ msgstr "Rastrear"
447
 
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
450
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
451
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
452
  #, php-format
453
  msgid "Shipment - %s (out of %s)"
454
  msgstr ""
455
  "Envío -% s (de% s)\n"
456
 
457
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
458
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
459
+ msgid "Tracking details not found in TrackShip"
460
+ msgstr ""
461
+ "Detalles de seguimiento no encontrados en TrackShip\n"
462
+
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
465
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
466
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
467
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
468
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
469
+ msgid "Est. Delivery Date"
470
+ msgstr ""
471
+ "Est. Fecha de entrega\n"
472
 
473
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
474
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
475
  msgid "Tracking Details"
476
  msgstr "Detalles de seguimiento"
477
 
478
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
479
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
480
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
481
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
482
  msgid "view more"
483
  msgstr "ver más"
484
 
485
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
486
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
487
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
488
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
489
  msgid "view less"
490
  msgstr "ver menos"
491
 
 
 
 
 
 
 
 
 
 
492
  #: includes/class-wc-advanced-shipment-tracking.php:95
493
+ #: includes/class-wc-advanced-shipment-tracking.php:265
494
  #: includes/customizer/class-wcast-customizer.php:31
495
  msgid "Shipment Tracking"
496
  msgstr "rastreo de envío"
497
 
498
  #: includes/class-wc-advanced-shipment-tracking.php:184
499
+ #: includes/class-wc-advanced-shipment-tracking.php:387
500
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
501
  msgid "Mark as Shipped?"
502
  msgstr ""
503
+ "¿Marcar como enviado?\n"
 
 
 
504
 
505
  #: includes/class-wc-advanced-shipment-tracking.php:187
506
+ #: includes/class-wc-advanced-shipment-tracking.php:390
507
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
508
  msgid "Mark as Completed?"
509
  msgstr ""
510
+ "¿Marcar como completado?\n"
511
 
512
  #: includes/class-wc-advanced-shipment-tracking.php:188
513
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
514
  msgid "Completed"
515
+ msgstr "Terminada"
516
 
517
  #: includes/class-wc-advanced-shipment-tracking.php:195
518
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
519
  msgid "Add Tracking Number"
520
  msgstr ""
521
+ "Agregar número de seguimiento\n"
522
 
523
+ #: includes/class-wc-advanced-shipment-tracking.php:198
524
+ #: includes/class-wc-advanced-shipment-tracking.php:203
525
+ #: includes/class-wc-advanced-shipment-tracking.php:408
526
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
527
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
528
  msgid "Provider:"
529
  msgstr "Proveedor:"
530
 
531
+ #: includes/class-wc-advanced-shipment-tracking.php:223
532
+ #: includes/class-wc-advanced-shipment-tracking.php:446
533
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
534
  msgid "Tracking number:"
535
  msgstr "El número de rastreo:"
536
 
537
+ #: includes/class-wc-advanced-shipment-tracking.php:227
538
+ #: includes/class-wc-advanced-shipment-tracking.php:454
539
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
540
  msgid "Date shipped:"
541
  msgstr "Fecha de envío:"
542
 
543
+ #: includes/class-wc-advanced-shipment-tracking.php:236
544
+ #: includes/class-wc-advanced-shipment-tracking.php:466
545
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
546
+ msgid "Mark order as:"
 
 
 
 
 
547
  msgstr ""
548
+ "Marcar orden como:\n"
549
 
550
+ #: includes/class-wc-advanced-shipment-tracking.php:239
551
+ #: includes/class-wc-advanced-shipment-tracking.php:469
552
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
553
  msgid "Partial Shipped"
554
  msgstr ""
555
+ "Envio parcial\n"
556
 
557
+ #: includes/class-wc-advanced-shipment-tracking.php:281
558
+ #: includes/class-wc-advanced-shipment-tracking.php:483
559
+ msgid "Track Shipment"
560
+ msgstr ""
561
+ "Rastrear envio\n"
562
 
563
  #. 1: shipping date
564
+ #: includes/class-wc-advanced-shipment-tracking.php:290
565
  #, php-format
566
  msgid "Shipped on %s"
567
  msgstr "Enviado en% s"
568
 
569
+ #: includes/class-wc-advanced-shipment-tracking.php:404
570
  msgid "Add Tracking Info"
571
  msgstr "Agregar información de seguimiento"
572
 
573
+ #: includes/class-wc-advanced-shipment-tracking.php:409
574
  msgid "Select Provider"
575
  msgstr "Seleccionar Proveedor"
576
 
577
+ #: includes/class-wc-advanced-shipment-tracking.php:482
578
  msgid "Save Tracking"
579
  msgstr "Guardar seguimiento"
580
 
581
+ #: includes/class-wc-advanced-shipment-tracking.php:483
582
  msgid "Preview:"
583
  msgstr "Avance:"
584
 
585
+ #: includes/class-wc-advanced-shipment-tracking.php:702
586
  #, php-format
587
  msgid ""
588
  "Tracking info was deleted for tracking provider %s with tracking number %s"
589
  msgstr ""
590
+ "La información de seguimiento se eliminó para el proveedor de seguimiento% s "
591
+ "con el número de seguimiento% s\n"
592
 
593
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
594
  #, php-format
595
  msgid "Order was shipped with %s and tracking number is: %s"
596
  msgstr ""
597
+ "El pedido se envió con% sy el número de seguimiento es:% s\n"
598
 
599
  #: includes/class-wc-advanced-shipment-welcome.php:38
600
  #: includes/class-wc-advanced-shipment-welcome.php:39
601
  msgid "Welcome to Advanced Shipment Tracking"
602
  msgstr ""
603
+ "Bienvenido a Advanced Shipment Tracking\n"
604
 
605
  #: includes/class-wc-advanced-shipment-welcome.php:90
606
  #: includes/class-wc-advanced-shipment-welcome.php:129
607
  #: includes/class-wc-advanced-shipment-welcome.php:147
608
  msgid "Save and Continue"
609
  msgstr ""
610
+ "Guardar y continuar\n"
611
 
612
  #: includes/class-wc-advanced-shipment-welcome.php:177
613
+ #: includes/views/admin_trackship_dashboard.php:6
614
  msgid "Connection status"
615
  msgstr ""
616
+ "Estado de conexión\n"
617
 
618
  #: includes/class-wc-advanced-shipment-welcome.php:184
619
+ #: includes/views/admin_trackship_dashboard.php:13
620
  msgid "TrackShip Connection Status"
621
  msgstr "Estado de conexión de TrackShip"
622
 
 
 
 
 
 
 
623
  #: includes/class-wc-advanced-shipment-welcome.php:194
624
+ #: includes/views/admin_trackship_dashboard.php:23
625
  msgid "Trackers Balance"
626
  msgstr ""
627
+ "Balance de rastreadores\n"
628
 
629
  #: includes/class-wc-advanced-shipment-welcome.php:202
630
+ #: includes/views/admin_trackship_dashboard.php:31
631
  msgid "Current Plan"
632
  msgstr ""
633
+ "Plan actual\n"
634
 
635
  #: includes/class-wc-advanced-shipment-welcome.php:217
636
+ #: includes/views/admin_options_addons.php:33
637
+ #: includes/views/admin_trackship_dashboard.php:46
638
  msgid ""
639
  "You are now connected with TrackShip! TrackShip makes it effortless to "
640
  "automate your post shipping operations and get tracking and delivery status "
641
  "updates directly in the WooCommerce admin."
642
  msgstr ""
643
+ "¡Ahora estás conectado con TrackShip! TrackShip hace que sea fácil "
644
+ "automatizar sus operaciones posteriores al envío y obtener actualizaciones "
645
+ "de seguimiento y estado de entrega directamente en el administrador de "
646
+ "WooCommerce.\n"
 
 
 
647
 
648
  #: includes/class-wc-advanced-shipment-welcome.php:223
649
+ #: includes/views/admin_trackship_dashboard.php:52
650
  msgid "TrackShip Dashboard"
651
  msgstr ""
652
+ "Panel de TrackShip\n"
653
 
654
  #: includes/class-wc-advanced-shipment-welcome.php:253
655
  msgid "Save"
656
+ msgstr "Salvar"
657
+
658
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
659
+ #, php-format
660
+ msgid "Delivered <span class=\"count\">(%s)</span>"
661
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
662
+ msgstr[0] ""
663
+ "Entregado <span class=\"count\">(%s)</span>\n"
664
+ msgstr[1] ""
665
+ "Entregado <span class=\"count\">(%s)</span>\n"
666
+
667
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
668
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
669
+ #: includes/views/admin_options_settings.php:149
670
+ msgid "Updated Tracking"
671
  msgstr ""
672
+ "Seguimiento actualizado\n"
673
 
674
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
675
+ #, php-format
676
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
677
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
678
+ msgstr[0] ""
679
+ "Seguimiento actualizado <span class=\"count\">(%s)</span>\n"
680
+ msgstr[1] ""
681
+ "Seguimiento actualizado <span class=\"count\">(%s)</span>\n"
682
+
683
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
684
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
685
+ #: includes/views/admin_options_settings.php:115
686
+ msgid "Partially Shipped"
687
  msgstr ""
688
+ "Parcialmente Enviado\n"
689
 
690
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
691
+ #, php-format
692
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
693
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
694
+ msgstr[0] ""
695
+ "Enviado parcialmente <span class=\"count\">(%s)</span>\n"
696
+ msgstr[1] ""
697
+ "Enviado parcialmente <span class=\"count\">(%s)</span>\n"
698
 
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
700
+ msgid "Change status to delivered"
701
  msgstr ""
702
+ "Cambiar estado a entregado\n"
703
 
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
705
+ msgid "Change status to Updated Tracking"
706
+ msgstr ""
707
+ "Cambiar estado a Seguimiento actualizado\n"
708
 
709
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
710
+ msgid "Change status to Partially Shipped"
711
+ msgstr ""
712
+ "Cambiar estado a Enviado parcialmente\n"
713
 
714
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
715
+ #, php-format
716
+ msgid "Shipped <span class=\"count\">(%s)</span>"
717
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
718
+ msgstr[0] ""
719
+ "Enviado <span class=\"count\">(%s)</span>\n"
720
+ msgstr[1] ""
721
+ "Enviado <span class=\"count\">(%s)</span>\n"
722
+
723
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
724
+ msgid "Change status to shipped"
725
+ msgstr ""
726
+ "Cambiar estado a enviado\n"
727
+
728
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
729
+ msgid "Resend delivered order notification"
730
+ msgstr ""
731
+ "Reenviar notificación de pedido entregado\n"
732
+
733
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
734
+ msgid "Shipment Providers"
735
+ msgstr ""
736
+ "Proveedores de envíos\n"
737
+
738
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
739
+ msgid "Shipment Status"
740
+ msgstr ""
741
+ "Estado del envío\n"
742
+
743
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
744
+ msgid "Tracking issues"
745
+ msgstr ""
746
+ "Problemas de seguimiento\n"
747
+
748
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
749
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
750
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
751
+ msgid "data not available."
752
+ msgstr ""
753
+ "informacion no disponible.\n"
754
+
755
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
756
+ msgid "View more on TrackShip"
757
+ msgstr ""
758
+ "Ver más en TrackShip\n"
759
+
760
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
761
+ msgid "There are some issue with sync, Please Retry."
762
+ msgstr ""
763
+ "Hay algún problema con la sincronización. Vuelva a intentarlo.\n"
764
+
765
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
766
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
767
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
768
+ msgid "view details"
769
+ msgstr ""
770
+ "ver detalles\n"
771
+
772
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
773
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
774
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
775
+ msgid "hide details"
776
+ msgstr ""
777
+ "ocultar detalles\n"
778
 
779
  #: includes/customizer/class-wcast-customizer.php:40
780
  msgid "Shipment Status Emails"
793
 
794
  #: includes/customizer/class-wcast-customizer.php:68
795
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
796
+ msgid "Partially Shipped status email"
797
  msgstr ""
798
+ "Correo electrónico de estado enviado parcialmente\n"
799
 
800
  #: includes/customizer/class-wcast-customizer.php:76
801
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
802
+ msgid "Updated Tracking status email"
803
  msgstr ""
804
+ "Correo electrónico actualizado del estado de seguimiento\n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
805
 
806
+ #: includes/customizer/class-wcast-customizer.php:411
 
 
 
 
 
 
807
  msgid "Select order to preview"
808
  msgstr ""
809
  "Seleccione el orden para previsualizar\n"
834
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
835
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
836
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
837
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
838
  msgid "This section lets you customize the Email Content."
839
  msgstr ""
840
  "Esta sección le permite personalizar el contenido del correo electrónico.\n"
851
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
852
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
853
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
854
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
855
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
856
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
857
  msgid "Preview order"
858
  msgstr ""
859
  "Orden de previsualización\n"
868
  msgid "E.g. {customer.email}, admin@example.org"
869
  msgstr "Por ejemplo, {customer.email}, admin@example.org"
870
 
871
+ #. %s: list of placeholders
872
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
873
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
874
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
875
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
876
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
877
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
878
+ #: includes/customizer/class-wc-email-customizer.php:243
879
+ #: includes/customizer/class-wc-email-customizer.php:266
880
+ #: includes/customizer/class-wc-email-customizer.php:289
881
+ #: includes/customizer/class-wc-email-customizer.php:414
882
  #: includes/customizer/class-wc-failure-email-customizer.php:231
883
  #: includes/customizer/class-wc-failure-email-customizer.php:253
884
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
885
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
886
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
887
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
888
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
889
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
890
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
891
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
892
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
893
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
894
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
895
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
896
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
897
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
898
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
899
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
900
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
901
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
902
+ #: includes/emails/class-shipment-delivered-email.php:256
903
+ #: includes/emails/class-shipment-delivered-email.php:265
904
+ msgid "Available variables:"
905
+ msgstr "Variables disponibles:"
 
 
 
 
 
 
 
 
 
 
 
906
 
907
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
908
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
946
 
947
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
948
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
949
+ #: includes/customizer/class-wc-email-customizer.php:393
950
  #: includes/customizer/class-wc-failure-email-customizer.php:339
951
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
952
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
953
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
954
  msgid "Google Analytics link tracking"
955
  msgstr ""
956
+ "Seguimiento de enlaces de Google Analytics\n"
957
 
958
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
959
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
960
  #: includes/customizer/class-wc-failure-email-customizer.php:340
961
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
962
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
963
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
964
  msgid "This will be appended to URL in the email content"
965
  msgstr ""
966
+ "Esto se agregará a la URL en el contenido del correo electrónico\n"
967
 
968
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
969
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
973
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
974
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
975
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
976
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
977
  msgid "Email content"
978
  msgstr "Contenido de correo electronico"
979
 
980
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
981
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
982
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
983
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
984
+ #: includes/customizer/class-wc-email-customizer.php:447
985
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
986
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
987
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
988
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
989
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
990
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
991
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
992
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
993
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
994
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
 
995
  msgid "Please select order to preview."
996
  msgstr ""
997
+ "Por favor, seleccione el orden para obtener una vista previa.\n"
998
 
999
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
1000
  msgid "Your order #{order_number} has been delivered"
1001
  msgstr ""
1002
+ "Su pedido n.º {número_orden} ha sido entregado\n"
1003
 
1004
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
1005
  #: includes/customizer/class-wc-email-customizer.php:132
1031
  "Habilitar correo electrónico de estado de pedido entregado\n"
1032
 
1033
  #: includes/customizer/class-wc-email-customizer.php:201
1034
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1035
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1036
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1037
  msgid "Please select a order..."
1038
  msgstr ""
1039
  "Por favor seleccione una orden ...\n"
1040
 
1041
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1042
  msgid "Display tracking details"
1043
  msgstr ""
1044
+ "Mostrar detalles de seguimiento\n"
1045
 
1046
+ #: includes/customizer/class-wc-email-customizer.php:325
1047
  msgid "Display order details"
1048
  msgstr ""
1049
+ "Mostrar detalles del pedido\n"
1050
 
1051
+ #: includes/customizer/class-wc-email-customizer.php:342
1052
  msgid "Display Shipping Address"
1053
  msgstr ""
1054
+ "Mostrar dirección de envío\n"
1055
 
1056
+ #: includes/customizer/class-wc-email-customizer.php:359
1057
  msgid "Display Billing Address"
1058
  msgstr ""
1059
+ "Mostrar dirección de facturación\n"
1060
 
1061
+ #: includes/customizer/class-wc-email-customizer.php:376
1062
  msgid "Enable Google Analytics tracking"
1063
  msgstr ""
1064
+ "Habilitar el seguimiento de Google Analytics\n"
1065
 
1066
+ #: includes/customizer/class-wc-email-customizer.php:394
1067
  msgid ""
1068
  "This will be appended to URL in the email content – e.g. "
1069
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1070
  msgstr ""
1071
+ "Esto se agregará a la URL en el contenido del correo electrónico, p. "
1072
+ "utm_source = ast & utm_medium = email & utm_campaign = entregado\n"
1073
 
1074
  #: includes/customizer/class-wc-failure-email-customizer.php:123
1075
  msgid "Your order #{order_number} is Failed Attempt"
1160
  "Habilitar el correo electrónico de estado de envío de Devolución al remitente"
1161
 
1162
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1163
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1164
+ #: templates/emails/tracking-info.php:203
1165
+ #: templates/myaccount/tracking-info.php:144
1166
  msgid "Provider"
1167
  msgstr "Proveedor"
1168
 
1169
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1170
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1171
+ #: templates/emails/tracking-info.php:232
1172
+ #: templates/myaccount/tracking-info.php:171
1173
  msgid "Tracking Number"
1174
  msgstr "El número de rastreo"
1175
 
1176
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1178
  msgid "Shipped Date"
1179
  msgstr "Fecha de envío"
1180
 
1181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1182
+ msgid "Select an order to preview and design the tracking info display."
 
 
1183
  msgstr ""
1184
+ "Seleccione un pedido para obtener una vista previa y diseñar la pantalla de "
 
1185
  "información de seguimiento.\n"
1186
 
1187
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
 
 
 
 
 
 
1188
  msgid "Tracking Display Position"
1189
  msgstr "Seguimiento de la posición de visualización"
1190
 
1191
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1192
  msgid "Before Order Details"
1193
  msgstr "Antes de los detalles del pedido"
1194
 
1195
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1196
  msgid "After Order Details"
1197
  msgstr "Después de los detalles del pedido"
1198
 
1199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1200
+ msgid "Tracking Header text"
1201
+ msgstr ""
1202
+ "Seguimiento del texto del encabezado\n"
1203
 
1204
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1205
  msgid "Tracking Information"
1206
  msgstr "Información de seguimiento"
1207
 
1208
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1209
  msgid "Additional text after header"
1210
  msgstr "Texto adicional después del encabezado"
1211
 
1212
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1213
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1214
+ msgid "Tracking display template"
1215
+ msgstr ""
1216
+ "Plantilla de visualización de seguimiento\n"
1217
+
1218
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1219
+ msgid "Select Template"
1220
  msgstr ""
1221
+ "Seleccionar plantilla\n"
1222
+
1223
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1224
+ msgid "Table Layout"
1225
+ msgstr ""
1226
+ "Diseño de mesa\n"
1227
 
1228
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1229
+ msgid "Simple Layout Design"
1230
+ msgstr ""
1231
+ "Diseño de diseño simple\n"
1232
+
1233
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1234
+ msgid "Provider font size"
1235
+ msgstr ""
1236
+ "Tamaño de fuente del proveedor\n"
1237
+
1238
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1239
+ msgid "Provider font color"
1240
+ msgstr ""
1241
+ "Color de fuente del proveedor\n"
1242
+
1243
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1244
+ msgid "Show bottom border"
1245
+ msgstr ""
1246
+ "Mostrar borde inferior\n"
1247
+
1248
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1249
+ msgid "Bottom border color"
1250
+ msgstr ""
1251
+ "Color del borde inferior\n"
1252
+
1253
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1254
+ msgid "Table layout Design"
1255
+ msgstr ""
1256
+ "Diseño de diseño de mesa\n"
1257
+
1258
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1259
+ msgid "Display shipping provider name"
1260
+ msgstr ""
1261
+ "Mostrar nombre del proveedor de envío\n"
1262
+
1263
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1264
+ msgid "Display shipping provider image"
1265
+ msgstr ""
1266
+ "Mostrar imagen del proveedor de envío\n"
1267
 
1268
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1269
+ msgid "Hide the ship date"
1270
+ msgstr ""
1271
+ "Ocultar la fecha de envío\n"
1272
+
1273
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1274
+ msgid "Use tracking number as a link"
1275
+ msgstr ""
1276
+ "Use el número de seguimiento como un enlace\n"
1277
 
1278
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1279
+ msgid "Table Headers"
1280
  msgstr ""
1281
+ "Encabezados de tabla\n"
1282
 
1283
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1284
+ msgid "Hide Table Headers"
1285
  msgstr ""
1286
+ "Ocultar encabezados de tabla\n"
1287
 
1288
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1289
+ msgid "Provider header text"
1290
+ msgstr ""
1291
+ "Texto del encabezado del proveedor\n"
1292
 
1293
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1294
+ msgid "Tracking Number header text"
1295
+ msgstr ""
1296
+ "Texto del encabezado del número de seguimiento\n"
1297
 
1298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1299
+ msgid "Ship date header text"
1300
+ msgstr ""
1301
+ "Texto de encabezado de fecha de envío\n"
1302
 
1303
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1304
  msgid "Track Label"
1305
  msgstr "Etiqueta de la pista"
1306
 
1307
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1308
+ msgid "Track header text"
1309
+ msgstr ""
1310
+ "Seguimiento del texto del encabezado\n"
1311
 
1312
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1313
+ msgid "Headers font size"
1314
+ msgstr ""
1315
+ "Tamaño de fuente de encabezado\n"
1316
 
1317
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1318
+ msgid "Headers font color"
1319
+ msgstr ""
1320
+ "Color de fuente de encabezados\n"
1321
 
1322
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1323
+ msgid "Table Content"
1324
  msgstr ""
1325
+ "Contenido de la tabla\n"
1326
 
1327
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1328
  msgid "Padding"
1329
  msgstr ""
1330
  "Relleno\n"
1331
 
1332
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1333
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1334
  msgid "Background color"
1335
  msgstr ""
1336
  "Color de fondo\n"
1337
 
1338
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1339
+ #: includes/views/admin_tracking_page_settings.php:72
1340
  msgid "Border color"
1341
  msgstr ""
1342
  "Color del borde\n"
1343
 
1344
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1345
  msgid "Border size"
1346
  msgstr ""
1347
  "Tamaño del borde\n"
1348
 
1349
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1350
+ msgid "Content Text align"
1351
+ msgstr ""
1352
+ "Alinear texto de contenido\n"
1353
 
1354
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1355
+ msgid "Content font color"
1356
+ msgstr ""
1357
+ "Color de fuente de contenido\n"
1358
 
1359
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1360
+ msgid "Content font size"
1361
+ msgstr ""
1362
+ "Tamaño de fuente de contenido\n"
1363
 
1364
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1365
  msgid "Content line height"
1366
  msgstr ""
1367
  "Altura de la línea de contenido\n"
1368
 
1369
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1370
  msgid "Content font weight"
1371
  msgstr ""
1372
  "Peso de la fuente de contenido\n"
1373
 
1374
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1375
+ msgid "Tracking Link"
1376
  msgstr ""
1377
+ "Enlace de seguimiento\n"
1378
 
1379
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1380
+ msgid "Font Color"
1381
+ msgstr ""
1382
+ "Color de fuente\n"
1383
 
1384
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1385
+ msgid "Border"
1386
+ msgstr "Frontera"
1387
 
1388
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1389
+ msgid ""
1390
+ "To preview the tracking display, please add tracking information to at least "
1391
+ "one order and choose it in the preview order selection."
1392
+ msgstr ""
1393
+ "Para obtener una vista previa de la pantalla de seguimiento, agregue "
1394
+ "información de seguimiento al menos a un pedido y elíjala en la selección de "
1395
+ "vista previa del pedido.\n"
1396
 
1397
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1398
+ msgid "Your {site_title} order is now partially shipped"
1399
  msgstr ""
1400
+ "Su pedido de {site_title} ahora se envió parcialmente\n"
1401
 
1402
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1403
  msgid ""
1404
  "Hi there. we thought you'd like to know that your recent order from "
1405
+ "{site_title} has been partially shipped."
1406
  msgstr ""
1407
+ "Hola. pensamos que le gustaría saber que su pedido reciente de {site_title} "
1408
+ "ha sido enviado parcialmente.\n"
1409
 
1410
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1411
+ msgid "Enable Partially Shipped order status email"
1412
+ msgstr ""
1413
+ "Habilitar correo electrónico de estado de pedido enviado parcialmente\n"
1414
+
1415
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1416
+ msgid "Your {site_title} order is now updated tracking"
1417
+ msgstr ""
1418
+ "Tu pedido de {site_title} ahora está actualizado\n"
1419
+
1420
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1421
+ msgid ""
1422
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1423
+ "recent order from {site_title} has been updated."
1424
+ msgstr ""
1425
+ "Hola. pensamos que le gustaría saber que el seguimiento de envío de su "
1426
+ "pedido reciente de {site_title} se ha actualizado.\n"
1427
+
1428
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1429
+ msgid "Enable Updated Tracking order status email"
1430
  msgstr ""
1431
+ "Habilite el correo electrónico actualizado del estado del pedido de "
1432
+ "seguimiento\n"
1433
 
1434
  #: includes/emails/class-shipment-delivered-email.php:32
1435
  msgid "Delivered order"
1436
  msgstr ""
1437
+ "Pedido entregado\n"
1438
 
1439
  #: includes/emails/class-shipment-delivered-email.php:33
1440
  msgid ""
1441
  "Order delivered emails are sent to customers when their orders are marked "
1442
  "delivered and usually indicate that their orders have been shipped."
1443
  msgstr ""
1444
+ "Los correos electrónicos de pedidos entregados se envían a los clientes "
1445
+ "cuando sus pedidos están marcados como entregados y generalmente indican que "
1446
+ "sus pedidos han sido enviados.\n"
1447
 
1448
+ #: includes/emails/class-shipment-delivered-email.php:280
1449
  msgid "Click Here"
1450
  msgstr ""
1451
+ "Haga clic aquí\n"
1452
 
1453
+ #: includes/emails/class-shipment-delivered-email.php:281
1454
  msgid "Edit in customizer"
1455
  msgstr ""
1456
+ "Editar en el personalizador\n"
1457
 
1458
  #: includes/views/admin_options_bulk_upload.php:10
1459
  msgid "Upload CSV"
1468
  "agregará la información de seguimiento)"
1469
 
1470
  #: includes/views/admin_options_bulk_upload.php:29
1471
+ #: includes/views/admin_options_shipping_provider.php:120
1472
+ #: includes/views/admin_options_shipping_provider.php:157
1473
  msgid "Upload"
1474
  msgstr "Subir"
1475
 
1481
  msgid "Upload Progress - "
1482
  msgstr "Progreso de carga -"
1483
 
1484
+ #: includes/views/admin_options_bulk_upload.php:50
1485
  msgid "Sample CSV"
1486
  msgstr ""
1487
+ "CSV de muestra\n"
1488
 
1489
+ #: includes/views/admin_options_bulk_upload.php:55
1490
  msgid "You can download an example of the csv file:"
1491
  msgstr "Puedes descargar un ejemplo del archivo csv:"
1492
 
1493
+ #: includes/views/admin_options_bulk_upload.php:58
1494
  msgid "Download sample csv file"
1495
  msgstr "Descargar archivo csv de muestra"
1496
 
1497
+ #: includes/views/admin_options_bulk_upload.php:63
1498
  msgid ""
1499
  "For detailed instructions on how to upload tracking info in bulk, see our"
1500
  msgstr ""
1501
  "Para obtener instrucciones detalladas sobre cómo cargar información de "
1502
  "seguimiento de forma masiva, consulte nuestra"
1503
 
1504
+ #: includes/views/admin_options_settings.php:15
1505
+ #: includes/views/admin_trackship_dashboard.php:62
1506
+ msgid "General Settings"
1507
+ msgstr "Configuración general"
1508
+
1509
  #: includes/views/admin_options_settings.php:26
1510
+ #: includes/views/admin_options_settings.php:181
1511
+ #: includes/views/admin_trackship_dashboard.php:73
1512
+ #: includes/views/admin_tracking_page_settings.php:101
 
1513
  msgid "Save Changes"
1514
  msgstr ""
1515
+ "Guardar cambios\n"
1516
 
1517
  #: includes/views/admin_options_settings.php:40
1518
  msgid "Tracking Info Display"
1519
  msgstr ""
1520
+ "Pantalla de información de seguimiento\n"
1521
 
1522
  #: includes/views/admin_options_settings.php:49
1523
  msgid "You can customize the tracking info display on emails and my account"
1524
  msgstr ""
1525
+ "Puede personalizar la visualización de la información de seguimiento en los "
1526
+ "correos electrónicos y en mi cuenta\n"
1527
 
1528
  #: includes/views/admin_options_settings.php:52
1529
  msgid "Launch Customizer"
1530
  msgstr ""
1531
+ "Iniciar personalizador\n"
1532
 
1533
  #: includes/views/admin_options_settings.php:62
1534
+ msgid "Custom Order Statuses"
 
 
 
 
1535
  msgstr ""
1536
+ "Estados de pedidos personalizados\n"
1537
 
1538
  #: includes/views/admin_options_settings.php:94
1539
+ #: includes/views/admin_options_settings.php:129
1540
+ #: includes/views/admin_options_settings.php:163
1541
+ msgid "Light Font"
 
 
 
 
 
1542
  msgstr ""
1543
+ "Fuente de luz\n"
1544
+
1545
+ #: includes/views/admin_options_settings.php:95
1546
+ #: includes/views/admin_options_settings.php:130
1547
+ #: includes/views/admin_options_settings.php:164
1548
+ msgid "Dark Font"
1549
+ msgstr ""
1550
+ "Fuente oscura\n"
1551
+
1552
+ #: includes/views/admin_options_settings.php:99
1553
+ #: includes/views/admin_options_settings.php:134
1554
+ #: includes/views/admin_options_settings.php:168
1555
+ msgid "Send Email"
1556
+ msgstr ""
1557
+ "Enviar correo electrónico\n"
1558
 
1559
  #: includes/views/admin_options_shipping_provider.php:12
1560
+ #: includes/views/admin_options_shipping_provider.php:25
1561
+ #: includes/views/zorem_admin_sidebar.php:18
1562
+ #: includes/views/admin_options_addons.php:109
1563
  msgid "Active"
1564
+ msgstr "Activa"
1565
 
1566
  #: includes/views/admin_options_shipping_provider.php:13
1567
+ #: includes/views/admin_options_shipping_provider.php:25
1568
  msgid "Inactive"
1569
+ msgstr "Inactiva"
1570
 
1571
  #: includes/views/admin_options_shipping_provider.php:14
1572
  msgid "Custom"
1573
  msgstr ""
1574
+ "Personalizada(feminine)\n"
1575
 
1576
+ #: includes/views/admin_options_shipping_provider.php:20
1577
+ msgid "Search by provider / country"
 
 
 
 
 
 
1578
  msgstr ""
1579
+ "Búsqueda por proveedor / país\n"
1580
 
1581
+ #: includes/views/admin_options_shipping_provider.php:25
1582
+ msgid "Reset all:"
1583
  msgstr ""
1584
+ "Resetear todo:\n"
1585
 
1586
+ #: includes/views/admin_options_shipping_provider.php:26
1587
+ #: includes/views/admin_options_shipping_provider.php:177
1588
+ #: includes/views/admin_options_shipping_provider.php:184
1589
+ msgid "Sync Shipping Providers"
1590
  msgstr ""
1591
+ "Proveedores de envío de sincronización\n"
1592
 
1593
+ #: includes/views/admin_options_shipping_provider.php:102
 
 
 
 
 
1594
  msgid "Add Custom Shipping Provider"
1595
  msgstr "Añadir proveedor de envío personalizado"
1596
 
1597
+ #: includes/views/admin_options_shipping_provider.php:109
1598
+ #: includes/views/admin_options_shipping_provider.php:146
1599
  msgid "Shipping Country"
1600
  msgstr ""
1601
+ "País de envío\n"
1602
 
1603
+ #: includes/views/admin_options_shipping_provider.php:110
1604
+ #: includes/views/admin_options_shipping_provider.php:147
1605
  msgid "Global"
1606
+ msgstr "Global"
1607
+
1608
+ #: includes/views/admin_options_shipping_provider.php:126
1609
+ #: includes/views/admin_options_shipping_provider.php:163
1610
+ msgid "How to add Tracking URL"
1611
  msgstr ""
1612
+ "Cómo agregar URL de seguimiento\n"
1613
 
1614
+ #: includes/views/admin_options_shipping_provider.php:139
1615
  msgid "Edit Custom Shipping Provider"
1616
  msgstr "Editar proveedor de envío personalizado"
1617
 
1618
+ #: includes/views/admin_options_shipping_provider.php:178
1619
  msgid ""
1620
  "Syncing the shipping providers list add or updates the pre-set shipping "
1621
  "providers and will not effect custom shipping providers."
1622
  msgstr ""
1623
+ "La sincronización de la lista de proveedores de envío agrega o actualiza los "
1624
+ "proveedores de envío preestablecidos y no afectará a los proveedores de "
1625
+ "envío personalizados.\n"
1626
 
1627
+ #: includes/views/admin_options_shipping_provider.php:180
1628
  msgid "Providers Added"
1629
  msgstr "Providers Added"
1630
 
1631
+ #: includes/views/admin_options_shipping_provider.php:181
1632
  msgid "Providers Updated"
1633
  msgstr "Providers Updated"
1634
 
1635
+ #: includes/views/admin_options_shipping_provider.php:182
1636
  msgid "Providers Deleted"
1637
  msgstr "Providers Deleted"
1638
 
1639
+ #: includes/views/admin_options_trackship_integration.php:17
1640
+ #: includes/views/admin_tracking_page_settings.php:7
1641
  msgid "Tracking Page"
1642
  msgstr "Página de seguimiento"
1643
 
1644
+ #: includes/views/admin_options_trackship_integration.php:20
1645
+ msgid "Shipment Status Notifications"
1646
+ msgstr ""
1647
+ "Notificaciones de estado de envío\n"
1648
+
1649
+ #: includes/views/admin_options_trackship_integration.php:23
1650
+ msgid "Tools"
1651
+ msgstr "Herramientas"
1652
+
1653
+ #: includes/views/zorem_admin_sidebar.php:15
1654
+ #: includes/views/admin_options_addons.php:90
1655
+ msgid "Get This Add-on >"
1656
+ msgstr ""
1657
+ "Obtenga este complemento>\n"
1658
+
1659
+ #: includes/views/zorem_admin_sidebar.php:27
1660
+ msgid "Upgrade to PRO"
1661
+ msgstr ""
1662
+ "Actualiza a PRO\n"
1663
 
1664
+ #: includes/views/admin_options_tools.php:23
1665
+ msgid ""
1666
+ "You can send all your orders from the last 30 days to get shipment status "
1667
+ "from TrackShip:"
1668
+ msgstr ""
1669
+ "Puede enviar todos sus pedidos de los últimos 30 días para obtener el estado "
1670
+ "del envío desde TrackShip:\n"
1671
+
1672
+ #: includes/views/admin_options_addons.php:20
1673
+ msgid "TrackShip"
1674
+ msgstr "TrackShip"
1675
+
1676
+ #: includes/views/admin_options_addons.php:36
1677
+ msgid ""
1678
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1679
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1680
+ "the order management workflows, reduces customer inquiries, reduces time "
1681
+ "spent on customer service, and improves the post-purchase experience and "
1682
+ "satisfaction of your customers."
1683
+ msgstr ""
1684
+ "TracksShip es una forma plana de API de seguimiento de envíos premium que se "
1685
+ "integra completamente con WooCommerce con el seguimiento de envío avanzado. "
1686
+ "TrackShip automatiza los flujos de trabajo de gestión de pedidos, reduce las "
1687
+ "consultas de los clientes, reduce el tiempo dedicado al servicio al cliente "
1688
+ "y mejora la experiencia posterior a la compra y la satisfacción de sus "
1689
+ "clientes.\n"
1690
+
1691
+ #: includes/views/admin_options_addons.php:37
1692
+ msgid ""
1693
+ "You must have account TracksShip and connect your store in order to activate "
1694
+ "these advanced features:"
1695
+ msgstr ""
1696
+ "Debe tener la cuenta TracksShip y conectar su tienda para activar estas "
1697
+ "funciones avanzadas:\n"
1698
+
1699
+ #: includes/views/admin_options_addons.php:51
1700
+ msgid "SIGNUP NOW"
1701
+ msgstr ""
1702
+ "REGÍSTRATE AHORA\n"
1703
+
1704
+ #: includes/views/admin_options_addons.php:80
1705
+ msgid ""
1706
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1707
+ "tracking numbers to specific line items and to line item quantities."
1708
  msgstr ""
1709
+ "El complemento Seguimiento por artículo amplía el complemento AST y le "
1710
+ "permite adjuntar números de seguimiento a líneas de pedido específicas y a "
1711
+ "cantidades de artículos de línea.\n"
1712
 
1713
+ #: includes/views/admin_options_addons.php:110
1714
+ msgid "Deactivate"
1715
+ msgstr "Desactivar"
1716
+
1717
+ #: includes/views/admin_options_addons.php:112
1718
+ msgid "Activate"
1719
+ msgstr "Activar"
1720
+
1721
+ #: includes/views/admin_tracking_page_settings.php:39
1722
+ msgid ""
1723
+ "Note - If you select a different page than the Shipment Tracking page, add "
1724
+ "the [wcast-track-order] shortcode to the selected page content."
1725
+ msgstr ""
1726
+ "Nota: si selecciona una página diferente a la página de Seguimiento de "
1727
+ "envíos, agregue el código corto [wcast-track-order] al contenido de la "
1728
+ "página seleccionada.\n"
1729
+
1730
+ #: includes/views/admin_tracking_page_settings.php:39
1731
+ msgid "more info"
1732
+ msgstr ""
1733
+ "más información\n"
1734
+
1735
+ #: includes/views/admin_tracking_page_settings.php:66
1736
+ msgid "Text Color"
1737
+ msgstr ""
1738
+ "Color de texto\n"
1739
+
1740
+ #: includes/views/admin_tracking_page_settings.php:88
1741
+ msgid "Hide tracking event details"
1742
+ msgstr ""
1743
+ "Ocultar detalles del evento de seguimiento\n"
1744
+
1745
+ #: includes/views/admin_tracking_page_settings.php:110
1746
+ msgid "Preview"
1747
+ msgstr "Avance"
1748
+
1749
+ #: includes/views/admin_status_notifications.php:3
1750
  msgid "Shipment Status Notifications "
1751
  msgstr "Notificaciones de estado de envío"
1752
 
1753
+ #: includes/views/admin_status_notifications.php:27
1754
  msgid ""
1755
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1756
  "the way."
1758
  "El transportista ha aceptado o recogido el envío del remitente. El envío "
1759
  "está en camino."
1760
 
1761
+ #: includes/views/admin_status_notifications.php:41
1762
  msgid "Shipment is returned to sender"
1763
  msgstr "El envío se devuelve al remitente"
1764
 
1765
+ #: includes/views/admin_status_notifications.php:55
1766
  msgid "The shipment is ready to pickup."
1767
  msgstr "El envío está listo para ser recogido."
1768
 
1769
+ #: includes/views/admin_status_notifications.php:68
1770
  msgid "Carrier is about to deliver the shipment"
1771
  msgstr "El transportista está a punto de entregar el envío."
1772
 
1773
+ #: includes/views/admin_status_notifications.php:82
1774
  msgid "The shipment was delivered successfully"
1775
  msgstr "El envío fue entregado exitosamente"
1776
 
1777
+ #: includes/views/admin_status_notifications.php:83
1778
  msgid ""
1779
  "You already have delivered email enabled, to enable this email you'll need "
1780
  "to disable the order status delivered in settings."
1783
  "electrónico deberá deshabilitar el estado del pedido entregado en la "
1784
  "configuración."
1785
 
1786
+ #: includes/views/admin_status_notifications.php:97
1787
  msgid ""
1788
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1789
  "will try to deliver the package again."
1791
  "El transportista intentó entregar pero falló, y generalmente deja un aviso e "
1792
  "intentará entregar el paquete nuevamente."
1793
 
1794
+ #: templates/emails/tracking-info.php:225
1795
+ #: templates/myaccount/tracking-info.php:166
1796
+ msgid "Provider Name"
 
 
 
 
 
1797
  msgstr ""
1798
+ "Nombre del proveedor\n"
1799
 
1800
  #. %s: Order ID.
1801
  #: templates/emails/wcast-email-order-details.php:47
1803
  msgid "Order number: %s"
1804
  msgstr "Número de pedido:% s"
1805
 
1806
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1807
+ msgid "Cannot create existing order shipment tracking."
1808
+ msgstr ""
1809
+ "No se puede crear el seguimiento de envío de pedidos existente.\n"
1810
+
1811
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1812
+ msgid "Invalid order ID."
1813
+ msgstr ""
1814
+ "ID de pedido no válido\n"
1815
+
1816
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1817
+ msgid "Special character not allowd in tracking number"
1818
+ msgstr ""
1819
+ "Carácter especial no permitido en el número de seguimiento\n"
1820
+
1821
  #. Name of the plugin
1822
  msgid "Advanced Shipment Tracking for WooCommerce"
1823
  msgstr ""
1824
+ "Seguimiento avanzado de envíos para WooCommerce\n"
1825
 
1826
  #. Description of the plugin
1827
  msgid ""
1830
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1831
  "order complete email."
1832
  msgstr ""
1833
+ "Agregue información de seguimiento de envíos a sus pedidos de WooCommerce y "
1834
+ "brinde a los clientes una forma fácil de rastrear sus pedidos. La "
1835
+ "información de seguimiento del envío aparecerá en las cuentas de los "
1836
+ "clientes (en el panel de pedidos) y en el correo electrónico completo del "
1837
+ "pedido de WooCommerce.\n"
lang/woo-advanced-shipment-tracking-fr_FR.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-fr_FR.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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:07+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: French (France)\n"
9
  "Language: fr_FR\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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
@@ -23,24 +23,397 @@ msgstr ""
23
  "Veuillez installer et activer %sWooCommerce%s pour Suivi Avancé des "
24
  "Commandes pour WooCommerce !"
25
 
26
- #: woocommerce-advanced-shipment-tracking.php:223
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:430
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 "
36
- "\"Delivered\", when you deactivate the plugin, you must register this order "
37
- "status in function.php in order to see these orders in the orders admin. You "
38
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
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-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 "
@@ -50,249 +423,353 @@ msgstr ""
50
  "dessous et appuyez sur le bouton \"Suivre\". Cela vous a été remis sur votre "
51
  "reçu et dans l'e-mail de confirmation que vous auriez dû recevoir."
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 "Trouvé dans l'e-mail de confirmation de votre commande."
57
 
58
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
59
  msgid "Order Email"
60
  msgstr "Email de commande"
61
 
62
- #: includes/class-wc-advanced-shipment-tracking-front.php:155
63
- #: includes/class-wc-advanced-shipment-tracking.php:276
64
- #: includes/class-wc-advanced-shipment-tracking.php:701
65
- #: includes/class-wc-advanced-shipment-tracking.php:826
66
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
67
- #: includes/customizer/class-wc-tracking-info-customizer.php:444
68
- #: templates/emails/tracking-info.php:174
69
- #: templates/myaccount/tracking-info.php:125
70
  msgid "Track"
71
  msgstr "Suivi"
72
 
73
- #: includes/class-wc-advanced-shipment-tracking-front.php:233
74
- #: includes/class-wc-advanced-shipment-tracking-front.php:510
 
 
75
  #, php-format
76
  msgid "Shipment - %s (out of %s)"
77
  msgstr "Envoi -% s (sur% s)"
78
 
79
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
80
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
81
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
82
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
83
- msgid "Estimated Delivery Date: "
84
- msgstr "Date de livraison estimée:"
 
 
 
 
 
 
 
 
 
85
 
86
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
87
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
88
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
89
  msgid "Tracking Details"
90
  msgstr "Détails de suivi"
91
 
92
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
93
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
94
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
95
  msgid "view more"
96
  msgstr "Afficher plus"
97
 
98
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
99
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
100
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
101
  msgid "view less"
102
  msgstr "voir moins"
103
 
104
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
105
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
106
- msgid "Tracking details not found in TrackShip"
107
- msgstr ""
108
-
109
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
110
- msgid "Estimated Delivery Date"
111
- msgstr ""
112
-
113
  #: includes/class-wc-advanced-shipment-tracking.php:95
114
- #: includes/class-wc-advanced-shipment-tracking.php:260
115
  #: includes/customizer/class-wcast-customizer.php:31
116
  msgid "Shipment Tracking"
117
  msgstr "Suivi de l'expédition"
118
 
119
  #: includes/class-wc-advanced-shipment-tracking.php:184
120
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
121
  msgid "Mark as Shipped?"
122
  msgstr ""
123
-
124
- #: includes/class-wc-advanced-shipment-tracking.php:185
125
- msgid "Shipped"
126
- msgstr ""
127
 
128
  #: includes/class-wc-advanced-shipment-tracking.php:187
129
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
130
  msgid "Mark as Completed?"
131
  msgstr ""
 
132
 
133
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
134
  msgid "Completed"
135
- msgstr ""
136
 
137
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
138
  msgid "Add Tracking Number"
139
  msgstr ""
 
140
 
141
- #: includes/class-wc-advanced-shipment-tracking.php:200
142
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
143
  msgid "Provider:"
144
  msgstr "Expéditeur :"
145
 
146
- #: includes/class-wc-advanced-shipment-tracking.php:220
147
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
148
  msgid "Tracking number:"
149
  msgstr "Numéro de suivi :"
150
 
151
- #: includes/class-wc-advanced-shipment-tracking.php:224
152
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
153
  msgid "Date shipped:"
154
  msgstr "Date d'expédition :"
155
 
156
- #: includes/class-wc-advanced-shipment-tracking.php:225
157
- #: includes/class-wc-advanced-shipment-tracking.php:442
158
- #: includes/class-wc-advanced-shipment-tracking.php:445
159
- msgid "Y-m-d"
160
  msgstr ""
 
161
 
162
- #: includes/class-wc-advanced-shipment-tracking.php:231
163
- #: includes/class-wc-advanced-shipment-tracking.php:451
164
- msgid "Mark as"
165
- msgstr ""
166
-
167
- #: includes/class-wc-advanced-shipment-tracking.php:234
168
- #: includes/class-wc-advanced-shipment-tracking.php:455
169
  msgid "Partial Shipped"
170
  msgstr ""
 
171
 
172
- #: includes/class-wc-advanced-shipment-tracking.php:276
173
- #: includes/class-wc-advanced-shipment-tracking.php:469
174
- msgid "Click here to track your shipment"
175
- msgstr "Cliquez ici pour suivre votre envoi"
 
176
 
177
  #. 1: shipping date
178
- #: includes/class-wc-advanced-shipment-tracking.php:284
179
  #, php-format
180
  msgid "Shipped on %s"
181
  msgstr "Expédié le %s"
182
 
183
- #: includes/class-wc-advanced-shipment-tracking.php:391
184
  msgid "Add Tracking Info"
185
  msgstr "Ajouter des informations de suivi"
186
 
187
- #: includes/class-wc-advanced-shipment-tracking.php:396
188
  msgid "Select Provider"
189
  msgstr "Sélectionner un expéditeur"
190
 
191
- #: includes/class-wc-advanced-shipment-tracking.php:468
192
  msgid "Save Tracking"
193
  msgstr "Enregistrer le suivi"
194
 
195
- #: includes/class-wc-advanced-shipment-tracking.php:469
196
  msgid "Preview:"
197
  msgstr "Aperçu :"
198
 
199
- #: includes/class-wc-advanced-shipment-tracking.php:675
200
  #, php-format
201
  msgid ""
202
  "Tracking info was deleted for tracking provider %s with tracking number %s"
203
  msgstr ""
 
 
204
 
205
- #: includes/class-wc-advanced-shipment-tracking.php:1042
206
  #, php-format
207
  msgid "Order was shipped with %s and tracking number is: %s"
208
  msgstr ""
 
209
 
210
  #: includes/class-wc-advanced-shipment-welcome.php:38
211
  #: includes/class-wc-advanced-shipment-welcome.php:39
212
  msgid "Welcome to Advanced Shipment Tracking"
213
  msgstr ""
 
214
 
215
  #: includes/class-wc-advanced-shipment-welcome.php:90
216
  #: includes/class-wc-advanced-shipment-welcome.php:129
217
  #: includes/class-wc-advanced-shipment-welcome.php:147
218
  msgid "Save and Continue"
219
  msgstr ""
 
220
 
221
  #: includes/class-wc-advanced-shipment-welcome.php:177
222
- #: includes/views/admin_options_trackship_integration.php:26
223
  msgid "Connection status"
224
  msgstr ""
 
225
 
226
  #: includes/class-wc-advanced-shipment-welcome.php:184
227
- #: includes/views/admin_options_trackship_integration.php:33
228
  msgid "TrackShip Connection Status"
229
  msgstr "État de la connexion TrackShip"
230
 
231
- #: includes/class-wc-advanced-shipment-welcome.php:188
232
- #: includes/views/admin_options_trackship_integration.php:37
233
- msgid "Connected"
234
- msgstr ""
235
- "Connecté\n"
236
-
237
  #: includes/class-wc-advanced-shipment-welcome.php:194
238
- #: includes/views/admin_options_trackship_integration.php:43
239
  msgid "Trackers Balance"
240
  msgstr ""
 
241
 
242
  #: includes/class-wc-advanced-shipment-welcome.php:202
243
- #: includes/views/admin_options_trackship_integration.php:51
244
  msgid "Current Plan"
245
  msgstr ""
 
246
 
247
  #: includes/class-wc-advanced-shipment-welcome.php:217
248
- #: includes/views/admin_options_trackship_integration.php:66
 
249
  msgid ""
250
  "You are now connected with TrackShip! TrackShip makes it effortless to "
251
  "automate your post shipping operations and get tracking and delivery status "
252
  "updates directly in the WooCommerce admin."
253
  msgstr ""
254
-
255
- #: includes/class-wc-advanced-shipment-welcome.php:222
256
- #: includes/views/admin_options_bulk_upload.php:58
257
- #: includes/views/admin_options_trackship_integration.php:71
258
- #: includes/views/zorem_admin_ts_sidebar.php:12
259
- msgid "Documentation"
260
- msgstr ""
261
 
262
  #: includes/class-wc-advanced-shipment-welcome.php:223
263
- #: includes/views/admin_options_trackship_integration.php:72
264
  msgid "TrackShip Dashboard"
265
  msgstr ""
 
266
 
267
  #: includes/class-wc-advanced-shipment-welcome.php:253
268
  msgid "Save"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
269
  msgstr ""
 
270
 
271
- #: includes/class-wc-advanced-shipment-welcome.php:310
272
- msgid ""
273
- "Get Shipment Status is limited to 100 orders at a time, please select up to "
274
- "100 orders."
 
 
 
 
 
 
 
 
 
275
  msgstr ""
 
276
 
277
- #: includes/class-wc-advanced-shipment-welcome.php:343
278
- msgid "Data saved successfully."
279
- msgstr "Données sauvegardées avec succès."
 
 
 
 
 
280
 
281
- #: includes/class-wc-advanced-shipment-welcome.php:344
282
- msgid "Really delete this entry? This will not be undo."
283
- msgstr "Vraiment supprimer cette entrée? Ce ne sera pas défait."
 
284
 
285
- #: includes/class-wc-advanced-shipment-welcome.php:345
286
- msgid "You can upload only csv file."
287
- msgstr "Vous ne pouvez télécharger que des fichiers csv."
 
288
 
289
- #: includes/class-wc-advanced-shipment-welcome.php:346
290
- msgid "This browser does not support HTML5."
291
- msgstr "Ce navigateur ne supporte pas HTML5."
 
292
 
293
- #: includes/class-wc-advanced-shipment-welcome.php:347
294
- msgid "Please upload a valid CSV file."
295
- msgstr "Veuillez télécharger un fichier CSV valide."
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
296
 
297
  #: includes/customizer/class-wcast-customizer.php:40
298
  msgid "Shipment Status Emails"
@@ -310,52 +787,17 @@ msgstr ""
310
 
311
  #: includes/customizer/class-wcast-customizer.php:68
312
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
313
- msgid "Partial Shipped status email"
314
  msgstr ""
 
315
 
316
  #: includes/customizer/class-wcast-customizer.php:76
317
- msgid "Pre Transit"
318
- msgstr "Pré Transit"
319
-
320
- #: includes/customizer/class-wcast-customizer.php:84
321
- #: includes/customizer/class-wc-intransit-email-customizer.php:127
322
- #: includes/views/admin_options_trackship_integration.php:161
323
- msgid "In Transit"
324
- msgstr ""
325
- "En transit\n"
326
-
327
- #: includes/customizer/class-wcast-customizer.php:92
328
- #: includes/customizer/class-wc-returntosender-email-customizer.php:124
329
- #: includes/views/admin_options_trackship_integration.php:175
330
- msgid "Return To Sender"
331
- msgstr "Retourner à l'expéditeur"
332
-
333
- #: includes/customizer/class-wcast-customizer.php:99
334
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
335
- #: includes/views/admin_options_trackship_integration.php:189
336
- msgid "Available For Pickup"
337
- msgstr "Disponible pour ramassage"
338
-
339
- #: includes/customizer/class-wcast-customizer.php:106
340
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
341
- #: includes/views/admin_options_trackship_integration.php:202
342
- msgid "Out For Delivery"
343
  msgstr ""
344
- "En cours de livraison\n"
345
 
346
- #: includes/customizer/class-wcast-customizer.php:114
347
- #: includes/customizer/class-wc-delivered-email-customizer.php:125
348
- #: includes/views/admin_options_trackship_integration.php:216
349
- msgid "Delivered"
350
- msgstr "Livré"
351
-
352
- #: includes/customizer/class-wcast-customizer.php:122
353
- #: includes/customizer/class-wc-failure-email-customizer.php:124
354
- #: includes/views/admin_options_trackship_integration.php:231
355
- msgid "Failed Attempt"
356
- msgstr "Failed Attempt"
357
-
358
- #: includes/customizer/class-wcast-customizer.php:390
359
  msgid "Select order to preview"
360
  msgstr ""
361
  "Sélectionnez l'ordre de prévisualisation\n"
@@ -386,6 +828,7 @@ msgstr ""
386
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
387
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
388
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
 
389
  msgid "This section lets you customize the Email Content."
390
  msgstr ""
391
  "Cette section vous permet de personnaliser le contenu du courrier "
@@ -402,8 +845,9 @@ msgstr "Activer l'e-mail de statut d'envoi disponible pour le ramassage"
402
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
403
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
404
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
405
- #: includes/customizer/class-wc-tracking-info-customizer.php:178
406
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
 
407
  msgid "Preview order"
408
  msgstr ""
409
  "Commande d'aperçu\n"
@@ -418,42 +862,41 @@ msgstr ""
418
  msgid "E.g. {customer.email}, admin@example.org"
419
  msgstr "Ex. {client.email}, admin@exemple.org"
420
 
 
421
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
422
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
 
423
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
424
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
 
 
 
 
 
425
  #: includes/customizer/class-wc-failure-email-customizer.php:231
426
  #: includes/customizer/class-wc-failure-email-customizer.php:253
 
427
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
428
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
 
429
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
430
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
 
431
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
432
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
433
- msgid "Available placeholders: {site_title}, {order_number}"
434
- msgstr "Espaces réservés disponibles: {site_title}, {order_number}"
435
-
436
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:237
437
- #: includes/customizer/class-wc-delivered-email-customizer.php:238
438
- #: includes/customizer/class-wc-email-customizer.php:249
439
- #: includes/customizer/class-wc-failure-email-customizer.php:237
440
- #: includes/customizer/class-wc-intransit-email-customizer.php:241
441
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:239
442
- #: includes/customizer/class-wc-returntosender-email-customizer.php:237
443
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:206
444
- msgid "Please enter email subject here"
445
- msgstr "S'il vous plaît entrer le sujet de l'email ici"
446
-
447
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:259
448
- #: includes/customizer/class-wc-delivered-email-customizer.php:260
449
- #: includes/customizer/class-wc-email-customizer.php:272
450
- #: includes/customizer/class-wc-failure-email-customizer.php:259
451
- #: includes/customizer/class-wc-intransit-email-customizer.php:263
452
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:261
453
- #: includes/customizer/class-wc-returntosender-email-customizer.php:259
454
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:229
455
- msgid "Please enter email heading here"
456
- msgstr "S'il vous plaît entrer email rubrique ici"
457
 
458
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
459
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
@@ -493,22 +936,24 @@ msgstr "Afficher l'adresse de livraison"
493
 
494
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
495
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
496
- #: includes/customizer/class-wc-email-customizer.php:392
497
  #: includes/customizer/class-wc-failure-email-customizer.php:339
498
- #: includes/customizer/class-wc-intransit-email-customizer.php:363
499
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
500
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
501
  msgid "Google Analytics link tracking"
502
  msgstr ""
 
503
 
504
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
505
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
506
  #: includes/customizer/class-wc-failure-email-customizer.php:340
507
- #: includes/customizer/class-wc-intransit-email-customizer.php:364
508
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
509
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
510
  msgid "This will be appended to URL in the email content"
511
  msgstr ""
 
512
 
513
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
514
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
@@ -518,35 +963,33 @@ msgstr ""
518
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
519
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
520
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
 
521
  msgid "Email content"
522
  msgstr "Contenu de l'e-mail"
523
 
524
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:380
525
- #: includes/customizer/class-wc-delivered-email-customizer.php:382
526
- #: includes/customizer/class-wc-email-customizer.php:413
527
- #: includes/customizer/class-wc-failure-email-customizer.php:381
528
- #: includes/customizer/class-wc-intransit-email-customizer.php:385
529
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:383
530
- #: includes/customizer/class-wc-returntosender-email-customizer.php:381
531
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:264
532
- msgid "Available placeholders"
533
- msgstr "Espaces réservés disponibles"
534
-
535
- #: includes/customizer/class-wc-availableforpickup-email-customizer.php:427
536
- #: includes/customizer/class-wc-delivered-email-customizer.php:429
537
- #: includes/customizer/class-wc-email-customizer.php:446
538
- #: includes/customizer/class-wc-failure-email-customizer.php:428
539
- #: includes/customizer/class-wc-intransit-email-customizer.php:431
540
- #: includes/customizer/class-wc-outfordelivery-email-customizer.php:429
541
- #: includes/customizer/class-wc-returntosender-email-customizer.php:427
542
- #: includes/customizer/class-wc-tracking-info-customizer.php:791
543
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:297
544
  msgid "Please select order to preview."
545
  msgstr ""
 
546
 
547
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
548
  msgid "Your order #{order_number} has been delivered"
549
  msgstr ""
 
550
 
551
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
552
  #: includes/customizer/class-wc-email-customizer.php:132
@@ -576,50 +1019,44 @@ msgid "Enable Delivered order status email"
576
  msgstr "Activer le courrier électronique sur l'état de la commande livrée"
577
 
578
  #: includes/customizer/class-wc-email-customizer.php:201
579
- #: includes/customizer/class-wc-tracking-info-customizer.php:182
580
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
 
581
  msgid "Please select a order..."
582
  msgstr "Veuillez sélectionner une commande ..."
583
 
584
- #: includes/customizer/class-wc-email-customizer.php:243
585
- #: includes/customizer/class-wc-email-customizer.php:266
586
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
587
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
588
- msgid "Available variables: {site_title}, {order_number}"
589
- msgstr ""
590
-
591
- #: includes/customizer/class-wc-email-customizer.php:289
592
- #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
593
- msgid ""
594
- "available variables: {site_title}, {customer_email}, {customer_first_name}, "
595
- "{customer_last_name}, {customer_username}, {order_number}"
596
- msgstr ""
597
-
598
- #: includes/customizer/class-wc-email-customizer.php:308
599
  msgid "Display tracking details"
600
  msgstr ""
 
601
 
602
- #: includes/customizer/class-wc-email-customizer.php:324
603
  msgid "Display order details"
604
  msgstr ""
 
605
 
606
- #: includes/customizer/class-wc-email-customizer.php:341
607
  msgid "Display Shipping Address"
608
  msgstr ""
 
609
 
610
- #: includes/customizer/class-wc-email-customizer.php:358
611
  msgid "Display Billing Address"
612
  msgstr ""
 
613
 
614
- #: includes/customizer/class-wc-email-customizer.php:375
615
  msgid "Enable Google Analytics tracking"
616
  msgstr ""
 
617
 
618
- #: includes/customizer/class-wc-email-customizer.php:393
619
  msgid ""
620
  "This will be appended to URL in the email content – e.g. "
621
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
622
  msgstr ""
 
 
623
 
624
  #: includes/customizer/class-wc-failure-email-customizer.php:123
625
  msgid "Your order #{order_number} is Failed Attempt"
@@ -708,203 +1145,299 @@ msgid "Enable Return To Sender shipment status email"
708
  msgstr "Activer l'email de retour de l'expéditeur"
709
 
710
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
711
- #: includes/customizer/class-wc-tracking-info-customizer.php:364
712
- #: templates/emails/tracking-info.php:132
713
- #: templates/myaccount/tracking-info.php:91
714
  msgid "Provider"
715
  msgstr "Fournisseur"
716
 
717
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
718
- #: includes/customizer/class-wc-tracking-info-customizer.php:386
719
- #: templates/emails/tracking-info.php:156
720
- #: templates/myaccount/tracking-info.php:113
721
  msgid "Tracking Number"
722
  msgstr "Numéro de suivi"
723
 
724
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
725
- #: includes/customizer/class-wc-tracking-info-customizer.php:407
726
  msgid "Shipped Date"
727
  msgstr ""
728
  "Date d'envoi\n"
729
 
730
- #: includes/customizer/class-wc-tracking-info-customizer.php:179
731
- msgid ""
732
- "select from last 20 orders one order that you added tracking info in order "
733
- "to preview and design the tracking info table."
734
  msgstr ""
735
- "sélectionnez parmi les 20 dernières commandes une commande à laquelle vous "
736
- "avez ajouté des informations de suivi afin de prévisualiser et de concevoir "
737
- "le tableau d'informations de suivi."
738
 
739
- #: includes/customizer/class-wc-tracking-info-customizer.php:198
740
- #: includes/views/admin_options_settings.php:15
741
- #: includes/views/admin_options_trackship_integration.php:82
742
- msgid "General Settings"
743
- msgstr "réglages généraux"
744
-
745
- #: includes/customizer/class-wc-tracking-info-customizer.php:213
746
  msgid "Tracking Display Position"
747
  msgstr "Suivi de la position d'affichage"
748
 
749
- #: includes/customizer/class-wc-tracking-info-customizer.php:217
750
  msgid "Before Order Details"
751
  msgstr "Avant les détails de la commande"
752
 
753
- #: includes/customizer/class-wc-tracking-info-customizer.php:218
754
  msgid "After Order Details"
755
  msgstr "Après la commande"
756
 
757
- #: includes/customizer/class-wc-tracking-info-customizer.php:233
758
- msgid "Main Header text"
759
- msgstr "Texte d'en-tête principal"
 
760
 
761
- #: includes/customizer/class-wc-tracking-info-customizer.php:240
762
  msgid "Tracking Information"
763
  msgstr "Information de suivi"
764
 
765
- #: includes/customizer/class-wc-tracking-info-customizer.php:255
766
  msgid "Additional text after header"
767
  msgstr "Texte supplémentaire après l'en-tête"
768
 
769
- #: includes/customizer/class-wc-tracking-info-customizer.php:276
770
- msgid "Table Content"
 
 
 
 
 
 
 
 
 
 
 
771
  msgstr ""
 
772
 
773
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
774
- msgid "Display Shipment Provider image"
775
- msgstr "Afficher l'image du fournisseur d'expédition"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
776
 
777
- #: includes/customizer/class-wc-tracking-info-customizer.php:308
778
- msgid "Hide date"
779
- msgstr "Masquer la date"
 
780
 
781
- #: includes/customizer/class-wc-tracking-info-customizer.php:325
782
- msgid "Table Header"
783
  msgstr ""
 
784
 
785
- #: includes/customizer/class-wc-tracking-info-customizer.php:340
786
- msgid "Hide Header"
787
  msgstr ""
 
788
 
789
- #: includes/customizer/class-wc-tracking-info-customizer.php:357
790
- msgid "Provider Header Text"
791
- msgstr "Texte d'en-tête de fournisseur"
 
792
 
793
- #: includes/customizer/class-wc-tracking-info-customizer.php:379
794
- msgid "Tracking Number Header Text"
795
- msgstr "Texte d'en-tête du numéro de suivi"
 
796
 
797
- #: includes/customizer/class-wc-tracking-info-customizer.php:400
798
- msgid "Shipped Date Header Text"
799
- msgstr "Envoyé Date En-tête Texte"
 
800
 
801
- #: includes/customizer/class-wc-tracking-info-customizer.php:421
802
  msgid "Track Label"
803
  msgstr "Étiquette de piste"
804
 
805
- #: includes/customizer/class-wc-tracking-info-customizer.php:437
806
- msgid "Track Header Text"
807
- msgstr "Texte d'en-tête de piste"
 
808
 
809
- #: includes/customizer/class-wc-tracking-info-customizer.php:459
810
- msgid "Table header font size"
811
- msgstr "Taille de la police de l'en-tête du tableau"
 
812
 
813
- #: includes/customizer/class-wc-tracking-info-customizer.php:476
814
- msgid "Table header font color"
815
- msgstr "Couleur de police d'en-tête de tableau"
 
816
 
817
- #: includes/customizer/class-wc-tracking-info-customizer.php:492
818
- msgid "Table Design"
819
- msgstr "Table Design"
 
820
 
821
- #: includes/customizer/class-wc-tracking-info-customizer.php:507
822
  msgid "Padding"
823
  msgstr ""
824
  "Rembourrage\n"
825
 
826
- #: includes/customizer/class-wc-tracking-info-customizer.php:527
 
827
  msgid "Background color"
828
  msgstr "Couleur de fond"
829
 
830
- #: includes/customizer/class-wc-tracking-info-customizer.php:555
 
831
  msgid "Border color"
832
  msgstr "Couleur de la bordure"
833
 
834
- #: includes/customizer/class-wc-tracking-info-customizer.php:571
835
  msgid "Border size"
836
  msgstr ""
837
  "Taille de la frontière\n"
838
 
839
- #: includes/customizer/class-wc-tracking-info-customizer.php:595
840
- msgid "Table text align"
841
- msgstr "Aligner le texte du tableau"
 
842
 
843
- #: includes/customizer/class-wc-tracking-info-customizer.php:618
844
- msgid "Table content font size"
845
- msgstr "Table content font size"
 
846
 
847
- #: includes/customizer/class-wc-tracking-info-customizer.php:635
848
- msgid "Table content font color"
849
- msgstr "Couleur de police du contenu du tableau"
 
850
 
851
- #: includes/customizer/class-wc-tracking-info-customizer.php:651
852
  msgid "Content line height"
853
  msgstr ""
854
  "Hauteur de la ligne de contenu\n"
855
 
856
- #: includes/customizer/class-wc-tracking-info-customizer.php:672
857
  msgid "Content font weight"
858
  msgstr ""
859
  "Poids de la police de contenu\n"
860
 
861
- #: includes/customizer/class-wc-tracking-info-customizer.php:694
862
- msgid "Track Button Design"
863
  msgstr ""
 
864
 
865
- #: includes/customizer/class-wc-tracking-info-customizer.php:708
866
- msgid "Track Link Font Color"
867
- msgstr "Couleur de police du lien de suivi"
 
868
 
869
- #: includes/customizer/class-wc-tracking-info-customizer.php:724
870
- msgid "Track Link Background Color"
871
- msgstr "Couleur d'arrière-plan du lien de suivi"
 
872
 
873
- #: includes/customizer/class-wc-tracking-info-customizer.php:739
874
- msgid "Track link Border"
875
- msgstr "Lien de piste frontière"
 
 
 
 
 
876
 
877
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
878
- msgid "Your {site_title} order is now partial shipped"
879
  msgstr ""
 
880
 
881
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
882
  msgid ""
883
  "Hi there. we thought you'd like to know that your recent order from "
884
- "{site_title} has been Partial Shipped."
885
  msgstr ""
 
 
886
 
887
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
888
- msgid "Enable Partial Shipped order status email"
 
 
 
 
 
 
 
 
 
 
 
 
889
  msgstr ""
 
 
 
 
 
 
 
890
 
891
  #: includes/emails/class-shipment-delivered-email.php:32
892
  msgid "Delivered order"
893
  msgstr ""
 
894
 
895
  #: includes/emails/class-shipment-delivered-email.php:33
896
  msgid ""
897
  "Order delivered emails are sent to customers when their orders are marked "
898
  "delivered and usually indicate that their orders have been shipped."
899
  msgstr ""
 
 
 
900
 
901
- #: includes/emails/class-shipment-delivered-email.php:279
902
  msgid "Click Here"
903
  msgstr ""
 
904
 
905
- #: includes/emails/class-shipment-delivered-email.php:280
906
  msgid "Edit in customizer"
907
  msgstr ""
 
908
 
909
  #: includes/views/admin_options_bulk_upload.php:10
910
  msgid "Upload CSV"
@@ -919,8 +1452,8 @@ msgstr ""
919
  "informations de suivi seront ajoutées)"
920
 
921
  #: includes/views/admin_options_bulk_upload.php:29
922
- #: includes/views/admin_options_shipping_provider.php:119
923
- #: includes/views/admin_options_shipping_provider.php:153
924
  msgid "Upload"
925
  msgstr "Télécharger"
926
 
@@ -932,156 +1465,275 @@ msgstr "Paramètres sauvegardés."
932
  msgid "Upload Progress - "
933
  msgstr "Progression du téléchargement -"
934
 
935
- #: includes/views/admin_options_bulk_upload.php:45
936
  msgid "Sample CSV"
937
  msgstr ""
 
938
 
939
- #: includes/views/admin_options_bulk_upload.php:50
940
  msgid "You can download an example of the csv file:"
941
  msgstr "Vous pouvez télécharger un exemple du fichier csv:"
942
 
943
- #: includes/views/admin_options_bulk_upload.php:53
944
  msgid "Download sample csv file"
945
  msgstr "Télécharger un exemple de fichier csv"
946
 
947
- #: includes/views/admin_options_bulk_upload.php:58
948
  msgid ""
949
  "For detailed instructions on how to upload tracking info in bulk, see our"
950
  msgstr ""
951
  "Pour des instructions détaillées sur la manière de télécharger des "
952
  "informations de suivi en vrac, consultez notre"
953
 
 
 
 
 
 
954
  #: includes/views/admin_options_settings.php:26
955
- #: includes/views/admin_options_settings.php:74
956
- #: includes/views/admin_options_settings.php:100
957
- #: includes/views/admin_options_trackship_integration.php:93
958
- #: includes/views/admin_options_trackship_integration.php:124
959
  msgid "Save Changes"
960
  msgstr ""
 
961
 
962
  #: includes/views/admin_options_settings.php:40
963
  msgid "Tracking Info Display"
964
  msgstr ""
 
965
 
966
  #: includes/views/admin_options_settings.php:49
967
  msgid "You can customize the tracking info display on emails and my account"
968
  msgstr ""
 
 
969
 
970
  #: includes/views/admin_options_settings.php:52
971
  msgid "Launch Customizer"
972
  msgstr ""
 
973
 
974
  #: includes/views/admin_options_settings.php:62
975
- msgid "Delivered Order Status"
976
- msgstr "Statut de la commande livrée"
977
-
978
- #: includes/views/admin_options_settings.php:88
979
- msgid "Partial Shipped Order Status"
980
  msgstr ""
 
981
 
982
  #: includes/views/admin_options_settings.php:94
983
- #, php-format
984
- msgid ""
985
- "<strong>PLEASE NOTE</strong> - If you use the custom order status \"Partial "
986
- "Shipped\", when you deactivate the plugin, you must register this order "
987
- "status in function.php in order to see these orders in the orders admin. You "
988
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
989
- "php here or you can manually change all your \"partial-shipped\" order to "
990
- "\"completed\" before deactivating the plugin."
 
 
991
  msgstr ""
 
 
 
 
 
 
 
 
992
 
993
  #: includes/views/admin_options_shipping_provider.php:12
994
- #: includes/views/admin_options_shipping_provider.php:23
 
 
995
  msgid "Active"
996
- msgstr ""
997
 
998
  #: includes/views/admin_options_shipping_provider.php:13
999
- #: includes/views/admin_options_shipping_provider.php:23
1000
  msgid "Inactive"
1001
- msgstr ""
1002
 
1003
  #: includes/views/admin_options_shipping_provider.php:14
1004
  msgid "Custom"
 
 
 
 
1005
  msgstr ""
 
1006
 
1007
- #: includes/views/admin_options_shipping_provider.php:21
1008
- msgid "Add Custom Provider"
1009
  msgstr ""
 
1010
 
1011
- #: includes/views/admin_options_shipping_provider.php:22
1012
- #: includes/views/admin_options_shipping_provider.php:170
1013
  #: includes/views/admin_options_shipping_provider.php:177
 
1014
  msgid "Sync Shipping Providers"
1015
  msgstr ""
 
1016
 
1017
- #: includes/views/admin_options_shipping_provider.php:23
1018
- msgid "Reset"
1019
- msgstr ""
1020
-
1021
- #: includes/views/admin_options_shipping_provider.php:27
1022
- msgid "Search by provider / country"
1023
- msgstr ""
1024
-
1025
- #: includes/views/admin_options_shipping_provider.php:95
1026
- #, php-format
1027
- msgid "You don't have any %s shipping providers."
1028
- msgstr "Vous n'avez aucun fournisseur d'expédition% s."
1029
-
1030
- #: includes/views/admin_options_shipping_provider.php:101
1031
  msgid "Add Custom Shipping Provider"
1032
  msgstr "Ajouter un expéditeur personnalisé"
1033
 
1034
- #: includes/views/admin_options_shipping_provider.php:108
1035
- #: includes/views/admin_options_shipping_provider.php:142
1036
  msgid "Shipping Country"
1037
  msgstr ""
 
1038
 
1039
- #: includes/views/admin_options_shipping_provider.php:109
1040
- #: includes/views/admin_options_shipping_provider.php:143
1041
  msgid "Global"
 
 
 
 
 
1042
  msgstr ""
 
1043
 
1044
- #: includes/views/admin_options_shipping_provider.php:135
1045
  msgid "Edit Custom Shipping Provider"
1046
  msgstr "Modifier le fournisseur d'expédition personnalisé"
1047
 
1048
- #: includes/views/admin_options_shipping_provider.php:171
1049
  msgid ""
1050
  "Syncing the shipping providers list add or updates the pre-set shipping "
1051
  "providers and will not effect custom shipping providers."
1052
  msgstr ""
 
 
 
1053
 
1054
- #: includes/views/admin_options_shipping_provider.php:173
1055
  msgid "Providers Added"
1056
  msgstr "Fournisseurs ajoutés"
1057
 
1058
- #: includes/views/admin_options_shipping_provider.php:174
1059
  msgid "Providers Updated"
1060
  msgstr "Fournisseurs mis à jour"
1061
 
1062
- #: includes/views/admin_options_shipping_provider.php:175
1063
  msgid "Providers Deleted"
1064
  msgstr "Fournisseurs supprimés"
1065
 
1066
- #: includes/views/admin_options_trackship_integration.php:107
 
1067
  msgid "Tracking Page"
1068
  msgstr "Page de suivi"
1069
 
1070
- #: includes/views/admin_options_trackship_integration.php:117
1071
- msgid "Click to preview the tracking page"
1072
- msgstr "Cliquez pour prévisualiser la page de suivi"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1073
 
1074
- #: includes/views/admin_options_trackship_integration.php:118
1075
- msgid "PLEASE NOTE - make sure to save your settings before preview."
1076
  msgstr ""
1077
- "VEUILLEZ NOTER - assurez-vous d’enregistrer vos paramètres avant la "
1078
- "prévisualisation."
1079
 
1080
- #: includes/views/admin_options_trackship_integration.php:137
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1081
  msgid "Shipment Status Notifications "
1082
  msgstr "Notifications sur l'état de l'envoi"
1083
 
1084
- #: includes/views/admin_options_trackship_integration.php:163
1085
  msgid ""
1086
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1087
  "the way."
@@ -1089,23 +1741,23 @@ msgstr ""
1089
  "Le transporteur a accepté ou ramassé l'envoi de l'expéditeur. L'envoi est en "
1090
  "route."
1091
 
1092
- #: includes/views/admin_options_trackship_integration.php:177
1093
  msgid "Shipment is returned to sender"
1094
  msgstr "L'envoi est renvoyé à l'expéditeur"
1095
 
1096
- #: includes/views/admin_options_trackship_integration.php:191
1097
  msgid "The shipment is ready to pickup."
1098
  msgstr "L'envoi est prêt à être ramassé."
1099
 
1100
- #: includes/views/admin_options_trackship_integration.php:204
1101
  msgid "Carrier is about to deliver the shipment"
1102
  msgstr "Carrier is about to deliver the shipment"
1103
 
1104
- #: includes/views/admin_options_trackship_integration.php:218
1105
  msgid "The shipment was delivered successfully"
1106
  msgstr "L'envoi a été livré avec succès"
1107
 
1108
- #: includes/views/admin_options_trackship_integration.php:219
1109
  msgid ""
1110
  "You already have delivered email enabled, to enable this email you'll need "
1111
  "to disable the order status delivered in settings."
@@ -1113,7 +1765,7 @@ msgstr ""
1113
  "Vous avez déjà activé le courrier électronique activé. Pour l'activer, vous "
1114
  "devez désactiver le statut de la commande envoyée dans les paramètres."
1115
 
1116
- #: includes/views/admin_options_trackship_integration.php:233
1117
  msgid ""
1118
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1119
  "will try to deliver the package again."
@@ -1121,15 +1773,11 @@ msgstr ""
1121
  "Le transporteur a tenté de livrer mais a échoué. Il laisse généralement un "
1122
  "avis et essaiera de livrer à nouveau le colis."
1123
 
1124
- #: includes/views/admin_options_tools.php:14
1125
- msgid "Get Shipment Status"
1126
- msgstr ""
1127
-
1128
- #: includes/views/admin_options_tools.php:23
1129
- msgid ""
1130
- "You can send all your orders from the last 30 days to get shipment status "
1131
- "from TrackShip:"
1132
  msgstr ""
 
1133
 
1134
  #. %s: Order ID.
1135
  #: templates/emails/wcast-email-order-details.php:47
@@ -1137,9 +1785,25 @@ msgstr ""
1137
  msgid "Order number: %s"
1138
  msgstr "Numéro de commande:% s"
1139
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1140
  #. Name of the plugin
1141
  msgid "Advanced Shipment Tracking for WooCommerce"
1142
  msgstr ""
 
1143
 
1144
  #. Description of the plugin
1145
  msgid ""
@@ -1148,7 +1812,8 @@ msgid ""
1148
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1149
  "order complete email."
1150
  msgstr ""
1151
-
1152
- #. Author of the plugin
1153
- msgid "zorem"
1154
- msgstr ""
 
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:09+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\n"
8
  "Language-Team: French (France)\n"
9
  "Language: fr_FR\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.2"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
23
  "Veuillez installer et activer %sWooCommerce%s pour Suivi Avancé des "
24
  "Commandes pour WooCommerce !"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:254
27
  #, php-format
28
  msgid "Your order was shipped with %s and your tracking code is: %s"
29
  msgstr ""
30
+ "Votre commande a été expédiée avec% s et votre code de suivi est:% s\n"
31
 
32
+ #: woocommerce-advanced-shipment-tracking.php:465
33
+ #: includes/views/admin_options_settings.php:190
34
  #, php-format
35
  msgid ""
36
+ "<strong>Note:</strong> - If you use the custom order status, when you "
37
+ "deactivate the plugin, you must register the order status, otherwise these "
38
+ "orders will not display on your orders admin. You can find more information "
39
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
40
+ "php here."
 
41
  msgstr ""
42
+ "Remarque: - Si vous utilisez le statut de commande personnalisé, lorsque "
43
+ "vous désactivez le plugin, vous devez enregistrer le statut de la commande, "
44
+ "sinon ces commandes ne s'afficheront pas sur votre administrateur de "
45
+ "commandes. Vous pouvez trouver plus d'informations et l'extrait de code à "
46
+ "utiliser dans functions.php ici.\n"
47
 
48
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
49
+ msgid "Shipment status"
50
+ msgstr ""
51
+ "Expédition statut\n"
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
+ "Obtenir l'état d'expédition est limité à 100 commandes à la fois, veuillez "
60
+ "sélectionner jusqu'à 100 commandes.\n"
61
+
62
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
63
+ #: includes/class-wc-advanced-shipment-welcome.php:343
64
+ msgid "Data saved successfully."
65
+ msgstr "Données sauvegardées avec succès."
66
+
67
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
68
+ #: includes/class-wc-advanced-shipment-welcome.php:344
69
+ msgid "Really delete this entry? This will not be undo."
70
+ msgstr "Vraiment supprimer cette entrée? Ce ne sera pas défait."
71
+
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
73
+ #: includes/class-wc-advanced-shipment-welcome.php:345
74
+ msgid "You can upload only csv file."
75
+ msgstr "Vous ne pouvez télécharger que des fichiers csv."
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
78
+ #: includes/class-wc-advanced-shipment-welcome.php:346
79
+ msgid "This browser does not support HTML5."
80
+ msgstr "Ce navigateur ne supporte pas HTML5."
81
+
82
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
83
+ #: includes/class-wc-advanced-shipment-welcome.php:347
84
+ msgid "Please upload a valid CSV file."
85
+ msgstr "Veuillez télécharger un fichier CSV valide."
86
+
87
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
88
+ msgid "Shipping Providers"
89
+ msgstr ""
90
+ "Fournisseurs d'expédition\n"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
93
+ msgid "Bulk Upload"
94
+ msgstr ""
95
+ "Transfert groupé\n"
96
+
97
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
98
+ msgid "Add-ons"
99
+ msgstr ""
100
+ "Modules complémentaires\n"
101
+
102
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
103
+ #: includes/class-wc-advanced-shipment-welcome.php:222
104
+ #: includes/views/admin_options_bulk_upload.php:63
105
+ #: includes/views/admin_trackship_dashboard.php:51
106
+ msgid "Documentation"
107
+ msgstr "Documentation"
108
+
109
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
110
+ msgid "How to Video"
111
+ msgstr ""
112
+ "Vidéo\n"
113
+
114
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
115
+ msgid "Custom Statuses"
116
+ msgstr ""
117
+ "Statuts personnalisés\n"
118
+
119
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
120
+ #: includes/class-wc-advanced-shipment-welcome.php:188
121
+ #: includes/views/zorem_admin_sidebar.php:29
122
+ #: includes/views/admin_options_addons.php:46
123
+ #: includes/views/admin_trackship_dashboard.php:17
124
+ msgid "Connected"
125
+ msgstr ""
126
+ "Connecté\n"
127
+
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
129
+ #, php-format
130
+ msgid "%s %s orders with tracking info"
131
+ msgstr ""
132
+ "% s% s commandes avec informations de suivi\n"
133
+
134
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
136
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
137
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
138
+ #: includes/views/admin_options_tools.php:14
139
+ msgid "Get Shipment Status"
140
+ msgstr ""
141
+ "Obtenir le statut de l'envoi\n"
142
+
143
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
144
+ #, php-format
145
+ msgid "%s %s orders with “TrackShip balance is 0”"
146
+ msgstr ""
147
+ "% s% s commandes avec \"le solde TrackShip est 0\"\n"
148
+
149
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
150
+ #, php-format
151
+ msgid "%s %s orders with “Please do connection”"
152
+ msgstr ""
153
+ "% s% s commandes avec \"Veuillez faire la connexion\"\n"
154
+
155
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
156
+ msgid "Enable/Disable"
157
+ msgstr ""
158
+ "Activer désactiver\n"
159
+
160
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
161
+ msgid "Set order status Delivered when order is delivered"
162
+ msgstr ""
163
+ "Définir le statut de la commande Livré à la livraison de la commande\n"
164
+
165
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
166
+ msgid ""
167
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
168
+ "for the tracking page to work."
169
+ msgstr ""
170
+ "Vous devez ajouter le shortcode [wcast-track-order] à la page sélectionnée "
171
+ "pour que la page de suivi fonctionne."
172
+
173
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
174
+ #: includes/views/admin_tracking_page_settings.php:24
175
+ msgid "Select Tracking Page"
176
+ msgstr ""
177
+ "Sélectionner la page de suivi\n"
178
+
179
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
180
+ msgid "Use the tracking page in the customer email/my account tracking link"
181
+ msgstr ""
182
+ "Utilisez la page de suivi dans l'e-mail client / lien de suivi de mon "
183
+ "compte\n"
184
+
185
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
186
+ #: includes/views/admin_tracking_page_settings.php:49
187
+ msgid "Tracking Page Layout"
188
+ msgstr ""
189
+ "Présentation de la page de suivi\n"
190
+
191
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
192
+ msgid "Select primary color for tracking page"
193
+ msgstr ""
194
+ "Sélectionnez la couleur principale pour la page de suivi\n"
195
+
196
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
197
+ msgid "Select content border color for tracking page"
198
+ msgstr ""
199
+ "Sélectionnez la couleur de la bordure du contenu pour la page de suivi\n"
200
+
201
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
202
+ #: includes/views/admin_tracking_page_settings.php:83
203
+ msgid "Hide Shipping Provider Image"
204
+ msgstr ""
205
+ "Masquer l'image du fournisseur d'expédition\n"
206
+
207
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
208
+ msgid "Hide tracking events details"
209
+ msgstr ""
210
+ "Masquer les détails des événements de suivi\n"
211
+
212
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
213
+ #: includes/views/admin_tracking_page_settings.php:93
214
+ msgid "Remove TrackShip branding"
215
+ msgstr ""
216
+ "Supprimer la marque TrackShip\n"
217
+
218
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
219
+ msgid "License Key"
220
+ msgstr ""
221
+ "Clé de licence\n"
222
+
223
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
224
+ msgid "a Valid license is required to receive updates and support"
225
+ msgstr ""
226
+ "une licence valide est requise pour recevoir les mises à jour et l'assistance"
227
+
228
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
229
+ msgid "\">click here</a> to activate it."
230
+ msgstr ""
231
+ "\"> cliquez ici pour l'activer.\n"
232
+
233
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
234
+ #: includes/class-wc-advanced-shipment-tracking.php:185
235
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
236
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
237
+ msgid "Shipped"
238
+ msgstr "Expédié"
239
+
240
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
241
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
242
+ msgstr ""
243
+ "\"Marquer comme expédié\" par défaut\n"
244
+
245
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
246
+ msgid ""
247
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
248
+ "will be selected by default when adding tracking info to orders."
249
+ msgstr ""
250
+ "Cela signifie que la «marque comme expédiée» sera sélectionnée par défaut "
251
+ "lors de l'ajout d'informations de suivi aux commandes.\n"
252
+
253
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
254
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
255
+ msgstr ""
256
+ "\"Marquer comme terminé\" par défaut\n"
257
+
258
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
259
+ msgid ""
260
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
261
+ "will be selected by default when adding tracking info to orders."
262
+ msgstr ""
263
+ "Cela signifie que la «marque comme terminée» sera sélectionnée par défaut "
264
+ "lors de l'ajout d'informations de suivi aux commandes.\n"
265
+
266
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
267
+ msgid "Rename the “Completed” Order status to “Shipped”"
268
+ msgstr ""
269
+ "Renommez le statut de la commande «Terminé» en «Expédié»\n"
270
+
271
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
272
+ msgid "On which order status email to include the shipment tracking info?"
273
+ msgstr ""
274
+ "Sur quel e-mail de statut de commande pour inclure les informations de suivi "
275
+ "de l'envoi?\n"
276
+
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
278
+ msgid "Show tracking info in Invoice"
279
+ msgstr ""
280
+ "Afficher les informations de suivi dans la facture\n"
281
+
282
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
283
+ msgid "Show tracking info in Packing Slip"
284
+ msgstr ""
285
+ "Afficher les informations de suivi dans le bordereau d'expédition\n"
286
+
287
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
288
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
289
+ #: includes/customizer/class-wcast-customizer.php:92
290
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
291
+ #: includes/views/admin_status_notifications.php:25
292
+ msgid "In Transit"
293
+ msgstr ""
294
+ "En transit\n"
295
+
296
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
297
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
298
+ #: includes/customizer/class-wcast-customizer.php:84
299
+ msgid "Pre Transit"
300
+ msgstr "Pré Transit"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
304
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
305
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
306
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
307
+ #: includes/customizer/class-wcast-customizer.php:122
308
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
309
+ #: includes/views/admin_options_settings.php:80
310
+ #: includes/views/admin_status_notifications.php:80
311
+ msgid "Delivered"
312
+ msgstr "Livré"
313
+
314
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
315
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
316
+ #: includes/customizer/class-wcast-customizer.php:114
317
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
318
+ #: includes/views/admin_status_notifications.php:66
319
+ msgid "Out For Delivery"
320
+ msgstr ""
321
+ "En cours de livraison\n"
322
+
323
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
324
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
325
+ #: includes/customizer/class-wcast-customizer.php:107
326
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
327
+ #: includes/views/admin_status_notifications.php:53
328
+ msgid "Available For Pickup"
329
+ msgstr "Disponible pour ramassage"
330
+
331
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
332
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
333
+ #: includes/customizer/class-wcast-customizer.php:100
334
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
335
+ #: includes/views/admin_status_notifications.php:39
336
+ msgid "Return To Sender"
337
+ msgstr "Retourner à l'expéditeur"
338
+
339
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
341
+ #: includes/customizer/class-wcast-customizer.php:130
342
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
343
+ #: includes/views/admin_status_notifications.php:95
344
+ msgid "Failed Attempt"
345
+ msgstr "Failed Attempt"
346
+
347
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
348
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
349
+ msgid "Unknown"
350
+ msgstr "Inconnue"
351
+
352
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
353
+ msgid "Pending TrackShip"
354
+ msgstr ""
355
+ "TrackShip en attente\n"
356
+
357
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
358
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
359
+ msgid "Invalid Tracking Number"
360
+ msgstr ""
361
+ "Numéro de suivi non valide\n"
362
+
363
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
364
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
365
+ msgid "Carrier Unsupported"
366
+ msgstr ""
367
+ "Transporteur non pris en charge\n"
368
+
369
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
370
+ msgid "Invalid User Key"
371
+ msgstr ""
372
+ "Clé utilisateur non valide\n"
373
+
374
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
375
+ msgid "Wrong Shipping Provider"
376
+ msgstr ""
377
+ "Mauvais fournisseur d'expédition\n"
378
+
379
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
380
+ msgid "Shipped Order"
381
+ msgstr ""
382
+ "Commande expédiée\n"
383
+
384
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
385
+ msgid "Mark order as delivered"
386
+ msgstr ""
387
+ "Marquer la commande comme livrée\n"
388
+
389
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
390
+ msgid "Add Tracking"
391
+ msgstr ""
392
+ "Ajouter un suivi\n"
393
+
394
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
395
+ msgid "Change order status to"
396
+ msgstr ""
397
+ "Changer le statut de la commande en\n"
398
+
399
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
400
+ #: includes/views/admin_options_shipping_provider.php:96
401
+ #, php-format
402
+ msgid "You don't have any %s shipping providers."
403
+ msgstr "Vous n'avez aucun fournisseur d'expédition% s."
404
+
405
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
406
+ #: includes/views/admin_options_shipping_provider.php:27
407
+ msgid "Add Custom Provider"
408
+ msgstr ""
409
+ "Ajouter un fournisseur personnalisé\n"
410
+
411
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
412
+ msgid "Filter by shipment status"
413
+ msgstr ""
414
+ "Filtrer par statut d'expédition\n"
415
+
416
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
417
  msgid ""
418
  "To track your order please enter your Order ID in the box below and press "
419
  "the \"Track\" button. This was given to you on your receipt and in the "
423
  "dessous et appuyez sur le bouton \"Suivre\". Cela vous a été remis sur votre "
424
  "reçu et dans l'e-mail de confirmation que vous auriez dû recevoir."
425
 
426
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
427
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
428
  msgid "Found in your order confirmation email."
429
  msgstr "Trouvé dans l'e-mail de confirmation de votre commande."
430
 
431
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
432
  msgid "Order Email"
433
  msgstr "Email de commande"
434
 
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
436
+ #: includes/class-wc-advanced-shipment-tracking.php:728
437
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
438
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
439
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
440
+ #: templates/emails/tracking-info.php:256
441
+ #: templates/myaccount/tracking-info.php:191
442
  msgid "Track"
443
  msgstr "Suivi"
444
 
445
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
449
  #, php-format
450
  msgid "Shipment - %s (out of %s)"
451
  msgstr "Envoi -% s (sur% s)"
452
 
453
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
454
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
455
+ msgid "Tracking details not found in TrackShip"
456
+ msgstr ""
457
+ "Détails de suivi introuvables dans TrackShip\n"
458
+
459
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
460
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
461
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
462
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
465
+ msgid "Est. Delivery Date"
466
+ msgstr ""
467
+ "Est. Date de livraison\n"
468
 
469
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
470
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
471
  msgid "Tracking Details"
472
  msgstr "Détails de suivi"
473
 
474
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
475
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
476
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
477
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
478
  msgid "view more"
479
  msgstr "Afficher plus"
480
 
481
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
482
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
483
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
484
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
485
  msgid "view less"
486
  msgstr "voir moins"
487
 
 
 
 
 
 
 
 
 
 
488
  #: includes/class-wc-advanced-shipment-tracking.php:95
489
+ #: includes/class-wc-advanced-shipment-tracking.php:265
490
  #: includes/customizer/class-wcast-customizer.php:31
491
  msgid "Shipment Tracking"
492
  msgstr "Suivi de l'expédition"
493
 
494
  #: includes/class-wc-advanced-shipment-tracking.php:184
495
+ #: includes/class-wc-advanced-shipment-tracking.php:387
496
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
497
  msgid "Mark as Shipped?"
498
  msgstr ""
499
+ "Marquer comme expédié?\n"
 
 
 
500
 
501
  #: includes/class-wc-advanced-shipment-tracking.php:187
502
+ #: includes/class-wc-advanced-shipment-tracking.php:390
503
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
504
  msgid "Mark as Completed?"
505
  msgstr ""
506
+ "Marquer comme terminé?\n"
507
 
508
  #: includes/class-wc-advanced-shipment-tracking.php:188
509
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
510
  msgid "Completed"
511
+ msgstr "Terminé"
512
 
513
  #: includes/class-wc-advanced-shipment-tracking.php:195
514
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
515
  msgid "Add Tracking Number"
516
  msgstr ""
517
+ "Ajouter un numéro de suivi\n"
518
 
519
+ #: includes/class-wc-advanced-shipment-tracking.php:198
520
+ #: includes/class-wc-advanced-shipment-tracking.php:203
521
+ #: includes/class-wc-advanced-shipment-tracking.php:408
522
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
523
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
524
  msgid "Provider:"
525
  msgstr "Expéditeur :"
526
 
527
+ #: includes/class-wc-advanced-shipment-tracking.php:223
528
+ #: includes/class-wc-advanced-shipment-tracking.php:446
529
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
530
  msgid "Tracking number:"
531
  msgstr "Numéro de suivi :"
532
 
533
+ #: includes/class-wc-advanced-shipment-tracking.php:227
534
+ #: includes/class-wc-advanced-shipment-tracking.php:454
535
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
536
  msgid "Date shipped:"
537
  msgstr "Date d'expédition :"
538
 
539
+ #: includes/class-wc-advanced-shipment-tracking.php:236
540
+ #: includes/class-wc-advanced-shipment-tracking.php:466
541
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
542
+ msgid "Mark order as:"
543
  msgstr ""
544
+ "Marquer la commande comme:\n"
545
 
546
+ #: includes/class-wc-advanced-shipment-tracking.php:239
547
+ #: includes/class-wc-advanced-shipment-tracking.php:469
548
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
 
 
 
 
549
  msgid "Partial Shipped"
550
  msgstr ""
551
+ "Expédition partielle\n"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking.php:281
554
+ #: includes/class-wc-advanced-shipment-tracking.php:483
555
+ msgid "Track Shipment"
556
+ msgstr ""
557
+ "Suivi de livraison\n"
558
 
559
  #. 1: shipping date
560
+ #: includes/class-wc-advanced-shipment-tracking.php:290
561
  #, php-format
562
  msgid "Shipped on %s"
563
  msgstr "Expédié le %s"
564
 
565
+ #: includes/class-wc-advanced-shipment-tracking.php:404
566
  msgid "Add Tracking Info"
567
  msgstr "Ajouter des informations de suivi"
568
 
569
+ #: includes/class-wc-advanced-shipment-tracking.php:409
570
  msgid "Select Provider"
571
  msgstr "Sélectionner un expéditeur"
572
 
573
+ #: includes/class-wc-advanced-shipment-tracking.php:482
574
  msgid "Save Tracking"
575
  msgstr "Enregistrer le suivi"
576
 
577
+ #: includes/class-wc-advanced-shipment-tracking.php:483
578
  msgid "Preview:"
579
  msgstr "Aperçu :"
580
 
581
+ #: includes/class-wc-advanced-shipment-tracking.php:702
582
  #, php-format
583
  msgid ""
584
  "Tracking info was deleted for tracking provider %s with tracking number %s"
585
  msgstr ""
586
+ "Les informations de suivi ont été supprimées pour le fournisseur de suivi% s "
587
+ "avec le numéro de suivi% s\n"
588
 
589
+ #: includes/class-wc-advanced-shipment-tracking.php:1092
590
  #, php-format
591
  msgid "Order was shipped with %s and tracking number is: %s"
592
  msgstr ""
593
+ "La commande a été expédiée avec% s et le numéro de suivi est:% s\n"
594
 
595
  #: includes/class-wc-advanced-shipment-welcome.php:38
596
  #: includes/class-wc-advanced-shipment-welcome.php:39
597
  msgid "Welcome to Advanced Shipment Tracking"
598
  msgstr ""
599
+ "Bienvenue dans le suivi avancé des expéditions\n"
600
 
601
  #: includes/class-wc-advanced-shipment-welcome.php:90
602
  #: includes/class-wc-advanced-shipment-welcome.php:129
603
  #: includes/class-wc-advanced-shipment-welcome.php:147
604
  msgid "Save and Continue"
605
  msgstr ""
606
+ "Sauvegarder et continuer\n"
607
 
608
  #: includes/class-wc-advanced-shipment-welcome.php:177
609
+ #: includes/views/admin_trackship_dashboard.php:6
610
  msgid "Connection status"
611
  msgstr ""
612
+ "Statut de connexion\n"
613
 
614
  #: includes/class-wc-advanced-shipment-welcome.php:184
615
+ #: includes/views/admin_trackship_dashboard.php:13
616
  msgid "TrackShip Connection Status"
617
  msgstr "État de la connexion TrackShip"
618
 
 
 
 
 
 
 
619
  #: includes/class-wc-advanced-shipment-welcome.php:194
620
+ #: includes/views/admin_trackship_dashboard.php:23
621
  msgid "Trackers Balance"
622
  msgstr ""
623
+ "Balance des trackers\n"
624
 
625
  #: includes/class-wc-advanced-shipment-welcome.php:202
626
+ #: includes/views/admin_trackship_dashboard.php:31
627
  msgid "Current Plan"
628
  msgstr ""
629
+ "Plan actuel\n"
630
 
631
  #: includes/class-wc-advanced-shipment-welcome.php:217
632
+ #: includes/views/admin_options_addons.php:33
633
+ #: includes/views/admin_trackship_dashboard.php:46
634
  msgid ""
635
  "You are now connected with TrackShip! TrackShip makes it effortless to "
636
  "automate your post shipping operations and get tracking and delivery status "
637
  "updates directly in the WooCommerce admin."
638
  msgstr ""
639
+ "Vous êtes maintenant connecté à TrackShip! TrackShip permet d'automatiser "
640
+ "vos opérations post-expédition et d'obtenir des mises à jour du statut de "
641
+ "suivi et de livraison directement dans l'administrateur WooCommerce.\n"
 
 
 
 
642
 
643
  #: includes/class-wc-advanced-shipment-welcome.php:223
644
+ #: includes/views/admin_trackship_dashboard.php:52
645
  msgid "TrackShip Dashboard"
646
  msgstr ""
647
+ "Tableau de bord TrackShip\n"
648
 
649
  #: includes/class-wc-advanced-shipment-welcome.php:253
650
  msgid "Save"
651
+ msgstr "sauvegarder"
652
+
653
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:142
654
+ #, php-format
655
+ msgid "Delivered <span class=\"count\">(%s)</span>"
656
+ msgid_plural "Delivered <span class=\"count\">(%s)</span>"
657
+ msgstr[0] ""
658
+ "Livré <span class=\"count\">(%s)</span>\n"
659
+ msgstr[1] ""
660
+ "Livré <span class=\"count\">(%s)</span>\n"
661
+
662
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:151
663
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:197
664
+ #: includes/views/admin_options_settings.php:149
665
+ msgid "Updated Tracking"
666
  msgstr ""
667
+ "Suivi mis à jour\n"
668
 
669
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:156
670
+ #, php-format
671
+ msgid "Updated Tracking <span class=\"count\">(%s)</span>"
672
+ msgid_plural "Updated Tracking <span class=\"count\">(%s)</span>"
673
+ msgstr[0] ""
674
+ "Suivi mis à jour <span class=\"count\">(%s)</span>\n"
675
+ msgstr[1] ""
676
+ "Suivi mis à jour <span class=\"count\">(%s)</span>\n"
677
+
678
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:165
679
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:211
680
+ #: includes/views/admin_options_settings.php:115
681
+ msgid "Partially Shipped"
682
  msgstr ""
683
+ "Partiellement expédié\n"
684
 
685
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:170
686
+ #, php-format
687
+ msgid "Partially Shipped <span class=\"count\">(%s)</span>"
688
+ msgid_plural "Partially Shipped <span class=\"count\">(%s)</span>"
689
+ msgstr[0] ""
690
+ "Expédié partiellement <span class=\"count\">(%s)</span>\n"
691
+ msgstr[1] ""
692
+ "Expédié partiellement <span class=\"count\">(%s)</span>\n"
693
 
694
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:270
695
+ msgid "Change status to delivered"
696
+ msgstr ""
697
+ "Changer le statut en livraison\n"
698
 
699
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:279
700
+ msgid "Change status to Updated Tracking"
701
+ msgstr ""
702
+ "Changer le statut en Suivi mis à jour\n"
703
 
704
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:288
705
+ msgid "Change status to Partially Shipped"
706
+ msgstr ""
707
+ "Changer le statut en expédié partiellement\n"
708
 
709
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:320
710
+ #, php-format
711
+ msgid "Shipped <span class=\"count\">(%s)</span>"
712
+ msgid_plural "Shipped <span class=\"count\">(%s)</span>"
713
+ msgstr[0] ""
714
+ "Expédié <span class=\"count\">(%s)</span>\n"
715
+ msgstr[1] ""
716
+ "Expédié <span class=\"count\">(%s)</span>\n"
717
+
718
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:334
719
+ msgid "Change status to shipped"
720
+ msgstr ""
721
+ "Changer le statut en expédié\n"
722
+
723
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:518
724
+ msgid "Resend delivered order notification"
725
+ msgstr ""
726
+ "Renvoyer la notification de commande livrée\n"
727
+
728
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:730
729
+ msgid "Shipment Providers"
730
+ msgstr ""
731
+ "Fournisseurs d'expédition\n"
732
+
733
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:733
734
+ msgid "Shipment Status"
735
+ msgstr ""
736
+ "Expédition statut\n"
737
+
738
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:736
739
+ msgid "Tracking issues"
740
+ msgstr ""
741
+ "Problèmes de suivi\n"
742
+
743
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:742
744
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:750
745
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:767
746
+ msgid "data not available."
747
+ msgstr ""
748
+ "Données non disponibles.\n"
749
+
750
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:773
751
+ msgid "View more on TrackShip"
752
+ msgstr ""
753
+ "En savoir plus sur TrackShip\n"
754
+
755
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:911
756
+ msgid "There are some issue with sync, Please Retry."
757
+ msgstr ""
758
+ "Il y a un problème de synchronisation, veuillez réessayer.\n"
759
+
760
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:926
761
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:941
762
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:956
763
+ msgid "view details"
764
+ msgstr ""
765
+ "voir les détails\n"
766
+
767
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:927
768
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:942
769
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:957
770
+ msgid "hide details"
771
+ msgstr ""
772
+ "cacher les détails\n"
773
 
774
  #: includes/customizer/class-wcast-customizer.php:40
775
  msgid "Shipment Status Emails"
787
 
788
  #: includes/customizer/class-wcast-customizer.php:68
789
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:143
790
+ msgid "Partially Shipped status email"
791
  msgstr ""
792
+ "E-mail d'état partiellement expédié\n"
793
 
794
  #: includes/customizer/class-wcast-customizer.php:76
795
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:143
796
+ msgid "Updated Tracking status email"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
797
  msgstr ""
798
+ "Courriel de statut de suivi mis à jour\n"
799
 
800
+ #: includes/customizer/class-wcast-customizer.php:411
 
 
 
 
 
 
 
 
 
 
 
 
801
  msgid "Select order to preview"
802
  msgstr ""
803
  "Sélectionnez l'ordre de prévisualisation\n"
828
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:159
829
  #: includes/customizer/class-wc-returntosender-email-customizer.php:157
830
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:144
831
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:144
832
  msgid "This section lets you customize the Email Content."
833
  msgstr ""
834
  "Cette section vous permet de personnaliser le contenu du courrier "
845
  #: includes/customizer/class-wc-intransit-email-customizer.php:191
846
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:189
847
  #: includes/customizer/class-wc-returntosender-email-customizer.php:187
848
+ #: includes/customizer/class-wc-tracking-info-customizer.php:183
849
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:177
850
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:177
851
  msgid "Preview order"
852
  msgstr ""
853
  "Commande d'aperçu\n"
862
  msgid "E.g. {customer.email}, admin@example.org"
863
  msgstr "Ex. {client.email}, admin@exemple.org"
864
 
865
+ #. %s: list of placeholders
866
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:231
867
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:253
868
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:381
869
  #: includes/customizer/class-wc-delivered-email-customizer.php:232
870
  #: includes/customizer/class-wc-delivered-email-customizer.php:254
871
+ #: includes/customizer/class-wc-delivered-email-customizer.php:383
872
+ #: includes/customizer/class-wc-email-customizer.php:243
873
+ #: includes/customizer/class-wc-email-customizer.php:266
874
+ #: includes/customizer/class-wc-email-customizer.php:289
875
+ #: includes/customizer/class-wc-email-customizer.php:414
876
  #: includes/customizer/class-wc-failure-email-customizer.php:231
877
  #: includes/customizer/class-wc-failure-email-customizer.php:253
878
+ #: includes/customizer/class-wc-failure-email-customizer.php:382
879
  #: includes/customizer/class-wc-intransit-email-customizer.php:235
880
  #: includes/customizer/class-wc-intransit-email-customizer.php:257
881
+ #: includes/customizer/class-wc-intransit-email-customizer.php:386
882
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:233
883
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:255
884
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:384
885
  #: includes/customizer/class-wc-returntosender-email-customizer.php:231
886
  #: includes/customizer/class-wc-returntosender-email-customizer.php:253
887
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:382
888
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:200
889
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:223
890
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:246
891
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:265
892
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:200
893
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:223
894
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:246
895
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:265
896
+ #: includes/emails/class-shipment-delivered-email.php:256
897
+ #: includes/emails/class-shipment-delivered-email.php:265
898
+ msgid "Available variables:"
899
+ msgstr "Variables disponibles:"
 
 
 
 
 
 
 
 
 
 
 
900
 
901
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:274
902
  #: includes/customizer/class-wc-delivered-email-customizer.php:275
936
 
937
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:339
938
  #: includes/customizer/class-wc-delivered-email-customizer.php:340
939
+ #: includes/customizer/class-wc-email-customizer.php:393
940
  #: includes/customizer/class-wc-failure-email-customizer.php:339
941
+ #: includes/customizer/class-wc-intransit-email-customizer.php:364
942
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:341
943
  #: includes/customizer/class-wc-returntosender-email-customizer.php:339
944
  msgid "Google Analytics link tracking"
945
  msgstr ""
946
+ "Suivi des liens Google Analytics\n"
947
 
948
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:340
949
  #: includes/customizer/class-wc-delivered-email-customizer.php:341
950
  #: includes/customizer/class-wc-failure-email-customizer.php:340
951
+ #: includes/customizer/class-wc-intransit-email-customizer.php:365
952
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:342
953
  #: includes/customizer/class-wc-returntosender-email-customizer.php:340
954
  msgid "This will be appended to URL in the email content"
955
  msgstr ""
956
+ "Ce sera ajouté à l'URL dans le contenu de l'e-mail\n"
957
 
958
  #: includes/customizer/class-wc-availableforpickup-email-customizer.php:361
959
  #: includes/customizer/class-wc-delivered-email-customizer.php:362
963
  #: includes/customizer/class-wc-outfordelivery-email-customizer.php:363
964
  #: includes/customizer/class-wc-returntosender-email-customizer.php:361
965
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:245
966
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:245
967
  msgid "Email content"
968
  msgstr "Contenu de l'e-mail"
969
 
970
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:438
971
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:445
972
+ #: includes/customizer/class-wc-delivered-email-customizer.php:440
973
+ #: includes/customizer/class-wc-delivered-email-customizer.php:447
974
+ #: includes/customizer/class-wc-email-customizer.php:447
975
+ #: includes/customizer/class-wc-failure-email-customizer.php:439
976
+ #: includes/customizer/class-wc-failure-email-customizer.php:447
977
+ #: includes/customizer/class-wc-intransit-email-customizer.php:442
978
+ #: includes/customizer/class-wc-intransit-email-customizer.php:450
979
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:440
980
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:448
981
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:438
982
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:446
983
+ #: includes/customizer/class-wc-partial-shipped-email-customizer.php:298
984
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:298
 
 
 
 
 
985
  msgid "Please select order to preview."
986
  msgstr ""
987
+ "Veuillez sélectionner l'ordre à prévisualiser.\n"
988
 
989
  #: includes/customizer/class-wc-delivered-email-customizer.php:124
990
  msgid "Your order #{order_number} has been delivered"
991
  msgstr ""
992
+ "Votre commande # {order_number} a été livrée\n"
993
 
994
  #: includes/customizer/class-wc-delivered-email-customizer.php:126
995
  #: includes/customizer/class-wc-email-customizer.php:132
1019
  msgstr "Activer le courrier électronique sur l'état de la commande livrée"
1020
 
1021
  #: includes/customizer/class-wc-email-customizer.php:201
1022
+ #: includes/customizer/class-wc-tracking-info-customizer.php:187
1023
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:181
1024
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:181
1025
  msgid "Please select a order..."
1026
  msgstr "Veuillez sélectionner une commande ..."
1027
 
1028
+ #: includes/customizer/class-wc-email-customizer.php:309
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1029
  msgid "Display tracking details"
1030
  msgstr ""
1031
+ "Afficher les détails du suivi\n"
1032
 
1033
+ #: includes/customizer/class-wc-email-customizer.php:325
1034
  msgid "Display order details"
1035
  msgstr ""
1036
+ "Afficher les détails de la commande\n"
1037
 
1038
+ #: includes/customizer/class-wc-email-customizer.php:342
1039
  msgid "Display Shipping Address"
1040
  msgstr ""
1041
+ "Afficher l'adresse d'expédition\n"
1042
 
1043
+ #: includes/customizer/class-wc-email-customizer.php:359
1044
  msgid "Display Billing Address"
1045
  msgstr ""
1046
+ "Afficher l'adresse de facturation\n"
1047
 
1048
+ #: includes/customizer/class-wc-email-customizer.php:376
1049
  msgid "Enable Google Analytics tracking"
1050
  msgstr ""
1051
+ "Activer le suivi Google Analytics\n"
1052
 
1053
+ #: includes/customizer/class-wc-email-customizer.php:394
1054
  msgid ""
1055
  "This will be appended to URL in the email content – e.g. "
1056
  "utm_source=ast&utm_medium=email&utm_campaign=delivered"
1057
  msgstr ""
1058
+ "Cela sera ajouté à l'URL dans le contenu de l'e-mail - par exemple "
1059
+ "utm_source = ast & utm_medium = email & utm_campaign = remis\n"
1060
 
1061
  #: includes/customizer/class-wc-failure-email-customizer.php:123
1062
  msgid "Your order #{order_number} is Failed Attempt"
1145
  msgstr "Activer l'email de retour de l'expéditeur"
1146
 
1147
  #: includes/customizer/class-wc-tracking-info-customizer.php:144
1148
+ #: includes/customizer/class-wc-tracking-info-customizer.php:496
1149
+ #: templates/emails/tracking-info.php:203
1150
+ #: templates/myaccount/tracking-info.php:144
1151
  msgid "Provider"
1152
  msgstr "Fournisseur"
1153
 
1154
  #: includes/customizer/class-wc-tracking-info-customizer.php:145
1155
+ #: includes/customizer/class-wc-tracking-info-customizer.php:518
1156
+ #: templates/emails/tracking-info.php:232
1157
+ #: templates/myaccount/tracking-info.php:171
1158
  msgid "Tracking Number"
1159
  msgstr "Numéro de suivi"
1160
 
1161
  #: includes/customizer/class-wc-tracking-info-customizer.php:146
1162
+ #: includes/customizer/class-wc-tracking-info-customizer.php:539
1163
  msgid "Shipped Date"
1164
  msgstr ""
1165
  "Date d'envoi\n"
1166
 
1167
+ #: includes/customizer/class-wc-tracking-info-customizer.php:184
1168
+ msgid "Select an order to preview and design the tracking info display."
 
 
1169
  msgstr ""
1170
+ "Sélectionnez une commande pour prévisualiser et concevoir l'affichage des "
1171
+ "informations de suivi.\n"
 
1172
 
1173
+ #: includes/customizer/class-wc-tracking-info-customizer.php:204
 
 
 
 
 
 
1174
  msgid "Tracking Display Position"
1175
  msgstr "Suivi de la position d'affichage"
1176
 
1177
+ #: includes/customizer/class-wc-tracking-info-customizer.php:208
1178
  msgid "Before Order Details"
1179
  msgstr "Avant les détails de la commande"
1180
 
1181
+ #: includes/customizer/class-wc-tracking-info-customizer.php:209
1182
  msgid "After Order Details"
1183
  msgstr "Après la commande"
1184
 
1185
+ #: includes/customizer/class-wc-tracking-info-customizer.php:224
1186
+ msgid "Tracking Header text"
1187
+ msgstr ""
1188
+ "Texte d'en-tête de suivi\n"
1189
 
1190
+ #: includes/customizer/class-wc-tracking-info-customizer.php:231
1191
  msgid "Tracking Information"
1192
  msgstr "Information de suivi"
1193
 
1194
+ #: includes/customizer/class-wc-tracking-info-customizer.php:246
1195
  msgid "Additional text after header"
1196
  msgstr "Texte supplémentaire après l'en-tête"
1197
 
1198
+ #: includes/customizer/class-wc-tracking-info-customizer.php:267
1199
+ #: includes/customizer/class-wc-tracking-info-customizer.php:270
1200
+ msgid "Tracking display template"
1201
+ msgstr ""
1202
+ "Modèle d'affichage de suivi\n"
1203
+
1204
+ #: includes/customizer/class-wc-tracking-info-customizer.php:274
1205
+ msgid "Select Template"
1206
+ msgstr ""
1207
+ "Sélectionnez un modèle\n"
1208
+
1209
+ #: includes/customizer/class-wc-tracking-info-customizer.php:275
1210
+ msgid "Table Layout"
1211
  msgstr ""
1212
+ "Disposition de la table\n"
1213
 
1214
  #: includes/customizer/class-wc-tracking-info-customizer.php:291
1215
+ msgid "Simple Layout Design"
1216
+ msgstr ""
1217
+ "Conception de mise en page simple\n"
1218
+
1219
+ #: includes/customizer/class-wc-tracking-info-customizer.php:306
1220
+ msgid "Provider font size"
1221
+ msgstr ""
1222
+ "Taille de police du fournisseur\n"
1223
+
1224
+ #: includes/customizer/class-wc-tracking-info-customizer.php:323
1225
+ msgid "Provider font color"
1226
+ msgstr ""
1227
+ "Couleur de police du fournisseur\n"
1228
+
1229
+ #: includes/customizer/class-wc-tracking-info-customizer.php:339
1230
+ msgid "Show bottom border"
1231
+ msgstr ""
1232
+ "Afficher la bordure inférieure\n"
1233
+
1234
+ #: includes/customizer/class-wc-tracking-info-customizer.php:356
1235
+ msgid "Bottom border color"
1236
+ msgstr ""
1237
+ "Couleur de la bordure inférieure\n"
1238
+
1239
+ #: includes/customizer/class-wc-tracking-info-customizer.php:374
1240
+ msgid "Table layout Design"
1241
+ msgstr ""
1242
+ "Conception de la disposition de la table\n"
1243
+
1244
+ #: includes/customizer/class-wc-tracking-info-customizer.php:389
1245
+ msgid "Display shipping provider name"
1246
+ msgstr ""
1247
+ "Afficher le nom du fournisseur d'expédition\n"
1248
+
1249
+ #: includes/customizer/class-wc-tracking-info-customizer.php:406
1250
+ msgid "Display shipping provider image"
1251
+ msgstr ""
1252
+ "Afficher l'image du fournisseur d'expédition\n"
1253
+
1254
+ #: includes/customizer/class-wc-tracking-info-customizer.php:423
1255
+ msgid "Hide the ship date"
1256
+ msgstr ""
1257
+ "Masquer la date d'expédition\n"
1258
 
1259
+ #: includes/customizer/class-wc-tracking-info-customizer.php:440
1260
+ msgid "Use tracking number as a link"
1261
+ msgstr ""
1262
+ "Utiliser le numéro de suivi comme lien\n"
1263
 
1264
+ #: includes/customizer/class-wc-tracking-info-customizer.php:457
1265
+ msgid "Table Headers"
1266
  msgstr ""
1267
+ "En-têtes de table\n"
1268
 
1269
+ #: includes/customizer/class-wc-tracking-info-customizer.php:472
1270
+ msgid "Hide Table Headers"
1271
  msgstr ""
1272
+ "Masquer les en-têtes de tableau\n"
1273
 
1274
+ #: includes/customizer/class-wc-tracking-info-customizer.php:489
1275
+ msgid "Provider header text"
1276
+ msgstr ""
1277
+ "Texte d'en-tête du fournisseur\n"
1278
 
1279
+ #: includes/customizer/class-wc-tracking-info-customizer.php:511
1280
+ msgid "Tracking Number header text"
1281
+ msgstr ""
1282
+ "Texte d'en-tête du numéro de suivi\n"
1283
 
1284
+ #: includes/customizer/class-wc-tracking-info-customizer.php:532
1285
+ msgid "Ship date header text"
1286
+ msgstr ""
1287
+ "Texte d'en-tête de la date d'expédition\n"
1288
 
1289
+ #: includes/customizer/class-wc-tracking-info-customizer.php:554
1290
  msgid "Track Label"
1291
  msgstr "Étiquette de piste"
1292
 
1293
+ #: includes/customizer/class-wc-tracking-info-customizer.php:571
1294
+ msgid "Track header text"
1295
+ msgstr ""
1296
+ "Suivre le texte de l'en-tête\n"
1297
 
1298
+ #: includes/customizer/class-wc-tracking-info-customizer.php:593
1299
+ msgid "Headers font size"
1300
+ msgstr ""
1301
+ "Taille de police des en-têtes\n"
1302
 
1303
+ #: includes/customizer/class-wc-tracking-info-customizer.php:610
1304
+ msgid "Headers font color"
1305
+ msgstr ""
1306
+ "Couleur de police des en-têtes\n"
1307
 
1308
+ #: includes/customizer/class-wc-tracking-info-customizer.php:626
1309
+ msgid "Table Content"
1310
+ msgstr ""
1311
+ "Contenu du tableau\n"
1312
 
1313
+ #: includes/customizer/class-wc-tracking-info-customizer.php:641
1314
  msgid "Padding"
1315
  msgstr ""
1316
  "Rembourrage\n"
1317
 
1318
+ #: includes/customizer/class-wc-tracking-info-customizer.php:661
1319
+ #: includes/customizer/class-wc-tracking-info-customizer.php:845
1320
  msgid "Background color"
1321
  msgstr "Couleur de fond"
1322
 
1323
+ #: includes/customizer/class-wc-tracking-info-customizer.php:677
1324
+ #: includes/views/admin_tracking_page_settings.php:72
1325
  msgid "Border color"
1326
  msgstr "Couleur de la bordure"
1327
 
1328
+ #: includes/customizer/class-wc-tracking-info-customizer.php:693
1329
  msgid "Border size"
1330
  msgstr ""
1331
  "Taille de la frontière\n"
1332
 
1333
+ #: includes/customizer/class-wc-tracking-info-customizer.php:717
1334
+ msgid "Content Text align"
1335
+ msgstr ""
1336
+ "Contenu du texte aligner\n"
1337
 
1338
+ #: includes/customizer/class-wc-tracking-info-customizer.php:739
1339
+ msgid "Content font color"
1340
+ msgstr ""
1341
+ "Couleur de police du contenu\n"
1342
 
1343
+ #: includes/customizer/class-wc-tracking-info-customizer.php:755
1344
+ msgid "Content font size"
1345
+ msgstr ""
1346
+ "Taille de police du contenu\n"
1347
 
1348
+ #: includes/customizer/class-wc-tracking-info-customizer.php:772
1349
  msgid "Content line height"
1350
  msgstr ""
1351
  "Hauteur de la ligne de contenu\n"
1352
 
1353
+ #: includes/customizer/class-wc-tracking-info-customizer.php:793
1354
  msgid "Content font weight"
1355
  msgstr ""
1356
  "Poids de la police de contenu\n"
1357
 
1358
+ #: includes/customizer/class-wc-tracking-info-customizer.php:815
1359
+ msgid "Tracking Link"
1360
  msgstr ""
1361
+ "Lien de suivi\n"
1362
 
1363
+ #: includes/customizer/class-wc-tracking-info-customizer.php:829
1364
+ msgid "Font Color"
1365
+ msgstr ""
1366
+ "Couleur de la police\n"
1367
 
1368
+ #: includes/customizer/class-wc-tracking-info-customizer.php:860
1369
+ msgid "Border"
1370
+ msgstr ""
1371
+ "Frontière\n"
1372
 
1373
+ #: includes/customizer/class-wc-tracking-info-customizer.php:912
1374
+ msgid ""
1375
+ "To preview the tracking display, please add tracking information to at least "
1376
+ "one order and choose it in the preview order selection."
1377
+ msgstr ""
1378
+ "Pour prévisualiser l'affichage du suivi, veuillez ajouter des informations "
1379
+ "de suivi à au moins une commande et choisissez-la dans la sélection de "
1380
+ "l'ordre de prévisualisation.\n"
1381
 
1382
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:116
1383
+ msgid "Your {site_title} order is now partially shipped"
1384
  msgstr ""
1385
+ "Votre commande {site_title} est maintenant partiellement expédiée\n"
1386
 
1387
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:118
1388
  msgid ""
1389
  "Hi there. we thought you'd like to know that your recent order from "
1390
+ "{site_title} has been partially shipped."
1391
  msgstr ""
1392
+ "Salut. nous avons pensé que vous aimeriez savoir que votre commande récente "
1393
+ "de {site_title} a été partiellement expédiée.\n"
1394
 
1395
  #: includes/customizer/class-wc-partial-shipped-email-customizer.php:159
1396
+ msgid "Enable Partially Shipped order status email"
1397
+ msgstr ""
1398
+ "Activer l'e-mail d'état de la commande partiellement expédiée\n"
1399
+
1400
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:116
1401
+ msgid "Your {site_title} order is now updated tracking"
1402
+ msgstr ""
1403
+ "Votre commande {site_title} est désormais mise à jour.\n"
1404
+
1405
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:118
1406
+ msgid ""
1407
+ "Hi there. we thought you'd like to know that the shipment tracking for your "
1408
+ "recent order from {site_title} has been updated."
1409
  msgstr ""
1410
+ "Salut. nous avons pensé que vous aimeriez savoir que le suivi des envois "
1411
+ "pour votre commande récente de {site_title} a été mis à jour.\n"
1412
+
1413
+ #: includes/customizer/class-wc-updated-tracking-email-customizer.php:159
1414
+ msgid "Enable Updated Tracking order status email"
1415
+ msgstr ""
1416
+ "Activer l'e-mail de suivi de l'état de la commande de suivi\n"
1417
 
1418
  #: includes/emails/class-shipment-delivered-email.php:32
1419
  msgid "Delivered order"
1420
  msgstr ""
1421
+ "Commande livrée\n"
1422
 
1423
  #: includes/emails/class-shipment-delivered-email.php:33
1424
  msgid ""
1425
  "Order delivered emails are sent to customers when their orders are marked "
1426
  "delivered and usually indicate that their orders have been shipped."
1427
  msgstr ""
1428
+ "Les e-mails de commande livrés sont envoyés aux clients lorsque leurs "
1429
+ "commandes sont marquées comme livrées et indiquent généralement que leurs "
1430
+ "commandes ont été expédiées.\n"
1431
 
1432
+ #: includes/emails/class-shipment-delivered-email.php:280
1433
  msgid "Click Here"
1434
  msgstr ""
1435
+ "Cliquez ici\n"
1436
 
1437
+ #: includes/emails/class-shipment-delivered-email.php:281
1438
  msgid "Edit in customizer"
1439
  msgstr ""
1440
+ "Modifier dans le personnalisateur\n"
1441
 
1442
  #: includes/views/admin_options_bulk_upload.php:10
1443
  msgid "Upload CSV"
1452
  "informations de suivi seront ajoutées)"
1453
 
1454
  #: includes/views/admin_options_bulk_upload.php:29
1455
+ #: includes/views/admin_options_shipping_provider.php:120
1456
+ #: includes/views/admin_options_shipping_provider.php:157
1457
  msgid "Upload"
1458
  msgstr "Télécharger"
1459
 
1465
  msgid "Upload Progress - "
1466
  msgstr "Progression du téléchargement -"
1467
 
1468
+ #: includes/views/admin_options_bulk_upload.php:50
1469
  msgid "Sample CSV"
1470
  msgstr ""
1471
+ "Exemple de CSV\n"
1472
 
1473
+ #: includes/views/admin_options_bulk_upload.php:55
1474
  msgid "You can download an example of the csv file:"
1475
  msgstr "Vous pouvez télécharger un exemple du fichier csv:"
1476
 
1477
+ #: includes/views/admin_options_bulk_upload.php:58
1478
  msgid "Download sample csv file"
1479
  msgstr "Télécharger un exemple de fichier csv"
1480
 
1481
+ #: includes/views/admin_options_bulk_upload.php:63
1482
  msgid ""
1483
  "For detailed instructions on how to upload tracking info in bulk, see our"
1484
  msgstr ""
1485
  "Pour des instructions détaillées sur la manière de télécharger des "
1486
  "informations de suivi en vrac, consultez notre"
1487
 
1488
+ #: includes/views/admin_options_settings.php:15
1489
+ #: includes/views/admin_trackship_dashboard.php:62
1490
+ msgid "General Settings"
1491
+ msgstr "réglages généraux"
1492
+
1493
  #: includes/views/admin_options_settings.php:26
1494
+ #: includes/views/admin_options_settings.php:181
1495
+ #: includes/views/admin_trackship_dashboard.php:73
1496
+ #: includes/views/admin_tracking_page_settings.php:101
 
1497
  msgid "Save Changes"
1498
  msgstr ""
1499
+ "Sauvegarder les modifications\n"
1500
 
1501
  #: includes/views/admin_options_settings.php:40
1502
  msgid "Tracking Info Display"
1503
  msgstr ""
1504
+ "Affichage des informations de suivi\n"
1505
 
1506
  #: includes/views/admin_options_settings.php:49
1507
  msgid "You can customize the tracking info display on emails and my account"
1508
  msgstr ""
1509
+ "Vous pouvez personnaliser l'affichage des informations de suivi sur les e-"
1510
+ "mails et mon compte\n"
1511
 
1512
  #: includes/views/admin_options_settings.php:52
1513
  msgid "Launch Customizer"
1514
  msgstr ""
1515
+ "Lancer le personnalisateur\n"
1516
 
1517
  #: includes/views/admin_options_settings.php:62
1518
+ msgid "Custom Order Statuses"
 
 
 
 
1519
  msgstr ""
1520
+ "Statuts de commande personnalisés\n"
1521
 
1522
  #: includes/views/admin_options_settings.php:94
1523
+ #: includes/views/admin_options_settings.php:129
1524
+ #: includes/views/admin_options_settings.php:163
1525
+ msgid "Light Font"
1526
+ msgstr ""
1527
+ "Police claire\n"
1528
+
1529
+ #: includes/views/admin_options_settings.php:95
1530
+ #: includes/views/admin_options_settings.php:130
1531
+ #: includes/views/admin_options_settings.php:164
1532
+ msgid "Dark Font"
1533
  msgstr ""
1534
+ "Police sombre\n"
1535
+
1536
+ #: includes/views/admin_options_settings.php:99
1537
+ #: includes/views/admin_options_settings.php:134
1538
+ #: includes/views/admin_options_settings.php:168
1539
+ msgid "Send Email"
1540
+ msgstr ""
1541
+ "Envoyer un e-mail\n"
1542
 
1543
  #: includes/views/admin_options_shipping_provider.php:12
1544
+ #: includes/views/admin_options_shipping_provider.php:25
1545
+ #: includes/views/zorem_admin_sidebar.php:18
1546
+ #: includes/views/admin_options_addons.php:109
1547
  msgid "Active"
1548
+ msgstr "Active"
1549
 
1550
  #: includes/views/admin_options_shipping_provider.php:13
1551
+ #: includes/views/admin_options_shipping_provider.php:25
1552
  msgid "Inactive"
1553
+ msgstr "Inactive"
1554
 
1555
  #: includes/views/admin_options_shipping_provider.php:14
1556
  msgid "Custom"
1557
+ msgstr "Douane"
1558
+
1559
+ #: includes/views/admin_options_shipping_provider.php:20
1560
+ msgid "Search by provider / country"
1561
  msgstr ""
1562
+ "Recherche par fournisseur / pays\n"
1563
 
1564
+ #: includes/views/admin_options_shipping_provider.php:25
1565
+ msgid "Reset all:"
1566
  msgstr ""
1567
+ "Effacer tout:\n"
1568
 
1569
+ #: includes/views/admin_options_shipping_provider.php:26
 
1570
  #: includes/views/admin_options_shipping_provider.php:177
1571
+ #: includes/views/admin_options_shipping_provider.php:184
1572
  msgid "Sync Shipping Providers"
1573
  msgstr ""
1574
+ "Fournisseurs de synchronisation de livraison\n"
1575
 
1576
+ #: includes/views/admin_options_shipping_provider.php:102
 
 
 
 
 
 
 
 
 
 
 
 
 
1577
  msgid "Add Custom Shipping Provider"
1578
  msgstr "Ajouter un expéditeur personnalisé"
1579
 
1580
+ #: includes/views/admin_options_shipping_provider.php:109
1581
+ #: includes/views/admin_options_shipping_provider.php:146
1582
  msgid "Shipping Country"
1583
  msgstr ""
1584
+ "Pays de livraison\n"
1585
 
1586
+ #: includes/views/admin_options_shipping_provider.php:110
1587
+ #: includes/views/admin_options_shipping_provider.php:147
1588
  msgid "Global"
1589
+ msgstr "Globale"
1590
+
1591
+ #: includes/views/admin_options_shipping_provider.php:126
1592
+ #: includes/views/admin_options_shipping_provider.php:163
1593
+ msgid "How to add Tracking URL"
1594
  msgstr ""
1595
+ "Comment ajouter une URL de suivi\n"
1596
 
1597
+ #: includes/views/admin_options_shipping_provider.php:139
1598
  msgid "Edit Custom Shipping Provider"
1599
  msgstr "Modifier le fournisseur d'expédition personnalisé"
1600
 
1601
+ #: includes/views/admin_options_shipping_provider.php:178
1602
  msgid ""
1603
  "Syncing the shipping providers list add or updates the pre-set shipping "
1604
  "providers and will not effect custom shipping providers."
1605
  msgstr ""
1606
+ "La synchronisation de la liste des fournisseurs d'expédition ajoute ou met à "
1607
+ "jour les fournisseurs d'expédition prédéfinis et n'affecte pas les "
1608
+ "fournisseurs d'expédition personnalisés.\n"
1609
 
1610
+ #: includes/views/admin_options_shipping_provider.php:180
1611
  msgid "Providers Added"
1612
  msgstr "Fournisseurs ajoutés"
1613
 
1614
+ #: includes/views/admin_options_shipping_provider.php:181
1615
  msgid "Providers Updated"
1616
  msgstr "Fournisseurs mis à jour"
1617
 
1618
+ #: includes/views/admin_options_shipping_provider.php:182
1619
  msgid "Providers Deleted"
1620
  msgstr "Fournisseurs supprimés"
1621
 
1622
+ #: includes/views/admin_options_trackship_integration.php:17
1623
+ #: includes/views/admin_tracking_page_settings.php:7
1624
  msgid "Tracking Page"
1625
  msgstr "Page de suivi"
1626
 
1627
+ #: includes/views/admin_options_trackship_integration.php:20
1628
+ msgid "Shipment Status Notifications"
1629
+ msgstr ""
1630
+ "Notifications de statut d'expédition\n"
1631
+
1632
+ #: includes/views/admin_options_trackship_integration.php:23
1633
+ msgid "Tools"
1634
+ msgstr "Outils"
1635
+
1636
+ #: includes/views/zorem_admin_sidebar.php:15
1637
+ #: includes/views/admin_options_addons.php:90
1638
+ msgid "Get This Add-on >"
1639
+ msgstr "Get This Add-on >"
1640
+
1641
+ #: includes/views/zorem_admin_sidebar.php:27
1642
+ msgid "Upgrade to PRO"
1643
+ msgstr ""
1644
+ "Passer à Pro\n"
1645
+
1646
+ #: includes/views/admin_options_tools.php:23
1647
+ msgid ""
1648
+ "You can send all your orders from the last 30 days to get shipment status "
1649
+ "from TrackShip:"
1650
+ msgstr ""
1651
+ "Vous pouvez envoyer toutes vos commandes des 30 derniers jours pour obtenir "
1652
+ "le statut d'expédition de TrackShip:\n"
1653
+
1654
+ #: includes/views/admin_options_addons.php:20
1655
+ msgid "TrackShip"
1656
+ msgstr "TrackShip"
1657
+
1658
+ #: includes/views/admin_options_addons.php:36
1659
+ msgid ""
1660
+ "TracksShip is a premium shipment tracking API flatform that fully integrates "
1661
+ "with WooCommerce with the Advanced Shipment Tracking. TrackShip automates "
1662
+ "the order management workflows, reduces customer inquiries, reduces time "
1663
+ "spent on customer service, and improves the post-purchase experience and "
1664
+ "satisfaction of your customers."
1665
+ msgstr ""
1666
+ "TracksShip est une plate-forme API de suivi des envois premium qui s'intègre "
1667
+ "pleinement avec WooCommerce avec le suivi avancé des envois. TrackShip "
1668
+ "automatise les workflows de gestion des commandes, réduit les demandes des "
1669
+ "clients, réduit le temps passé sur le service client et améliore "
1670
+ "l'expérience post-achat et la satisfaction de vos clients.\n"
1671
+
1672
+ #: includes/views/admin_options_addons.php:37
1673
+ msgid ""
1674
+ "You must have account TracksShip and connect your store in order to activate "
1675
+ "these advanced features:"
1676
+ msgstr ""
1677
+ "Vous devez avoir un compte TracksShip et connecter votre boutique afin "
1678
+ "d'activer ces fonctionnalités avancées:\n"
1679
+
1680
+ #: includes/views/admin_options_addons.php:51
1681
+ msgid "SIGNUP NOW"
1682
+ msgstr ""
1683
+ "S'INSCRIRE MAINTENANT\n"
1684
+
1685
+ #: includes/views/admin_options_addons.php:80
1686
+ msgid ""
1687
+ "The Tracking Per Item add-on extends the AST plugin and allows you to attach "
1688
+ "tracking numbers to specific line items and to line item quantities."
1689
+ msgstr ""
1690
+ "Le module complémentaire Suivi par article étend le plug-in AST et vous "
1691
+ "permet d'attacher des numéros de suivi à des éléments de campagne "
1692
+ "spécifiques et aux quantités d'éléments de campagne.\n"
1693
+
1694
+ #: includes/views/admin_options_addons.php:110
1695
+ msgid "Deactivate"
1696
+ msgstr "Désactiver"
1697
 
1698
+ #: includes/views/admin_options_addons.php:112
1699
+ msgid "Activate"
1700
  msgstr ""
1701
+ "Activer\n"
 
1702
 
1703
+ #: includes/views/admin_tracking_page_settings.php:39
1704
+ msgid ""
1705
+ "Note - If you select a different page than the Shipment Tracking page, add "
1706
+ "the [wcast-track-order] shortcode to the selected page content."
1707
+ msgstr ""
1708
+ "Remarque - Si vous sélectionnez une page différente de la page de suivi des "
1709
+ "envois, ajoutez le shortcode [wcast-track-order] au contenu de la page "
1710
+ "sélectionnée.\n"
1711
+
1712
+ #: includes/views/admin_tracking_page_settings.php:39
1713
+ msgid "more info"
1714
+ msgstr ""
1715
+ "Plus d'informations\n"
1716
+
1717
+ #: includes/views/admin_tracking_page_settings.php:66
1718
+ msgid "Text Color"
1719
+ msgstr ""
1720
+ "Couleur du texte\n"
1721
+
1722
+ #: includes/views/admin_tracking_page_settings.php:88
1723
+ msgid "Hide tracking event details"
1724
+ msgstr ""
1725
+ "Masquer les détails de l'événement de suivi\n"
1726
+
1727
+ #: includes/views/admin_tracking_page_settings.php:110
1728
+ msgid "Preview"
1729
+ msgstr ""
1730
+ "Aperçu\n"
1731
+
1732
+ #: includes/views/admin_status_notifications.php:3
1733
  msgid "Shipment Status Notifications "
1734
  msgstr "Notifications sur l'état de l'envoi"
1735
 
1736
+ #: includes/views/admin_status_notifications.php:27
1737
  msgid ""
1738
  "Carrier has accepted or picked up shipment from shipper. The shipment is on "
1739
  "the way."
1741
  "Le transporteur a accepté ou ramassé l'envoi de l'expéditeur. L'envoi est en "
1742
  "route."
1743
 
1744
+ #: includes/views/admin_status_notifications.php:41
1745
  msgid "Shipment is returned to sender"
1746
  msgstr "L'envoi est renvoyé à l'expéditeur"
1747
 
1748
+ #: includes/views/admin_status_notifications.php:55
1749
  msgid "The shipment is ready to pickup."
1750
  msgstr "L'envoi est prêt à être ramassé."
1751
 
1752
+ #: includes/views/admin_status_notifications.php:68
1753
  msgid "Carrier is about to deliver the shipment"
1754
  msgstr "Carrier is about to deliver the shipment"
1755
 
1756
+ #: includes/views/admin_status_notifications.php:82
1757
  msgid "The shipment was delivered successfully"
1758
  msgstr "L'envoi a été livré avec succès"
1759
 
1760
+ #: includes/views/admin_status_notifications.php:83
1761
  msgid ""
1762
  "You already have delivered email enabled, to enable this email you'll need "
1763
  "to disable the order status delivered in settings."
1765
  "Vous avez déjà activé le courrier électronique activé. Pour l'activer, vous "
1766
  "devez désactiver le statut de la commande envoyée dans les paramètres."
1767
 
1768
+ #: includes/views/admin_status_notifications.php:97
1769
  msgid ""
1770
  "Carrier attempted to deliver but failed, and usually leaves a notice and "
1771
  "will try to deliver the package again."
1773
  "Le transporteur a tenté de livrer mais a échoué. Il laisse généralement un "
1774
  "avis et essaiera de livrer à nouveau le colis."
1775
 
1776
+ #: templates/emails/tracking-info.php:225
1777
+ #: templates/myaccount/tracking-info.php:166
1778
+ msgid "Provider Name"
 
 
 
 
 
1779
  msgstr ""
1780
+ "Nom du fournisseur\n"
1781
 
1782
  #. %s: Order ID.
1783
  #: templates/emails/wcast-email-order-details.php:47
1785
  msgid "Order number: %s"
1786
  msgstr "Numéro de commande:% s"
1787
 
1788
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:368
1789
+ msgid "Cannot create existing order shipment tracking."
1790
+ msgstr ""
1791
+ "Impossible de créer un suivi des expéditions de commande existant.\n"
1792
+
1793
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:377
1794
+ msgid "Invalid order ID."
1795
+ msgstr ""
1796
+ "ID de commande non valide.\n"
1797
+
1798
+ #: includes/api/v1/class-wc-advanced-shipment-tracking-rest-api-controller.php:381
1799
+ msgid "Special character not allowd in tracking number"
1800
+ msgstr ""
1801
+ "Caractère spécial non autorisé dans le numéro de suivi\n"
1802
+
1803
  #. Name of the plugin
1804
  msgid "Advanced Shipment Tracking for WooCommerce"
1805
  msgstr ""
1806
+ "Suivi avancé des envois pour WooCommerce\n"
1807
 
1808
  #. Description of the plugin
1809
  msgid ""
1812
  "will appear in customers accounts (in the order panel) and in WooCommerce "
1813
  "order complete email."
1814
  msgstr ""
1815
+ "Ajoutez des informations de suivi des expéditions à vos commandes "
1816
+ "WooCommerce et offrez aux clients un moyen simple de suivre leurs commandes. "
1817
+ "Les informations de suivi des envois apparaîtront dans les comptes clients "
1818
+ "(dans le panneau de commande) et dans l'e-mail complet de commande "
1819
+ "WooCommerce.\n"
lang/woo-advanced-shipment-tracking-he_IL.mo CHANGED
Binary file
lang/woo-advanced-shipment-tracking-he_IL.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-11-01 10:06+0000\n"
6
- "PO-Revision-Date: 2019-11-01 10:07+0000\n"
7
- "Last-Translator: gaurav <gaurav1092@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\n"
10
  "Plural-Forms: nplurals=2; plural=n != 1;\n"
@@ -12,198 +12,564 @@ 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.1; wp-5.2.4"
16
 
17
- #: woocommerce-advanced-shipment-tracking.php:114
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
  "Shipment Tracking!"
22
- msgstr "יש להתקין ולהפעיל% sWooCommerce% s למעקב המשלוח המתקדם של WooCommerce!"
 
 
23
 
24
- #: woocommerce-advanced-shipment-tracking.php:223
25
  #, php-format
26
  msgid "Your order was shipped with %s and your tracking code is: %s"
27
  msgstr "ההזמנה נשלחה עם %s ומספר המעקב הוא: %s"
28
 
29
- #: woocommerce-advanced-shipment-tracking.php:430
30
- #: includes/views/admin_options_settings.php:68
31
  #, php-format
32
  msgid ""
33
- "<strong>PLEASE NOTE</strong> - If you use the custom order status "
34
- "\"Delivered\", when you deactivate the plugin, you must register this order "
35
- "status in function.php in order to see these orders in the orders admin. You "
36
- "can find the <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
37
- "php here or you can manually change all your \"delivered\" order to "
38
- "\"completed\" before deactivating the plugin."
39
- msgstr ""
40
- "שימו לב - אם אתם משתמשים בסטטוס ההזמנה המותאם אישית \"נמסרה ללקוח\", כאשר "
41
- "אתם מבטל את הפלאגין, עליכם לרשום את מצב ההזמנה ב - functions.php כדי לראות "
42
- "הזמנות אלה באדמין של ההזמנות. אתה יכול למצוא את הקוד לשימוש בו <a "
43
- "href=\"%s\" target=\"blank\">כאן</a> , או שתוכל לשנות באופן ידני את כל "
44
- "ההזמנות בסטטוס \"נמסרה ללקוח\" לסטטוס \"הושלמה\" לפני שתשבית את התוסף.\n"
45
 
46
- #: includes/class-wc-advanced-shipment-tracking-front.php:150
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
47
  msgid ""
48
  "To track your order please enter your Order ID in the box below and press "
49
  "the \"Track\" button. This was given to you on your receipt and in the "
50
  "confirmation email you should have received."
51
  msgstr ""
 
 
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
  "נמצא באימייל של אישור ההזמנה שלך.\n"
58
 
59
- #: includes/class-wc-advanced-shipment-tracking-front.php:152
60
  msgid "Order Email"
61
  msgstr ""
 
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 "מעקב הזמנה"
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
 
80
- #: includes/class-wc-advanced-shipment-tracking-front.php:246
81
- #: includes/class-wc-advanced-shipment-tracking-front.php:250
82
- #: includes/class-wc-advanced-shipment-tracking-front.php:523
83
- #: includes/class-wc-advanced-shipment-tracking-front.php:527
84
- msgid "Estimated Delivery Date: "
85
- msgstr "תאריך מסירה משוער"
 
 
 
86
 
87
- #: includes/class-wc-advanced-shipment-tracking-front.php:359
88
- #: includes/class-wc-advanced-shipment-tracking-front.php:636
89
- #: includes/class-wc-advanced-shipment-tracking-front.php:812
90
  msgid "Tracking Details"
91
  msgstr "פרטי מעקב הזמנה"
92
 
93
- #: includes/class-wc-advanced-shipment-tracking-front.php:378
94
- #: includes/class-wc-advanced-shipment-tracking-front.php:655
95
- #: includes/class-wc-advanced-shipment-tracking-front.php:833
 
96
  msgid "view more"
97
  msgstr "הצג עוד"
98
 
99
- #: includes/class-wc-advanced-shipment-tracking-front.php:379
100
- #: includes/class-wc-advanced-shipment-tracking-front.php:656
101
- #: includes/class-wc-advanced-shipment-tracking-front.php:834
 
102
  msgid "view less"
103
  msgstr "הצג פחות"
104
 
105
- #: includes/class-wc-advanced-shipment-tracking-front.php:387
106
- #: includes/class-wc-advanced-shipment-tracking-front.php:664
107
- msgid "Tracking details not found in TrackShip"
108
- msgstr "פרטי מעקב לא נמצאו ב -TrackShip"
109
-
110
- #: includes/class-wc-advanced-shipment-tracking-front.php:747
111
- msgid "Estimated Delivery Date"
112
- msgstr ""
113
-
114
  #: includes/class-wc-advanced-shipment-tracking.php:95
115
- #: includes/class-wc-advanced-shipment-tracking.php:260
116
  #: includes/customizer/class-wcast-customizer.php:31
117
  msgid "Shipment Tracking"
118
  msgstr "מעקב משלוחים"
119
 
120
  #: includes/class-wc-advanced-shipment-tracking.php:184
121
- #: includes/class-wc-advanced-shipment-tracking.php:374
 
122
  msgid "Mark as Shipped?"
123
- msgstr ""
124
-
125
- #: includes/class-wc-advanced-shipment-tracking.php:185
126
- msgid "Shipped"
127
- msgstr ""
128
 
129
  #: includes/class-wc-advanced-shipment-tracking.php:187
130
- #: includes/class-wc-advanced-shipment-tracking.php:377
 
131
  msgid "Mark as Completed?"
132
- msgstr ""
133
 
134
  #: includes/class-wc-advanced-shipment-tracking.php:188
 
135
  msgid "Completed"
136
- msgstr ""
137
 
138
  #: includes/class-wc-advanced-shipment-tracking.php:195
 
139
  msgid "Add Tracking Number"
140
  msgstr "הוסף מספר מעקב"
141
 
142
- #: includes/class-wc-advanced-shipment-tracking.php:200
143
- #: includes/class-wc-advanced-shipment-tracking.php:395
 
 
 
144
  msgid "Provider:"
145
  msgstr "ספק משלוח"
146
 
147
- #: includes/class-wc-advanced-shipment-tracking.php:220
148
- #: includes/class-wc-advanced-shipment-tracking.php:433
 
149
  msgid "Tracking number:"
150
  msgstr "מספר מעקב"
151
 
152
- #: includes/class-wc-advanced-shipment-tracking.php:224
153
- #: includes/class-wc-advanced-shipment-tracking.php:441
 
154
  msgid "Date shipped:"
155
  msgstr "תאריך משלוח:"
156
 
157
- #: includes/class-wc-advanced-shipment-tracking.php:225
158
- #: includes/class-wc-advanced-shipment-tracking.php:442
159
- #: includes/class-wc-advanced-shipment-tracking.php:445
160
- msgid "Y-m-d"
161
  msgstr ""
 
162
 
163
- #: includes/class-wc-advanced-shipment-tracking.php:231
164
- #: includes/class-wc-advanced-shipment-tracking.php:451
165
- msgid "Mark as"
166
- msgstr ""
167
-
168
- #: includes/class-wc-advanced-shipment-tracking.php:234
169
- #: includes/class-wc-advanced-shipment-tracking.php:455
170
  msgid "Partial Shipped"
171
  msgstr ""
 
172
 
173
- #: includes/class-wc-advanced-shipment-tracking.php:276
174
- #: includes/class-wc-advanced-shipment-tracking.php:469
175
- msgid "Click here to track your shipment"
176
- msgstr "הקלק למעקב משלוח"
 
177
 
178
  #. 1: shipping date
179
- #: includes/class-wc-advanced-shipment-tracking.php:284
180
  #, php-format
181
  msgid "Shipped on %s"
182
  msgstr "נשלח ב- %s"
183
 
184
- #: includes/class-wc-advanced-shipment-tracking.php:391
185
  msgid "Add Tracking Info"
186
  msgstr "הוסף פרטי מעקב"
187
 
188
- #: includes/class-wc-advanced-shipment-tracking.php:396
189
  msgid "Select Provider"
190
- msgstr "בחר ספק"
191
 
192
- #: includes/class-wc-advanced-shipment-tracking.php:468
193
  msgid "Save Tracking"
194
  msgstr "שמירת פרטי מעקב"
195
 
196
- #: includes/class-wc-advanced-shipment-tracking.php:469
197
  msgid "Preview:"
198
  msgstr "תצוגה מקדימה:"
199
 
200
- #: includes/class-wc-advanced-shipment-tr
2
  msgstr ""
3
  "Project-Id-Version: WooCommerce Advanced Shipment Tracking\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2020-01-09 12:07+0000\n"
6
+ "PO-Revision-Date: 2020-01-09 12:09+0000\n"
7
+ "Last-Translator: John <gaurav1092@zorem.com>\n"
8
  "Language-Team: Hebrew\n"
9
  "Language: he_IL\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.2"
16
 
17
+ #: woocommerce-advanced-shipment-tracking.php:117
18
  #, php-format
19
  msgid ""
20
  "Please install and activate %sWooCommerce%s for WooCommerce Advanced "
21
  "Shipment Tracking!"
22
+ msgstr ""
23
+ "יש להתקין ולהפעיל את %sווקומרס%s כדי להשתמש בתוסף מעקב המשלוחים מתקדם של "
24
+ "ווקומרס!"
25
 
26
+ #: woocommerce-advanced-shipment-tracking.php:254
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:465
32
+ #: includes/views/admin_options_settings.php:190
33
  #, php-format
34
  msgid ""
35
+ "<strong>Note:</strong> - If you use the custom order status, when you "
36
+ "deactivate the plugin, you must register the order status, otherwise these "
37
+ "orders will not display on your orders admin. You can find more information "
38
+ "and the code <a href=\"%s\" target=\"blank\">snippet</a> to use in functions."
39
+ "php here."
40
+ msgstr ""
41
+ "הערה: - אם אתה משתמש בסטטוס ההזמנה המותאם אישית, כאשר אתה מבטל את הפלאגין, "
42
+ "עליך לרשום את סטטוס ההזמנה, אחרת ההזמנות הללו לא יוצגו במנהל ההזמנות שלך. "
43
+ "תוכל למצוא מידע נוסף ואת קטע הקוד לשימוש ב-functions.php כאן.\n"
 
 
 
44
 
45
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:309
46
+ msgid "Shipment status"
47
+ msgstr ""
48
+ "סטטוס משלוח\n"
49
+
50
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:427
51
+ #: includes/class-wc-advanced-shipment-welcome.php:310
52
+ msgid ""
53
+ "Get Shipment Status is limited to 100 orders at a time, please select up to "
54
+ "100 orders."
55
+ msgstr "קבלת סטטוס משלוח מוגבלת ב - 100 הזמנות בכל פעם."
56
+
57
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:462
58
+ #: includes/class-wc-advanced-shipment-welcome.php:343
59
+ msgid "Data saved successfully."
60
+ msgstr "נשמר בהצלחה"
61
+
62
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:463
63
+ #: includes/class-wc-advanced-shipment-welcome.php:344
64
+ msgid "Really delete this entry? This will not be undo."
65
+ msgstr "באמת למחוק ערך זה? לא ניתן יהיה לבטל."
66
+
67
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:464
68
+ #: includes/class-wc-advanced-shipment-welcome.php:345
69
+ msgid "You can upload only csv file."
70
+ msgstr "ניתן לטעון רק קובץ CSV."
71
+
72
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:465
73
+ #: includes/class-wc-advanced-shipment-welcome.php:346
74
+ msgid "This browser does not support HTML5."
75
+ msgstr "דפדפן זה אינו תומך ב- HTML5."
76
+
77
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:466
78
+ #: includes/class-wc-advanced-shipment-welcome.php:347
79
+ msgid "Please upload a valid CSV file."
80
+ msgstr "העלה קובץ CSV חוקי."
81
+
82
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:535
83
+ msgid "Shipping Providers"
84
+ msgstr ""
85
+ "ספקי משלוחים\n"
86
+
87
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:537
88
+ msgid "Bulk Upload"
89
+ msgstr ""
90
+ "ייבוא המוני\n"
91
+
92
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:543
93
+ msgid "Add-ons"
94
+ msgstr "תוספים"
95
+
96
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:546
97
+ #: includes/class-wc-advanced-shipment-welcome.php:222
98
+ #: includes/views/admin_options_bulk_upload.php:63
99
+ #: includes/views/admin_trackship_dashboard.php:51
100
+ msgid "Documentation"
101
+ msgstr "תיעוד"
102
+
103
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:547
104
+ msgid "How to Video"
105
+ msgstr ""
106
+ "וידאו\n"
107
+
108
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:695
109
+ msgid "Custom Statuses"
110
+ msgstr ""
111
+ "סטטוס הזמנה מותאם אישית\n"
112
+
113
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:742
114
+ #: includes/class-wc-advanced-shipment-welcome.php:188
115
+ #: includes/views/zorem_admin_sidebar.php:29
116
+ #: includes/views/admin_options_addons.php:46
117
+ #: includes/views/admin_trackship_dashboard.php:17
118
+ msgid "Connected"
119
+ msgstr "מחובר"
120
+
121
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:874
122
+ #, php-format
123
+ msgid "%s %s orders with tracking info"
124
+ msgstr ""
125
+ "הזמנות של% s% s עם פרטי מעקב\n"
126
+
127
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:875
128
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:884
129
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:893
130
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1838
131
+ #: includes/views/admin_options_tools.php:14
132
+ msgid "Get Shipment Status"
133
+ msgstr "קבל סטטוס משלוח"
134
+
135
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:883
136
+ #, php-format
137
+ msgid "%s %s orders with “TrackShip balance is 0”"
138
+ msgstr ""
139
+ "הזמנות של% s% s עם \"יתרת TrackShip היא 0\"\n"
140
+
141
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:892
142
+ #, php-format
143
+ msgid "%s %s orders with “Please do connection”"
144
+ msgstr ""
145
+ "הזמנות של% s% s עם \"אנא עשה חיבור\"\n"
146
+
147
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:930
148
+ msgid "Enable/Disable"
149
+ msgstr ""
150
+ "הפעל / השבת\n"
151
+
152
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:936
153
+ msgid "Set order status Delivered when order is delivered"
154
+ msgstr ""
155
+ "שנה את סטטוס ההזמנה ל״נמסרה״ עם מסירת ההזמנה ללקוח\n"
156
+
157
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:968
158
+ msgid ""
159
+ "You must add the shortcode [wcast-track-order] to the selected page in order "
160
+ "for the tracking page to work."
161
+ msgstr ""
162
+ "עליך להוסיף את הקיצור [wcast-track-order] לדף שנבחר על מנת שדף המעקב יפעל."
163
+
164
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:976
165
+ #: includes/views/admin_tracking_page_settings.php:24
166
+ msgid "Select Tracking Page"
167
+ msgstr ""
168
+ "בחר עמוד מעקב משלוחים\n"
169
+
170
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:984
171
+ msgid "Use the tracking page in the customer email/my account tracking link"
172
+ msgstr ""
173
+ "השתמש בדף המעקב בהודעת הדוא\"ל של הלקוח ובהפניה מהזמנות בחשבון האישי\n"
174
+
175
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:990
176
+ #: includes/views/admin_tracking_page_settings.php:49
177
+ msgid "Tracking Page Layout"
178
+ msgstr ""
179
+ "עיצוב עמוד מעקב משלוחים\n"
180
+
181
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1001
182
+ msgid "Select primary color for tracking page"
183
+ msgstr ""
184
+ "בחר צבע ראשי לעמוד מעקב משלוחים\n"
185
+
186
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1007
187
+ msgid "Select content border color for tracking page"
188
+ msgstr ""
189
+ "בחר צבע גבול תוכן לעמוד מעקב משלוחים\n"
190
+
191
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1013
192
+ #: includes/views/admin_tracking_page_settings.php:83
193
+ msgid "Hide Shipping Provider Image"
194
+ msgstr ""
195
+ "הסתר את תמונת ספק המשלוח\n"
196
+
197
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1019
198
+ msgid "Hide tracking events details"
199
+ msgstr ""
200
+ "הסתר פירוט אירועי מעקב\n"
201
+
202
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1025
203
+ #: includes/views/admin_tracking_page_settings.php:93
204
+ msgid "Remove TrackShip branding"
205
+ msgstr ""
206
+ "הסר את המיתוג של TrackShip\n"
207
+
208
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1042
209
+ msgid "License Key"
210
+ msgstr ""
211
+ "מפתח רישיון\n"
212
+
213
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1044
214
+ msgid "a Valid license is required to receive updates and support"
215
+ msgstr "נדרש רישיון תקף כדי לקבל עדכונים ותמיכה"
216
+
217
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1193
218
+ msgid "\">click here</a> to activate it."
219
+ msgstr ""
220
+ "\"> לחץ כאן כדי להפעיל אותו.\n"
221
+
222
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1226
223
+ #: includes/class-wc-advanced-shipment-tracking.php:185
224
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:303
225
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:439
226
+ msgid "Shipped"
227
+ msgstr "נשלחה"
228
+
229
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1227
230
+ msgid "Default \"mark as <span class=\"shipped_label\">shipped</span>\""
231
+ msgstr ""
232
+ "סמן סטטוס הזמנה ל- ״נשלחה״ כברירת מחדל\n"
233
+ "\n"
234
+
235
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1228
236
+ msgid ""
237
+ "This means that the 'mark as <span class='shipped_label'>shipped</span>' "
238
+ "will be selected by default when adding tracking info to orders."
239
+ msgstr ""
240
+ "משמעות הדבר היא כי 'סמן הזמנה כנשלחה' יסומן כברירת מחדל בעת הוספת פרטי מעקב "
241
+ "להזמנות.\n"
242
+
243
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1231
244
+ msgid "Default \"mark as <span class=\"shipped_label\">completed</span>\""
245
+ msgstr ""
246
+ "סמן סטטוס הזמנה ל-\"הושלמה\" כברירת מחדל\n"
247
+
248
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1232
249
+ msgid ""
250
+ "This means that the 'mark as <span class='shipped_label'>completed</span>' "
251
+ "will be selected by default when adding tracking info to orders."
252
+ msgstr ""
253
+ "משמעות הדבר היא כי 'סמן הזמנה כהושלמה' יסומן כברירת מחדל בעת הוספת פרטי מעקב "
254
+ "להזמנות.\n"
255
+
256
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1298
257
+ msgid "Rename the “Completed” Order status to “Shipped”"
258
+ msgstr ""
259
+ "שנה את שם ההזמנה \"הושלמה\" ל-\"נשלחה\"\n"
260
+
261
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1311
262
+ msgid "On which order status email to include the shipment tracking info?"
263
+ msgstr ""
264
+ "באיזה אימייל של סטטוס הזמנה יש לכלול את פרטי מעקב המשלוח?\n"
265
+
266
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1317
267
+ msgid "Show tracking info in Invoice"
268
+ msgstr ""
269
+ "הצג פרטי מעקב בחשבונית\n"
270
+
271
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1323
272
+ msgid "Show tracking info in Packing Slip"
273
+ msgstr ""
274
+ "הצג מידע על מעקב בסליפ אריזה\n"
275
+
276
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1871
277
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2392
278
+ #: includes/customizer/class-wcast-customizer.php:92
279
+ #: includes/customizer/class-wc-intransit-email-customizer.php:127
280
+ #: includes/views/admin_status_notifications.php:25
281
+ msgid "In Transit"
282
+ msgstr "המשלוח בדרך"
283
+
284
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1874
285
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2391
286
+ #: includes/customizer/class-wcast-customizer.php:84
287
+ msgid "Pre Transit"
288
+ msgstr "קדם משלוח"
289
+
290
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1877
291
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2069
292
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2395
293
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:137
294
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:182
295
+ #: includes/customizer/class-wcast-customizer.php:122
296
+ #: includes/customizer/class-wc-delivered-email-customizer.php:125
297
+ #: includes/views/admin_options_settings.php:80
298
+ #: includes/views/admin_status_notifications.php:80
299
+ msgid "Delivered"
300
+ msgstr "נמסר ללקוח"
301
+
302
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1880
303
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2394
304
+ #: includes/customizer/class-wcast-customizer.php:114
305
+ #: includes/customizer/class-wc-outfordelivery-email-customizer.php:126
306
+ #: includes/views/admin_status_notifications.php:66
307
+ msgid "Out For Delivery"
308
+ msgstr "יצא למסירה"
309
+
310
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1883
311
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2393
312
+ #: includes/customizer/class-wcast-customizer.php:107
313
+ #: includes/customizer/class-wc-availableforpickup-email-customizer.php:124
314
+ #: includes/views/admin_status_notifications.php:53
315
+ msgid "Available For Pickup"
316
+ msgstr "זמין לאיסוף"
317
+
318
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1886
319
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2399
320
+ #: includes/customizer/class-wcast-customizer.php:100
321
+ #: includes/customizer/class-wc-returntosender-email-customizer.php:124
322
+ #: includes/views/admin_status_notifications.php:39
323
+ msgid "Return To Sender"
324
+ msgstr "הוחזר לשולח"
325
+
326
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1889
327
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2396
328
+ #: includes/customizer/class-wcast-customizer.php:130
329
+ #: includes/customizer/class-wc-failure-email-customizer.php:124
330
+ #: includes/views/admin_status_notifications.php:95
331
+ msgid "Failed Attempt"
332
+ msgstr "נסיון מסירה נכשל"
333
+
334
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1892
335
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2390
336
+ msgid "Unknown"
337
+ msgstr ""
338
+ "לא ידוע\n"
339
+
340
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1895
341
+ msgid "Pending TrackShip"
342
+ msgstr "ממתין ל-TrackShip"
343
+
344
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1898
345
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2400
346
+ msgid "Invalid Tracking Number"
347
+ msgstr ""
348
+ "מספר מעקב לא חוקי\n"
349
+
350
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1901
351
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2398
352
+ msgid "Carrier Unsupported"
353
+ msgstr ""
354
+ "המוביל אינו נתמך\n"
355
+
356
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1904
357
+ msgid "Invalid User Key"
358
+ msgstr ""
359
+ "מפתח משתמש לא חוקי\n"
360
+
361
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:1907
362
+ msgid "Wrong Shipping Provider"
363
+ msgstr ""
364
+ "ספק משלוח לא תקין\n"
365
+
366
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2023
367
+ msgid "Shipped Order"
368
+ msgstr ""
369
+ "הזמנה נשלחה\n"
370
+
371
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2047
372
+ msgid "Mark order as delivered"
373
+ msgstr ""
374
+ "סמן את ההזמנה כ-״נמסר ללקוח״\n"
375
+
376
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2054
377
+ msgid "Add Tracking"
378
+ msgstr ""
379
+ "הוסף מעקב\n"
380
+
381
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2081
382
+ msgid "Change order status to"
383
+ msgstr ""
384
+ "שנה את מצב ההזמנה ל -\n"
385
+
386
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2184
387
+ #: includes/views/admin_options_shipping_provider.php:96
388
+ #, php-format
389
+ msgid "You don't have any %s shipping providers."
390
+ msgstr "לא הופעלו ספקי משלוח"
391
+
392
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2189
393
+ #: includes/views/admin_options_shipping_provider.php:27
394
+ msgid "Add Custom Provider"
395
+ msgstr "הוסף ספק משלוח מותאם אישית"
396
+
397
+ #: includes/class-wc-advanced-shipment-tracking-admin.php:2405
398
+ msgid "Filter by shipment status"
399
+ msgstr ""
400
+ "סנן לפי מצב משלוח\n"
401
+
402
+ #: includes/class-wc-advanced-shipment-tracking-front.php:148
403
  msgid ""
404
  "To track your order please enter your Order ID in the box below and press "
405
  "the \"Track\" button. This was given to you on your receipt and in the "
406
  "confirmation email you should have received."
407
  msgstr ""
408
+ "כדי לעקוב אחר ההזמנה שלך, הזן את מזהה ההזמנה שלך בתיבה למטה ולחץ על כפתור "
409
+ "\"עקוב\". זה ניתן לך עם קבלתך ובדוא\"ל האישור שהיית צריך לקבל.\n"
410
 
411
+ #: includes/class-wc-advanced-shipment-tracking-front.php:149
412
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
413
  msgid "Found in your order confirmation email."
414
  msgstr ""
415
  "נמצא באימייל של אישור ההזמנה שלך.\n"
416
 
417
+ #: includes/class-wc-advanced-shipment-tracking-front.php:150
418
  msgid "Order Email"
419
  msgstr ""
420
+ "הזמנת דוא\"ל\n"
421
 
422
+ #: includes/class-wc-advanced-shipment-tracking-front.php:153
423
+ #: includes/class-wc-advanced-shipment-tracking.php:728
424
+ #: includes/class-wc-advanced-shipment-tracking.php:851
 
425
  #: includes/customizer/class-wc-tracking-info-customizer.php:147
426
+ #: includes/customizer/class-wc-tracking-info-customizer.php:578
427
+ #: templates/emails/tracking-info.php:256
428
+ #: templates/myaccount/tracking-info.php:191
429
  msgid "Track"
430
  msgstr "מעקב הזמנה"
431
 
432
+ #: includes/class-wc-advanced-shipment-tracking-front.php:221
433
+ #: includes/class-wc-advanced-shipment-tracking-front.php:238
434
+ #: includes/class-wc-advanced-shipment-tracking-front.php:398
435
+ #: includes/class-wc-advanced-shipment-tracking-front.php:415
436
  #, php-format
437
  msgid "Shipment - %s (out of %s)"
438
  msgstr ""
439
+ "משלוח -% s (מתוך% s)\n"
440
+
441
+ #: includes/class-wc-advanced-shipment-tracking-front.php:251
442
+ #: includes/class-wc-advanced-shipment-tracking-front.php:428
443
+ msgid "Tracking details not found in TrackShip"
444
+ msgstr "פרטי מעקב לא נמצאו ב -TrackShip"
445
 
446
+ #: includes/class-wc-advanced-shipment-tracking-front.php:462
447
+ #: includes/class-wc-advanced-shipment-tracking-front.php:492
448
+ #: includes/class-wc-advanced-shipment-tracking-front.php:862
449
+ #: includes/class-wc-advanced-shipment-tracking-front.php:880
450
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1015
451
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1033
452
+ msgid "Est. Delivery Date"
453
+ msgstr ""
454
+ "הערכה תאריך משלוח\n"
455
 
456
+ #: includes/class-wc-advanced-shipment-tracking-front.php:618
457
+ #: includes/class-wc-advanced-shipment-tracking-front.php:708
 
458
  msgid "Tracking Details"
459
  msgstr "פרטי מעקב הזמנה"
460
 
461
+ #: includes/class-wc-advanced-shipment-tracking-front.php:699
462
+ #: includes/class-wc-advanced-shipment-tracking-front.php:789
463
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1004
464
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1118
465
  msgid "view more"
466
  msgstr "הצג עוד"
467
 
468
+ #: includes/class-wc-advanced-shipment-tracking-front.php:700
469
+ #: includes/class-wc-advanced-shipment-tracking-front.php:790
470
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1005
471
+ #: includes/class-wc-advanced-shipment-tracking-front.php:1119
472
  msgid "view less"
473
  msgstr "הצג פחות"
474
 
 
 
 
 
 
 
 
 
 
475
  #: includes/class-wc-advanced-shipment-tracking.php:95
476
+ #: includes/class-wc-advanced-shipment-tracking.php:265
477
  #: includes/customizer/class-wcast-customizer.php:31
478
  msgid "Shipment Tracking"
479
  msgstr "מעקב משלוחים"
480
 
481
  #: includes/class-wc-advanced-shipment-tracking.php:184
482
+ #: includes/class-wc-advanced-shipment-tracking.php:387
483
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:438
484
  msgid "Mark as Shipped?"
485
+ msgstr "סמן את ההזמנה כ״נשלחה״"
 
 
 
 
486
 
487
  #: includes/class-wc-advanced-shipment-tracking.php:187
488
+ #: includes/class-wc-advanced-shipment-tracking.php:390
489
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:441
490
  msgid "Mark as Completed?"
491
+ msgstr "סמן את ההזמנה כ״הושלמה״"
492
 
493
  #: includes/class-wc-advanced-shipment-tracking.php:188
494
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:442
495
  msgid "Completed"
496
+ msgstr "הושלם"
497
 
498
  #: includes/class-wc-advanced-shipment-tracking.php:195
499
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:450
500
  msgid "Add Tracking Number"
501
  msgstr "הוסף מספר מעקב"
502
 
503
+ #: includes/class-wc-advanced-shipment-tracking.php:198
504
+ #: includes/class-wc-advanced-shipment-tracking.php:203
505
+ #: includes/class-wc-advanced-shipment-tracking.php:408
506
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:453
507
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:455
508
  msgid "Provider:"
509
  msgstr "ספק משלוח"
510
 
511
+ #: includes/class-wc-advanced-shipment-tracking.php:223
512
+ #: includes/class-wc-advanced-shipment-tracking.php:446
513
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:475
514
  msgid "Tracking number:"
515
  msgstr "מספר מעקב"
516
 
517
+ #: includes/class-wc-advanced-shipment-tracking.php:227
518
+ #: includes/class-wc-advanced-shipment-tracking.php:454
519
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:479
520
  msgid "Date shipped:"
521
  msgstr "תאריך משלוח:"
522
 
523
+ #: includes/class-wc-advanced-shipment-tracking.php:236
524
+ #: includes/class-wc-advanced-shipment-tracking.php:466
525
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:488
526
+ msgid "Mark order as:"
527
  msgstr ""
528
+ "שנה הזמנה כ:\n"
529
 
530
+ #: includes/class-wc-advanced-shipment-tracking.php:239
531
+ #: includes/class-wc-advanced-shipment-tracking.php:469
532
+ #: includes/class-wc-advanced-shipment-tracking-settings.php:491
 
 
 
 
533
  msgid "Partial Shipped"
534
  msgstr ""
535
+ "חלקי נשלח\n"
536
 
537
+ #: includes/class-wc-advanced-shipment-tracking.php:281
538
+ #: includes/class-wc-advanced-shipment-tracking.php:483
539
+ msgid "Track Shipment"
540
+ msgstr ""
541
+ "עקוב אחר המשלוח\n"
542
 
543
  #. 1: shipping date
544
+ #: includes/class-wc-advanced-shipment-tracking.php:290
545
  #, php-format
546
  msgid "Shipped on %s"
547
  msgstr "נשלח ב- %s"
548
 
549
+ #: includes/class-wc-advanced-shipment-tracking.php:404
550
  msgid "Add Tracking Info"
551
  msgstr "הוסף פרטי מעקב"
552
 
553
+ #: includes/class-wc-advanced-shipment-tracking.php:409
554
  msgid "Select Provider"
555
+ msgstr "בחר ספק משלוח"
556
 
557
+ #: includes/class-wc-advanced-shipment-tracking.php:482
558
  msgid "Save Tracking"
559
  msgstr "שמירת פרטי מעקב"
560
 
561
+ #: includes/class-wc-advanced-shipment-tracking.php:483
562
  msgid "Preview:"
563
  msgstr "תצוגה מקדימה:"
564